/*
 * FarrierFlo marketing site (ADR-044), from the Oct 31 marketing package:
 * docs/design/2026-10-31-marketing-site/ (01-marketing-site.md and
 * prototype/Marketing Site - Web.dc.html). Designed at 1280 and 390; below
 * 900 px the columns stack and the phone sizes apply. Tokens follow the
 * package's design-system/tokens.
 */

:root {
  --navy-950: #0E1B3A;
  --navy-800: #16294F;
  --navy-700: #1E3A6E;
  --navy-50: #EEF2F8;
  --steel-400: #8FA6C8;
  --slate-950: #0F172A;
  --slate-700: #475569;
  --slate-300: #CBD5E1;
  --slate-200: #E2E8F0;
  --slate-100: #F1F5F9;
  --slate-50: #F8FAFC;
  --danger-600: #DC2626;
  --danger-700: #B91C1C;
  --success-600: #16A34A;
  --success-700: #15803D;
  --success-50: #F0FDF4;
  --ease-out: cubic-bezier(.2, .7, .2, 1);
  --pad: 56px;
}

*, *::before, *::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  background: var(--slate-50);
  color: var(--slate-950);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  -webkit-font-smoothing: antialiased;
}

a { color: var(--navy-700); text-decoration: none; }
a:hover { color: var(--navy-800); text-decoration: underline; }
img { display: block; max-width: 100%; }
/* The browser's own [hidden] rule skips SVG elements. */
[hidden] { display: none !important; }
button { font: inherit; }
:focus-visible { outline: 2px solid var(--navy-700); outline-offset: 2px; }
.on-navy :focus-visible { outline-color: #fff; }

.page { display: flex; flex-direction: column; min-height: 100vh; }
.wrap { width: 100%; max-width: 1280px; margin: 0 auto; padding-left: var(--pad); padding-right: var(--pad); }
.visually-hidden {
  position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

/* Type */
.h1 { margin: 0; font-size: 52px; font-weight: 700; line-height: 1.08; letter-spacing: -.02em; text-wrap: balance; }
.page-title { margin: 0; font-size: 44px; font-weight: 700; letter-spacing: -.02em; line-height: 1.15; }
.h2 { margin: 0; font-size: 34px; font-weight: 700; letter-spacing: -.015em; line-height: 1.15; text-wrap: balance; }
.h3 { margin: 0; font-size: 28px; font-weight: 700; letter-spacing: -.01em; line-height: 1.2; text-wrap: balance; }
.eyebrow { margin: 0; font-size: 13px; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; color: var(--navy-700); }
.lead { margin: 0; font-size: 17px; color: var(--slate-700); line-height: 26px; text-wrap: pretty; }
.lead-narrow { max-width: 680px; }
.wordmark { font-weight: 700; letter-spacing: -.01em; }
.wordmark-farrier { color: #fff; }
.wordmark-flo { color: var(--steel-400); }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  border-radius: 10px; font-weight: 700; text-decoration: none; cursor: pointer;
  border: 0; transition: transform .18s, box-shadow .18s, background .18s;
}
.btn:hover { text-decoration: none; }
.btn-white { background: #fff; color: var(--navy-950); }
.btn-white:hover { color: var(--navy-950); transform: translateY(-1px); box-shadow: 0 10px 24px rgba(0, 0, 0, .3); }
.btn-navy { background: var(--navy-700); color: #fff; }
.btn-navy:hover { color: #fff; background: var(--navy-800); transform: translateY(-1px); box-shadow: 0 10px 24px rgba(30, 58, 110, .3); }
.btn-lg { height: 52px; padding: 0 24px; font-size: 17px; }
.btn-outline-steel {
  background: transparent; color: #fff; border: 1px solid var(--steel-400);
  font-weight: 600; transition: background .18s;
}
.btn-outline-steel:hover { color: #fff; background: rgba(143, 166, 200, .14); }

/* Nav */
.nav {
  position: sticky; top: 0; z-index: 20;
  background: var(--navy-950);
  -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
  transition: padding .25s ease, box-shadow .25s ease, background .25s ease;
}
.nav-bar { display: flex; align-items: center; gap: 12px; padding-top: 18px; padding-bottom: 18px; transition: padding .25s ease; }
.nav.is-scrolled { background: rgba(14, 27, 58, .94); box-shadow: 0 8px 24px rgba(14, 27, 58, .35); }
.nav.is-scrolled .nav-bar { padding-top: 12px; padding-bottom: 12px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; }
.brand:hover { text-decoration: none; }
.brand img { width: 32px; height: 32px; }
.brand .wordmark { font-size: 20px; }
.nav-spacer { flex: 1; }
.nav-links { display: flex; align-items: center; gap: 26px; }
.nav-link {
  position: relative; padding: 6px 0; color: #CBD5E1; font-size: 15px; font-weight: 500;
  transition: color .15s;
}
.nav-link:hover { color: #fff; text-decoration: none; }
.nav-link::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -2px; height: 2px; border-radius: 2px;
  background: var(--steel-400); transform: scaleX(0); transform-origin: left; transition: transform .25s ease;
}
.nav-link[aria-current="page"] { color: #fff; font-weight: 600; }
.nav-link[aria-current="page"]::after { transform: scaleX(1); }
.nav-signin { color: #fff; font-weight: 600; font-size: 15px; }
.nav-signin:hover { color: #fff; }
.nav-trial { height: 40px; padding: 0 16px; font-size: 15px; }
.nav-trial:hover { transform: translateY(-1px); box-shadow: 0 6px 18px rgba(0, 0, 0, .25); }
.menu-button {
  display: none; min-width: 44px; min-height: 44px; padding: 0;
  align-items: center; justify-content: flex-end;
  background: none; border: 0; color: #fff; font-size: 15px; font-weight: 600; cursor: pointer;
}
.menu-panel {
  display: none; flex-direction: column; padding: 0 20px 16px;
  background: var(--navy-950); box-shadow: 0 16px 30px rgba(14, 27, 58, .35);
}
.menu-panel a:not(.btn) {
  display: flex; align-items: center; min-height: 48px; border-top: 1px solid var(--navy-700);
  color: #fff; font-size: 17px;
}
.menu-panel .btn { height: 48px; margin-top: 8px; font-size: 16px; }

/* Home hero */
.hero { background: var(--navy-950); color: #fff; }
.hero-inner { display: flex; align-items: center; gap: 48px; padding-top: 48px; padding-bottom: 80px; }
.hero-text { flex: 1 1 380px; min-width: 0; display: flex; flex-direction: column; gap: 20px; }
.hero-eyebrow { margin: 0; font-size: 13px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--steel-400); }
.hero-body { margin: 0; font-size: 18px; color: #CBD5E1; line-height: 28px; text-wrap: pretty; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 10px; }
.hero-note { margin: 0; display: flex; flex-wrap: wrap; gap: 16px; font-size: 14px; color: #CBD5E1; }
.hero-note .dot { color: var(--steel-400); }
.hero-visual { flex: 0 1 640px; min-width: 0; position: relative; aspect-ratio: 640 / 470; }
.hero-visual .browser { position: absolute; top: 0; right: 0; width: 93.75%; border-color: var(--navy-700); box-shadow: 0 30px 80px rgba(0, 0, 0, .45); }
.hero-visual .browser:hover { transform: none; box-shadow: 0 30px 80px rgba(0, 0, 0, .45); }
.hero-phone-slot { position: absolute; left: 0; bottom: -5.1%; width: 28.9%; }
.hero-phone-slot .phone { width: 100%; height: auto; aspect-ratio: 185 / 400; box-shadow: 0 24px 60px rgba(0, 0, 0, .5); }
.hero-phone-only { display: none; }

/* Device frames: CSS, never baked into the image */
.browser {
  background: #fff; border: 1px solid var(--slate-300); border-radius: 12px; overflow: hidden;
  box-shadow: 0 24px 60px rgba(15, 23, 42, .16); transition: transform .35s ease, box-shadow .35s ease;
}
.browser:hover { transform: translateY(-4px); box-shadow: 0 32px 70px rgba(15, 23, 42, .22); }
.browser-bar {
  height: 28px; display: flex; align-items: center; gap: 6px; padding: 0 12px;
  background: var(--slate-100); border-bottom: 1px solid var(--slate-200);
}
.hero .browser-bar { height: 30px; }
.browser-dot { width: 9px; height: 9px; border-radius: 50%; background: var(--slate-300); flex: none; }
.browser-url-slot { flex: 1; display: flex; justify-content: center; }
.browser-url {
  height: 17px; padding: 0 14px; border-radius: 6px; background: #fff; border: 1px solid var(--slate-200);
  font-size: 11px; color: var(--slate-700); display: flex; align-items: center;
}
.hero .browser-url { height: 18px; }
.browser-balance { width: 39px; flex: none; }
.browser-screen { aspect-ratio: 1280 / 800; background: var(--slate-50); }
.phone {
  border-radius: 26px; overflow: hidden; border: 6px solid var(--slate-950);
  background: var(--slate-50); box-shadow: 0 24px 50px rgba(15, 23, 42, .28);
}
.shot { width: 100%; height: 100%; object-fit: cover; object-position: top; }

/* Sections */
.section { display: flex; flex-direction: column; gap: 20px; padding-top: 64px; padding-bottom: 64px; }
.section-tight { display: flex; flex-direction: column; gap: 72px; padding-top: 24px; padding-bottom: 72px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.grid-2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }

.card {
  background: #fff; border: 1px solid var(--slate-300); border-radius: 14px;
}
.feature {
  padding: 22px; display: flex; flex-direction: column; gap: 8px;
  transition: transform .25s ease, box-shadow .25s ease, border-color .25s;
}
.feature:hover { transform: translateY(-3px); box-shadow: 0 14px 30px rgba(15, 23, 42, .10); border-color: var(--steel-400); }
.feature-number {
  width: 32px; height: 32px; border-radius: 9px; background: var(--navy-50); color: var(--navy-700);
  font-size: 14px; font-weight: 700; display: flex; align-items: center; justify-content: center;
}
.feature-title { margin: 6px 0 0; font-size: 18px; font-weight: 600; }
.feature-body { margin: 0; font-size: 15px; color: var(--slate-700); line-height: 22px; text-wrap: pretty; }

.intro { display: flex; flex-direction: column; gap: 10px; max-width: 640px; }
.spot { display: flex; align-items: center; gap: 56px; }
.spot-flip { flex-direction: row-reverse; }
.spot-text { flex: 1 1 360px; min-width: 0; display: flex; flex-direction: column; gap: 12px; }
.spot-body { margin: 0; font-size: 16px; color: var(--slate-700); line-height: 25px; text-wrap: pretty; }
.spot-shot { flex: 0 1 660px; min-width: 0; }

.checks { margin: 4px 0 0; padding: 0; list-style: none; display: flex; flex-direction: column; gap: 8px; }
.checks li { display: flex; align-items: flex-start; gap: 10px; font-size: 15px; line-height: 22px; }
.check {
  flex: none; width: 20px; height: 20px; margin-top: 1px; border-radius: 50%;
  background: var(--navy-50); color: var(--navy-700); font-size: 12px; font-weight: 700;
  display: flex; align-items: center; justify-content: center;
}

.quote-band { background: var(--navy-50); padding-top: 64px; padding-bottom: 64px; }
.quote { margin: 0; display: flex; flex-direction: column; gap: 14px; max-width: 780px; }
.quote-mark { font-size: 44px; line-height: 30px; color: var(--steel-400); font-family: Georgia, serif; }
.quote-text { margin: 0; font-size: 26px; line-height: 1.4; font-weight: 600; letter-spacing: -.01em; text-wrap: pretty; }
.quote-by { display: flex; align-items: center; gap: 12px; }
.quote-initials {
  width: 40px; height: 40px; border-radius: 50%; background: var(--navy-700); color: #fff;
  font-size: 15px; font-weight: 700; display: flex; align-items: center; justify-content: center;
}
.quote-who { display: flex; flex-direction: column; }
.quote-name { font-size: 15px; font-weight: 600; }
.quote-business { font-size: 14px; color: var(--slate-700); }

/* How it works */
.steps { display: flex; flex-direction: column; margin: 12px 0 0; padding: 0; list-style: none; }
.step { display: flex; align-items: flex-start; gap: 32px; padding-bottom: 48px; }
.step-rail { flex: none; width: 40px; align-self: stretch; display: flex; flex-direction: column; align-items: center; }
.step-dot {
  flex: none; width: 40px; height: 40px; border-radius: 50%; background: var(--navy-700); color: #fff;
  font-size: 16px; font-weight: 700; display: flex; align-items: center; justify-content: center;
  box-shadow: 0 0 0 6px var(--slate-50);
}
.step-line { flex: 1; width: 2px; background: var(--slate-300); margin: 8px 0; }
.step:last-child .step-line { background: none; }
.step-text { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 8px; padding-top: 6px; }
.step-title { margin: 0; font-size: 26px; font-weight: 700; letter-spacing: -.01em; }
.step-shot { flex: none; width: 203px; height: 440px; margin: 0 auto; }

/* Pricing */
.cycle {
  position: relative; display: flex; align-self: flex-start; padding: 3px;
  border: 1px solid var(--slate-300); border-radius: 10px; background: #fff;
}
.cycle-pill {
  position: absolute; top: 3px; bottom: 3px; left: 3px; width: 86px; border-radius: 7px; background: var(--navy-700);
  transition: transform .3s var(--ease-out), width .3s var(--ease-out);
}
[data-cycle="yearly"] .cycle-pill { width: 182px; transform: translateX(86px); }
.cycle-option {
  position: relative; min-height: 38px; padding: 0; border: 0; background: none; cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  font-size: 14px; font-weight: 600; color: var(--slate-700); transition: color .2s;
}
.cycle-monthly { width: 86px; }
.cycle-yearly { width: 182px; }
.cycle-option[aria-pressed="true"] { color: #fff; }
.plan {
  padding: 24px; display: flex; flex-direction: column; gap: 12px;
  transition: transform .25s ease, box-shadow .25s ease;
}
.plan:hover { transform: translateY(-3px); box-shadow: 0 18px 40px rgba(15, 23, 42, .12); }
.plan-featured { border: 2px solid var(--navy-700); }
.plan-head { display: flex; align-items: center; gap: 10px; }
.plan-name { margin: 0; font-size: 20px; font-weight: 700; }
.plan-tag {
  height: 24px; padding: 0 10px; border-radius: 999px; background: var(--navy-50); color: var(--navy-700);
  font-size: 12px; font-weight: 700; display: flex; align-items: center;
}
.plan-price { display: flex; align-items: baseline; gap: 6px; }
.plan-amount { font-size: 40px; font-weight: 700; letter-spacing: -.02em; }
.plan-per { font-size: 15px; color: var(--slate-700); }
.plan-billed { font-size: 14px; color: var(--slate-700); }
.plan-texts { padding-top: 10px; border-top: 1px solid var(--slate-200); font-size: 16px; font-weight: 600; }
.plan-cta {
  height: 48px; margin-top: 6px; border-radius: 10px; font-size: 16px; font-weight: 600;
  display: flex; align-items: center; justify-content: center; text-decoration: none; transition: background .18s;
  background: var(--slate-100); border: 1px solid var(--slate-300); color: var(--slate-950);
}
.plan-cta:hover { background: var(--slate-200); color: var(--slate-950); text-decoration: none; }
.plan-featured .plan-cta { background: var(--navy-700); border: 0; color: #fff; }
.plan-featured .plan-cta:hover { background: var(--navy-800); color: #fff; }
.monthly-only, .yearly-only { display: flex; flex-direction: column; gap: 12px; }
[data-cycle="monthly"] .yearly-only,
[data-cycle="yearly"] .monthly-only { display: none; }
.includes { padding: 22px; display: flex; flex-direction: column; gap: 14px; }
.includes-title { margin: 0; font-size: 18px; font-weight: 700; }
.includes .checks { margin: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.footnote { margin: 0; font-size: 13px; color: var(--slate-700); line-height: 19px; }

/* Questions */
.faq { overflow: hidden; }
.faq-item { border-bottom: 1px solid var(--slate-200); transition: background .15s; }
.faq-item:last-child { border-bottom: 0; }
.faq-item:hover { background: var(--slate-50); }
.faq-question {
  display: flex; align-items: center; gap: 12px; padding: 18px 20px; cursor: pointer; list-style: none;
  font-size: 17px; font-weight: 600;
}
.faq-question::-webkit-details-marker { display: none; }
.faq-question-text { flex: 1; }
.faq-mark {
  flex: none; width: 28px; height: 28px; border-radius: 50%; background: var(--navy-50); color: var(--navy-700);
  font-size: 18px; font-weight: 400; display: flex; align-items: center; justify-content: center;
  transition: transform .3s ease, background .2s, color .2s;
}
.faq-item[open] .faq-mark { transform: rotate(45deg); background: var(--navy-700); color: #fff; }
.faq-answer { overflow: hidden; margin-top: -8px; }
.faq-answer p { margin: 0; padding: 0 20px 18px; font-size: 15px; color: var(--slate-700); line-height: 23px; text-wrap: pretty; }
.faq-more { margin: 0; font-size: 15px; color: var(--slate-700); }
.faq-more a { font-weight: 600; }

/* Contact */
.contact-form { padding: 22px; display: flex; flex-direction: column; gap: 14px; }
.contact-form-fields { position: relative; display: flex; flex-direction: column; gap: 14px; }
.field { display: flex; flex-direction: column; gap: 6px; }
.field-label { font-size: 12px; font-weight: 600; text-transform: uppercase; letter-spacing: .06em; color: var(--slate-700); }
.input {
  width: 100%; height: 48px; padding: 0 14px; border: 1px solid var(--slate-300); border-radius: 10px;
  background: #fff; color: var(--slate-950); font-size: 16px; font-family: inherit; outline: none;
  transition: border-color .15s, box-shadow .15s;
}
textarea.input { height: auto; padding: 12px 14px; resize: vertical; }
.input:focus { border-color: var(--navy-700); box-shadow: 0 0 0 3px rgba(30, 58, 110, .15); }
.input[aria-invalid="true"] { border-color: var(--danger-600); }
.field-error { font-size: 13px; font-weight: 600; color: var(--danger-700); }
.send {
  height: 48px; border-radius: 10px; border: 0; background: var(--navy-700); color: #fff;
  font-size: 16px; font-weight: 600; cursor: pointer; transition: background .18s, opacity .2s;
}
.send:hover { background: var(--navy-800); }
.send[disabled] { opacity: .7; cursor: default; }
.honeypot { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.sent {
  min-height: 300px; display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 12px; text-align: center;
}
.sent-mark {
  width: 52px; height: 52px; border-radius: 50%; background: var(--success-50); border: 1px solid var(--success-600);
  color: var(--success-600); font-size: 24px; font-weight: 700; display: flex; align-items: center; justify-content: center;
}
.sent-title { margin: 0; font-size: 20px; font-weight: 700; }
.sent-body { margin: 0; font-size: 15px; color: var(--slate-700); line-height: 22px; max-width: 300px; }
.sent-again { min-height: 44px; display: flex; align-items: center; font-size: 15px; font-weight: 600; }
.ways { margin: 0; display: flex; flex-direction: column; gap: 18px; }
.way { display: flex; flex-direction: column; gap: 4px; padding-bottom: 18px; border-bottom: 1px solid var(--slate-200); }
.way dt { font-size: 12px; font-weight: 600; text-transform: uppercase; letter-spacing: .06em; color: var(--slate-700); }
.way dd { margin: 0; font-size: 17px; font-weight: 600; color: var(--slate-950); }
.way dd a { color: var(--slate-950); }

/* Trial band and footer */
.trial-band { background: #fff; border-top: 1px solid var(--slate-200); padding-top: 72px; padding-bottom: 72px; }
.trial-inner { display: flex; flex-direction: column; align-items: center; gap: 14px; text-align: center; }
.trial-inner .btn { height: 52px; padding: 0 26px; margin-top: 6px; font-size: 17px; }
.footer { margin-top: auto; background: var(--navy-950); }
.footer-inner { display: flex; flex-direction: column; gap: 28px; padding-top: 48px; padding-bottom: 28px; }
.footer-top { display: flex; flex-wrap: wrap; gap: 64px; }
.footer-brand { display: flex; flex-direction: column; gap: 10px; min-width: 220px; }
.footer-brand .brand img { width: 28px; height: 28px; }
.footer-brand .wordmark { font-size: 17px; }
.footer-tagline { margin: 0; font-size: 15px; color: #CBD5E1; }
.footer-col { display: flex; flex-direction: column; gap: 10px; min-width: 120px; }
.footer-heading { margin: 0; font-size: 12px; font-weight: 600; text-transform: uppercase; letter-spacing: .08em; color: var(--steel-400); }
.footer-col a, .footer-col span { font-size: 14px; color: #CBD5E1; transition: color .15s; }
.footer-col a:hover { color: #fff; text-decoration: none; }
.footer-bottom {
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px;
  padding-top: 18px; border-top: 1px solid var(--navy-700); font-size: 13px; color: #CBD5E1;
}
.footer-bottom a { color: #CBD5E1; }
.footer-bottom a:hover { color: #fff; }

/* Holding page */
.holding { align-items: flex-start; }
.holding .btn { height: 48px; padding: 0 22px; font-size: 16px; font-weight: 600; margin-top: 6px; }

/* Signup (Oct 31 `signup`, `signup-390`; M4 03): the navy panel and the form column */
.signup { display: flex; min-height: 100vh; }
.signup-panel {
  flex: none; width: 420px; padding: 48px 40px; background: var(--navy-950); color: #fff;
  display: flex; flex-direction: column; gap: 14px;
}
.signup-panel img { width: 44px; height: 44px; }
.signup-panel-title { margin: 0; font-size: 26px; font-weight: 700; line-height: 1.25; }
.signup-panel-body { margin: 0; font-size: 15px; color: #CBD5E1; line-height: 22px; }
.signup-main { flex: 1; min-width: 0; display: flex; justify-content: center; padding: 32px 20px; }
.signup-column { width: 380px; max-width: 100%; display: flex; flex-direction: column; gap: 12px; }
.signup-narrow-head { display: none; flex-direction: column; gap: 6px; }
.signup-narrow-title, .signup-title { margin: 0; font-size: 22px; font-weight: 700; line-height: 28px; }
.signup-narrow-body { margin: 0; font-size: 14px; color: var(--slate-700); }
.signup-line { margin: 0; font-size: 15px; color: var(--slate-700); line-height: 22px; }
.provider {
  height: 48px; border-radius: 10px; font-size: 15px; font-weight: 600;
  display: flex; align-items: center; justify-content: center; transition: background .18s;
}
.provider:hover { text-decoration: none; }
.provider-apple { background: var(--slate-950); color: #fff; }
.provider-apple:hover { background: #1E293B; color: #fff; }
.provider-google { background: #fff; border: 1px solid var(--slate-300); color: var(--slate-950); }
.provider-google:hover { background: var(--slate-100); color: var(--slate-950); }
.or-line { display: flex; align-items: center; gap: 10px; font-size: 12px; color: #64748B; }
.or-line::before, .or-line::after { content: ""; flex: 1; height: 1px; background: var(--slate-300); }
.signup-form { position: relative; display: flex; flex-direction: column; gap: 12px; }
.signup-form .field { gap: 4px; }
.rules { margin: -4px 0 0; padding: 0; list-style: none; display: flex; flex-direction: column; gap: 4px; }
.rules li { font-size: 13px; font-weight: 600; line-height: 18px; color: var(--slate-700); }
.rules li.is-met { color: var(--success-700); }
.rules.is-tried li:not(.is-met) { color: var(--danger-700); }
.signup-send { margin-top: 4px; }
.signup-terms { margin: 0; font-size: 13px; color: var(--slate-700); line-height: 18px; }
.signup-foot { margin: 0; font-size: 14px; }
.signup-foot a, .signup-terms a, .field-error a { font-weight: 600; }

/* Password screen (the web sign-in look) */
.gate { display: flex; min-height: 100vh; }
.gate-side {
  flex: none; width: 400px; padding: 0 40px; background: var(--navy-950);
  display: flex; flex-direction: column; justify-content: center;
}
.gate-side img { width: 48px; height: 48px; }
.gate-side .wordmark { margin-top: 14px; font-size: 30px; }
.gate-head { display: none; }
.gate-main { flex: 1; min-width: 0; display: flex; align-items: center; justify-content: center; padding: 32px 20px; }
.gate-card { width: 400px; max-width: 100%; padding: 28px; display: flex; flex-direction: column; gap: 10px; }
.gate-title { margin: 0; font-size: 22px; font-weight: 700; }
.gate-body { margin: 0; font-size: 15px; color: var(--slate-700); line-height: 22px; }
.gate-card .field-label { margin-top: 6px; }
.password-box { position: relative; }
.password-box .input { padding-right: 52px; }
.password-toggle {
  position: absolute; top: 2px; right: 2px; width: 44px; height: 44px; padding: 0;
  display: flex; align-items: center; justify-content: center;
  background: none; border: 0; border-radius: 8px; color: var(--slate-700); cursor: pointer;
}
.gate-card .send { margin-top: 6px; }
.gate-help { margin: 8px 0 0; font-size: 14px; color: var(--slate-700); text-align: center; line-height: 20px; }
.gate-help a { font-weight: 600; }

/* Entrance motion: only once site.js has turned it on (never under reduced motion) */
.motion [data-reveal] { opacity: 0; }
.motion [data-reveal].is-in { opacity: 1; }
.motion .shot { opacity: 0; transition: opacity .6s ease; }
.motion .shot.is-loaded { opacity: 1; }

/* Below about 900 px: one column and the phone sizes */
/* Legal pages: one readable column of plain text */
.legal { gap: 14px; }
.legal > * { max-width: 760px; }
.legal-updated { margin: 0; font-size: 14px; color: var(--slate-700); }
.legal h2 { margin: 18px 0 0; font-size: 22px; font-weight: 700; letter-spacing: -.01em; line-height: 1.3; }
.legal p, .legal li { margin: 0; font-size: 16px; color: var(--slate-700); line-height: 26px; text-wrap: pretty; }
.legal ul { margin: 0; padding-left: 22px; display: flex; flex-direction: column; gap: 8px; }
.legal strong { color: var(--slate-950); }
.legal a { text-decoration: underline; text-underline-offset: 2px; }

@media (max-width: 899px) {
  :root { --pad: 20px; }
  .nav-bar { padding-top: 12px; padding-bottom: 12px; }
  .nav.is-scrolled .nav-bar { padding-top: 12px; padding-bottom: 12px; }
  .nav-links { display: none; }
  .menu-button { display: flex; }
  .menu-panel.is-open { display: flex; }

  .hero-inner { flex-direction: column; align-items: stretch; gap: 28px; padding-top: 24px; padding-bottom: 40px; }
  .hero-text { flex: none; }
  .h1 { font-size: 34px; }
  .hero-actions { flex-direction: column; }
  .hero-visual { display: none; }
  .hero-phone-only { display: block; width: 213px; height: 460px; margin: 8px auto 0; box-shadow: 0 24px 60px rgba(0, 0, 0, .5); }

  .page-title { font-size: 32px; }
  .h2 { font-size: 26px; }
  .h3 { font-size: 23px; }
  .section { padding-top: 32px; padding-bottom: 32px; }
  .section-tight { gap: 40px; padding-top: 12px; padding-bottom: 40px; }
  .grid-3, .grid-2, .includes .checks { grid-template-columns: 1fr; }
  .spot, .spot-flip { flex-direction: column; align-items: stretch; gap: 20px; }
  .spot-text, .spot-shot { flex: none; width: 100%; }
  .quote-band { padding-top: 32px; padding-bottom: 32px; }
  .quote-text { font-size: 21px; }

  .step { flex-direction: column; align-items: stretch; gap: 14px; padding-bottom: 36px; }
  .step-rail { display: none; }
  .step-shot { width: 194px; height: 420px; }

  .trial-band { padding-top: 40px; padding-bottom: 40px; }
  .footer-inner { padding-top: 32px; padding-bottom: 24px; }
  .footer-top { flex-direction: column; gap: 28px; }

  .signup-panel { display: none; }
  .signup-narrow-head { display: flex; }
  .signup-title { display: none; }

  .gate { flex-direction: column; }
  .gate-side { display: none; }
  .gate-head { display: flex; padding: 12px 20px; background: var(--navy-950); }
}

/* Reduced motion: no entrance, parallax, lifts or slides; colour changes stay */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition-property: color, background-color, border-color, opacity !important; }
  .btn:hover, .feature:hover, .browser:hover, .plan:hover, .nav-trial:hover { transform: none; }
}
