/* HeyShutter marketing site.
   Layout concept: a light table. Product screens sit on a cool, bright ground like prints
   under a loupe; "darkroom" bands carry the brand story. One accent only: grease pencil red,
   the mark a photographer circles a favorite frame with on a contact sheet. */
:root {
  --paper: #f4f5f7;
  --surface: #ffffff;
  --ink: #0e1013;
  --ink-2: #353a42;
  --muted: #646a75;
  --line: #e1e4e9;
  --line-strong: #cbd0d8;
  --darkroom: #0b0c0e;
  --darkroom-2: #141619;
  --darkroom-3: #1c1f24;
  --dark-line: #272b31;
  --dark-text: #eceef1;
  --dark-muted: #9aa1ab;
  --pencil: #e2412f;
  --pencil-ink: #c7321f;
  --ok: #1d7f55;
  --ok-soft: #e4f3ec;

  --font-display: "Bricolage Grotesque", "Helvetica Neue", Arial, sans-serif;
  --font-body: "Geist", "Helvetica Neue", Arial, sans-serif;
  --font-mono: "Geist Mono", ui-monospace, "SF Mono", Menlo, monospace;
  --font-classic: "Cormorant Garamond", Georgia, "Times New Roman", serif;
  --font-modern: "Jost", "Helvetica Neue", Arial, sans-serif;

  --shell: 1200px;
  --gutter: clamp(16px, 4vw, 32px);
  --radius: 14px;
  --radius-lg: 22px;
  --shadow-print: 0 1px 0 rgba(14, 16, 19, 0.04), 0 2px 6px rgba(14, 16, 19, 0.05), 0 24px 60px -24px rgba(14, 16, 19, 0.28);
  --shadow-float: 0 1px 0 rgba(14, 16, 19, 0.05), 0 12px 30px -10px rgba(14, 16, 19, 0.22), 0 40px 90px -40px rgba(14, 16, 19, 0.35);
  --ease: cubic-bezier(0.2, 0.7, 0.2, 1);
  color-scheme: light;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}
img { max-width: 100%; display: block; }
a { color: inherit; }
button, input, select, textarea { font: inherit; color: inherit; }
:focus-visible { outline: 2px solid var(--pencil); outline-offset: 3px; border-radius: 4px; }
[hidden] { display: none !important; }

.shell { width: 100%; max-width: calc(var(--shell) + var(--gutter) * 2); margin-inline: auto; padding-inline: var(--gutter); }
.skip-link { position: absolute; left: -9999px; top: 8px; z-index: 100; background: var(--ink); color: #fff; padding: 10px 14px; border-radius: 8px; }
.skip-link:focus { left: 8px; }

/* ---------- Type ---------- */
h1, h2, h3, h4 { font-family: var(--font-display); font-weight: 600; margin: 0; text-wrap: balance; font-optical-sizing: auto; }
h1 { font-size: clamp(44px, 7.4vw, 96px); line-height: 0.96; letter-spacing: -0.045em; }
h2 { font-size: clamp(34px, 4.8vw, 60px); line-height: 1.02; letter-spacing: -0.035em; }
h3 { font-size: clamp(22px, 2.2vw, 28px); line-height: 1.15; letter-spacing: -0.02em; }
h4 { font-size: 18px; line-height: 1.3; letter-spacing: -0.01em; }
p { margin: 0; }
.lede { font-size: clamp(18px, 1.6vw, 21px); line-height: 1.55; color: var(--ink-2); max-width: 60ch; }
.eyebrow { display: inline-flex; align-items: center; gap: 10px; font-size: 14px; font-weight: 500; color: var(--muted); margin-bottom: 18px; }
.eyebrow .code { font-family: var(--font-mono); font-size: 12px; color: var(--pencil-ink); letter-spacing: 0.02em; }
.mono { font-family: var(--font-mono); font-size: 0.86em; letter-spacing: 0; }
.muted { color: var(--muted); }
.price-tag { font-family: var(--font-display); font-weight: 600; letter-spacing: -0.03em; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  height: 48px; padding: 0 22px; border-radius: 999px; border: 1px solid transparent;
  font-size: 16px; font-weight: 500; text-decoration: none; white-space: nowrap; cursor: pointer;
  transition: transform 0.2s var(--ease), background-color 0.2s var(--ease), border-color 0.2s var(--ease), color 0.2s var(--ease);
}
.btn:active { transform: translateY(1px); }
.btn-primary { background: var(--ink); color: #fff; }
.btn-primary:hover { background: #262a31; }
.btn-ghost { background: transparent; border-color: var(--line-strong); color: var(--ink); }
.btn-ghost:hover { border-color: var(--ink); }
.btn-light { background: #fff; color: var(--ink); }
.btn-light:hover { background: #e9ebee; }
.btn-dark-ghost { background: transparent; border-color: #3a3f47; color: var(--dark-text); }
.btn-dark-ghost:hover { border-color: var(--dark-text); }
.btn-small { height: 38px; padding: 0 16px; font-size: 15px; }
.btn .arrow { transition: transform 0.2s var(--ease); }
.btn:hover .arrow { transform: translateX(3px); }
.text-link { justify-self: start; display: inline-flex; align-items: center; gap: 6px; font-weight: 500; text-decoration: none; border-bottom: 1px solid currentColor; padding-bottom: 1px; }
.text-link:hover { color: var(--pencil-ink); }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: color-mix(in srgb, var(--paper) 82%, transparent);
  -webkit-backdrop-filter: saturate(1.4) blur(14px); backdrop-filter: saturate(1.4) blur(14px);
  border-bottom: 1px solid transparent; transition: border-color 0.2s;
}
.site-header.is-scrolled { border-bottom-color: var(--line); }
.header-row { display: flex; align-items: center; gap: 28px; height: 68px; }
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; flex: none; }
.brand-mark { width: 28px; height: 28px; }
.brand-word { font-family: var(--font-display); font-size: 21px; font-weight: 700; letter-spacing: -0.04em; }
.site-nav { display: flex; align-items: center; gap: 4px; margin-left: 8px; }
.site-nav a { padding: 8px 12px; border-radius: 999px; text-decoration: none; font-size: 15px; font-weight: 500; color: var(--ink-2); }
.site-nav a:hover { color: var(--ink); background: rgba(14, 16, 19, 0.05); }
.site-nav a[aria-current="page"] { color: var(--ink); background: rgba(14, 16, 19, 0.06); }
.header-actions { margin-left: auto; display: flex; align-items: center; gap: 10px; }
.header-actions .signin { font-size: 15px; font-weight: 500; text-decoration: none; padding: 8px 12px; color: var(--ink-2); }
.header-actions .signin:hover { color: var(--ink); }
.menu-toggle { display: none; margin-left: auto; background: none; border: 1px solid var(--line-strong); border-radius: 999px; height: 40px; padding: 0 14px; font-size: 15px; font-weight: 500; cursor: pointer; }
.mobile-nav { display: none; }

@media (max-width: 920px) {
  .site-nav, .header-actions { display: none; }
  .menu-toggle { display: inline-flex; align-items: center; }
  .mobile-nav { display: block; border-top: 1px solid var(--line); background: var(--paper); padding-block: 12px 20px; }
  .mobile-nav[hidden] { display: none !important; }
  .mobile-nav a { display: block; padding: 12px 0; font-size: 18px; font-weight: 500; text-decoration: none; border-bottom: 1px solid var(--line); }
  .mobile-nav .btn { margin-top: 16px; width: 100%; border-bottom: 0; }
}

/* ---------- Sections ---------- */
.section { padding-block: clamp(80px, 11vw, 150px); }
.section-tight { padding-block: clamp(56px, 7vw, 96px); }
.section-head { display: grid; align-content: start; gap: 20px; max-width: 760px; margin-bottom: clamp(40px, 6vw, 72px); }
.section-head.center { margin-inline: auto; text-align: center; justify-items: center; }
.section-head .lede { margin-inline: inherit; }
.dark { background: var(--darkroom); color: var(--dark-text); }
.dark .lede, .dark .muted { color: var(--dark-muted); }
.dark .eyebrow { color: var(--dark-muted); }
.dark .eyebrow .code { color: #ff7a66; }
.white { background: var(--surface); }
.rule-top { border-top: 1px solid var(--line); }

/* ---------- Hero ---------- */
.hero { padding-top: clamp(48px, 8vw, 104px); overflow: hidden; }
.hero-copy { display: grid; gap: 26px; justify-items: start; max-width: 980px; }
.hero-copy h1 .soft { color: #9aa0aa; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.announce { display: inline-flex; align-items: center; gap: 10px; padding: 6px 14px 6px 6px; border: 1px solid var(--line-strong); border-radius: 999px; background: var(--surface); font-size: 14px; font-weight: 500; text-decoration: none; color: var(--ink-2); }
.announce b { white-space: nowrap; font-weight: 600; background: var(--ink); color: #fff; border-radius: 999px; padding: 3px 10px; font-size: 12.5px; }
.announce:hover { border-color: var(--ink); color: var(--ink); }
.hero-note { font-size: 14px; color: var(--muted); }

.hero-stage { position: relative; margin-top: clamp(56px, 8vw, 104px); padding: clamp(40px, 5vw, 64px) 0 clamp(48px, 6vw, 88px) clamp(0px, 4vw, 56px); }
.hero-stage::before { content: ""; position: absolute; inset: 0 calc(var(--gutter) * -1 - 400px) 0 0; border-radius: 28px 0 0 28px; background-color: #eceef1; background-image: radial-gradient(circle at 1px 1px, rgba(14,16,19,0.09) 1px, transparent 1.4px); background-size: 22px 22px; border: 1px solid var(--line); border-right: 0; }
.hero-stage > * { position: relative; }
.hero-stage .browser { width: min(100%, 940px); }
.hero-stage .phone-wrap { position: absolute; right: 24px; top: 150px; z-index: 2; }
.hero-stage .float-email { position: absolute; left: clamp(-24px, -1vw, 0px); top: -30px; width: 350px; z-index: 3; }
.hero-stage .float-pay { position: absolute; right: 250px; bottom: 30px; z-index: 3; }
@media (max-width: 1100px) {
  .hero-stage .phone-wrap { right: 0; transform: scale(0.86); transform-origin: top right; }
  .hero-stage .float-pay { right: 200px; }
}
@media (max-width: 860px) {
  .hero-stage { padding: 20px 0 32px; }
  .hero-stage::before { inset: 0 calc(var(--gutter) * -1); border-radius: 0; border-inline: 0; }
  .hero-stage .phone-wrap { position: relative; right: auto; top: auto; transform: none; margin: -120px auto 0; width: max-content; }
  .hero-stage .float-email { position: relative; left: auto; top: auto; width: 100%; max-width: 380px; margin-bottom: 16px; }
  .hero-stage .float-pay { display: none; }
}
@media (max-width: 640px) {
  .hero-stage .phone-wrap { display: none; }
  .announce { font-size: 13px; }
}

@media (prefers-reduced-motion: no-preference) {
  .rise { animation: rise 0.9s var(--ease) both; }
  .rise-2 { animation-delay: 0.08s; }
  .rise-3 { animation-delay: 0.16s; }
  .rise-4 { animation-delay: 0.32s; }
  .rise-5 { animation-delay: 0.5s; }
  @keyframes rise { from { transform: translateY(18px); } to { transform: none; } }
  .pencil-circle path { stroke-dasharray: 520; stroke-dashoffset: 520; animation: draw 1.1s 0.9s var(--ease) forwards; }
  @keyframes draw { to { stroke-dashoffset: 0; } }
}

/* ---------- Platform strip ---------- */
.works-with { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 28px; padding-block: 28px; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); font-size: 15px; color: var(--muted); }
.works-with strong { color: var(--ink); font-weight: 500; margin-right: 4px; }
.works-with span { font-family: var(--font-display); font-size: 19px; font-weight: 600; letter-spacing: -0.02em; color: var(--ink-2); }

/* ---------- Browser mockup ---------- */
.browser { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg); box-shadow: var(--shadow-float); overflow: hidden; }
.browser-bar { display: flex; align-items: center; gap: 12px; height: 44px; padding: 0 14px; border-bottom: 1px solid var(--line); background: #fafbfc; }
.browser-dots { display: flex; gap: 6px; flex: none; }
.browser-dots i { width: 10px; height: 10px; border-radius: 50%; background: #d9dce1; }
.address { flex: 1; min-width: 0; max-width: 460px; margin-inline: auto; display: flex; align-items: center; justify-content: center; gap: 7px; height: 28px; border-radius: 8px; background: #eef0f3; font-family: var(--font-mono); font-size: 12.5px; color: var(--ink-2); padding: 0 12px; white-space: nowrap; overflow: hidden; }
.address svg { width: 12px; height: 12px; flex: none; color: var(--muted); }
.address .url-path { color: var(--muted); overflow: hidden; text-overflow: ellipsis; }
.browser-spacer { width: 46px; flex: none; }

/* ---------- Studio gallery (inside mockups, themed per studio brand) ---------- */
.studio { --brand: #2f4a3a; --brand-font: var(--font-classic); --brand-weight: 600; }
.studio-top { display: flex; align-items: center; gap: 18px; padding: 16px 22px; border-bottom: 1px solid var(--line); }
.studio-name { font-family: var(--brand-font); font-weight: var(--brand-weight); font-size: 22px; letter-spacing: 0.01em; color: var(--ink); white-space: nowrap; }
.studio-links { display: flex; gap: 18px; font-size: 13px; color: var(--muted); margin-left: auto; }
.studio-links b { color: var(--ink); font-weight: 500; }
.studio-avatar { width: 28px; height: 28px; border-radius: 50%; background: var(--brand); color: #fff; font-size: 12px; font-weight: 600; display: grid; place-items: center; flex: none; }
.studio-cover { position: relative; height: 230px; overflow: hidden; }
.studio-cover img { width: 100%; height: 100%; object-fit: cover; object-position: center 58%; }
.studio-cover .cap { position: absolute; inset: auto 0 0 0; padding: 22px; color: #fff; background: linear-gradient(transparent, rgba(0,0,0,0.5)); }
.studio-cover .cap h5 { margin: 0; font-family: var(--brand-font); font-weight: var(--brand-weight); font-size: 30px; line-height: 1.05; letter-spacing: 0.005em; }
.studio-cover .cap p { font-size: 13px; opacity: 0.9; margin-top: 4px; }
.studio-body { padding: 16px 22px 22px; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 14px; }
.chip { display: inline-flex; align-items: center; gap: 6px; height: 28px; padding: 0 11px; border-radius: 999px; border: 1px solid var(--line); font-size: 12.5px; color: var(--ink-2); white-space: nowrap; background: #fff; }
.chip.on { background: var(--ink); color: #fff; border-color: var(--ink); }
.chip .add { color: var(--pencil-ink); font-weight: 600; }
.chip.on .add { color: #ffb3a8; }
.grid-photos { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; }
.ph { position: relative; aspect-ratio: 4 / 5; border-radius: 6px; overflow: hidden; background: #e6e8ec; }
.ph img { width: 100%; height: 100%; object-fit: cover; }
.ph .wm { position: absolute; inset: 0; display: grid; place-items: center; font-family: var(--brand-font); font-weight: var(--brand-weight); color: rgba(255,255,255,0.55); font-size: 15px; letter-spacing: 0.06em; transform: rotate(-24deg); pointer-events: none; text-shadow: 0 1px 2px rgba(0,0,0,0.15); white-space: nowrap; }
.ph .badge { position: absolute; left: 6px; bottom: 6px; display: inline-flex; align-items: center; gap: 4px; height: 22px; padding: 0 8px; border-radius: 999px; background: rgba(14,16,19,0.72); color: #fff; font-size: 11px; font-weight: 500; }
.ph .badge svg { width: 11px; height: 11px; }
.ph .heart { position: absolute; right: 6px; top: 6px; width: 24px; height: 24px; border-radius: 50%; background: rgba(255,255,255,0.92); display: grid; place-items: center; color: var(--ink); }
.ph .heart svg { width: 13px; height: 13px; }
.ph .heart.on { color: var(--pencil); }
.ph .heart.on svg { fill: currentColor; }
.buybar { display: flex; align-items: center; gap: 14px; margin-top: 16px; padding: 12px 12px 12px 16px; border: 1px solid var(--line); border-radius: 12px; }
.buybar p { font-size: 13px; color: var(--muted); line-height: 1.35; }
.buybar p b { display: block; color: var(--ink); font-weight: 500; font-size: 14px; }
.brand-btn { margin-left: auto; flex: none; display: inline-flex; align-items: center; height: 38px; padding: 0 16px; border-radius: 8px; background: var(--brand); color: #fff; font-size: 13.5px; font-weight: 500; white-space: nowrap; }
.pencil-wrap { position: relative; }
.pencil-circle { position: absolute; inset: -16px -18px -14px -16px; width: calc(100% + 34px); height: calc(100% + 30px); pointer-events: none; overflow: visible; }
.pencil-circle path { fill: none; stroke: var(--pencil); stroke-width: 3.2; stroke-linecap: round; stroke-linejoin: round; opacity: 0.92; }

@media (max-width: 640px) {
  .studio-links { display: none; }
  .studio-cover { height: 170px; }
  .studio-cover .cap h5 { font-size: 24px; }
  .grid-photos { grid-template-columns: repeat(3, 1fr); }
  .grid-photos .ph:nth-child(n+7) { display: none; }
  .buybar { flex-wrap: wrap; }
  .brand-btn { margin-left: 0; }
}

/* ---------- Phone mockup ---------- */
.phone { position: relative; width: 272px; aspect-ratio: 9 / 19.2; border-radius: 46px; background: #0f1012; padding: 10px; box-shadow: var(--shadow-float), inset 0 0 0 1.5px #2b2e33; }
.phone-screen { position: relative; height: 100%; border-radius: 37px; overflow: hidden; background: #fbfaf8; display: flex; flex-direction: column; }
.phone-notch { position: absolute; top: 9px; left: 50%; transform: translateX(-50%); width: 92px; height: 26px; border-radius: 20px; background: #0f1012; z-index: 3; }
.phone-status { display: flex; justify-content: space-between; align-items: center; padding: 14px 26px 0; height: 44px; font-size: 13px; font-weight: 600; color: var(--ink); flex: none; }
.phone-status .icons { display: flex; gap: 5px; align-items: center; }
.phone-status .icons i { display: block; width: 16px; height: 9px; border-radius: 2.5px; border: 1.4px solid var(--ink); }
.app-head { padding: 10px 18px 8px; flex: none; }
.app-head .studio-name { font-size: 22px; }
.app-head p { font-size: 12px; color: var(--muted); margin-top: 2px; }
.app-body { flex: 1; min-height: 0; overflow: hidden; padding: 4px 14px; display: grid; grid-auto-rows: max-content; gap: 10px; align-content: start; }
.app-card { border-radius: 16px; overflow: hidden; background: #fff; border: 1px solid #ecebe8; }
.app-card .img { height: 104px; overflow: hidden; }
.app-card .img img { width: 100%; height: 100%; object-fit: cover; }
.app-card .meta { display: flex; justify-content: space-between; align-items: center; padding: 9px 12px; gap: 8px; }
.app-card .meta b { display: block; font-size: 13px; font-weight: 600; line-height: 1.2; }
.app-card .meta span { font-size: 11px; color: var(--muted); }
.app-card .meta .app-pill, .app-pill { font-size: 10.5px; font-weight: 600; padding: 3px 8px; border-radius: 999px; background: var(--brand); color: #fff; white-space: nowrap; }
.app-card .meta .app-pill.soft, .app-pill.soft { background: #f0efec; color: var(--ink-2); }
.app-cta { display: flex; align-items: center; justify-content: center; height: 40px; border-radius: 12px; background: var(--brand); color: #fff; font-size: 13px; font-weight: 600; }
.app-tabs { flex: none; display: grid; grid-template-columns: repeat(4, 1fr); padding: 8px 10px 18px; border-top: 1px solid #ecebe8; background: #fff; }
.app-tabs span { display: grid; justify-items: center; gap: 3px; font-size: 9.5px; color: var(--muted); font-weight: 500; }
.app-tabs span svg { width: 18px; height: 18px; }
.app-tabs span.on { color: var(--brand); }

/* ---------- Floating cards ---------- */
.card-float { color: var(--ink); background: var(--surface); border: 1px solid var(--line); border-radius: 16px; box-shadow: var(--shadow-print); }
.mail-card { display: flex; gap: 12px; padding: 14px 16px; align-items: flex-start; }
.mail-card .avatar { width: 38px; height: 38px; border-radius: 50%; background: var(--brand, #2f4a3a); color: #fff; display: grid; place-items: center; font-family: var(--brand-font, var(--font-classic)); font-weight: 600; font-size: 16px; flex: none; }
.mail-card .from { display: flex; justify-content: space-between; gap: 8px; font-size: 13.5px; font-weight: 600; line-height: 1.3; }
.mail-card .from time { font-weight: 400; color: var(--muted); font-size: 12px; white-space: nowrap; }
.mail-card .addr { font-family: var(--font-mono); font-size: 11.5px; color: var(--muted); }
.mail-card .subj { font-size: 13.5px; margin-top: 4px; font-weight: 500; }
.mail-card .snip { font-size: 12.5px; color: var(--muted); line-height: 1.4; margin-top: 2px; }
.mail-card > div { min-width: 0; }
.pay-card { display: flex; align-items: center; gap: 12px; padding: 12px 16px 12px 12px; }
.pay-card .ok { width: 34px; height: 34px; border-radius: 50%; background: var(--ok-soft); color: var(--ok); display: grid; place-items: center; flex: none; }
.pay-card .ok svg { width: 17px; height: 17px; }
.pay-card b { display: block; font-size: 14px; font-weight: 600; line-height: 1.25; }
.pay-card span { font-size: 12.5px; color: var(--muted); }

/* ---------- Brand demo ("make it yours") ---------- */
.brand-lab { display: grid; grid-template-columns: minmax(0, 340px) minmax(0, 1fr); gap: clamp(32px, 5vw, 64px); align-items: start; }
.brand-controls { position: sticky; top: 96px; display: grid; gap: 26px; }
.brand-controls label, .brand-controls .label { display: block; font-size: 14px; font-weight: 500; color: var(--dark-muted); margin-bottom: 10px; }
.field-dark { width: 100%; height: 50px; padding: 0 16px; border-radius: 12px; border: 1px solid #343941; background: var(--darkroom-2); color: var(--dark-text); font-size: 17px; }
.field-dark:focus { outline: none; border-color: #8b929c; }
.swatches { display: flex; flex-wrap: wrap; gap: 10px; }
.swatch { width: 36px; height: 36px; border-radius: 50%; border: 2px solid transparent; box-shadow: inset 0 0 0 1px rgba(255,255,255,0.15); cursor: pointer; padding: 0; }
.swatch[aria-pressed="true"] { border-color: #fff; }
.seg { display: inline-flex; padding: 4px; border-radius: 999px; background: var(--darkroom-2); border: 1px solid #2c3036; }
.seg button { border: 0; background: transparent; color: var(--dark-muted); padding: 8px 16px; border-radius: 999px; font-size: 14px; font-weight: 500; cursor: pointer; }
.seg button[aria-pressed="true"] { background: #fff; color: var(--ink); }
.brand-controls .fine { font-size: 13.5px; color: var(--dark-muted); line-height: 1.5; }
.surfaces { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 16px; }
.surface { background: var(--darkroom-2); border: 1px solid var(--dark-line); border-radius: var(--radius-lg); padding: 18px; display: grid; gap: 14px; align-content: start; min-width: 0; }
.surface-label { display: flex; justify-content: space-between; align-items: baseline; gap: 10px; font-size: 13.5px; color: var(--dark-muted); }
.surface-label b { color: var(--dark-text); font-weight: 500; }
.surface-label .mono { color: var(--dark-muted); font-size: 12px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.surface-web { grid-column: span 12; }
.surface-app { grid-column: span 5; }
.surface-mail { grid-column: span 7; }
.surface .browser { box-shadow: none; border-color: #2c3036; }
.surface .phone { width: 100%; max-width: 236px; margin-inline: auto; box-shadow: none; }
.surface .card-float { box-shadow: none; }
.store-card { display: grid; grid-template-columns: 64px 1fr auto; gap: 14px; align-items: center; padding: 14px; background: #fff; color: var(--ink); border-radius: 16px; }
.store-card .app-icon, .app-icon { width: 64px; height: 64px; border-radius: 15px; background: var(--brand); color: #fff; display: grid; place-items: center; font-family: var(--brand-font); font-weight: var(--brand-weight); font-size: 26px; letter-spacing: 0.02em; }
.store-card b { display: block; font-size: 15px; line-height: 1.25; }
.store-card span { display: block; font-size: 12.5px; color: var(--muted); }
.store-card .get { background: #eef0f3; color: #1d61d6; font-weight: 600; font-size: 13px; border-radius: 999px; padding: 6px 16px; }
.store-meta { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.store-meta div { background: var(--darkroom-3); border-radius: 12px; padding: 10px 12px; font-size: 12px; color: var(--dark-muted); }
.store-meta b { display: block; color: var(--dark-text); font-size: 13.5px; font-weight: 500; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.surface .studio-top { padding: 12px 16px; }
.surface .studio-cover { height: 170px; }
.surface .studio-body { padding: 12px 16px 16px; }
@media (max-width: 980px) {
  .brand-lab { grid-template-columns: 1fr; }
  .brand-controls { position: static; }
  .surface-app, .surface-mail { grid-column: span 12; }
}

/* ---------- Feature blocks ---------- */
.feature { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(36px, 6vw, 88px); align-items: center; }
.feature.flip { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); }
.feature.flip .feature-copy { order: 2; }
.feature-copy { display: grid; gap: 22px; align-content: start; }
.feature-copy .lede { font-size: 18px; }
.ticks { list-style: none; padding: 0; margin: 6px 0 0; display: grid; gap: 12px; }
.ticks li { display: grid; grid-template-columns: 22px 1fr; gap: 10px; font-size: 16px; line-height: 1.5; color: var(--ink-2); }
.ticks li svg { width: 18px; height: 18px; margin-top: 3px; color: var(--ink); }
.dark .ticks li { color: var(--dark-muted); }
.dark .ticks li svg { color: var(--dark-text); }
.ticks li b { color: var(--ink); font-weight: 500; }
.dark .ticks li b { color: var(--dark-text); }
@media (max-width: 900px) {
  .feature, .feature.flip { grid-template-columns: 1fr; }
  .feature.flip .feature-copy { order: 0; }
}

.panel { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg); box-shadow: var(--shadow-print); overflow: hidden; }
.panel-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 14px 18px; border-bottom: 1px solid var(--line); font-size: 14px; }
.panel-head b { font-weight: 600; }
.panel-head .mono { color: var(--muted); font-size: 12px; }
.panel-body { padding: 18px; }

/* Order / unlock panel */
.order-rows { display: grid; gap: 0; }
.order-row { display: grid; grid-template-columns: 56px 1fr auto; gap: 14px; align-items: center; padding: 12px 0; border-bottom: 1px solid var(--line); }
.order-row:last-child { border-bottom: 0; }
.order-row .thumb { width: 56px; height: 56px; border-radius: 8px; overflow: hidden; }
.order-row .thumb img { width: 100%; height: 100%; object-fit: cover; }
.order-row b { display: block; font-size: 14.5px; font-weight: 500; }
.order-row span { font-size: 13px; color: var(--muted); }
.order-row .amt { font-family: var(--font-mono); font-size: 13.5px; font-variant-numeric: tabular-nums; }
.status { display: inline-flex; align-items: center; gap: 6px; height: 24px; padding: 0 10px; border-radius: 999px; font-size: 12px; font-weight: 500; white-space: nowrap; }
.status.paid { background: var(--ok-soft); color: var(--ok); }
.status.wait { background: #f1f2f4; color: var(--ink-2); }
.status.lock { background: #fdecea; color: var(--pencil-ink); }
.status svg { width: 12px; height: 12px; }
.ledger { display: grid; gap: 8px; margin-top: 16px; padding-top: 16px; border-top: 1px dashed var(--line-strong); font-size: 14px; }
.ledger div { display: flex; justify-content: space-between; gap: 12px; }
.ledger .mono { font-variant-numeric: tabular-nums; }
.ledger .total { font-weight: 600; font-size: 15px; }

.stack { position: relative; padding-bottom: 44px; }
.stack .panel + .card-float { position: absolute; right: -18px; bottom: 0; }
@media (max-width: 640px) { .stack .panel + .card-float { position: relative; right: auto; bottom: auto; margin-top: 14px; } }

/* ---------- Film strip sequence ---------- */
.film { position: relative; background: var(--darkroom); border-radius: var(--radius-lg); padding: 34px 0; overflow: hidden; }
.film::before, .film::after { content: ""; position: absolute; left: 0; right: 0; height: 14px; background-image: radial-gradient(circle at 10px 7px, var(--paper) 0 4.2px, transparent 4.6px); background-size: 26px 14px; opacity: 0.16; }
.film::before { top: 10px; }
.film::after { bottom: 10px; }
.frames { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 0; padding-inline: 14px; }
.frame { position: relative; padding: 22px 20px 24px; border-left: 1px solid #23262c; color: var(--dark-text); display: grid; gap: 10px; align-content: start; min-width: 0; }
.frame:first-child { border-left: 0; }
.frame .code { font-family: var(--font-mono); font-size: 11.5px; color: #ff7a66; letter-spacing: 0.04em; }
.frame h4 { font-size: 20px; }
.frame p { font-size: 14.5px; color: var(--dark-muted); line-height: 1.5; }
@media (max-width: 1100px) { .frames { grid-template-columns: repeat(3, minmax(0, 1fr)); } .frame:nth-child(4) { border-left: 0; } .frame:nth-child(n+4) { border-top: 1px solid #23262c; } }
@media (max-width: 640px) { .frames { grid-template-columns: 1fr; } .frame { border-left: 0; border-top: 1px solid #23262c; } .frame:first-child { border-top: 0; } }

/* ---------- Face sort panel ---------- */
.sort-groups { display: grid; gap: 12px; }
.sort-group { border: 1px solid var(--dark-line); border-radius: 14px; padding: 12px; background: var(--darkroom-2); display: grid; gap: 10px; }
.sort-group header { display: flex; justify-content: space-between; align-items: center; gap: 10px; font-size: 13.5px; color: var(--dark-text); }
.sort-group header span { color: var(--dark-muted); font-family: var(--font-mono); font-size: 12px; }
.sort-strip { display: grid; grid-template-columns: 1.15fr repeat(5, 1fr); gap: 6px; }
.sort-strip .tile { aspect-ratio: 4 / 5; border-radius: 6px; overflow: hidden; background: #22252a; position: relative; }
.sort-strip .tile img { width: 100%; height: 100%; object-fit: cover; }
.sort-strip .tile.card { background: #eceae4; display: grid; place-items: center; color: var(--ink); font-family: var(--font-display); font-weight: 700; font-size: 30px; letter-spacing: -0.03em; }
.sort-strip .tile.card small { position: absolute; bottom: 5px; left: 0; right: 0; text-align: center; font-family: var(--font-body); font-weight: 500; font-size: 9.5px; color: var(--muted); letter-spacing: 0; }
.sort-actions { display: flex; gap: 8px; flex-wrap: wrap; }
.sort-actions span { font-size: 12px; padding: 5px 10px; border: 1px solid #343941; border-radius: 999px; color: var(--dark-muted); }
.selfie-card { display: grid; grid-template-columns: 80px 1fr; gap: 16px; align-items: center; padding: 16px; border-radius: 16px; background: #fff; color: var(--ink); }
.selfie-card .face { width: 80px; height: 80px; border-radius: 50%; overflow: hidden; outline: 2px dashed var(--line-strong); outline-offset: 4px; }
.selfie-card .face img { width: 100%; height: 100%; object-fit: cover; object-position: center 22%; }
.selfie-card b { font-size: 15px; display: block; }
.selfie-card p { font-size: 13.5px; color: var(--muted); line-height: 1.45; margin-top: 2px; }

/* ---------- Crop editor ---------- */
.crop { display: grid; grid-template-columns: minmax(0, 1fr) 210px; gap: 0; }
.crop-canvas { position: relative; background: #1a1c20; padding: 22px; display: grid; place-items: center; min-height: 360px; }
.crop-photo { position: relative; width: 100%; max-width: 330px; aspect-ratio: 4 / 5; }
.crop-photo img { width: 100%; height: 100%; object-fit: cover; opacity: 0.45; }
.crop-box { position: absolute; inset: 8% 6% 6% 10%; border: 1.5px solid #fff; overflow: hidden; box-shadow: 0 0 0 1px rgba(0,0,0,0.25); }
.crop-box img { position: absolute; width: calc(100% / 0.84); height: calc(100% / 0.86); max-width: none; left: calc(-10% / 0.84); top: calc(-8% / 0.86); object-fit: cover; opacity: 1; }
.crop-box::before, .crop-box::after { content: ""; position: absolute; inset: 0; pointer-events: none; z-index: 1; }
.crop-box::before { background: linear-gradient(90deg, transparent 33.1%, rgba(255,255,255,0.45) 33.3%, transparent 33.5%, transparent 66.5%, rgba(255,255,255,0.45) 66.7%, transparent 66.9%); }
.crop-box::after { background: linear-gradient(180deg, transparent 33.1%, rgba(255,255,255,0.45) 33.3%, transparent 33.5%, transparent 66.5%, rgba(255,255,255,0.45) 66.7%, transparent 66.9%); }
.crop-side { padding: 16px; display: grid; gap: 10px; align-content: start; border-left: 1px solid var(--line); }
.crop-side .opt { display: flex; justify-content: space-between; gap: 8px; padding: 10px 12px; border: 1px solid var(--line); border-radius: 10px; font-size: 13.5px; }
.crop-side .opt.on { border-color: var(--ink); box-shadow: inset 0 0 0 1px var(--ink); }
.crop-side .opt span { color: var(--muted); font-family: var(--font-mono); font-size: 12.5px; }
.crop-side .ppi { font-size: 12.5px; color: var(--ok); display: flex; gap: 6px; align-items: center; }
.crop-side .ppi svg { width: 14px; height: 14px; }
@media (max-width: 640px) { .crop { grid-template-columns: 1fr; } .crop-side { border-left: 0; border-top: 1px solid var(--line); } }

/* ---------- Insights ---------- */
.metrics { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0; border-bottom: 1px solid var(--line); }
.metric { padding: 16px 18px; border-right: 1px solid var(--line); }
.metric:last-child { border-right: 0; }
.metric span { font-size: 13px; color: var(--muted); }
.metric b { display: block; font-family: var(--font-display); font-weight: 600; font-size: 30px; letter-spacing: -0.03em; font-variant-numeric: tabular-nums; line-height: 1.1; margin-top: 4px; }
.funnel { display: grid; gap: 12px; padding: 18px; }
.funnel-row { display: grid; grid-template-columns: 150px 1fr 54px; gap: 14px; align-items: center; font-size: 14px; }
.funnel-row .bar { height: 10px; border-radius: 999px; background: #eceef1; overflow: hidden; }
.funnel-row .bar i { display: block; height: 100%; background: var(--ink); border-radius: 999px; }
.funnel-row .mono { text-align: right; font-variant-numeric: tabular-nums; color: var(--ink-2); }
.top-photos { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; padding: 0 18px 18px; }
.top-photos figure { margin: 0; display: grid; gap: 6px; }
.top-photos .ph { aspect-ratio: 1; }
.top-photos figcaption { font-family: var(--font-mono); font-size: 11.5px; color: var(--muted); display: flex; justify-content: space-between; gap: 6px; }
@media (max-width: 640px) { .funnel-row { grid-template-columns: 110px 1fr 46px; font-size: 13px; } .metric b { font-size: 24px; } }

/* ---------- Cards grid ---------- */
.cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.cards.two { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.cards.four { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 28px; display: grid; gap: 14px; align-content: start; min-width: 0; }
.dark .card { background: var(--darkroom-2); border-color: var(--dark-line); }
.card .icon { width: 40px; height: 40px; border-radius: 12px; border: 1px solid var(--line); display: grid; place-items: center; color: var(--ink); }
.dark .card .icon { border-color: #30343b; color: var(--dark-text); }
.card .icon svg { width: 20px; height: 20px; }
.card p { color: var(--ink-2); font-size: 16px; line-height: 1.55; }
.dark .card p { color: var(--dark-muted); }
.card .foot { margin-top: 6px; font-size: 14px; color: var(--muted); }
@media (max-width: 980px) { .cards, .cards.four { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 640px) { .cards, .cards.two, .cards.four { grid-template-columns: 1fr; } }

/* ---------- Connect paths (websites) ---------- */
.paths { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.path { position: relative; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 28px; display: grid; gap: 16px; align-content: start; }
.path.recommended { border-color: var(--ink); box-shadow: inset 0 0 0 1px var(--ink); }
.path .tag { position: absolute; top: -12px; left: 24px; background: var(--ink); color: #fff; font-size: 12.5px; font-weight: 500; padding: 4px 10px; border-radius: 999px; }
.path .dns { font-family: var(--font-mono); font-size: 12.5px; background: #f3f4f6; border: 1px solid var(--line); border-radius: 10px; padding: 12px 14px; line-height: 1.7; color: var(--ink-2); overflow-wrap: anywhere; }
.path .dns b { color: var(--ink); font-weight: 500; }
.path p { color: var(--ink-2); font-size: 16px; }
.path .icon { width: 40px; height: 40px; border: 1px solid var(--line); border-radius: 12px; display: grid; place-items: center; }
.path .icon svg { width: 20px; height: 20px; }
.path .best { font-size: 14px; color: var(--muted); border-top: 1px solid var(--line); padding-top: 14px; }
@media (max-width: 980px) { .paths { grid-template-columns: 1fr; } }

/* Map diagram */
.map { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: clamp(20px, 4vw, 40px); overflow-x: auto; }
.map svg { display: block; width: 100%; min-width: 760px; height: auto; }
.map text { font-family: var(--font-body); }

/* ---------- Pricing ---------- */
.plans { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; align-items: stretch; }
.plan { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 30px; display: grid; gap: 18px; align-content: start; position: relative; }
.plan.featured { border-color: var(--ink); box-shadow: inset 0 0 0 1px var(--ink); }
.plan .tag { position: absolute; top: -12px; left: 28px; background: var(--ink); color: #fff; font-size: 12.5px; font-weight: 500; padding: 4px 10px; border-radius: 999px; }
.plan h3 { font-size: 24px; }
.plan .for { font-size: 15px; color: var(--muted); }
.plan .amount { display: flex; align-items: baseline; gap: 8px; }
.plan .amount b { font-family: var(--font-display); font-weight: 600; font-size: 46px; letter-spacing: -0.04em; line-height: 1; }
.plan .amount span { color: var(--muted); font-size: 15px; }
.plan .billing { font-size: 13.5px; color: var(--muted); min-height: 20px; }
.plan .ticks li { font-size: 15px; }
.plan .btn { width: 100%; }
.plans-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.plans-4 .plan { padding: 26px; }
@media (max-width: 1180px) { .plans-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 980px) { .plans { grid-template-columns: 1fr; } .plans-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 640px) { .plans-4 { grid-template-columns: 1fr; } }

.service { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 24px; align-items: center; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 30px; }
.service h3 { font-size: 26px; }
.service p { color: var(--ink-2); margin-top: 8px; max-width: 58ch; }
.service .cost { text-align: right; }
.service .cost b { display: block; font-family: var(--font-display); font-weight: 600; font-size: 44px; letter-spacing: -0.04em; line-height: 1; }
.service .cost span { font-size: 14px; color: var(--muted); }
@media (max-width: 720px) { .service { grid-template-columns: 1fr; } .service .cost { text-align: left; } }

.compare { width: 100%; border-collapse: collapse; font-size: 15px; min-width: 720px; }
.compare th, .compare td { text-align: left; padding: 14px 16px; border-bottom: 1px solid var(--line); vertical-align: top; }
.compare thead th { font-weight: 600; font-size: 14px; color: var(--muted); }
.compare thead th:nth-child(2) { color: var(--ink); }
.compare td:first-child { font-weight: 500; }
.compare td:nth-child(2) { background: rgba(14,16,19,0.025); }
.compare .yes { color: var(--ok); font-weight: 500; }
.compare .no { color: var(--muted); }
.table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--radius-lg); background: var(--surface); }

/* ---------- Story ---------- */
.story { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: clamp(36px, 6vw, 88px); align-items: center; }
.story-photo { position: relative; border-radius: var(--radius-lg); overflow: hidden; aspect-ratio: 4 / 5; }
.story-photo img { width: 100%; height: 100%; object-fit: cover; }
.story-photo .exif { position: absolute; left: 14px; bottom: 14px; font-family: var(--font-mono); font-size: 11.5px; color: rgba(255,255,255,0.92); background: rgba(0,0,0,0.35); padding: 5px 9px; border-radius: 6px; -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); }
.story blockquote { margin: 0; font-family: var(--font-display); font-size: clamp(24px, 2.6vw, 34px); line-height: 1.2; letter-spacing: -0.025em; font-weight: 500; }
@media (max-width: 900px) { .story { grid-template-columns: 1fr; } .story-photo { max-width: 460px; } }

/* ---------- FAQ ---------- */
.faq { display: grid; gap: 0; border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 24px; padding: 24px 0; font-family: var(--font-display); font-size: clamp(19px, 1.8vw, 22px); font-weight: 500; letter-spacing: -0.015em; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary .pm { flex: none; width: 30px; height: 30px; border-radius: 50%; border: 1px solid var(--line-strong); display: grid; place-items: center; transition: transform 0.25s var(--ease); }
.faq summary .pm svg { width: 14px; height: 14px; }
.faq details[open] summary .pm { transform: rotate(45deg); }
.faq .answer { padding: 0 0 26px; max-width: 72ch; color: var(--ink-2); display: grid; gap: 12px; }
.faq-layout { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: clamp(32px, 6vw, 88px); }
@media (max-width: 900px) { .faq-layout { grid-template-columns: 1fr; } }

/* ---------- CTA band ---------- */
.cta-band { position: relative; overflow: hidden; }
.cta-inner { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 40px; align-items: end; }
.cta-inner h2 { font-size: clamp(38px, 5.6vw, 72px); }
.cta-actions { display: flex; flex-wrap: wrap; gap: 12px; justify-content: flex-end; }
@media (max-width: 900px) { .cta-inner { grid-template-columns: 1fr; } .cta-actions { justify-content: flex-start; } }

/* ---------- Page hero (inner pages) ---------- */
.page-hero { padding-top: clamp(48px, 8vw, 104px); padding-bottom: clamp(48px, 6vw, 80px); }
.page-hero .hero-copy h1 { font-size: clamp(42px, 6.4vw, 84px); }
.split-hero { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); gap: clamp(36px, 6vw, 80px); align-items: center; }
@media (max-width: 960px) { .split-hero { grid-template-columns: 1fr; } }

/* ---------- Phone pair (branded app page) ---------- */
.phone-pair { display: flex; justify-content: center; align-items: flex-start; gap: 22px; }
.phone-pair .phone:nth-child(2) { margin-top: 64px; }
@media (max-width: 640px) { .phone-pair .phone { width: 210px; border-radius: 38px; } .phone-pair .phone .phone-screen { border-radius: 30px; } .phone-pair .phone:nth-child(2) { display: none; } }

.steps { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0; border-top: 1px solid var(--line); }
.step { padding: 26px 24px 8px 0; display: grid; gap: 10px; align-content: start; }
.step + .step { padding-left: 24px; border-left: 1px solid var(--line); }
.step .code { font-family: var(--font-mono); font-size: 12px; color: var(--pencil-ink); }
.step p { color: var(--ink-2); font-size: 15.5px; }
@media (max-width: 900px) { .steps { grid-template-columns: 1fr 1fr; } .step:nth-child(3) { border-left: 0; padding-left: 0; } .step:nth-child(n+3) { border-top: 1px solid var(--line); } }
@media (max-width: 560px) { .steps { grid-template-columns: 1fr; } .step + .step { border-left: 0; padding-left: 0; border-top: 1px solid var(--line); } }

.owner-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0; border: 1px solid var(--line); border-radius: var(--radius-lg); background: var(--surface); overflow: hidden; }
.owner-list div { padding: 22px 24px; border-bottom: 1px solid var(--line); display: grid; gap: 6px; align-content: start; }
.owner-list div:nth-child(odd) { border-right: 1px solid var(--line); }
.owner-list div:nth-last-child(-n+2) { border-bottom: 0; }
.owner-list b { font-weight: 600; font-size: 16.5px; }
.owner-list span { color: var(--ink-2); font-size: 15px; }
@media (max-width: 720px) { .owner-list { grid-template-columns: 1fr; } .owner-list div:nth-child(odd) { border-right: 0; } .owner-list div:nth-last-child(2) { border-bottom: 1px solid var(--line); } }

/* ---------- Site samples (websites page) ---------- */
.site-sample { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-print); }
.sample-hero { position: relative; height: 300px; }
.sample-hero img { width: 100%; height: 100%; object-fit: cover; }
.sample-hero .sample-nav { position: absolute; inset: 0 0 auto 0; display: flex; justify-content: space-between; align-items: center; padding: 16px 22px; color: #fff; font-size: 12.5px; }
.sample-hero .sample-nav .studio-name { color: #fff; font-size: 20px; }
.sample-hero .sample-nav span { display: flex; gap: 14px; }
.sample-hero .sample-title { position: absolute; left: 22px; bottom: 22px; right: 22px; color: #fff; }
.sample-hero .sample-title h5 { margin: 0; font-family: var(--brand-font); font-weight: var(--brand-weight); font-size: clamp(26px, 3vw, 36px); line-height: 1.05; }
.sample-hero .sample-title p { font-size: 13px; opacity: 0.9; margin-top: 6px; }
.sample-hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0,0,0,0.28), transparent 30%, transparent 55%, rgba(0,0,0,0.45)); pointer-events: none; }
.sample-hero > * { z-index: 1; }
.sample-strip { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 6px; padding: 6px; }
.sample-strip .ph { aspect-ratio: 1; border-radius: 4px; }

/* ---------- Forms ---------- */
.form { display: grid; gap: 18px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: clamp(22px, 4vw, 36px); }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form label { display: grid; gap: 8px; font-size: 14.5px; font-weight: 500; }
.form input, .form select, .form textarea { width: 100%; min-height: 48px; padding: 12px 14px; border-radius: 12px; border: 1px solid var(--line-strong); background: #fff; font-size: 16px; }
.form textarea { min-height: 110px; resize: vertical; }
.form input:focus, .form select:focus, .form textarea:focus { outline: none; border-color: var(--ink); box-shadow: 0 0 0 3px rgba(14,16,19,0.08); }
.checks { display: flex; flex-wrap: wrap; gap: 10px; }
.checks label { display: inline-flex; align-items: center; gap: 8px; padding: 10px 14px; border: 1px solid var(--line-strong); border-radius: 999px; font-weight: 500; cursor: pointer; }
.checks input { width: 16px; height: 16px; min-height: 0; accent-color: var(--ink); }
.form .fine { font-size: 13.5px; color: var(--muted); }
.form-done { padding: 18px; border-radius: 14px; background: var(--ok-soft); color: var(--ok); font-weight: 500; }
@media (max-width: 640px) { .form-row { grid-template-columns: 1fr; } }

/* ---------- Footer ---------- */
.site-footer { background: var(--darkroom); color: var(--dark-text); padding-block: 72px 40px; }
.footer-grid { display: grid; grid-template-columns: minmax(0, 3fr) repeat(4, minmax(0, 2fr)); gap: 32px; }
.footer-grid h4 { font-family: var(--font-body); font-size: 14px; font-weight: 500; color: var(--dark-muted); margin-bottom: 14px; }
.footer-grid ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.footer-grid a { text-decoration: none; color: var(--dark-text); font-size: 15px; }
.footer-grid a:hover { color: #fff; text-decoration: underline; }
.footer-brand p { color: var(--dark-muted); font-size: 15px; margin-top: 16px; max-width: 36ch; }
.footer-brand .brand-word { color: #fff; }
.footer-base { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 16px; margin-top: 64px; padding-top: 24px; border-top: 1px solid var(--dark-line); font-size: 13.5px; color: var(--dark-muted); }
.footer-base a { color: var(--dark-muted); }
@media (max-width: 860px) { .footer-grid { grid-template-columns: 1fr 1fr; } .footer-brand { grid-column: 1 / -1; } }

/* ---------- Utilities ---------- */
.mt-0 { margin-top: 0; }
.center { text-align: center; }
.stack-sm { display: grid; gap: 12px; }
.note { font-size: 14px; color: var(--muted); }
.divider { height: 1px; background: var(--line); border: 0; margin: 0; }
.kbd { font-family: var(--font-mono); font-size: 0.84em; padding: 2px 6px; border: 1px solid var(--line-strong); border-radius: 6px; background: #fff; }

/* ---------- Spec sections (product page) ---------- */
.spec { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: clamp(32px, 6vw, 88px); align-items: start; }
.spec .section-head { position: sticky; top: 100px; margin: 0; }
.spec-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 40px; border-top: 1px solid var(--line); }
.dark .spec-list { border-top-color: var(--dark-line); }
.spec-item { display: grid; grid-template-columns: 26px minmax(0, 1fr); gap: 12px; padding: 22px 0; border-bottom: 1px solid var(--line); align-content: start; }
.dark .spec-item { border-bottom-color: var(--dark-line); }
.spec-item svg { width: 20px; height: 20px; margin-top: 3px; }
.spec-item b { display: block; font-weight: 600; font-size: 16.5px; margin-bottom: 4px; }
.spec-item p { font-size: 15.5px; color: var(--ink-2); line-height: 1.55; }
.dark .spec-item p { color: var(--dark-muted); }
.soon { display: inline-block; margin-left: 6px; font-size: 11.5px; font-weight: 500; padding: 2px 8px; border-radius: 999px; background: #eceef1; color: var(--ink-2); vertical-align: 2px; }
.dark .soon { background: #23262c; color: var(--dark-muted); }
.index-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden; }
.index-grid a { background: var(--surface); padding: 22px; text-decoration: none; display: grid; gap: 8px; align-content: start; transition: background-color 0.2s; }
.index-grid a:hover { background: #fafbfc; }
.index-grid a svg { width: 20px; height: 20px; }
.index-grid b { font-weight: 600; font-size: 16px; }
.index-grid span { font-size: 14px; color: var(--muted); line-height: 1.45; }
@media (max-width: 980px) { .spec { grid-template-columns: 1fr; } .spec .section-head { position: static; } .index-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 640px) { .spec-list { grid-template-columns: 1fr; } .index-grid { grid-template-columns: 1fr; } }
