/* AI Email Department. Dark-locked to match the ad kit (Everett, aurora, agent colours).
   Radius system: buttons pill, panels 18px, images inside panels 12px. One accent: --royal. */

@font-face { font-family: "Everett"; src: url("/assets/fonts/Everett-Light.woff2") format("woff2"); font-weight: 300; font-display: swap; }
@font-face { font-family: "Everett"; src: url("/assets/fonts/Everett-Regular.woff2") format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Everett"; src: url("/assets/fonts/Everett-Medium.woff2") format("woff2"); font-weight: 500; font-display: swap; }

:root {
  --bg: #07080c;
  --bg-2: #0d0f16;
  --panel: #12141d;
  --line: rgba(239, 239, 246, .10);
  --text: #efeff6;
  --dim: rgba(239, 239, 246, .66);
  --faint: rgba(239, 239, 246, .46);
  --royal: #2b3fe8;
  --royal-hi: #4152f0;
  --sky: #2e9bff;
  --cyan: #3bc7e8;
  --r-panel: 18px;
  --r-img: 12px;
  --ease: cubic-bezier(.16, 1, .3, 1);
  --wrap: 1200px;
  color-scheme: dark;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  background: var(--bg);
  color: var(--text);
  font: 400 17px/1.6 "Everett", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
h1, h2, h3 { font-weight: 300; letter-spacing: -.02em; line-height: 1.08; text-wrap: balance; }
h3 { font-weight: 500; letter-spacing: -.005em; line-height: 1.25; }
p { text-wrap: pretty; }

.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 24px; }
.skip { position: absolute; left: -9999px; top: 8px; background: var(--text); color: var(--bg); padding: 8px 14px; border-radius: 999px; z-index: 100; }
.skip:focus { left: 16px; }
:focus-visible { outline: 2px solid var(--sky); outline-offset: 3px; border-radius: 6px; }

/* Buttons: one intent ("Apply") in solid royal; ghost for in-page navigation */
.btn {
  display: inline-flex; align-items: center; justify-content: center; white-space: nowrap;
  min-height: 52px; padding: 0 28px; border-radius: 999px;
  background: var(--royal); color: #fff; font-weight: 500; font-size: 17px; text-decoration: none;
  transition: background .25s var(--ease), transform .25s var(--ease);
}
.btn:hover { background: var(--royal-hi); }
.btn:active { transform: translateY(1px) scale(.98); }
.btn-ghost { background: transparent; color: var(--text); box-shadow: inset 0 0 0 1px rgba(239, 239, 246, .28); }
.btn-ghost:hover { background: rgba(239, 239, 246, .07); }
.btn-sm { min-height: 40px; padding: 0 20px; font-size: 15px; }
.btn-lg { min-height: 60px; padding: 0 40px; font-size: 19px; }

/* Nav */
.nav {
  position: sticky; top: 0; z-index: 20;
  background: rgba(7, 8, 12, .78); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
}
.nav-row { display: flex; align-items: center; gap: 32px; height: 68px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; font-weight: 500; white-space: nowrap; }
.nav nav { display: flex; gap: 28px; margin-left: auto; }
.nav nav a { text-decoration: none; color: var(--dim); font-size: 15px; transition: color .2s; }
.nav nav a:hover { color: var(--text); }

/* Aurora: brand gradient texture, only behind hero and the closing CTA */
.aurora {
  position: absolute; inset: 0; z-index: -1; pointer-events: none; overflow: hidden;
  background:
    radial-gradient(60% 70% at 85% 10%, rgba(43, 63, 232, .45), transparent 70%),
    radial-gradient(45% 55% at 100% 60%, rgba(59, 199, 232, .18), transparent 70%),
    radial-gradient(40% 50% at 10% 100%, rgba(141, 138, 242, .16), transparent 70%);
}

/* Hero: centred headline, copy and buttons; the Monday report sits underneath */
.hero { position: relative; isolation: isolate; padding: 72px 0 96px; text-align: center; }
.eyebrow { font-size: 15px; font-weight: 500; letter-spacing: .14em; text-transform: uppercase; color: var(--cyan); }
.hero-title { font-size: clamp(32px, 4.7vw, 66px); font-weight: 500; line-height: 1.1; letter-spacing: -.025em; max-width: 1120px; margin: 0 auto; }
/* The live number is part of the sentence: same type, colour and size. Only the ticking cents use
   fixed-width figures, so the line doesn't shift every second and the decimal point keeps normal spacing. */
.hero-num { white-space: nowrap; }
.hero-num .cents { font-variant-numeric: tabular-nums; }
.hero-grid { display: flex; flex-direction: column; align-items: center; gap: 56px; margin-top: 32px; }
.lede { font-size: 20px; color: var(--dim); max-width: 36ch; }
.hero-copy .lede { margin: 0 auto; }
.hero .ctas { justify-content: center; }
.ctas { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
.hero-shot {
  background: #fff; border-radius: var(--r-panel); padding: 12px;
  box-shadow: 0 40px 120px rgba(20, 30, 140, .45), 0 0 0 1px rgba(255, 255, 255, .08);
}
.hero-shot { width: 100%; max-width: 680px; }
.hero-shot img { border-radius: var(--r-img); }

/* Proof */
.proof { padding: 112px 0; border-top: 1px solid var(--line); }
.proof h2 { font-size: clamp(34px, 4.2vw, 52px); }
.weeks { list-style: none; display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; margin-top: 56px; border-top: 1px solid var(--line); }
.weeks li { padding: 28px 24px 0 0; display: flex; flex-direction: column; gap: 4px; }
.weeks li + li { padding-left: 24px; border-left: 1px solid var(--line); }
.wk-amt { font-size: clamp(30px, 3.6vw, 44px); font-weight: 300; letter-spacing: -.02em; font-variant-numeric: tabular-nums; }
.wk-when { color: var(--faint); font-size: 15px; }
.proof-shot { margin-top: 72px; }
.proof-shot img { background: #fff; border-radius: var(--r-panel); padding: 10px; box-shadow: 0 0 0 1px rgba(255, 255, 255, .08); }
.proof-shot figcaption { margin-top: 14px; color: var(--faint); font-size: 15px; }

/* Team */
.team { padding: 112px 0; background: var(--bg-2); border-top: 1px solid var(--line); }
.team h2, .learned h2, .review h2 { font-size: clamp(34px, 4.2vw, 52px); max-width: 18ch; }
.sub { margin-top: 20px; color: var(--dim); font-size: 19px; max-width: 58ch; }
.roles { list-style: none; margin-top: 64px; display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.role {
  position: relative; background: var(--panel); border-radius: var(--r-panel); padding: 28px 24px 30px;
  box-shadow: inset 0 0 0 1px var(--line); overflow: hidden;
  transition: transform .4s var(--ease), box-shadow .4s var(--ease);
}
.role::before {
  content: ""; position: absolute; inset: 0 0 auto; height: 120px; pointer-events: none;
  background: radial-gradient(80% 100% at 0% 0%, color-mix(in srgb, var(--c) 22%, transparent), transparent 70%);
}
.role:hover { transform: translateY(-3px); box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--c) 45%, transparent); }
.role svg { position: relative; width: 36px; height: 36px; fill: none; stroke: var(--c); stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.role h3 { position: relative; margin-top: 22px; font-size: 19px; }
.role p { position: relative; margin-top: 10px; color: var(--dim); font-size: 15.5px; line-height: 1.55; }

/* Learned-from wall */
.learned { padding: 112px 0 96px; border-top: 1px solid var(--line); overflow: hidden; }
.marquee { margin-top: 64px; mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.marquee-track { display: flex; gap: 14px; width: max-content; }
.marquee-track img { width: 150px; height: 238px; object-fit: cover; object-position: top; border-radius: var(--r-img); flex: none; opacity: .9; }
@media (prefers-reduced-motion: no-preference) {
  .marquee-track.is-on { animation: marquee 90s linear infinite; }
  .marquee:hover .marquee-track { animation-play-state: paused; }
}
@keyframes marquee { to { transform: translateX(-50%); } }

/* What it makes */
.made { padding: 112px 0; background: var(--bg-2); border-top: 1px solid var(--line); }
.made-grid { display: grid; grid-template-columns: 1fr; gap: 0; }
.made h2 { font-size: clamp(34px, 4.2vw, 52px); max-width: 20ch; }
.emails {
  display: grid; grid-auto-flow: column; grid-auto-columns: minmax(220px, 260px); gap: 18px;
  margin-top: 56px; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 14px;
  scrollbar-width: thin; scrollbar-color: rgba(239, 239, 246, .2) transparent;
}
.emails figure { scroll-snap-align: start; }
.emails img { border-radius: var(--r-img); aspect-ratio: 480 / 1000; object-fit: cover; object-position: top; box-shadow: 0 0 0 1px rgba(255, 255, 255, .06); }
.note { margin-top: 18px; color: var(--faint); font-size: 14px; }

/* Review modes */
.review { padding: 112px 0; border-top: 1px solid var(--line); }
.modes { display: grid; grid-template-columns: 1fr 1fr; gap: 0; margin-top: 56px; border-top: 1px solid var(--line); }
.mode { padding: 36px 40px 8px 0; }
.mode + .mode { padding-left: 40px; border-left: 1px solid var(--line); }
.mode h3 { font-size: 24px; font-weight: 400; }
.mode p { margin-top: 12px; color: var(--dim); max-width: 46ch; }
.review .sub { margin-top: 48px; color: var(--text); }

/* Closing CTA */
.apply { position: relative; isolation: isolate; padding: 136px 0; border-top: 1px solid var(--line); overflow: hidden; }
.apply .aurora {
  background:
    radial-gradient(55% 80% at 50% 120%, rgba(43, 63, 232, .55), transparent 70%),
    radial-gradient(35% 50% at 85% 100%, rgba(59, 199, 232, .2), transparent 70%);
}
.apply-inner { text-align: center; display: flex; flex-direction: column; align-items: center; }
.apply h2 { font-size: clamp(36px, 4.8vw, 60px); max-width: 20ch; }
.apply .lede { max-width: 54ch; margin: 24px auto 40px; }

/* FAQ */
.faq { padding: 112px 0; border-top: 1px solid var(--line); }
.faq-inner { max-width: 820px; }
.faq h2 { font-size: clamp(30px, 3.4vw, 42px); margin-bottom: 32px; }
details { border-top: 1px solid var(--line); }
details:last-of-type { border-bottom: 1px solid var(--line); }
summary { cursor: pointer; list-style: none; padding: 22px 40px 22px 0; font-size: 19px; position: relative; }
summary::-webkit-details-marker { display: none; }
summary::after { content: "+"; position: absolute; right: 4px; top: 18px; font-size: 26px; font-weight: 300; color: var(--dim); transition: transform .3s var(--ease); }
details[open] summary::after { transform: rotate(45deg); }
details p { padding: 0 0 24px; color: var(--dim); max-width: 64ch; }

/* Footer */
.foot { border-top: 1px solid var(--line); padding: 32px 0 40px; color: var(--faint); font-size: 14px; }
.foot-row { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.foot nav { display: flex; gap: 20px; }
.foot a { text-decoration: none; }
.foot a:hover { color: var(--text); }

/* Proof pop-up (desktop only) */
.toast {
  position: fixed; left: 24px; bottom: 24px; z-index: 30; width: 360px;
  display: grid; grid-template-columns: 32px 1fr 24px; gap: 12px; align-items: start;
  background: rgba(18, 20, 29, .96); border-radius: 16px; padding: 14px 14px 14px 16px;
  box-shadow: 0 0 0 1px var(--line), 0 24px 60px rgba(0, 0, 0, .5);
  backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
  transform: translateY(16px); opacity: 0; transition: transform .5s var(--ease), opacity .5s var(--ease);
}
.toast.is-in { transform: none; opacity: 1; }
.toast[hidden] { display: none; }
.toast img { border-radius: 8px; background: #1c2030; }
.toast-title { font-size: 14px; font-weight: 500; }
.toast-body { font-size: 14px; color: var(--dim); line-height: 1.45; margin-top: 2px; }
.toast-body strong { color: var(--text); font-weight: 500; }
.toast-x { background: none; border: 0; color: var(--faint); font-size: 22px; line-height: 1; cursor: pointer; }
.toast-x:hover { color: var(--text); }
@media (max-width: 1023px) { .toast { display: none !important; } }

/* Scroll reveal (enhancement only: content is visible without JS) */
@media (prefers-reduced-motion: no-preference) {
  .js .reveal { opacity: 0; transform: translateY(22px); transition: opacity .8s var(--ease) var(--d, 0s), transform .8s var(--ease) var(--d, 0s); }
  .js .reveal.is-in { opacity: 1; transform: none; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .toast { transition: none; }
}

/* Tablet */
@media (max-width: 1023px) {
  .nav nav { display: none; }
  .nav-row { justify-content: space-between; }
  .hero-grid { gap: 40px; }
  .hero-shot { max-width: 620px; }
  .roles { grid-template-columns: repeat(2, 1fr); }
}

/* Phone */
@media (max-width: 767px) {
  body { font-size: 16px; }
  .wrap { padding: 0 16px; }
  .hero { padding: 40px 0 72px; }
  .eyebrow { font-size: 13px; }
  .hero-grid { margin-top: 36px; }
  .lede { font-size: 18px; }
  .ctas .btn { flex: 1 1 auto; }
  .hero-shot { transform: none; padding: 8px; }
  .proof, .team, .learned, .made, .review, .faq { padding: 80px 0; }
  .weeks { grid-template-columns: 1fr; }
  .weeks li, .weeks li + li { padding: 20px 0; border-left: 0; border-bottom: 1px solid var(--line); }
  .proof-shot { overflow-x: auto; }
  .proof-shot img { min-width: 720px; }
  .roles { grid-template-columns: 1fr; }
  .modes { grid-template-columns: 1fr; }
  .mode, .mode + .mode { padding: 28px 0 8px; border-left: 0; }
  .mode + .mode { border-top: 1px solid var(--line); }
  .apply { padding: 96px 0; }
  .marquee-track img { width: 120px; height: 190px; }
}
