/* Mitsors waitlist page. Colors and type follow the app and demo video. */

:root {
  color-scheme: light;

  --bg: #eef0e7;
  --hill: #e1eadb;
  --surface: #f6f5f0;
  --card: #ffffff;
  --line: #dfe2d6;

  --ink: #131913;
  --ink-soft: #4b554b;
  --green: #284b25;
  --green-deep: #1b3519;

  --orange: #e8912a;
  --orange-ink: #a94f0b;
  --orange-tint: #fbecdd;

  /* Accessibility: these pass WCAG 3:1 (borders, focus) and 4.5:1 (placeholder) */
  --field-border: #858c82;
  --placeholder: #6b7369;
  --focus: #b5600f;
  --header-h: 84px;
  --blue-ink: #1c60a3;
  --blue-tint: #e3edf8;

  --font-display: "Bricolage Grotesque", "Inter", system-ui, sans-serif;
  --font-body: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --font-mark: "Montserrat", "Inter", system-ui, sans-serif;

  --wrap: 1120px;
  --gutter: 20px;
  --radius: 18px;
}

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

[hidden] { display: none !important; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 16px); /* keeps focused items out from under the sticky header */
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}

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

h1, h2, h3, p, ul, ol, figure { margin: 0; padding: 0; }
ul, ol { list-style: none; }

h1, h2 {
  font-family: var(--font-display);
  font-weight: 700;
  letter-spacing: -0.02em;
  text-wrap: balance;
}

h1 { font-size: clamp(2.3rem, 6.2vw, 3.9rem); line-height: 1.04; }
h2 { font-size: clamp(1.75rem, 4vw, 2.6rem); line-height: 1.1; }
h3 { font-size: 1.08rem; line-height: 1.3; font-weight: 600; }

a { color: inherit; }

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

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

.skip {
  position: absolute;
  left: 12px;
  top: -60px;
  z-index: 20;
  padding: 10px 16px;
  background: var(--green);
  color: #fff;
  border-radius: 10px;
}
.skip:focus { top: 12px; }

/* ---------- Brand ---------- */

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
}
.brand img { display: block; border-radius: 50%; }

.wordmark {
  font-family: var(--font-mark);
  font-weight: 800;
  font-size: 1.3rem;
  letter-spacing: 0.01em;
  color: var(--green);
  line-height: 1;
}

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

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 56px;
  padding: 0 30px;
  border: 0;
  border-radius: 999px;
  background: var(--green);
  color: #fff;
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 700;
  text-decoration: none;
  cursor: pointer;
  box-shadow: 0 10px 24px -12px rgba(27, 53, 25, 0.7);
  transition: background-color 0.15s ease, transform 0.15s ease;
}
.btn:hover { background: var(--green-deep); }
.btn:active { transform: translateY(1px); }

.btn-small {
  min-height: 44px;
  padding: 0 20px;
  font-size: 0.95rem;
  box-shadow: none;
}
.btn-block { width: 100%; }

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  background: rgba(238, 240, 231, 0.9);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
}
.header-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  min-height: var(--header-h);
  padding-block: 12px;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

/* Language switch: TL / EN */
.lang {
  display: inline-flex;
  padding: 3px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--card);
}
.lang a {
  display: grid;
  place-items: center;
  min-width: 40px;
  height: 36px;
  padding: 0 10px;
  border-radius: 999px;
  color: var(--ink-soft);
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.03em;
  text-decoration: none;
}
.lang a:hover { color: var(--green); }
.lang a[aria-current="page"] {
  background: var(--hill);
  color: var(--green);
}

.btn .short { display: none; }

/* Small phones: shorter header button so the language switch fits */
@media (max-width: 479px) {
  .site-header .wordmark { font-size: 1.1rem; }
  .site-header .brand { gap: 8px; }
  .site-header .brand img { width: 34px; height: 34px; }
  .btn-small { padding: 0 16px; }
  .btn-small .long { display: none; }
  .btn-small .short { display: inline; }
}

/* Very small phones: logo only, so the name is never covered */
@media (max-width: 359px) {
  .site-header .wordmark { display: none; }
}

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

.hero {
  overflow: hidden;
  padding: 28px 0 56px;
  /* Soft hills, like the demo video backdrop */
  background:
    radial-gradient(ellipse 58% 44% at 12% 100%, var(--hill) 99.6%, transparent 100%),
    radial-gradient(ellipse 66% 58% at 86% 100%, var(--hill) 99.6%, transparent 100%);
}

.hero-grid {
  display: grid;
  gap: 48px;
  align-items: center;
}

/* Badge and countdown joined into one pill */
.launch {
  display: inline-flex;
  align-items: stretch;
  max-width: 100%;
  margin-bottom: 18px;
  border: 1px solid #f1d6bb;
  border-radius: 999px;
  background: var(--card);
  box-shadow: 0 8px 20px -16px rgba(169, 79, 11, 0.6);
}
.launch .soon { margin: 0; }

.soon {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px 6px 12px;
  border-radius: 999px;
  background: var(--orange-tint);
  color: var(--orange-ink);
  font-size: 0.9rem;
  font-weight: 600;
}
/* Launch countdown, right half of the pill */
.countdown {
  display: inline-flex;
  align-items: center;
  margin: 0;
  padding: 0 16px 0 12px;
  color: var(--ink-soft);
  font-size: 0.9rem;
  font-weight: 500;
  white-space: nowrap;
}
.countdown[hidden] { display: none; }
.cd-ticks { display: inline-flex; align-items: baseline; gap: 8px; }
.cd-ticks b {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.02rem;
  color: var(--green);
  font-variant-numeric: tabular-nums;
}
.cd-time { color: var(--green); font-weight: 700; }
.cd-time::before {
  content: "·";
  margin-right: 8px;
  color: var(--ink-soft);
  font-weight: 500;
}
.countdown.is-still .cd-time { display: none; }

/* Read by screen readers only */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

.dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--orange);
}

.lead {
  max-width: 34rem;
  margin-top: 20px;
  color: var(--ink-soft);
  font-size: clamp(1.05rem, 2.2vw, 1.22rem);
}

.lead strong { color: var(--green); font-weight: 600; }
.nowrap { white-space: nowrap; }

.hero-actions { margin-top: 22px; }

.link-play {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  max-width: 100%;
  padding: 10px 20px 10px 10px;
  border: 1.5px solid var(--line);
  border-radius: 999px;
  background: var(--card);
  color: var(--ink);
  text-decoration: none;
  box-shadow: 0 12px 26px -20px rgba(19, 25, 19, 0.5);
  transition: border-color 0.15s ease, transform 0.15s ease;
}
.link-play:hover { border-color: var(--green); }
.link-play:active { transform: translateY(1px); }

.play-icon {
  flex: none;
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--orange);
  color: #fff;
  box-shadow: 0 0 0 6px var(--orange-tint);
}
.play-icon svg { margin-left: 2px; }

.play-text { display: grid; gap: 2px; line-height: 1.3; }
.play-text strong {
  font-family: var(--font-display);
  font-size: 1.12rem;
  font-weight: 700;
  color: var(--green);
}
.play-text span { color: var(--ink-soft); font-size: 0.88rem; }

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

.section { padding: 64px 0; scroll-margin-top: 68px; }

/* Features */

.features {
  display: grid;
  gap: 14px;
  margin-top: 32px;
}
.features li {
  padding: 22px;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}
.features p { margin-top: 6px; color: var(--ink-soft); font-size: 0.97rem; }

.icon {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  margin-bottom: 16px;
  border-radius: 12px;
  background: var(--hill);
  color: var(--green);
}
.icon svg {
  width: 22px;
  height: 22px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.9;
  stroke-linecap: round;
  stroke-linejoin: round;
}

/* How it works + demo */

.how-grid {
  display: grid;
  gap: 44px;
  align-items: center;
}

.demo { width: min(300px, 78vw); margin-inline: auto; }
.demo video {
  display: block;
  width: 100%;
  aspect-ratio: 9 / 16;
  border-radius: 26px;
  background: var(--hill);
  border: 1px solid var(--line);
  box-shadow: 0 30px 54px -32px rgba(19, 25, 19, 0.5);
}
/* Pulsing orange edge while the demo plays */
.demo.is-playing video {
  border-color: var(--orange);
  animation: demo-pulse 1.6s ease-out infinite;
}
@keyframes demo-pulse {
  0% {
    box-shadow:
      0 0 0 2px var(--orange),
      0 0 0 2px rgba(232, 145, 42, 0.55),
      0 30px 54px -32px rgba(19, 25, 19, 0.5);
  }
  100% {
    box-shadow:
      0 0 0 2px var(--orange),
      0 0 0 18px rgba(232, 145, 42, 0),
      0 30px 54px -32px rgba(19, 25, 19, 0.5);
  }
}

.demo-note {
  margin-top: 12px;
  color: var(--ink-soft);
  font-size: 0.86rem;
  text-align: center;
}

.steps { counter-reset: step; margin-top: 30px; }
.steps li {
  counter-increment: step;
  position: relative;
  padding: 0 0 26px 62px;
}
.steps li:last-child { padding-bottom: 0; }
.steps li::before {
  content: counter(step);
  position: absolute;
  left: 0;
  top: -2px;
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: var(--green);
  color: #fff;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.1rem;
}
/* line joining the numbers */
.steps li:not(:last-child)::after {
  content: "";
  position: absolute;
  left: 20px;
  top: 44px;
  bottom: 2px;
  width: 2px;
  background: var(--line);
}
.steps p { margin-top: 4px; color: var(--ink-soft); }

/* ---------- Community: why reporting helps ---------- */

.community { background: var(--hill); }

.community-grid {
  display: grid;
  gap: 40px;
  align-items: center;
}

.eyebrow {
  margin-bottom: 12px;
  color: #9a4a0a; /* darker orange: 5:1 on the green-tinted band */
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.community-lead {
  max-width: 34rem;
  margin-top: 16px;
  color: var(--ink-soft);
  font-size: 1.08rem;
}

.help-points { display: grid; gap: 20px; margin-top: 30px; }
.help-points li { display: flex; gap: 16px; align-items: flex-start; }
.help-points .icon { flex: none; margin: 0; background: var(--card); }
.help-points p { margin-top: 4px; color: var(--ink-soft); font-size: 0.98rem; }

/* Ripple: one report reaching the people around it */
.ripple {
  position: relative;
  width: min(360px, calc(100vw - 2 * var(--gutter) - 48px));
  aspect-ratio: 1;
  margin: 24px auto;
}

.ring {
  position: absolute;
  top: 50%;
  left: 50%;
  border: 1px solid rgba(40, 75, 37, 0.14);
  border-radius: 50%;
  transform: translate(-50%, -50%);
}
.ring-3 { width: 100%; height: 100%; background: rgba(255, 255, 255, 0.3); }
.ring-2 { width: 72%; height: 72%; background: rgba(255, 255, 255, 0.45); }
.ring-1 { width: 44%; height: 44%; background: rgba(255, 255, 255, 0.6); }

.person {
  position: absolute;
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: var(--card);
  color: var(--green);
  transform: translate(-50%, -50%);
  box-shadow: 0 8px 18px -12px rgba(19, 25, 19, 0.5);
}
.person svg {
  width: 22px;
  height: 22px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.9;
  stroke-linecap: round;
}
.person.p2, .person.p5, .person.p8 { background: var(--orange-tint); color: var(--orange-ink); border-color: #f1d6bb; }

/* Outer ring */
.p1 { left: 50%;   top: 0; }
.p2 { left: 93.3%; top: 25%; }
.p3 { left: 93.3%; top: 75%; }
.p4 { left: 50%;   top: 100%; }
.p5 { left: 6.7%;  top: 75%; }
.p6 { left: 6.7%;  top: 25%; }
/* Middle ring */
.p7 { left: 75.5%; top: 75.5%; width: 38px; height: 38px; }
.p8 { left: 24.5%; top: 24.5%; width: 38px; height: 38px; }

.ripple-core {
  position: absolute;
  top: 50%;
  left: 50%;
  display: grid;
  justify-items: center;
  gap: 2px;
  padding: 14px 20px;
  border: 2px solid var(--green);
  border-radius: 18px;
  background: var(--card);
  text-align: center;
  white-space: nowrap;
  transform: translate(-50%, -50%);
  box-shadow: 0 18px 34px -20px rgba(19, 25, 19, 0.55);
}
.core-label {
  color: var(--orange-ink);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.ripple-core strong {
  font-family: var(--font-display);
  font-size: 1.9rem;
  font-weight: 700;
  line-height: 1.1;
  color: var(--ink);
  font-variant-numeric: tabular-nums;
}
.ripple-core small { margin-left: 2px; color: var(--ink-soft); font-family: var(--font-body); font-size: 0.85rem; font-weight: 500; }
.core-place { color: var(--ink-soft); font-size: 0.78rem; }

/* Small phones: fewer people so the center card has room */
@media (max-width: 479px) {
  .p7, .p8 { display: none; }
}

/* ---------- Closing band ---------- */

/* White focus ring on the dark green band */
.join :focus-visible { outline-color: #fff; }

.join {
  display: grid;
  justify-items: center;
  gap: 14px;
  padding: 44px 22px;
  border-radius: 28px;
  background: var(--green);
  color: #fff;
  text-align: center;
}
.join p { max-width: 30rem; color: #dbe6d6; font-size: 1.08rem; }
.join .btn { margin-top: 12px; }

.btn-light { background: var(--surface); color: var(--green); box-shadow: none; }
.btn-light:hover { background: #fff; }

/* ---------- Waitlist form (in the hero) ---------- */

.form {
  display: grid;
  gap: 16px;
  width: 100%;
  max-width: 440px;
  justify-self: center;
  padding: 22px 18px;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: var(--card);
  box-shadow: 0 24px 44px -30px rgba(19, 25, 19, 0.45);
  scroll-margin-top: 92px;
}

.form-body,
.form-done { display: grid; gap: 16px; }

.form-done { justify-items: center; text-align: center; padding: 8px 0 4px; }
.form-done .form-sub { margin-top: -6px; }
.form-done .form-title:focus { outline: none; }
.done-icon {
  display: grid;
  place-items: center;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: var(--green);
  color: #fff;
  box-shadow: 0 0 0 8px var(--hill);
}
.share-note {
  margin-top: 6px;
  padding: 14px 16px;
  border-radius: 14px;
  background: var(--hill);
  color: var(--ink);
  font-size: 0.95rem;
}

.btn-outline {
  background: transparent;
  color: var(--green);
  border: 1.5px solid var(--green);
  box-shadow: none;
}
.btn-outline:hover { background: var(--hill); }
.btn:disabled { opacity: 0.6; cursor: progress; }

.form-error {
  padding: 10px 14px;
  border-radius: 12px;
  background: #fdecea;
  color: #8a1c12;
  font-size: 0.92rem;
  font-weight: 500;
}

.confetti {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 50;
}

.form-title {
  font-size: 1.5rem;
  line-height: 1.15;
}
.form-sub { margin-top: -8px; color: var(--ink-soft); font-size: 0.95rem; }

.field { display: grid; gap: 7px; }

.field > label {
  font-size: 0.92rem;
  font-weight: 600;
}
.opt { color: var(--ink-soft); font-weight: 400; }
.hint { color: var(--ink-soft); font-size: 0.85rem; }
.email-suggest {
  padding: 8px 12px;
  border-radius: 10px;
  background: var(--orange-tint);
  color: var(--ink);
  font-size: 0.9rem;
}
.link-btn {
  padding: 0;
  border: 0;
  background: none;
  color: var(--green);
  font: inherit;
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 3px;
  cursor: pointer;
}
.link-btn b { font-weight: 700; }

.form input[type="text"],
.form input[type="email"],
.form input[type="tel"] {
  width: 100%;
  min-height: 52px;
  padding: 0 14px;
  border: 1.5px solid var(--field-border);
  border-radius: 12px;
  background: var(--card);
  color: var(--ink);
  font: inherit;
  font-size: 16px; /* stops iOS zoom on focus */
}
.form input::placeholder { color: var(--placeholder); opacity: 1; }

.form input:focus-visible {
  outline: 3px solid var(--focus);
  outline-offset: 1px;
  border-color: var(--green);
}

.tel { position: relative; }
.tel > span {
  position: absolute;
  left: 14px;
  top: 50%;
  transform: translateY(-50%);
  font-weight: 600;
  pointer-events: none;
}
.tel input[type="tel"] { padding-left: 56px; }

.form-note {
  color: var(--ink-soft);
  font-size: 0.86rem;
  line-height: 1.45;
  text-align: center;
}

/* Spam trap: kept out of sight and out of the tab order */
.trap {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

/* ---------- Footer ---------- */

.site-footer {
  padding: 30px 0 40px;
  border-top: 1px solid var(--line);
  color: var(--ink-soft);
  font-size: 0.92rem;
}
.footer-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px 24px;
}
.site-footer .wordmark { font-size: 1.05rem; }
.copy { margin-left: auto; }

/* ---------- Privacy policy page ---------- */

.prose { max-width: 44rem; margin-inline: auto; }
.prose h1 { font-size: clamp(2.1rem, 5vw, 3rem); line-height: 1.08; }
.prose h2 { margin-top: 40px; font-size: 1.4rem; line-height: 1.25; }
.prose p, .prose ul { margin-top: 12px; color: var(--ink-soft); }
.prose ul { list-style: disc; padding-left: 1.3em; }
.prose li + li { margin-top: 6px; }
.prose a { color: var(--green); font-weight: 600; text-underline-offset: 3px; }
.prose-sub { font-size: 1.1rem; }
.prose-lead { margin-top: 24px !important; color: var(--ink) !important; font-size: 1.1rem; }
.updated { font-size: 0.9rem; }
.back { margin: 0 0 20px !important; }
.back a { text-decoration: none; }
.back a:hover { text-decoration: underline; }

/* Visible placeholder for text still to be filled in */
.todo { padding: 1px 6px; border-radius: 6px; background: #fff3c4; color: #6b4e00; font-weight: 600; }

.form-note a, .footer-link { color: var(--green); font-weight: 600; text-underline-offset: 3px; }

/* ---------- Header link to the About page (wider screens only) ---------- */

.nav-link { display: none; }
@media (min-width: 720px) {
  .nav-link {
    display: inline-flex;
    align-items: center;
    min-height: 44px;
    padding: 0 16px;
    border-radius: 999px;
    color: var(--ink-soft);
    font-size: 0.95rem;
    font-weight: 600;
    text-decoration: none;
  }
  .nav-link:hover { color: var(--green); }
  /* Current page: same pill as the selected language */
  .nav-link[aria-current="page"] { background: var(--hill); color: var(--green); }
}

/* ---------- About page ---------- */

.about-hero {
  padding: 48px 0 16px;
}
.about-hero h1 { max-width: 16ch; font-size: clamp(2.3rem, 6.2vw, 3.9rem); line-height: 1.04; }

.problem-grid { display: grid; gap: 32px; align-items: center; }
.problem-text { max-width: 34rem; margin-top: 16px; color: var(--ink-soft); font-size: 1.08rem; }

/* Before / after picture */
.compare { display: grid; gap: 14px; }
.compare-row {
  padding: 18px 16px 20px;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: var(--card);
}
.compare-row.is-after { border: 2px solid var(--green); background: var(--hill); }
.compare-label {
  margin-bottom: 14px;
  color: var(--ink-soft);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.is-after .compare-label { color: var(--green); }
.compare-label span { font-weight: 500; letter-spacing: 0; text-transform: none; }

.flow {
  display: grid;
  grid-template-columns: 1fr auto 1fr auto 1fr;
  align-items: start;
  gap: 4px;
  text-align: center;
}
.flow-node { display: grid; justify-items: center; gap: 4px; }
.flow-node b { font-size: 0.92rem; font-weight: 600; }
.flow-node > span:last-child { color: var(--ink-soft); font-size: 0.78rem; line-height: 1.3; }
.flow-icon {
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  margin-bottom: 2px;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: var(--card);
  color: var(--green);
}
.flow-icon svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.9; stroke-linecap: round; stroke-linejoin: round; }
.flow-node.is-dim .flow-icon { background: #eeeee8; color: var(--ink-soft); }
.flow-node.is-key .flow-icon { background: var(--orange-tint); color: var(--orange-ink); border-color: #f1d6bb; }
.flow-node.is-key > span:last-child { color: var(--orange-ink); font-weight: 600; }
.flow-node.is-on > span:last-child {
  padding: 2px 8px;
  border-radius: 999px;
  background: var(--card);
  color: var(--green);
  font-weight: 700;
  white-space: nowrap;
}
.flow-arrow { margin-top: 12px; color: var(--ink-soft); font-size: 1.1rem; }

/* Mission and vision */
.mv-grid { display: grid; gap: 16px; }
.mv-card { padding: 30px 26px; border-radius: 24px; }
.mv-card h2 {
  margin-top: 18px;
  font-family: var(--font-body);
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}
.mv-card p {
  margin-top: 8px;
  font-family: var(--font-display);
  font-size: clamp(1.3rem, 3vw, 1.6rem);
  font-weight: 600;
  line-height: 1.3;
  letter-spacing: -0.01em;
}
.mv-card.is-mission { background: var(--green); color: #fff; }
.mv-card.is-mission h2 { color: #f6c48a; }
.mv-card.is-vision { background: var(--card); border: 1px solid var(--line); }
.mv-card.is-vision h2 { color: #9a4a0a; }
.mv-icon {
  display: grid;
  place-items: center;
  width: 50px;
  height: 50px;
  border-radius: 14px;
}
.mv-icon svg { width: 26px; height: 26px; fill: none; stroke: currentColor; stroke-width: 1.9; stroke-linecap: round; stroke-linejoin: round; }
.is-mission .mv-icon { background: rgba(255, 255, 255, 0.12); color: #fff; }
.is-vision .mv-icon { background: var(--hill); color: var(--green); }

/* Not against traders */
.section-tight { padding-top: 0; }
.trader-note {
  display: flex;
  gap: 18px;
  align-items: flex-start;
  padding: 26px 22px;
  border: 1px solid #f1d6bb;
  border-radius: 22px;
  background: var(--orange-tint);
}
.trader-note .icon { flex: none; margin: 0; background: var(--card); color: var(--orange-ink); }
.trader-note h2 { font-size: 1.4rem; }
.trader-note p { margin-top: 8px; color: var(--ink); }

@media (min-width: 620px) {
  .mv-card { padding: 38px 36px; }
  .trader-note { padding: 32px 34px; }
}
@media (min-width: 940px) {
  .about-hero { padding: 72px 0 24px; }
  .problem-grid { grid-template-columns: 0.9fr 1.1fr; gap: 64px; }
  .mv-grid { grid-template-columns: 1fr 1fr; }
  .features.how-list { grid-template-columns: repeat(3, 1fr); }
}

/* ---------- Larger screens ---------- */

@media (min-width: 620px) {
  :root { --gutter: 32px; }
  .features { grid-template-columns: 1fr 1fr; }
  .join { padding: 56px 36px; }
  .form { padding: 28px; }
}

@media (min-width: 940px) {
  /* Fill the screen under the header (up to 640px), content centered top to bottom */
  .hero { min-height: min(calc(100svh - var(--header-h)), 640px); display: grid; align-content: center; padding: 56px 0; }
  .hero-grid { grid-template-columns: 1.1fr 0.9fr; gap: 64px; }
  .hero .form { justify-self: end; }

  .section { padding: 88px 0; }
  .features { grid-template-columns: repeat(4, 1fr); }

  .how-grid { grid-template-columns: 0.8fr 1.2fr; gap: 72px; }
  .community-grid { grid-template-columns: 1.1fr 0.9fr; gap: 72px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .btn { transition: none; }
  .demo.is-playing video {
    animation: none;
    box-shadow: 0 0 0 2px var(--orange), 0 0 0 8px rgba(232, 145, 42, 0.3);
  }
}
