/* Home page ("Native" direction). Scoped under .home so the guide, FAQ and
   support pages keep site.css as it is. Geist is self-hosted (OFL); the CSP
   allows fonts from this origin only. */

@font-face {
  font-family: "Geist";
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url("/assets/fonts/geist-latin.woff2") format("woff2");
}

.home {
  --h-ground: var(--paper);
  --h-surface: var(--surface);
  --h-ink: #141414;
  --h-ink-2: #4A4640;
  --h-ink-3: #6B665E;
  --h-rule: #E8E4DC;
  --h-rule-2: #DCD7CE;
  --h-accent: #D7372B;
  --h-accent-ink: #B4281E;
  --h-band: #141414;
  --h-band-ink: #F4F1EA;
  --h-band-ink-2: #C9C4BA;
  --h-band-rule: #3A3A3A;
  --h-shadow: 0 40px 80px -30px rgba(20, 20, 20, 0.35), 0 0 0 1px rgba(20, 20, 20, 0.08);
  --h-shadow-s: 0 24px 50px -24px rgba(20, 20, 20, 0.3), 0 0 0 1px rgba(20, 20, 20, 0.08);
  font-family: "Geist", var(--font);
  background: var(--h-ground);
  color: var(--h-ink);
  letter-spacing: -0.01em;
}

@media (prefers-color-scheme: dark) {
  .home {
    --h-ink: #F2F0EB;
    --h-ink-2: #B9B4AA;
    --h-ink-3: #8E897F;
    --h-rule: #24252A;
    --h-rule-2: #2E3036;
    --h-accent: #FF5A4E;
    --h-accent-ink: #FF8A7F;
    --h-band: #17181C;
    --h-band-rule: #34363C;
    --h-shadow: 0 40px 80px -30px rgba(0, 0, 0, 0.8), 0 0 0 1px rgba(255, 255, 255, 0.08);
    --h-shadow-s: 0 24px 50px -24px rgba(0, 0, 0, 0.7), 0 0 0 1px rgba(255, 255, 255, 0.08);
  }
}

.home h1, .home h2, .home h3 { font-family: "Geist", var(--font-display); }
.home main a:not(.h-btn) { color: var(--h-ink); text-decoration: underline; text-underline-offset: 3px; text-decoration-color: var(--h-rule-2); }
.home main a:not(.h-btn):hover { color: var(--h-accent-ink); }

.h-wrap { max-width: 1240px; margin: 0 auto; padding: 0 32px; }
@media (max-width: 640px) { .h-wrap { padding: 0 20px; } }

.h-eyebrow { font-size: 13px; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; color: var(--h-accent-ink); }
.h-section { padding-top: 120px; }
@media (max-width: 640px) { .h-section { padding-top: 80px; } }
.h-h2 { font-size: clamp(34px, 4.6vw, 56px); line-height: 1.04; letter-spacing: -0.03em; font-weight: 700; margin-top: 14px; max-width: 820px; }
.h-lead { font-size: 18px; line-height: 1.55; color: var(--h-ink-2); }

/* Buttons */
.h-btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 52px; padding: 0 24px; border-radius: 14px; font: 600 16px/1 "Geist", var(--font); text-decoration: none; border: 0; cursor: pointer; }
.h-btn-primary { background: var(--h-ink); color: var(--h-ground); }
.h-btn-primary:hover { color: var(--h-ground); text-decoration: none; opacity: 0.9; }
.h-btn-ghost { background: var(--h-surface); color: var(--h-ink); border: 1px solid var(--h-rule-2); }
.h-btn-ghost:hover { color: var(--h-ink); text-decoration: none; border-color: var(--h-ink-3); }

/* Hero */
.h-hero { padding-block: 64px 40px; text-align: center; }
.h-pill { display: inline-flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 500; color: var(--h-ink-2); border: 1px solid var(--h-rule); border-radius: 999px; padding: 7px 14px; background: var(--h-surface); }
.h-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--h-accent); flex: none; }
.h-hero h1 { margin: 28px auto 0; max-width: 980px; font-size: clamp(42px, 7vw, 88px); line-height: 0.98; letter-spacing: -0.035em; font-weight: 700; }
.h-hero .h-lead { margin: 26px auto 0; max-width: 660px; font-size: 20px; }
.h-soon { margin: 36px auto 0; display: inline-flex; align-items: center; gap: 12px; min-height: 56px; padding: 10px 18px 10px 14px; border-radius: 14px; background: var(--h-ink); color: var(--h-ground); text-align: left; text-decoration: none; transition: transform .15s ease, opacity .15s ease; }
.home main a.h-soon, .home main a.h-soon:hover { color: var(--h-ground); text-decoration: none; }
.h-soon:hover { transform: translateY(-1px); opacity: .92; }
.h-soon-arrow { margin-left: 6px; opacity: .7; }
.h-soon svg { flex: none; }
.h-soon small { display: block; font-size: 11px; font-weight: 500; letter-spacing: 0.04em; text-transform: uppercase; opacity: 0.75; }
.h-soon strong { display: block; font-size: 17px; font-weight: 600; letter-spacing: -0.01em; }

/* Notify form */
.h-notify { margin: 20px auto 0; max-width: 520px; }
.h-notify-row { display: flex; gap: 8px; flex-wrap: wrap; }
.h-notify input[type=email] { flex: 1 1 240px; min-width: 0; min-height: 52px; padding: 0 18px; border-radius: 14px; border: 1px solid var(--h-rule-2); background: var(--h-surface); color: var(--h-ink); font: 400 16px "Geist", var(--font); }
.h-notify input[type=email]::placeholder { color: var(--h-ink-3); }
.h-notify input[type=email]:focus { outline: 3px solid color-mix(in srgb, var(--h-accent) 35%, transparent); outline-offset: 1px; border-color: var(--h-accent); }
.h-notify .h-btn { flex: 0 0 auto; }
.h-notify-fine { margin-top: 12px; font-size: 13px; line-height: 1.5; color: var(--h-ink-3); }
.h-notify-status { margin-top: 12px; font-size: 15px; font-weight: 500; }
.h-notify-status:empty { display: none; }
.h-notify-status.ok { color: #2C7A4B; }
.h-notify-status.bad { color: var(--h-accent-ink); }
@media (prefers-color-scheme: dark) { .h-notify-status.ok { color: #4CD07D; } }
.h-notify.done .h-notify-row { display: none; }
.h-hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.h-sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* Devices */
.h-devices { position: relative; padding-block: 32px 96px; }
.h-mac { border-radius: 18px; overflow: hidden; box-shadow: var(--h-shadow); background: var(--h-surface); }
/* The iPad screenshot sits on the Mac one, framed the same way: no fake bezel. */
.h-ipad { position: absolute; right: 0; bottom: 40px; width: 42%; border-radius: 16px; overflow: hidden; box-shadow: 0 30px 60px -20px rgba(20, 20, 20, 0.45), 0 0 0 1px rgba(20, 20, 20, 0.12); }
@media (max-width: 760px) {
  .h-ipad { position: relative; width: 78%; margin: -60px 0 0 auto; bottom: auto; border-radius: 12px; }
  .h-mac { border-radius: 12px; }
  .h-devices { padding-block-end: 64px; }
}

/* Proof strip */
.h-proof { border-block: 1px solid var(--h-rule); background: var(--h-surface); }
.h-proof .h-wrap { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 24px; padding-block: 28px; }
.h-proof b { display: block; font-size: 26px; font-weight: 700; letter-spacing: -0.02em; }
.h-proof span { display: block; margin-top: 4px; font-size: 15px; color: var(--h-ink-2); }

/* Feature rows */
.h-row { display: flex; flex-wrap: wrap; gap: 48px; align-items: center; padding-top: 72px; }
.h-row.flip { flex-wrap: wrap-reverse; }
.h-row-text { flex: 1 1 380px; min-width: 0; }
.h-row-text h3 { font-size: 30px; letter-spacing: -0.02em; font-weight: 650; }
.h-row-text p { margin-top: 14px; }
.h-row-shot { flex: 1.4 1 520px; min-width: 0; border-radius: 16px; overflow: hidden; box-shadow: var(--h-shadow-s); }
@media (max-width: 640px) { .h-row-shot { flex-basis: 100%; } }
.h-checks { margin: 22px 0 0; padding: 0; list-style: none; display: flex; flex-direction: column; gap: 10px; font-size: 16px; }
.h-checks li { display: flex; gap: 10px; align-items: center; }
.h-checks svg { flex: none; color: var(--h-accent); }

/* Feature grid */
.h-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(310px, 1fr)); gap: 16px; padding-top: 96px; }
.h-card { background: var(--h-surface); border: 1px solid var(--h-rule); border-radius: 16px; padding: 26px; }
.h-card svg { color: var(--h-ink); }
.h-card h3 { margin-top: 16px; font-size: 18px; font-weight: 600; letter-spacing: -0.01em; }
.h-card p { margin-top: 6px; font-size: 15px; line-height: 1.5; color: var(--h-ink-2); }

/* Agents band */
.h-band { background: var(--h-band); color: var(--h-band-ink); border-radius: 28px; padding: 64px 56px; display: flex; flex-wrap: wrap; gap: 48px; align-items: center; }
@media (max-width: 640px) { .h-band { padding: 40px 24px; border-radius: 22px; } }
.h-band .h-eyebrow { color: #FF8A7F; }
.h-band h2 { color: var(--h-band-ink); }
.h-band .h-lead { color: var(--h-band-ink-2); margin-top: 18px; }
.h-band-text { flex: 1 1 420px; min-width: 0; }
.h-band-shot { flex: 1 1 420px; min-width: 0; border-radius: 16px; overflow: hidden; box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.08); }
.h-chips { margin-top: 26px; display: flex; flex-wrap: wrap; gap: 8px; padding: 0; list-style: none; }
.h-chips li { border: 1px solid var(--h-band-rule); border-radius: 999px; padding: 8px 14px; font-size: 14px; }

/* Three freedoms */
.h-three { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 40px; padding-top: 120px; }
.h-three h3 { font-size: 22px; font-weight: 650; letter-spacing: -0.01em; }
.h-three p { margin-top: 8px; font-size: 16px; line-height: 1.55; color: var(--h-ink-2); }

/* Pricing */
.h-center { text-align: center; }
.h-center .h-h2, .h-center .h-lead { margin-left: auto; margin-right: auto; }
.h-prices { margin-top: 48px; display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 16px; text-align: left; }
.h-price { background: var(--h-surface); border: 1px solid var(--h-rule); border-radius: 20px; padding: 32px; }
.h-price.featured { background: var(--h-band); color: var(--h-band-ink); border-color: transparent; }
.h-price h3 { font-size: 18px; font-weight: 600; }
.h-price .amount { margin-top: 10px; font-size: 40px; font-weight: 700; letter-spacing: -0.03em; }
.h-price p { margin-top: 14px; font-size: 15px; line-height: 1.6; color: var(--h-ink-2); }
.h-price.featured p { color: var(--h-band-ink-2); }

/* FAQ */
.h-faq { max-width: 860px; }
.h-faq h2 { font-size: 36px; letter-spacing: -0.02em; font-weight: 700; margin-bottom: 24px; }
.h-faq details { border-top: 1px solid var(--h-rule); padding: 20px 0; }
.h-faq details:last-of-type { border-bottom: 1px solid var(--h-rule); }
.h-faq summary { cursor: pointer; font-size: 18px; font-weight: 600; list-style: none; display: flex; justify-content: space-between; gap: 16px; }
.h-faq summary::-webkit-details-marker { display: none; }
.h-faq summary::after { content: "+"; font-weight: 400; color: var(--h-ink-3); }
.h-faq details[open] summary::after { content: "–"; }
.h-faq details p { margin-top: 10px; font-size: 16px; line-height: 1.55; color: var(--h-ink-2); }

/* Final CTA: the launch-list form. Clear of the sticky header when jumped to. */
#notify { scroll-margin-top: 96px; }
.h-cta { padding-block: 120px 104px; text-align: center; }
.h-cta h2 { margin: 0 auto; max-width: 820px; font-size: clamp(36px, 5vw, 64px); line-height: 1; letter-spacing: -0.035em; font-weight: 700; }
.h-cta .h-lead { margin: 18px auto 0; max-width: 560px; }

/* The hidden attribute wins over the flex rows above (unsubscribe page, sent forms). */
.home [hidden] { display: none !important; }

/* iPhone and other phones */
@media (max-width: 640px) {
  .h-hero { padding-block-start: 24px; }
  .h-pill { font-size: 12px; padding: 5px 12px; gap: 6px; line-height: 1.35; }
  .h-hero h1 { margin-top: 20px; }
  .h-soon small { font-size: 10px; }
  .h-soon-platforms { display: none; }
}
