/* ═══════════════════════════════════════════════════════════════════════════
   The website's colours: "Care is Covered" (Set 1 of the 2026 brand refresh).

   Written 2026-10-24. The website moved to cream, sun yellow, mint and ink;
   the app keeps its green for now (Michelle's choice). tokens.css stays
   byte-identical between app/ and marketing/, as its header requires, and
   this file sits on top of it on the website only. Every website page links
   it straight after tokens.css. It is not copied into app/.

   It only re-points tokens that already exist, so no page had to learn a new
   name. The greens that used to carry text and buttons now point at ink; the
   pale greens are mint; the neon accent is sun yellow.

   Contrast, measured on --beige (#F7F6F1):
     --ink        #2A2A2A  13.3:1
     --ink-soft   #3E3E3B   9.9:1
     --ink-muted  #5F5E5A   6.0:1   the quietest text allowed
     --icon-quiet #888780   3.3:1   icons and chevrons only, never text
     --neon-edge  #8C7A12   4.0:1   large numerals only (3:1 needed)
   Ink on --neon (sun) is 11.5:1 and on --sage-pale (mint) 10.7:1. Sun on ink,
   the footer's hover colour, is 11.5:1. White on ink, the buttons, 14.4:1.
   ═══════════════════════════════════════════════════════════════════════════ */

:root {
  /* Paper and lines */
  --beige:        #F7F6F1;
  --card:         #FBFAF6;
  --surface:      #ffffff;
  --line:         #E2E1DA;
  --line-strong:  #C9C7BC;

  /* Text */
  --ink:          #2A2A2A;
  --ink-soft:     #3E3E3B;
  --ink-muted:    #5F5E5A;
  --icon-quiet:   #888780;

  /* What used to be the house green now points at ink */
  --teal-deep:    #161616;   /* hover state of ink buttons */
  --sidebar-bg:   #2A2A2A;
  --teal-mid:     #2A2A2A;   /* labels, links, ink buttons (via --sage-dark) */
  --sage:         #9ED3A1;   /* borders, fills and washes. NEVER text */
  --sage-pale:    #C3E8C5;   /* mint */
  --sage-frost:   #EEF8EE;   /* the palest mint wash */

  /* The accent: sun yellow */
  --neon:         #F6E97A;
  --neon-edge:    #8C7A12;
}

/* The menu's Start Free Trial button is sun yellow on the website, with ink
   text (11.5:1). Each page styles .nav-signup with !important, so this uses a
   more specific selector to win; it changes colour only, not size. */
a.nav-signup[href] { background: var(--neon) !important; color: var(--ink) !important; }
a.nav-signup[href]:hover { background: #EAD94F !important; color: var(--ink) !important; }


/* THE PHONE MENU'S TWO BUTTONS, SIDE BY SIDE (Michelle, 2026-10-25).
   They used to stretch nearly the width of the screen, one above the other,
   and read as heavy. Now they sit on one row under the links, at their own
   width, Start Free Trial a little wider for its arrow. 44px tall, the
   smallest comfortable touch target. Every page styles these with
   !important, so these selectors are more specific to win. If the row ever
   runs out of room, the second button wraps underneath rather than clipping.
   The menu still opens and closes the way each page already does it. */
@media (max-width: 1024px) {
  nav .nav-links { flex-direction: row !important; flex-wrap: wrap; align-content: flex-start; padding-bottom: 1rem !important; }
  nav .nav-links > li { flex: 0 0 100%; }
  nav .nav-links > li:has(> .nav-cta),
  nav .nav-links > li:has(> .nav-signup) { flex: 0 0 auto; width: auto !important; margin: 0.6rem 0 0 0.6rem !important; }
  nav .nav-links > li:has(> .nav-cta) { margin-left: 1.5rem !important; }
  nav .nav-links a.nav-cta[href],
  nav .nav-links a.nav-signup[href] {
    display: inline-flex !important; align-items: center; justify-content: center; gap: 0.45rem;
    min-height: 44px; margin: 0 !important; padding: 0 1.25rem !important;
    font-size: 0.85rem !important; letter-spacing: 0.07em !important; line-height: 1 !important;
    border-radius: 999px !important; text-align: center;
  }
  nav .nav-links a.nav-signup[href]::after { content: "\2192"; content: "\2192" / ""; font-size: 1.05em; letter-spacing: 0; }
}
@media (max-width: 360px) {
  nav .nav-links a.nav-cta[href],
  nav .nav-links a.nav-signup[href] { padding: 0 1rem !important; }
}
