/* Sama home page — centred hero with studio preview */
.btn--outline { --btn-bg: #fff; --btn-fg: var(--brand); --btn-bd: var(--brand); }
.btn--outline:hover { --btn-bg: var(--brand-soft); --btn-bd: var(--brand); --btn-fg: var(--brand-ink); }

/* hero */
.h-hero { padding: 56px 0 0; background:
  linear-gradient(180deg, #fff 0, #fff 55%, var(--bg-alt) 55%, var(--bg-alt) 100%); }
@media (min-width: 1024px) { .h-hero { padding-top: 80px; } }
.h-hero-copy { text-align: center; max-width: 820px; margin: 0 auto; display: grid; justify-items: center; gap: 22px; }
.h-kicker { display: inline-flex; align-items: center; gap: 10px; padding: 7px 16px; border-radius: 999px; background: var(--bg-alt); border: 1px solid var(--line); font-size: .85rem; font-weight: 700; color: var(--ink-2); }
.h-kicker .dot { width: 8px; height: 8px; border-radius: 999px; background: var(--brand); box-shadow: 0 0 0 4px var(--brand-soft); }
.h-hero h1 { font-size: clamp(2.5rem, 7vw, 5rem); font-weight: 800; letter-spacing: -0.035em; line-height: 1.04; }
.h-mark { display: inline-block; color: var(--brand); background: var(--brand-soft); padding: 0 .18em .04em; border-radius: .14em; margin-top: .08em; box-shadow: inset 0 -.1em 0 rgba(109, 40, 217, .18); }
.h-hero .lead { font-size: 1.15rem; max-width: 56ch; }
.h-ctas { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; }
.h-notes { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px 22px; justify-content: center; font-weight: 700; font-size: .92rem; color: var(--ink-2); }
.h-notes li { display: inline-flex; align-items: center; gap: 8px; }
.h-notes .icon { width: 18px; height: 18px; color: var(--success); }

/* studio mock */
.mock { margin-top: 56px; background: #fff; border: 1px solid var(--line); border-radius: 20px 20px 0 0; box-shadow: 0 -2px 0 var(--line), 0 40px 80px -30px rgba(15, 27, 51, .35); overflow: hidden; }
.mock-bar { display: flex; align-items: center; gap: 14px; padding: 12px 18px; border-bottom: 1px solid var(--line); }
.mock-back { color: var(--muted); display: grid; }
.mock-logo svg { width: 30px; height: 30px; }
.mock-name { display: grid; line-height: 1.2; }
.mock-name strong { font-family: var(--font-head); font-weight: 600; font-size: .95rem; }
.mock-name span { font-size: .75rem; color: var(--success); font-weight: 700; display: inline-flex; gap: 4px; align-items: center; }
.mock-tools { display: none; gap: 14px; align-items: center; color: var(--muted); margin-left: 24px; }
.mock-zoom { font-size: .8rem; font-weight: 700; padding: 3px 8px; border: 1px solid var(--line); border-radius: 6px; color: var(--ink-2); }
.mock-actions { margin-left: auto; display: none; gap: 8px; }
.mock-btn { display: inline-flex; align-items: center; gap: 6px; padding: 7px 14px; border-radius: 999px; border: 1px solid var(--line-strong); font-size: .82rem; font-weight: 700; color: var(--ink-2); }
.mock-btn--dark { background: var(--ink); color: #fff; border-color: var(--ink); }
@media (min-width: 900px) { .mock-tools, .mock-actions { display: flex; } }

.mock-body { display: grid; grid-template-columns: 1fr; }
@media (min-width: 900px) { .mock-body { grid-template-columns: 84px 1fr 300px; } }
.mock-rail { display: none; border-right: 1px solid var(--line); padding: 12px 8px; gap: 4px; align-content: start; }
@media (min-width: 900px) { .mock-rail { display: grid; } }
.mock-rail span { display: grid; justify-items: center; gap: 4px; padding: 10px 4px; border-radius: 12px; font-size: .72rem; font-weight: 700; color: var(--muted); }
.mock-rail span.on { background: var(--brand-soft); color: var(--brand-ink); }
.mock-canvas { position: relative; background: var(--bg-alt); padding: 18px 18px 24px; display: grid; justify-items: center; align-content: start; gap: 6px; min-height: 360px; }
.mock-tabs { display: inline-flex; gap: 2px; background: #fff; border: 1px solid var(--line); border-radius: 999px; padding: 3px; font-size: .8rem; font-weight: 700; }
.mock-tabs span { padding: 5px 14px; border-radius: 999px; color: var(--ink-2); }
.mock-tabs span.on { background: var(--ink); color: #fff; }
.mock-tee { width: min(400px, 88%); margin-top: 6px; }
.mock-tee .tee-print { overflow: visible; }
.mock-tee .sel { position: absolute; outline: 1.5px solid var(--brand); pointer-events: none; }
.mock-tee .sel i { position: absolute; width: 10px; height: 10px; background: #fff; border: 2px solid var(--brand); border-radius: 2px; }
.mock-tee .sel i:nth-child(1) { left: -5px; top: -5px; } .mock-tee .sel i:nth-child(2) { right: -5px; top: -5px; }
.mock-tee .sel i:nth-child(3) { left: -5px; bottom: -5px; } .mock-tee .sel i:nth-child(4) { right: -5px; bottom: -5px; }
.mock-layer { position: absolute; right: 18px; top: 70px; display: none; grid-template-columns: 40px 1fr; gap: 10px; align-items: center; background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 10px 12px; box-shadow: var(--shadow-md); font-size: .8rem; }
.mock-layer .thumb { width: 40px; height: 40px; border-radius: 8px; background: var(--bg-alt); display: block; overflow: hidden; }
.mock-layer strong { display: block; font-size: .85rem; }
.mock-layer small { color: var(--muted); }
.mock-dims { grid-column: 1 / -1; display: flex; gap: 6px; }
.mock-dims span { flex: 1; border: 1px solid var(--line); border-radius: 6px; padding: 3px 8px; color: var(--muted); }
.mock-dims b { color: var(--ink); }
.mock-badge { position: absolute; left: 18px; bottom: 18px; display: none; align-items: center; gap: 6px; background: var(--success-soft); color: var(--success); font-weight: 800; font-size: .78rem; padding: 6px 12px; border-radius: 999px; }
@media (min-width: 1100px) { .mock-layer { display: grid; } .mock-badge { display: inline-flex; } }
.mock-side { border-top: 1px solid var(--line); padding: 20px; display: grid; gap: 12px; align-content: start; }
@media (min-width: 900px) { .mock-side { border-top: 0; border-left: 1px solid var(--line); } }
.mock-prod { display: flex; gap: 12px; align-items: center; padding-bottom: 14px; border-bottom: 1px solid var(--line); }
.mock-prod-ic { width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; background: var(--brand-soft); color: var(--brand); flex: none; }
.mock-prod strong { display: block; font-family: var(--font-head); font-weight: 600; }
.mock-prod small { color: var(--muted); }
.mock-row { display: flex; justify-content: space-between; font-size: .88rem; font-weight: 700; }
.mock-row .pn { font-size: .72rem; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.mock-swatches { display: flex; flex-wrap: wrap; gap: 10px; }
.mock-sizes { display: flex; gap: 6px; flex-wrap: wrap; }
.mock-sizes span { min-width: 40px; text-align: center; padding: 6px 8px; border: 1.5px solid var(--line-strong); border-radius: 8px; font-size: .82rem; font-weight: 800; }
.mock-sizes span.on { background: var(--ink); border-color: var(--ink); color: #fff; }
.mock-price { display: flex; justify-content: space-between; align-items: baseline; padding-top: 12px; border-top: 1px solid var(--line); }
.mock-price strong { font-family: var(--font-head); font-size: 1.5rem; }

/* how it works — one framed row with corner markers */
.h-steps { list-style: none; margin: 0; padding: 0; display: grid; position: relative; border: 1px solid var(--line); border-radius: var(--r-lg); background: #fff; }
@media (min-width: 768px) { .h-steps { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1100px) { .h-steps { grid-template-columns: repeat(4, 1fr); } }
.h-step { position: relative; padding: 28px 26px 30px; display: grid; gap: 12px; align-content: start; border-bottom: 1px solid var(--line); }
.h-step:last-child { border-bottom: 0; }
@media (min-width: 768px) {
  .h-step { border-right: 1px solid var(--line); }
  .h-step:nth-child(2n) { border-right: 0; }
  .h-step:nth-child(n+3) { border-bottom: 0; }
}
@media (min-width: 1100px) {
  .h-step { border-bottom: 0; border-right: 1px solid var(--line); }
  .h-step:nth-child(2n) { border-right: 1px solid var(--line); }
  .h-step:last-child { border-right: 0; }
}
.h-step p { color: var(--muted); font-size: .95rem; }
.h-step-ic { width: 64px; height: 64px; border-radius: 18px; display: grid; place-items: center; background: var(--brand-soft); color: var(--brand); }
.h-step-ic .icon { width: 30px; height: 30px; }
.h-arrow { display: none; position: absolute; right: -15px; top: 74px; z-index: 2; width: 30px; height: 30px; border-radius: 999px; background: #fff; border: 1px solid var(--line); color: var(--brand); place-items: center; }
.h-arrow .icon { width: 16px; height: 16px; }
@media (min-width: 1100px) { .h-arrow { display: grid; } }

/* FAQ */
.h-faq { display: grid; gap: 48px; align-items: start; }
@media (min-width: 1024px) { .h-faq { grid-template-columns: .9fr 1.1fr; gap: 64px; } }
.h-faq-visual { position: relative; padding-bottom: 64px; }
.h-faq-tee { background: linear-gradient(160deg, #EEEAFB, #DCD4F7); border-radius: var(--r-xl); padding: 36px 14% 20px; }
.h-faq-tee .tee-print { overflow: visible; }
.h-faq-help { position: absolute; left: 24px; right: 24px; bottom: 0; background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); box-shadow: var(--shadow-lg); padding: 20px 22px; display: grid; gap: 6px; justify-items: start; }
@media (min-width: 640px) { .h-faq-help { right: auto; max-width: 300px; } }
.h-faq-help strong { font-family: var(--font-head); font-size: 1.1rem; }
.h-faq-help p { color: var(--muted); font-size: .92rem; margin-bottom: 6px; }
@media (min-width: 1024px) { .h-faq-visual { position: sticky; top: calc(var(--header-h) + 24px); } }

/* CTA band + features */
.h-cta-wrap { padding: 72px 0 0; }
.h-cta { background: var(--brand); color: #fff; border-radius: var(--r-xl); padding: 44px 28px; display: grid; gap: 28px; align-items: center; overflow: hidden; position: relative; }
.h-cta h2 { color: #fff; }
.h-cta p { color: #EDE9FE; margin-top: 10px; font-size: 1.08rem; }
.h-cta .btn--dark { --btn-bg: var(--ink); --btn-bd: var(--ink); }
.h-cta-tees { display: none; gap: 12px; align-items: flex-end; }
.h-cta-tees .tee { width: 150px; filter: drop-shadow(0 18px 24px rgba(0,0,0,.25)); }
.h-cta-tees .tee:nth-child(2) { width: 190px; margin-bottom: -40px; }
@media (min-width: 960px) { .h-cta { grid-template-columns: 1fr auto; padding: 52px 56px; } .h-cta-tees { display: flex; } }

/* ===== hero style B — bold navy ===== */
.hs-b { background: linear-gradient(180deg, var(--ink) 0, var(--ink) 78%, var(--bg-alt) 78%); color: #fff; }
.hs-b-copy { text-align: center; display: grid; justify-items: center; gap: 22px; max-width: 900px; margin: 0 auto; }
.hs-b-kicker { background: rgba(255,255,255,.08); border-color: rgba(255,255,255,.16); color: #fff; }
.hs-b-copy h1 { color: #fff; font-size: clamp(2.6rem, 7vw, 5.2rem); font-weight: 800; letter-spacing: -0.035em; line-height: 1.05; }
.hs-b-u { position: relative; color: var(--accent); white-space: nowrap; }
.hs-b-u svg { position: absolute; left: 0; right: 0; bottom: -12px; width: 100%; height: 18px; }
.hs-b-copy .lead { color: var(--on-dark-muted); max-width: 54ch; font-size: 1.15rem; }
.hs-b-fan { list-style: none; margin: 18px 0 0; padding: 0; display: flex; justify-content: center; align-items: flex-end; width: 100%; perspective: 1400px; }
.fan-item { width: 19%; margin: 0 -2.2%; position: relative; transition: transform 500ms cubic-bezier(.2,.9,.25,1.2), z-index 0s 0s; transform: rotate(var(--r, 0deg)) translateY(var(--y, 0)); animation: fan-in 900ms cubic-bezier(.2,.8,.2,1) backwards; animation-delay: calc(var(--i) * 90ms + 250ms); }
.fan-item:nth-child(1) { --r: -12deg; --y: 30px; }
.fan-item:nth-child(2) { --r: -6deg; --y: 10px; z-index: 1; }
.fan-item:nth-child(3) { width: 24%; z-index: 2; }
.fan-item:nth-child(4) { --r: 6deg; --y: 10px; z-index: 1; }
.fan-item:nth-child(5) { --r: 12deg; --y: 30px; }
.fan-item:hover, .fan-item:focus-within { --r: 0deg; --y: -26px; z-index: 5; transform: rotate(0) translateY(-26px) scale(1.1); }
@keyframes fan-in { from { opacity: 0; transform: rotate(0) translateY(120px) scale(.8); } }
.flip { display: block; width: 100%; background: none; border: 0; padding: 0 0 26px; cursor: pointer; position: relative; border-radius: 24px; perspective: 900px; --tx: 0deg; --ty: 0deg; }
.flip:focus-visible { outline: 3px solid var(--accent); outline-offset: 6px; }
.flip-inner { display: block; position: relative; transform-style: preserve-3d; transition: transform 500ms cubic-bezier(.2,.8,.2,1); transform: rotateX(var(--tx)) rotateY(var(--ty)); animation: bob 5s ease-in-out infinite; animation-delay: calc(var(--i) * -1s); }
.fan-item:hover .flip-inner { animation-play-state: paused; }
@keyframes bob { 0%, 100% { translate: 0 0; } 50% { translate: 0 -8px; } }
.turn { display: block; transform-origin: 50% 50%; will-change: transform; filter: drop-shadow(0 24px 26px rgba(0,0,0,.35)); }
.flip-tag { position: absolute; left: 50%; bottom: 0; transform: translate(-50%, 6px); opacity: 0; transition: opacity 200ms, transform 300ms var(--ease-out); background: var(--accent); color: var(--ink); font-weight: 800; font-size: .7rem; letter-spacing: .06em; text-transform: uppercase; padding: 4px 10px; border-radius: 999px; white-space: nowrap; pointer-events: none; }
.side-dots { position: absolute; left: 50%; bottom: -18px; transform: translateX(-50%); display: flex; gap: 5px; opacity: 0; transition: opacity 200ms; }
.side-dots i { width: 6px; height: 6px; border-radius: 999px; background: rgba(255,255,255,.35); transition: background 200ms, width 200ms; }
.side-dots i.on { width: 16px; background: var(--accent); }
.fan-item:hover .flip-tag, .flip:focus-visible .flip-tag { opacity: 1; transform: translate(-50%, 0); }
.fan-item:hover .side-dots, .flip:focus-visible .side-dots, .flip:not([data-side="0"]) .side-dots { opacity: 1; }
.fan-hint { display: inline-flex; gap: 8px; align-items: center; font-size: .85rem; font-weight: 700; color: var(--on-dark-muted); margin-top: 6px; }
.fan-hint .icon { color: var(--accent); }
@media (max-width: 640px) { .fan-item { width: 26%; margin: 0 -4%; } .fan-item:nth-child(3) { width: 32%; } .fan-item:nth-child(1), .fan-item:nth-child(5) { display: none; } }
@media (prefers-reduced-motion: reduce) { .flip-inner, .fan-item { animation: none; } }
/* hero entrance */
.hs-b-copy > * { animation: rise 800ms cubic-bezier(.2,.8,.2,1) backwards; }
.hs-b-copy > :nth-child(2) { animation-delay: 80ms; } .hs-b-copy > :nth-child(3) { animation-delay: 160ms; } .hs-b-copy > :nth-child(4) { animation-delay: 240ms; }
.hs-b-copy > .hs-b-fan { animation: none; }
.hs-b-copy > .fan-hint { animation-delay: 900ms; margin-top: 18px; } .hs-b-copy > .hs-b-stats { animation-delay: 1000ms; }
.hs-b-u svg path { stroke-dasharray: 320; stroke-dashoffset: 320; animation: draw-line 900ms 700ms cubic-bezier(.6,0,.2,1) forwards; }
@keyframes draw-line { to { stroke-dashoffset: 0; } }
@keyframes rise { from { opacity: 0; transform: translateY(24px); } }
.hs-b-stats { list-style: none; padding: 0; margin: 8px 0 0; display: grid; grid-template-columns: repeat(2, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: 18px; overflow: hidden; width: 100%; box-shadow: var(--shadow-lg); }
@media (min-width: 768px) { .hs-b-stats { grid-template-columns: repeat(4, 1fr); } }
.hs-b-stats li { background: #fff; color: var(--ink); padding: 18px; display: grid; gap: 2px; }
.hs-b-stats strong { font-family: var(--font-head); font-size: 1.5rem; }
.hs-b-stats span { color: var(--muted); font-size: .85rem; }
.hs-b .mock { margin-top: 40px; }


/* the studio preview sits inside the dark hero: keep its own text colour */
.mock { color: var(--ink); }
.mock-dims span { white-space: nowrap; }
.mock-layer { min-width: 220px; }

/* ===== feature strip (band with boxed icons and dividers) ===== */
.h-cta-wrap { padding-bottom: 72px; }
.h-features-band { background: var(--bg-alt); border-top: 1px solid var(--line); }
.h-features { list-style: none; margin: 0; padding: 28px 0; display: grid; grid-template-columns: 1fr; gap: 0; }
.h-features li { display: flex; align-items: center; gap: 14px; padding: 14px 4px; min-width: 0; }
.hf-ic { flex: none; width: 46px; height: 46px; border-radius: 12px; background: #fff; border: 1px solid var(--line); display: grid; place-items: center; color: var(--brand); box-shadow: 0 1px 2px rgba(30, 27, 75, .05); transition: transform 300ms cubic-bezier(.2,.9,.25,1.4), background 200ms, color 200ms; }
.hf-ic .icon { width: 21px; height: 21px; stroke-width: 1.8; }
.h-features li:hover .hf-ic { transform: translateY(-2px); background: var(--brand); color: #fff; border-color: var(--brand); }
.h-features strong { display: block; font-family: var(--font-head); font-weight: 600; font-size: .98rem; line-height: 1.3; white-space: nowrap; }
.h-features small { display: block; color: var(--muted); font-size: .86rem; line-height: 1.4; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.h-features div { min-width: 0; }
@media (min-width: 640px) { .h-features { grid-template-columns: 1fr 1fr; column-gap: 24px; } }
@media (min-width: 1100px) {
  .h-features { grid-template-columns: repeat(5, auto); justify-content: space-between; padding: 30px 0; }
  .h-features li { padding: 6px 0; }
  .h-features li + li { border-left: 1px solid var(--line); padding-left: 24px; }
}
@media (max-width: 639px) { .h-features li + li { border-top: 1px solid var(--line); } }

/* strip: full text, never cut off */
.h-features small { white-space: normal; overflow: visible; text-overflow: clip; font-size: .82rem; }
.h-features strong { font-size: .93rem; }
@media (min-width: 1100px) {
  .h-features-band .container { max-width: 1320px; }
  .h-features { grid-template-columns: repeat(5, minmax(0, 1fr)); column-gap: 0; }
  .h-features li { gap: 12px; }
  .h-features li + li { padding-left: 18px; margin-left: 0; }
  .hf-ic { width: 42px; height: 42px; }
  .h-features small { white-space: nowrap; }
}

/* strip sized like the reference: bigger icon boxes and text */
.hf-ic { width: 52px; height: 52px; border-radius: 12px; }
.hf-ic .icon { width: 22px; height: 22px; }
.h-features strong { font-size: 1.02rem; }
.h-features small { font-size: .88rem; }
.h-features li { gap: 14px; }
@media (min-width: 1100px) {
  .h-features-band .container { max-width: 1440px; }
  .h-features { padding: 34px 0; }
  .hf-ic { width: 52px; height: 52px; }
  .h-features li + li { padding-left: 22px; }
}
@media (min-width: 1100px) and (max-width: 1399px) { .h-features small { font-size: .82rem; } .h-features strong { font-size: .95rem; } .hf-ic { width: 46px; height: 46px; } }

/* dotted work surface, same as the real studio */
.mock-canvas { background-color: var(--bg-alt); background-image: radial-gradient(rgba(30, 27, 75, .22) 1.1px, transparent 1.4px); background-size: 20px 20px; background-position: 10px 10px; }
