/* =====================================================================
   FMySchool styles. Colours sampled from assets/logo.png
   (tools/sample-logo-colours.ps1) and checked with tools/contrast-check.mjs.
   Rules: lime only on buttons and tiny accents; no red; no gradients;
   no shadows; hierarchy from size, weight, spacing and tinted bands.
   ===================================================================== */

:root {
  /* Sampled from the logo */
  --lime: #C9FC07;        /* "F" fill: primary buttons only (navy text) */
  --blue: #1F7CD6;        /* outline and "my school": icons, borders, focus ring (non-text) */
  --green: #B3CB6B;       /* hole behind the wall: tiny accent only */
  --plaster-photo: #D8D9D5; /* wall as photographed (reference only) */

  /* Derived */
  --blue-text: #1A62AD;   /* darker logo blue for text links: AA on all backgrounds */
  --navy: #12304F;        /* headings, text on lime, dark band */
  --charcoal: #1C2430;    /* body text */
  --slate: #565D6B;       /* captions (darkened from #6B7280 to pass AA) */
  --plaster: #F2F0EB;     /* page background: warm off-white from the wall */
  --tint: #E8F0F9;        /* pale blue band derived from logo blue */
  --white: #FFFFFF;
  --line: #CBD5E1;        /* hairlines on cards (decorative) */
  --ph-bg: #FFF4D1;       /* placeholders */

  --font: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial,
    "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Noto Sans CJK SC", sans-serif;
  --radius: 10px;
  --gutter: 1.25rem;
  --max: 72rem;
}

*, *::before, *::after { box-sizing: border-box; }
/* Anything marked hidden stays hidden, even if another rule gives it a display value (grid, flex…). */
[hidden] { display: none !important; }

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  font-family: var(--font);
  font-size: 1.0625rem;
  line-height: 1.6;
  color: var(--charcoal);
  background: var(--plaster);
  overflow-wrap: break-word;
}

img, svg { max-width: 100%; }
img { height: auto; display: block; }

h1, h2, h3, h4, h5 { color: var(--navy); line-height: 1.15; margin: 0 0 .6em; font-weight: 800; }
h1 { font-size: clamp(2.3rem, 7vw, 4rem); letter-spacing: -0.02em; }
h2 { font-size: clamp(1.7rem, 4.5vw, 2.5rem); letter-spacing: -0.01em; }
h3 { font-size: 1.35rem; }
h4 { font-size: 1.15rem; }
h5 { font-size: .95rem; text-transform: uppercase; letter-spacing: .06em; }
p { margin: 0 0 1em; }
ul { margin: 0 0 1em; padding-left: 1.2em; }

a { color: var(--blue-text); text-underline-offset: .15em; }
a:hover { text-decoration-thickness: 2px; }

:focus-visible { outline: 3px solid var(--blue); outline-offset: 3px; border-radius: 4px; }
.band--navy :focus-visible { outline-color: var(--lime); }

.skip-link {
  position: absolute; left: -9999px; top: 0; z-index: 100;
  background: var(--white); color: var(--navy); padding: .75rem 1rem; font-weight: 700;
}
.skip-link:focus { left: 1rem; top: 1rem; }

.visually-hidden {
  position: absolute; width: 1px; height: 1px; overflow: hidden;
  clip: rect(0 0 0 0); white-space: nowrap;
}

.wrap { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 var(--gutter); }

/* ---------- Placeholders: every unknown is visible ---------- */
.ph {
  display: inline;
  background: var(--ph-bg);
  color: var(--navy);
  border: 1px dashed var(--blue);
  border-radius: 4px;
  padding: .05em .35em;
  font-weight: 600;
  font-style: normal;
  box-decoration-break: clone;
  -webkit-box-decoration-break: clone;
}
.ph-box {
  display: flex; align-items: center; justify-content: center; text-align: center;
  background: var(--ph-bg); color: var(--navy);
  border: 1px dashed var(--blue); border-radius: var(--radius);
  padding: 1rem; font-weight: 600;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5em;
  min-height: 48px; padding: .8rem 1.4rem;
  border-radius: 999px; border: 2px solid transparent;
  font: inherit; font-weight: 800; line-height: 1.2; text-align: center; text-decoration: none;
  cursor: pointer;
}
.btn--primary { background: var(--lime); color: var(--navy); border-color: var(--navy); }
.btn--primary:hover { background: var(--navy); color: var(--lime); }
.btn--secondary { background: transparent; color: var(--blue-text); border-color: var(--blue-text); }
.btn--secondary:hover { background: var(--white); color: var(--navy); border-color: var(--navy); }
.band--navy .btn--secondary { color: var(--white); border-color: var(--white); }
.band--navy .btn--secondary:hover { background: var(--white); color: var(--navy); }
.band--navy .btn--primary { color: var(--navy); border-color: var(--lime); }
.band--navy .btn--primary:hover { background: var(--navy); color: var(--lime); }

.cta-row { display: flex; flex-wrap: wrap; gap: .75rem 1rem; align-items: center; margin: 1.5rem 0 .5rem; }
.cta-row .btn { flex: 1 1 100%; }
@media (min-width: 560px) { .cta-row .btn { flex: 0 0 auto; } }
.cta-row--tight { margin-top: 0; }
.cta-notes { font-size: .95rem; color: var(--slate); margin: .5rem 0 0; }
.cta-notes li { margin-bottom: .35rem; }
.band--navy .cta-notes { color: var(--white); }

/* ---------- Header ---------- */
.site-header { background: var(--plaster); border-bottom: 1px solid var(--line); position: sticky; top: 0; z-index: 50; }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 1rem; min-height: 64px; }
.brand { text-decoration: none; font-size: .9rem; white-space: nowrap; }
.site-nav ul { display: flex; list-style: none; margin: 0; padding: 0; gap: .9rem; }
.site-nav a { color: var(--navy); font-weight: 700; text-decoration: none; font-size: .95rem; display: inline-block; padding: .6rem 0; }
.site-nav a:hover { text-decoration: underline; }
.site-nav .nav-wide { display: none; }
@media (min-width: 760px) { .site-nav ul { gap: 1.5rem; } .site-nav .nav-wide { display: list-item; } .site-nav a { font-size: 1rem; } }

/* ---------- Sections and bands ---------- */
section { padding: 3.5rem 0; }
@media (min-width: 900px) { section { padding: 5rem 0; } }
.band--tint { background: var(--tint); }
.band--white { background: var(--white); }
.band--navy { background: var(--navy); color: var(--white); }
.band--navy h2, .band--navy h3 { color: var(--white); }
.band--navy a { color: var(--white); }

.eyebrow {
  display: inline-block; font-size: .85rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase;
  color: var(--navy); margin-bottom: .75rem; padding-left: .7rem; border-left: 4px solid var(--blue);
}
.band--navy .eyebrow { color: var(--lime); border-left-color: var(--lime); }
.lead { font-size: 1.2rem; max-width: 42rem; }
.lead-sm { color: var(--slate); max-width: 40rem; }
.section-head { max-width: 46rem; margin-bottom: 2rem; }

/* ---------- Hero: logo + two equal paths ---------- */
.hero { position: relative; padding: 2rem 0 0; }
.hero > .wrap { padding-bottom: 3rem; }
.hero__intro { display: grid; gap: 1.5rem; align-items: center; margin-bottom: 2rem; }
.hero__intro h1 { font-size: clamp(2rem, 6vw, 3.25rem); }
.hero__intro .lead { margin-bottom: 0; }
.hero__logo { margin: 0; justify-self: center; width: 100%; max-width: 240px; }
.hero__logo img { width: 100%; border: 3px solid var(--navy); }
@media (min-width: 760px) {
  .hero { padding-top: 3rem; }
  .hero__intro { grid-template-columns: 220px 1fr; gap: 2.5rem; }
  .hero__logo { justify-self: start; }
}
@media (min-width: 1000px) { .hero__intro { grid-template-columns: 280px 1fr; } .hero__logo { max-width: 280px; } }

/* Two equal path blocks: same size and weight at every width. */
.paths { display: grid; gap: 1.25rem; }
@media (min-width: 760px) { .paths { grid-template-columns: 1fr 1fr; } }
.path {
  display: flex; flex-direction: column; background: var(--white);
  border: 3px solid var(--navy); border-radius: var(--radius); padding: 1.5rem;
}
.path .icon { margin-bottom: .6rem; }
.path__label { font-size: .85rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: var(--navy); margin-bottom: .4rem; }
.path__title { font-size: clamp(1.6rem, 4vw, 2.2rem); margin-bottom: .5rem; }
.path__promise { font-size: 1.1rem; margin-bottom: 1.25rem; }
.path .btn { margin-top: auto; }
.path__secondary { margin: .9rem 0 0; font-size: .95rem; }
.btn--block { display: flex; width: 100%; }
.hero__notes { margin-top: 1.25rem; list-style: none; padding: 0; }
.ph--after-btn { display: inline-block; margin-top: .5rem; font-size: .9rem; }
.paths--dark .path { background: var(--white); border-color: var(--lime); color: var(--charcoal); }
.paths--dark .path a:not(.btn) { color: var(--blue-text); }
.paths--dark .path__promise { font-weight: 700; color: var(--navy); }
@media (min-width: 760px) { .paths--single { grid-template-columns: minmax(0, 36rem); } }

/* Homepage: three situation buttons. Each whole card is the link. */
.choices { list-style: none; margin: 0; padding: 0; display: grid; gap: 1.25rem; }
@media (min-width: 900px) { .choices { grid-template-columns: repeat(3, 1fr); } }
.choice {
  display: flex; flex-direction: column; height: 100%; text-decoration: none; color: var(--charcoal);
  background: var(--white); border: 3px solid var(--navy); border-radius: var(--radius); padding: 1.5rem;
  transition: transform .15s ease, box-shadow .15s ease;
}
.choice:hover { transform: translateY(-3px); box-shadow: 0 6px 0 var(--navy); }
@media (prefers-reduced-motion: reduce) { .choice { transition: none; } .choice:hover { transform: none; } }
.choice .icon { margin-bottom: .6rem; }
.choice--hell .icon { color: var(--navy); }
.choice__title { font-size: clamp(1.4rem, 3.2vw, 1.75rem); font-weight: 800; line-height: 1.15; color: var(--navy); margin-bottom: .6rem; }
.choice__text { font-size: 1.05rem; margin-bottom: 1.25rem; }
.choice__go {
  margin-top: auto; align-self: stretch; display: flex; align-items: center; justify-content: center;
  min-height: 48px; padding: .8rem 1.4rem; border-radius: 999px; border: 2px solid var(--navy);
  background: var(--lime); color: var(--navy); font-weight: 800;
}
.choice:hover .choice__go { background: var(--navy); color: var(--lime); }

/* Small print under a service price (extra-page or per-minute charges). */
.service__price-note { font-size: .9rem; font-weight: 600; color: var(--slate); margin: .15rem 0 .2rem; }

/* "Beta version" label next to a tool's title (navy text, logo-blue outline). */
.beta-badge {
  display: inline-block; vertical-align: middle; margin-left: .4rem;
  font-size: .8rem; font-weight: 800; letter-spacing: .04em; line-height: 1.2; white-space: nowrap;
  color: var(--navy); background: var(--white); border: 2px solid var(--blue); border-radius: 999px; padding: .2rem .65rem;
}

/* Numbered, collapsible steps in the tools' forms (letter, tax calculator, Exit Pay Check).
   details.mini-fold supplies the round +/- toggle; the steps start collapsed. */
.step-fold { border-top: 1px solid var(--line); margin: 1.25rem 0 0; padding: 1rem 0 0; min-width: 0; }
.step-fold:first-child { border-top: 0; margin-top: 0; padding-top: 0; }
.step-fold__summary { font-size: 1.15rem; font-weight: 800; color: var(--navy); display: flex; align-items: center; gap: .55rem; min-height: 2.25rem; }
.step-fold__summary:hover { text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: .15em; }
.step-fold[open] > .step-fold__summary { margin-bottom: .4rem; }
.step-fold__body { min-width: 0; }
.step__n { display: inline-flex; align-items: center; justify-content: center; flex: none; width: 1.7rem; height: 1.7rem; border-radius: 999px; background: var(--navy); color: var(--lime); font-size: .9rem; text-decoration: none; }

/* "Next step" prompts under a tool's result (letter, tax calculator, Exit Pay Check). Never printed.
   One lime button at most per block; navy and logo blue only; no shadow. */
.post-result { border: 2px solid var(--navy); border-radius: var(--radius); background: var(--white); padding: 1rem 1.15rem; margin: 1.25rem 0; }
.post-result__title { font-size: 1.2rem; margin: 0 0 .4rem; }
.post-result p { margin: 0 0 .7rem; }
.post-result p:last-child { margin-bottom: 0; }
.post-result__fine { font-size: .9rem; color: var(--slate); }
.post-result .btn { white-space: normal; }
.post-result__actions { display: flex; flex-wrap: wrap; gap: .6rem 1rem; align-items: center; }
.post-note { background: var(--tint); border-left: 4px solid var(--blue); border-radius: 0 var(--radius) var(--radius) 0; padding: .7rem .9rem; margin: 0 0 1.25rem; }
.post-note p { margin: 0; }
@media print { .post-result, .post-note { display: none !important; } }

/* Homepage free tools: smaller than the three situation buttons. Built from SITE.tools (js/main.js). */
.home-tools { margin-top: 1.5rem; display: flex; flex-wrap: wrap; align-items: center; gap: .6rem 1rem; }
.home-tools__label { margin: 0; font-size: .85rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: var(--navy); }
.home-tools__list { display: flex; flex-wrap: wrap; gap: .6rem; }
.tool-btn {
  display: inline-flex; align-items: center; gap: .55rem; min-height: 48px; padding: .5rem 1rem .5rem .8rem;
  background: var(--white); color: var(--navy); border: 2px solid var(--navy); border-radius: 999px;
  font-weight: 800; text-decoration: none;
}
.tool-btn:hover { background: var(--navy); color: var(--lime); }
.tool-btn .icon { width: 24px; height: 24px; margin: 0; flex: none; }
.tool-btn:hover .icon { color: var(--lime); }
.tool__zh { font-weight: 600; font-size: .85em; opacity: .75; white-space: nowrap; }
.tools-grid { margin-top: 1.5rem; }
.tool-card { display: flex; flex-direction: column; align-items: flex-start; }
.tool-card__name { font-size: 1.35rem; margin-bottom: .4rem; }
.tool-card .btn { margin-top: auto; }

/* Sub-page hero: no logo, just the headline and actions. */
.hero--page .section-head { margin-bottom: 0; }
.hero--page h1 { font-size: clamp(2rem, 6vw, 3.25rem); }
.brand { display: inline-flex; align-items: center; }
.brand__mark { height: 40px; width: auto; }
@media (max-width: 420px) { .brand__mark { height: 32px; } }
.qr-img { width: 200px; height: auto; border-radius: var(--radius); background: var(--white); }
.site-nav a { white-space: nowrap; }
@media (max-width: 420px) { .site-header .wrap { gap: .6rem; } .site-nav ul { gap: .7rem; } .site-nav a { font-size: .875rem; } }
.site-nav a[aria-current="page"] { text-decoration: underline; text-decoration-thickness: 3px; text-decoration-color: var(--blue); }

/* The "broken wall" edge: jagged plaster divider with a sliver of the logo's green hole. */
.break-edge { display: block; width: 100%; height: 48px; margin-bottom: -1px; }
.break-edge .hole { fill: var(--green); }
.break-edge .next { fill: var(--tint); }
.break-edge--to-navy .next { fill: var(--navy); }
.break-edge--from-white { background: var(--white); }

/* ---------- Grids and cards ---------- */
.grid { display: grid; gap: 1.25rem; }
@media (min-width: 640px) { .grid--2, .grid--3, .grid--services { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .grid--3 { grid-template-columns: repeat(3, 1fr); } }

@media (min-width: 640px) { .grid--4 { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .grid--4 { grid-template-columns: repeat(4, 1fr); } }
@media (min-width: 640px) { .grid--single { grid-template-columns: minmax(0, 36rem); } }

.card { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.5rem; }
.card h3 { font-size: 1.2rem; }
.card h4 { font-size: 1.1rem; margin-bottom: .45rem; }
.card--compact { padding: 1.2rem; }
.card--compact .icon { width: 32px; height: 32px; margin-bottom: .6rem; }
.card--compact p { font-size: .975rem; }

.block-title { font-size: 1.35rem; margin-bottom: .4rem; }
.block-title--spaced { margin-top: 3rem; }
.lead-sm + .grid, .block-title + .grid, .block-title + .steps { margin-top: 1.25rem; }
.warning-head { display: flex; gap: 1rem; align-items: flex-start; margin-top: 3rem; }
.warning-head .icon { flex: none; width: 44px; height: 44px; margin: 0; }
.warning-head + .grid { margin-top: 1.25rem; }
.fine { font-size: .975rem; color: var(--slate); margin-top: 1.25rem; }

.situations { list-style: none; padding: 0; display: grid; gap: .75rem; margin-top: 1.25rem; }
@media (min-width: 640px) { .situations { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .situations { grid-template-columns: repeat(3, 1fr); } }
.situations li { display: flex; gap: .8rem; align-items: center; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: .9rem 1rem; font-weight: 600; color: var(--navy); }
.situations .icon { flex: none; width: 28px; height: 28px; margin: 0; }

/* "Not legal advice" tag: plain, visible, not small print. No red. */
.tag { display: inline-block; align-self: flex-start; font-weight: 800; color: var(--navy); border: 2px solid var(--navy); border-radius: 6px; padding: .2rem .6rem; margin: .25rem 0 .75rem; font-size: .95rem; }

.usd { font-size: 1rem; font-weight: 600; color: var(--slate); white-space: nowrap; }

.bio { font-size: 1.1rem; max-width: 46rem; }
.bio__hello { font-size: 1.6rem; font-weight: 800; color: var(--navy); margin-bottom: .5rem; }
.disclaimer-box { border-left: 4px solid var(--navy); background: var(--white); padding: .9rem 1.1rem; border-radius: 0 var(--radius) var(--radius) 0; font-weight: 600; color: var(--navy); max-width: 46rem; }
.card p:last-child, .card ul:last-child { margin-bottom: 0; }
.icon { width: 40px; height: 40px; color: var(--blue); margin-bottom: .9rem; }
.icon--navy { color: var(--navy); }

.track__label { font-size: .85rem; font-weight: 800; color: var(--slate); text-transform: uppercase; letter-spacing: .06em; margin-bottom: .35rem; }
.refer-out { margin-top: 1.75rem; padding: 1.1rem 1.25rem; border-left: 4px solid var(--navy); background: var(--white); border-radius: 0 var(--radius) var(--radius) 0; max-width: 46rem; }

/* ---------- Steps ---------- */
.steps { list-style: none; padding: 0; margin: 0; display: grid; gap: 1rem; counter-reset: step; }
.steps li { counter-increment: step; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.25rem 1.25rem 1.25rem 4.25rem; position: relative; }
.steps li::before {
  content: counter(step); position: absolute; left: 1.1rem; top: 1.15rem;
  width: 2.2rem; height: 2.2rem; border-radius: 50%;
  background: var(--navy); color: var(--lime); font-weight: 800;
  display: flex; align-items: center; justify-content: center;
}
.steps h4 { font-size: 1.05rem; margin-bottom: .3rem; }
.steps p { margin: 0; font-size: .95rem; }
@media (min-width: 640px) { .steps { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) {
  .steps--6 { grid-template-columns: repeat(6, 1fr); }
  .steps--4 { grid-template-columns: repeat(4, 1fr); }
  .steps { gap: .75rem; }
  .steps li { padding: 4rem 1rem 1.25rem; }
  .steps li::before { left: 1rem; top: 1rem; }
}
.steps-note { margin-top: 1.25rem; font-weight: 700; color: var(--navy); }

/* ---------- Comparison ---------- */
.compare .card h3 { display: flex; align-items: center; gap: .6rem; }
.compare .card--ours { border: 2px solid var(--navy); }

/* ---------- Services ---------- */
.service-group { margin-top: 2.5rem; }
.service-group h3 { font-size: 1.5rem; margin-bottom: .25rem; }
.service-group .lead-sm { margin-bottom: 1.25rem; }
.grid--services { align-items: stretch; }
.service { display: flex; flex-direction: column; }
.service__name { font-size: 1.25rem; margin-bottom: .4rem; }
.service__price { font-size: 2rem; font-weight: 800; color: var(--navy); margin: 0 0 .2rem; line-height: 1.1; }
.service__format { color: var(--slate); font-size: .95rem; margin-bottom: .6rem; }
.service__best { font-size: .95rem; }
.service__label { color: var(--navy); margin: 1rem 0 .5rem; font-size: .8rem; }
.service__note { font-size: .95rem; }
.service__value { font-size: .95rem; background: var(--tint); border-radius: 6px; padding: .75rem .9rem; margin-top: .5rem; }
.service__actions { margin-top: auto; padding-top: 1.25rem; display: flex; flex-wrap: wrap; gap: .75rem 1rem; align-items: center; }
.service__actions .btn { flex: 1 1 100%; }
.service__actions .text-link { font-size: .95rem; }
.service--core { border: 3px solid var(--navy); }
@media (min-width: 1000px) {
  .service-group--build .grid--services { grid-template-columns: 1fr; }
  .service-group--build .service--core { display: grid; grid-template-columns: 1fr 1.3fr; column-gap: 2.5rem; }
  .service-group--build .service--core > * { grid-column: 1; }
  .service-group--build .service--core > .service__label, .service-group--build .service--core > .ticks { grid-column: 2; }
  .service-group--build .service--core > .service__label { grid-row: 1; }
  .service-group--build .service--core > .ticks { grid-row: 2 / span 5; }
  .service-group--build .service--core .service__actions { grid-column: 1; }
  .service--core .service__name { font-size: 1.6rem; }
  .service--core .service__price { font-size: 2.6rem; }
}
.badge {
  display: inline-block; align-self: flex-start; margin: 0 0 .75rem;
  background: var(--navy); color: var(--lime); font-size: .8rem; font-weight: 800;
  letter-spacing: .06em; text-transform: uppercase; padding: .25rem .65rem; border-radius: 999px;
}

ul.ticks, ul.crosses { list-style: none; padding: 0; }
.ticks li, .crosses li { position: relative; padding-left: 1.6rem; margin-bottom: .4rem; font-size: .975rem; }
.ticks li::before {
  content: ""; position: absolute; left: .1rem; top: .45em; width: .7rem; height: .4rem;
  border-left: 2.5px solid var(--blue); border-bottom: 2.5px solid var(--blue); transform: rotate(-45deg);
}
.crosses li::before, .crosses li::after {
  content: ""; position: absolute; left: .15rem; top: .75em; width: .75rem; height: 2.5px; background: var(--navy);
}
.crosses li::before { transform: rotate(45deg); }
.crosses li::after { transform: rotate(-45deg); }

.prices-note { margin: 1rem 0 0; }

/* Add-ons table: stacks on phones */
.addons { margin-top: 3rem; }
.table { width: 100%; border-collapse: collapse; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.table th, .table td { text-align: left; padding: .85rem 1rem; border-bottom: 1px solid var(--line); vertical-align: top; }
.table thead th { background: var(--navy); color: var(--white); font-size: .9rem; }
.table tbody th { color: var(--navy); }
.table .num { white-space: nowrap; font-weight: 800; color: var(--navy); }
.note-strong { color: var(--navy); font-weight: 800; }
@media (max-width: 639px) {
  .table thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
  .table, .table tbody, .table tr, .table th, .table td { display: block; width: 100%; }
  .table tr { border-bottom: 1px solid var(--line); padding: .5rem 0; }
  .table th, .table td { border: 0; padding: .2rem 1rem; }
}

/* ---------- Policies ---------- */
.policy h3 { display: flex; align-items: center; gap: .6rem; font-size: 1.2rem; }
.policy .icon { margin: 0; width: 32px; height: 32px; flex: none; }
.policy li { margin-bottom: .45rem; }

/* ---------- Founder ---------- */
.founder { display: grid; gap: 2rem; align-items: start; }
.founder__figure { margin: 0; width: 200px; }
.founder__photo { width: 200px; height: 200px; border: 3px solid var(--navy); border-radius: var(--radius); }
.founder__figure figcaption { font-size: .9rem; color: var(--slate); margin-top: .5rem; }
@media (min-width: 760px) { .founder { grid-template-columns: 200px 1fr; gap: 3rem; } }

/* ---------- FAQ ---------- */
.faq { max-width: 50rem; }
.faq details { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); margin-bottom: .75rem; }
.faq summary {
  cursor: pointer; list-style: none; padding: 1.1rem 3.25rem 1.1rem 1.25rem; position: relative;
  font-weight: 800; color: var(--navy); font-size: 1.05rem;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+"; position: absolute; right: 1.25rem; top: 50%; transform: translateY(-50%);
  font-size: 1.5rem; font-weight: 700; color: var(--blue-text); line-height: 1;
}
.faq details[open] summary::after { content: "−"; }
.faq .answer { padding: 0 1.25rem 1.1rem; }
.faq .answer p:last-child { margin-bottom: 0; }

/* ---------- Contact ---------- */
.contact { display: grid; gap: 2rem; margin-top: 2.5rem; }
@media (min-width: 900px) { .contact { grid-template-columns: 1.4fr 1fr; gap: 4rem; align-items: start; } }
/* Contact sections with a "Pick your path" card: on wide screens the white contact card sits in a right-hand
   column, level with the heading, instead of below everything (no wasted space). */
@media (min-width: 900px) {
  #contact > .wrap:has(> .paths) { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); column-gap: 4rem; align-items: start; }
  #contact > .wrap:has(> .paths) > .section-head, #contact > .wrap:has(> .paths) > .paths { grid-column: 1; }
  #contact > .wrap:has(> .paths) > .contact { display: contents; }
  #contact > .wrap:has(> .paths) > .contact > div:first-child { grid-column: 1; margin-top: 2.5rem; }
  #contact > .wrap:has(> .paths) > .contact > .contact__card { grid-column: 2; grid-row: 1 / span 3; }
}
.contact__card { background: var(--white); color: var(--charcoal); border-radius: var(--radius); padding: 1.5rem; }
.contact__card h3 { color: var(--navy); font-size: 1.15rem; }
.contact__card a { color: var(--blue-text); }
.contact__card dl { margin: 0 0 1.25rem; }
.contact__card dt { font-weight: 800; color: var(--navy); margin-top: .75rem; }
.contact__card dd { margin: .2rem 0 0; }
.qr { width: 180px; height: 180px; font-size: .9rem; }
.band--navy .lead { color: var(--white); }

/* ---------- Footer ---------- */
.site-footer { background: var(--plaster); border-top: 1px solid var(--line); padding: 2.5rem 0; font-size: .975rem; }
.site-footer .disclaimer { color: var(--charcoal); font-weight: 600; max-width: 50rem; }
.site-footer ul { list-style: none; padding: 0; display: flex; flex-wrap: wrap; gap: .5rem 1.5rem; }
.site-footer small { font-size: .95rem; color: var(--slate); }

/* ---------- Simple pages (Privacy, Terms) ---------- */
.page { padding: 3rem 0 4rem; }
.page .wrap { max-width: 48rem; }
.page h2 { font-size: 1.4rem; margin-top: 2rem; }

.intro-call { background: var(--tint); border-radius: var(--radius); padding: 1rem 1.15rem; margin: 1rem 0; }
.intro-call .btn { margin-top: .25rem; }
.vetting { background: var(--tint); border-radius: 6px; padding: .75rem .9rem; margin-top: .75rem; font-size: .95rem; }
.vetting .service__label { margin-top: 0; }
.vetting p:last-child { margin-bottom: 0; }

/* ---------- Letter generator (/letter/) ---------- */
.letter-intro { padding: 2.5rem 0 1.5rem; }
.letter-intro h1 { font-size: clamp(2rem, 6vw, 3rem); }
.notice-list { list-style: none; padding: 0; margin: 0 0 1rem; display: grid; gap: .6rem; }
.notice { display: flex; gap: .7rem; align-items: center; color: var(--navy); background: var(--white); border: 2px solid var(--navy); border-radius: var(--radius); padding: .7rem .9rem; }
.notice--plain { display: block; }
.notice .icon { width: 26px; height: 26px; margin: 0; flex: none; color: var(--navy); }

.letter-layout { display: grid; gap: 2rem; padding-bottom: 3.5rem; align-items: start; }
@media (min-width: 1000px) { .letter-layout { grid-template-columns: minmax(0, 26rem) minmax(0, 1fr); gap: 2.5rem; } }

.letter-form { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.25rem; }
.field { margin: 0 0 1.1rem; border: 0; padding: 0; min-width: 0; }
fieldset.field { border-top: 1px solid var(--line); padding-top: 1rem; }
.field label, .field legend { display: block; font-weight: 700; color: var(--navy); margin-bottom: .35rem; }
.field legend { padding: 0; }
.opt { font-weight: 400; color: var(--slate); }
.sub-label { margin-top: .8rem; }
.field input[type="text"], .field input[type="email"], .field input[type="date"], .field select, .field textarea {
  width: 100%; font: inherit; color: var(--charcoal); background: var(--white);
  border: 1.5px solid var(--slate); border-radius: 6px; padding: .6rem .7rem; min-height: 44px;
}
.field textarea { resize: vertical; }
.field-row { display: grid; gap: 0 1rem; }
@media (min-width: 480px) { .field-row { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); } .field-row--amount { grid-template-columns: minmax(0, 2fr) minmax(0, 1fr); } }
.field-row > .field, .field > label { min-width: 0; }
/* One height for every single-line box and drop-down (text, date, month, number, email, select), so boxes of
   different types side by side match exactly. Text areas keep their own height. */
.field input:not([type="checkbox"]):not([type="radio"]), .field select, .pair input { height: 3.2rem; box-sizing: border-box; }
/* Boxes always fit their column: date and month boxes otherwise refuse to shrink below their built-in width. */
.field input:not([type="checkbox"]):not([type="radio"]), .field select, .field textarea, .pair input, .pair textarea { min-width: 0; max-width: 100%; width: 100%; }
/* Side-by-side fields line up even when one label wraps onto two lines: the labels share a row (each sits at
   the bottom of it), the boxes share the next row, and any hint text the row after. */
@supports (grid-template-rows: subgrid) {
  @media (min-width: 480px) {
    .field-row > .field { display: grid; grid-row: span 3; grid-template-rows: subgrid; align-content: start; }
    .field-row > .field > label { align-self: end; }
  }
}
.checks, .radios { display: grid; gap: .35rem; }
.radios { grid-auto-flow: column; justify-content: start; gap: 1.25rem; }
.radios label { white-space: nowrap; }
/* Reply deadline: one labelled row per unit, so six options never overflow the form panel. */
.radio-row { display: flex; flex-wrap: wrap; align-items: center; gap: 0 1rem; }
.radio-row__label { min-width: 7.5rem; font-size: .95rem; font-weight: 700; color: var(--navy); }
.checks label, .radios label, .check-inline { display: flex; gap: .55rem; align-items: flex-start; font-weight: 500; color: var(--charcoal); margin: 0; padding: .3rem 0; }
.checks input, .radios input, .check-inline input { width: 1.15rem; height: 1.15rem; margin-top: .2rem; flex: none; accent-color: var(--navy); }
.hint { font-size: .95rem; color: var(--slate); margin: .45rem 0 0; }

.letter-actions { display: flex; flex-wrap: wrap; gap: .75rem; align-items: center; margin-bottom: 1rem; }
.letter-actions .btn { flex: 1 1 12rem; }
.letter-actions .hint { flex: 1 1 100%; margin: 0; }
.copy-fallback { flex: 1 1 100%; }
.copy-fallback label { display: block; font-weight: 700; color: var(--navy); margin-bottom: .35rem; }
.copy-fallback textarea { width: 100%; font: inherit; font-size: .9rem; border: 1.5px solid var(--slate); border-radius: 6px; padding: .6rem; }

/* The letter itself (preview, print and Word layout) is styled in letter/letter.css. */

/* ---------- Collapsible sections, service cards and boxes ---------- */
/* The +/− is drawn with two CSS bars (not a text glyph), so it sits exactly in the middle of the circle. */
.fold__summary, .mini-fold > summary {
  list-style: none; cursor: pointer; position: relative;
  --toggle: 2.5rem; --bar: 2.5px; --bar-len: 40%;
}
.fold__summary { max-width: 46rem; padding-right: 3.5rem; }
.fold__summary::-webkit-details-marker, .mini-fold > summary::-webkit-details-marker { display: none; }
.fold__summary .eyebrow { display: table; }
.fold__summary h2 { margin: 0; }
.fold__summary:hover h2 { text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: .15em; }
.fold__summary::after, .mini-fold > summary::after {
  content: ""; position: absolute; right: 0; top: 50%; transform: translateY(-50%);
  width: var(--toggle); height: var(--toggle); box-sizing: border-box;
  border: 2px solid var(--navy); border-radius: 999px;
  background:
    linear-gradient(var(--navy), var(--navy)) center / var(--bar-len) var(--bar) no-repeat,
    linear-gradient(var(--navy), var(--navy)) center / var(--bar) var(--bar-len) no-repeat,
    var(--white);
}
.fold[open] > .fold__summary::after, .mini-fold[open] > summary::after {
  background: linear-gradient(var(--navy), var(--navy)) center / var(--bar-len) var(--bar) no-repeat, var(--white);
}
.fold[open] > .fold__summary { margin-bottom: 2rem; }

/* Smaller toggles: the "Not sure where to start?" box and each career service card. */
.mini-fold > summary { --toggle: 2rem; --bar: 2px; padding-right: 2.75rem; }
.intro-call.mini-fold > summary { font-weight: 800; color: var(--navy); min-height: 2rem; display: flex; align-items: center; }
.intro-call.mini-fold[open] > summary { margin-bottom: .6rem; }
.service--collapsible { padding: 0; }
.service--collapsible > .mini-fold { display: flex; flex-direction: column; flex: 1; }
.service--collapsible > .mini-fold > summary { padding: 1.5rem 4.25rem 1.5rem 1.5rem; }
.service--collapsible > .mini-fold > summary::after { right: 1.5rem; }
.service--collapsible .service__price { margin-bottom: 0; }
.service__body { display: flex; flex-direction: column; flex: 1; padding: 0 1.5rem 1.5rem; }
.grid--services:has(.service--collapsible) { align-items: start; }
@media (min-width: 1000px) { .service-group--build .service--collapsible.service--core { display: flex; } }
/* A closed section is just its heading, so it needs less vertical space. */
section:has(> .wrap > .fold:not([open])) { padding: 2rem 0; }
@media (min-width: 900px) { section:has(> .wrap > .fold:not([open])) { padding: 2.5rem 0; } }

/* ---------- Print (A4 and Letter) ---------- */
@media print {
  @page { margin: 15mm; }
  :root { --plaster: #FFFFFF; --tint: #FFFFFF; }
  body { font-size: 11pt; background: #FFFFFF; }
  .site-header { position: static; }
  .site-nav, .skip-link, .break-edge, .text-link, .site-header .btn { display: none !important; }
  section { padding: 1.25rem 0; }
  .band--navy { background: #FFFFFF; color: var(--charcoal); border-top: 2px solid var(--navy); }
  .band--navy h2, .band--navy h3, .band--navy .lead, .band--navy .cta-notes, .band--navy a { color: var(--navy); }
  .band--navy .eyebrow { color: var(--navy); border-left-color: var(--navy); }
  .card, .steps li, .faq details, .table tr, .policy, .service, .founder { break-inside: avoid; page-break-inside: avoid; }
  h2, h3 { break-after: avoid; page-break-after: avoid; }
  .btn { min-height: 0; padding: .3rem .8rem; border: 1.5px solid var(--navy) !important; background: #FFFFFF !important; color: var(--navy) !important; }
  a[data-link]::after { content: " (" attr(href) ")"; font-weight: 400; font-size: .85em; word-break: break-all; }
  .faq summary::after { content: none; }
  .hero__logo { max-width: 200px; }
  .grid--services, .grid--3, .grid--2 { grid-template-columns: 1fr 1fr; }
  .steps { grid-template-columns: repeat(3, 1fr); }
  .steps li { padding: 3.2rem .8rem .8rem; }
  .steps li::before { left: .8rem; top: .8rem; }
  .service--core { display: block; }
}

/* Beta notice pop-up on the free tools (js/main.js betaNotice). */
.beta-dialog { max-width: min(34rem, calc(100vw - 2rem)); border: 2px solid var(--navy); border-radius: var(--radius); padding: 1.4rem 1.5rem 1.25rem; background: var(--white); color: var(--charcoal); box-shadow: 0 12px 40px rgba(18, 48, 79, .25); }
.beta-dialog::backdrop { background: rgba(18, 48, 79, .55); }
.beta-dialog__title { margin: 0 0 .75rem; font-size: 1rem; }
.beta-dialog__title .beta-badge { margin-left: 0; font-size: .9rem; }
.beta-dialog p { margin: 0 0 1.1rem; line-height: 1.55; }
.beta-dialog a { color: var(--blue-text); font-weight: 700; white-space: nowrap; } /* the email address never splits across lines */
.beta-dialog__title:focus { outline: none; }
.beta-dialog form { margin: 0; }
.beta-dialog .btn { width: 100%; }
@media print { .beta-dialog { display: none !important; } }

/* Phone menu: below 760 px the header links move into a "Menu" dropdown. */
.nav-menu { display: none; position: relative; }
.nav-menu > summary { list-style: none; cursor: pointer; font-weight: 800; color: var(--navy); border: 2px solid var(--navy); border-radius: 999px; padding: .45rem 1rem; min-height: 44px; display: inline-flex; align-items: center; gap: .4rem; }
.nav-menu > summary::-webkit-details-marker { display: none; }
.nav-menu > summary::after { content: ""; width: .45rem; height: .45rem; border-right: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: translateY(-2px) rotate(45deg); }
.nav-menu[open] > summary { background: var(--navy); color: var(--white); }
.nav-menu[open] > summary::after { transform: translateY(2px) rotate(-135deg); }
.nav-menu > ul { position: absolute; right: 0; top: calc(100% + .4rem); z-index: 60; display: block; min-width: 13rem; background: var(--white); border: 2px solid var(--navy); border-radius: var(--radius); padding: .4rem 0; box-shadow: 0 10px 30px rgba(18, 48, 79, .2); }
.nav-menu > ul li { display: block; }
.nav-menu > ul a { display: block; padding: .75rem 1.1rem; font-size: 1rem; }
.nav-menu > ul a:hover, .nav-menu > ul a:focus-visible { background: var(--tint); }
@media (max-width: 759px) {
  .site-nav > ul { display: none; }
  .nav-menu { display: block; }
}

/* Homepage: price hint on each situation card, trust line, tool hints, phone hero. */
.choice__price { display: block; font-size: .9rem; font-weight: 700; color: var(--navy); margin-top: auto; padding-top: .6rem; }
.choice__price + .choice__go { margin-top: .6rem; }
.hero__trust { position: relative; padding-left: 1.7rem; font-weight: 700; color: var(--navy); margin: .75rem 0 0; }
.hero__trust .icon { position: absolute; left: 0; top: .15em; width: 1.2rem; height: 1.2rem; margin: 0; color: var(--blue); }
.home-tools__label a { color: inherit; text-decoration: underline; text-decoration-color: var(--blue); text-underline-offset: .2em; }
.tool__text { display: flex; flex-direction: column; align-items: flex-start; line-height: 1.25; }
.tool__hint { font-size: .8rem; font-weight: 600; color: var(--slate); }
@media (max-width: 599px) { .hero__logo { display: none; } } /* the header already shows the logo; the cards come first */

/* Bigger tap targets for small inline links (44 px guideline). */
.cta-notes a, .site-footer ul a { display: inline-block; padding-block: .55rem; }
.tool-btn:hover .tool__hint { color: var(--white); }

/* Get started beside the contact card: the two options stack, so their buttons have room. */
@media (min-width: 900px) { #contact > .wrap:has(> .paths) > .paths { grid-template-columns: minmax(0, 1fr); } }

/* ---------- Homepage hero (v3.1): photo of the fist through the wall, text on the quiet side ---------- */
.hero--photo { position: relative; padding: 0; overflow: hidden; background: #EDE9E2; }
/* Phones and tablets: same look as desktop. The text sits on the wall; the photo is anchored bottom-right, so the fist
   punches in under the text. Its top fades into the wall colour, so there is no hard edge. */
.hero--photo .hero__media { margin: 0; position: absolute; inset: 0; pointer-events: none; }
.hero--photo .hero__media img {
  position: absolute; right: -6vw; bottom: 0; display: block; width: 118vw; height: auto; max-width: none;
  -webkit-mask-image: linear-gradient(to bottom, transparent 0, #000 32%); mask-image: linear-gradient(to bottom, transparent 0, #000 32%);
}
/* Room under the text for the fist (image height = 0.562 x its width; its plain top part can sit behind the text). */
.hero--photo .hero__content { position: relative; padding-top: 2.25rem; padding-bottom: 58vw; }
.hero--photo h1 { font-size: clamp(2.25rem, 7vw, 4rem); line-height: 1.05; margin: .4rem 0 1rem; max-width: 14ch; }
.hero--photo .lead { max-width: 34rem; color: var(--charcoal); }
/* Lime brush stroke under "teacher's side" (as in the founder's mock-up). */
.hero__mark { white-space: nowrap; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 300 24' preserveAspectRatio='none'%3E%3Cpath d='M3 15 C 60 7, 140 9, 297 6 L 296 16 C 180 15, 90 19, 5 22 Z' fill='%23C9FC07'/%3E%3C/svg%3E") no-repeat 0 92% / 100% .38em; padding-bottom: .06em; }
.hero__actions { display: flex; flex-wrap: wrap; align-items: center; gap: .75rem 1.5rem; margin: 1.5rem 0 1rem; }
.hero__actions .btn { min-height: 52px; padding: .85rem 1.6rem; font-size: 1.05rem; }
.hero__secondary { font-weight: 700; color: var(--navy); text-decoration: underline; text-decoration-color: var(--blue); text-underline-offset: .2em; padding-block: .55rem; }
/* Tablets and half-width windows: the fist sits beside the text, as on desktop. */
@media (min-width: 600px) and (max-width: 899px) {
  .hero--photo .hero__media img { width: 140vw; right: -11vw; }
  .hero--photo .hero__content { padding-top: 3rem; padding-bottom: 4rem; }
  .hero--photo .hero__content > * { max-width: 54%; }
  .hero--photo .hero__actions { flex-direction: column; align-items: flex-start; }
}
@media (min-width: 900px) {
  /* Desktop: the photo fills the hero; the text sits on the plain wall on the left. */
  .hero--photo { min-height: min(78vh, 620px); display: flex; align-items: center; }
  .hero--photo .hero__media { position: absolute; inset: 0; }
  .hero--photo .hero__media img { position: static; width: 100%; height: 100%; object-fit: cover; object-position: 80% 50%; -webkit-mask-image: none; mask-image: none; }
  .hero--photo .hero__content { padding-top: 4rem; padding-bottom: 4rem; width: 100%; }
  .hero--photo .hero__content > * { max-width: 36rem; }
  .hero--photo h1 { max-width: 12ch; }
}
@media (min-width: 900px) and (max-width: 1150px) {
  /* Narrower desktops: soften the photo behind the text column so the copy stays readable. */
  .hero--photo .hero__media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(237, 233, 226, .92) 0%, rgba(237, 233, 226, .75) 45%, rgba(237, 233, 226, 0) 70%); }
}

/* The three doors, right under the hero. */
.doors { padding: 2.5rem 0 0; }
.doors > .wrap { padding-bottom: 3rem; }
.doors__title { font-size: clamp(1.5rem, 3.5vw, 2rem); margin-bottom: 1.25rem; }

/* Sound familiar? Each card is a link to the right page. */
.familiar { list-style: none; margin: 0; padding: 0; }
.familiar__item { display: flex; flex-direction: column; height: 100%; text-decoration: none; color: var(--charcoal); border: 2px solid var(--line); transition: border-color .15s ease; }
.familiar__item:hover, .familiar__item:focus-visible { border-color: var(--navy); }
.familiar__item h3 { font-size: 1.1rem; color: var(--navy); margin: 0 0 .35rem; }
.familiar__item p { margin: 0 0 .75rem; }
.familiar__go { margin-top: auto; font-weight: 800; color: var(--blue-text); }

/* How we help: three steps. */
@media (min-width: 1000px) { .steps--3 { grid-template-columns: repeat(3, 1fr); } }
.steps h3 { font-size: 1.05rem; margin-bottom: .3rem; }

/* Workplace pages: the services intro is a navy panel beside the services from 1000 px (it scrolls with the page). */
.svc-intro { background: var(--navy); color: var(--white); border-radius: var(--radius); padding: 1.4rem 1.5rem; margin-bottom: 2rem; }
.svc-intro .lead { color: var(--white); font-size: 1.05rem; margin: 0; }
.svc-intro__title { font-size: .85rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: var(--lime); margin: 1.25rem 0 .5rem; padding-top: 1.1rem; border-top: 1px solid rgba(255, 255, 255, .2); }
.svc-intro__list { margin: 0; padding-left: 1.1rem; font-size: .95rem; }
.svc-intro__list li { margin-bottom: .45rem; }
.svc-intro__list li::marker { color: var(--lime); }
.svc-intro strong { color: var(--white); }
.svc-intro a { color: var(--lime); font-weight: 700; }
.svc-intro :focus-visible { outline-color: var(--lime); }
@media (min-width: 1000px) {
  .svc-layout { display: grid; grid-template-columns: minmax(0, 19rem) minmax(0, 1fr); gap: 2.5rem; align-items: start; }
  .svc-intro { margin-bottom: 0; }
}
.svc-layout #workplace-groups > :first-child, .svc-layout #workplace-groups h3:first-child,
.svc-layout #career-groups > :first-child, .svc-layout #career-groups h3:first-child { margin-top: 0; }
/* Career page: extra intro text and the intro-call button inside the navy panel. */
.svc-intro__text { font-size: .95rem; margin: 0 0 .75rem; }
.svc-intro .btn { margin-top: .25rem; }
.svc-intro .btn--primary { color: var(--navy); border-color: var(--lime); }
.svc-intro .btn--primary:hover { background: var(--white); color: var(--navy); border-color: var(--white); }
.svc-main .addons { margin-top: 2.5rem; }

/* "Get started" cards on the navy band: the secondary button is navy on the white card. */
.paths--dark .path .btn--secondary { color: var(--navy); border-color: var(--navy); background: transparent; }
.paths--dark .path .btn--secondary:hover { background: var(--navy); color: var(--white); }
/* Pages with Get started cards: the contact card starts level with the first card and the QR code is centred in it. */
@media (min-width: 900px) {
  #contact > .wrap:has(> .paths) > .contact > .contact__card { grid-row: 2 / span 2; align-self: start; }
  #contact > .wrap:has(> .paths) .contact__card .qr-img { display: block; margin: 0 auto; }
}

/* Desktop header: "Free tools" dropdown (a <details>, so it works with a click, a tap or the keyboard). */
.nav-drop { position: relative; }
.nav-drop summary { list-style: none; cursor: pointer; color: var(--navy); font-weight: 700; font-size: 1rem; padding: .6rem 0; display: inline-flex; align-items: center; gap: .35rem; white-space: nowrap; }
.nav-drop summary::-webkit-details-marker { display: none; }
.nav-drop summary::after { content: ""; width: .4rem; height: .4rem; border-right: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: translateY(-2px) rotate(45deg); }
.nav-drop details[open] summary::after { transform: translateY(2px) rotate(-135deg); }
.nav-drop summary:hover { text-decoration: underline; }
.nav-drop summary[aria-current="page"] { text-decoration: underline; text-decoration-thickness: 3px; text-decoration-color: var(--blue); }
.nav-drop ul { position: absolute; right: 0; top: calc(100% + .4rem); z-index: 60; display: block !important; min-width: 14rem; background: var(--white); border: 2px solid var(--navy); border-radius: var(--radius); padding: .4rem 0; margin: 0; list-style: none; box-shadow: 0 10px 30px rgba(18, 48, 79, .2); }
.nav-drop ul li { display: block; }
.nav-drop ul a { display: block; padding: .65rem 1.1rem; font-size: .975rem; }
.nav-drop ul a:hover, .nav-drop ul a:focus-visible { background: var(--tint); text-decoration: none; }

/* Refund guarantee: a seal-like box, used on the Staffroom page and the homepage teaser. */
.guarantee { display: flex; gap: .9rem; align-items: center; margin: 1.5rem 0 0; background: var(--lime); color: var(--navy); border: 3px solid var(--navy); border-radius: var(--radius); padding: 1rem 1.1rem; box-shadow: 6px 6px 0 var(--navy); max-width: 34rem; }
.guarantee .icon { flex: none; width: 2.6rem; height: 2.6rem; padding: .45rem; border-radius: 50%; background: var(--navy); color: var(--lime); }
.guarantee p { margin: 0; color: var(--navy); }
.guarantee b { display: block; font-size: 1.1rem; line-height: 1.3; }
.guarantee__label { display: block; font-size: .75rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.band--navy .guarantee { box-shadow: 6px 6px 0 var(--blue); }
.guarantee--chip { display: inline-flex; gap: .5rem; padding: .4rem .8rem; margin-top: 1rem; border-width: 2px; border-radius: 14px; box-shadow: none; font-weight: 700; font-size: .9rem; }
.guarantee--chip .icon { width: 1.5rem; height: 1.5rem; padding: .2rem; }

/* Homepage Staffroom teaser */
.sr-teaser { display: grid; gap: 2rem; align-items: center; }
@media (min-width: 900px) { .sr-teaser { grid-template-columns: minmax(0, 1.2fr) minmax(0, .8fr); gap: 3rem; } }
.sr-teaser__lead { color: var(--white); font-size: 1.1rem; max-width: 36rem; }
.sr-teaser .guarantee { margin: 0; }

/* Header: Staffroom button with a small "Coming soon" label. Shown on phones too, next to Menu. */
.site-nav { display: flex; align-items: center; gap: 1.25rem; }
.site-nav a.nav-cta { display: inline-flex; flex-direction: column; align-items: center; justify-content: center; min-height: 44px; padding: .3rem 1.05rem .35rem; border-radius: 999px; background: var(--navy); border: 2px solid var(--navy); text-decoration: none; line-height: 1.05; box-shadow: 3px 3px 0 var(--lime); transition: transform .15s ease, box-shadow .15s ease; }
.nav-cta__soon { display: inline-flex; align-items: center; gap: .3rem; font-size: .62rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: var(--white); opacity: .85; }
.nav-cta__soon::before { content: ""; width: .4rem; height: .4rem; border-radius: 50%; background: var(--lime); }
.nav-cta__name { font-size: 1rem; font-weight: 800; color: var(--lime); }
.site-nav a.nav-cta:hover, .site-nav a.nav-cta:focus-visible { text-decoration: none; transform: translate(-1px, -1px); box-shadow: 4px 4px 0 var(--lime); }
.site-nav a.nav-cta[aria-current="page"] { box-shadow: 3px 3px 0 var(--blue); }
@media (max-width: 759px) { .site-nav { gap: .5rem; } .site-nav a.nav-cta { padding: .25rem .8rem .3rem; box-shadow: 2px 2px 0 var(--lime); } .nav-cta__name { font-size: .9rem; } }
@media (max-width: 360px) { .nav-cta__soon { font-size: .55rem; letter-spacing: .06em; } }
@media print { .nav-cta { display: none !important; } }
.site-header .brand { flex: none; }
@media (max-width: 380px) {
  .site-header .wrap { gap: .4rem; }
  .brand__mark { height: 26px; }
  .site-nav { gap: .4rem; }
  .site-nav a.nav-cta { padding: .25rem .6rem .3rem; }
  .nav-cta__name { font-size: .85rem; }
  .nav-menu > summary { padding: .45rem .7rem; }
}
