/* soundsbyzan — company site.
   Oswald for headings, Sora everywhere else (body, nav, buttons, forms, wordmark).
   Dark #060b16 page via motion.css. White cards fall back here for the classic edition. */
@font-face { font-family: "Sora"; font-weight: 400; font-display: swap; src: url(fonts/sora-latin-400-normal.woff2) format("woff2"); }
@font-face { font-family: "Sora"; font-weight: 500; font-display: swap; src: url(fonts/sora-latin-500-normal.woff2) format("woff2"); }
@font-face { font-family: "Sora"; font-weight: 600; font-display: swap; src: url(fonts/sora-latin-600-normal.woff2) format("woff2"); }
@font-face { font-family: "Sora"; font-weight: 700; font-display: swap; src: url(fonts/sora-latin-700-normal.woff2) format("woff2"); }
@font-face { font-family: "Oswald"; font-weight: 500; font-display: swap; src: url(fonts/oswald-latin-500-normal.woff2) format("woff2"); }

:root {
  --bg: #efeff4; --card: #fff; --line: #e2e3ea; --line-strong: #d1d3dd;
  --ink: #141c2b; --ink-soft: #444c5c; --muted: #5a6274;
  --acc-950: #0b1d3d; --acc-900: #12366e; --acc-800: #1d55a4; --acc-300: #a9c0e6; --acc-100: #e2eaf8;
  --navy: #0b1730;
  --brand-grad: linear-gradient(135deg, #2f6fd0 0%, #12366e 100%);
  --ease-out: cubic-bezier(0.23, 1, 0.32, 1);
  --shadow-sm: 0 1px 2px rgba(14, 30, 64, .06);
  --shadow-frame: 0 1px 2px rgba(14, 30, 64, .08), 0 24px 48px -24px rgba(14, 30, 64, .32);
  --wrap: 1180px;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; background: var(--bg); color: var(--ink); font: 400 17px/1.6 "Sora", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
h1, h2, h3 { font-family: "Oswald", "Arial Narrow", sans-serif; font-weight: 500; line-height: 1.1; margin: 0; }
p { margin: 0; }
:focus-visible { outline: 2px solid var(--acc-800); outline-offset: 3px; border-radius: 6px; }
.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 24px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ---------- header: same bar as the home page, plus the new tab ---------- */
.top { position: sticky; top: 0; z-index: 20; background: rgba(239, 239, 244, .88); backdrop-filter: saturate(1.4) blur(12px); -webkit-backdrop-filter: saturate(1.4) blur(12px); border-bottom: 1px solid rgba(0, 0, 0, .05); }
.top .wrap { display: flex; align-items: center; justify-content: space-between; gap: 16px; height: 68px; }
.brand { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; text-decoration: none; color: var(--ink); }
.brand svg { width: 34px; height: 28px; flex: 0 0 auto; }
.brand-word { font-family: "Sora", system-ui, sans-serif; font-weight: 700; letter-spacing: -0.035em; font-size: 23px; line-height: 1; }
.brand-word .ln { background: var(--brand-grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.top nav { display: flex; align-items: center; gap: 26px; font-weight: 600; font-size: 15px; }
.top nav a { text-decoration: none; color: var(--ink-soft); padding: 6px 0; transition: color 150ms ease; }
.top nav a[aria-current="page"] { color: var(--acc-900); box-shadow: inset 0 -2px 0 var(--acc-800); }
@media (hover: hover) and (pointer: fine) { .top nav a:hover { color: var(--acc-900); } }

.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 44px; padding: 0 20px; border-radius: 999px; font: 700 15px/1 "Sora", sans-serif; text-decoration: none; white-space: nowrap; cursor: pointer; border: 0;
  transition: transform 160ms var(--ease-out), background-color 150ms ease, box-shadow 150ms ease; }
.btn:active { transform: scale(0.97); }
.btn-dark { background: var(--acc-900); color: #fff; }
.btn-line { background: #fff; color: var(--acc-900); box-shadow: inset 0 0 0 1.5px var(--line-strong); }
@media (hover: hover) and (pointer: fine) {
  .btn-dark:hover { background: var(--acc-950); }
  .btn-line:hover { box-shadow: inset 0 0 0 1.5px var(--acc-300); }
}


/* ---------- case studies (layout from preview B) ---------- */
.case { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 56px; align-items: center; padding: 40px 0 8px; }
.case.flip { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); }
.case.flip .case-copy { order: 2; }
.case-copy h3 { font-size: clamp(32px, 3.6vw, 46px); margin: 12px 0 14px; }
.case-copy .summary { color: var(--ink-soft); font-size: 18px; }
.points { list-style: none; padding: 0; margin: 22px 0 26px; display: grid; gap: 10px; }
.points li { position: relative; padding-left: 26px; font-size: 16px; }
.points li::before { content: ""; position: absolute; left: 0; top: .5em; width: 10px; height: 10px; border-radius: 50%; background: var(--acc-800); box-shadow: 0 0 0 4px var(--acc-100); }
.status { display: inline-flex; align-items: center; gap: 6px; margin-left: 10px; height: 24px; padding: 0 10px; border-radius: 999px; background: var(--acc-100); color: var(--acc-900); font: 700 12px/1 "Sora", sans-serif; vertical-align: 3px; letter-spacing: .02em; }
.status.pending { background: #ececf1; color: var(--muted); }

/* screen viewer: stacked screens, one visible, crossfade on switch */
.viewer { min-width: 0; }
.stage { position: relative; }
.frame { position: relative; aspect-ratio: 16 / 10; border-radius: 14px; overflow: hidden; background: #fff; box-shadow: var(--shadow-frame); border: 1px solid rgba(0, 0, 0, .06); }
.frame img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: top left; opacity: 0; filter: blur(3px); transition: opacity 220ms ease, filter 220ms ease; }
.frame img.on { opacity: 1; filter: blur(0); }
.phone { position: absolute; right: -18px; bottom: -32px; width: 24%; border-radius: 22px; border: 6px solid #0b0d12; overflow: hidden; box-shadow: 0 24px 48px -18px rgba(0, 0, 0, .45); background: #0b0d12; }
.tabs { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 18px; padding: 4px; background: #e6e7ee; border-radius: 999px; width: max-content; max-width: 100%; }
.tabs button { min-height: 40px; padding: 0 16px; border: 0; border-radius: 999px; background: transparent; color: var(--ink-soft); font: 700 14px/1 "Sora", sans-serif; cursor: pointer;
  transition: background-color 150ms ease, color 150ms ease, box-shadow 150ms ease, transform 160ms var(--ease-out); }
.tabs button:active { transform: scale(0.97); }
.tabs button[aria-pressed="true"] { background: #fff; color: var(--acc-950); box-shadow: 0 1px 2px rgba(14, 30, 64, .12); }
.caption { margin-top: 12px; font-size: 15px; color: var(--muted); min-height: 1.6em; }
.pending-screen { display: grid; place-items: center; height: 100%; padding: 24px; text-align: center; color: var(--muted); font-weight: 700; font-size: 15px;
  background: repeating-linear-gradient(135deg, #f3f3f7 0 12px, #ececf2 12px 24px); }

/* ---------- closing: a quiet card, not a banner ---------- */
.closing { padding: 24px 0 96px; }
.closing .card { background: var(--card); border: 1px solid var(--line); border-radius: 20px; box-shadow: var(--shadow-sm); padding: 44px 48px; display: flex; align-items: center; justify-content: space-between; gap: 32px; }
.closing h2 { font-size: clamp(28px, 3vw, 38px); }
.closing p { color: var(--ink-soft); margin-top: 8px; max-width: 52ch; }
.closing .actions { display: flex; gap: 10px; flex-wrap: wrap; flex: 0 0 auto; }
.note { font-size: 13px; color: var(--muted); padding-bottom: 8px; }

footer.foot { background: var(--navy); color: rgba(255, 255, 255, .72); font-size: 14px; }
footer.foot .wrap { display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; padding-top: 28px; padding-bottom: 28px; }


/* scroll reveal: only when JS is running, so the page is never blank without it */
.js .reveal { opacity: 0; transform: translateY(12px); transition: opacity 400ms var(--ease-out), transform 400ms var(--ease-out); }
.js .reveal.in { opacity: 1; transform: none; }

/* ---------- responsive ---------- */
@media (max-width: 1060px) { .top nav { gap: 18px; } }
@media (max-width: 980px) {
  .case, .case.flip { grid-template-columns: minmax(0, 1fr); gap: 32px; }
  .case.flip .case-copy { order: 0; }
  .closing .card { flex-direction: column; align-items: flex-start; }
}
@media (max-width: 860px) {
  .top nav { display: none; }
}
@media (max-width: 720px) {
  body { font-size: 16px; }
  .wrap { padding: 0 16px; }
  .top .wrap { height: 60px; }
  .top .btn { min-height: 40px; padding: 0 16px; font-size: 14px; }
  .brand-word { font-size: 20px; }
  .case { padding: 52px 0; }
  .phone { right: -6px; bottom: -14px; width: 28%; border-width: 4px; border-radius: 15px; }
  .closing .card { padding: 28px 22px; }
  .caption { font-size: 14px; }
}
@media (max-width: 370px) {
  .top .btn { padding: 0 12px; font-size: 13px; }
  .brand-word { font-size: 18px; }
  .brand svg { width: 28px; height: 23px; }
  .tabs button { padding: 0 12px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .js .reveal { transform: none; transition: opacity 200ms ease; }
  .frame img { filter: none; transition: opacity 150ms ease; }
  .btn, .tabs button { transition: none; }
}


/* ---------- Essential Reef: the website, landscape, with the members app on an iPhone ----------
   Everything inside the stage is sized in container units, so the composition holds its
   proportions at every width. The iPhone rises from the stage's bottom edge; the stage clips it. */
.case.wide { grid-template-columns: minmax(0, 1fr); gap: 36px; }
.case.wide .case-copy { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); column-gap: 56px; align-items: start; }
.case.wide .case-copy > * { grid-column: 1; }
.case.wide .case-copy .points { grid-column: 2; grid-row: 1 / span 3; margin: 6px 0 0; align-self: center; }

.viewer-device { display: flex; flex-direction: column; align-items: center; }
.device-stage { --er-blue: #1e4ea8; position: relative; width: 100%; aspect-ratio: 16 / 9; container-type: inline-size; overflow: hidden; border-radius: 20px;
  background: radial-gradient(120% 90% at 85% 100%, #dfe7f6 0%, rgba(223, 231, 246, 0) 60%), #e9ebf1; border: 1px solid var(--line); }

.site-frame { position: absolute; left: 4.2cqw; top: 4.2cqw; width: 72cqw; aspect-ratio: 16 / 10; border-radius: 1.1cqw; overflow: hidden; background: #fff;
  box-shadow: 0 1px 2px rgba(16, 32, 64, .08), 0 2.4cqw 4.8cqw -2.4cqw rgba(16, 32, 64, .35); }
.site-shot { position: absolute; inset: 0; width: 100%; height: 100%; }
/* the hero band of essentialreef.com (1440x900 layout: y 122, h 592), rebuilt so its video can play */
.site-hero { position: absolute; left: 0; width: 100%; top: 13.556%; height: 65.778%; overflow: hidden; opacity: 0; transition: opacity 400ms var(--ease-out); }
.site-hero.live { opacity: 1; }
.site-hero video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.site-hero-wash { position: absolute; inset: 0; background: rgba(255, 255, 255, .5); }
.site-hero-logo { position: absolute; left: 5.556%; top: 6.757%; width: 88.889%; height: 86.486%; object-fit: contain; }

.iphone { position: absolute; right: 5cqw; top: 16cqw; width: 29.2cqw; height: 60cqw; padding: 0.75cqw; border-radius: 4.6cqw; background: #0b0d12;
  box-shadow: 0 0 0 0.15cqw #2a2f3a, 0 3cqw 6cqw -2cqw rgba(8, 16, 36, .5); }
.iphone-screen { position: relative; height: 100%; border-radius: 3.9cqw 3.9cqw 0 0; overflow: hidden; background: #fff; color: #0b0d12; transition: background-color 220ms ease, color 220ms ease; }
.iphone[data-theme="dark"] .iphone-screen { background: #0e131f; color: #fff; }
.iphone-status { position: relative; height: 3.9cqw; display: flex; align-items: center; justify-content: space-between; padding: 0 2.6cqw 0 3.1cqw;
  font: 600 1.25cqw/1 -apple-system, BlinkMacSystemFont, "SF Pro Text", "Segoe UI", sans-serif; letter-spacing: -0.01em; }
.iphone-status svg { width: 5.4cqw; height: auto; display: block; }
.iphone-island { position: absolute; left: 50%; top: 0.85cqw; width: 8.6cqw; height: 2.45cqw; margin-left: -4.3cqw; border-radius: 999px; background: #000; }
.iphone-content { position: relative; }
.iphone-content img { display: block; width: 100%; height: auto; position: absolute; top: 0; left: 0; opacity: 0; filter: blur(3px);
  transition: opacity 220ms ease, filter 220ms ease; }
.iphone-content img.on { position: relative; opacity: 1; filter: none; }

.site-label { margin-top: 14px; font-size: 13px; color: var(--muted); }
.viewer-device .tabs { margin-top: 12px; justify-content: center; }
.viewer-device .caption { text-align: center; max-width: 52ch; }

/* narrow stages: taller composition, bigger phone */
@container (max-width: 640px) {
  .site-frame { left: 4cqw; top: 4cqw; width: 84cqw; border-radius: 2cqw; }
  .iphone { right: 5cqw; top: 40cqw; width: 66cqw; height: 120cqw; padding: 1.6cqw; border-radius: 10.4cqw; }
  .iphone-screen { border-radius: 8.8cqw 8.8cqw 0 0; }
  .iphone-status { height: 8.8cqw; padding: 0 5.8cqw 0 7cqw; font-size: 2.8cqw; }
  .iphone-status svg { width: 12.2cqw; }
  .iphone-island { top: 1.9cqw; width: 19.4cqw; height: 5.5cqw; margin-left: -9.7cqw; }
}
@media (max-width: 980px) { .case.wide .case-copy { grid-template-columns: minmax(0, 1fr); } .case.wide .case-copy .points { grid-column: 1; grid-row: auto; margin: 22px 0 0; } }
@media (max-width: 672px) { .device-stage { aspect-ratio: 4 / 5; border-radius: 16px; } }
@media (prefers-reduced-motion: reduce) { .iphone-content img { filter: none; transition: opacity 150ms ease; } .site-hero { transition: none; } }

/* Archie: the phone follows the selected desktop screen */
.phone.multi { aspect-ratio: 780 / 1689; transition: opacity 220ms ease; }
.phone.multi img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: top; opacity: 0; transition: opacity 220ms ease; }
.phone.multi img.on { opacity: 1; }
.phone.multi.phone-hidden { opacity: 0; pointer-events: none; }
@media (prefers-reduced-motion: reduce) { .phone.multi, .phone.multi img { transition: opacity 150ms ease; } }

.eyebrow { display: inline-flex; align-items: baseline; gap: 10px; font: 500 13px/1.3 "Sora", sans-serif; color: var(--muted); }
.eyebrow .eyebrow-n { font: 600 13px/1 "Sora", sans-serif; color: var(--acc-800); font-variant-numeric: tabular-nums; letter-spacing: 0.01em; }

/* ======================================================================
   Sounds by Zan home
   ====================================================================== */
.brand-mark { width: 30px; height: 30px; flex: 0 0 auto; }
.brand-word .by { font-weight: 700; color: var(--muted); }
.section { padding: 96px 0; scroll-margin-top: 68px; }
.section-head { max-width: 720px; margin-bottom: 40px; }
.section-head h2 { font-size: clamp(32px, 4vw, 48px); margin: 12px 0 14px; text-wrap: balance; }
.section-head p { color: var(--ink-soft); font-size: 18px; }

/* ---------- hero: the tagline, and the picture of what it means ---------- */
.hero { padding: 80px 0 72px; }
.hero .wrap { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 6fr); gap: 56px; align-items: center; }
.hero h1 { font-size: clamp(38px, 4.6vw, 60px); margin: 16px 0 20px; letter-spacing: -0.005em; text-wrap: balance; }
.hero .lede { font-size: clamp(18px, 1.6vw, 20px); color: var(--ink-soft); max-width: 50ch; }
.hero .actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 30px; }

/* hub: platforms on the left feed one portal on the right; lines are drawn by site.js */
.hub { position: relative; display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 6fr); gap: 44px; align-items: center; padding: 28px; border-radius: 22px;
  background: radial-gradient(90% 80% at 100% 0%, var(--acc-100) 0%, rgba(226, 234, 248, 0) 60%), #fff; border: 1px solid var(--line); box-shadow: var(--shadow-sm); }
.hub-lines { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; overflow: visible; }
.hub-lines path { fill: none; stroke: var(--acc-300); stroke-width: 1.5; }
.hub-lines path.flow { stroke: var(--acc-800); stroke-width: 1.5; stroke-dasharray: 4 14; stroke-linecap: round; animation: flow 1.6s linear infinite; opacity: .55; }
@keyframes flow { to { stroke-dashoffset: -36; } }
.hub-sources { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; position: relative; z-index: 1; }
.hub-sources li { display: flex; align-items: center; gap: 10px; padding: 9px 12px; border-radius: 12px; background: #fff; border: 1px solid var(--line); font-weight: 700; font-size: 14px; color: var(--ink); box-shadow: var(--shadow-sm); }
.mono { display: inline-grid; place-items: center; width: 26px; height: 26px; border-radius: 8px; font: 700 12px/1 "Sora", sans-serif; color: #fff; flex: 0 0 auto; }
.hub-portal { position: relative; z-index: 1; background: #fff; border-radius: 16px; border: 1px solid var(--line); box-shadow: var(--shadow-frame); padding: 18px; }
.hub-portal-top { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-bottom: 14px; }
.hub-portal-top b { font: 500 20px/1 "Oswald", sans-serif; }
.hub-portal-top span { font-size: 12px; color: var(--muted); font-weight: 700; }
.hub-stats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
.hub-stat { border-radius: 10px; background: var(--bg); padding: 10px 10px 9px; }
.hub-stat small { display: block; font: 700 10.5px/1.2 "Sora", sans-serif; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.hub-stat strong { display: block; margin-top: 4px; font: 500 22px/1 "Oswald", sans-serif; font-variant-numeric: tabular-nums; }
.hub-rows { list-style: none; margin: 12px 0 0; padding: 0; display: grid; gap: 6px; }
.hub-rows li { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: 10px; align-items: center; font-size: 13px; padding: 8px 10px; border-radius: 10px; border: 1px solid var(--line); }
.hub-rows .dot { width: 8px; height: 8px; border-radius: 50%; }
.hub-rows em { font-style: normal; color: var(--muted); font-size: 12px; font-weight: 700; }
.hub-note { margin-top: 10px; font-size: 12px; color: var(--muted); text-align: right; }

/* ---------- what we do ---------- */
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.steps li { background: var(--card); border: 1px solid var(--line); border-radius: 18px; padding: 26px 24px 24px; box-shadow: var(--shadow-sm); }
.steps .n { font: 500 15px/1 "Oswald", sans-serif; color: var(--acc-800); font-variant-numeric: tabular-nums; }
.steps h3 { font-size: 28px; margin: 12px 0 10px; }
.steps p { color: var(--ink-soft); font-size: 16px; }

/* ---------- products: one tab per product ---------- */
.ptabs { display: flex; flex-wrap: wrap; gap: 6px; padding: 5px; background: #e4e6ee; border-radius: 16px; width: max-content; max-width: 100%; }
.ptabs [role="tab"] { min-height: 46px; padding: 0 18px; border: 0; border-radius: 12px; background: transparent; color: var(--ink-soft); font: 700 15px/1 "Sora", sans-serif; cursor: pointer;
  transition: background-color 150ms ease, color 150ms ease, box-shadow 150ms ease, transform 160ms var(--ease-out); }
.ptabs [role="tab"]:active { transform: scale(0.97); }
.ptabs [role="tab"][aria-selected="true"] { background: #fff; color: var(--acc-950); box-shadow: 0 1px 2px rgba(14, 30, 64, .14); }
@media (hover: hover) and (pointer: fine) { .ptabs [role="tab"][aria-selected="false"]:hover { color: var(--ink); } }
.ppanel[hidden] { display: none; }
.ppanel { animation: panel-in 220ms var(--ease-out); }
@keyframes panel-in { from { opacity: 0; transform: translateY(6px); } }
.links { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 4px; }
.connects-label { display: block; margin-top: 24px; font: 700 12px/1 "Sora", sans-serif; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.chips { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; margin: 10px 0 0; padding: 0; }
.chips li { padding: 6px 12px; border-radius: 999px; background: var(--card); border: 1px solid var(--line); font-weight: 700; font-size: 14px; color: var(--ink-soft); }

/* ---------- platforms ---------- */
.platforms { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.pgroup { background: var(--card); border: 1px solid var(--line); border-radius: 18px; padding: 22px; box-shadow: var(--shadow-sm); }
.pgroup h3 { font: 700 12px/1.2 "Sora", sans-serif; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); margin: 0 0 14px; }
.pgroup ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.pgroup li { display: flex; align-items: center; gap: 10px; font-weight: 700; font-size: 15px; }

/* ---------- contact ---------- */
.contact .wrap { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 56px; align-items: start; }
.contact .section-head { margin-bottom: 0; }
.form { background: var(--card); border: 1px solid var(--line); border-radius: 20px; padding: 32px; box-shadow: var(--shadow-sm); display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
.field { display: grid; gap: 6px; }
.field.full { grid-column: 1 / -1; }
.field label { font-weight: 700; font-size: 14px; }
.field label .opt { font-weight: 600; color: var(--muted); }
.field input, .field textarea { width: 100%; font: 400 16px/1.4 "Sora", sans-serif; color: var(--ink); background: #fff; border: 1.5px solid var(--line-strong); border-radius: 12px; padding: 12px 14px; min-height: 48px;
  transition: border-color 150ms ease, box-shadow 150ms ease; }
.field textarea { min-height: 120px; resize: vertical; }
.field input:focus, .field textarea:focus { outline: none; border-color: var(--acc-800); box-shadow: 0 0 0 3px var(--acc-100); }
.field[data-invalid] input, .field[data-invalid] textarea { border-color: #b4352b; }
.field .err { font-size: 13px; font-weight: 700; color: #b4352b; min-height: 0; }
.form-foot { grid-column: 1 / -1; display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.form-foot p { font-size: 13px; color: var(--muted); }
.form-status { grid-column: 1 / -1; font-weight: 700; font-size: 15px; }
.form-status[data-kind="error"] { color: #b4352b; }
.form-done { background: var(--card); border: 1px solid var(--line); border-radius: 20px; padding: 40px 32px; box-shadow: var(--shadow-sm); }
.form-done h3 { font-size: 30px; margin-bottom: 8px; }
.form-done p { color: var(--ink-soft); }
.btn[disabled] { opacity: .6; cursor: progress; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

/* ---------- mobile menu ---------- */
.menu-btn { display: none; min-height: 44px; min-width: 44px; padding: 0 12px; border-radius: 12px; border: 1.5px solid var(--line-strong); background: #fff; color: var(--ink); font: 700 14px/1 "Sora", sans-serif; cursor: pointer; }
.top-actions { display: flex; align-items: center; gap: 8px; }
.menu { position: absolute; right: 16px; top: calc(100% + 8px); width: min(260px, calc(100vw - 32px)); background: #fff; border: 1px solid var(--line); border-radius: 16px; box-shadow: var(--shadow-frame); padding: 8px;
  transform-origin: top right; transition: opacity 160ms var(--ease-out), transform 160ms var(--ease-out); }
.menu[hidden] { display: block; visibility: hidden; opacity: 0; transform: scale(.97) translateY(-4px); pointer-events: none; }
.menu a { display: flex; align-items: center; min-height: 44px; padding: 0 12px; border-radius: 10px; text-decoration: none; font-weight: 700; color: var(--ink); }
.menu a:focus-visible, .menu a:active { background: var(--bg); }
.top .wrap { position: relative; }

/* ---------- footer ---------- */
footer.foot a { color: #fff; text-decoration: none; }
footer.foot .tag { color: rgba(255, 255, 255, .72); max-width: 44ch; }

@media (max-width: 1060px) { .platforms { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 980px) {
  .hero .wrap { grid-template-columns: minmax(0, 1fr); gap: 40px; }
  .steps { grid-template-columns: minmax(0, 1fr); }
  .contact .wrap { grid-template-columns: minmax(0, 1fr); gap: 32px; }
}
@media (max-width: 860px) { .menu-btn { display: inline-flex; align-items: center; } }
@media (max-width: 720px) {
  .section { padding: 64px 0; }
  .hero { padding: 48px 0 56px; }
  .hub { grid-template-columns: minmax(0, 1fr); gap: 26px; padding: 18px; }
  .hub-sources { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .platforms { grid-template-columns: minmax(0, 1fr); }
  .form { grid-template-columns: minmax(0, 1fr); padding: 22px; }
  .ptabs { width: 100%; }
  .ptabs [role="tab"] { flex: 1 1 auto; padding: 0 12px; font-size: 14px; }
}
@media (max-width: 370px) { .hub-stat strong { font-size: 18px; } }
@media (prefers-reduced-motion: reduce) {
  .hub-lines path.flow { animation: none; }
  .ppanel { animation: none; }
  .menu { transition: none; }
}
[data-cat="ads"] { background: #b5410f; } [data-cat="crm"] { background: #1d55a4; } [data-cat="msg"] { background: #0e6f8a; }
[data-cat="pay"] { background: #15803d; } [data-cat="team"] { background: #5b3fb0; }
.brand-word { white-space: nowrap; }
.menu .menu-cta { display: none; margin-top: 4px; justify-content: center; background: var(--acc-900); color: #fff; }
@media (max-width: 480px) { .top-actions .btn { display: none; } .menu .menu-cta { display: flex; } }
/* real platform logos: each sits on a small white tile so full-colour marks read on any background */
.logo { display: inline-grid; place-items: center; width: 28px; height: 28px; border-radius: 8px; background: #fff; box-shadow: inset 0 0 0 1px rgba(14, 30, 64, .1); flex: 0 0 auto; }
.logo img { width: 18px; height: 18px; object-fit: contain; display: block; }
.logo img[src$="zoho.svg"] { width: 24px; height: 24px; }
/* Sounds by Zan logo (inline SVG, takes the text colour) */
.brand .sbz-logo { display: block; height: 48px; width: auto; color: var(--ink); }
.foot-brand { display: flex; align-items: center; gap: 22px; }
.foot-brand .sbz-logo { height: 46px; width: auto; color: #fff; flex: 0 0 auto; }
.foot-nav { display: flex; gap: 16px; margin-left: auto; }
.foot-nav a { color: rgba(255, 255, 255, .72); text-decoration: none; font-weight: 700; font-size: 13px; }
.foot-nav a:hover { color: #fff; }
@media (max-width: 720px) { .brand .sbz-logo { height: 40px; } .foot-brand { flex-direction: column; align-items: flex-start; gap: 12px; } .foot-nav { margin-left: 0; } }

/* ---------- what we do: 4 beats grid (replaces default 3-col when the list has steps-4/beats-4 class) ---------- */
.steps-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
@media (max-width: 1100px) { .steps-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 720px)  { .steps-4 { grid-template-columns: minmax(0, 1fr); } }

/* ---------- Showline offer: two column, framed screen + floating stat pills ---------- */
.offer-split { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 6fr); gap: 56px; align-items: center; }
.offer-text h2 { font-size: clamp(32px, 3.6vw, 48px); margin: 12px 0 14px; text-wrap: balance; }
.offer-text > p { color: var(--ink-soft); font-size: 17px; margin-top: 10px; max-width: 56ch; }
.offer-for { margin-top: 24px; display: flex; flex-wrap: wrap; align-items: center; gap: 10px 14px; }
.offer-for-label { font: 700 12px/1 "Sora", sans-serif; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.pill-row { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 6px; }
.pill-row li { padding: 6px 12px; border-radius: 999px; background: var(--card); border: 1px solid var(--line); font-weight: 700; font-size: 13px; color: var(--ink-soft); }
.offer-check { list-style: none; margin: 20px 0 0; padding: 0; display: grid; gap: 10px; }
.offer-check li { position: relative; padding-left: 30px; font-size: 16px; color: var(--ink); min-height: 20px; }
.offer-check li::before { content: ""; position: absolute; left: 0; top: 2px; width: 20px; height: 20px; border-radius: 50%; background-color: var(--acc-100);
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12' fill='none' stroke='%231d55a4' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'><polyline points='3 6 5 8 9 4'/></svg>");
  background-size: 12px 12px; background-position: center; background-repeat: no-repeat; }
.offer-cta { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 32px; }
.btn-lg { min-height: 52px; padding: 0 26px; font-size: 16px; }

.offer-visual { position: relative; min-width: 0; }
.offer-visual .frame { background: #fff; border-radius: 16px; }
.offer-visual .frame img { opacity: 1; filter: none; }
.stat-pill { position: absolute; display: flex; align-items: center; gap: 10px; padding: 10px 14px 10px 12px; border-radius: 14px;
  background: rgba(14, 23, 41, .94); border: 1px solid var(--line-strong); color: #fff;
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  box-shadow: 0 24px 48px -24px rgba(0, 0, 0, .6); font-family: "Sora", sans-serif; max-width: 70%; }
.stat-pill .dot { width: 10px; height: 10px; border-radius: 50%; flex: 0 0 auto; }
.stat-pill > span:last-child { display: flex; flex-direction: column; min-width: 0; }
.stat-pill b { font-weight: 700; font-size: 13px; line-height: 1.2; color: #fff; white-space: nowrap; }
.stat-pill small { font-weight: 600; font-size: 11px; color: rgba(255, 255, 255, .7); margin-top: 2px; white-space: nowrap; }
.stat-pill.pill-a { top: -16px; left: -16px; }
.stat-pill.pill-b { bottom: -16px; right: -16px; }

@media (max-width: 1100px) {
  .offer-split { grid-template-columns: minmax(0, 1fr); gap: 32px; }
  .offer-visual { order: 2; }
}
@media (max-width: 720px) {
  .stat-pill.pill-a { top: -10px; left: -8px; }
  .stat-pill.pill-b { bottom: -10px; right: -8px; }
  .stat-pill { padding: 8px 12px 8px 10px; }
}

/* ---------- Contact: sticky left column + "What happens next" list ---------- */
.contact .wrap { align-items: start; }
.whats-next { margin-top: 28px; padding: 20px 22px; border-radius: 16px; background: var(--card); border: 1px solid var(--line); }
.whats-next h3 { font: 500 13px/1.3 "Sora", sans-serif; color: var(--muted); margin: 0 0 12px; }
.whats-next ol { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; counter-reset: wn; }
.whats-next li { counter-increment: wn; position: relative; padding-left: 36px; font-size: 15px; color: var(--ink); min-height: 24px; }
.whats-next li::before { content: counter(wn); position: absolute; left: 0; top: -2px; display: inline-grid; place-items: center; width: 24px; height: 24px; border-radius: 50%;
  background: var(--acc-100); color: var(--acc-900); font: 700 12px/1 "Sora", sans-serif; }
@media (min-width: 981px) {
  .contact .section-head { position: sticky; top: 88px; align-self: start; }
}

/* ---------- Form spacing: consistent gap between fieldset children ---------- */
.form.form-wide .form-step > .field-grid,
.form.form-wide .form-step > .field { margin-top: 22px; }
.field-note { color: var(--muted); font-size: 14px; margin: -4px 0 14px; }

/* ---------- Multi step wizard: single card, Next/Back nav, progress bar.
   Progress and nav are hidden without JS; without JS all four steps simply stack. ---------- */
.form-progress { display: none; margin-bottom: 20px; }
html.js .form-progress { display: block; }
.form-progress-row { display: flex; align-items: baseline; gap: 10px; margin-bottom: 12px; flex-wrap: wrap; }
.form-stepnum { font: 500 13px/1 "Sora", sans-serif; color: var(--muted); font-variant-numeric: tabular-nums; margin: 0; }
.form-steptitle { font: 500 24px/1.1 "Oswald", sans-serif; color: var(--ink); margin: 0; }
.form-progress-bar { position: relative; height: 3px; width: 100%; border-radius: 999px; background: rgba(0, 0, 0, .06); overflow: hidden; }
.form-progress-bar > span { display: block; height: 100%; width: 25%; background: var(--acc-800); border-radius: 999px; transition: width 300ms var(--ease-out); }
@media (prefers-reduced-motion: reduce) { .form-progress-bar > span { transition: none; } }

/* JS mode: absolute-stack panels so the card can fit each step; container height is
   driven by JS and animated via CSS so Next sits right under the fields of each step. */
html.js .form.form-steps .form-panels { position: relative; overflow: hidden; transition: height 220ms var(--ease-out); }
html.js .form.form-steps .form-step { position: absolute; top: 0; left: 0; right: 0; margin: 0; padding: 0; border: 0;
  opacity: 0; visibility: hidden; pointer-events: none; transform: translateX(16px);
  transition: opacity 200ms ease, transform 220ms ease; }
html.js .form.form-steps .form-step.active { opacity: 1; visibility: visible; pointer-events: auto; transform: none; }
html.js .form.form-steps .form-step.leaving { opacity: 0; transform: translateX(-16px); }
html.js .form.form-steps .form-step-head { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; padding: 0; margin: 0; }
@media (prefers-reduced-motion: reduce) {
  html.js .form.form-steps .form-panels,
  html.js .form.form-steps .form-step { transition: none; transform: none; }
}

/* Nav row at the bottom of the card (JS only) */
.form-nav { display: none; }
html.js .form-nav { display: flex; align-items: center; gap: 12px; margin-top: 24px; }
.form-nav-spacer { flex: 1; }
.form-nav .btn { min-height: 48px; }
/* .btn sets display: inline-flex which outranks the UA [hidden] rule; restore the expected hide */
.form-nav .btn[hidden] { display: none; }

/* Form foot in step mode: just the privacy note, no inline button */
.form.form-steps .form-foot { grid-column: initial; display: block; margin-top: 14px; }
.form.form-steps .form-foot p { font-size: 13px; color: var(--muted); margin: 0; }

/* Contact: the left column no longer needs to be sticky now that the card is modestly sized */
@media (min-width: 981px) {
  .contact .section-head { position: static; }
}

/* ---------- process ---------- */
.process-steps { list-style: none; margin: 36px 0 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; counter-reset: step; }
.process-steps li { background: var(--card); border: 1px solid var(--line); border-radius: 20px; padding: 26px 24px 24px; box-shadow: var(--shadow-sm); }
.process-steps .n { font: 500 15px/1 "Oswald", sans-serif; color: var(--acc-800); font-variant-numeric: tabular-nums; }
.process-steps h3 { font-size: 24px; margin: 10px 0 8px; }
.process-steps p { color: var(--ink-soft); font-size: 15px; }
@media (max-width: 1100px) { .process-steps { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 720px)  { .process-steps { grid-template-columns: minmax(0, 1fr); } }

/* ---------- about ---------- */
.about-grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: 48px; align-items: center; }
.about-grid:has(.about-photo) { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); }
.about-copy h2 { font-size: clamp(32px, 4vw, 48px); margin: 12px 0 14px; text-wrap: balance; }
.about-copy p { color: var(--ink-soft); font-size: 18px; margin-top: 14px; max-width: 62ch; }
.about-copy .proof { margin-top: 24px; padding: 14px 18px; border-left: 3px solid var(--acc-800); background: var(--acc-100); color: var(--acc-900); font-weight: 700; font-size: 16px; border-radius: 0 12px 12px 0; max-width: 62ch; }
.about-photo img { width: 100%; height: auto; border-radius: 20px; }
@media (max-width: 980px) { .about-grid:has(.about-photo) { grid-template-columns: minmax(0, 1fr); gap: 24px; } }

/* ---------- form: wider layout with grouped fieldsets, chip-check inputs, select styling ---------- */
.form.form-wide { grid-template-columns: minmax(0, 1fr); gap: 12px; padding: 32px; }
.form.form-wide .form-step { border: 0; margin: 0; padding: 0 0 10px; min-width: 0; }
.form.form-wide .form-step + .form-step { margin-top: 22px; padding-top: 26px; border-top: 1px solid var(--line); }
.form-step-head { font: 500 20px/1.1 "Oswald", sans-serif; display: flex; align-items: center; gap: 12px; padding: 0 0 16px; color: var(--ink); }
.form-step-n { display: inline-grid; place-items: center; min-width: 36px; height: 36px; padding: 0 10px; border-radius: 999px; background: var(--acc-100); color: var(--acc-900); font: 700 13px/1 "Sora", sans-serif; letter-spacing: .08em; }
.field-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.field-grid .field.full { grid-column: 1 / -1; }
.field-label { display: block; font-weight: 700; font-size: 14px; margin-bottom: 10px; }
.field-label .opt { font-weight: 600; color: var(--muted); }
.field select { width: 100%; font: 400 16px/1.4 "Sora", sans-serif; color: var(--ink); background: #fff; border: 1.5px solid var(--line-strong); border-radius: 12px; padding: 12px 40px 12px 14px; min-height: 48px;
  appearance: none; -webkit-appearance: none;
  background-image: linear-gradient(45deg, transparent 50%, var(--muted) 50%), linear-gradient(135deg, var(--muted) 50%, transparent 50%);
  background-position: calc(100% - 20px) 55%, calc(100% - 14px) 55%; background-size: 6px 6px, 6px 6px; background-repeat: no-repeat; }
.field select:focus { outline: none; border-color: var(--acc-800); box-shadow: 0 0 0 3px var(--acc-100); }
.field[data-invalid] select { border-color: #b4352b; }

/* chip checkboxes: the whole pill is the hit target */
.chip-row { display: flex; flex-wrap: wrap; gap: 8px; }
.chip-field + .form-foot, .chip-field { margin-top: 2px; }
.chip-field .err { display: block; font-size: 13px; font-weight: 700; color: #b4352b; margin-top: 8px; min-height: 0; }
.chip { position: relative; display: inline-flex; align-items: center; min-height: 44px; padding: 0 16px; border-radius: 999px; background: var(--card); border: 1.5px solid var(--line-strong); color: var(--ink); font: 700 14px/1 "Sora", sans-serif; cursor: pointer;
  transition: background-color 150ms ease, border-color 150ms ease, color 150ms ease; }
.chip input { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: pointer; }
.chip:has(input:checked) { background: var(--acc-100); border-color: var(--acc-800); color: var(--acc-900); }
.chip:has(input:focus-visible) { outline: 2px solid var(--acc-800); outline-offset: 3px; }
@media (hover: hover) and (pointer: fine) { .chip:hover { border-color: var(--acc-300); } }
.other-input { margin-top: 12px; width: 100%; font: 400 15px/1.4 "Sora", sans-serif; color: var(--ink); background: #fff; border: 1.5px solid var(--line-strong); border-radius: 12px; padding: 10px 14px; min-height: 44px;
  transition: border-color 150ms ease, box-shadow 150ms ease; }
.other-input:focus { outline: none; border-color: var(--acc-800); box-shadow: 0 0 0 3px var(--acc-100); }

/* ---------- prose: privacy page body ---------- */
.prose { max-width: 68ch; }
.prose h3 { font: 500 22px/1.2 "Oswald", sans-serif; margin: 28px 0 8px; }
.prose p { color: var(--ink-soft); font-size: 17px; margin-top: 4px; }
.prose p + h3 { margin-top: 32px; }
.prose .links { margin-top: 32px; }

@media (max-width: 720px) {
  .form.form-wide { padding: 22px; }
  .field-grid { grid-template-columns: minmax(0, 1fr); }
}
