/* Fonts are hosted with the site (no requests to third parties). */
@font-face { font-family: "Alegreya"; font-style: normal; font-weight: 400; font-display: swap; src: url("fonts/alegreya-latin-400-normal.woff2") format("woff2"); }
@font-face { font-family: "Alegreya"; font-style: normal; font-weight: 500; font-display: swap; src: url("fonts/alegreya-latin-500-normal.woff2") format("woff2"); }
@font-face { font-family: "Alegreya"; font-style: normal; font-weight: 700; font-display: swap; src: url("fonts/alegreya-latin-700-normal.woff2") format("woff2"); }
@font-face { font-family: "Alegreya"; font-style: italic; font-weight: 400; font-display: swap; src: url("fonts/alegreya-latin-400-italic.woff2") format("woff2"); }
@font-face { font-family: "Nunito"; font-style: normal; font-weight: 400; font-display: swap; src: url("fonts/nunito-latin-400-normal.woff2") format("woff2"); }
@font-face { font-family: "Nunito"; font-style: normal; font-weight: 600; font-display: swap; src: url("fonts/nunito-latin-600-normal.woff2") format("woff2"); }
@font-face { font-family: "Nunito"; font-style: normal; font-weight: 700; font-display: swap; src: url("fonts/nunito-latin-700-normal.woff2") format("woff2"); }
@font-face { font-family: "Nunito"; font-style: normal; font-weight: 800; font-display: swap; src: url("fonts/nunito-latin-800-normal.woff2") format("woff2"); }

/* Florazu website — draft preview (static, no build step).
   Brand blue: --blue-700 is #003F70 (brand manual FLZ-LOAP-20230321). Logo SVG recoloured to match.
   Headings: Alegreya (Google Fonts) replaces Book Antiqua, per Daniel's decision. */

:root {
  --blue-900: #002541;
  --blue-800: #003153;
  --blue-700: #003F70;   /* primary, brand manual; logo matches */
  --blue-600: #26658F;
  --blue-500: #5285A7;
  --blue-400: #8BB2CC;
  --blue-300: #C1D8E7;
  --blue-100: #E8F2F8;
  --ink: #0E2236;
  --muted: #4A6378;
  --paper: #FBFCFD;
  --white: #FFFFFF;
  --error: #B42318;
  --tbc: #FFEE99;        /* unverified claim, flagged for Daniel (team convention) */
  --serif: "Alegreya", "Palatino Linotype", Palatino, "TeX Gyre Pagella", Georgia, serif;
  --sans: "Nunito", "Helvetica Neue", Arial, sans-serif;
  --radius: 14px;
  --wrap: 1180px;
  --gutter: 16px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } * { transition: none !important; } }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font: 400 1.0625rem/1.6 var(--sans);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img, svg { max-width: 100%; display: block; }
a { color: var(--blue-700); text-underline-offset: 3px; }
a:focus-visible, button:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible, summary:focus-visible {
  outline: 3px solid var(--blue-400); outline-offset: 3px; border-radius: 4px;
}
h1, h2, h3 { font-family: var(--serif); color: var(--blue-700); font-weight: 500; line-height: 1.12; margin: 0 0 .5em; letter-spacing: -0.005em; }
p { margin: 0 0 1em; }
ul, ol { padding: 0; margin: 0; }

.wrap { width: min(100% - 2 * var(--gutter), var(--wrap)); margin-inline: auto; }
.visually-hidden, .sr-only {
  position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap;
}
.skip { position: absolute; left: -999px; top: 0; }
.skip:focus { left: 1rem; top: 1rem; background: var(--white); padding: .5rem 1rem; z-index: 99; }

/* ---------- Highlight for unverified claims (team convention: yellow) ---------- */
.tbc { background: var(--tbc); border-radius: 3px; box-decoration-break: clone; -webkit-box-decoration-break: clone; padding: 0 .15em; }
.tbc-block { outline: 2px dashed #E0B800; outline-offset: 8px; border-radius: 6px; }
.tbc-item { background: var(--tbc); }
.tbc-inline { background: var(--tbc); font-size: .85em; padding: 0 .3em; border-radius: 3px; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5em;
  font: 800 1rem/1 var(--sans); letter-spacing: .01em;
  padding: .95rem 1.4rem; border-radius: 999px; border: 2px solid transparent;
  text-decoration: none; cursor: pointer; transition: background .2s, color .2s, border-color .2s, transform .2s;
}
.btn:hover { transform: translateY(-1px); }
.btn-primary { background: var(--blue-700); color: var(--white); }
.btn-primary:hover { background: var(--blue-800); }
.btn-outline { border-color: var(--blue-700); color: var(--blue-700); background: transparent; }
.btn-outline:hover { background: var(--blue-100); }
.btn-ghost { color: var(--blue-700); background: transparent; }
.btn-ghost:hover { background: var(--blue-100); }
.btn-light { background: var(--white); color: var(--blue-700); }
.btn-light:hover { background: var(--blue-100); }
.btn-outline-light { border-color: var(--blue-300); color: var(--white); background: transparent; }
.btn-outline-light:hover { background: rgba(255,255,255,.08); }
.btn-small { padding: .6rem 1rem; font-size: .9rem; white-space: nowrap; }
.btn-block { width: 100%; }

/* ---------- Header ---------- */
.site-header { position: sticky; top: 0; z-index: 20; background: rgba(251,252,253,.92); backdrop-filter: blur(10px); border-bottom: 1px solid var(--blue-300); }
.header-inner { display: flex; align-items: center; gap: 1.25rem; min-height: 76px; }
.logo img { width: 132px; height: auto; }
.nav { margin-left: auto; }
.nav ul { display: flex; gap: 1.6rem; list-style: none; }
.nav a { color: var(--ink); text-decoration: none; font-weight: 600; font-size: .95rem; padding: .4rem 0; border-bottom: 2px solid transparent; white-space: nowrap; }
.nav a:hover { border-color: var(--blue-400); }
.header-actions { display: flex; align-items: center; gap: .6rem; }
/* Language menu: flag + code button; a compact panel in the page's card style */
.lang-menu { position: relative; }
.lang-toggle {
  display: inline-flex; align-items: center; gap: .45rem; cursor: pointer;
  font: 700 .9rem/1 var(--sans); color: var(--blue-700); background: var(--white);
  border: 1.5px solid var(--blue-300); border-radius: 999px; padding: .42rem .8rem .42rem .5rem;
  transition: border-color .2s, background .2s;
}
.lang-toggle:hover { border-color: var(--blue-500); background: var(--blue-100); }
.lang-toggle .caret { font-size: .7rem; color: var(--blue-600); }
.lang-menu .flag { width: 22px; height: 16px; border-radius: 2px; object-fit: cover; flex-shrink: 0; box-shadow: 0 0 0 1px rgba(0,37,65,.14); }
.lang-list {
  position: absolute; right: 0; top: calc(100% + 10px); z-index: 40; list-style: none; margin: 0;
  display: grid; grid-template-columns: 1fr 1fr; gap: 2px; width: 380px; padding: .5rem;
  background: var(--white); border: 1px solid var(--blue-300); border-radius: 14px;
  box-shadow: 0 16px 36px -18px rgba(0,37,65,.4);
}
.lang-list[hidden] { display: none !important; }
.lang-list [role="menuitemradio"] {
  display: flex; align-items: center; gap: .55rem; width: 100%; padding: .5rem .6rem; border: 0; border-radius: 9px;
  background: transparent; cursor: pointer; font: 600 .95rem/1.2 var(--sans); color: var(--ink); text-align: left;
}
.lang-list [role="menuitemradio"] span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.lang-list [role="menuitemradio"]:hover, .lang-list [role="menuitemradio"]:focus-visible { background: var(--blue-100); outline: none; }
.lang-list [role="menuitemradio"]:focus-visible { box-shadow: inset 0 0 0 2px var(--blue-400); }
.lang-list [role="menuitemradio"][aria-checked="true"] { color: var(--blue-700); background: var(--blue-100); font-weight: 800; }
.lang-list li { list-style: none; min-width: 0; }
@media (max-width: 600px) {
  .lang-list { position: fixed; left: var(--gutter); right: var(--gutter); top: 70px; width: auto; grid-template-columns: 1fr 1fr; }
}
.menu-toggle {
  display: none; font: 700 .95rem var(--sans); color: var(--blue-700); background: var(--white);
  border: 1.5px solid var(--blue-300); border-radius: 999px; padding: .55rem 1rem; cursor: pointer;
}

/* ---------- Hero ---------- */
.hero {
  position: relative; overflow: hidden; color: var(--white);
  background:
    radial-gradient(900px 500px at 85% 20%, rgba(139,178,204,.25), transparent 60%),
    linear-gradient(135deg, var(--blue-500) 0%, var(--blue-700) 55%, var(--blue-900) 100%);
  padding: clamp(4.5rem, 10vw, 8rem) 0 clamp(2.5rem, 5vw, 3.5rem);
}
.hero-grid { display: grid; grid-template-columns: 1.4fr 1fr; gap: 2rem; align-items: center; }
.eyebrow { font: 800 .8rem/1.2 var(--sans); letter-spacing: .16em; text-transform: uppercase; color: var(--blue-300); margin-bottom: 1.25rem; }
.eyebrow-dark { color: var(--blue-600); }
.display { color: var(--white); font-size: clamp(3rem, 8vw, 6.4rem); line-height: .98; letter-spacing: -0.02em; font-weight: 500; }
.lede { font-size: clamp(1.1rem, 1.6vw, 1.3rem); max-width: 34ch; margin-top: 1.5rem; color: var(--blue-100); }
.lede.tbc { color: var(--ink); }
.cta-row { display: flex; flex-wrap: wrap; gap: .8rem; margin-top: 2rem; }
.hero-emblem { display: flex; justify-content: center; }
.hero-emblem img { width: min(360px, 70%); opacity: .14; }
.stats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1rem; margin-top: clamp(3rem, 6vw, 4.5rem); padding-top: 2rem; border-top: 1px solid rgba(255,255,255,.25); }
.stats div { display: flex; flex-direction: column; }
.stats dd { margin: 0; color: var(--blue-100); font-size: 1.05rem; font-weight: 700; }
.stats .num { display: block; font: 500 clamp(3rem, 7vw, 5rem)/1 var(--serif); color: var(--white); margin-bottom: .35rem; }
.stats .tbc-block { outline-color: #FFD84D; }

/* ---------- Route ---------- */
.section { padding: clamp(4rem, 8vw, 6.5rem) 0; }
.section-dark { background: var(--blue-900); color: var(--white); }
.section-dark .h2 { color: var(--white); max-width: 22ch; }
.h2 { font-size: clamp(2rem, 4.2vw, 3.2rem); }
.h3 { font-size: clamp(1.5rem, 2.6vw, 2rem); }
.lead { font-size: 1.15rem; color: var(--muted); max-width: 52ch; }
.route-steps {
  list-style: none; counter-reset: none; display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.5rem;
  margin-top: 3.5rem; position: relative;
}
.route-steps::before {
  content: ""; position: absolute; left: 2rem; right: 2rem; top: 1.6rem; height: 0;
  border-top: 2px dotted var(--blue-400);
}
.route-steps li { position: relative; }
.step-num {
  display: grid; place-items: center; width: 3.2rem; height: 3.2rem; border-radius: 50%;
  background: var(--blue-600); color: var(--white); font: 800 1.1rem var(--sans); margin-bottom: 1.25rem;
  box-shadow: 0 0 0 6px var(--blue-900);
}
.route-steps h3 { color: var(--white); font-size: 1.5rem; }
.route-steps p { color: var(--blue-300); margin: 0; }

/* ---------- Markets ---------- */
.markets { background: var(--paper); }
.markets-grid { display: grid; grid-template-columns: 1fr 1.4fr; gap: 3rem; align-items: start; }
.country-list { list-style: none; display: grid; grid-template-columns: repeat(auto-fill, minmax(170px, 1fr)); gap: .6rem 1rem; }
.country-list li { display: flex; align-items: center; gap: .65rem; padding: .7rem 1rem; border: 1px solid var(--blue-300); border-radius: 10px; background: var(--white); font-weight: 600; font-size: .98rem; }
.country-list .flag { width: 24px; height: 18px; flex-shrink: 0; border-radius: 2px; box-shadow: 0 0 0 1px rgba(0,0,0,.12); object-fit: cover; }

/* ---------- Flowers ---------- */
.flowers { background: var(--blue-100); }
.section-head { max-width: 760px; margin-bottom: 2.5rem; }
.flower-grid {
  list-style: none; display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: .5rem .9rem; margin-bottom: 3rem;
}
.flower { display: flex; align-items: center; gap: .6rem; min-width: 0; padding: .45rem; border-radius: 12px; text-decoration: none; color: var(--blue-700); transition: background .2s; }
.flower:hover { background: var(--white); }
.flower-img {
  width: 44px; height: 44px; flex-shrink: 0; border-radius: 50%;
  background: radial-gradient(circle at 50% 45%, var(--b) 0 28%, var(--a) 29% 100%);
  box-shadow: 0 0 0 1px rgba(0,37,65,.08);
}
.flower-name { font-weight: 700; font-size: .98rem; line-height: 1.2; overflow-wrap: anywhere; }
.flower:hover .flower-name { text-decoration: underline; text-decoration-color: var(--blue-400); text-underline-offset: 4px; }
.special {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1.5rem;
  border: 2px solid var(--blue-600); border-radius: var(--radius); padding: 1.75rem 2rem; background: var(--white);
}
.special p { margin: 0; color: var(--muted); }
.special .h3 { font-size: 1.6rem; margin-bottom: .25rem; }

/* ---------- Tabs ---------- */
.tint { background: var(--paper); }
.tabs { display: inline-flex; gap: .4rem; padding: .35rem; background: var(--blue-100); border-radius: 999px; margin-bottom: 2.5rem; }
.tabs button {
  font: 800 1rem var(--sans); color: var(--blue-700); background: transparent; border: 0;
  padding: .75rem 1.4rem; border-radius: 999px; cursor: pointer;
}
.tabs button[aria-selected="true"] { background: var(--blue-700); color: var(--white); }
.panel-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 3rem; align-items: start; }
.panel-grid .lead { margin: 0 0 1.5rem; }
.checks { list-style: none; display: grid; gap: .9rem; }
.checks li {
  position: relative; padding: 1rem 1rem 1rem 3rem; background: var(--white);
  border: 1px solid var(--blue-300); border-radius: 12px; font-weight: 600;
}
.checks li::before {
  content: ""; position: absolute; left: 1.1rem; top: 1.15rem; width: .9rem; height: .5rem;
  border-left: 3px solid var(--blue-600); border-bottom: 3px solid var(--blue-600); transform: rotate(-45deg);
}

/* ---------- Culture ---------- */
.culture { background: var(--white); }
.culture .h2 { max-width: 24ch; }
.values { list-style: none; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.25rem; margin: 3rem 0 2.5rem; counter-reset: v; }
.values li {
  padding: 2rem; border-radius: var(--radius); background: var(--blue-100); position: relative;
}
.value-num { display: block; font: 500 2.2rem/1 var(--serif); color: var(--blue-600); margin-bottom: .75rem; }
.values h3 { font-size: 1.45rem; margin-bottom: .5rem; }
.values p { margin: 0; color: var(--muted); }
.pull-quote {
  margin: 0 0 2.5rem; padding: 0 0 0 1.5rem; border-left: 3px solid var(--blue-500);
}
.pull-quote p { font: italic 400 clamp(1.4rem, 2.4vw, 1.9rem)/1.35 var(--serif); color: var(--blue-700); margin: 0; }

/* ---------- Forms ---------- */
.signup { background: var(--blue-100); }
.signup-grid, .contact-grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: 3.5rem; align-items: start; }
.steps { list-style: none; counter-reset: s; margin-top: 2rem; display: grid; gap: .75rem; }
.steps li {
  counter-increment: s; position: relative; padding-left: 3rem; font-weight: 600; color: var(--ink);
}
.steps li::before {
  content: counter(s); position: absolute; left: 0; top: 0; width: 2rem; height: 2rem; border-radius: 50%;
  background: var(--blue-700); color: var(--white); display: grid; place-items: center; font-weight: 800; font-size: .9rem;
}
.form {
  background: var(--white); border-radius: var(--radius); padding: 2rem; box-shadow: 0 1px 0 var(--blue-300), 0 20px 40px -24px rgba(0,37,65,.25);
  display: grid; gap: 1.1rem;
}
.form fieldset { border: 0; padding: 0; margin: 0; min-width: 0; }
.role-fieldset legend { font-weight: 700; font-size: .92rem; color: var(--blue-700); padding: 0; margin-bottom: .5rem; }
.role-options { display: grid; grid-template-columns: 1fr 1fr; gap: .6rem; }
.role-option {
  display: flex; align-items: center; gap: .7rem; cursor: pointer;
  padding: .95rem 1rem; border: 1.5px solid var(--blue-300); border-radius: 12px;
  background: var(--paper); color: var(--ink); font-weight: 700; font-size: 1rem; line-height: 1.2;
  transition: border-color .2s, background .2s, box-shadow .2s;
}
.role-option:hover { border-color: var(--blue-500); }
.role-option input { appearance: auto; accent-color: var(--blue-700); width: 18px; height: 18px; margin: 0; flex-shrink: 0; }
.role-option:has(input:checked) { border-color: var(--blue-700); background: var(--blue-100); box-shadow: inset 0 0 0 1px var(--blue-700); }
.role-option:focus-within { outline: 3px solid var(--blue-400); outline-offset: 2px; }
.field { display: grid; gap: .4rem; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.field label { font-weight: 700; font-size: .92rem; color: var(--blue-700); }
.field input, .field textarea {
  font: 500 1rem var(--sans); color: var(--ink); background: var(--paper);
  border: 1.5px solid var(--blue-300); border-radius: 10px; padding: .8rem .95rem; width: 100%;
}
.field input:focus, .field textarea:focus { border-color: var(--blue-600); background: var(--white); outline: none; box-shadow: 0 0 0 3px var(--blue-300); }
.field.invalid input, .field.invalid textarea { border-color: var(--error); }
.field .err { color: var(--error); font-size: .85rem; font-weight: 700; }
.form-msg { margin: 0; font-weight: 700; color: var(--blue-700); min-height: 1.4em; }

/* ---------- FAQ ---------- */
.faq-grid { display: grid; grid-template-columns: 1fr 1.6fr; gap: 3rem; align-items: start; }
.faq-list details { border-bottom: 1px solid var(--blue-300); padding: 1.1rem 0; }
.faq-list details:first-child { border-top: 1px solid var(--blue-300); }
.faq-list summary {
  list-style: none; cursor: pointer; font-weight: 800; font-size: 1.1rem; color: var(--blue-700);
  display: flex; justify-content: space-between; gap: 1rem; align-items: center;
}
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after { content: "+"; font-size: 1.5rem; line-height: 1; color: var(--blue-600); transition: transform .2s; }
.faq-list details[open] summary::after { content: "–"; }
.faq-list details p { margin: .8rem 0 0; color: var(--muted); max-width: 60ch; }

/* ---------- Portal + contact ---------- */
.portal { background: var(--blue-700); color: var(--white); padding: 2.5rem 0; }
.portal .h3 { color: var(--white); margin-bottom: .4rem; }
.portal p { color: var(--blue-100); margin-bottom: 1.25rem; }
.portal .btn-primary { background: var(--white); color: var(--blue-700); }
.portal .btn-primary:hover { background: var(--blue-100); }
.contact-details { font-style: normal; margin-top: 2rem; display: grid; gap: 1rem; }
.contact-details p { margin: 0; display: grid; gap: .15rem; }
.contact-details .label { font: 800 .75rem var(--sans); text-transform: uppercase; letter-spacing: .12em; color: var(--blue-600); }
.contact-details a { font-weight: 700; font-size: 1.05rem; text-decoration: none; }

/* ---------- Footer ---------- */
.site-footer { background: var(--blue-900); color: var(--blue-300); padding: 3.5rem 0 1.5rem; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr; gap: 2rem; padding-bottom: 2rem; border-bottom: 1px solid rgba(193,216,231,.2); }
.site-footer img { width: 150px; height: auto; margin-bottom: 1rem; }
.footer-note { font-size: .92rem; margin: .3rem 0; color: var(--blue-300); }
.site-footer ul { list-style: none; display: grid; gap: .6rem; }
.site-footer a { color: var(--blue-100); text-decoration: none; }
.site-footer a:hover { text-decoration: underline; }
.footer-base { padding-top: 1.25rem; font-size: .88rem; }

/* ---------- Responsive ---------- */
@media (max-width: 960px) {
  .nav { display: none; }
  .nav.open, .nav:target { display: block; }
  .menu-toggle { display: inline-block; }
  .hero-grid { grid-template-columns: 1fr; }
  .hero-emblem { display: none; }
  .route-steps { grid-template-columns: 1fr 1fr; row-gap: 2.5rem; }
  .route-steps::before { display: none; }
  .markets-grid, .panel-grid, .signup-grid, .contact-grid, .faq-grid { grid-template-columns: 1fr; gap: 2rem; }
  .values { grid-template-columns: 1fr; }
  .flower-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .values li:last-child { grid-column: auto; }
}
/* Mobile header: nav becomes a drop-down panel when toggled */
@media (max-width: 960px) {
  .site-header .nav.open {
    position: absolute; top: 100%; left: 0; right: 0; background: var(--paper);
    border-bottom: 1px solid var(--blue-300); padding: 1rem var(--gutter);
  }
  .site-header .nav.open ul { flex-direction: column; gap: .4rem; }
}
@media (max-width: 600px) {
  :root { --gutter: 16px; }
  .hide-sm { display: none; }
  .header-inner { min-height: 64px; gap: .6rem; }
  .logo img { width: 112px; }
    .btn-small { padding: .5rem .8rem; font-size: .85rem; }
  .route-steps { grid-template-columns: 1fr; }
  .stats { gap: .75rem; }
  .stats .num { font-size: clamp(2.6rem, 14vw, 3.4rem); }
  .stats dd { font-size: .9rem; }
  .field-row { grid-template-columns: 1fr; }
  .form { padding: 1.4rem; }
  .special { padding: 1.4rem; }
  .footer-grid { grid-template-columns: 1fr; }
  .tabs { display: flex; }
  .tabs button { flex: 1; padding: .7rem .6rem; }
  .flower-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

/* ---------- Legal pages (privacy policy) ---------- */
.legal-page { background: var(--paper); padding: 2.5rem 0 4rem; }
.legal-page .wrap { max-width: 760px; }
.legal-top { display: flex; justify-content: space-between; align-items: center; gap: 1rem; flex-wrap: wrap; margin-bottom: 2rem; }
.legal-top a.back { font-weight: 700; text-decoration: none; color: var(--blue-700); }
.legal-langs { display: flex; flex-wrap: wrap; gap: .35rem; }
.legal-langs a { font-size: .82rem; font-weight: 700; padding: .3rem .6rem; border: 1px solid var(--blue-300); border-radius: 999px; text-decoration: none; color: var(--blue-700); background: var(--white); }
.legal-langs a[aria-current="page"] { background: var(--blue-700); color: var(--white); border-color: var(--blue-700); }
.legal h1 { font-size: clamp(2.2rem, 5vw, 3rem); }
.legal .updated { color: var(--muted); font-size: .95rem; margin-bottom: 2rem; }
.legal h2 { font-size: 1.5rem; margin-top: 2.2rem; }
.legal p, .legal li { font-size: 1rem; line-height: 1.65; color: var(--ink); }
.legal ul { list-style: none; padding-left: 1.2rem; margin: 0 0 1em; display: grid; gap: .4rem; }
.legal ul li { position: relative; padding-left: .2rem; }
.legal a { overflow-wrap: anywhere; }
.legal mark.tbc { background: var(--tbc); padding: 0 .2em; }
.legal-draft { margin: 0 0 1.5rem; padding: .9rem 1.1rem; border-radius: 10px; background: #FFF8D6; border: 1px solid #E0B800; font-size: .95rem; }

/* Legal footer: three links */
.legal-nav { display: grid; gap: .9rem; }
.legal-nav-title { font: 800 .8rem/1.2 var(--sans); letter-spacing: .14em; text-transform: uppercase; color: var(--blue-300); margin: 0; }
.legal-links { list-style: none; display: grid; gap: .6rem; margin: 0; padding: 0; }

/* Privacy acknowledgement on the forms */
.consent { display: flex; gap: .7rem; align-items: flex-start; font-weight: 600; font-size: .95rem; line-height: 1.5; color: var(--ink); cursor: pointer; }
.consent input { accent-color: var(--blue-700); width: 18px; height: 18px; margin: .2rem 0 0; flex-shrink: 0; }
.consent-link { font-size: .92rem; font-weight: 700; color: var(--blue-700); }

/* Spam trap: hidden from people and from screen readers */
.hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }

/* Hidden elements stay hidden, whatever other rules say */
[hidden] { display: none !important; }
/* Contact details and forms that are not connected yet */
.reveal { margin: 0 0 1.25rem; }
.forms-offline { font-weight: 700; color: var(--blue-700); margin: 0 0 1.5rem; max-width: 52ch; }

/* Legal pages: header with back link and the flag menu, and a plain footer */
.legal-back { font-weight: 700; color: var(--blue-700); text-decoration: none; margin-left: auto; white-space: nowrap; }
.legal-back:hover { text-decoration: underline; }
.legal-footer { border-top: 1px solid var(--blue-300); padding: 1.5rem 0; font-size: .9rem; color: var(--muted); }
.legal-footer a { color: var(--blue-700); font-weight: 700; }
