/* Tourgen — tourgen.ai
   Palette and type from brand/concept.md (direction A, Waypoint).
   Light theme only: the logo file is the light lockup. */

:root {
  --lacquer: #0F3D3A;
  --sea: #1E6B63;
  --teal-tint: #86CFC2;
  --saffron: #E2A33C;
  --saffron-deep: #8A5A10;
  --agent-soft: #FBF3E3;
  --ink: #15201F;
  --stone: #5C6663;
  --border: #7E8885;
  --sand: #E9E3D6;
  --paper: #F6F3EC;
  --white: #FFFFFF;
  --night: #0B1514;
  --mist: #E8EEEC;
  --dust: #A4B2AE;
  --danger: #A32A1F;

  --serif: "Newsreader", "Iowan Old Style", Georgia, serif;
  --sans: "IBM Plex Sans", system-ui, -apple-system, "Segoe UI", sans-serif;

  --gutter: 16px;
  --max: 1200px;
  --section: 72px;
  --radius: 10px;

  color-scheme: light;
}

@media (min-width: 600px) { :root { --gutter: 24px; } }
@media (min-width: 1024px) { :root { --gutter: 40px; --section: 120px; } }

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

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: 80px;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 1.0625rem;   /* 17px */
  line-height: 1.6;       /* 27px */
  overflow-x: hidden;
}

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

h1, h2, h3, h4 {
  font-family: var(--serif);
  font-weight: 500;
  color: var(--lacquer);
  margin: 0;
  text-wrap: balance;
}

p { margin: 0 0 1em; max-width: 64ch; }
p:last-child { margin-bottom: 0; }

a { color: var(--sea); text-underline-offset: 0.18em; text-decoration-thickness: 1px; }
a:hover { text-decoration-thickness: 2px; }

:focus-visible {
  outline: 3px solid var(--sea);
  outline-offset: 3px;
  border-radius: 4px;
}

.skip-link {
  position: absolute;
  left: var(--gutter);
  top: -100px;
  z-index: 100;
  background: var(--lacquer);
  color: var(--paper);
  padding: 10px 16px;
  border-radius: 6px;
}
.skip-link:focus { top: 12px; }

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

.wrap {
  width: 100%;
  max-width: calc(var(--max) + 2 * var(--gutter));
  margin-inline: auto;
  padding-inline: var(--gutter);
}

/* ---------- Buttons ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 48px;
  padding: 12px 22px;
  border-radius: 999px;
  border: 2px solid var(--lacquer);
  background: var(--lacquer);
  color: var(--paper);
  font: 600 1rem/1.2 var(--sans);
  text-decoration: none;
  cursor: pointer;
  transition: background-color .15s ease, color .15s ease;
}
.btn:hover { background: var(--sea); border-color: var(--sea); }
.btn .dot {
  width: 9px; height: 9px; border-radius: 50%;
  background: var(--saffron);
  flex: none;
}
.btn--small { min-height: 40px; padding: 8px 16px; font-size: .9375rem; }
.btn--light { background: var(--paper); color: var(--lacquer); border-color: var(--paper); }
.btn--light:hover { background: var(--white); border-color: var(--white); }

/* ---------- Header ---------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(246, 243, 236, 0.94);
  border-bottom: 1px solid var(--sand);
}
@supports (backdrop-filter: blur(8px)) {
  .site-header { background: rgba(246, 243, 236, 0.85); backdrop-filter: blur(8px); }
}
.site-header .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 64px;
}
.brand-link { display: inline-flex; padding: 4px 0; }
.brand-link img { width: 132px; }
.site-nav { display: none; }
.site-nav ul { list-style: none; margin: 0; padding: 0; display: flex; gap: 28px; }
.site-nav a {
  color: var(--ink);
  text-decoration: none;
  font-size: .9375rem;
  font-weight: 500;
}
.site-nav a:hover { color: var(--sea); text-decoration: underline; }
@media (min-width: 1000px) {
  .site-nav { display: block; }
  .brand-link img { width: 150px; }
}

/* ---------- Hero ---------- */

.hero { padding-block: 40px var(--section); }
.hero-grid { display: grid; gap: 48px; }
.hero-kicker {
  font-family: var(--serif);
  font-style: italic;
  font-size: 1.1875rem;
  color: var(--saffron-deep);
  margin-bottom: 18px;
}
.hero h1 {
  font-size: clamp(2.5rem, 1.55rem + 4.2vw, 4.75rem);
  line-height: 1.02;
  letter-spacing: -0.02em;
  font-variation-settings: "opsz" 72;
  max-width: 12ch;
}
.hero-sub {
  margin-top: 24px;
  font-size: 1.125rem;
  line-height: 1.6;
  max-width: 52ch;
}
.hero-actions {
  margin-top: 32px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 16px 24px;
}
.hero-actions .text-link { font-weight: 500; }
.hero-note {
  margin-top: 16px;
  font-size: .9375rem;
  color: var(--stone);
  max-width: 46ch;
}

@media (min-width: 1000px) {
  .hero { padding-top: 72px; }
  .hero-grid { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 64px; align-items: start; }
  .hero-log { margin-top: 56px; }
}

/* Overnight log: the agency's night, ending with the owner. */
.hero-log {
  background: var(--white);
  border: 1px solid var(--sand);
  border-radius: 16px;
  padding: 24px 20px 20px;
  position: relative;
}
.hero-log h2 {
  font-size: 1.375rem;
  line-height: 1.25;
  margin-bottom: 4px;
}
.hero-log .log-intro { font-size: .9375rem; color: var(--stone); margin-bottom: 20px; }
.log {
  list-style: none;
  margin: 0;
  padding: 0;
  position: relative;
}
.log li:not(:last-child)::before {
  /* the route: one segment from each mark to the next */
  content: "";
  position: absolute;
  left: 15px;
  top: 16px;
  bottom: -16px;
  width: 2px;
  background: var(--lacquer);
  transform-origin: top;
}
.log li {
  position: relative;
  display: grid;
  grid-template-columns: 32px 1fr;
  gap: 14px;
  padding-bottom: 18px;
}
.log li:last-child { padding-bottom: 0; }
.log time {
  display: block;
  font-size: .8125rem;
  font-weight: 600;
  color: var(--stone);
  font-variant-numeric: tabular-nums;
  letter-spacing: .02em;
}
.log .who { font-weight: 600; color: var(--ink); }
.log p { font-size: .9375rem; line-height: 1.5; margin: 0; }
.log .you .mark { background: var(--saffron); border-color: var(--saffron); color: var(--night); }
.log .you p { font-family: var(--serif); font-size: 1.1875rem; color: var(--lacquer); line-height: 1.35; }
.log-caption { margin-top: 20px; font-size: .8125rem; color: var(--stone); }

/* Agent marks: a monogram circle with the saffron waypoint dot = "an agent did this". */
.mark {
  position: relative;
  display: inline-grid;
  place-items: center;
  width: 32px; height: 32px;
  border-radius: 50%;
  background: var(--lacquer);
  border: 2px solid var(--lacquer);
  color: var(--paper);
  font: 500 1rem/1 var(--serif);
  flex: none;
  z-index: 1;
}
.mark::after {
  content: "";
  position: absolute;
  right: -3px; bottom: -3px;
  width: 11px; height: 11px;
  border-radius: 50%;
  background: var(--saffron);
  border: 2px solid var(--white);
}
.mark--job { background: var(--white); color: var(--lacquer); }
.mark--job::before {
  content: "";
  width: 10px; height: 10px;
  border-radius: 50%;
  border: 2px solid var(--lacquer);
}
.mark--you::after { display: none; }
.mark--lg { width: 52px; height: 52px; font-size: 1.5rem; }
.mark--lg::after { width: 15px; height: 15px; right: -2px; bottom: -2px; }
.mark--lg.mark--job::before { width: 16px; height: 16px; }

@media (prefers-reduced-motion: no-preference) {
  .js .log li { animation: arrive .45s ease-out both; }
  .js .log li::before { animation: route .3s linear both; }
  .js .log li:nth-child(1) { animation-delay: .2s; }
  .js .log li:nth-child(1)::before { animation-delay: .45s; }
  .js .log li:nth-child(2) { animation-delay: .75s; }
  .js .log li:nth-child(2)::before { animation-delay: 1s; }
  .js .log li:nth-child(3) { animation-delay: 1.3s; }
  .js .log li:nth-child(3)::before { animation-delay: 1.55s; }
  .js .log li:nth-child(4) { animation-delay: 1.85s; }
  .js .log li:nth-child(4)::before { animation-delay: 2.1s; }
  .js .log li:nth-child(5) { animation-delay: 2.4s; }
  @keyframes route { from { transform: scaleY(0); } to { transform: scaleY(1); } }
  @keyframes arrive { from { opacity: 0; } to { opacity: 1; } }
}

/* ---------- Sections ---------- */

.section { padding-block: var(--section); }
.section--rule { border-top: 1px solid var(--sand); }
.section-head { max-width: 760px; margin-bottom: 48px; }
.section-head h2,
.split-head h2 {
  font-size: clamp(2rem, 1.45rem + 2.2vw, 3.125rem);
  line-height: 1.08;
  letter-spacing: -0.012em;
  font-variation-settings: "opsz" 60;
}
.section-head p { margin-top: 18px; font-size: 1.125rem; }

/* Problem */
.problem h2 { font-size: clamp(2rem, 1.45rem + 2.2vw, 3.125rem); line-height: 1.08; letter-spacing: -0.012em; }
.board-figure { margin: 0; }
.problem .wrap { display: grid; gap: 28px; }
.problem-lede {
  font-family: var(--serif);
  font-size: clamp(1.375rem, 1.1rem + 1.1vw, 1.875rem);
  line-height: 1.35;
  color: var(--lacquer);
  max-width: 30ch;
}
.problem-body { max-width: 60ch; }
.problem-body .turn {
  margin-top: 24px;
  padding-left: 18px;
  border-left: 3px solid var(--saffron);
  font-weight: 500;
}
@media (min-width: 1000px) {
  .problem .wrap { grid-template-columns: 5fr 7fr; gap: 64px; align-items: start; }
  .problem h2 { grid-column: 1 / -1; }
}

/* Team */
.team-group + .team-group { margin-top: 56px; }
.team-group-head {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 4px 16px;
  margin-bottom: 20px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--sand);
}
.team-group-head h3 {
  font-size: 1.5rem;
  font-style: italic;
  font-weight: 400;
}
.team-group-head p { margin: 0; color: var(--stone); font-size: .9375rem; }
.agents {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 16px;
}
@media (min-width: 700px) { .agents { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1000px) { .agents { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; } }
.agent {
  background: var(--white);
  border: 1px solid var(--sand);
  border-radius: var(--radius);
  padding: 24px 22px 26px;
  display: grid;
  grid-template-columns: 52px 1fr;
  gap: 4px 16px;
  align-content: start;
}
.agent .mark { grid-row: span 2; }
.agent h4 { font-size: 1.5rem; line-height: 1.2; align-self: end; }
.agent .role { margin: 0; color: var(--stone); font-size: .9375rem; align-self: start; }
.agent .duty { grid-column: 1 / -1; margin-top: 16px; }
.agent .duty strong { font-weight: 600; color: var(--ink); }
.agent--job { background: transparent; border-style: dashed; border-color: var(--border); }

.team-note {
  margin-top: 36px;
  font-family: var(--serif);
  font-style: italic;
  font-size: 1.25rem;
  color: var(--lacquer);
}

/* Flow */
.flow-grid { display: grid; gap: 40px; }
@media (min-width: 1000px) {
  .flow-grid { grid-template-columns: 4fr 7fr; gap: 72px; }
  .flow-grid .split-head { position: sticky; top: 110px; align-self: start; }
}
.split-head p { margin-top: 18px; font-size: 1.125rem; }
.route {
  list-style: none;
  margin: 0;
  padding: 0;
  position: relative;
  counter-reset: step;
}
.route > li:not(:last-child)::after {
  content: "";
  position: absolute;
  left: 19px;
  top: 20px;
  bottom: -20px;
  width: 2px;
  background: var(--lacquer);
}
.route > li {
  position: relative;
  padding-left: 64px;
  padding-bottom: 40px;
  counter-increment: step;
}
.route > li:last-child { padding-bottom: 0; }
.route > li::before {
  content: counter(step);
  position: absolute;
  left: 0; top: 0;
  width: 40px; height: 40px;
  border-radius: 50%;
  background: var(--paper);
  border: 2px solid var(--lacquer);
  color: var(--lacquer);
  display: grid;
  place-items: center;
  font: 500 1.125rem/1 var(--serif);
  z-index: 1;
}
.route > li:last-child::before {
  background: var(--saffron);
  border-color: var(--saffron);
  color: var(--night);
}
.route h3 { font-size: 1.5rem; line-height: 1.25; margin: 4px 0 8px; }
.route p { margin-bottom: 12px; }
.chips { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 4px 12px 4px 4px;
  border-radius: 999px;
  background: var(--agent-soft);
  color: var(--saffron-deep);
  font-size: .8125rem;
  font-weight: 600;
}
.chip .mark { width: 22px; height: 22px; font-size: .75rem; border-width: 1px; }
.chip .mark::after { width: 8px; height: 8px; right: -2px; bottom: -2px; border-width: 1.5px; border-color: var(--agent-soft); }
.chip .mark--job::before { width: 7px; height: 7px; border-width: 1.5px; }
.chip--you { background: var(--sand); color: var(--ink); padding-left: 12px; }

.replace-line {
  margin-top: 56px;
  padding-top: 24px;
  border-top: 1px solid var(--sand);
  font-family: var(--serif);
  font-size: clamp(1.5rem, 1.2rem + 1.2vw, 2.125rem);
  line-height: 1.25;
  color: var(--lacquer);
  max-width: 30ch;
}
.replace-line + p { margin-top: 12px; color: var(--stone); }

/* Board (dark band) */
.board {
  background: var(--lacquer);
  color: var(--mist);
}
.board :focus-visible { outline-color: var(--teal-tint); }
.board h2 { color: var(--paper); }
.board a { color: var(--teal-tint); }
.board-grid { display: grid; gap: 56px; align-items: center; }
@media (min-width: 1000px) { .board-grid { grid-template-columns: 6fr 5fr; gap: 80px; } }
.board .split-head p { color: var(--mist); }
.board-points { list-style: none; margin: 32px 0 0; padding: 0; display: grid; gap: 18px; }
.board-points li { padding-left: 28px; position: relative; max-width: 54ch; }
.board-points li::before {
  content: "";
  position: absolute;
  left: 0; top: .55em;
  width: 10px; height: 10px;
  border-radius: 50%;
  background: var(--saffron);
}
.board-points strong { color: var(--paper); font-weight: 600; }

.phone {
  margin: 0 auto;
  width: 100%;
  max-width: 340px;
  border-radius: 40px;
  background: var(--night);
  padding: 12px;
  border: 1px solid rgba(232, 238, 236, .18);
}
.phone-screen {
  border-radius: 30px;
  background: var(--paper);
  color: var(--ink);
  padding: 22px 14px 18px;
  overflow: hidden;
}
.phone-top {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  padding: 0 4px 14px;
}
.phone-top strong { font-family: var(--serif); font-size: 1.25rem; font-weight: 500; color: var(--lacquer); }
.phone-top span { font-size: .75rem; color: var(--stone); }
.items { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.item {
  background: var(--white);
  border: 1px solid var(--sand);
  border-radius: 14px;
  padding: 12px;
}
.item .chip { margin-bottom: 8px; }
.item p { font-size: .875rem; line-height: 1.45; margin: 0 0 10px; }
.item p:last-child { margin-bottom: 0; }
.taps { display: flex; gap: 6px; flex-wrap: wrap; }
.tap {
  font-size: .75rem;
  font-weight: 600;
  padding: 6px 12px;
  border-radius: 999px;
  border: 1.5px solid var(--lacquer);
  color: var(--lacquer);
}
.tap--go { background: var(--lacquer); color: var(--paper); }
.phone + figcaption { margin-top: 16px; text-align: center; font-size: .8125rem; color: var(--dust); }

/* Story */
.story-grid { display: grid; gap: 32px; }
@media (min-width: 1000px) { .story-grid { grid-template-columns: 5fr 7fr; gap: 72px; } }
.story-body p { font-size: 1.125rem; }
.story-body p:first-child {
  font-family: var(--serif);
  font-size: clamp(1.375rem, 1.15rem + .9vw, 1.75rem);
  line-height: 1.4;
  color: var(--lacquer);
}
.about-line {
  margin-top: 32px;
  display: flex;
  align-items: center;
  gap: 14px;
  padding-top: 20px;
  border-top: 1px solid var(--sand);
  font-style: italic;
  font-family: var(--serif);
  font-size: 1.125rem;
  color: var(--stone);
}
.about-line img { width: 36px; flex: none; }

/* Pricing */
.pricing { background: var(--white); border-block: 1px solid var(--sand); }
.tiers {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0;
  border: 1px solid var(--sand);
  border-radius: var(--radius);
  overflow: hidden;
}
@media (min-width: 800px) { .tiers { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.tier { padding: 28px 24px; background: var(--paper); }
.tier + .tier { border-top: 1px solid var(--sand); }
@media (min-width: 800px) {
  .tier + .tier { border-top: 0; border-left: 1px solid var(--sand); }
}
.tier h3 { font-size: 1.75rem; line-height: 1.2; }
.tier .size { margin: 6px 0 20px; font-weight: 500; }
.tier dl { margin: 0; font-size: .9375rem; }
.tier dt { color: var(--stone); }
.tier dd { margin: 0 0 12px; font-weight: 500; }
.tier dd:last-child { margin-bottom: 0; }
.terms {
  margin-top: 40px;
  display: grid;
  gap: 24px 48px;
}
@media (min-width: 800px) { .terms { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.terms h3 { font-size: 1.25rem; line-height: 1.3; margin-bottom: 6px; }
.terms p { font-size: 1rem; }
.label-pilot {
  display: inline-block;
  font-family: var(--sans);
  vertical-align: middle;
  font-size: .8125rem;
  font-weight: 600;
  color: var(--saffron-deep);
  background: var(--agent-soft);
  border-radius: 4px;
  padding: 2px 8px;
  margin-left: 4px;
  white-space: nowrap;
}
.pricing-cta { margin-top: 40px; display: flex; flex-wrap: wrap; gap: 12px 24px; align-items: center; }
.pricing-cta p { margin: 0; color: var(--stone); font-size: .9375rem; }

/* Security */
.sec-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 28px 48px;
}
@media (min-width: 800px) { .sec-list { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.sec-list h3 { font-size: 1.25rem; line-height: 1.3; margin-bottom: 6px; }
.sec-list p { font-size: 1rem; }
.roadmap {
  margin-top: 48px;
  padding: 24px 22px;
  border: 1.5px dashed var(--border);
  border-radius: var(--radius);
}
.roadmap h3 { font-size: 1.25rem; margin-bottom: 4px; }
.roadmap > p { color: var(--stone); font-size: .9375rem; }
.roadmap ul { margin: 12px 0 0; padding-left: 20px; }
.roadmap li { margin-bottom: 6px; }

/* FAQ */
.faq-list { max-width: 820px; border-top: 1px solid var(--sand); }
.faq-list details { border-bottom: 1px solid var(--sand); }
.faq-list summary {
  list-style: none;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  padding: 20px 0;
  font-family: var(--serif);
  font-size: 1.3125rem;
  line-height: 1.3;
  color: var(--lacquer);
}
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after {
  content: "";
  flex: none;
  width: 14px; height: 14px;
  background:
    linear-gradient(var(--lacquer), var(--lacquer)) center / 14px 2px no-repeat,
    linear-gradient(var(--lacquer), var(--lacquer)) center / 2px 14px no-repeat;
  transition: transform .2s ease;
}
.faq-list details[open] summary::after { transform: rotate(45deg); }
.faq-list .answer { padding: 0 0 24px; }
@media (prefers-reduced-motion: reduce) {
  .faq-list summary::after { transition: none; }
}

/* Demo + form */
.demo { background: var(--sand); }
.demo-grid { display: grid; gap: 40px; }
@media (min-width: 1000px) { .demo-grid { grid-template-columns: 5fr 7fr; gap: 72px; align-items: start; } }
.demo .split-head p { font-size: 1.125rem; }
.demo-facts { list-style: none; margin: 28px 0 0; padding: 0; display: grid; gap: 12px; }
.demo-facts li { padding-left: 24px; position: relative; }
.demo-facts li::before {
  content: "";
  position: absolute; left: 0; top: .6em;
  width: 9px; height: 9px; border-radius: 50%;
  background: var(--lacquer);
}
.form-card {
  background: var(--white);
  border-radius: 16px;
  padding: 24px 18px;
  border: 1px solid #d9d1c0;
}
@media (min-width: 600px) { .form-card { padding: 32px; } }
.form-card h3 { font-size: 1.625rem; margin-bottom: 4px; }
.form-card .req-note { font-size: .875rem; color: var(--stone); margin-bottom: 20px; }
.fields { display: grid; gap: 18px; }
@media (min-width: 600px) {
  .fields { grid-template-columns: 1fr 1fr; }
  .field--full { grid-column: 1 / -1; }
}
.field label, .field legend {
  display: block;
  font-weight: 600;
  font-size: .9375rem;
  margin-bottom: 6px;
  color: var(--ink);
}
.field .opt { font-weight: 400; color: var(--stone); }
.field input, .field select, .field textarea {
  width: 100%;
  min-height: 48px;
  padding: 10px 12px;
  border: 1.5px solid var(--border);
  border-radius: 8px;
  background: var(--white);
  color: var(--ink);
  font: 400 1rem/1.4 var(--sans);
}
.field textarea { min-height: 112px; resize: vertical; }
.field select {
  appearance: none;
  background-image: linear-gradient(45deg, transparent 50%, var(--lacquer) 50%), linear-gradient(135deg, var(--lacquer) 50%, transparent 50%);
  background-position: calc(100% - 20px) 50%, calc(100% - 14px) 50%;
  background-size: 6px 6px;
  background-repeat: no-repeat;
  padding-right: 40px;
}
.field input:focus-visible, .field select:focus-visible, .field textarea:focus-visible {
  outline: 3px solid var(--sea);
  outline-offset: 1px;
  border-color: var(--lacquer);
}
.field [aria-invalid="true"] { border-color: var(--danger); }
.field .error { display: none; margin-top: 6px; font-size: .875rem; color: var(--danger); font-weight: 500; }
.field .error.is-shown { display: block; }
fieldset.field { border: 0; margin: 0; padding: 0; min-width: 0; }
fieldset.field legend { padding: 0; }
.radios { display: flex; flex-wrap: wrap; gap: 8px 20px; }
.radios label { display: inline-flex; align-items: center; gap: 8px; font-weight: 400; margin: 0; min-height: 44px; cursor: pointer; }
.radios input { width: 20px; height: 20px; min-height: 0; accent-color: var(--lacquer); margin: 0; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.consent { margin-top: 20px; font-size: .875rem; color: var(--stone); }
.form-actions { margin-top: 20px; display: flex; flex-wrap: wrap; gap: 16px; align-items: center; }
.form-actions .btn[disabled] { opacity: .7; cursor: progress; }
.form-status { margin-top: 16px; }
.form-status:empty { display: none; }
.status {
  border-radius: 10px;
  padding: 16px 18px;
  font-size: .9375rem;
  line-height: 1.5;
}
.status strong { display: block; font-family: var(--serif); font-size: 1.25rem; font-weight: 500; margin-bottom: 4px; }
.status--ok { background: #E7F2EF; border: 1.5px solid var(--sea); color: var(--ink); }
.status--ok strong { color: var(--lacquer); }
.status--err { background: #FBEAE7; border: 1.5px solid var(--danger); color: var(--ink); }
.status--err strong { color: var(--danger); }
.status--info { background: var(--agent-soft); border: 1.5px solid var(--saffron); color: var(--ink); }
.status--info strong { color: var(--lacquer); }

/* Footer */
.site-footer { padding-block: 56px 40px; background: var(--paper); border-top: 1px solid var(--sand); }
.footer-grid { display: grid; gap: 32px; }
@media (min-width: 800px) { .footer-grid { grid-template-columns: 5fr 4fr 3fr; gap: 48px; } }
.site-footer img.footer-logo { width: 150px; margin-bottom: 14px; }
.footer-tag { font-family: var(--serif); font-style: italic; font-size: 1.25rem; color: var(--lacquer); margin-bottom: 4px; }
.site-footer p, .site-footer li { font-size: .9375rem; }
.site-footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.site-footer h2 { font-family: var(--sans); font-size: .9375rem; font-weight: 600; color: var(--ink); margin-bottom: 10px; }
.footer-legal { max-width: none; margin-top: 40px; padding-top: 20px; border-top: 1px solid var(--sand); font-size: .8125rem; color: var(--stone); }

/* Plain document pages (privacy) */
.doc { padding-block: 48px var(--section); }
.doc h1 { font-size: clamp(2.25rem, 1.7rem + 2vw, 3.25rem); line-height: 1.1; margin-bottom: 12px; }
.doc h2 { font-size: 1.5rem; line-height: 1.3; margin: 40px 0 10px; }
.doc .updated { color: var(--stone); font-size: .9375rem; margin-bottom: 32px; }
.doc ul { padding-left: 20px; max-width: 64ch; }
.doc li { margin-bottom: 6px; }
.doc .wrap { max-width: calc(780px + 2 * var(--gutter)); }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
}

.nowrap { white-space: nowrap; }
