/* Agent Minder home page (index.html only), in the Phase 1 look: Direction B "Precise Ledger" (chosen 14 Oct 2026,
   design/direction_b_2026_10_14/). A white page set on 1px grey rules, the navy band carries the one big line, green
   means "on" or "yes", and dusty rose is kept for one job only: a question is waiting (it appears in the screen
   pictures, never as decoration here). Loaded after styles.css, which holds the base, the font stack (Figtree first,
   from the device only; nothing is downloaded), the wordmark and the honeypot. No web fonts, no third-party requests,
   no inline styles. */
body.home {
  --rule: #D9DFE8;            /* hairline rules */
  --rule-strong: #C3CBD8;     /* outlined buttons and marks */
  --wash2: #F4F6FA;           /* the alternate band */
  --sub: #4B5563;             /* secondary text, 7.6:1 on white */
  --mute: #5F6673;            /* labels at 13px and up: 5.3:1 on the wash, 5.8:1 on white (WCAG AA) */
  --on-navy: #AEB9CB;         /* secondary text on navy, 8.3:1 */
  --green-mark: #16A34A;      /* marks and bars on white (not text) */
  background: var(--paper);
  color: var(--ink);
  font-size: 1rem;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body.home .wrap { max-width: 1120px; padding: 0 24px; }
body.home main { padding: 0; }
body.home a { color: inherit; }
body.home :focus-visible { outline: 3px solid var(--navy); outline-offset: 3px; }
.home .hero :focus-visible, .home .hero-body :focus-visible, .home .foot2 :focus-visible { outline-color: var(--green); }

/* ---- the navy band: navigation, wordmark and the one big line ---- */
.home .hero, .home .hero-body { background: var(--navy); color: #fff; }
.home .hero-body { overflow: hidden; border-bottom: 1px solid var(--navy); }
.home .nav { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 22px 0; }
.home .wordmark { color: #fff; }
.home .links { display: flex; gap: 28px; align-items: center; font-size: 0.95rem; font-weight: 600; }
.home .links a { text-decoration: none; color: var(--on-navy); }
.home .links a:hover { color: #fff; }

/* ---- buttons: 52px and up, under the thumb ---- */
.home .btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 52px;
  font: inherit; font-weight: 700; font-size: 1.0625rem; border-radius: 12px; padding: 14px 22px; text-decoration: none;
  border: 0; cursor: pointer;
}
.home .btn.green { background: var(--green); color: var(--navy); }
.home .links .btn.green { color: var(--navy); }
.home .btn.ghost { background: transparent; color: #fff; box-shadow: inset 0 0 0 1.5px rgba(255, 255, 255, 0.35); }
.home .btn.sm { min-height: 44px; padding: 10px 16px; font-size: 0.95rem; }

/* ---- hero ---- */
.home .hero-body .grid { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 40px; align-items: center;
  padding-top: 40px; padding-bottom: 72px; }
.home .eyebrow { margin: 0; font-size: 0.8125rem; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase;
  color: var(--on-navy); display: flex; align-items: center; gap: 10px; }
.home .eyebrow::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--green); flex: none; }
.home h1 { font-size: 4rem; line-height: 1.04; letter-spacing: -0.03em; margin: 16px 0 18px; color: #fff; font-weight: 700; }
.home .lead { font-size: 1.25rem; color: #DDE5F0; max-width: 540px; margin: 0 0 28px; }
.home .ctas { display: flex; gap: 12px; flex-wrap: wrap; }
.home .small { font-size: 0.875rem; color: var(--on-navy); margin-top: 18px; max-width: 540px; }
.home .small a { color: #fff; }

/* ---- the phone pictures: a thin navy frame on a white page ---- */
.home .phones, .home .duo { position: relative; height: 600px; }
/* the frame's own colour behind the picture, so no light seam shows at a tilted edge (founder, 21 Oct 2026) */
.home .phone { position: absolute; width: 270px; height: 540px; border-radius: 34px; overflow: hidden; background: var(--navy);
  border: 7px solid var(--navy); box-shadow: 0 24px 60px rgba(11, 31, 58, 0.18); }
.home .hero-body .phone { border-color: #1E3352; background: #1E3352; box-shadow: 0 30px 80px rgba(0, 0, 0, 0.45); }
.home .phone img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: top; }
.home .phones .p1, .home .duo .p1 { left: 10px; top: 20px; transform: rotate(-3deg); }
.home .phones .p2, .home .duo .p2 { left: 240px; top: 70px; transform: rotate(3deg); }

/* ---- the five blocks: white and wash bands on rules ---- */
.home .blk { background: var(--paper); color: var(--ink); padding: 96px 0; border-top: 1px solid var(--rule); }
.home .blk.alt { background: var(--wash2); }
.home .blk .grid { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.home .blk.flip .grid > div:first-child { order: 2; }
.home .step { display: inline-flex; align-items: center; gap: 10px; margin: 0; font-size: 0.8125rem; font-weight: 600;
  letter-spacing: 0.08em; text-transform: uppercase; color: var(--mute); }
.home .step .n { min-width: 28px; height: 28px; padding: 0 6px; border-radius: 6px; background: var(--navy); color: #fff;
  display: inline-flex; align-items: center; justify-content: center; letter-spacing: 0; font-weight: 700;
  font-variant-numeric: tabular-nums; }
.home .blk h2 { color: var(--ink); font-size: 3rem; line-height: 1.06; letter-spacing: -0.03em; margin: 16px 0 14px;
  font-weight: 700; }
.home .blk .lede { font-size: 1.2rem; color: var(--sub); margin: 0 0 26px; max-width: 520px; }

/* rows that open below (details and summary: no script needed), set as a ledger */
.home .acc { border-top: 1px solid var(--rule-strong); }
.home .acc .row { border-bottom: 1px solid var(--rule); padding: 16px 0; }
.home .acc summary { display: flex; justify-content: space-between; align-items: center; gap: 16px; font-weight: 700;
  font-size: 1.125rem; min-height: 44px; cursor: pointer; list-style: none; }
.home .acc summary::-webkit-details-marker { display: none; }
.home .acc .pm { flex: none; width: 30px; height: 30px; border-radius: 8px; border: 1.5px solid var(--rule-strong);
  display: flex; align-items: center; justify-content: center; color: var(--navy); font-size: 1.25rem; line-height: 1; }
.home .acc .pm::before { content: "+"; }
.home .acc details[open] .pm { background: var(--navy); color: #fff; border-color: var(--navy); }
.home .acc details[open] .pm::before { content: "\2212"; }
.home .acc .b { margin-top: 6px; color: var(--sub); font-size: 1rem; max-width: 520px; }
.home .acc .ticks { margin: 8px 0 0; padding-left: 1.2em; }
.home .acc .ticks li { margin: 4px 0; }
.home .acc .hl { display: block; margin-top: 12px; padding-top: 10px; border-top: 1px dashed var(--rule);
  font-size: 0.875rem; color: var(--mute); }

/* ---- the tour: a sideways strip without script; one screen at a time with it ---- */
.home .car { display: flex; flex-direction: column; align-items: center; text-align: center; }
.home .car-head .lede { margin: 0 auto 10px; }
.home .car-stage { display: flex; align-items: center; gap: 40px; margin-top: 26px; width: 100%; justify-content: center; }
.home .tour { list-style: none; margin: 0; padding: 0 0 12px; display: flex; gap: 32px; overflow-x: auto;
  scroll-snap-type: x mandatory; max-width: 100%; }
.home .slide { flex: none; width: min(900px, 86vw); scroll-snap-align: center; display: flex; flex-direction: column;
  align-items: center; }
.home.js .tour { overflow: visible; display: block; max-width: 900px; }
.home.js .slide { display: none; width: auto; }
.home.js .slide[aria-current="true"] { display: flex; }
.home .arr { flex: none; width: 60px; height: 60px; border-radius: 50%; border: 1.5px solid var(--rule-strong);
  background: var(--paper); color: var(--navy); font-size: 1.6rem; cursor: pointer; }
.home .arr.next { background: var(--navy); border-color: var(--navy); color: #fff; }
.home .arr[hidden] { display: none; }
.home .car-phone { width: 300px; height: 620px; border-radius: 38px; overflow: hidden; background: var(--navy);
  border: 8px solid var(--navy); box-shadow: 0 24px 60px rgba(11, 31, 58, 0.18); }
.home .car-phone img { width: 100%; height: 100%; object-fit: cover; object-position: top; display: block; }
.home .car-count { margin: 26px 0 0; color: var(--mute); font-size: 0.8125rem; font-weight: 600; letter-spacing: 0.08em;
  text-transform: uppercase; font-variant-numeric: tabular-nums; }
.home .car-count b { color: var(--ink); }
.home .car-text { max-width: 900px; margin-top: 14px; }
.home .car-text h3 { font-size: 1.6rem; margin: 0 0 10px; color: var(--ink); letter-spacing: -0.02em; }
.home .car-what { font-size: 1.125rem; color: var(--sub); margin: 0 auto 24px; max-width: 680px; }
.home .car-points { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 22px; text-align: left; }
.home .car-points li { border-top: 1px solid var(--rule-strong); padding-top: 12px; }
.home .car-points h4 { margin: 0 0 4px; font-size: 1rem; color: var(--ink); }
.home .car-points p { margin: 0; font-size: 0.95rem; color: var(--sub); }
.home .car-live { position: absolute; left: -10000px; }
.home .car-bar { width: 300px; height: 4px; border-radius: 4px; background: var(--rule); margin-top: 30px; overflow: hidden; }
.home .car-bar i { display: block; height: 4px; width: 0; background: var(--green-mark); }

/* ---- founding members and the form ---- */
.home .fm { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 56px; align-items: start; }
.home .perks { list-style: none; padding: 0; display: grid; gap: 0; margin: 26px 0 0; border-top: 1px solid var(--rule-strong); }
.home .perk { display: flex; gap: 14px; align-items: flex-start; border-bottom: 1px solid var(--rule); padding: 18px 0; }
.home .perk .ic { flex: none; width: 32px; height: 32px; border-radius: 6px; background: var(--navy); color: #fff;
  display: flex; align-items: center; justify-content: center; font-weight: 700; font-size: 0.95rem;
  font-variant-numeric: tabular-nums; }
.home .perk h3 { margin: 0 0 3px; font-size: 1.125rem; color: var(--ink); }
.home .perk p { margin: 0; font-size: 0.95rem; color: var(--sub); }
.home .terms { font-size: 0.875rem; color: var(--sub); margin-top: 16px; }
.home .form { background: var(--paper); color: var(--ink); border: 1px solid var(--rule-strong); border-radius: 16px;
  padding: 30px; box-shadow: 0 18px 50px rgba(11, 31, 58, 0.08); }
.home .form a { color: var(--navy); }
.home .form .form-h { margin: 0 0 4px; font-size: 1.5rem; color: var(--ink); letter-spacing: -0.01em; }
.home .form .s { margin: 0 0 18px; padding-bottom: 14px; border-bottom: 1px solid var(--rule); color: var(--sub);
  font-size: 0.95rem; }
.home .form .small { color: var(--sub); border-top: 0; padding-top: 0; margin-top: 14px; }
.home .form .btn { width: 100%; margin-top: 12px; padding: 16px; min-height: 56px; background: var(--navy); color: #fff; }
.home .form .btn:hover { background: #12325C; }
.home .form input[type="email"] { border: 1.5px solid var(--rule-strong); border-radius: 10px; min-height: 52px; }
.home .form input[type="email"]:focus-visible { border-color: var(--navy); }
.home .form input[aria-invalid="true"] { border: 3px solid var(--navy); }
.home .form .btn-hint { width: auto; }

/* the short email box at the top (site.js adds it; it only copies the address into the form below) */
.home .quick-join { max-width: 540px; margin: 0 0 22px; }
.home .quick-join label { display: block; font-weight: 600; margin-bottom: 8px; color: #fff; }
.home .quick-row { display: flex; flex-wrap: wrap; gap: 10px; }
.home .quick-join input { flex: 1 1 240px; min-width: 0; min-height: 52px; font: inherit; color: var(--ink);
  background: var(--paper); border: 2px solid var(--paper); border-radius: 12px; padding: 12px 14px; }
.home .quick-join .btn { flex: 0 0 auto; }
.home .ctas [hidden] { display: none; }

/* ---- footer ---- */
.home .foot2 { background: var(--navy); color: var(--on-navy); font-size: 0.875rem; padding: 28px 0; border-top: 0; }
.home .foot2 a { color: #fff; }

/* ---- phones ---- */
@media (max-width: 760px) {
  body.home .wrap { padding: 0 16px; }
  .home .links a:not(.btn) { display: none; }
  .home .hero-body .grid { grid-template-columns: 1fr; padding-top: 24px; }
  .home h1 { font-size: 2.6rem; }
  .home .lead { font-size: 1.125rem; }
  .home .phones, .home .duo { height: 440px; margin: 0 -16px; overflow: hidden; }
  .home .phone { width: 190px; height: 380px; border-width: 5px; border-radius: 28px; }
  .home .phones .p1, .home .duo .p1 { left: 20px; }
  .home .phones .p2, .home .duo .p2 { left: 160px; top: 50px; }
  .home .blk { padding: 60px 0; }
  .home .blk .grid, .home .fm { grid-template-columns: 1fr; }
  .home .blk.flip .grid > div:first-child { order: 0; }
  .home .blk h2 { font-size: 2.1rem; }
  /* the arrows sit just under the phone picture, as in the approved mockup */
  .home .car-stage { display: block; position: relative; margin-top: 20px; }
  .home .tour { width: 100%; }
  .home.js .car-phone { margin-bottom: 84px; }
  .home .arr { position: absolute; top: calc(min(84vw, 330px) * 2.07 + 16px); }
  .home #prev { right: calc(50% + 8px); }
  .home #next { left: calc(50% + 8px); }
  .home .arr { width: 56px; height: 56px; font-size: 1.4rem; }
  .home .car-phone { width: min(84vw, 330px); height: calc(min(84vw, 330px) * 2.07); border-radius: 34px;
    border-width: 6px; }
  .home .car-count { margin-top: 14px; }
  .home .car-text h3 { font-size: 1.4rem; }
  .home .car-what { font-size: 1rem; margin-bottom: 18px; }
  .home .car-points { grid-template-columns: 1fr; gap: 0; border-bottom: 1px solid var(--rule); }
  .home .car-points li { border-top: 1px solid var(--rule); padding: 12px 0; }
  .home .form { padding: 24px 20px; }
  .home .quick-join .btn { flex: 1 1 100%; }
}

/* ---- the why band (founder, 21 Oct 2026: after the first screen, the problem before the features) ---- */
.home .why h2 { margin: 14px 0 22px; }
.home .why-list { list-style: none; padding: 0; margin: 0; border-top: 1px solid var(--rule-strong); }
.home .why-list li { padding: 16px 0; border-bottom: 1px solid var(--rule); font-size: 1.125rem; color: var(--sub); }
.home .why-list b { color: var(--ink); margin-right: 6px; }
.home .why-bridge { margin: 22px 0 0; font-size: 1.25rem; font-weight: 600; color: var(--ink); }
.home .why-one .p1 { left: 50%; margin-left: -135px; top: 20px; transform: rotate(-2deg); }
@media (max-width: 760px) { .home .why-one .p1 { margin-left: -95px; } }
