/* Westway Studio · Colour Club */

/* ==========================================================================
   COLOURS: the only place colour values live.
   To reskin the site, change the palette (step 1). The roles (step 2) map the
   palette onto parts of the page, so they rarely need touching.
   After changing colours, run .tools/make_assets.py to refresh the favicon,
   social image and logo files, which read these same values.
   ========================================================================== */
:root {
  /* 1. Palette */
  --violet: #4B2BE0;        /* creativity, imagination: the brand colour */
  --violet-bright: #7D66FF; /* the brand colour lifted for use on indigo */
  --indigo: #1A1240;        /* grounding, seriousness: text and dark sections */
  --white: #FFFFFF;         /* clarity, honesty */
  --butter: #FFE066;        /* optimism, warmth: the "stands out" colour */
  --mint: #8EF0C6;          /* freshness, growth */
  --bubblegum: #FF9BC8;     /* fun, friendliness */
  --paper: #F5F2FF;         /* soft section background */
  --mist: #DCD5FF;          /* soft text on violet */
  --heather: #5A527F;       /* soft text on white */
  --lavender: #B8B0E0;      /* soft text on indigo */
  --lilac-line: #E2DCF8;    /* hairlines on light backgrounds */

  /* 2. Roles */
  --hero-bg: var(--violet);
  --hero-ink: var(--white);
  --hero-soft: var(--mist);
  --hero-line: rgba(255, 255, 255, .24);
  --page-bg: var(--white);
  --page-ink: var(--indigo);
  --page-soft: var(--heather);
  --page-line: var(--lilac-line);
  --alt-bg: var(--paper);
  --dark-bg: var(--indigo);
  --dark-ink: var(--white);
  --dark-soft: var(--lavender);
  --dark-line: rgba(255, 255, 255, .14);
  --dark-display: var(--violet-bright);
  --accent: var(--butter);
  --accent-2: var(--mint);
  --accent-3: var(--bubblegum);
  --on-accent: var(--indigo);
  --btn-bg: var(--white);
  --btn-ink: var(--violet);
  --btn-dark-bg: var(--violet);
  --btn-dark-ink: var(--white);
  --focus: var(--butter);
  --logo-a: var(--white);
  --logo-b: var(--butter);
  --shadow: rgba(26, 18, 64, .35);

  /* 3. Fictional concept brands (content inside the demos, not the Westway palette) */
  --cafe-bg: #EEF1E4; --cafe-ink: #223321; --cafe-acc: #3F6B3A;
  --salon-bg: #F6E4DF; --salon-ink: #2E1F1E; --salon-acc: #B85C5C; --salon-soft: #E8B7AE;
  --dental-bg: #E8F3F4; --dental-ink: #0E3440; --dental-acc: #1C8C95;
  --trades-bg: #121513; --trades-ink: #EDEDE8; --trades-acc: #C9E86A; --trades-tile: #232823;
  --acct-bg: #F2EEE5; --acct-ink: #1C2B4B; --acct-acc: #2F4F8F;
  --gym-bg: #141414; --gym-ink: #F5F4EE; --gym-acc: #FFD84D;
  --old-link: #1F3FBF; --old-marquee: #FFF36B; --old-red: #A40000; --old-btn-a: #5C7CFF; --old-btn-b: #1A3BC2;
  --old-cafe: #F3E3A8; --old-cafe-ink: #5A2E0E; --old-salon: #FF9ED8; --old-salon-ink: #5B005B;
  --old-dental: #CFE8FF; --old-dental-ink: #003A8C; --old-trades: #E9E5D8; --old-trades-ink: #142A6B;
  --old-shade: rgba(0, 0, 0, .12); --old-ridge: rgba(0, 0, 0, .2);
  --old-acct: #DADADA; --old-acct-ink: #222222; --old-gym: #B00000; --old-gym-ink: #FFFF00;
}

/* ---------- Fonts (self-hosted, subset; fallbacks sized to match so nothing shifts) ---------- */
@font-face { font-family: "Fraunces"; src: url("../fonts/fraunces.woff2") format("woff2"); font-weight: 400 700; font-style: normal; font-display: swap; }
@font-face { font-family: "Fraunces"; src: url("../fonts/fraunces-italic.woff2") format("woff2"); font-weight: 400 700; font-style: italic; font-display: swap; }
@font-face { font-family: "Atkinson"; src: url("../fonts/atkinson.woff2") format("woff2"); font-weight: 400 700; font-display: swap; }
@font-face { font-family: "Fraunces Fallback"; src: local("Georgia"); size-adjust: 111.3%; ascent-override: 87.9%; descent-override: 22.9%; line-gap-override: 0%; }
@font-face { font-family: "Atkinson Fallback"; src: local("Arial"); size-adjust: 97.1%; ascent-override: 101.3%; descent-override: 32.5%; line-gap-override: 0%; }

:root {
  --display: "Fraunces", "Fraunces Fallback", Georgia, serif;
  --body: "Atkinson", "Atkinson Fallback", Arial, sans-serif;
  --ease: cubic-bezier(.22, 1, .36, 1);
  --gutter: 40px;
  --max: 1360px;
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; padding: 0; }
html { background: var(--page-bg); overflow-x: clip; scroll-behavior: smooth; scroll-padding-top: 84px; }
body { background: var(--page-bg); color: var(--page-ink); font-family: var(--body); font-size: 17px; line-height: 1.55; -webkit-font-smoothing: antialiased; }
img, svg { display: block; max-width: 100%; }
a { color: inherit; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
:focus-visible { outline: 3px solid var(--focus); outline-offset: 3px; border-radius: 6px; }
::selection { background: var(--accent); color: var(--on-accent); }
.wrap { max-width: var(--max); margin: 0 auto; padding: 0 var(--gutter); }
.skip { position: absolute; left: 16px; top: -60px; z-index: 100; background: var(--accent); color: var(--on-accent); padding: 10px 14px; border-radius: 8px; font-weight: 700; text-decoration: none; }
.skip:focus { top: 12px; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

.eyebrow { display: inline-flex; align-items: center; gap: 10px; font: 700 13px var(--body); letter-spacing: .08em; text-transform: uppercase; }
.eyebrow::before { content: ""; width: 9px; height: 9px; border-radius: 50%; background: var(--accent); }
.h2 { font-family: var(--display); font-weight: 600; font-size: clamp(38px, 5.4vw, 80px); line-height: 1; letter-spacing: -.03em; }
.h2 em { font-style: italic; font-weight: 500; color: var(--violet); }
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 50px; padding: 0 24px; border-radius: 999px; font: 700 16px var(--body); text-decoration: none; white-space: nowrap; transition: transform .35s var(--ease), background .3s, color .3s, box-shadow .35s var(--ease); }
.btn:hover { transform: translateY(-2px); }
.btn .arr { transition: transform .35s var(--ease); }
.btn:hover .arr { transform: translateX(4px); }
.btn-light { background: var(--btn-bg); color: var(--btn-ink); box-shadow: 0 6px 0 -1px var(--indigo); }
.btn-dark { background: var(--btn-dark-bg); color: var(--btn-dark-ink); box-shadow: 0 6px 0 -1px var(--indigo); }
.btn-line { border: 2px solid currentColor; }

.section { padding: 140px 0; }
.section-head { display: grid; grid-template-columns: 1.6fr 1fr; gap: 40px; align-items: end; margin-bottom: 64px; }
.section-head .eyebrow { margin-bottom: 20px; color: var(--page-soft); }
.section-head p { color: var(--page-soft); font-size: 18px; max-width: 440px; justify-self: end; }

/* reveal on scroll, only once JS has run */
.js .reveal { opacity: 0; transform: translateY(30px); transition: opacity .9s var(--ease), transform .9s var(--ease); transition-delay: var(--d, 0s); }
.js .reveal.in { opacity: 1; transform: none; }

/* ---------- Header ---------- */
.site-header { position: fixed; inset: 0 0 auto 0; z-index: 60; color: var(--hero-ink); transition: background .35s, box-shadow .35s; }
.site-header.scrolled { background: var(--hero-bg); box-shadow: 0 1px 0 var(--hero-line); }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; height: 76px; gap: 20px; }
.logo { display: inline-flex; align-items: center; gap: 10px; font: 600 20px var(--display); letter-spacing: -.01em; text-decoration: none; color: inherit; }
.logo svg { width: 34px; height: 34px; flex: none; }
.logo .la { stroke: var(--logo-a); } .logo .lb { stroke: var(--logo-b); }
.nav { display: flex; gap: 30px; font-size: 15px; }
.nav a { color: var(--hero-soft); text-decoration: none; transition: color .2s; }
.nav a:hover { color: var(--hero-ink); }
.head-cta { min-height: 44px; padding: 0 20px; font-size: 15px; box-shadow: none; }
.menu-btn { display: none; width: 46px; height: 46px; border-radius: 50%; background: var(--btn-bg); position: relative; }
.menu-btn span { position: absolute; left: 14px; right: 14px; height: 2px; border-radius: 2px; background: var(--btn-ink); transition: transform .4s var(--ease), top .4s var(--ease); }
.menu-btn span:first-child { top: 19px; } .menu-btn span:last-child { top: 26px; }
.menu-open .menu-btn span:first-child { top: 22px; transform: rotate(45deg); }
.menu-open .menu-btn span:last-child { top: 22px; transform: rotate(-45deg); }
.mobile-menu { display: none; }

/* ---------- Hero: a noisy market, one calm website ---------- */
.hero { position: relative; background: var(--hero-bg); color: var(--hero-ink); overflow: hidden; isolation: isolate; cursor: crosshair; }
.hero-inner { position: relative; z-index: 5; display: grid; grid-template-columns: 1fr 1.08fr; gap: 56px; align-items: center; min-height: 100vh; min-height: 100svh; max-width: var(--max); margin: 0 auto; padding: 110px var(--gutter) 56px; pointer-events: none; }
.hero-inner > * { min-width: 0; }
.hero .copy a, .hero .demo { pointer-events: auto; }
.hero .eyebrow { color: var(--hero-soft); margin-bottom: 22px; }
.hero h1 { font-family: var(--display); font-weight: 600; font-size: clamp(44px, 5.6vw, 92px); line-height: .98; letter-spacing: -.035em; }
.hero h1 em { font-style: italic; font-weight: 500; color: var(--accent); }
.hero .lede { margin-top: 24px; max-width: 480px; font-size: 19px; color: var(--hero-soft); }
.hero .row { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 22px; margin-top: 30px; }
.hint { display: inline-flex; align-items: center; gap: 9px; font-size: 14px; color: var(--hero-soft); }
.hint::before { content: ""; width: 9px; height: 9px; border-radius: 50%; background: var(--accent); animation: ping 1.8s infinite; }
@keyframes ping { 0% { box-shadow: 0 0 0 0 var(--accent); } 70%, 100% { box-shadow: 0 0 0 10px transparent; } }
.price-tag { display: block; margin-top: 28px; font-size: 14px; color: var(--hero-soft); }
.price-tag b { color: var(--hero-ink); }

.demo { display: flex; flex-direction: column; gap: 14px; width: min(100%, calc((100svh - 250px) * 1.5)); justify-self: center; }
.card { position: relative; border-radius: 18px; overflow: hidden; background: var(--white); box-shadow: 0 40px 80px -30px var(--shadow), 0 0 0 1px var(--hero-line); transform: rotate(1.2deg); transition: transform .6s var(--ease); cursor: default; }
.hero.shock .card { animation: focus 1s var(--ease); }
@keyframes focus { 30% { transform: rotate(0) scale(1.03); box-shadow: 0 60px 120px -30px var(--shadow), 0 0 0 4px var(--accent); } }
.chrome { height: 38px; display: flex; align-items: center; gap: 12px; padding: 0 14px; border-bottom: 1px solid var(--page-line); color: var(--page-soft); }
.chrome i { width: 9px; height: 9px; border-radius: 50%; background: var(--page-line); }
.chrome .url { flex: 1; text-align: center; font: 13px var(--body); }
.tag { font: 700 11px var(--body); letter-spacing: .08em; text-transform: uppercase; padding: 3px 9px; border-radius: 999px; background: var(--accent); color: var(--on-accent); }
.screen { position: relative; aspect-ratio: 16 / 10; container-type: inline-size; overflow: hidden; background: var(--white); }
.biz { position: absolute; inset: 0; visibility: hidden; }
.biz.on { visibility: visible; }
.tabs { display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; }
.tabs button { font: 700 14px var(--body); min-height: 38px; padding: 0 15px; border-radius: 999px; border: 2px solid var(--hero-line); color: var(--hero-ink); transition: background .25s, color .25s, border-color .25s; }
.tabs button:hover { border-color: var(--hero-ink); }
.tabs button[aria-pressed="true"] { background: var(--btn-bg); color: var(--btn-ink); border-color: var(--btn-bg); }

/* noise */
.noise { position: absolute; inset: 0; z-index: 1; transition: opacity .6s, filter .6s; }
.hero.quiet .noise { opacity: .3; filter: saturate(.3); }
.hero::after { content: ""; position: absolute; left: var(--sx, -99px); top: var(--sy, -99px); z-index: 3; width: 20px; height: 20px; margin: -10px 0 0 -10px; border-radius: 50%; border: 2px solid var(--accent); opacity: 0; pointer-events: none; }
.hero.shock::after { animation: wave .9s var(--ease); }
@keyframes wave { 0% { opacity: .95; transform: scale(1); } 100% { opacity: 0; transform: scale(90); border-width: .3px; } }
.n { position: absolute; left: 0; top: 0; will-change: transform; pointer-events: none; opacity: 0; transition: opacity .8s; }
.ready .n { opacity: 1; }
.c1 { --c: var(--accent); } .c2 { --c: var(--accent-2); } .c3 { --c: var(--accent-3); } .c4 { --c: var(--indigo); }
.n-pill, .n-btn { display: block; padding: 9px 16px; border-radius: 999px; background: var(--c); color: var(--on-accent); font: 700 15px var(--body); white-space: nowrap; }
.n-btn { border-radius: 6px; border: 2px solid var(--indigo); box-shadow: 4px 4px 0 var(--indigo); }
.c4.n-pill, .c4.n-btn { color: var(--white); }
.n-burst { display: grid; place-items: center; width: 92px; height: 92px; background: var(--c); color: var(--on-accent); font: 700 18px/1 var(--display); text-align: center;
  clip-path: polygon(50% 0, 61% 18%, 82% 10%, 80% 32%, 100% 40%, 85% 55%, 96% 76%, 74% 78%, 68% 100%, 50% 86%, 32% 100%, 26% 78%, 4% 76%, 15% 55%, 0 40%, 20% 32%, 18% 10%, 39% 18%); }
.n-pop { display: grid; width: 156px; padding: 12px 14px; background: var(--white); color: var(--indigo); border-radius: 10px; box-shadow: 0 12px 30px var(--shadow); font-size: 12px; position: relative; }
.n-pop b { font-size: 15px; } .n-pop em { font-style: normal; color: var(--page-soft); } .n-pop i { position: absolute; right: 10px; top: 6px; font-style: normal; color: var(--page-soft); }
.n-stars { display: block; font-size: 26px; color: var(--c); letter-spacing: 2px; }
.n-word { display: block; font: 700 clamp(48px, 6.4vw, 100px)/.9 var(--display); color: var(--c); letter-spacing: -.03em; }
.n-word.o { color: transparent; -webkit-text-stroke: 2px var(--c); }
.n-dot { display: block; width: 34px; height: 34px; border-radius: 50%; background: var(--c); }
.n-ring { display: block; width: 72px; height: 72px; border-radius: 50%; border: 10px solid var(--c); }
.n-tri { display: block; width: 62px; height: 54px; background: var(--c); clip-path: polygon(50% 0, 100% 100%, 0 100%); }
.n-half { display: block; width: 88px; height: 44px; background: var(--c); border-radius: 88px 88px 0 0; }
.n-blob { display: block; width: 104px; height: 86px; background: var(--c); border-radius: 58% 42% 63% 37% / 45% 55% 45% 55%; }
.n-plus { display: block; font: 700 60px/1 var(--display); color: var(--c); }
.n-squig, .n-cursor { display: block; }
.n-squig svg { width: 118px; height: 30px; fill: none; stroke: var(--c); stroke-width: 6; stroke-linecap: round; }
.n-chat, .n-count, .n-cookie, .n-notif { display: block; padding: 10px 14px; border-radius: 14px; background: var(--white); color: var(--indigo); font-size: 13px; white-space: nowrap; box-shadow: 0 10px 24px var(--shadow); }
.n-chat { border-bottom-left-radius: 2px; }
.n-count { font-family: ui-monospace, monospace; background: var(--indigo); color: var(--white); }
.n-cookie b { margin-left: 10px; padding: 4px 9px; border-radius: 999px; background: var(--violet); color: var(--white); font-size: 11px; }
.n-notif b { display: inline-grid; place-items: center; width: 20px; height: 20px; border-radius: 50%; background: var(--accent-3); margin-right: 6px; font-size: 11px; }
.n-cursor svg { width: 30px; height: 30px; fill: var(--white); stroke: var(--indigo); stroke-width: 1.5; }

/* ---------- Mini sites: the "before" and "after" homepages ---------- */
.old, .new { position: absolute; inset: 0; overflow: hidden; }
.biz .new { clip-path: inset(0 0 0 100%); transition: clip-path 1.05s cubic-bezier(.7, 0, .2, 1); }
.biz.calm .new { clip-path: inset(0 0 0 0); }
.old { background: var(--o-bg); color: var(--o-ink); font-family: "Times New Roman", Times, serif; padding: 3cqi 4cqi; }
.old-h { font: bold 4.4cqi "Comic Sans MS", "Times New Roman", serif; text-align: center; }
.old-n { display: flex; justify-content: center; gap: 2.4cqi; margin: 1.4cqi 0 2cqi; font-size: 2.1cqi; color: var(--old-link); text-decoration: underline; }
.old-m { background: var(--old-marquee); color: var(--old-red); font-size: 2cqi; text-align: center; padding: .7cqi; border: 1px dashed var(--old-red); }
.old-c { display: grid; grid-template-columns: 1fr 1.4fr; gap: 2.4cqi; margin-top: 2.4cqi; }
.old-img { background: var(--old-shade); border: 4px ridge var(--old-ridge); height: 24cqi; display: grid; place-items: center; font-size: 1.9cqi; }
.old p { font-size: 2.2cqi; line-height: 1.4; margin-bottom: 1.4cqi; }
.old-btn { display: inline-block; padding: .7cqi 1.6cqi; background: linear-gradient(var(--old-btn-a), var(--old-btn-b)); color: var(--white); border: 2px outset var(--old-btn-a); font-size: 2cqi; }

.new { background: var(--b-bg); color: var(--b-ink); padding: 3.6cqi 4.6cqi; font-family: system-ui, -apple-system, "Segoe UI", sans-serif; }
.new-n { display: flex; justify-content: space-between; align-items: center; font-size: 1.9cqi; }
.new-n b { font: 600 2.6cqi var(--b-font); letter-spacing: -.01em; }
.new-l { display: flex; gap: 3cqi; opacity: .7; }
.new-cta { background: var(--b-acc); color: var(--b-bg); padding: 1.1cqi 2.2cqi; border-radius: 999px; font-weight: 600; }
.new-h { font: 500 6.6cqi/1.02 var(--b-font); letter-spacing: -.035em; margin-top: 7cqi; max-width: 52cqi; }
.new-p { font-size: 2.2cqi; opacity: .75; max-width: 44cqi; margin-top: 2.4cqi; line-height: 1.5; }
.art { position: absolute; right: 4.6cqi; bottom: 4.6cqi; width: 34cqi; height: 34cqi; }
.art i { position: absolute; display: block; }
.art-cup i:nth-child(1) { inset: 22% 18% 4% 8%; border-radius: 0 0 46% 46%; background: var(--b-acc); }
.art-cup i:nth-child(2) { right: 2%; top: 34%; width: 24%; height: 34%; border: 2.6cqi solid var(--b-acc); border-left: 0; border-radius: 0 50% 50% 0; }
.art-cup i:nth-child(3) { left: 22%; top: 0; width: 40%; height: 14%; border-radius: 50%; background: var(--b-acc); opacity: .3; filter: blur(1cqi); }
.art-arch i:nth-child(1) { inset: 0 10% 0 10%; border-radius: 999px 999px 0 0; background: linear-gradient(180deg, var(--salon-soft), var(--b-acc)); }
.art-arch i:nth-child(2) { left: 30%; right: 30%; bottom: 0; height: 46%; border-radius: 999px 999px 0 0; background: var(--b-bg); }
.art-smile i:nth-child(1) { inset: 6%; border-radius: 50%; background: var(--b-acc); }
.art-smile i:nth-child(2) { left: 26%; right: 26%; top: 46%; height: 22%; border: 1.6cqi solid var(--b-bg); border-top: 0; border-radius: 0 0 999px 999px; }
.art-tiles { display: grid; grid-template-columns: 1fr 1fr; gap: 1.4cqi; }
.art-tiles i { position: static; border-radius: 1.4cqi; background: var(--trades-tile); } .art-tiles i:first-child { background: var(--b-acc); grid-row: span 2; }
.art-bars i { bottom: 0; width: 22%; background: var(--b-acc); border-radius: 1cqi 1cqi 0 0; }
.art-bars i:nth-child(1) { left: 0; height: 40%; opacity: .45; } .art-bars i:nth-child(2) { left: 39%; height: 66%; opacity: .7; } .art-bars i:nth-child(3) { right: 0; height: 100%; }
.art-forge i:nth-child(1) { inset: 0; border-radius: 50%; border: 2cqi solid var(--b-acc); }
.art-forge i:nth-child(2) { inset: 30%; border-radius: 50%; background: var(--b-acc); }

.b-cafe { --b-bg: var(--cafe-bg); --b-ink: var(--cafe-ink); --b-acc: var(--cafe-acc); --b-font: Georgia, serif; --o-bg: var(--old-cafe); --o-ink: var(--old-cafe-ink); }
.b-salon { --b-bg: var(--salon-bg); --b-ink: var(--salon-ink); --b-acc: var(--salon-acc); --b-font: Georgia, serif; --o-bg: var(--old-salon); --o-ink: var(--old-salon-ink); }
.b-dental { --b-bg: var(--dental-bg); --b-ink: var(--dental-ink); --b-acc: var(--dental-acc); --b-font: system-ui, sans-serif; --o-bg: var(--old-dental); --o-ink: var(--old-dental-ink); }
.b-trades { --b-bg: var(--trades-bg); --b-ink: var(--trades-ink); --b-acc: var(--trades-acc); --b-font: system-ui, sans-serif; --o-bg: var(--old-trades); --o-ink: var(--old-trades-ink); }
.b-acct { --b-bg: var(--acct-bg); --b-ink: var(--acct-ink); --b-acc: var(--acct-acc); --b-font: Georgia, serif; --o-bg: var(--old-acct); --o-ink: var(--old-acct-ink); }
.b-gym { --b-bg: var(--gym-bg); --b-ink: var(--gym-ink); --b-acc: var(--gym-acc); --b-font: system-ui, sans-serif; --o-bg: var(--old-gym); --o-ink: var(--old-gym-ink); }

/* ---------- Steps ---------- */
.steps-grid { display: grid; grid-template-columns: 1fr 1.3fr; gap: 64px; align-items: start; }
.steps-intro { position: sticky; top: 120px; }
.steps-intro p { color: var(--page-soft); font-size: 18px; max-width: 420px; margin-top: 26px; }
.steps-intro .btn { margin-top: 30px; }
.stack { list-style: none; display: grid; gap: 22px; }
.step { position: sticky; top: calc(110px + var(--i) * 24px); min-height: 330px; border-radius: 26px; padding: 40px; display: flex; flex-direction: column; color: var(--on-accent); background: var(--sc); box-shadow: 0 -10px 30px -18px var(--shadow); }
.step:nth-child(1) { --sc: var(--accent); } .step:nth-child(2) { --sc: var(--accent-2); } .step:nth-child(3) { --sc: var(--accent-3); }
.step-top { display: flex; justify-content: space-between; font: 700 13px var(--body); letter-spacing: .06em; text-transform: uppercase; }
.step h3 { font: 600 clamp(28px, 3vw, 40px)/1.05 var(--display); letter-spacing: -.03em; margin-top: 28px; }
.step p { margin-top: 14px; max-width: 480px; font-size: 17px; }
.step-num { margin-top: auto; padding-top: 32px; font: italic 500 110px/.8 var(--display); letter-spacing: -.05em; }

/* ---------- Who we help (marquee) ---------- */
.who { background: var(--dark-bg); color: var(--dark-ink); padding: 120px 0; overflow: hidden; }
.who .eyebrow { color: var(--dark-soft); }
.who h2 { margin-top: 20px; max-width: 900px; }
.who h2 em { color: var(--accent); }
.who p.sub { color: var(--dark-soft); margin-top: 22px; max-width: 560px; font-size: 18px; }
.marquee { margin-top: 64px; display: grid; gap: 16px; }
.track { display: flex; gap: 16px; width: max-content; animation: slide 46s linear infinite; }
.track.rev { animation-direction: reverse; animation-duration: 52s; }
.track span { display: inline-flex; align-items: center; gap: 14px; font: 500 clamp(26px, 3.4vw, 46px)/1 var(--display); letter-spacing: -.02em; padding: 16px 28px; border-radius: 999px; border: 2px solid var(--dark-line); white-space: nowrap; }
.track span:nth-child(4n+1) { background: var(--accent); color: var(--on-accent); border-color: var(--accent); }
.track span:nth-child(4n+3) { font-style: italic; }
.track span:nth-child(5n+2) { background: var(--accent-2); color: var(--on-accent); border-color: var(--accent-2); }
.track span:nth-child(7n+4) { background: var(--accent-3); color: var(--on-accent); border-color: var(--accent-3); }
@keyframes slide { to { transform: translateX(-50%); } }
.marquee:hover .track { animation-play-state: paused; }

/* ---------- Services ---------- */
.services { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.service { border-radius: 26px; padding: 36px; background: var(--alt-bg); border: 1px solid var(--page-line); transition: transform .5s var(--ease), box-shadow .5s var(--ease); }
.service:hover { transform: translateY(-6px); box-shadow: 0 30px 60px -30px var(--shadow); }
.service-icon { width: 58px; height: 58px; border-radius: 18px; display: grid; place-items: center; background: var(--violet); color: var(--white); margin-bottom: 56px; }
.service:nth-child(2) .service-icon { background: var(--accent-2); color: var(--on-accent); }
.service:nth-child(3) .service-icon { background: var(--accent-3); color: var(--on-accent); }
.service-icon svg { width: 26px; height: 26px; }
.service h3 { font: 600 32px var(--display); letter-spacing: -.03em; }
.service > p { color: var(--page-soft); margin-top: 10px; }
.service ul { list-style: none; margin-top: 24px; display: grid; gap: 10px; }
.service li { display: flex; gap: 10px; font-size: 15px; }
.service li::before { content: ""; flex: none; width: 8px; height: 8px; border-radius: 50%; background: var(--violet); margin-top: 8px; }

/* ---------- Concept work ---------- */
.work { background: var(--alt-bg); }
.concept-note { display: flex; gap: 12px; align-items: flex-start; border-radius: 16px; padding: 16px 18px; background: var(--white); border: 2px dashed var(--page-line); color: var(--page-soft); font-size: 15px; margin-bottom: 30px; max-width: 760px; }
.concept-note .tag { flex: none; margin-top: 2px; }
.concepts { display: grid; grid-template-columns: 1fr 1fr; gap: 26px; }
.concept { background: var(--white); border-radius: 26px; padding: 14px; border: 1px solid var(--page-line); }
.concept:nth-child(even) { margin-top: 80px; }
.concept .frame { position: relative; aspect-ratio: 16 / 11; border-radius: 16px; overflow: hidden; container-type: inline-size; }
.concept .frame .new { transition: transform 1.2s var(--ease); }
.concept:hover .frame .new { transform: scale(1.03); }
.concept .meta { padding: 22px 14px 12px; display: grid; grid-template-columns: 1fr auto; gap: 6px 16px; }
.concept .meta .kind { grid-column: 1 / -1; order: -1; font: 700 13px var(--body); letter-spacing: .06em; text-transform: uppercase; color: var(--page-soft); }
.concept h3 { font: 600 26px var(--display); letter-spacing: -.02em; }
.concept .tag { align-self: start; }
.concept p { grid-column: 1 / -1; color: var(--page-soft); font-size: 16px; max-width: 520px; }

/* ---------- Pricing ---------- */
.pricing { display: grid; grid-template-columns: 1fr 1.6fr 1fr; gap: 22px; align-items: stretch; }
.price-card { border-radius: 26px; padding: 36px; display: flex; flex-direction: column; border: 2px solid var(--page-line); }
.price-card.main { background: var(--violet); color: var(--white); border-color: var(--violet); }
.price-card.free { background: var(--accent); color: var(--on-accent); border-color: var(--accent); }
.price-card .step-label { font: 700 13px var(--body); letter-spacing: .06em; text-transform: uppercase; opacity: .8; margin-bottom: 36px; }
.price-card h3 { font: 600 24px var(--display); letter-spacing: -.02em; }
.amount { font: 600 clamp(44px, 4.4vw, 66px)/1 var(--display); letter-spacing: -.04em; margin-top: 12px; white-space: nowrap; }
.amount small { font-size: .42em; font-style: italic; font-weight: 500; opacity: .85; }
.price-card > p { margin-top: 14px; font-size: 16px; opacity: .9; }
.price-card ul { list-style: none; margin-top: 24px; display: grid; gap: 10px; }
.price-card li { display: flex; gap: 10px; font-size: 15px; }
.price-card li svg { width: 18px; height: 18px; flex: none; margin-top: 2px; color: var(--accent); }
.price-card .btn { margin-top: auto; align-self: flex-start; }
.price-card ul + .btn { margin-top: 32px; }
.price-card:not(.main) .btn { padding-top: 0; }
.price-foot { margin-top: 26px; color: var(--page-soft); font-size: 15px; max-width: 720px; }

/* ---------- FAQ ---------- */
.faq-sec { background: var(--alt-bg); }
.faq-grid { display: grid; grid-template-columns: 1fr 1.4fr; gap: 64px; align-items: start; }
.faq-intro { position: sticky; top: 120px; }
.faq-intro .eyebrow { color: var(--page-soft); }
.faq-intro h2 { margin-top: 20px; }
.faq-intro p { color: var(--page-soft); margin-top: 24px; max-width: 380px; }
.faq-intro a { color: var(--violet); font-weight: 700; }
.faq { display: grid; gap: 12px; }
.faq details { background: var(--white); border-radius: 20px; border: 1px solid var(--page-line); transition: box-shadow .3s; }
.faq details[open] { box-shadow: 0 20px 40px -26px var(--shadow); }
.faq summary { list-style: none; cursor: pointer; padding: 22px 24px; display: flex; justify-content: space-between; align-items: center; gap: 20px; font: 600 21px/1.25 var(--display); letter-spacing: -.01em; }
.faq summary::-webkit-details-marker { display: none; }
.plus { flex: none; width: 36px; height: 36px; border-radius: 50%; background: var(--alt-bg); position: relative; transition: transform .45s var(--ease), background .3s; }
.plus::before, .plus::after { content: ""; position: absolute; left: 50%; top: 50%; width: 13px; height: 2px; border-radius: 2px; background: var(--page-ink); transform: translate(-50%, -50%); }
.plus::after { transform: translate(-50%, -50%) rotate(90deg); }
.faq details[open] .plus { transform: rotate(45deg); background: var(--accent); }
.faq .a p { padding: 0 24px 24px; color: var(--page-soft); max-width: 680px; }

/* ---------- Contact ---------- */
.contact { position: relative; background: var(--hero-bg); color: var(--hero-ink); text-align: center; padding: 160px 0 150px; overflow: hidden; }
.contact .eyebrow { color: var(--hero-soft); justify-content: center; }
.contact h2 { margin: 24px auto 0; font: 600 clamp(48px, 8vw, 128px)/.95 var(--display); letter-spacing: -.04em; max-width: 1100px; }
.contact h2 em { font-style: italic; font-weight: 500; color: var(--accent); }
.contact p { color: var(--hero-soft); font-size: 19px; max-width: 520px; margin: 28px auto 0; }
.mail-btn { margin-top: 42px; min-height: 72px; padding: 0 34px; font-size: clamp(17px, 2vw, 22px); }
.contact small { display: block; margin-top: 20px; color: var(--hero-soft); font-size: 15px; }
.contact .blob { position: absolute; border-radius: 50%; pointer-events: none; }
.contact .b1 { width: 260px; height: 260px; background: var(--accent); left: -80px; top: 60px; }
.contact .b2 { width: 160px; height: 160px; border: 26px solid var(--accent-2); right: 6%; bottom: 60px; }
.contact .b3 { width: 70px; height: 70px; background: var(--accent-3); right: 18%; top: 90px; }
.js .contact .blob { transition: transform 1.4s var(--ease); transform: scale(.4) rotate(-30deg); }
.js .contact.in .blob { transform: none; }

/* ---------- Footer ---------- */
.site-footer { background: var(--dark-bg); color: var(--dark-ink); padding-top: 72px; overflow: hidden; }
.foot-top { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 40px; }
.foot-top p { color: var(--dark-soft); max-width: 360px; margin-top: 18px; font-size: 16px; }
.foot-h { font: 700 13px var(--body); letter-spacing: .06em; text-transform: uppercase; color: var(--dark-soft); margin-bottom: 12px; }
.foot-col a { display: block; width: fit-content; padding: 4px 0; color: var(--dark-ink); text-decoration: none; }
.foot-col a:hover { color: var(--accent); }
.giant { font: italic 600 20vw/.8 var(--display); letter-spacing: -.05em; color: var(--dark-display); margin: 64px 0 -2vw -.04em; white-space: nowrap; user-select: none; }
.legal { border-top: 1px solid var(--dark-line); padding: 22px 0 28px; display: flex; justify-content: space-between; gap: 24px; font-size: 14px; color: var(--dark-soft); position: relative; background: var(--dark-bg); }
.legal p { max-width: 820px; }
.legal a { color: var(--dark-ink); }

/* ---------- Plain pages (privacy, 404) ---------- */
.page-hero { background: var(--hero-bg); color: var(--hero-ink); padding: 150px 0 80px; }
.page-hero .eyebrow { color: var(--hero-soft); }
.page-hero h1 { font: 600 clamp(48px, 7vw, 104px)/.95 var(--display); letter-spacing: -.04em; margin-top: 22px; }
.page-hero h1 em { font-style: italic; font-weight: 500; color: var(--accent); }
.page-hero .updated { margin-top: 20px; color: var(--hero-soft); font-size: 15px; }
.prose { max-width: 740px; padding: 72px 0 120px; }
.prose h2 { font: 600 30px var(--display); letter-spacing: -.02em; margin: 52px 0 14px; }
.prose h2:first-child { margin-top: 0; }
.prose p, .prose li { color: var(--page-soft); font-size: 17px; line-height: 1.65; }
.prose p + p { margin-top: 14px; }
.prose ul { margin: 14px 0 0 20px; display: grid; gap: 8px; }
.prose a { color: var(--violet); font-weight: 700; text-underline-offset: 3px; }
.prose strong { color: var(--page-ink); }
.prose table { width: 100%; border-collapse: collapse; margin-top: 18px; font-size: 15px; }
.prose th, .prose td { text-align: left; vertical-align: top; padding: 12px 12px 12px 0; border-bottom: 1px solid var(--page-line); color: var(--page-soft); }
.prose th { color: var(--page-ink); }
.notfound { background: var(--hero-bg); color: var(--hero-ink); min-height: 86vh; display: grid; place-items: center; text-align: center; padding: 140px 0 80px; }
.notfound .num { font: italic 600 clamp(140px, 28vw, 340px)/.8 var(--display); letter-spacing: -.06em; color: var(--accent); }
.notfound h1 { font: 600 36px var(--display); margin-top: 26px; }
.notfound p { color: var(--hero-soft); margin: 12px 0 30px; }

/* ---------- Responsive ---------- */
@media (max-width: 1080px) {
  .steps-grid, .faq-grid { grid-template-columns: 1fr; gap: 40px; }
  .steps-intro, .faq-intro { position: static; }
  .services, .pricing { grid-template-columns: 1fr; }
  .service-icon { margin-bottom: 32px; }
}
/* Laptop screens (including 1920px screens at 125 to 150% Windows scaling):
   smaller type and noise so the whole hero, and the noise around it, fits the first screen */
@media (min-width: 901px) and (max-width: 1599px), (min-width: 901px) and (max-height: 860px) {
  .hero-inner { gap: 40px; padding: 92px var(--gutter) 36px; }
  .hero .eyebrow { margin-bottom: 14px; }
  .hero h1 { font-size: clamp(38px, min(4.9vw, 9.4vh), 92px); }
  .hero .lede { margin-top: 16px; font-size: 17px; }
  .hero .row { margin-top: 20px; }
  .price-tag { margin-top: 14px; }
  .demo { width: min(90%, calc((100svh - 240px) * 1.4)); gap: 10px; }
  .tabs button { min-height: 34px; padding: 0 12px; font-size: 13px; }
  .n-word { font-size: clamp(34px, 4.2vw, 64px); }
  .n-burst { width: 70px; height: 70px; font-size: 14px; }
  .n-ring { width: 52px; height: 52px; border-width: 8px; }
  .n-blob { width: 78px; height: 64px; }
  .n-tri { width: 46px; height: 40px; }
  .n-half { width: 66px; height: 33px; }
  .n-dot { width: 26px; height: 26px; }
  .n-plus { font-size: 44px; }
  .n-stars { font-size: 20px; }
  .n-pop { width: 132px; padding: 10px 12px; }
  .n-pill, .n-btn { padding: 7px 13px; font-size: 13px; }
  .n-chat, .n-count, .n-cookie, .n-notif { padding: 8px 12px; font-size: 12px; }
  .n-squig svg { width: 90px; height: 24px; }
}

@media (max-width: 900px) {
  :root { --gutter: 16px; }
  .nav, .head-cta { display: none; }
  .menu-btn { display: block; }
  .site-header .wrap { height: 68px; }
  .logo { font-size: 19px; } .logo svg { width: 30px; height: 30px; }
  .mobile-menu { display: block; position: fixed; inset: 0; z-index: 55; background: var(--hero-bg); color: var(--hero-ink); padding: 100px 16px 40px; opacity: 0; visibility: hidden; transition: opacity .35s, visibility .35s; }
  .menu-open .mobile-menu { opacity: 1; visibility: visible; }
  .mobile-menu nav a { display: block; font: 600 38px/1.2 var(--display); letter-spacing: -.03em; text-decoration: none; padding: 8px 0; border-bottom: 1px solid var(--hero-line); }
  .mobile-menu .btn { margin-top: 30px; }
  .menu-open { overflow: hidden; }

  /* phones: bands above the copy, between copy and demo, and below the demo hold the noise */
  .hero-inner { grid-template-columns: 1fr; gap: 0; align-items: start; min-height: 0; padding: 150px var(--gutter) 140px; }
  .hero .eyebrow { margin-bottom: 14px; font-size: 12px; }
  .hero h1 { font-size: clamp(32px, 9.4vw, 46px); line-height: 1; }
  .hero .lede { font-size: 16px; margin-top: 14px; }
  .hero .row { margin-top: 18px; gap: 10px 16px; }
  .hero .btn { min-height: 48px; padding: 0 20px; font-size: 15px; }
  .price-tag { display: none; }
  .demo { width: 100%; margin-top: 128px; gap: 12px; }
  .tabs { order: -1; flex-wrap: nowrap; justify-content: flex-start; overflow-x: auto; margin: 0 calc(var(--gutter) * -1); padding: 2px var(--gutter); scrollbar-width: none; }
  .tabs::-webkit-scrollbar { display: none; }
  .tabs button { flex: none; min-height: 36px; font-size: 13px; padding: 0 13px; }
  .card { transform: none; }
  .screen { aspect-ratio: 4 / 3; }
  .new-l { display: none; } .art { width: 28cqi; height: 28cqi; }
  .new-h { font-size: 9cqi; max-width: 62cqi; margin-top: 8cqi; } .new-p { font-size: 3.4cqi; max-width: 60cqi; }
  .new-n { font-size: 3cqi; } .new-n b { font-size: 4cqi; }
  .old-h { font-size: 6cqi; } .old p, .old-m, .old-btn, .old-n { font-size: 3.3cqi; } .old-c { grid-template-columns: 1fr; } .old-img { height: 14cqi; }
  .n-word { font-size: 46px; } .n-burst { width: 72px; height: 72px; font-size: 14px; }

  .section { padding: 96px 0; }
  .section-head { grid-template-columns: 1fr; gap: 18px; margin-bottom: 40px; }
  .section-head p { justify-self: start; }
  .step { padding: 28px; min-height: 290px; top: calc(86px + var(--i) * 16px); }
  .step-num { font-size: 80px; }
  .who { padding: 96px 0; }
  .concepts { grid-template-columns: 1fr; }
  .concept:nth-child(even) { margin-top: 0; }
  .price-card { padding: 28px; }
  .amount { white-space: normal; font-size: 48px; }
  .faq summary { font-size: 18px; padding: 18px 20px; }
  .faq .a p { padding: 0 20px 20px; }
  .contact { padding: 110px 0 100px; }
  .mail-btn { min-height: 60px; padding: 0 22px; font-size: 16px; }
  .foot-top { grid-template-columns: 1fr 1fr; }
  .foot-top > div:first-child { grid-column: 1 / -1; }
  .legal { flex-direction: column; }
  .page-hero { padding: 120px 0 56px; }
}
@media (max-width: 380px) { .hero h1 { font-size: 31px; } .hero .lede { font-size: 15px; } }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .js .reveal { opacity: 1; transform: none; }
  .js .contact .blob { transform: none; }
  .track { flex-wrap: wrap; width: auto; }
}
