:root {
  --page: #d3dfda;        /* muted sage-grey behind the card */
  --card: #f5f5f2;        /* off-white page card */
  --panel: #d9efe2;       /* soft mint panel */
  --panel-line: #c3e3d0;  /* swoosh line, a shade deeper than the panel */
  --ink: #1d1a19;         /* near-black text and buttons */
  --muted: #5d625f;
  --line: #e2e4e0;
  --white: #ffffff;
  --green: #2fbf71;
  --green-deep: #0f8a5f;
  --radius-xl: 32px;
  --radius: 22px;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 24px; }
body { margin: 0; font-family: "Inter Tight", system-ui, sans-serif; color: var(--ink); background: var(--page); line-height: 1.55; -webkit-font-smoothing: antialiased; }
img { max-width: 100%; display: block; }
a { color: inherit; }
h1, h2, h3 { margin: 0 0 .5em; line-height: 1.05; color: var(--ink); }
h2 { font-size: clamp(2rem, 5vw, 3.6rem); font-weight: 800; text-transform: uppercase; letter-spacing: -.02em; }
h2 em, h1 em { font-style: italic; font-weight: 300; }
h3 { font-size: 1.3rem; font-weight: 600; letter-spacing: -.01em; }
.container { width: min(1240px, 100% - 32px); margin-inline: auto; }
.small { font-size: .9rem; color: var(--muted); }
.lead { font-size: clamp(1.1rem, 1.6vw, 1.45rem); line-height: 1.5; max-width: 30ch; }

/* The rounded off-white card everything sits in */
.frame { width: min(1440px, 100% - 32px); margin: 32px auto; background: var(--card); border-radius: var(--radius-xl); overflow: hidden; }
@media (max-width: 700px) { .frame { width: 100%; margin: 0; border-radius: 0; } }

/* Buttons: pills */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 16px 34px; border-radius: 999px; font: inherit; font-size: 1.1rem; font-weight: 500; text-decoration: none; border: 1.5px solid var(--ink); cursor: pointer; transition: transform .15s, background .15s, color .15s; }
.btn:hover { transform: translateY(-1px); }
.btn-dark { background: var(--ink); color: var(--white); }
.btn-outline { background: transparent; color: var(--ink); }
.btn-outline:hover { background: var(--ink); color: var(--white); }
.circle-btn { width: 64px; height: 64px; border-radius: 50%; border: 1.5px solid var(--ink); display: grid; place-items: center; flex: none; }

/* Header */
.nav { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 24px; padding: 28px clamp(20px, 4vw, 72px); }
.logo img { height: 22px; width: auto; filter: brightness(0); }
.nav-links { display: flex; gap: clamp(28px, 5vw, 110px); list-style: none; margin: 0; padding: 0; }
.nav-links a { text-decoration: none; font-size: 1.05rem; }
.nav-links a[aria-current="page"] { text-decoration: underline; text-underline-offset: 6px; }
.nav-cta { justify-self: end; }
.nav-cta .btn { padding: 12px 28px; font-size: 1.1rem; }
.nav-links .mobile-only { display: none; }
.menu-toggle { display: none; background: none; border: 0; font-size: 28px; cursor: pointer; color: var(--ink); justify-self: end; }
@media (max-width: 860px) {
  .nav { grid-template-columns: 1fr auto; }
  .menu-toggle { display: block; }
  .nav-cta { display: none; }
  .nav-links { display: none; grid-column: 1 / -1; flex-direction: column; gap: 0; }
  .nav-links.open { display: flex; }
  .nav-links .mobile-only { display: block; }
  .nav-links a { display: block; padding: 12px 0; border-top: 1px solid var(--line); }
}

/* Hero */
.hero { position: relative; padding: clamp(24px, 4vw, 56px) clamp(20px, 4vw, 72px) clamp(20px, 3vw, 40px); }
.hero h1 { font-size: clamp(3.2rem, 10vw, 9.5rem); text-transform: uppercase; letter-spacing: -.03em; line-height: .98; margin: 0 0 clamp(28px, 4vw, 60px); position: relative; z-index: 2; }
.hero h1 strong { font-weight: 800; display: block; }
.hero h1 em { display: block; }
.hero-panel { position: relative; background: var(--panel); border-radius: var(--radius-xl); padding: clamp(32px, 4vw, 64px) clamp(24px, 4vw, 56px); overflow: hidden; margin-inline: clamp(-48px, -2.5vw, -8px); }
.hero-panel > *:not(.swoosh) { position: relative; z-index: 1; }
.hero-panel .lead { max-width: 34ch; margin: 0 0 36px; }
.swoosh { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; }
.hero-foot { display: flex; align-items: center; gap: 18px; margin-top: clamp(48px, 7vw, 110px); flex-wrap: wrap; }
.hero-foot p { margin: 0 24px 0 0; font-size: 1.15rem; line-height: 1.35; }
.circle-btn svg { width: 28px; height: 28px; }
@media (max-width: 560px) { .hero-foot p { flex-basis: 100%; } }

/* Phone mockup standing over the panel */
.phone { position: absolute; z-index: 3; right: clamp(40px, 8vw, 150px); top: clamp(120px, 14vw, 200px); width: clamp(280px, 24vw, 380px); aspect-ratio: 9 / 18.5; border-radius: 56px; background: #2b2a30; padding: 12px; box-shadow: 30px 30px 60px rgba(29, 26, 25, .18), inset 0 0 0 2px #6d6a75; }
.phone-screen { height: 100%; border-radius: 45px; background: var(--white); overflow: hidden; display: flex; flex-direction: column; position: relative; }
.island { position: absolute; top: 12px; left: 50%; transform: translateX(-50%); width: 34%; height: 28px; background: #111; border-radius: 20px; }
.status { display: flex; justify-content: space-between; padding: 16px 30px 0; font-size: .85rem; font-weight: 600; }
.screen-top { background: var(--panel); padding: 8px 22px 0; }
.screen-top h4 { font-size: 1.7rem; font-weight: 400; margin: 18px 0 14px; }
.screen-tabs { display: flex; gap: 18px; font-size: .72rem; letter-spacing: .04em; color: var(--muted); padding-bottom: 10px; }
.screen-tabs b { color: var(--ink); font-weight: 600; }
.screen-body { flex: 1; padding: 14px 18px; display: flex; flex-direction: column; gap: 12px; }
.screen-body canvas { width: 100%; height: auto; display: block; border-radius: 10px; box-shadow: 0 6px 18px rgba(0, 0, 0, .12); }
.swatches { display: flex; gap: 10px; justify-content: center; }
.swatches span { width: 26px; height: 26px; border-radius: 50%; border: 2px solid var(--white); box-shadow: 0 0 0 1px var(--line); }
.swatches span.on { box-shadow: 0 0 0 2px var(--ink); }
.screen-order { margin-top: auto; background: var(--panel); border-radius: 18px; padding: 14px 16px; display: flex; justify-content: space-between; align-items: center; gap: 8px; font-size: .85rem; }
.screen-order b { display: block; font-size: 1rem; }
.screen-order span { color: var(--muted); }
.screen-price { font-weight: 700; font-size: 1.1rem; text-align: right; }
.screen-price small { display: block; font-weight: 400; font-size: .7rem; color: var(--muted); }
.screen-nav { display: flex; justify-content: space-around; padding: 12px 10px 22px; border-top: 1px solid var(--line); font-size: .8rem; color: var(--muted); }
.screen-nav b { color: var(--ink); font-weight: 500; }
@media (max-width: 1100px) {
  .phone { position: relative; right: auto; top: auto; margin: 40px auto 0; }
}

/* Sections */
.section { padding: clamp(56px, 8vw, 110px) clamp(20px, 4vw, 72px); }
.section-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: end; gap: 24px; margin-bottom: 40px; }
.section-head p { max-width: 42ch; margin: 0; color: var(--muted); font-size: 1.1rem; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
@media (max-width: 860px) { .grid-3 { grid-template-columns: 1fr; } }
.card { background: var(--white); border-radius: var(--radius); padding: 32px; border: 1px solid var(--line); }
.card.mint { background: var(--panel); border-color: transparent; }
.card p { margin: 0; color: var(--muted); }
.card .circle-btn { width: 56px; height: 56px; margin-bottom: 28px; }
.card .circle-btn svg { width: 24px; height: 24px; }
.tag { display: inline-block; border: 1.5px solid var(--ink); font-size: .72rem; font-weight: 600; padding: 2px 10px; border-radius: 999px; margin-left: 6px; vertical-align: middle; }
.step-num { font-size: 3.5rem; font-weight: 300; font-style: italic; line-height: 1; margin-bottom: 18px; }

/* Price table */
.price-wrap { overflow-x: auto; border-radius: var(--radius); border: 1px solid var(--line); background: var(--white); }
.price-table { width: 100%; border-collapse: collapse; min-width: 640px; }
.price-table th, .price-table td { padding: 20px 24px; text-align: left; border-bottom: 1px solid var(--line); }
.price-table th { font-weight: 500; color: var(--muted); font-size: .95rem; }
.price-table tr:last-child td { border-bottom: 0; }
.price-table td { font-size: 1.1rem; font-variant-numeric: tabular-nums; }
.price-table td:first-child { font-weight: 700; }

/* Trust */
.trust { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
@media (max-width: 860px) { .trust { grid-template-columns: 1fr 1fr; } }
.trust-item { padding: 28px 24px; border-radius: var(--radius); background: var(--white); border: 1px solid var(--line); }
.trust-item .big { font-size: clamp(1.6rem, 2.6vw, 2.4rem); font-weight: 800; text-transform: uppercase; letter-spacing: -.02em; line-height: 1; }
.trust-item p { margin: 10px 0 0; color: var(--muted); }

/* Call to action panel */
.cta-panel { position: relative; background: var(--panel); border-radius: var(--radius-xl); padding: clamp(40px, 6vw, 80px); overflow: hidden; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 28px; }
.cta-panel > *:not(.swoosh) { position: relative; z-index: 1; }
.cta-panel h2 { margin: 0; }

/* Footer */
.site-footer { padding: 40px clamp(20px, 4vw, 72px) 48px; border-top: 1px solid var(--line); display: flex; flex-wrap: wrap; justify-content: space-between; gap: 20px; align-items: center; }
.site-footer ul { list-style: none; display: flex; flex-wrap: wrap; gap: 28px; margin: 0; padding: 0; }
.site-footer a { text-decoration: none; }
.site-footer a:hover { text-decoration: underline; }

/* Inner page heading */
.page-head { padding: clamp(24px, 4vw, 56px) clamp(20px, 4vw, 72px) 0; }
.page-head h1 { font-size: clamp(2.6rem, 7vw, 6rem); text-transform: uppercase; letter-spacing: -.03em; line-height: .98; margin: 0; }
.page-head h1 strong { font-weight: 800; }
.page-head p { color: var(--muted); font-size: 1.15rem; margin: 16px 0 0; }

.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
@media (max-width: 760px) { .grid-2 { grid-template-columns: 1fr; } }
.about-intro { max-width: 880px; }
.about-intro .lead { max-width: none; font-size: clamp(1.3rem, 2.2vw, 1.9rem); line-height: 1.4; }
.about-intro p:not(.lead) { font-size: 1.15rem; color: var(--muted); max-width: 62ch; }

/* Prose (About) */
.prose { max-width: 760px; }
.prose p { font-size: 1.1rem; }

/* FAQ */
.faq details { background: var(--white); border: 1px solid var(--line); border-radius: 18px; padding: 20px 24px; margin-bottom: 12px; }
.faq summary { font-weight: 600; font-size: 1.1rem; cursor: pointer; list-style: none; display: flex; justify-content: space-between; gap: 12px; }
.faq summary::after { content: "+"; font-size: 1.5rem; line-height: 1; font-weight: 300; }
.faq details[open] summary::after { content: "\2212"; }
.faq details p { margin: 12px 0 0; color: var(--muted); }
.faq-group { margin: 32px 0 14px; font-size: .85rem; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); font-weight: 600; }
.faq-group:first-child { margin-top: 0; }
.faq-table { margin-top: 14px; }
.faq-table .price-table { min-width: 0; }
.faq-layout { display: grid; grid-template-columns: 1fr 340px; gap: 40px; align-items: start; }
@media (max-width: 900px) { .faq-layout { grid-template-columns: 1fr; } }
.faq-aside { position: sticky; top: 24px; }
.faq-aside .cta-panel { padding: 32px; flex-direction: column; align-items: flex-start; }
.faq-aside h3 { margin-bottom: 6px; }
.faq-aside p { margin: 0; color: var(--muted); }

/* Contact */
.contact-layout { display: grid; grid-template-columns: 1.5fr 1fr; gap: 24px; align-items: start; }
@media (max-width: 900px) { .contact-layout { grid-template-columns: 1fr; } }
.contact-panel { margin-inline: 0; }
.contact-panel .form { max-width: 680px; }
.contact-panel .form input, .contact-panel .form textarea { border-color: transparent; }
.contact-done[hidden], #contactForm[hidden] { display: none; }
.contact-aside { display: flex; flex-direction: column; gap: 20px; }
.contact-aside .circle-btn { width: 52px; height: 52px; margin-bottom: 20px; }
.contact-aside .circle-btn svg { width: 22px; height: 22px; }

/* Forms */
.form { display: grid; gap: 16px; max-width: 640px; }
.form .row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
@media (max-width: 560px) { .form .row2 { grid-template-columns: 1fr; } }
.form label { display: grid; gap: 6px; font-weight: 500; }
.form input, .form textarea, .form select { font: inherit; padding: 14px 16px; border: 1px solid var(--line); border-radius: 14px; background: var(--white); width: 100%; }
.form input:focus, .form textarea:focus { outline: 2px solid var(--ink); border-color: transparent; }
.form-status { font-weight: 600; }
.form .row3 { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 16px; }
@media (max-width: 560px) { .form .row3 { grid-template-columns: 1fr 1fr; } .form .row3 label:first-child { grid-column: 1 / -1; } }
.order-form { max-width: none; margin-top: 32px; }
.order-form h3 { margin: 12px 0 0; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-errors { margin: 0; padding: 14px 18px 14px 36px; border-radius: 14px; background: #fdecea; color: #b42318; }
.form-errors[hidden] { display: none; }

/* Designer page */
.designer-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: end; gap: 24px; }
.stepper { display: flex; gap: 8px; list-style: none; margin: 0; padding: 0; flex-wrap: wrap; }
.stepper button { display: flex; align-items: center; gap: 8px; padding: 8px 16px 8px 8px; border-radius: 999px; border: 1.5px solid var(--line); color: var(--muted); font: inherit; font-size: .95rem; background: transparent; cursor: pointer; }
.stepper button:disabled { cursor: default; opacity: .7; }
.stepper span { width: 28px; height: 28px; border-radius: 50%; display: grid; place-items: center; font-size: .75rem; font-weight: 600; background: var(--white); border: 1px solid var(--line); }
.stepper button.on { border-color: var(--ink); color: var(--ink); }
.stepper button.on span { background: var(--ink); color: var(--white); border-color: var(--ink); }
.stepper button.done { color: var(--ink); }
.stepper button.done span { background: var(--panel); border-color: var(--panel-line); }

.step-panel[hidden] { display: none !important; }
.approve { display: flex; gap: 10px; align-items: flex-start; font-size: .95rem; cursor: pointer; flex-basis: 100%; }
.approve input { margin-top: 4px; accent-color: var(--ink); width: 18px; height: 18px; flex: none; }

/* Steps 2 to 4 */
.order-grid { display: grid; grid-template-columns: minmax(260px, .8fr) minmax(320px, 1.2fr); gap: clamp(24px, 4vw, 56px); align-items: start; }
@media (max-width: 900px) { .order-grid { grid-template-columns: 1fr; } }
.step-title { font-size: clamp(1.8rem, 3.6vw, 2.8rem); margin-bottom: 8px; }
.summary-card { background: var(--panel); border-radius: var(--radius-xl); padding: clamp(24px, 4vw, 48px); text-align: center; position: sticky; top: 24px; }
.summary-sticker canvas { width: 100%; max-width: 320px; height: auto; margin: 0 auto 16px; display: block; filter: drop-shadow(0 14px 24px rgba(29, 26, 25, .15)); user-select: none; pointer-events: none; }
.step-actions { display: flex; justify-content: space-between; gap: 12px; margin-top: 28px; flex-wrap: wrap; }

.qty-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-top: 24px; }
@media (max-width: 520px) { .qty-grid { grid-template-columns: 1fr; } }
.qty-card input { position: absolute; opacity: 0; }
.qty-inner { display: flex; flex-direction: column; gap: 2px; padding: 22px; border-radius: var(--radius); border: 1.5px solid var(--line); background: var(--white); cursor: pointer; transition: border-color .15s, background .15s; height: 100%; }
.qty-card:hover .qty-inner { border-color: #b9c4be; }
.qty-card input:checked + .qty-inner { border-color: var(--ink); background: var(--panel); box-shadow: inset 0 0 0 1px var(--ink); }
.qty-card input:focus-visible + .qty-inner { outline: 2px solid var(--green); outline-offset: 2px; }
.qty-num { font-size: 2.2rem; font-weight: 800; letter-spacing: -.02em; line-height: 1; }
.qty-label { color: var(--muted); margin-bottom: 12px; }
.qty-price { font-size: 1.25rem; font-weight: 600; }
.qty-price small { font-weight: 400; color: var(--muted); font-size: .85rem; }
.qty-inc { color: var(--muted); font-size: .9rem; }
.qty-free { margin-top: 12px; font-size: .85rem; font-weight: 500; padding: 4px 10px; border-radius: 999px; background: var(--white); border: 1px solid var(--panel-line); align-self: flex-start; }

.zone-preview { display: grid; place-items: center; min-height: 360px; }
#zoneCanvas { max-width: 100%; height: auto; display: block; filter: drop-shadow(0 14px 24px rgba(29, 26, 25, .15)); pointer-events: none; }
.alloc { margin: 22px 0 14px; padding: 16px 18px; border-radius: var(--radius); background: var(--white); border: 1px solid var(--line); }
.alloc-text { margin-bottom: 10px; }
.alloc-text strong { font-size: 1.3rem; }
.alloc-bar { height: 8px; border-radius: 999px; background: var(--line); overflow: hidden; }
.alloc-bar span { display: block; height: 100%; width: 0; background: var(--ink); border-radius: 999px; transition: width .2s; }
.alloc.complete .alloc-bar span { background: var(--green); }
.keypad-list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 8px; }
.keypad-list li { display: grid; grid-template-columns: 1fr auto auto; align-items: center; gap: 12px; padding: 10px 12px 10px 16px; border-radius: 16px; border: 1px solid var(--line); background: var(--white); }
.keypad-list li.has { border-color: var(--panel-line); background: #f7fcf9; }
.keypad-list li.viewing { box-shadow: inset 3px 0 0 var(--ink); }
.kp-name { background: none; border: 0; padding: 0; font: inherit; text-align: left; cursor: pointer; color: var(--ink); }
.kp-name strong { display: block; font-weight: 600; }
.kp-name span { color: var(--muted); font-size: .85rem; }
.stepper-input { display: flex; align-items: center; border: 1px solid var(--line); border-radius: 999px; overflow: hidden; }
.stepper-input button { width: 34px; height: 34px; border: 0; background: var(--white); font-size: 1.1rem; cursor: pointer; color: var(--ink); }
.stepper-input button:hover { background: var(--panel); }
.stepper-input input { width: 46px; border: 0; text-align: center; font: inherit; font-weight: 600; -moz-appearance: textfield; }
.stepper-input input::-webkit-outer-spin-button, .stepper-input input::-webkit-inner-spin-button { -webkit-appearance: none; }
.fill { font-size: .85rem; }
.fill:disabled { opacity: .35; cursor: default; }
@media (max-width: 520px) { .keypad-list li { grid-template-columns: 1fr auto; } .fill { display: none; } }

.review dl { display: grid; grid-template-columns: 160px 1fr; gap: 12px 20px; margin: 24px 0; padding: 22px; border-radius: var(--radius); background: var(--white); border: 1px solid var(--line); }
.review dt { color: var(--muted); }
.review dd { margin: 0; font-weight: 500; }
.free { display: inline-block; font-size: .72rem; font-weight: 600; border: 1.5px solid var(--ink); padding: 1px 8px; border-radius: 999px; margin-left: 6px; }
.totals { padding: 18px 22px; border-radius: var(--radius); background: var(--panel); }
.totals div { display: flex; justify-content: space-between; padding: 4px 0; font-variant-numeric: tabular-nums; }
.totals .grand { font-size: 1.4rem; font-weight: 700; border-top: 1px solid var(--panel-line); margin-top: 8px; padding-top: 12px; }
@media (max-width: 520px) { .review dl { grid-template-columns: 1fr; gap: 2px; } .review dd { margin-bottom: 10px; } }

.designer { display: grid; grid-template-columns: minmax(300px, 1.1fr) minmax(320px, .9fr); gap: clamp(24px, 4vw, 56px); align-items: start; }
@media (max-width: 900px) { .designer { grid-template-columns: 1fr; } }

/* Preview: sticky mint panel with the swoosh behind the sticker */
.preview-frame { position: sticky; top: 24px; background: var(--panel); border-radius: var(--radius-xl); padding: clamp(28px, 5vw, 64px); overflow: hidden; user-select: none; -webkit-user-select: none; -webkit-touch-callout: none; transition: box-shadow .15s; }
@media (max-width: 900px) { .preview-frame { position: relative; top: 0; } }
.preview-frame > *:not(.swoosh) { position: relative; z-index: 1; }
.preview-frame.dragging { box-shadow: inset 0 0 0 3px var(--ink); }
#sticker { width: 100%; max-width: 480px; margin-inline: auto; height: auto; display: block; pointer-events: none; filter: drop-shadow(0 18px 30px rgba(29, 26, 25, .16)); }
.drop-hint { display: none; position: absolute !important; inset: 0; place-items: center; font-size: 1.3rem; font-weight: 600; background: rgba(217, 239, 226, .85); }
.preview-frame.dragging .drop-hint { display: grid; z-index: 2; }
.preview-note { font-size: .85rem; color: var(--muted); text-align: center; margin: 20px 0 0; }

/* Controls */
.controls-col { display: flex; flex-direction: column; gap: 12px; }
.ctrl-row { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 4px 4px 8px; }
.ctrl-label { font-size: .85rem; font-weight: 500; color: var(--muted); }
.field { font: inherit; padding: 12px 14px; border: 1px solid var(--line); border-radius: 14px; width: 100%; background: var(--white); color: var(--ink); }
.field:focus { outline: 2px solid var(--ink); border-color: transparent; }
textarea.field { resize: vertical; }
.hint { margin: 0; font-size: .85rem; color: var(--muted); }
.form-error { margin: 0; font-size: .9rem; color: #b42318; }

.step-card { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); }
.step-card summary { list-style: none; cursor: pointer; display: flex; align-items: center; gap: 14px; padding: 18px 20px; font-size: 1.15rem; font-weight: 600; }
.step-card summary::-webkit-details-marker { display: none; }
.step-card summary::after { content: ""; margin-left: auto; width: 10px; height: 10px; border-right: 1.5px solid var(--ink); border-bottom: 1.5px solid var(--ink); transform: rotate(45deg) translateY(-3px); transition: transform .2s; }
.step-card[open] summary::after { transform: rotate(-135deg) translateY(-3px); }
.step-card .num { font-weight: 300; font-style: italic; font-size: 1.4rem; width: 34px; }
.step-body { padding: 0 20px 22px; display: flex; flex-direction: column; gap: 14px; }

/* Segmented control */
.segmented { display: inline-flex; background: var(--white); border: 1px solid var(--line); border-radius: 999px; padding: 4px; }
.segmented input, .chips input { position: absolute; opacity: 0; pointer-events: none; }
.segmented span { display: block; padding: 8px 18px; border-radius: 999px; cursor: pointer; font-size: .95rem; }
.segmented input:checked + span { background: var(--ink); color: var(--white); }
.segmented input:focus-visible + span, .chips input:focus-visible + span { outline: 2px solid var(--green); outline-offset: 2px; }

/* Chips */
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chips span { display: block; padding: 8px 16px; border-radius: 999px; border: 1.5px solid var(--line); cursor: pointer; font-weight: 600; font-size: .9rem; letter-spacing: .02em; }
.chips input:checked + span { border-color: var(--ink); background: var(--ink); color: var(--white); }

.chip-custom { font-weight: 500 !important; letter-spacing: 0 !important; }
.small-seg span { padding: 6px 14px; font-size: .88rem; }
#customHeaderRow { display: flex; flex-direction: column; gap: 6px; }
#customHeaderRow[hidden], #iconPosRow[hidden] { display: none; }

.style-row.stack { grid-template-columns: 1fr; gap: 8px; }

/* Icon picker */
.icon-grid { display: flex; flex-wrap: wrap; gap: 8px; }
.icon-tile input { position: absolute; opacity: 0; pointer-events: none; }
.icon-tile span { width: 44px; height: 44px; border-radius: 12px; border: 1.5px solid var(--line); display: grid; place-items: center; cursor: pointer; background: var(--white); transition: border-color .15s; }
.icon-tile span.none { font-size: .72rem; color: var(--muted); }
.icon-tile svg { width: 24px; height: 24px; }
.icon-tile span:hover { border-color: #b9c4be; }
.icon-tile input:checked + span { border-color: var(--ink); background: var(--ink); color: var(--white); }
.icon-tile input:focus-visible + span { outline: 2px solid var(--green); outline-offset: 2px; }

/* Switch */
.switch { display: flex; align-items: center; gap: 12px; cursor: pointer; font-size: .98rem; }
.switch input { position: absolute; opacity: 0; }
.switch span { width: 44px; height: 26px; border-radius: 999px; background: #d6d9d5; position: relative; transition: background .15s; flex: none; }
.switch span::after { content: ""; position: absolute; top: 3px; left: 3px; width: 20px; height: 20px; border-radius: 50%; background: var(--white); box-shadow: 0 1px 3px rgba(0, 0, 0, .2); transition: transform .15s; }
.switch input:checked + span { background: var(--ink); }
.switch input:checked + span::after { transform: translateX(18px); }
.switch input:focus-visible + span { outline: 2px solid var(--green); outline-offset: 2px; }

/* Colour, font and height rows */
.style-grid { display: flex; flex-direction: column; gap: 12px; border-top: 1px solid var(--line); padding-top: 14px; }
.style-row { display: grid; grid-template-columns: 92px 1fr; align-items: center; gap: 12px; }
.swatches-row { display: flex; flex-wrap: wrap; gap: 8px; }
.swatch { width: 28px; height: 28px; border-radius: 50%; border: 0; padding: 0; cursor: pointer; box-shadow: inset 0 0 0 1px rgba(0, 0, 0, .15); position: relative; }
.swatch.on { box-shadow: 0 0 0 2px var(--white), 0 0 0 4px var(--ink); }
.swatch.custom { background: conic-gradient(red, yellow, lime, cyan, blue, magenta, red); overflow: hidden; display: block; }
.swatch.custom input { opacity: 0; width: 100%; height: 100%; cursor: pointer; border: 0; padding: 0; }
.style-row select.field { padding: 9px 12px; }
.slider { display: grid; grid-template-columns: 92px 1fr; align-items: center; gap: 12px; font-size: .85rem; font-weight: 500; color: var(--muted); }
input[type=range] { accent-color: var(--ink); width: 100%; }

/* Logo drop box */
.dropzone { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 6px; padding: 28px 20px; border: 1.5px dashed #b9c4be; border-radius: var(--radius); background: var(--card); cursor: pointer; transition: border-color .15s, background .15s; }
.dropzone svg { width: 34px; height: 34px; margin-bottom: 6px; }
.dropzone span { color: var(--muted); font-size: .9rem; }
.dropzone:hover, .dropzone.dragging { border-color: var(--ink); background: var(--panel); }
.dropzone[hidden] { display: none; }
.logo-file { display: flex; align-items: center; gap: 12px; padding: 10px 14px; border: 1px solid var(--line); border-radius: 14px; }
.logo-file[hidden] { display: none; }
.logo-file img { width: 44px; height: 44px; object-fit: contain; background: var(--card); border-radius: 8px; }
.logo-file span { flex: 1; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.link-btn { background: none; border: 0; font: inherit; text-decoration: underline; cursor: pointer; color: var(--ink); }
.slider[hidden] { display: none; }

.designer-next { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 12px 4px 0; flex-wrap: wrap; }
.designer-next p { margin: 0; }
.btn:disabled { opacity: .45; cursor: not-allowed; transform: none; }

/* Nothing on the designer page prints */
@media print { body.no-print { display: none; } }
