/* Jaylee landing page.
   One stylesheet, no framework, no build step. Colours are the oklch values
   from the design, verbatim. Fonts are self-hosted and subset to the exact
   characters this page uses — a Google Fonts request would cost a round trip
   and, in the EU, an argument nobody wants to have. */

@font-face {
  font-family: 'Work Sans';
  src: url('/fonts/work-sans.woff2?v=30013e37') format('woff2');
  font-weight: 400 600;
  font-display: swap;
  font-style: normal;
}
@font-face {
  font-family: 'Instrument Serif';
  src: url('/fonts/instrument-serif.woff2?v=ec14e9d5') format('woff2');
  font-weight: 400;
  font-display: swap;
  font-style: normal;
}
@font-face {
  font-family: 'IBM Plex Mono';
  src: url('/fonts/ibm-plex-mono.woff2?v=bf9f9df5') format('woff2');
  font-weight: 400 500;
  font-display: swap;
  font-style: normal;
}

:root {
  --accent: oklch(0.52 0.11 200);
  --accent-hover: oklch(0.42 0.11 200);
  --accent-dark: oklch(0.72 0.07 200);
  --ink: oklch(0.22 0.02 245);
  --ink-soft: oklch(0.45 0.02 245);
  --ink-mute: oklch(0.5 0.02 245);
  --page: oklch(0.955 0.02 245);
  --line: oklch(0.9 0.02 245);
  --line-faint: oklch(0.94 0.012 245);
  --on-dark: oklch(0.95 0.01 245);
  --on-dark-soft: oklch(0.82 0.015 245);
  --serif: 'Instrument Serif', Georgia, serif;
  --ui: 'Work Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Helvetica, Arial, sans-serif;
  --mono: 'IBM Plex Mono', ui-monospace, SFMono-Regular, Menlo, monospace;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--page);
  color: var(--ink);
  font-family: var(--ui);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition-duration: 0ms !important; animation-duration: 0ms !important; }
}

h1, h2, h3 { font-family: var(--serif); font-weight: 400; line-height: 1.12; margin: 0; }
h1 { font-size: clamp(36px, 5.4vw, 62px); letter-spacing: -0.01em; }
h2 { font-size: clamp(28px, 3.6vw, 42px); }
h3 { font-size: 19px; line-height: 1.3; }
p { margin: 0; }

a { color: var(--accent); text-decoration: none; }
a:hover { color: var(--accent-hover); text-decoration: underline; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 4px; }

img { max-width: 100%; height: auto; }

/* The sticky header must not sit on top of an anchor target. */
section[id] { scroll-margin-top: 84px; }

.wrap { max-width: 1180px; margin: 0 auto; padding-inline: 28px; }
.section { padding-block: 76px; display: flex; flex-direction: column; gap: 42px; }
.section__head { display: flex; flex-direction: column; gap: 12px; max-width: 720px; }

.lede { font-size: clamp(16px, 1.5vw, 18px); color: var(--ink-soft); text-wrap: pretty; }
.muted { color: var(--ink-mute); font-size: 15px; }
.eyebrow,
.meta,
.fineprint,
.tag,
.opt {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink-mute);
}

.skip {
  position: absolute; left: -9999px;
  background: var(--ink); color: var(--on-dark);
  padding: 10px 16px; border-radius: 8px; z-index: 20;
}
.skip:focus { left: 16px; top: 12px; }

/* ------------------------------------------------------------------ nav -- */

.nav {
  position: sticky; top: 0; z-index: 10;
  background: color-mix(in oklab, var(--page) 88%, transparent);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
}
.nav__in {
  max-width: 1180px; margin: 0 auto; padding: 12px 28px;
  display: flex; align-items: center; gap: 28px;
}
.nav__links { display: flex; gap: 22px; list-style: none; margin: 0; padding: 0; }
.nav__links a { color: var(--ink-soft); font-size: 15px; }
.nav__links a:hover { color: var(--ink); }
.nav__cta { margin-left: auto; }

.brand { display: flex; align-items: center; gap: 10px; color: var(--ink); font-weight: 600; }
.brand:hover { text-decoration: none; }
.brand__mark {
  width: 30px; height: 30px; flex: none; border-radius: 9px;
  background: var(--accent); color: #fff;
  display: grid; place-items: center;
  font-family: var(--serif); font-size: 16px;
}
.brand__name { font-size: 17px; }

/* --------------------------------------------------------------- button -- */

.btn {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 48px; padding: 0 22px; border-radius: 11px;
  font-size: 15px; font-weight: 600; border: 1px solid transparent;
  transition: background-color 140ms ease, border-color 140ms ease, color 140ms ease;
  cursor: pointer;
}
.btn:hover { text-decoration: none; }
.btn--primary { background: var(--accent); color: #fff; }
.btn--primary:hover { background: var(--accent-hover); color: #fff; }
.btn--primary:disabled { opacity: 0.6; cursor: not-allowed; }
.btn--ghost { border-color: var(--line); color: var(--ink); background: transparent; }
.btn--ghost:hover { border-color: var(--accent); color: var(--accent); }
.btn--wide { width: 100%; }

.band--dark .btn--ghost { border-color: oklch(0.42 0.02 245); color: var(--on-dark); }
.band--dark .btn--ghost:hover { border-color: var(--accent-dark); color: var(--accent-dark); }

/* ----------------------------------------------------------------- hero -- */

.hero {
  max-width: 1180px; margin: 0 auto; padding: 76px 28px 64px;
  display: flex; flex-wrap: wrap; gap: 48px 64px; align-items: center;
}
.hero__copy { flex: 1 1 420px; display: flex; flex-direction: column; gap: 18px; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 6px; }

/* ---------------------------------------------------------------- phone -- */

.phone {
  flex: 0 1 340px; margin-inline: auto;
  background: #fff; border: 1px solid var(--line); border-radius: 26px;
  overflow: hidden; box-shadow: 0 30px 60px -34px oklch(0.3 0.03 245 / 0.5);
}
.phone__bar {
  display: flex; align-items: center; gap: 11px;
  padding: 14px 16px; border-bottom: 1px solid var(--line-faint);
}
.phone__bar strong { display: block; font-size: 14px; font-weight: 600; }
.phone__bar small { font-size: 11.5px; color: var(--ink-mute); }
.phone__logo {
  width: 38px; height: 38px; flex: none; border-radius: 11px;
  background: var(--accent); color: #fff;
  display: grid; place-items: center; font-size: 13px; font-weight: 600;
}
.phone__log { padding: 16px; display: flex; flex-direction: column; gap: 9px; }
.meta { text-align: center; }
.bub { max-width: 86%; padding: 10px 13px; font-size: 14px; line-height: 1.45; }
.bub--us { align-self: flex-start; background: var(--page); border-radius: 15px 15px 15px 4px; }
.bub--them { align-self: flex-end; background: var(--accent); color: #fff; border-radius: 15px 15px 4px 15px; }
.slot {
  display: flex; justify-content: space-between; gap: 10px;
  padding: 11px 13px; border: 1px solid var(--line); border-radius: 12px;
  font-size: 13.5px; font-weight: 500;
}
.slot span:last-child { color: var(--ink-mute); font-weight: 400; }

/* ---------------------------------------------------------------- bands -- */

.band--dark { background: var(--ink); color: var(--on-dark); }
.band--dark h2, .band--dark h3 { color: var(--on-dark); }
.band--dark p, .band--dark li, .band--dark dd { color: var(--on-dark-soft); }
.band--dark .lede { color: var(--on-dark-soft); }
.band--dark .wrap { padding-block: 76px; }
.band--dark h2 { max-width: 900px; margin-bottom: 42px; }

.band--white { background: #fff; border-block: 1px solid var(--line); }

/* ----------------------------------------------------------------- grid -- */

.grid { display: grid; gap: 28px; }
.grid--4 { grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); }
.grid--3 { grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); }
.plain { list-style: none; margin: 0; padding: 0; }
.grid h3 { margin-bottom: 8px; }
.grid p { font-size: 15px; color: var(--ink-soft); }

.steps { list-style: none; margin: 0; padding: 0; counter-reset: none; }
.step__n {
  display: grid; place-items: center;
  width: 30px; height: 30px; margin-bottom: 12px; border-radius: 50%;
  background: var(--accent); color: #fff;
  font-family: var(--mono); font-size: 13px;
}

/* ------------------------------------------------------------- deposits -- */

.deposits { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 48px; }
.deposits p { max-width: 52ch; margin-bottom: 14px; color: var(--ink-soft); }
.rules { background: var(--page); border-radius: 16px; padding: 26px 28px; }
.rules__title { font-family: var(--ui); font-size: 13px; font-weight: 600; margin-bottom: 14px; }
.rules dl { display: grid; grid-template-columns: max-content 1fr; gap: 10px 20px; margin: 0; }
.rules dt { font-weight: 600; font-size: 14px; }
.rules dd { margin: 0; font-size: 14px; color: var(--ink-soft); }

/* ---------------------------------------------------------------- tiers -- */

.tier { background: #fff; border: 1px solid var(--line); border-radius: 16px; padding: 28px 26px; }
.tier--pick { border-color: var(--accent); box-shadow: 0 20px 44px -32px oklch(0.3 0.06 200 / 0.7); }
.tier h3 { display: flex; align-items: baseline; gap: 10px; flex-wrap: wrap; }
.tier__price { margin: 14px 0 10px; font-family: var(--serif); }
.tier__price strong { font-size: 42px; font-weight: 400; }
.tier__price span { font-family: var(--ui); font-size: 14px; color: var(--ink-mute); }
.tier p:last-child { font-size: 15px; color: var(--ink-soft); }
.tag {
  background: var(--accent); color: #fff; border-radius: 999px;
  padding: 3px 9px; font-size: 9.5px; letter-spacing: 0.1em;
}
.sum {
  background: #fff; border: 1px solid var(--line); border-left: 3px solid var(--accent);
  border-radius: 12px; padding: 18px 22px; font-size: 15px; color: var(--ink-soft);
}
.sum strong { color: var(--ink); }

/* ------------------------------------------------------------------ faq -- */

.faq { max-width: 780px; }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary {
  cursor: pointer; padding: 18px 0; font-weight: 600; font-size: 16px;
  list-style: none; display: flex; justify-content: space-between; gap: 16px;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: '+'; color: var(--accent); font-size: 20px; line-height: 1; }
.faq details[open] summary::after { content: '\2212'; }
.faq p { padding-bottom: 18px; color: var(--ink-soft); max-width: 62ch; }

/* --------------------------------------------------------------- signup -- */

.signup { display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: 48px; align-items: start; }
.trial { list-style: none; margin: 26px 0 0; padding: 0; display: flex; flex-direction: column; gap: 14px; }
.trial li { font-size: 15px; }
.trial strong { display: block; font-family: var(--mono); font-size: 11px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--accent-dark); margin-bottom: 3px; }

.card { background: #fff; border-radius: 18px; padding: 30px 28px; color: var(--ink); }
.card h3 { margin-bottom: 18px; }
.card p { color: var(--ink-soft); }

.field { display: flex; flex-direction: column; gap: 5px; margin-bottom: 14px; }
.field label { font-size: 13px; font-weight: 600; color: var(--ink); }
.opt { font-weight: 400; }
.field input,
.field textarea {
  /* 16px minimum, or iOS zooms the page on focus and the layout is wrecked. */
  font: inherit; font-size: 16px;
  min-height: 48px; padding: 12px 14px;
  border: 1px solid var(--line); border-radius: 11px;
  background: oklch(0.98 0.008 245); color: var(--ink);
  width: 100%;
}
.field textarea { min-height: 84px; resize: vertical; }
.field input:focus, .field textarea:focus { border-color: var(--accent); outline: none; }
.field input::placeholder { color: oklch(0.62 0.015 245); }

/* Off-screen rather than display:none — some bots skip hidden inputs. */
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

.err { color: oklch(0.5 0.16 25); font-size: 14px; margin-bottom: 12px; }
.card .fineprint { margin-top: 12px; text-transform: none; letter-spacing: 0; font-family: var(--ui); font-size: 13px; }

.done { text-align: center; padding: 18px 0; }
.done__tick {
  width: 44px; height: 44px; margin: 0 auto 14px; border-radius: 50%;
  background: oklch(0.94 0.05 150); color: oklch(0.4 0.1 150);
  display: grid; place-items: center; font-size: 22px;
}
.done h3 { margin-bottom: 8px; }
.done p { margin-bottom: 18px; }

/* ----------------------------------------------------------------- foot -- */

.foot { background: var(--ink); color: var(--on-dark-soft); padding-block: 32px; }
.foot__in { display: flex; flex-wrap: wrap; gap: 18px 32px; align-items: center; justify-content: space-between; }
.foot .brand { color: var(--on-dark); font-weight: 400; font-size: 14px; }
.foot ul { display: flex; flex-wrap: wrap; gap: 20px; list-style: none; margin: 0; padding: 0; }
.foot a { color: var(--on-dark-soft); font-size: 14px; }
.foot a:hover { color: var(--accent-dark); }

@media (max-width: 720px) {
  .nav__links { display: none; }
  .section { padding-block: 56px; }
  .band--dark .wrap { padding-block: 56px; }
  .hero { padding-block: 48px 40px; }
}

/* Emphasis at 600, not 700: it reads correctly in Work Sans and lets the
   variable font ship a 400-600 axis instead of 400-700. */
strong, b { font-weight: 600; }
