/* ==========================================================================
   Calm premium restyle, after uberdesigner "haelith-landing": the site's own Inter, set light, large and tight for
   display and filled white to grey, small spaced capitals for labels, frosted glass surfaces, more air between
   sections, and Z's grain look (a grainy dusk-coloured glow at the top, grain.js) on the hero and closing call. Copy,
   sections, layout and the brand blue stay. Loaded last; delete this file's <link> (and grain.js) to go back.
   ========================================================================== */
:root {
  --f-body: 'Inter', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --f-display: 'Inter', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --f-mono: 'Inter', system-ui, -apple-system, 'Segoe UI', sans-serif; /* labels: Inter in small spaced capitals */

  --page: #050608;
  --text-on-page: #eef0f5;
  --text-bright: #f4f5f8;
  --text-soft: #d6d9e1;
  --text-lead: #a9adb8;
  --text-sub: #7f8493;
  --text-faint: #6b7080;
  --body-dim: var(--text-lead);
  --label-accent: #8fa8ff; /* the brand blue, lifted for small labels on black */

  --title-gradient: linear-gradient(180deg, #ffffff 30%, #9da2ae);
  --number-fill: linear-gradient(180deg, #ffffff, #b9bdc8);
  --display-1: clamp(44px, 6.4vw, 88px);
  --display-2: clamp(34px, 4.4vw, 60px);
  --display-3: clamp(21px, 1.9vw, 26px);
  --lead-size: clamp(17px, 1.4vw, 20px);

  --glass: linear-gradient(160deg, rgb(255 255 255 / 0.1), rgb(255 255 255 / 0.025) 45%, rgb(255 255 255 / 0.05));
  --glass-strong: linear-gradient(160deg, rgb(255 255 255 / 0.13), rgb(255 255 255 / 0.035) 45%, rgb(255 255 255 / 0.06));
  --glass-blur: blur(22px) saturate(1.2);
  --glass-edge: inset 0 1px 0 rgb(255 255 255 / 0.22), inset 0 0 0 1px rgb(255 255 255 / 0.09);
  --glass-radius: 30px;
  --glass-radius-sm: 20px;
  --hairline: rgb(255 255 255 / 0.08);
  --r-card: var(--glass-radius);
  --btn-radius: 14px;
  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
  --section-gap: 80px; /* top and bottom of every section: 160 px between two */

  /* liquid glass (the nav and every page's header): a clear tint, the page behind blurred and saturated, a bright
     top edge, a light rim that catches the light at two corners */
  --liquid: linear-gradient(180deg, rgb(255 255 255 / 0.13), rgb(255 255 255 / 0.04) 55%, rgb(255 255 255 / 0.08));
  --liquid-filter: blur(20px) saturate(1.8) brightness(1.06);
  --liquid-shadow:
    inset 0 1px 0 rgb(255 255 255 / 0.4),
    inset 0 -1px 0 rgb(255 255 255 / 0.1),
    inset 0 0 0 1px rgb(255 255 255 / 0.1),
    inset 0 12px 24px -16px rgb(255 255 255 / 0.22),
    0 18px 40px -18px rgb(0 0 0 / 0.55);
  --liquid-rim: linear-gradient(135deg, rgb(255 255 255 / 0.5), rgb(255 255 255 / 0.06) 32%, rgb(255 255 255 / 0.03) 68%, rgb(255 255 255 / 0.32));
}

/* ---------- page and type ---------- */
html, body, :root { background: var(--page); }
body { font-family: var(--f-body); font-weight: 400; font-optical-sizing: auto; color: var(--text-on-page); -webkit-font-smoothing: antialiased; }
strong, b { font-weight: 500; }

.section, .process, .work, .about, .faq, .cta, .proof, .section.work--strip { background: transparent; border-top: 0; }
.section { padding-block: var(--section-gap); }

.hero__title,
.section .section__title,
.cta__title,
.volume .section__title,
.founder h2 {
  font-family: var(--f-display);
  font-weight: 300;
  line-height: 1.02;
  letter-spacing: -0.04em;
  background: var(--title-gradient);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  text-wrap: balance;
}
.section .section__title, .volume .section__title { font-size: var(--display-2); }
.hero__title, .cta__title { font-size: var(--display-1); }
/* the serif accent keeps its own colour over the gradient */
.hero__title em, .section__title em, .cta__title em { font-weight: 400; letter-spacing: -0.02em; color: #b5c6ff; -webkit-text-fill-color: #b5c6ff; }

.eyebrow, .cta .eyebrow {
  font-family: var(--f-mono);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--label-accent);
}

.hero__sub, .cta__sub, .step__desc, .why__desc, .offers .offer__pitch, .tier__tagline, .volume-type > p, .faq__body p {
  color: var(--text-lead);
  font-weight: 400;
}

/* the rise-in: slower, softer */
.reveal { transform: translateY(24px); transition: opacity 0.9s var(--ease-out), transform 0.9s var(--ease-out); }
.reveal.is-in { transform: none; }

/* ---------- frosted glass ---------- */
.nav,
.intake .intake__bar,
.intake--compact .intake__bar,
.sticky-intake .intake__bar,
#proof .stats__grid,
.offers .offer,
.pricing .tier,
.volume-type,
.process .step,
.why .why__card,
.founder__inner,
#work .bento > * {
  background: var(--glass);
  backdrop-filter: var(--glass-blur);
  box-shadow: var(--glass-edge);
  border: 0;
}

/* ---------- buttons: the brand blue, softer corners; secondary ones are quiet glass ---------- */
.btn, .nav .btn, .offers .offer__foot .btn, .pricing .tier .btn { border-radius: var(--btn-radius); font-family: var(--f-body); font-weight: 500; letter-spacing: -0.005em; }
.btn--accent { background: var(--accent); border-color: var(--accent); color: #fff; }
.btn--accent:hover { background: #3a6bff; border-color: #3a6bff; transform: none; }
.btn--ghost {
  background: var(--glass);
  backdrop-filter: var(--glass-blur);
  box-shadow: var(--glass-edge);
  border: 0;
  color: var(--text-soft);
}
.btn--ghost:hover { background: var(--glass-strong); color: #fff; border-image: none; }
.btn:focus-visible { outline: 2px solid var(--label-accent); outline-offset: 4px; }
/* the circling blue light round the link bars and the offer and plan buttons stays, as before the restyle
   (brand.css: mucinly-border-orbit); those buttons keep their navy fill under it */
.pricing .tier .btn--ghost { border: 1px solid #2b427e; box-shadow: none; backdrop-filter: none; color: #fff; }

/* ---------- nav: a floating glass bar ---------- */
/* liquid glass */
.nav, .nav.is-scrolled {
  background: var(--liquid);
  backdrop-filter: var(--liquid-filter);
  border-radius: 20px;
  box-shadow: var(--liquid-shadow);
}
.nav::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  padding: 1px;
  pointer-events: none;
  background: var(--liquid-rim);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  mask-composite: exclude;
}
/* the links sit straight on the glass: no box of their own behind them */
.nav .nav__pill { background: transparent; backdrop-filter: none; -webkit-backdrop-filter: none; border: 0; box-shadow: none; }
/* a soft shadow under the type keeps it readable when bright footage scrolls under the glass */
.nav .nav__pill a, .nav .lang__btn {
  color: #e4e7ee;
  text-shadow: 0 1px 2px rgb(0 0 0 / 0.45), 0 0 14px rgb(0 0 0 / 0.35);
}
.nav .nav__pill a { font-weight: 400; }
.nav .nav__pill a:hover { color: #fff; background: rgb(255 255 255 / 0.1); }
.nav .lang__btn[aria-current="page"] { text-shadow: none; }
.nav .lang__btn + .lang__btn { border-left: 0; }
.lang { background: rgb(255 255 255 / 0.04); box-shadow: inset 0 0 0 1px var(--hairline); }
.lang__btn { font-family: var(--f-mono); font-weight: 500; letter-spacing: 0.06em; }

/* ---------- hero ---------- */
.hero { position: relative; padding: 176px 24px 72px; }
.hero::before { display: none; } /* the dusk field below replaces the old blue haze */
.hero__inner { gap: 26px; }
.hero__title { max-width: 16ch; }
.hero__sub { max-width: 620px; font-size: var(--lead-size); line-height: 1.5; }
.intake--hero { margin-top: 18px; }
.intake--hero .intake__bar { border-radius: 24px; padding: 10px; min-height: 80px; }
.intake--hero .intake__bar:focus-within { box-shadow: var(--glass-edge), 0 0 0 3px rgb(41 91 255 / 0.22); }
.intake--hero .intake__input { font-family: var(--f-body); font-weight: 400; font-size: 18px; }
.intake--hero .intake__submit { border-radius: var(--btn-radius); min-height: 56px; padding: 0 24px; font-size: 15px; font-weight: 500; }
.intake-support { color: var(--text-faint); font-size: 14px; }

/* the grain look (grain.js): one glow in the AICOS dusk colours, pinned to the top of the hero and of the closing
   call and fading down and out to the sides (shaped like usefastlane.ai's top glow), with 11% film grain inside it
   that fades with it. Nothing moves. */
.grain-field {
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  height: var(--glow-h, min(760px, 88vh));
  z-index: 0;
  pointer-events: none;
  background: radial-gradient(75% 100% at 50% 0%, #3a4fb0 0%, #1d3290 28%, #112166 52%, #0d1438 76%, rgb(13 20 56 / 0) 100%);
  -webkit-mask-image: radial-gradient(60% 125% at 50% 0, #000 14%, rgb(0 0 0 / 0.4) 46%, transparent 72%);
  mask-image: radial-gradient(60% 125% at 50% 0, #000 14%, rgb(0 0 0 / 0.4) 46%, transparent 72%);
}
.grain-field::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image: var(--grain-tile, none);
  background-size: var(--grain-size, 128px 128px);
}
.hero > .wrap, .cta > .wrap { position: relative; z-index: 1; }
.cta { position: relative; overflow: hidden; }
/* the closing call starts mid-page, so its glow also fades in over its first 160 px: no line at the section edge */
.cta .grain-field {
  --glow-h: min(620px, 80vh);
  -webkit-mask-image: radial-gradient(60% 125% at 50% 0, #000 14%, rgb(0 0 0 / 0.4) 46%, transparent 72%), linear-gradient(180deg, transparent 0, #000 160px);
  -webkit-mask-composite: source-in;
  mask-image: radial-gradient(60% 125% at 50% 0, #000 14%, rgb(0 0 0 / 0.4) 46%, transparent 72%), linear-gradient(180deg, transparent 0, #000 160px);
  mask-composite: intersect;
}
@media (max-width: 720px) {
  /* phones: a taller, narrower window, so the glow reaches a little wider and less far down */
  .grain-field {
    --glow-h: min(560px, 70vh);
    -webkit-mask-image: radial-gradient(85% 125% at 50% 0, #000 14%, rgb(0 0 0 / 0.4) 46%, transparent 72%);
    mask-image: radial-gradient(85% 125% at 50% 0, #000 14%, rgb(0 0 0 / 0.4) 46%, transparent 72%);
  }
  .cta .grain-field {
    -webkit-mask-image: radial-gradient(85% 125% at 50% 0, #000 14%, rgb(0 0 0 / 0.4) 46%, transparent 72%), linear-gradient(180deg, transparent 0, #000 120px);
    mask-image: radial-gradient(85% 125% at 50% 0, #000 14%, rgb(0 0 0 / 0.4) 46%, transparent 72%), linear-gradient(180deg, transparent 0, #000 120px);
  }
}

/* ---------- sample work ---------- */
.section.work--strip { padding: 64px 0 var(--section-gap); }
.work--strip .section__title { font-size: var(--display-2); }
#work .bento > * { border-radius: var(--glass-radius-sm); overflow: hidden; }
.work--strip .case--sample:nth-child(n) { background: var(--glass); }
.work--strip .case__title { font-weight: 400; letter-spacing: -0.015em; color: var(--text-bright); }
.case--sample .case__client { color: var(--text-sub); }
.work-carousel-controls button {
  border: 0;
  background: var(--glass);
  backdrop-filter: var(--glass-blur);
  box-shadow: var(--glass-edge);
  color: var(--text-soft);
  font-family: var(--f-body);
}
.work-carousel-controls button:hover { background: var(--glass-strong); color: #fff; }
.work__note { color: var(--text-faint); }

/* ---------- what you can expect: one glass strip of thin numbers ---------- */
#proof .stats__grid { border-radius: var(--glass-radius); overflow: hidden; gap: 0; }
#proof .stat { padding: 36px 32px; border: 0; }
#proof .stat + .stat { border-left: 1px solid var(--hairline); }
#proof .stat__num {
  font-family: var(--f-display);
  font-weight: 200;
  font-size: clamp(28px, 3vw, 44px);
  line-height: 1.05;
  letter-spacing: -0.04em;
  background: var(--number-fill);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
#proof .stat__label { margin-top: 12px; font-size: 14px; color: var(--text-sub); }

/* ---------- offers and plans ---------- */
.offers .offer, .pricing .tier { border-radius: var(--glass-radius); }
.offers .offer:first-child { box-shadow: var(--glass-edge), inset 0 0 0 1px rgb(78 125 253 / 0.25); }
.offer__title, .tier__name { font-family: var(--f-display); font-weight: 400; letter-spacing: -0.02em; color: var(--text-bright); }
.offers .offer__amt, .tier__amt {
  font-family: var(--f-display);
  font-weight: 200;
  letter-spacing: -0.05em;
  line-height: 1;
  background: var(--number-fill);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.tier__amt, .pricing .tier__amt { font-size: 56px; font-weight: 200; }
.pricing .tier__amt--custom { font-size: clamp(32px, 3vw, 40px); letter-spacing: -0.04em; }
.offers .offer__note, .tier__per, .pricing .tier__volume { color: var(--text-sub); font-weight: 400; }
.offer__media { border-radius: 16px; }
.offer__details summary, .tier__details summary, .volume-details > summary { font-weight: 400; color: var(--text-soft); }
.offer__list li, .tier__features li { color: var(--text-lead); }

.pricing .tier { padding: 32px; }
.pricing .tier--feature {
  background: radial-gradient(120% 60% at 50% 0%, rgb(41 91 255 / 0.2), transparent 70%), var(--glass-strong);
  box-shadow: inset 0 1px 0 rgb(255 255 255 / 0.3), inset 0 0 0 1px rgb(78 125 253 / 0.3), 0 40px 90px -40px rgb(0 0 0 / 0.9);
}
.pricing .tier--feature .tier__flag {
  position: absolute;
  top: 30px;
  right: 30px;
  left: auto;
  margin: 0;
  display: inline-flex;
  align-items: center;
  height: 28px;
  padding: 0 12px;
  border-radius: 999px;
  background: linear-gradient(180deg, #5b86ff, #295bff);
  box-shadow: 0 8px 24px -10px rgb(41 91 255 / 0.6), inset 0 1px 0 rgb(255 255 255 / 0.35);
  color: #fff;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0;
  text-transform: none;
}
.volume-type { border-radius: var(--glass-radius-sm); }
.volume-type h3 { font-weight: 400; letter-spacing: -0.015em; }

/* ---------- how it works and why: glass tiles ---------- */
.process .steps, .why .why__grid { gap: 24px; }
.process .step, .why .why__card { border-radius: var(--glass-radius-sm); padding: 28px; }
.process .step__num {
  font-family: var(--f-mono);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.14em;
  color: var(--label-accent);
  margin-bottom: 20px;
}
.process .step__title, .why .why__title { font-family: var(--f-display); font-size: var(--display-3); font-weight: 400; letter-spacing: -0.02em; line-height: 1.2; color: var(--text-bright); }
.process .step__desc, .why .why__desc { margin-top: 8px; font-size: 16px; }

/* ---------- questions ---------- */
.faq__item { border-color: var(--hairline); }
/* the FAQ title sits in a narrow column beside the questions: smaller, so its phrases fit whole */
.faq .section__title { font-size: clamp(32px, 3.2vw, 46px); }
.faq__item summary { font-family: var(--f-display); font-size: 19px; font-weight: 400; letter-spacing: -0.01em; color: var(--text-bright); }

/* ---------- founder: one glass panel ---------- */
.founder { padding-block: var(--section-gap); }
/* the glass sits on the content column, not on the wrapper's gutters, so it lines up with the sections above */
.founder .founder__inner {
  width: min(calc(100% - 2 * var(--gutter)), calc(var(--maxw) - 2 * var(--gutter)));
  border-radius: var(--glass-radius);
  padding: 40px;
}
.founder h2 { font-size: clamp(26px, 2.6vw, 36px); }
/* room for the whole name on one line beside the monogram */
@media (min-width: 641px) { .founder .founder__inner { grid-template-columns: minmax(300px, 340px) 1fr; } }
.founder__monogram { background: rgb(255 255 255 / 0.06); box-shadow: inset 0 0 0 1px rgb(255 255 255 / 0.1); color: var(--text-soft); font-family: var(--f-mono); font-size: 16px; font-weight: 500; }
.founder__identity p, .founder__inner > p, .founder__inner > div > p { color: var(--text-lead); }

/* ---------- closing call ---------- */
.cta { padding-block: 120px 160px; }
.cta__sub { font-size: var(--lead-size); }
.intake--compact .intake__bar { border-radius: 22px; padding: 8px; }
.intake--compact .intake__bar:focus-within { box-shadow: var(--glass-edge), 0 0 0 3px rgb(41 91 255 / 0.22); }
.intake--compact .intake__submit { border-radius: var(--btn-radius); }

/* ---------- floating link bar ---------- */
.sticky-intake .intake__bar { border-radius: 20px; background-color: rgb(10 12 18 / 0.72); box-shadow: var(--glass-edge), 0 16px 48px rgb(0 0 0 / 0.6); } /* a dark base under the glass keeps the field readable over bright videos */
.sticky-intake .intake__submit { border-radius: var(--btn-radius); }
/* phones: the link field gets the room and the button shrinks to its arrow, a rounded blue square. Its words stay in
   the button (font-size 0), so screen readers still read "Choose video or ad". 16 px text keeps iOS from zooming in. */
@media (max-width: 640px) {
  .sticky-intake { width: calc(100% - 20px); bottom: max(10px, env(safe-area-inset-bottom)); }
  .sticky-intake .intake__bar { min-height: 0; padding: 5px; gap: 6px; border-radius: 18px; }
  .sticky-intake .intake__input { min-height: 44px; padding: 10px 6px 10px 14px; font-size: 16px; }
  .sticky-intake .intake__submit {
    flex: 0 0 44px; width: 44px; min-width: 44px; height: 44px; min-height: 44px;
    padding: 0; gap: 0; font-size: 0; line-height: 1; border-radius: 13px;
  }
  .sticky-intake .intake__submit .btn__arrow { font-size: 20px; margin: 0; }
}

/* ---------- footer ---------- */
.footer { border-top: 1px solid var(--hairline); }
.footer__tagline { font-family: var(--f-display); font-weight: 300; letter-spacing: -0.025em; color: var(--text-bright); }
.footer__h { font-family: var(--f-mono); font-size: 12px; font-weight: 500; letter-spacing: 0.14em; color: var(--text-faint); }
.footer__col a { color: #9da2ae; }
.footer__col a:hover { color: #fff; }
.footer .footer__social-link { color: #9da2ae; border-color: rgb(255 255 255 / 0.18); }
.footer .footer__social-link:hover,
.footer .footer__social-link:focus-visible { color: #fff; border-color: rgb(255 255 255 / 0.72); }
.footer__bottom { border-top-color: var(--hairline); color: var(--text-faint); }

/* ---------- phones ---------- */
@media (max-width: 720px) {
  :root { --section-gap: 48px; }
  .hero { padding: 128px 20px 48px; }
  /* small enough that each phrase of the headline fits one line, in every language */
  .hero__title { font-size: clamp(34px, 9.6vw, 44px); }
  .founder .founder__inner { padding: 28px 24px; }
  .cta { padding-block: 72px 112px; }
}
@media (max-width: 640px) {
  #proof .stats__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  #proof .stat { padding: 26px 16px; }
  #proof .stat__label { font-size: 13px; }
  #proof .stat + .stat { border-left: 0; }
  #proof .stat:nth-child(even) { border-left: 1px solid var(--hairline); }
  #proof .stat:nth-child(n + 3) { border-top: 1px solid var(--hairline); }
  .intake--hero .intake__bar { border-radius: 22px; }
  .intake--hero .intake__submit { min-height: 50px; }
  .pricing .tier { padding: 28px 22px; }
}
@media (prefers-reduced-motion: reduce) {
  .reveal { transform: none; transition: none; }
}

/* ---------- line breaks: whole phrases, no lone last words ---------- */
/* the headline's second sentence starts its own line, then each part wraps evenly */
.hero__title em { display: block; }
.hero__title, .section__title, .cta__title, .founder h2,
h3, .offer__title, .tier__name, .step__title, .why__title, .case__title,
.stat__num, .faq__item summary, .footer__tagline { text-wrap: balance; }
p, li, dd, blockquote, .stat__label, .case__client, .tier__tagline, .offer__pitch,
.step__desc, .why__desc, .faq__body, .intake-support { text-wrap: pretty; }
