/* ==========================================================================
   MONETIZE AI — stylesheet
   Mobile-first. No framework. Tokens in :root.
   ========================================================================== */

/* --- Tokens ------------------------------------------------------------- */
:root {
  --brand:        #047857;
  --brand-dark:   #065f46;
  --brand-darker: #044c3b;
  --brand-light:  #ecfdf5;
  --brand-ring:   #a7f3d0;

  --accent:       #991b1b;
  --neutral:      #111827;
  --muted:        #4b5563;
  --muted-soft:   #6b7280;

  --bg:           #fcfcfc;
  --card:         #ffffff;
  --border:       #e5e7eb;
  --border-strong:#d1d5db;

  --amber-bg:     #fffbeb;
  --amber-border: #fde68a;
  --amber-text:   #b45309;
  --red-bg:       #fef2f2;
  --red-border:   #fecaca;
  --red-text:     #b91c1c;

  --radius-sm: 6px;
  --radius:    10px;
  --radius-lg: 16px;
  --radius-xl: 20px;

  --shadow-sm: 0 1px 2px rgba(17, 24, 39, .05);
  --shadow-md: 0 4px 14px rgba(17, 24, 39, .07);
  --shadow-lg: 0 20px 50px rgba(17, 24, 39, .18);

  --sidebar-w: 18rem;
  --gutter: 1.25rem;
  --section-gap: clamp(3.5rem, 7vw, 6rem);

  --font: "Inter", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto,
          "Helvetica Neue", Arial, sans-serif;

  --ease: cubic-bezier(.4, 0, .2, 1);
}

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

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

body {
  margin: 0;
  background: var(--bg);
  color: var(--neutral);
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-wrap: break-word;
}

h1, h2, h3, h4, p, ul, ol, figure, table { margin: 0; }
ul, ol { padding: 0; list-style: none; }
img, svg { max-width: 100%; display: block; }
button { font: inherit; color: inherit; }
a { color: inherit; text-decoration: none; }

::selection { background: var(--brand-light); color: var(--brand-dark); }

:focus-visible {
  outline: 2px solid var(--brand);
  outline-offset: 2px;
  border-radius: var(--radius-sm);
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
  }
}

/* --- Skip link ---------------------------------------------------------- */
.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 200;
  background: var(--neutral);
  color: #fff;
  padding: .75rem 1.25rem;
  border-radius: 0 0 var(--radius) 0;
  font-size: .875rem;
  font-weight: 600;
}
.skip-link:focus { left: 0; }

/* --- Typography helpers ------------------------------------------------- */
.eyebrow {
  display: inline-block;
  font-size: .6875rem;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--brand);
}

/* Headings run in caps as often as title case, so tracking stays near zero —
   the tight negative tracking that flatters title case damages all-caps. */
.section-title {
  font-size: clamp(1.5rem, 1.05rem + 1.9vw, 2rem);
  font-weight: 700;
  letter-spacing: -.005em;
  line-height: 1.22;
  margin-top: .5rem;
  text-wrap: balance;
}
.section-title .hl { color: var(--brand); }

.section-sub {
  font-size: .8125rem;
  color: var(--muted);
  margin-top: .375rem;
  max-width: 62ch;
}

.card-title {
  font-size: .875rem;
  font-weight: 700;
  letter-spacing: .01em;
}

.body-sm { font-size: .8125rem; color: var(--muted); line-height: 1.65; }
.body-xs { font-size: .75rem;   color: var(--muted); line-height: 1.65; }
.strong-ink { color: var(--neutral); font-weight: 600; }

/* --- Layout ------------------------------------------------------------- */
.layout {
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
}

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

.main {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-width: 0;
}

.sections {
  display: flex;
  flex-direction: column;
  gap: var(--section-gap);
  padding-block: clamp(2.5rem, 6vw, 4rem) var(--section-gap);
}

/* Every section except the hero opens with a hairline rule. */
.section-head {
  border-top: 1px solid var(--border);
  padding-top: clamp(2rem, 4vw, 3rem);
}

/* --- Sidebar / header --------------------------------------------------- */
.sidebar {
  position: sticky;
  top: 0;
  z-index: 40;
  background: var(--card);
  border-bottom: 1px solid var(--border);
  padding: 1rem var(--gutter);
  padding-top: max(1rem, env(safe-area-inset-top));
}

.sidebar__bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.brand { display: flex; flex-direction: column; line-height: 1.15; }
.brand__name {
  font-size: 1.125rem;
  font-weight: 700;
  letter-spacing: -.02em;
}
.brand__tag {
  font-size: .625rem;
  font-weight: 500;
  letter-spacing: .04em;
  color: var(--muted);
  margin-top: .125rem;
}

.nav-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.75rem;
  height: 2.75rem;
  margin-right: -.5rem;
  background: none;
  border: 0;
  border-radius: var(--radius);
  cursor: pointer;
}
.nav-toggle:hover { background: var(--bg); }
.nav-toggle .icon-close { display: none; }
.nav-toggle[aria-expanded="true"] .icon-open  { display: none; }
.nav-toggle[aria-expanded="true"] .icon-close { display: block; }

.nav { display: none; margin-top: 1.25rem; }
.sidebar[data-nav-open="true"] .nav { display: block; }

.nav__list { display: flex; flex-direction: column; gap: .125rem; }

.nav__link {
  display: block;
  padding: .625rem .75rem;
  border-radius: var(--radius-sm);
  font-size: .875rem;
  font-weight: 500;
  transition: background-color .15s var(--ease), color .15s var(--ease);
}
.nav__link:hover { background: var(--brand-light); color: var(--brand-dark); }
.nav__link[aria-current="true"] {
  background: var(--brand-light);
  color: var(--brand-dark);
  font-weight: 600;
}

.sidebar__cta {
  display: none;
  margin-top: 1.25rem;
  padding-top: 1.25rem;
  border-top: 1px solid var(--border);
}
.sidebar[data-nav-open="true"] .sidebar__cta { display: block; }
.sidebar__note {
  font-size: .6875rem;
  color: var(--muted);
  text-align: center;
  margin-top: .75rem;
}

/* --- Buttons ------------------------------------------------------------ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .5rem;
  padding: .875rem 1.5rem;
  border: 1px solid transparent;
  border-radius: var(--radius);
  font-size: .875rem;
  font-weight: 600;
  letter-spacing: .01em;
  cursor: pointer;
  text-align: center;
  transition: background-color .15s var(--ease), border-color .15s var(--ease),
              transform .15s var(--ease), box-shadow .15s var(--ease);
}
.btn:active { transform: translateY(1px); }

.btn--primary {
  background: var(--brand);
  color: #fff;
  box-shadow: var(--shadow-sm);
}
.btn--primary:hover { background: var(--brand-dark); }

.btn--ghost {
  background: var(--card);
  color: var(--neutral);
  border-color: var(--border);
}
.btn--ghost:hover { border-color: var(--brand); color: var(--brand-dark); }

.btn--soft {
  background: var(--brand-light);
  color: var(--brand-dark);
  border-color: var(--brand-ring);
  padding: .625rem 1rem;
  font-size: .75rem;
}
.btn--soft:hover { background: #d9f5e6; }

.btn--block { width: 100%; }
.btn--sm { padding: .625rem 1.25rem; }
.btn[disabled] { opacity: .6; cursor: not-allowed; transform: none; }

/* --- Pills / badges ----------------------------------------------------- */
.pill-row { display: flex; flex-wrap: wrap; gap: .5rem; }

.pill {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  padding: .3125rem .75rem;
  border-radius: 999px;
  border: 1px solid var(--brand-ring);
  background: var(--brand-light);
  color: var(--brand-dark);
  font-size: .75rem;
  font-weight: 600;
  line-height: 1.4;
}
.pill--red   { background: var(--red-bg);   border-color: var(--red-border);   color: var(--red-text); }
.pill--amber { background: var(--amber-bg); border-color: var(--amber-border); color: var(--amber-text); }

.dot {
  width: .4375rem;
  height: .4375rem;
  border-radius: 999px;
  background: currentColor;
  flex: none;
}
.dot--live { background: #10b981; animation: pulse 2s var(--ease) infinite; }
.dot--red  { background: #ef4444; animation: pulse 2s var(--ease) infinite; }

@keyframes pulse {
  0%, 100% { opacity: 1; }
  50%      { opacity: .35; }
}

.tag {
  display: inline-block;
  padding: .375rem .75rem;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  background: var(--bg);
  font-size: .75rem;
  font-weight: 600;
}

.stamp {
  display: inline-block;
  padding: .1875rem .5rem;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  background: var(--card);
  color: var(--brand);
  font-size: .625rem;
  font-weight: 700;
  letter-spacing: .06em;
}

/* --- Cards -------------------------------------------------------------- */
.card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
}
.card--lg { padding: clamp(1.5rem, 4vw, 2rem); border-radius: var(--radius-xl); }
.card--tint {
  background: var(--brand-light);
  border-color: var(--brand-ring);
}
.card--inset {
  background: var(--bg);
  border-radius: var(--radius);
  padding: .875rem;
}
.card--hover { transition: border-color .15s var(--ease), box-shadow .15s var(--ease); }
.card--hover:hover { border-color: var(--brand-ring); box-shadow: var(--shadow-md); }

.stack   { display: flex; flex-direction: column; gap: 1.5rem; }
.stack-sm{ display: flex; flex-direction: column; gap: .75rem; }

/* --- Grids -------------------------------------------------------------- */
.grid { display: grid; gap: 1rem; }
.grid--2   { grid-template-columns: repeat(auto-fit, minmax(min(100%, 16rem), 1fr)); }
.grid--3   { grid-template-columns: repeat(auto-fit, minmax(min(100%, 14rem), 1fr)); }
.grid--4   { grid-template-columns: repeat(auto-fit, minmax(min(100%, 12rem), 1fr)); }
.grid--gap-lg { gap: 1.5rem; }

/* --- Hero --------------------------------------------------------------- */
.hero__title {
  font-size: clamp(2rem, 1.1rem + 4.4vw, 3.5rem);
  font-weight: 700;
  letter-spacing: -.03em;
  line-height: 1.08;
  margin-top: 1.5rem;
  text-wrap: balance;
}
.hero__lede {
  font-size: clamp(1.0625rem, .95rem + .6vw, 1.375rem);
  font-weight: 500;
  color: var(--brand-dark);
  margin-top: .75rem;
}
.hero__body {
  font-size: clamp(.9375rem, .9rem + .3vw, 1.0625rem);
  color: var(--muted);
  margin-top: 1.5rem;
  max-width: 60ch;
}
.hero__actions {
  display: flex;
  flex-direction: column;
  gap: .75rem;
  margin-top: 2rem;
}

.next-up {
  display: inline-flex;
  flex-wrap: wrap;
  align-items: center;
  gap: .625rem;
  margin-top: 2rem;
  padding: .75rem 1rem;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  font-size: .75rem;
  font-weight: 500;
  color: var(--muted);
}
.next-up__label { color: var(--neutral); font-weight: 700; letter-spacing: .04em; }
.next-up__link  { color: var(--brand); font-weight: 700; }
.next-up__link:hover { text-decoration: underline; }

/* --- Meetup panel ------------------------------------------------------- */
.meetup {
  position: relative;
  overflow: hidden;
  background: var(--card);
  border: 2px solid var(--brand);
  border-radius: var(--radius-xl);
  padding: clamp(1.5rem, 5vw, 3rem);
  box-shadow: var(--shadow-sm);
}
.meetup__flag {
  position: absolute;
  top: 0;
  right: 0;
  display: inline-flex;
  align-items: center;
  gap: .375rem;
  padding: .375rem 1rem;
  background: var(--brand);
  color: #fff;
  font-size: .6875rem;
  font-weight: 700;
  letter-spacing: .06em;
  border-bottom-left-radius: var(--radius-lg);
}
.meetup__flag .dot { background: #fff; animation: pulse 2s var(--ease) infinite; }

.meetup__title {
  font-size: clamp(1.375rem, 1rem + 1.7vw, 2rem);
  font-weight: 700;
  letter-spacing: .015em; /* set in caps */
  line-height: 1.2;
  margin-top: .5rem;
  padding-right: 6.5rem;
  color: var(--brand);
}

.countdown {
  display: inline-flex;
  align-items: center;
  gap: .625rem;
  margin-top: 1rem;
  padding: .5rem 1rem;
  background: var(--amber-bg);
  border: 1px solid var(--amber-border);
  border-radius: var(--radius);
  color: var(--amber-text);
  font-size: .8125rem;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
}

.facts {
  display: grid;
  gap: 1rem;
  margin-top: 1.5rem;
  padding: 1.25rem;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 12rem), 1fr));
}
.fact__label {
  display: block;
  font-size: .6875rem;
  font-weight: 600;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--muted);
}
.fact__value {
  display: block;
  margin-top: .25rem;
  font-size: .9375rem;
  font-weight: 600;
}

.duration {
  display: flex;
  align-items: center;
  gap: .5rem;
  margin-top: 1.25rem;
  font-size: .8125rem;
  color: var(--muted);
}
.duration svg { color: var(--brand); flex: none; }

.slot__time {
  display: inline-block;
  padding: .1875rem .5rem;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  color: var(--brand);
  font-size: .625rem;
  font-weight: 700;
  letter-spacing: .06em;
}
.slot h3, .slot h4 { margin-top: .625rem; }

.meetup__foot {
  margin-top: 2rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

/* --- Numbered list ------------------------------------------------------ */
.numbered { display: flex; flex-direction: column; gap: 1rem; margin-top: 1rem; }
.numbered__item { display: flex; gap: .875rem; align-items: flex-start; }
.numbered__n {
  flex: none;
  color: var(--brand);
  font-weight: 700;
  font-size: 1.0625rem;
  line-height: 1.5;
}

/* --- Bullets ------------------------------------------------------------ */
.bullets { margin-top: .875rem; display: flex; flex-direction: column; gap: .5rem; }
.bullets li {
  position: relative;
  padding-left: 1.125rem;
  font-size: .75rem;
  color: var(--muted);
  line-height: 1.65;
}
.bullets li::before {
  content: "";
  position: absolute;
  left: 0;
  top: .5625rem;
  width: .3125rem;
  height: .3125rem;
  border-radius: 999px;
  background: var(--brand);
}
.bullets strong { color: var(--neutral); }

.arrow-item { display: flex; gap: .5rem; align-items: flex-start; font-size: .75rem; }
.arrow-item::before { content: "\2192"; color: var(--brand); font-weight: 700; flex: none; }

/* --- Callout ------------------------------------------------------------ */
.callout {
  margin-top: .875rem;
  padding: .875rem 1rem;
  background: var(--brand-light);
  border: 1px solid var(--brand-ring);
  border-radius: var(--radius);
  font-size: .75rem;
  color: var(--brand-dark);
  line-height: 1.65;
}
.callout strong { color: var(--brand-darker); }

/* --- Tables ------------------------------------------------------------- */
.table-scroll {
  margin-top: .875rem;
  overflow-x: auto;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  -webkit-overflow-scrolling: touch;
}
table {
  width: 100%;
  min-width: 34rem;
  border-collapse: collapse;
  font-size: .75rem;
}
thead th {
  position: sticky;
  top: 0;
  background: var(--bg);
  text-align: left;
  padding: .625rem .75rem;
  font-weight: 700;
  color: var(--neutral);
  border-bottom: 1px solid var(--border);
  white-space: nowrap;
}
tbody td {
  padding: .625rem .75rem;
  color: var(--muted);
  border-bottom: 1px solid var(--border);
  vertical-align: top;
}
tbody tr:last-child td { border-bottom: 0; }
tbody th[scope="row"] {
  padding: .625rem .75rem;
  text-align: left;
  font-weight: 600;
  color: var(--neutral);
  border-bottom: 1px solid var(--border);
  vertical-align: top;
}
tbody tr:last-child th[scope="row"] { border-bottom: 0; }
.table-hint {
  font-size: .6875rem;
  color: var(--muted-soft);
  margin-top: .5rem;
}
@media (min-width: 48rem) { .table-hint { display: none; } }

/* --- Horizon (sector list) ---------------------------------------------- */
.horizon {
  display: grid;
  gap: 1rem;
  margin-top: 1.25rem;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 17rem), 1fr));
}
.horizon > div { display: flex; flex-direction: column; gap: .5rem; }
.horizon p { font-size: .75rem; color: var(--muted); line-height: 1.6; }
.horizon strong { color: var(--neutral); }

/* --- Community chips ---------------------------------------------------- */
.chips {
  display: grid;
  gap: .75rem;
  margin-top: 1.5rem;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 9rem), 1fr));
}
.chip {
  padding: .875rem;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  text-align: center;
  font-size: .8125rem;
  font-weight: 600;
  transition: border-color .15s var(--ease), color .15s var(--ease);
}
.chip:hover { border-color: var(--brand-ring); color: var(--brand-dark); }

/* --- Footer ------------------------------------------------------------- */
.footer {
  background: var(--card);
  border-top: 1px solid var(--border);
  padding: 2rem var(--gutter);
  padding-bottom: calc(2rem + env(safe-area-inset-bottom));
  font-size: .75rem;
  color: var(--muted);
}
.footer__inner {
  max-width: 64rem;
  margin-inline: auto;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  align-items: flex-start;
}
.footer__brand { font-weight: 700; color: var(--neutral); }
.footer__links { display: flex; flex-wrap: wrap; gap: 1.5rem; }
.footer__links a { transition: color .15s var(--ease); }
.footer__links a:hover { color: var(--neutral); }

/* --- Sticky mobile CTA -------------------------------------------------- */
.mobile-cta {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 45;
  display: flex;
  gap: .75rem;
  padding: .75rem var(--gutter);
  padding-bottom: calc(.75rem + env(safe-area-inset-bottom));
  background: rgba(255, 255, 255, .95);
  backdrop-filter: blur(8px);
  border-top: 1px solid var(--border);
  box-shadow: 0 -4px 20px rgba(17, 24, 39, .08);
}
.mobile-cta .btn { flex: 1; padding-inline: .75rem; }
body { padding-bottom: 5.5rem; }

/* --- Toast -------------------------------------------------------------- */
.toast {
  position: fixed;
  z-index: 90;
  left: var(--gutter);
  right: var(--gutter);
  top: calc(1rem + env(safe-area-inset-top));
  display: flex;
  align-items: center;
  gap: .75rem;
  padding: .875rem 1.125rem;
  background: var(--neutral);
  color: #fff;
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  font-size: .8125rem;
  font-weight: 500;
  opacity: 0;
  transform: translateY(-.75rem);
  transition: opacity .2s var(--ease), transform .2s var(--ease);
  pointer-events: none;
}
.toast[data-visible="true"] { opacity: 1; transform: none; }
.toast--error { background: var(--accent); }

/* --- Modal -------------------------------------------------------------- */
.modal {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  padding: var(--gutter);
  padding-top: max(var(--gutter), env(safe-area-inset-top));
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  background: rgba(17, 24, 39, .6);
  backdrop-filter: blur(4px);
}
.modal[hidden] { display: none; }

.modal__panel {
  position: relative;
  width: 100%;
  max-width: 34rem;
  margin-block: auto;
  padding: clamp(1.5rem, 5vw, 2rem);
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-lg);
  animation: modal-in .2s var(--ease);
}
@keyframes modal-in {
  from { opacity: 0; transform: translateY(.75rem) scale(.985); }
  to   { opacity: 1; transform: none; }
}

.modal__close {
  position: absolute;
  top: .875rem;
  right: .875rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.5rem;
  height: 2.5rem;
  background: none;
  border: 0;
  border-radius: var(--radius);
  color: var(--muted);
  cursor: pointer;
}
.modal__close:hover { background: var(--bg); color: var(--neutral); }

.modal__title {
  font-size: 1.375rem;
  font-weight: 700;
  letter-spacing: .01em; /* usually set in caps */
  line-height: 1.25;
  padding-right: 2.5rem;
  text-wrap: balance;
}
.modal__meta  { font-size: .75rem; color: var(--muted); margin-top: .375rem; }
.modal__note  { font-size: .75rem; color: var(--brand); font-weight: 600; margin-top: .25rem; }

/* --- Form --------------------------------------------------------------- */
.form { margin-top: 1.5rem; display: flex; flex-direction: column; gap: 1rem; }
.form__row { display: grid; gap: 1rem; grid-template-columns: 1fr; }
@media (min-width: 30rem) { .form__row { grid-template-columns: 1fr 1fr; } }

.field { display: flex; flex-direction: column; gap: .375rem; min-width: 0; }
.field__label { font-size: .75rem; font-weight: 600; }
.field__label .req { color: var(--accent); }

.field input,
.field select,
.field textarea {
  width: 100%;
  padding: .75rem .875rem;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  color: var(--neutral);
  font-family: inherit;
  font-size: 1rem; /* 16px stops iOS Safari from zooming on focus */
  transition: border-color .15s var(--ease), box-shadow .15s var(--ease);
}
.field select { appearance: none; background-image: none; }
.field input::placeholder, .field textarea::placeholder { color: #9ca3af; }

.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--brand);
  box-shadow: 0 0 0 3px var(--brand-light);
}
.field[data-invalid="true"] input,
.field[data-invalid="true"] select {
  border-color: var(--accent);
}
.field__error {
  font-size: .6875rem;
  color: var(--accent);
  font-weight: 600;
  min-height: 0;
}
.field[data-invalid="true"] .field__error { min-height: 1rem; }

.form__status {
  font-size: .75rem;
  font-weight: 600;
  color: var(--accent);
  min-height: 1rem;
}
.form__fine {
  font-size: .6875rem;
  color: var(--muted);
  text-align: center;
}

/* Honeypot: off-screen, never announced, never focusable. */
.hp {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.spinner {
  width: 1rem;
  height: 1rem;
  border: 2px solid rgba(255, 255, 255, .4);
  border-top-color: #fff;
  border-radius: 999px;
  animation: spin .7s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }

.form__success { text-align: center; padding-block: 1rem; }
.form__success .check {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 3rem;
  height: 3rem;
  border-radius: 999px;
  background: var(--brand-light);
  color: var(--brand);
  margin-bottom: 1rem;
}

/* ==========================================================================
   Breakpoints
   ========================================================================== */

/* Small tablets and up */
@media (min-width: 40rem) {
  :root { --gutter: 2rem; }
  .hero__actions { flex-direction: row; flex-wrap: wrap; }
  .hero__actions .btn { flex: 0 1 auto; }
  .meetup__foot { flex-direction: row; align-items: center; justify-content: space-between; }
  .meetup__foot .btn { flex: none; }
  .footer__inner { flex-direction: row; align-items: center; justify-content: space-between; }
}

/* Desktop: sidebar becomes a fixed rail */
@media (min-width: 64rem) {
  :root { --gutter: 4rem; }

  html { scroll-padding-top: 2rem; }
  body { padding-bottom: 0; }

  .layout { flex-direction: row; }

  .sidebar {
    position: fixed;
    inset: 0 auto 0 0;
    width: var(--sidebar-w);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    overflow-y: auto;
    padding: 2rem;
    border-bottom: 0;
    border-right: 1px solid var(--border);
  }

  .nav-toggle { display: none; }
  .nav { display: block; margin-top: 2rem; }
  .sidebar__cta { display: block; }

  .main { margin-left: var(--sidebar-w); }
  .mobile-cta { display: none; }

  .toast { left: auto; right: 1.5rem; top: 1.5rem; max-width: 24rem; }

  .modal { align-items: center; }
}
