/* ====================================================================
 * DoggED SecurITy marketing site -- shared stylesheet
 * ====================================================================
 *
 * Lifted verbatim out of the <style> block that used to live inside
 * index.html. It was inline because Google Sites required a single
 * pasteable file; now that Caddy serves these pages that constraint
 * is gone, and every page can share one stylesheet instead of each
 * carrying its own copy of the design tokens and drifting apart.
 *
 * Moved byte-for-byte on purpose. Separating "shared" rules from
 * homepage-only ones (.hero, .carousel, .value-row, .cta-final) is a
 * judgment call per rule, and the max-width:860px block at the bottom
 * mixes both -- a refactor with real risk of visual regression on a
 * page that was already signed off. The legal pages download a few
 * unused KB; that costs nothing. Split it later if it grows.
 *
 * Every page links this as /assets/site.css -- root-relative, so the
 * same markup works on web.doggedsecurity.net and on the apex.
 * ==================================================================== */

  :root {
    --bg: #2F2D2E;
    --panel: #3A3738;
    --header-bg: #201F1F;
    --gold: #CDA04D;
    --gold-soft: rgba(205,160,77,0.14);
    --gold-hover: #B8903F;
    /* GOLD FOR LIGHT SURFACES. --gold is tuned for this page's dark
       panels, where it reaches 4.90:1. On white it falls to about
       2.1:1, under even the 3:1 a graphic needs, so a gold mark on a
       white card reads as washed out rather than as brand. Same hue,
       5.3:1 on white. Named for the job, per the naming rule in the
       build guide's canonical facts. */
    --gold-ink: #8A6520;
    --text-primary: #F5F3F0;
    --text-secondary: #A8A29B;
    --text-muted: #6E6862;
    --border: #4A4645;
  }

  * { box-sizing: border-box; }

  body {
    margin: 0;
    background: var(--bg);
    color: var(--text-primary);
    font-family: 'IBM Plex Sans', -apple-system, sans-serif;
    line-height: 1.5;
  }

  a { color: inherit; }

  .wrap { max-width: 1180px; margin: 0 auto; padding: 0 32px; }

  @media (prefers-reduced-motion: reduce) {
    * { animation: none !important; transition: none !important; }
  }

  /* ---------- Top bar ---------- */
  .topbar {
    background: var(--header-bg);
    padding: 20px 0;
  }
  .topbar .wrap { display: flex; align-items: center; justify-content: space-between; }
  .brand {
    font-size: 19px;
    font-weight: 700;
    letter-spacing: 0.2px;
    display: flex;
    align-items: center;
    gap: 10px;
  }
  /* No border-radius: the mark carries its own transparent edge, and
     rounding a logo that is already shaped crops it. */
  .brand-mark { display: block; width: 34px; height: 34px; }
  .brand .accent { color: var(--gold); }
  .topbar-cta {
    font-size: 13.5px;
    font-weight: 600;
    color: var(--gold);
    border: 1px solid var(--gold);
    border-radius: 6px;
    padding: 8px 16px;
    text-decoration: none;
  }
  .topbar-cta:hover { background: var(--gold-soft); }

  /* ---------- Hero ---------- */
  .hero { padding: 76px 0 56px; }
  .hero .wrap {
    display: grid;
    /* THE COPY GETS THE LARGER SHARE, reversed 2026-10-22 when the
       form replaced the screenshot. A screenshot earns extra width
       because it is evidence and it has detail to show. A form of
       three inputs does not -- given 1.15fr it simply grew, and
       squeezed the headline, which is the actual pitch, into three
       cramped lines beside it. */
    grid-template-columns: 1.15fr 1fr;
    gap: 56px;
    /* TOP-ALIGNED, not centred. With two columns of unequal height,
       centring splits the difference and opens a void ABOVE and
       BELOW the shorter one. Aligning to the top puts all the slack
       in one place, at the bottom, where it reads as deliberate
       space rather than as something missing. */
    align-items: start;
  }
  .hero h1 {
    font-size: 44px;
    line-height: 1.18;
    font-weight: 700;
    margin: 0 0 22px;
    letter-spacing: -0.3px;
  }
  /* SCOPED TO THE COPY COLUMN, 2026-10-23.
   *
   * Written as ".hero p" this reached every paragraph in the hero,
   * including the preview card's eyebrow -- and an element plus a
   * class (0,1,1) outranks a class on its own (0,1,0), so it beat
   * .dogged-preview__eyebrow regardless of source order. The gold,
   * the zero margin and the font size set on that class never
   * applied at all; the card was quietly rendering hero body copy.
   *
   * It survived three rounds of changes to that card because the
   * stylesheet looked right. It was found by reading the COMPUTED
   * style in the browser, which is the only place the winner of a
   * specificity contest is visible. */
  .hero-copy p {
    font-size: 17px;
    color: var(--text-secondary);
    max-width: 46ch;
    margin: 0 0 32px;
  }
  .hero-ctas { display: flex; gap: 14px; align-items: center; flex-wrap: wrap; }
  .btn-primary {
    background: var(--gold);
    color: #201F1F;
    font-weight: 600;
    font-size: 15px;
    padding: 13px 24px;
    border-radius: 7px;
    text-decoration: none;
    display: inline-block;
  }
  .btn-primary:hover { background: var(--gold-hover); }
  .btn-secondary {
    background: none;
    border: none;
    padding: 0;
    font-family: inherit;
    color: var(--text-primary);
    font-size: 15px;
    font-weight: 500;
    cursor: pointer;
    border-bottom: 1px solid var(--text-muted);
    padding-bottom: 2px;
  }
  .btn-secondary:hover { border-color: var(--text-primary); }

  /* ------------------------------------------------------------------
   * The hero screenshot, built as a lit object rather than a bordered
   * rectangle. Revised 2026-10-22: the first pass added a gold ring
   * and a bigger shadow, which made it larger without making it look
   * like a thing.
   *
   * Four cues, each doing one job:
   *
   *   A LIT FRAME. No physical object is one flat colour. The
   *   gradient runs light at the top-left to dark at the bottom-right,
   *   and the inset white hairline on the top edge is the light
   *   catching the lip of the frame. That highlight is the strongest
   *   single 3-D cue available in CSS and costs one line.
   *
   *   A RECESS -- the shadow box. ::after lays an inset shadow over
   *   the image edge so the screenshot sits DOWN INSIDE the frame
   *   like glass in a mount, instead of being painted onto its face.
   *
   *   LAYERED ELEVATION. One large blur reads as fog. Real height is
   *   three shadows: a tight contact shadow holding it to the page, a
   *   mid shadow, and a wide ambient one.
   *
   *   A COOLER BACKDROP. ::before pools a desaturated cool tone
   *   behind the frame and nothing else. Warm advances and cool
   *   recedes, which is why product photography lights a warm subject
   *   against cool ambient -- the gold now sits forward of its
   *   surroundings instead of floating on a background of almost
   *   exactly its own temperature. Deliberately temperature and not
   *   hue: actual blue would read as a second brand colour.
   *
   * NO TILT. A perspective turn was tried on 2026-10-22 and removed
   * the same evening: it reads as depth on a photograph, where the
   * eye expects an object sitting on a surface, and as a mistake on
   * a form, where every input is a straight line the viewer tracks
   * along. The lighting, the rings and the recess carry the depth on
   * their own, and the perspective() wrapper went with it since
   * nothing is left for it to project.
   * ------------------------------------------------------------------ */
  .hero-shot {
    position: relative;
    z-index: 0;
    background: linear-gradient(158deg, #474340 0%, #3A3738 55%, #332F30 100%);
    border: 1px solid rgba(205,160,77,0.34);
    border-radius: 14px;
    padding: 10px;
    /* TWO gold rings, not one. Turning a single ring up just makes it
       harder and thinner-looking; a crisp 1px edge with a soft 5px
       halo outside it gives the gold thickness, the way a bevel
       catches light along its whole lip rather than at one line.
       Raised 2026-10-22 on Jay's eye. */
    box-shadow:
      inset 0 1px 0 rgba(255,255,255,0.11),
      0 0 0 1px rgba(205,160,77,0.58),
      0 0 0 5px rgba(205,160,77,0.10),
      0 2px 4px rgba(0,0,0,0.45),
      0 10px 20px rgba(0,0,0,0.38),
      0 34px 70px rgba(0,0,0,0.55),
      0 0 110px -12px rgba(205,160,77,0.45);
    transform: scale(1.03);
  }

  /* The cool pool. Sits behind the frame's own background, inside the
     stacking context the z-index above creates, so it can never slide
     over the page or under the body. */
  .hero-shot::before {
    content: '';
    position: absolute;
    inset: -16% -12%;
    z-index: -1;
    background: radial-gradient(58% 58% at 52% 44%,
      rgba(62,72,94,0.55) 0%,
      rgba(62,72,94,0.22) 45%,
      rgba(47,45,46,0) 72%);
    pointer-events: none;
  }

  /* The recess. inset matches the 10px padding, so the shadow falls
     exactly on the screenshot's edge. A box-shadow set directly on an
     img draws behind the image in several browsers, which is why this
     is an overlay and not a rule on the img. */
  .hero-shot::after {
    content: '';
    position: absolute;
    inset: 10px;
    border-radius: 8px;
    /* Deepened 2026-10-22. The shadow falls from the TOP edge because
       the frame is lit from above, and the hairline along the bottom
       is the floor of the recess catching that same light. Darkness
       alone reads as a smudge; darkness with one lit edge reads as
       depth. */
    box-shadow:
      inset 0 4px 20px rgba(0,0,0,0.72),
      inset 0 -1px 0 rgba(255,255,255,0.05),
      inset 0 0 0 1px rgba(0,0,0,0.50);
    pointer-events: none;
  }

  .hero-shot img { display: block; width: 100%; border-radius: 8px; }

  /* ---------- The demo form, inside the hero frame ----------
   *
   * It reuses .hero-shot so the lit frame, the gold rings and the
   * elevation are identical to what held the screenshot -- the form
   * should read as the same object, not as a panel that replaced one.
   *
   * The deep recess is toned down here. Over a photograph it reads as
   * glass set into a mount; over input fields it just darkens their
   * edges and makes the form look unlit.
   */
  /* Tightened 2026-10-22 when the preview card joined it in this
     column. The form is the ask, not the exhibit -- it only needs to
     be big enough to fill in. */
  .hero-shot--form { padding: 22px 20px 18px; }
  .hero-shot--form::after {
    box-shadow: inset 0 0 0 1px rgba(0,0,0,0.32);
  }

  .demo-form h2 {
    font-size: 23px;
    font-weight: 700;
    margin: 0 0 6px;
    letter-spacing: -0.2px;
  }
  .demo-form-sub {
    font-size: 15px;
    color: var(--text-secondary);
    margin: 0 0 18px;
  }
  .demo-form label {
    display: block;
    font-size: 14px;
    font-weight: 600;
    color: var(--text-secondary);
    margin: 0 0 6px;
  }
  .demo-form input[type="text"],
  .demo-form input[type="email"],
  .demo-form input[type="tel"],
  .demo-form select,
  .demo-form textarea,
  .contact-modal input[type="text"],
  .contact-modal input[type="email"],
  .contact-modal textarea {
    display: block;
    width: 100%;
    font-family: inherit;
    font-size: 16px;
    color: var(--text-primary);
    background: rgba(0,0,0,0.26);
    border: 1px solid var(--border);
    border-radius: 7px;
    padding: 11px 13px;
    margin: 0 0 14px;
  }
  .demo-form textarea { min-height: 92px; resize: vertical; }

  /* The focus ring is the brand gold rather than the browser default.
     Deliberately a ring and not just a border colour: a 1px border
     change is easy to miss, and this is the only indicator a keyboard
     user gets. */
  .demo-form input:focus,
  .demo-form select:focus,
  .demo-form textarea:focus,
  .contact-modal input:focus,
  .contact-modal textarea:focus {
    outline: none;
    border-color: var(--gold);
    box-shadow: 0 0 0 3px var(--gold-soft);
  }

  .demo-form-submit {
    width: 100%;
    border: none;
    cursor: pointer;
    font-family: inherit;
    font-size: 16.5px;
    padding: 15px 24px;
  }
  .demo-form-submit:disabled { opacity: 0.6; cursor: default; }

  .demo-form-status { font-size: 14px; margin: 14px 0 0; color: var(--text-secondary); }
  .demo-form-status.is-error { color: var(--critical, #F69296); }

  .demo-form-foot { font-size: 13px; color: var(--text-muted); margin: 14px 0 0; }
  .demo-form-foot a { color: var(--gold); text-decoration: underline; text-underline-offset: 2px; }

  /* The honeypot. Off-screen rather than display:none, because some
     bots skip hidden inputs and a few browsers skip them too. */
  .hp {
    position: absolute;
    left: -9999px;
    width: 1px;
    height: 1px;
    overflow: hidden;
  }

  /* ---------- The Get in Touch modal ----------
   *
   * A native <dialog>. Focus trapping, Escape, the backdrop and
   * returning focus to the link that opened it all come free, and
   * each is easy to reimplement badly.
   *
   * The field styling is shared with the demo form above rather than
   * restated, so the two forms cannot drift apart.
   */
  .contact-modal {
    width: min(520px, calc(100vw - 32px));
    padding: 0;
    border: 1px solid var(--border);
    border-radius: 14px;
    background: var(--panel);
    color: var(--text-primary);
    box-shadow:
      0 0 0 1px rgba(205,160,77,0.26),
      0 30px 70px rgba(0,0,0,0.60);
  }
  .contact-modal::backdrop { background: rgba(0,0,0,0.62); }

  .contact-modal__form { padding: 26px 24px 22px; }
  .contact-modal h2 {
    font-size: 22px;
    font-weight: 700;
    margin: 0 0 6px;
    letter-spacing: -0.2px;
  }
  .contact-modal__sub {
    font-size: 14.5px;
    color: var(--text-secondary);
    margin: 0 0 18px;
  }
  .contact-modal label {
    display: block;
    font-size: 14px;
    font-weight: 600;
    color: var(--text-secondary);
    margin: 0 0 6px;
  }
  .contact-modal textarea { min-height: 120px; resize: vertical; }

  .contact-modal__actions {
    display: flex;
    gap: 14px;
    justify-content: flex-end;
    align-items: center;
    margin-top: 4px;
  }
  .contact-modal__actions .btn-primary { border: none; cursor: pointer; font-family: inherit; font-size: 15px; }
  .contact-modal__actions .btn-primary:disabled { opacity: 0.6; cursor: default; }
  .contact-modal__actions .btn-secondary { cursor: pointer; }

  .contact-modal__status { font-size: 14px; margin: 14px 0 0; color: var(--text-secondary); }
  .contact-modal__status.is-error { color: var(--critical, #F69296); }

  /* ---------- The hero's right column ---------- */
  /* A flex column so the card's align-self and auto margin have
     something to resolve against. In a plain block container both
     would be inert. */
  .hero-right {
    display: flex;
    flex-direction: column;
    gap: 22px;
    /* Dropped so the top of the card lines up with the LETTERS of
       the headline's second line, not with its line box.
       
       One line height, 52px, put the card at the top of that box --
       and a line box is taller than the letters in it, so the card
       read as sitting high. Measured at 44px IBM Plex Sans: 3.96px
       of half-leading above the em box, then 12.44px between the
       font's ascent and its cap height, so the capitals begin 16.4px
       down. 52 + 13 puts the card's edge on them.
       
       Tied to the headline wrapping to two lines, which it does at
       every width where these columns sit side by side, and to this
       font's metrics. */
    padding-top: 65px;
  }

  /* ---------- The preview card ----------
   *
   * Supplied as hand-written hex. Converted to the tokens, which
   * carry the identical values today: the guide records this palette
   * already existing in five copies as a known defect, and a sixth
   * written now is one more place a future retune would silently
   * miss.
   *
   * The shadow is the other change. It arrived as rgb(0 0 0 / 14%),
   * which is a light-theme value -- against a #2F2D2E page it is
   * invisible. The hero frame beside it needs 0.48 to register, so
   * this is raised to match rather than left as a rule that does
   * nothing.
   */
  .dogged-preview {
    width: 100%;
    max-width: 540px;
    margin-left: auto;
    overflow: hidden;
    background: var(--bg);
    border: 2px solid var(--gold);
    border-radius: 16px;
    box-shadow: 0 12px 28px rgba(0,0,0,0.45);
  }

  /* Tightened 2026-10-22. The white panel was carrying more empty
     space than type, which made it the loudest thing on a dark page
     for no reason -- white on this background is already the highest
     contrast available, so the area needs to be earned. */
  .dogged-preview__header {
    padding: 16px 20px;
    background: #ffffff;
    color: var(--bg);
  }

  /* THE ONLY LINE IN THE HEADER, as of 2026-10-23.
   *
   * It was a tracked uppercase kicker above a title. Uppercase at
   * 10px with 0.18em of tracking pulls letters far enough apart to
   * lose their shapes, which is why it read as a different typeface
   * -- it never was one, it inherits IBM Plex Sans from body like
   * everything else. Sentence case at 17px is simply legible, and
   * the line is good enough copy to be read rather than skipped
   * over as a label.
   *
   * --gold-ink, not --gold: the brand gold manages about 2.1:1 on
   * white and text needs 4.5:1. Same hue, 5.3:1.
   */
  .dogged-preview__eyebrow {
    margin: 0;
    color: var(--gold-ink);
    font-size: 17px;
    font-weight: 600;
    line-height: 1.35;
    letter-spacing: 0.01em;
  }

  .dogged-preview__image { padding: 14px; }

  .dogged-preview__image img {
    display: block;
    width: 100%;
    height: auto;
    border-radius: 6px;
  }

  .dogged-preview__footer {
    padding: 14px 16px;
    border-top: 1px solid var(--gold);
    color: var(--text-primary);
    font-size: 12px;
    line-height: 1.7;
    text-align: center;
  }

  .dogged-preview__footer span {
    padding: 0 5px;
    color: var(--gold);
  }

  /* 860px, not the 760px it was written with: that is where the rest
     of the site collapses to one column, and the two breakpoints
     disagreeing leaves a 100px band where the hero has stacked while
     this card is still right-aligned as though it had not. */
  @media (max-width: 860px) {
    .dogged-preview {
      margin: 0 auto;
    }
    .dogged-preview__header { padding: 14px 18px; }
    .dogged-preview__footer { font-size: 11px; }
  }

  /* ---------- The floating ask ----------
   *
   * A pill fixed to the viewport rather than a button in the flow.
   * The in-flow version scrolled away after the first screen, which
   * is the moment it starts being useful -- somebody who has read to
   * the bottom is more likely to act than somebody who has read the
   * headline.
   *
   * Fully rounded on purpose: a floating element reads as an
   * affordance sitting ON the page, and the shape is what separates
   * it from the rectangular panels it floats over.
   */
  .demo-fab {
    position: fixed;

    /* ALIGNED TO THE CONTENT, NOT THE WINDOW. Pinned to the viewport
       edge it drifted into the right margin on a wide monitor, with
       nothing near it. The wrap is 1180px wide including its 32px
       padding, so the content's right edge -- which is also the
       preview card's right edge, since the card is pushed right by
       its auto margin -- sits at the page centre plus 558px. That is
       where this pill's LEFT edge goes, so it hangs off the corner
       of the card at any window width.

       The min() is the guard: once the window is too narrow for that
       to fit, the pill stops following the content and holds 24px
       off the right edge instead of walking off the screen. */
    left: min(calc(50% + 558px), calc(100% - 240px));
    right: auto;
    bottom: 38px;
    z-index: 50;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 14px 26px;
    border-radius: 999px;
    background: var(--gold);
    color: #201F1F;
    font-size: 15px;
    font-weight: 600;
    text-decoration: none;
    box-shadow:
      0 10px 28px rgba(0,0,0,0.50),
      0 0 0 1px rgba(0,0,0,0.25);
  }
  .demo-fab:hover { background: var(--gold-hover); }

  /* The focus ring is explicit because the default outline lands on
     a gold background and all but disappears. This is the only
     indicator a keyboard user gets for the page's main action. */
  .demo-fab:focus-visible {
    outline: 3px solid var(--accent-bright, #E0BC77);
    outline-offset: 3px;
  }

  /* ---------- /demo ---------- */
  .demo-page { padding: 64px 0 88px; }
  .demo-page .wrap {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 56px;
    align-items: start;
  }
  .demo-page h1 {
    font-size: 46px;
    line-height: 1.18;
    font-weight: 700;
    margin: 0 0 18px;
    letter-spacing: -0.3px;
  }
  .demo-page__copy p {
    font-size: 18px;
    color: var(--text-secondary);
    max-width: 46ch;
    margin: 0 0 26px;
  }
  .demo-page__lede {
    font-size: 20px;
    line-height: 1.45;
    color: var(--text-primary);
  }

  /* The selling points, as a light card -- the same white-on-dark
     treatment as the preview card on the homepage, so the two pages
     feel like one site. */
  .demo-points {
    list-style: none;
    margin: 0 0 28px;
    padding: 10px 26px;
    background: #ffffff;
    border: 2px solid var(--gold);
    border-radius: 16px;
    box-shadow: 0 12px 28px rgba(0,0,0,0.45);
  }
  .demo-points li {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    padding: 18px 0;
    color: var(--bg);
    font-size: 17.5px;
    line-height: 1.45;
    font-weight: 500;
    /* A hairline of the page colour, not of --border: --border is a
       light-on-dark value and vanishes on white. */
    border-bottom: 1px solid rgba(47,45,46,0.14);
  }
  .demo-points li:last-child { border-bottom: none; }

  .demo-points__check {
    flex: 0 0 auto;
    margin-top: 2px;
    color: var(--gold-ink);
  }

  /* "optional" sits inside the label, so it has to shed the label's
     weight or it reads as part of the field name. */
  .demo-form-optional {
    font-weight: 500;
    color: var(--text-muted);
    text-transform: none;
    letter-spacing: 0;
  }

  @media (max-width: 860px) {
    .demo-page { padding: 44px 0 64px; }
    .demo-page .wrap { grid-template-columns: 1fr; }
    .demo-page h1 { font-size: 34px; }
    .demo-page__lede { font-size: 18px; }
    .demo-points { padding: 6px 20px; }
    .demo-points li { font-size: 16.5px; padding: 16px 0; }
  }

  /* A fixed element covers whatever is under it, and on a narrow
     screen that is the footer. The page is given room to end above
     the pill rather than behind it. */
  @media (max-width: 860px) {
    .demo-fab {
      /* Below this width the content column is the whole screen, so
         there is nothing to align to -- back to the corner. */
      left: auto;
      right: 16px;
      bottom: 16px;
      padding: 12px 20px;
      font-size: 14px;
    }
  }

  /* ---------- Section shared ---------- */
  .section { padding: 84px 0; }
  .section-alt { background: var(--panel); }
  /* 800px, raised from 640 on 2026-10-23. Measured rather than
     guessed: at 30px the heading needs 740px and the line under it
     needs 787px, so at 640 both wrapped and left a short second
     line. 800 fits both inside the 1116px the wrap provides. */
  .section-head { max-width: 800px; margin: 0 0 48px; }
  .section-head h2 {
    /* balance, so that if a narrower window does wrap this, the two
       lines come out even instead of leaving one word stranded. */
    text-wrap: balance;
    font-size: 30px;
    font-weight: 700;
    margin: 0 0 14px;
    letter-spacing: -0.2px;
  }
  .section-head p { font-size: 16px; color: var(--text-secondary); margin: 0; }

  /* ---------- Value props: alternating rows, not a card grid ---------- */
  .value-list { border-top: 1px solid var(--border); }
  .value-row {
    display: grid;
    grid-template-columns: 1fr 1.4fr;
    gap: 40px;
    padding: 32px 0;
    border-bottom: 1px solid var(--border);
  }
  .value-row h3 {
    font-size: 20px;
    font-weight: 600;
    margin: 0;
    color: var(--gold);
  }
  /* THE CAP IS GONE, and the reason is worth keeping. These
     descriptions are 123 to 157 characters; on one line they would
     need about 1056px, in a grid track of 627px, inside a row with
     1116px to share with the title column. One line was never
     available at any screen size.
     
     What was actually wrong was a WIDOW -- "yourself" and "setup"
     alone on a third line. The 58ch cap held the paragraph to 540px
     inside a 627px track, so it wrapped earlier than it had to.
     Released to the track, those become two lines, and the measure
     is still about 67 characters, inside the comfortable range.

     text-wrap: pretty is the durable half of the fix: it asks the
     browser not to leave a short final line at ANY width, rather
     than at the one width we happened to look at. */
  .value-row p {
    font-size: 15.5px;
    color: var(--text-secondary);
    margin: 0;
    text-wrap: pretty;
  }

  /* ---------- The three products: cards, not more value rows ----------
   *
   * Added 2026-11-20, when Help Desk and Inventory became separately
   * purchasable products rather than parts of one platform.
   *
   * The value list above answers "what does the platform DO". This
   * answers "what can I BUY", and those are different questions. A
   * district that wants only a help desk has to be able to see that it
   * can have one -- the value list, read top to bottom, never says so.
   *
   * CARDS rather than three more value rows: these are three things of
   * equal standing, where the value list is deliberately a ranked read
   * down the page. Cards also stop a reader inferring that the second
   * and third products are lesser features of the first.
   *
   * The section sits on --panel, so the cards take --bg to sit back
   * from it rather than float on top of it. 14px is the radius the
   * other panels on this site use.
   */
  .products {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
  }
  .product {
    background: var(--bg);
    border: 1px solid var(--border);
    border-radius: 14px;
    padding: 26px 24px;
  }
  .product h3 {
    font-size: 19px;
    font-weight: 600;
    margin: 0 0 10px;
    /* --gold, not --gold-ink: these cards are dark surfaces, where
       --gold reaches 4.90:1. --gold-ink is for the white ones. */
    color: var(--gold);
  }
  .product p {
    font-size: 15.5px;
    color: var(--text-secondary);
    margin: 0;
    /* Same reasoning as .value-row p: asks the browser not to leave a
       short final line at ANY width, rather than at one we looked at. */
    text-wrap: pretty;
  }

  /* ---------- Carousel ---------- */
  .carousel-outer { max-width: 980px; margin: 0 auto; }
  .carousel {
    position: relative;
    background: var(--bg);
    border: 1px solid var(--border);
    border-radius: 12px;
    overflow: hidden;
  }
  .carousel-track { display: flex; transition: transform 0.4s ease; }
  .slide {
    flex: 0 0 100%;
    width: 100%;
    height: 540px;
    display: flex;
    flex-direction: column;
    background: var(--header-bg);
  }
  .slide-image-wrap {
    flex: 1;
    min-height: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
  }
  .slide-image-wrap img { display: block; max-width: 100%; max-height: 100%; width: auto; height: auto; }
  .slide-caption {
    height: 90px;
    flex-shrink: 0;
    padding: 18px 26px 22px;
    font-size: 15px;
    color: var(--text-secondary);
    border-top: 1px solid var(--border);
    overflow: hidden;
  }
  .carousel-nav {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 18px;
    margin-top: 22px;
  }
  .carousel-arrow {
    background: none;
    border: 1px solid var(--border);
    color: var(--text-primary);
    width: 36px;
    height: 36px;
    border-radius: 50%;
    cursor: pointer;
    font-size: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
  }
  .carousel-arrow:hover { border-color: var(--gold); color: var(--gold); }
  .carousel-arrow:focus-visible, .carousel-dot:focus-visible, .btn-primary:focus-visible, .btn-secondary:focus-visible, .topbar-cta:focus-visible {
    outline: 2px solid var(--gold);
    outline-offset: 2px;
  }
  .carousel-dots { display: flex; gap: 8px; }
  .carousel-dot {
    width: 8px; height: 8px; border-radius: 50%;
    background: var(--border);
    border: none;
    cursor: pointer;
    padding: 0;
  }
  .carousel-dot.active { background: var(--gold); }

  /* ---------- Closing CTA ---------- */
  .cta-final { background: var(--header-bg); padding: 90px 0; text-align: center; }
  .cta-final h2 { font-size: 30px; margin: 0 0 14px; }
  .cta-final p { color: var(--text-secondary); font-size: 16px; margin: 0 0 30px; }

  footer { padding: 28px 0; border-top: 1px solid var(--border); }

  /* ROOM FOR THE FLOATING PILL, on the pages that have one.
   *
   * The pill is 48px tall sitting 38px off the bottom, so it owns the
   * lowest ~86px of the viewport -- which is exactly where the footer
   * links sit once you reach the end of the page, and it was covering
   * Terms of Service. Moving the pill up alone does not fix that; it
   * just moves the overlap. The page has to end with space beneath
   * the links for the pill to float over.
   *
   * :has() scopes it to the page that actually has a pill. /demo and
   * the legal pages have none, and 96px of empty space under their
   * footers would be dead air. Where :has() is unsupported the rule
   * is skipped and the behaviour is simply what it is today. */
  /* One value covers both layouts. A narrower screen had its own
     104px rule until 2026-10-23, which never applied: it sat inside
     the media query ABOVE this one, same specificity, so this later
     rule won at every width. It was also unnecessary -- at narrow
     widths the pill is shorter and sits 16px up rather than 38, so
     it occupies the lowest ~58px and 96 clears it comfortably. */
  body:has(.demo-fab) footer { padding-bottom: 96px; }
  footer .wrap { display: flex; justify-content: space-between; align-items: center; font-size: 13px; color: var(--text-muted); flex-wrap: wrap; gap: 10px; }
  footer a { color: var(--text-muted); text-decoration: none; }
  footer a:hover { color: var(--text-primary); }
  .footer-links { display: flex; gap: 18px; align-items: center; }
  /* Sized in CSS rather than by width/height attributes. On the
     dashboard screenshot the reserved aspect ratio mattered, because
     a wrong one moves 250px of layout as the image lands; a 22px
     icon in the footer is not worth pinning to an exact pixel count
     that the resize decides. */
  .footer-social {
    display: inline-flex;
    align-items: center;
    opacity: 0.8;
  }
  .footer-social:hover { opacity: 1; }
  .footer-social__icon { display: block; height: 22px; width: auto; }

  @media (max-width: 860px) {
    .hero .wrap { grid-template-columns: 1fr; }
    .hero { padding: 52px 0 60px; }
    .hero h1 { font-size: 32px; }
    /* The upscale is a desktop flourish. At one column it pushes the
       frame into the 32px gutter and clips the shadow. The lighting,
       the rings and the recess stay. */
    .hero-shot { transform: none; }
    .hero-shot::before { inset: -10% -6%; }
    /* One column: there is no headline beside it to align to. */
    .hero-right { padding-top: 0; }
    .value-row { grid-template-columns: 1fr; gap: 10px; }
    /* Three cards side by side need about 300px each; one column
       below 860 rather than two, so the third never sits alone. */
    .products { grid-template-columns: 1fr; }
    .section { padding: 60px 0; }
    .slide { height: 280px; }
  }

  /* ------------------------------------------------------------------
   * Long-form legal pages: /privacy-policy and /terms-of-service.
   *
   * None of this existed before, because the homepage has no running
   * prose -- it is headings, short blurbs and a carousel. These pages
   * are paragraphs someone actually reads, and they moved here off
   * Google Sites, where Google supplied the body styling.
   * ------------------------------------------------------------------ */

  .legal { padding: 56px 0 96px; }

  /* A reading measure, deliberately narrower than the homepage's
     1180px wrap. Body copy at that width is punishing to read, and
     these are the two pages on the site people read line by line. */
  .legal .wrap { max-width: 760px; }

  .legal h1 {
    font-size: 34px;
    font-weight: 700;
    margin: 0 0 8px;
    letter-spacing: -0.3px;
  }

  .legal .updated {
    color: var(--text-muted);
    font-size: 14px;
    margin: 0 0 40px;
  }

  .legal h2 {
    font-size: 20px;
    font-weight: 600;
    margin: 40px 0 12px;
  }

  .legal p  { color: var(--text-secondary); margin: 0 0 16px; }
  .legal ul { color: var(--text-secondary); margin: 0 0 16px; padding-left: 22px; }
  .legal li { margin: 0 0 8px; }
  .legal strong { color: var(--text-primary); font-weight: 600; }

  /* The site sets a { color: inherit }, which is correct for the nav
     and the footer, where the surrounding design says "link". Inside a
     paragraph it makes a link indistinguishable from the text around
     it -- and the Terms links to the Privacy Policy mid-sentence. In
     running prose a link has to look like one. */
  .legal a {
    color: var(--gold);
    text-decoration: underline;
    text-underline-offset: 2px;
  }
  .legal a:hover { color: var(--gold-hover); }

  /* On every page except the homepage the wordmark is a link home. */
  a.brand { text-decoration: none; }

  @media (max-width: 860px) {
    .legal { padding: 40px 0 64px; }
    .legal h1 { font-size: 27px; }
  }
