/* =====================================================================
   AskBurjo styles: crisp, calm, and matched to Burjo.tech.
   Colors, fonts, buttons and cards follow burjo.tech/style.css.
   ===================================================================== */

:root {
  /* Burjo.tech brand colors */
  --header-bg: #12122e;   /* dark header */
  --cream:     #e9e6e1;   /* page background */
  --navy:      #262f74;   /* titles and buttons */
  --ink:       #12122e;   /* darkest text */
  --gray:      #4f4f4f;   /* body text */
  --footer-bg: #88a7bc;   /* footer bar */
  --card:      rgba(251, 250, 247, 0.96);   /* Burjo.tech cards: a touch see-through */
  --line:      rgba(38, 47, 116, 0.12);

  /* Answer colors (kept deep so text stays readable) */
  --red:    #a4262c;  --red-soft:    rgba(246, 227, 226, 0.96);
  --amber:  #8a5a00;  --amber-soft:  rgba(247, 236, 212, 0.96);
  --green:  #2e6b3f;  --green-soft:  rgba(225, 239, 227, 0.96);

  --font-serif: Georgia, "Times New Roman", Times, serif;
  --font-sans:  "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --radius: 8px;
  --shadow: 0 1px 2px rgba(18, 18, 46, 0.04), 0 6px 18px rgba(18, 18, 46, 0.05);
}

/* Text size: 17px like Burjo.tech, 20px with "Larger text". */
html { font-size: 106.25%; }
html.text-large { font-size: 125%; }

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

body {
  margin: 0;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  background: var(--cream);
  isolation: isolate;   /* keeps the background drawing above the cream, below the content */
  font-family: var(--font-sans);
  color: var(--gray);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: var(--navy); }
strong { color: var(--ink); }
.nowrap { white-space: nowrap; }

/* ---------- Header (same as Burjo.tech) ---------- */
.site-header {
  position: sticky; top: 0; z-index: 10;
  height: 72px; padding: 0 32px;
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  background: var(--header-bg);
}
.brand { display: flex; align-items: center; gap: 14px; text-decoration: none; }
.logo {
  height: 50px; width: auto; aspect-ratio: 5 / 2;
  object-fit: cover; border-radius: var(--radius);
}
.brand-divider { width: 1px; height: 28px; background: rgba(233, 230, 225, 0.35); }
.brand-text { display: flex; align-items: baseline; gap: 10px; }
.brand-name { color: var(--cream); font-family: var(--font-serif); font-size: 1.25rem; font-weight: 700; letter-spacing: .01em; }
.brand-tag { color: rgba(233, 230, 225, 0.7); font-size: 12px; letter-spacing: .06em; white-space: nowrap; }
/* ---------- Header menu (same style as Burjo.tech) ---------- */
.main-nav { margin-left: auto; position: relative; }
.main-nav ul { list-style: none; margin: 0; padding: 0; display: flex; gap: 28px; }
.main-nav a {
  color: var(--cream); text-decoration: none; font-size: 16px; letter-spacing: .03em;
  padding: 6px 0; border-bottom: 2px solid transparent; transition: border-color .2s;
}
.main-nav a:hover, .main-nav a:focus-visible { border-bottom-color: var(--cream); }
.main-nav a[target="_blank"]::after { content: " \2197"; font-size: .8em; opacity: .7; }
.menu-button { display: none; }

.header-call {
  color: var(--cream); text-decoration: none; font-weight: 600; font-size: .95rem;
  padding: 8px 14px; border: 1px solid rgba(233, 230, 225, 0.45); border-radius: 6px;
  white-space: nowrap;
}
.header-call:hover, .header-call:focus-visible { background: rgba(233, 230, 225, 0.1); }

/* ---------- Page ---------- */
.page {
  flex: 1; padding: 56px 24px 72px;
  position: relative; z-index: 0;
  /* Burjo.tech texture: a soft white wash at the top and a faint grid of navy dots. */
  background-image:
    linear-gradient(to bottom, rgba(255, 255, 255, 0.35), rgba(255, 255, 255, 0) 420px),
    radial-gradient(rgba(38, 47, 116, 0.055) 1px, transparent 1.4px);
  background-size: 100% 100%, 22px 22px;
}

/* Burjo.tech page drawing: sky, circles, hills and faint line icons,
   fixed behind everything at 38% strength so cards stay easy to read. */
body::before {
  content: "";
  position: fixed;
  top: 72px; bottom: 0; left: 0; right: 0;
  z-index: -1;
  background: url("../images/askburjo-bg.svg") center bottom / 100% auto no-repeat;
  opacity: 0.38;
  pointer-events: none;
}
.page-inner { max-width: 760px; margin: 0 auto; }

.eyebrow {
  margin: 0 0 10px; font-size: .78rem; font-weight: 700;
  letter-spacing: .14em; text-transform: uppercase; color: #5b7487;
}
.eyebrow-urgent { color: var(--red); }

.page-title {
  font-family: var(--font-serif); font-weight: 700; color: var(--navy);
  font-size: clamp(2rem, 5vw, 3rem); line-height: 1.12; margin: 0 0 14px;
}
.page-intro { font-size: clamp(1.02rem, 2vw, 1.18rem); max-width: 620px; margin: 0 0 32px; }

h2 { font-family: var(--font-serif); color: var(--ink); font-size: 1.2rem; margin: 0 0 10px; }

/* ---------- Cards (same as Burjo.tech) ---------- */
.card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 24px;
}
.card p { margin: 0; }
.card + .card, .card + .button-row, .answer-grid + .button-row { margin-top: 20px; }
.alt-grid > .card, .answer-grid > .card { margin-top: 0; }

.check-card { padding: 28px; }

/* ---------- Fields ---------- */
.field-label { display: block; font-weight: 600; color: var(--ink); margin: 18px 0 8px; }
form > .field-label:first-child { margin-top: 0; }
.optional { font-weight: 400; color: var(--gray); }
textarea, input[type="text"] {
  width: 100%; font: inherit; color: var(--ink);
  padding: 14px 16px; background: #fff;
  border: 1px solid rgba(38, 47, 116, 0.28); border-radius: 6px;
  transition: border-color .15s, box-shadow .15s;
}
textarea { resize: vertical; min-height: 9rem; }
textarea.short { min-height: 5rem; }
textarea::placeholder { color: #7a7a7a; }
textarea:focus, input[type="text"]:focus {
  outline: none; border-color: var(--navy); box-shadow: 0 0 0 3px rgba(38, 47, 116, 0.18);
}

/* Dropdown: same look as the text boxes, with a clear arrow. */
.select-wrap { position: relative; }
.select-wrap::after {
  content: ""; position: absolute; right: 18px; top: 50%; width: 9px; height: 9px; margin-top: -7px;
  border-right: 2px solid var(--navy); border-bottom: 2px solid var(--navy); transform: rotate(45deg); pointer-events: none;
}
select {
  width: 100%; min-height: 52px; font: inherit; color: var(--ink);
  padding: 12px 48px 12px 16px; background: #fff; cursor: pointer;
  border: 1px solid rgba(38, 47, 116, 0.28); border-radius: 6px;
  -webkit-appearance: none; appearance: none;
}
select:focus { outline: none; border-color: var(--navy); box-shadow: 0 0 0 3px rgba(38, 47, 116, 0.18); }

/* ---------- Buttons (same as Burjo.tech) ---------- */
.button {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 52px; padding: 14px 32px;
  font: inherit; font-size: 1.05rem; font-weight: 600; text-decoration: none; text-align: center;
  color: var(--cream); background: var(--navy);
  border: 0; border-radius: 6px; cursor: pointer;
  transition: transform .15s, box-shadow .15s;
}
.button:hover, .button:focus-visible { transform: translateY(-2px); box-shadow: 0 6px 16px rgba(38, 47, 116, 0.35); }
.button-outline { background: transparent; color: var(--navy); box-shadow: inset 0 0 0 2px var(--navy); }
.button-outline:hover, .button-outline:focus-visible { box-shadow: inset 0 0 0 2px var(--navy), 0 6px 16px rgba(38, 47, 116, 0.2); }
.button-danger { background: var(--red); color: #fff; }
.button-danger:hover, .button-danger:focus-visible { box-shadow: 0 6px 16px rgba(164, 38, 44, 0.3); }
.button-ghost { background: transparent; color: var(--navy); text-decoration: underline; text-underline-offset: 3px; }
.button-ghost:hover, .button-ghost:focus-visible { transform: none; box-shadow: none; }

:focus-visible { outline: 3px solid #5fb3c9; outline-offset: 3px; }
#fileInput:focus-visible + label { outline: 3px solid #5fb3c9; outline-offset: 3px; }

.check-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-top: 16px; }
.button-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 24px; }

.file-name { margin: 12px 0 0 !important; font-weight: 600; color: var(--green); }
.error { margin: 10px 0 0 !important; font-weight: 600; color: var(--red); }

/* ---------- Trust row (like Burjo.tech's check marks) ---------- */
.trust-row {
  list-style: none; padding: 0; margin: 20px 0 36px;
  display: flex; flex-wrap: wrap; gap: 8px 24px; justify-content: center;
  font-size: .92rem; font-weight: 600; color: var(--ink);
}
.trust-row li { display: flex; align-items: center; gap: 7px; }
.trust-row li::before {
  content: ""; width: 12px; height: 7px; margin-top: -3px;
  border-left: 2px solid #3d8b5a; border-bottom: 2px solid #3d8b5a; transform: rotate(-45deg);
}

/* ---------- Other ways in ---------- */
.alt-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.alt-card { display: flex; flex-direction: column; }
.alt-card p { flex: 1; }
.alt-card .button { margin-top: 16px; align-self: flex-start; padding: 12px 24px; min-height: 48px; }
.alt-urgent { border-top: 3px solid var(--red); }
.alt-grid .alt-card:first-child { border-top: 3px solid var(--navy); }

/* ---------- Trust: who's behind AskBurjo ---------- */
.trust { margin-top: 56px; }
.section-title { font-family: var(--font-serif); color: var(--navy); font-size: clamp(1.5rem, 3.5vw, 1.9rem); line-height: 1.2; margin: 0 0 20px; }
.trust-card { display: flex; gap: 24px; align-items: flex-start; }
.profile-photo { width: 112px; height: 112px; flex: 0 0 112px; border-radius: 50%; object-fit: cover; border: 3px solid #fff; box-shadow: 0 2px 10px rgba(18, 18, 46, 0.12); }
.trust-name { font-family: var(--font-serif); font-size: 1.25rem; font-weight: 700; color: var(--ink); }
.card .trust-role { margin: 2px 0 12px; font-size: .9rem; font-weight: 600; color: #5b7487; }
.trust-link { display: inline-block; margin-top: 12px; font-weight: 600; }
.really-us { border-top: 3px solid #3d8b5a; }
.really-us h3 { font-family: var(--font-serif); color: var(--ink); font-size: 1.2rem; margin: 0 0 12px; }
.check-list { list-style: none; margin: 0; padding: 0; }
.check-list li { position: relative; padding-left: 28px; margin-bottom: 10px; }
.check-list li::before {
  content: ""; position: absolute; left: 4px; top: .45em; width: 12px; height: 7px;
  border-left: 2px solid #3d8b5a; border-bottom: 2px solid #3d8b5a; transform: rotate(-45deg);
}
.card .really-us-note { margin-top: 14px; padding-top: 14px; border-top: 1px solid var(--line); font-weight: 600; color: var(--ink); }

/* Answer extras */
.channel-tip { margin-top: 20px; border-left: 4px solid var(--navy); }
.answer-unsure { margin: 20px 0 0; padding: 14px 18px; border-radius: 6px; background: rgba(225, 232, 240, 0.96); border-left: 4px solid var(--navy); }
.answer-trust { margin: 12px 0 0; font-size: .92rem; color: #5b7487; }

/* ---------- If you're unsure ---------- */
.unsure {
  margin: 0 0 36px; border-left: 6px solid var(--navy);
  background: rgba(225, 232, 240, 0.96);
}
.unsure h2 { font-size: 1.45rem; color: var(--navy); margin-bottom: 4px; }
.card .unsure-lead { margin-bottom: 14px; font-weight: 600; color: var(--ink); }
.unsure-list { margin: 0; padding-left: 1.2rem; }
.unsure-list li { margin-bottom: 8px; }
.unsure-list li:last-child { margin-bottom: 0; }

/* ---------- Quick guides ---------- */
.guide-hint { margin: 16px 0 0 !important; font-size: .92rem; }
.guides { margin-top: 56px; scroll-margin-top: 88px; }
.section-intro { margin: -8px 0 20px; }
.guide { padding: 0; scroll-margin-top: 88px; }
.card.guide + .card.guide { margin-top: 12px; }
.guide summary {
  list-style: none; cursor: pointer; position: relative;
  padding: 18px 56px 18px 24px; min-height: 60px;
  font-weight: 600; color: var(--ink); font-size: 1.05rem;
}
.guide summary::-webkit-details-marker { display: none; }
.guide summary::after {
  content: ""; position: absolute; right: 26px; top: 50%; width: 10px; height: 10px; margin-top: -8px;
  border-right: 2px solid var(--navy); border-bottom: 2px solid var(--navy);
  transform: rotate(45deg); transition: transform .2s;
}
.guide[open] summary::after { transform: rotate(-135deg); margin-top: -2px; }
.guide summary:hover { color: var(--navy); }
.guide[open] summary { border-bottom: 1px solid var(--line); }
.guide > *:not(summary) { margin-left: 24px; margin-right: 24px; }
.guide > .steps { margin-top: 16px; margin-bottom: 20px; padding-left: 1.5rem; }
.guide h3 { font-family: var(--font-serif); color: var(--ink); font-size: 1.05rem; margin-top: 18px; margin-bottom: 0; }
.card .guide-lead { margin-top: 16px; font-weight: 600; color: var(--ink); }
.card .guide-warning {
  margin-bottom: 20px; padding: 12px 16px; border-radius: 6px;
  background: rgba(246, 227, 226, 0.9); color: var(--ink);
}
.guide-sub { margin: 6px 0 0; padding-left: 1.1rem; }
.guide-sub li { margin-bottom: 4px; }
kbd {
  display: inline-block; padding: 1px 7px; font: inherit; font-size: .9em; font-weight: 600;
  color: var(--ink); background: #fff; border: 1px solid rgba(38, 47, 116, 0.3);
  border-bottom-width: 2px; border-radius: 5px; white-space: nowrap;
}
@media (prefers-reduced-motion: reduce) { .guide summary::after { transition: none; } }

/* ---------- Common questions ---------- */
.faq { margin-top: 56px; }
.guide .faq-q { display: inline; font: inherit; color: inherit; margin: 0; }
.guide > p { margin-top: 14px; }
.guide > p:last-child { margin-bottom: 20px; }
.faq-sources { margin: 14px 0 0; font-size: .85rem; color: #5b7487; }
.faq-sources a { color: #5b7487; }

/* ---------- Answer ---------- */
.verdict {
  background: var(--card); border: 1px solid var(--line); border-left: 6px solid var(--navy);
  border-radius: var(--radius); box-shadow: var(--shadow);
  padding: 24px 28px; margin-bottom: 20px;
}
.verdict-label { margin: 0 0 4px; font-size: .78rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: #5b7487; }
.verdict-title { font-family: var(--font-serif); font-size: clamp(1.8rem, 4.5vw, 2.4rem); line-height: 1.15; margin: 0; color: var(--ink); }
.verdict-line { margin: 8px 0 0; font-size: 1.08rem; }
.verdict.red    { border-left-color: var(--red);   background: var(--red-soft); }
.verdict.red .verdict-title { color: var(--red); }
.verdict.yellow { border-left-color: #c48a12;      background: var(--amber-soft); }
.verdict.yellow .verdict-title { color: var(--amber); }
.verdict.green  { border-left-color: var(--green); background: var(--green-soft); }
.verdict.green .verdict-title { color: var(--green); }
.verdict.sent   { border-left-color: var(--navy); }
.verdict.sent .verdict-title { color: var(--navy); }

.answer-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }

.why-list, .steps { margin: 0; padding-left: 1.25rem; }
.why-list li, .steps li { margin-bottom: 10px; }
.why-list li:last-child, .steps li:last-child { margin-bottom: 0; }
.steps-numbered li { margin-bottom: 16px; padding-left: 4px; }

/* ---------- Footer (same as Burjo.tech) ---------- */
.site-footer { background: var(--footer-bg); color: var(--ink); font-size: .85rem; }
.footer-inner {
  max-width: 1136px; margin: 0 auto; padding: 13px 32px;
  display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 16px;
}
.footer-brand { display: flex; align-items: center; gap: 14px; }
.footer-logo img { width: 50px; height: 50px; border-radius: var(--radius); }
.site-footer p { margin: 0; }
.site-footer a { color: var(--ink); text-decoration: none; }
.site-footer a:hover, .site-footer a:focus-visible { text-decoration: underline; }
.footer-contact { font-size: .95rem; text-align: center; }
.footer-tools { text-align: right; }
.link-button { background: none; border: 0; font: inherit; font-size: .95rem; color: var(--ink); cursor: pointer; padding: 10px 4px; }
.link-button:hover { text-decoration: underline; }
.footer-note { text-align: center; padding: 0 16px 12px; font-size: .78rem; color: #24314a; }

/* ---------- Helpers ---------- */
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: -999px; }
.skip:focus { left: 16px; top: 16px; z-index: 20; background: #fff; padding: 8px 14px; }
[hidden] { display: none !important; }

/* ---------- Phones ---------- */
@media (max-width: 1200px) {
  .js .menu-button {
    display: inline-flex; align-items: center; gap: 6px; min-height: 40px;
    padding: 7px 12px; font: inherit; font-size: 16px; letter-spacing: .03em;
    color: var(--cream); background: none; cursor: pointer;
    border: 1px solid rgba(233, 230, 225, 0.4); border-radius: 6px;
  }
  .js .menu-button::after {
    content: ""; width: 6px; height: 6px; margin-top: -3px;
    border-right: 1.5px solid currentColor; border-bottom: 1.5px solid currentColor;
    transform: rotate(45deg); transition: transform .2s;
  }
  .js .menu-button[aria-expanded="true"]::after { transform: rotate(-135deg); margin-top: 3px; }
  .js .main-nav ul {
    display: none; position: absolute; right: 0; top: calc(100% + 14px);
    flex-direction: column; gap: 0; min-width: 240px; padding: 8px 0;
    background: var(--header-bg); border-radius: 0 0 8px 8px;
    box-shadow: 0 12px 28px rgba(18, 18, 46, 0.3);
  }
  .js .main-nav.is-open ul { display: flex; }
  .js .main-nav li a { display: block; padding: 14px 20px; border-bottom: 0; }
  .js .main-nav li a:hover, .js .main-nav li a:focus-visible { background: rgba(233, 230, 225, 0.1); }
  .main-nav { margin-right: 4px; }
}

/* =====================================================================
   Phone-first pieces (added for the phone clean-up)
   ===================================================================== */

/* "Run by John Burns" line at the top */
.run-by {
  display: inline-flex; align-items: center; gap: 10px; margin: 0 0 16px;
  font-size: .88rem; color: var(--gray); text-decoration: none;
}
.run-by img { width: 36px; height: 36px; border-radius: 50%; object-fit: cover; border: 2px solid #fff; box-shadow: 0 1px 4px rgba(18, 18, 46, 0.15); }
.run-by strong { color: var(--ink); }
.run-by:hover span, .run-by:focus-visible span { text-decoration: underline; text-underline-offset: 3px; }

/* "Where did you get it?" tap buttons */
.source { border: 0; padding: 0; margin: 20px 0 0; min-width: 0; }
.source legend { padding: 0; }
.chips { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.chip { position: relative; display: block; }
.chip input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.chip-face {
  display: flex; align-items: center; gap: 10px; min-height: 50px; height: 100%;
  padding: 10px 12px; border: 1px solid rgba(38, 47, 116, 0.22); border-radius: 8px;
  background: #fff; color: var(--ink); font-size: .92rem; font-weight: 600; line-height: 1.25;
  cursor: pointer; transition: border-color .15s, background .15s, box-shadow .15s;
}
.chip-face svg { flex: 0 0 22px; width: 22px; height: 22px; fill: none; stroke: var(--navy); stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.chip-face:hover { border-color: var(--navy); }
.chip input:checked + .chip-face { border-color: var(--navy); background: rgba(38, 47, 116, 0.08); box-shadow: inset 0 0 0 1px var(--navy); color: var(--navy); }
.chip input:focus-visible + .chip-face { outline: 3px solid #5fb3c9; outline-offset: 2px; }

/* Optional note, tucked away until wanted */
.note-toggle {
  display: inline-flex; align-items: center; gap: 8px; margin-top: 14px; padding: 8px 0; min-height: 44px;
  background: none; border: 0; font: inherit; font-weight: 600; color: var(--navy); cursor: pointer;
}
.note-toggle::before { content: "+"; display: inline-grid; place-items: center; width: 22px; height: 22px; border: 1.5px solid var(--navy); border-radius: 50%; font-size: 16px; line-height: 1; }
.note-toggle[aria-expanded="true"]::before { content: "\2212"; }
.note-toggle .optional { font-weight: 400; }
.note-wrap .field-label { margin-top: 4px; }

/* "Checking..." moment */
.button.is-checking { opacity: .9; cursor: progress; }
.button.is-checking::before {
  content: ""; width: 16px; height: 16px; margin-right: 10px; border-radius: 50%;
  border: 2px solid rgba(233, 230, 225, 0.4); border-top-color: var(--cream); animation: ab-spin .8s linear infinite;
}
@keyframes ab-spin { to { transform: rotate(360deg); } }
@media (prefers-reduced-motion: reduce) { .button.is-checking::before { animation: none; } }

.guide-hint { text-align: center; }
.guide-hint a { font-weight: 600; }

/* Quick links: clean tappable rows */
.row-list { padding: 0; margin-top: 20px; overflow: hidden; }
.row {
  display: flex; align-items: center; justify-content: space-between; gap: 12px; width: 100%;
  min-height: 68px; padding: 14px 20px; margin: 0;
  background: none; border: 0; border-top: 1px solid var(--line);
  font: inherit; text-align: left; color: var(--ink); text-decoration: none; cursor: pointer;
}
.row:first-child { border-top: 0; }
.row:hover { background: rgba(38, 47, 116, 0.04); }
.row::after { content: ""; flex: 0 0 9px; width: 9px; height: 9px; border-right: 2px solid var(--navy); border-top: 2px solid var(--navy); transform: rotate(45deg); }
.row-text { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.row-text strong { font-size: 1.02rem; }
.row-text > span { font-size: .9rem; color: var(--gray); }
.row-urgent strong { color: var(--red); }
.row-urgent::after { border-color: var(--red); }

.unsure { margin: 20px 0 0; }

/* Share */
.share-card { margin-top: 48px; text-align: center; }
.share-card h2 { font-size: 1.35rem; color: var(--navy); }
.share-card p { margin-bottom: 16px !important; }
.share-fallback { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin-top: 12px; width: 100%; flex-basis: 100%; }
.share-fallback .button { padding: 12px 10px; min-height: 48px; font-size: .95rem; }

/* Answer icons, so the answer never depends on color alone */
.verdict { display: grid; grid-template-columns: auto 1fr; column-gap: 18px; align-items: center; }
.verdict > *:not(.verdict-icon) { grid-column: 2; }
.verdict-icon {
  grid-column: 1; grid-row: 1 / span 3; align-self: start;
  width: 48px; height: 48px; border-radius: 50%; display: grid; place-items: center;
  color: #fff; font-family: var(--font-sans); font-size: 26px; font-weight: 700; line-height: 1;
  background: var(--navy);
}
.verdict.red .verdict-icon { background: var(--red); }
.verdict.red .verdict-icon::before { content: "\2715"; }
.verdict.yellow .verdict-icon { background: #c48a12; }
.verdict.yellow .verdict-icon::before { content: "?"; }
.verdict.green .verdict-icon { background: var(--green); }
.verdict.green .verdict-icon::before, .verdict.sent .verdict-icon::before { content: "\2713"; }

/* Header: phone icon on the Call button; "Larger text" lives in the menu on phones */
.header-call { display: inline-flex; align-items: center; gap: 6px; }
.header-call svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linejoin: round; }
.menu-only { display: none; }
.menu-textsize { background: none; border: 0; font: inherit; color: var(--cream); cursor: pointer; text-align: left; }

/* =====================================================================
   Phones and small tablets
   ===================================================================== */
@media (max-width: 1200px) {
  .js .menu-only { display: block; border-top: 1px solid rgba(233, 230, 225, 0.15); margin-top: 6px; padding-top: 6px; }
  .js .menu-textsize { display: block; width: 100%; padding: 14px 20px; font-size: 16px; letter-spacing: .03em; }
  .js .menu-textsize:hover, .js .menu-textsize:focus-visible { background: rgba(233, 230, 225, 0.1); }
}

@media (max-width: 640px) {
  html { font-size: 112.5%; }            /* 18px on phones */
  html.text-large { font-size: 131.25%; } /* 21px */

  /* Header */
  .site-header { padding: 0 14px; height: 62px; gap: 8px; }
  body::before { top: 62px; background-size: 220% auto; }
  .logo { height: 36px; }
  .brand { gap: 10px; }
  .brand-name { font-size: 1.02rem; line-height: 1.1; }
  .brand-text { flex-direction: column; gap: 1px; }
  .brand-tag { font-size: 10px; letter-spacing: .05em; }
  .header-call { background: var(--cream); color: var(--navy); border-color: var(--cream); padding: 8px 12px; font-size: 15px; font-weight: 700; }
  .header-call:hover, .header-call:focus-visible { background: #fff; }
  .js .main-nav ul { top: calc(100% + 11px); right: -76px; min-width: 260px; }

  /* Page */
  .page { padding: 20px 16px 48px; }
  .run-by { font-size: .8rem; margin-bottom: 10px; }
  .run-by img { width: 32px; height: 32px; }
  .page-title { font-size: 1.9rem; margin-bottom: 8px; }
  .page-intro { font-size: 1rem; margin-bottom: 18px; }
  .eyebrow { font-size: .72rem; }
  .card { padding: 18px; }
  .card + .card { margin-top: 16px; }

  /* Checker */
  .check-card { padding: 18px; }
  textarea { min-height: 6.25rem; padding: 12px 14px; }
  textarea.short { min-height: 4.5rem; }
  .field-label { margin: 16px 0 8px; }
  .source { margin-top: 16px; }
  .chips { grid-template-columns: 1fr 1fr; }
  .chip-face { min-height: 48px; font-size: .88rem; padding: 8px 10px; gap: 8px; }
  .page-intro { max-width: 32ch; }
  .check-actions { grid-template-columns: 1fr; gap: 10px; margin-top: 12px; }
  .button { min-height: 54px; padding: 14px 20px; }
  .guide-hint { margin-top: 14px !important; }

  .row { padding: 14px 18px; }
  .unsure h2 { font-size: 1.3rem; }

  /* Answer */
  .verdict { padding: 18px; column-gap: 14px; }
  .verdict-icon { width: 40px; height: 40px; font-size: 22px; }
  .verdict-title { font-size: 1.6rem; }
  .verdict-line { font-size: 1rem; }
  .answer-grid { grid-template-columns: 1fr; gap: 16px; }
  .button-row { gap: 10px; }
  .button-row .button { width: 100%; }
  .share-fallback { grid-template-columns: 1fr 1fr 1fr; }

  /* Sections */
  .section-title { font-size: 1.45rem; margin-bottom: 16px; }
  .guides, .faq, .trust { margin-top: 40px; }
  .guide summary { padding: 16px 46px 16px 18px; font-size: 1rem; }
  .guide > *:not(summary) { margin-left: 18px; margin-right: 18px; }
  .trust-card { flex-direction: column; align-items: center; text-align: center; gap: 14px; }
  .profile-photo { width: 96px; height: 96px; flex-basis: 96px; }
  .share-card { margin-top: 36px; }

  /* Footer */
  .footer-inner { grid-template-columns: 1fr; text-align: center; padding: 18px 16px; gap: 8px; }
  .footer-brand { justify-content: center; }
  .footer-tools { text-align: center; }
}
@media (max-width: 480px) {
  .brand-divider { display: none; }
  .js .menu-button { padding: 7px 10px; gap: 5px; }
  .hc-num { display: none; }
}
@media (max-width: 370px) {
  .brand-name { font-size: .95rem; }
  .brand-tag { font-size: 9.5px; }
  .logo { height: 32px; }
  .header-call svg { display: none; }
  .chip-face { font-size: .84rem; }
}
@media (max-width: 330px) {
  .brand-text { display: none; }
}

/* Version number in the footer: goes up by .01 with every update (index.html and privacy.html). Kept on one line. */
.footer-version { white-space: nowrap; }
@media (max-width: 640px) {
  .footer-version { display: block; margin-top: 4px; font-size: 0.85em; opacity: 0.85; }
  .footer-version .fv-sep { display: none; }
}

/* =====================================================================
   Multi-page clean-up: crisp header, full-width phone menu, sub-pages
   ===================================================================== */

/* Header sizes are fixed in px so "Larger text" never crowds the header. */
.brand-name { font-size: 20px; }
.brand-tag { font-size: 12px; }
.main-nav a { font-size: 16px; }
.main-nav a[aria-current="page"] { border-bottom-color: rgba(233, 230, 225, 0.6); }
.header-call { font-size: 15px; }

/* Menu button: three bars + the word "Menu" (clearer than an icon alone) */
.menu-bars { display: inline-block; position: relative; width: 18px; height: 2px; background: currentColor; border-radius: 2px; }
.menu-bars::before, .menu-bars::after { content: ""; position: absolute; left: 0; width: 18px; height: 2px; background: currentColor; border-radius: 2px; transition: transform .2s, top .2s; }
.menu-bars::before { top: -6px; }
.menu-bars::after { top: 6px; }
.menu-button[aria-expanded="true"] .menu-bars { background: transparent; }
.menu-button[aria-expanded="true"] .menu-bars::before { top: 0; transform: rotate(45deg); }
.menu-button[aria-expanded="true"] .menu-bars::after { top: 0; transform: rotate(-45deg); }
.js .menu-button::after { display: none !important; }

.menu-backdrop { position: fixed; inset: 0; z-index: 8; background: rgba(18, 18, 46, 0.45); }

/* Sub-pages */
.guides-list .card.guide + .card.guide { margin-top: 12px; }
.guides-list .faq-sources { margin-top: 18px; }
.page-next { margin-top: 36px; text-align: center; }
.page-next .button { min-width: 240px; }
.page-inner > .card + .card { margin-top: 20px; }
.page-inner > .share-card { margin-top: 36px; }

/* Headline never outgrows a phone, even with Larger text */
.page-title { font-size: clamp(30px, 8.4vw, 3rem); }

@media (max-width: 1200px) {
  .js .menu-button { gap: 8px; font-size: 15px; font-weight: 600; letter-spacing: .02em; }
  /* The menu opens as a clean full-width panel under the header */
  .js .main-nav { position: static; }
  .js .main-nav ul {
    position: fixed; left: 0; right: 0; top: 72px; z-index: 9;
    max-height: calc(100vh - 72px); overflow-y: auto;
    min-width: 0; padding: 8px 0 20px; border-radius: 0;
    background: var(--header-bg); border-top: 1px solid rgba(233, 230, 225, 0.12);
    box-shadow: 0 18px 30px rgba(18, 18, 46, 0.35);
  }
  .js .main-nav li a, .js .menu-textsize {
    display: flex; align-items: center; justify-content: space-between;
    min-height: 56px; padding: 0 24px; font-size: 17px; letter-spacing: .01em;
    border-bottom: 0; border-top: 1px solid rgba(233, 230, 225, 0.08);
  }
  .js .main-nav li:first-child a { border-top: 0; }
  .js .main-nav li a:not([target])::after { content: ""; width: 8px; height: 8px; border-right: 2px solid rgba(233, 230, 225, 0.55); border-top: 2px solid rgba(233, 230, 225, 0.55); transform: rotate(45deg); }
  .js .main-nav li a[target="_blank"]::after { content: "\2197"; opacity: .6; font-size: 15px; }
  .js .main-nav li a[aria-current="page"] { color: #fff; font-weight: 700; background: rgba(233, 230, 225, 0.06); box-shadow: inset 4px 0 0 #88a7bc; }
  .js .menu-only.menu-tools { border-top: 0; margin-top: 0; padding-top: 0; }
  .js .menu-tools .menu-textsize { width: 100%; text-align: left; color: rgba(233, 230, 225, 0.85); }
  .js .menu-only.menu-call { border-top: 0; margin-top: 12px; padding: 0 20px; }
  .js .main-nav li.menu-call a.button {
    display: block; text-align: center; line-height: 54px; min-height: 54px; padding: 0 16px; border-top: 0;
    background: var(--cream); color: var(--navy); font-weight: 700; font-size: 16px; border-radius: 8px;
  }
  .js .main-nav li.menu-call a.button::after { display: none; }
}

@media (max-width: 640px) {
  .site-header { height: 62px; padding: 0 12px; gap: 8px; }
  .js .main-nav ul { top: 62px; max-height: calc(100vh - 62px); }
  .logo { height: 34px; }
  .brand { gap: 9px; min-width: 0; }
  .brand-name { font-size: 17px; line-height: 1.1; }
  .brand-tag { font-size: 10px; letter-spacing: .04em; }
  .js .menu-button { min-height: 42px; padding: 0 11px; font-size: 15px; margin-left: auto; }
  .header-call { min-height: 42px; padding: 0 12px; font-size: 15px; }
  .main-nav { margin-right: 0; }
  .run-by { font-size: 14px; }
  .page-title { font-size: clamp(28px, 8.2vw, 36px); }
  html.text-large .page-intro { font-size: 1rem; }
}
@media (max-width: 380px) {
  .logo { height: 30px; }
  .brand-name { font-size: 16px; }
  .brand-tag { display: none; }
  .js .menu-button { padding: 0 9px; }
  .header-call { padding: 0 10px; }
  .header-call svg { display: none; }
}
@media (max-width: 330px) {
  .brand-text { display: none; }
}

/* =====================================================================
   Header v3: logo left, name centered (phones), menu right; Call is the
   first menu item; disclaimer sits above the footer.
   ===================================================================== */
.brand-text { text-decoration: none; padding-left: 14px; border-left: 1px solid rgba(233, 230, 225, 0.35); }
.brand-text:hover .brand-name { text-decoration: underline; text-underline-offset: 4px; }

/* Call link: first in the menu */
.menu-call-first a { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; }
.menu-call-first svg { width: 16px; height: 16px; flex: 0 0 16px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linejoin: round; }

/* Send to Burjo form */
.priority-note {
  margin: -18px 0 24px; padding: 10px 14px; border-radius: 6px; max-width: 620px;
  background: rgba(246, 227, 226, 0.9); border-left: 4px solid var(--red);
  font-size: .95rem; font-weight: 600; color: var(--ink);
}
.field-hint { margin: -4px 0 8px; font-size: .88rem; color: var(--gray); }
.money { margin-top: 22px; }
.money .field-hint { margin-top: 0; }
.chips-2 { grid-template-columns: 1fr 1fr; }
.chips-2 .chip-face { justify-content: center; font-size: 1rem; min-height: 52px; }
.verdict-priority { font-weight: 600; color: var(--red); }
@media (max-width: 640px) { .priority-note { margin: -8px 0 18px; } }

/* Small disclaimer just above the footer */
.disclaimer { margin: 0; padding: 0 20px 16px; text-align: center; font-size: 12.5px; line-height: 1.5; color: #5b7487; }

@media (max-width: 1200px) {
  .site-header { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; }
  .brand { justify-self: start; }
  .brand-text {
    justify-self: center; flex-direction: column; align-items: center; gap: 2px;
    padding-left: 0; border-left: 0; text-align: center;
  }
  .main-nav { justify-self: end; margin: 0; }
  .js .main-nav li.menu-call-first a {
    justify-content: flex-start; gap: 12px; color: #fff; font-weight: 700;
    background: rgba(233, 230, 225, 0.08);
  }
  .js .main-nav li.menu-call-first a::after { display: none; }
  .js .main-nav li.menu-call-first svg { width: 18px; height: 18px; flex-basis: 18px; }
}
@media (max-width: 640px) {
  .brand-name { font-size: 18px; }
  .brand-tag { font-size: 10.5px; }
  .disclaimer { font-size: 12px; padding: 0 16px 14px; }
}
@media (max-width: 380px) {
  .brand-name { font-size: 16px; }
  .brand-tag { display: block; font-size: 9.5px; }
  .logo { height: 30px; }
}
@media (max-width: 330px) {
  .brand-tag { display: none; }
  .brand-text { display: flex; }
}

/* =====================================================================
   Footer v2: logo, copyright, and one quiet row of links. Sizes in px
   so it stays neat with Larger text on.
   ===================================================================== */
.site-footer { font-size: 14px; }
.site-footer .footer-inner {
  max-width: 760px; margin: 0 auto; padding: 18px 24px;
  display: flex; align-items: center; justify-content: center; flex-wrap: wrap; gap: 6px 18px;
  text-align: center;
}
.site-footer .footer-logo img { width: 40px; height: 40px; border-radius: 8px; }
.footer-copy { font-weight: 600; color: var(--ink); }
.footer-links { display: inline-flex; align-items: center; gap: 10px; color: #24314a; font-size: 13.5px; }
.footer-links a, .footer-links .link-button { color: #24314a; font-size: 13.5px; padding: 6px 2px; }
.footer-links .dot { opacity: .6; }
.footer-version { white-space: nowrap; display: inline; margin: 0; opacity: .85; font-size: 13.5px; }

@media (max-width: 640px) {
  .site-footer .footer-inner { flex-direction: column; gap: 6px; padding: 18px 16px 20px; }
  .site-footer .footer-logo img { width: 36px; height: 36px; }
  .footer-copy { font-size: 14px; }
  .footer-version { display: inline; margin: 0; }
}
