/*
 * The illustrated landing, dark version (task 1416, docs/LANDINGS.md): the approved preview's
 * `body.night` with its overrides already applied, the current landing's navy palette and flat
 * finish with the ten illustrations. The fonts are the landings' shared ones (`/landing/fonts/`,
 * variable files, so each face takes a range of weights); the preview's inline style is `.ttitle`.
 */
@font-face { font-family: 'Bricolage Grotesque'; font-style: normal; font-weight: 600 800; font-display: swap;
  src: url(/landing/fonts/bricolage-grotesque-v9-latin-ext.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: 'Bricolage Grotesque'; font-style: normal; font-weight: 600 800; font-display: swap;
  src: url(/landing/fonts/bricolage-grotesque-v9-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'Figtree'; font-style: normal; font-weight: 400 700; font-display: swap;
  src: url(/landing/fonts/figtree-v9-latin-ext.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: 'Figtree'; font-style: normal; font-weight: 400 700; font-display: swap;
  src: url(/landing/fonts/figtree-v9-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'JetBrains Mono'; font-style: normal; font-weight: 400 500; font-display: swap;
  src: url(/landing/fonts/jetbrains-mono-v24-latin-ext.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: 'JetBrains Mono'; font-style: normal; font-weight: 400 500; font-display: swap;
  src: url(/landing/fonts/jetbrains-mono-v24-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }

:root {
  color-scheme: light;
  --night: #0c0e16;
  --deck: #151a28;
  --raised: #1e2438;
  --line-d: #2b3149;
  --nav-line: #1a1f2e;
  --on-dark: #f3f2ee;
  --muted-d: #a5abc0;
  --soft-d: #c9cdda;
  --sub-d: #d6d8e2;
  --ghost-line: rgba(243, 242, 238, .35);
  --paper: #f3f4f7;
  --white: #ffffff;
  --line-l: #e1e4eb;
  --ink: #12141b;
  --muted-l: #5a6174;
  --coral: #ff6170;
  --coral-hover: #ff7b88;
  --coral-ink: #2b0a0f;
  --coral-on-light: #d93d4e;
  --yellow: #f3c85e;
  --green: #4ec395;
  --teal-ink: #0f4a44;
  --chip: #eef1f6;
  --chip-ink: #2e3550;
  --boss-bubble: #ffe7ea;
  --boss-name: #b3273b;
  --done-bg: #d8f0c8;
  --done-ink: #2e5a1c;
  --work-bg: #c9f4ee;
  --skip-bg: #ffe0c2;
  --skip-ink: #8a3f08;
  --shade: rgba(12, 14, 22, .18);
  --shade-soft: rgba(12, 14, 22, .08);
  --shade-deep: rgba(0, 0, 0, .5);
  --hero-frame-shadow: rgba(0, 0, 0, .55);
  --hero-glow: rgba(255, 97, 112, .16);
  --night-clear: rgba(12, 14, 22, 0);
  --night-veil: rgba(12, 14, 22, .3);
  --night-fade: rgba(12, 14, 22, .82);
  --text-halo: rgba(12, 14, 22, .9);
  --text-edge: rgba(12, 14, 22, .8);
  --display: 'Bricolage Grotesque', 'Avenir Next', system-ui, sans-serif;
  --body: 'Figtree', 'Segoe UI', system-ui, sans-serif;
  --mono: 'JetBrains Mono', ui-monospace, Menlo, monospace;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--paper); color: var(--ink); font-family: var(--body); font-size: 16px; line-height: 1.55; }
img { max-width: 100%; display: block; }
h1, h2, h3 { font-family: var(--display); margin: 0; font-weight: 800; letter-spacing: -0.03em; text-wrap: balance; }
p { margin: 0; }
a { color: inherit; }
:focus-visible { outline: 3px solid var(--yellow); outline-offset: 3px; border-radius: 6px; }
.wrap { max-width: 1200px; margin-inline: auto; padding-inline: 24px; }
.eyebrow { font-family: var(--mono); font-weight: 500; font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: var(--coral-on-light); }
.dark { background: var(--night); color: var(--on-dark); }
.dark .eyebrow { color: var(--coral); }
.white { background: var(--white); }
.btn { display: inline-flex; align-items: center; gap: 8px; height: 50px; padding-inline: 26px; border-radius: 999px; font-weight: 700; text-decoration: none; white-space: nowrap; border: 2px solid transparent; }
.btn.primary { background: var(--coral); color: var(--coral-ink); }
.btn.primary:hover { background: var(--coral-hover); }
.btn.ghost { border: 1px solid var(--ghost-line); }

/* Nav: solid night, never see-through */
.nav { position: sticky; top: 0; z-index: 40; background: var(--night); color: var(--on-dark); border-bottom: 1px solid var(--nav-line); }
.navrow { display: flex; align-items: center; gap: 28px; height: 64px; }
.brand { font-family: var(--display); font-weight: 800; font-size: 24px; letter-spacing: -0.03em; text-decoration: none; }
.brand em { font-style: normal; color: var(--coral); }
.links { display: flex; gap: 22px; margin-left: auto; font-weight: 600; font-size: 15px; }
.links a { text-decoration: none; opacity: .8; }
.links a:hover { opacity: 1; }
.navcta { display: flex; align-items: center; gap: 14px; }
.navcta .btn { height: 42px; padding-inline: 20px; }
.signin { font-weight: 600; text-decoration: none; }

/* Hero: the words on plain night blue, the square illustration beside them (on top on phones), never under the text */
.hero { position: relative; overflow: hidden; background: var(--night); color: var(--on-dark); }
.hero::before { content: ''; position: absolute; right: -10%; bottom: -30%; width: 70%; height: 90%; background: radial-gradient(closest-side, var(--hero-glow), var(--night-clear)); pointer-events: none; }
.herogrid { position: relative; display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; padding-block: 72px 88px; }
.heroart { margin: 0; border-radius: 28px; overflow: hidden; border: 1px solid var(--line-d); box-shadow: 0 30px 80px var(--hero-frame-shadow); aspect-ratio: 1 / 1; }
.heroart img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 50%; }
.herotext h1 { font-size: clamp(42px, 5.6vw, 84px); line-height: .98; }
.herotext h1 span { display: block; color: var(--coral); font-size: .5em; letter-spacing: -0.02em; margin-top: 14px; }
.herotext .sub { font-size: 20px; line-height: 1.55; max-width: 28em; margin-top: 22px; color: var(--sub-d); }
.ctas { display: flex; gap: 14px; flex-wrap: wrap; margin-top: 30px; }
.hero .btn.ghost { color: var(--on-dark); }

/* Ticker of the crew's work */
.ticker { overflow: hidden; border-block: 2px solid var(--line-d); background: var(--night); }
.track { display: flex; gap: 14px; width: max-content; padding-block: 12px; }
.tick { display: inline-flex; align-items: center; gap: 10px; background: var(--raised); border: 1px solid var(--line-d); border-radius: 999px; padding: 5px 14px 5px 5px; font-size: 14px; white-space: nowrap; color: var(--on-dark); }
.tick img { width: 30px; height: 30px; border-radius: 50%; background: var(--night); }
.st { font-size: 12px; font-weight: 700; border-radius: 999px; padding: 2px 9px; }
.st.done { background: var(--done-bg); color: var(--done-ink); }
.st.work { background: var(--work-bg); color: var(--teal-ink); }
.st.skip { background: var(--skip-bg); color: var(--skip-ink); }
@media (prefers-reduced-motion: no-preference) {
  .track { animation: tick 50s linear infinite; }
  @keyframes tick { to { transform: translateX(-50%); } }
}

/* Sections */
section.block { padding-block: 104px; }
.shead { max-width: 720px; margin-bottom: 52px; }
.shead.center { margin-inline: auto; text-align: center; }
.shead h2 { font-size: clamp(34px, 4.6vw, 56px); line-height: 1.02; margin-top: 10px; }
.shead p { margin-top: 14px; font-size: 18px; color: var(--muted-l); }
.dark .shead p { color: var(--muted-d); }
.shead .eyebrow { font-size: 12px; color: var(--coral-on-light); }
.dark .shead .eyebrow { color: var(--coral); }

.pic { border: 1px solid var(--line-l); border-radius: 18px; overflow: hidden; background: var(--white); box-shadow: 0 24px 60px var(--shade); }
.dark .pic { border-color: var(--line-d); box-shadow: 0 30px 80px var(--shade-deep); }
.pic img { width: 100%; height: 100%; object-fit: cover; }

/* How it works: three illustrations, a figure of each step in a pill */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; list-style: none; padding: 0; margin: 0; }
.step .pic { aspect-ratio: 4 / 3; }
.step .meta { display: flex; justify-content: space-between; align-items: center; margin-top: 26px; font-family: var(--display); font-weight: 700; }
.step .num { background: var(--coral); color: var(--coral-ink); border-radius: 999px; padding: 2px 12px; font-size: 14px; }
.step .time { color: var(--muted-l); font-size: 14px; }
.step h3 { font-size: 26px; margin-top: 12px; }
.step p { margin-top: 8px; color: var(--muted-l); }
.step .chip { margin-top: 14px; display: inline-flex; gap: 8px; align-items: center; background: var(--chip); color: var(--chip-ink); border: 1.5px solid var(--line-l); border-radius: 12px; padding: 7px 12px; font-size: 14px; font-weight: 600; }

/* Use cases */
.cases { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.case { background: var(--white); border: 1px solid var(--line-l); border-radius: 20px; overflow: hidden; box-shadow: 0 16px 40px var(--shade-soft); display: flex; flex-direction: column; }
.case .art { aspect-ratio: 4 / 3; border-bottom: 1px solid var(--line-l); }
.case .art img { width: 100%; height: 100%; object-fit: cover; }
.case .cap { padding: 22px 22px 24px; display: grid; gap: 12px; }
.case h3 { font-size: 24px; }
.bub { border-radius: 16px; padding: 9px 13px; font-size: 14px; max-width: 92%; }
.bub.me { background: var(--chip); justify-self: end; border-bottom-right-radius: 4px; }
.bub.boss { background: var(--boss-bubble); border-bottom-left-radius: 4px; }
.bub.boss b { color: var(--boss-name); }

/* The crew */
.crewpic { aspect-ratio: 16 / 9; }

/* Teams */
.teams { display: grid; grid-template-columns: 1.35fr 1fr; gap: 48px; align-items: center; }
.teams .pic { aspect-ratio: 16 / 9; }
.ttitle { font-size: clamp(32px, 4vw, 48px); line-height: 1.04; margin-top: 10px; }
.tpoints { list-style: none; padding: 0; margin: 24px 0 0; display: grid; gap: 14px; }
.tpoints li { background: var(--white); border: 2px solid var(--line-l); border-radius: 16px; padding: 14px 16px; }
.tpoints b { font-family: var(--display); }
.lstats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-top: 44px; }
.lstats div { background: var(--white); border: 1px solid var(--line-l); border-radius: 18px; padding: 16px 18px; }
.lstats b { display: block; font-family: var(--display); font-size: 40px; line-height: 1; color: var(--ink); }
.lstats span { color: var(--muted-l); font-size: 14px; }

/* Pricing */
.plans { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.plan { position: relative; background: var(--deck); border: 1px solid var(--line-d); border-radius: 24px; padding: 30px 26px; display: grid; gap: 14px; align-content: start; }
.plan.best { background: var(--raised); border: 1px solid var(--coral); }
.flag { position: absolute; top: -14px; left: 24px; background: var(--coral); color: var(--coral-ink); font-weight: 800; font-size: 13px; border-radius: 999px; padding: 3px 12px; }
.plan h3 { font-size: 26px; }
.plan .who { color: var(--muted-d); }
.price b { font-family: var(--display); font-size: 48px; }
.price span { color: var(--muted-d); margin-left: 6px; }
.plan ul { margin: 0; padding-left: 18px; color: var(--soft-d); display: grid; gap: 6px; }
.plan .btn { justify-content: center; margin-top: 8px; color: var(--on-dark); }
.plan .btn.primary { color: var(--coral-ink); }
.pfine { margin-top: 30px; text-align: center; color: var(--muted-d); }
.pfine b { color: var(--on-dark); }

/* FAQ */
.faqgrid { display: grid; grid-template-columns: 1fr 1.6fr; gap: 48px; }
details { background: var(--white); border: 2px solid var(--line-l); border-radius: 16px; padding: 16px 20px; margin-bottom: 12px; }
summary { font-family: var(--display); font-weight: 700; font-size: 18px; cursor: pointer; }
details p { margin-top: 10px; color: var(--muted-l); }

/* Closing */
.closing { padding-block: 96px; }
.cgrid { display: grid; grid-template-columns: 1fr 1.1fr; gap: 56px; align-items: center; }
.closing h2 { font-size: clamp(40px, 5.4vw, 72px); line-height: .98; margin-top: 10px; }
.clead { margin-top: 18px; font-size: 19px; color: var(--soft-d); max-width: 28em; }
.cfacts { list-style: none; padding: 0; margin: 26px 0 0; display: flex; gap: 18px; flex-wrap: wrap; color: var(--muted-d); font-size: 14px; }
.cfacts li::before { content: '✓ '; color: var(--green); font-weight: 800; }
.closing .pic { aspect-ratio: 4 / 3; }
.closing .btn.ghost { color: var(--on-dark); }

/* Footer */
.foot { padding-block: 72px 28px; border-top: 1px solid var(--line-d); }
.fgrid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 40px; }
.fbrand .brand { font-size: 30px; }
.fslogan { font-family: var(--display); font-weight: 700; font-size: 20px; color: var(--yellow); margin-top: 6px; }
.fline { color: var(--muted-d); margin-top: 10px; max-width: 26em; }
.fbrand .btn { margin-top: 22px; height: 44px; padding-inline: 20px; }
.fcol { display: grid; gap: 10px; align-content: start; }
.fcol h4 { margin: 0 0 4px; font-family: var(--display); font-size: 14px; letter-spacing: .1em; text-transform: uppercase; color: var(--on-dark); }
.fcol a { color: var(--muted-d); text-decoration: none; }
.fcol a:hover { color: var(--on-dark); }
.fbottom { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin-top: 56px; padding-top: 22px; border-top: 1px solid var(--line-d); color: var(--muted-d); font-size: 14px; }
.flegal { display: flex; gap: 20px; }
.flegal a { color: var(--muted-d); text-decoration: none; }
.flegal a:hover { color: var(--on-dark); }

/* Narrow screens */
@media (max-width: 900px) {
  .links { display: none; }
  .navcta { margin-left: auto; }
  .steps, .cases, .plans, .teams, .faqgrid, .cgrid { grid-template-columns: 1fr; }
  .fgrid { grid-template-columns: 1fr 1fr; }
  .fbrand { grid-column: 1 / -1; }
  .lstats { grid-template-columns: repeat(2, 1fr); }
  /* Phones: the illustration fills the first screen behind everything; it fades into night blue
     at the bottom, where the words and the buttons sit, so they read on a dark ground */
  .hero::before { display: none; }
  .herogrid { position: static; display: flex; flex-direction: column; justify-content: flex-end; min-height: calc(100vh - 64px); min-height: calc(100svh - 64px); padding-block: 0 28px; }
  .heroart { position: absolute; top: 0; left: 0; right: 0; height: 76%; margin: 0; border: 0; border-radius: 0; box-shadow: none; aspect-ratio: auto; }
  .heroart::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, var(--night-veil) 0%, var(--night-clear) 16%, var(--night-clear) 42%, var(--night-fade) 78%, var(--night) 100%); }
  .heroart img { object-position: 50% 58%; }
  .herotext { position: relative; z-index: 1; text-shadow: 0 2px 18px var(--text-halo), 0 1px 3px var(--text-edge); }
  .herotext .btn { text-shadow: none; }
  .herotext h1 { font-size: clamp(36px, 10vw, 56px); }
  .herotext h1 span { margin-top: 8px; }
  .herotext .sub { font-size: 17px; line-height: 1.5; margin-top: 12px; }
  .ctas { margin-top: 20px; gap: 10px; flex-wrap: nowrap; }
  .ctas .btn { flex: 1 1 auto; justify-content: center; height: 48px; padding-inline: 16px; }
}
/* Phones and tablets: tighter vertical rhythm, so no screen is only empty space */
@media (max-width: 900px) {
  section.block, .closing { padding-block: 52px; }
  .shead { margin-bottom: 24px; }
  .shead h2 { font-size: clamp(30px, 8.4vw, 44px); margin-top: 8px; }
  .shead p { margin-top: 10px; font-size: 16px; }
  .steps { gap: 36px; }
  .cases, .plans { gap: 20px; }
  .step .meta { margin-top: 16px; }
  .teams, .faqgrid, .cgrid { gap: 24px; }
  .faqgrid .shead { margin-bottom: 0; }
  .tpoints { margin-top: 16px; gap: 10px; }
  .lstats { margin-top: 24px; gap: 12px; }
  .closing h2 { font-size: clamp(36px, 10vw, 56px); }
  .foot { padding-block: 44px 24px; }
  .fgrid { gap: 28px; }
  .fbottom { margin-top: 32px; }

  /* Every illustration edge to edge, like the first one */
  .pic, .dark .pic { width: 100vw; margin-inline: calc(50% - 50vw); border: 0; border-radius: 0; box-shadow: none; }

  /* The four workspace figures in one compact row */
  .lstats { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 6px; }
  .lstats div { padding: 12px 4px 10px; border-radius: 12px; text-align: center; }
  .lstats b { font-size: 26px; }
  .lstats span { display: block; margin-top: 4px; font-size: 11.5px; line-height: 1.2; }

  /* The three plans side by side, compact, so they compare at a glance */
  #pricing .wrap { padding-inline: 12px; }
  .plans { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; margin-top: 16px; }
  .plan { display: flex; flex-direction: column; gap: 8px; padding: 18px 10px 12px; border-radius: 16px; }
  .plan h3 { font-size: 18px; }
  .plan .who { font-size: 12px; line-height: 1.3; }
  .price b { font-size: 30px; line-height: 1; }
  .price span { display: block; margin: 4px 0 0; font-size: 11.5px; line-height: 1.25; }
  .plan ul { list-style: none; padding: 8px 0 0; border-top: 1px solid var(--line-d); font-size: 12.5px; line-height: 1.3; gap: 7px; }
  .plan .btn { margin-top: auto; height: auto; min-height: 40px; padding: 8px 6px; font-size: 13px; line-height: 1.2; white-space: normal; text-align: center; }
  .flag { left: 50%; transform: translateX(-50%); top: -11px; font-size: 11px; padding: 2px 8px; white-space: nowrap; }
  .pfine { margin-top: 18px; font-size: 14px; padding-inline: 12px; }
}
@media (max-width: 340px) {
  .ctas { flex-wrap: wrap; }
}
@media (max-width: 420px) { .navcta .signin { display: none; } }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
