/* Apple-inspired system for Zeca Cury Neuro
   Canvas #f5f5f7 · Ink #1d1d1f · Action Blue #0071e3 · No chrome shadows */

:root {
  --canvas: #f3f1ec;
  --surface: #ffffff;
  --ink: #0b1c33;
  --ink-2: #3d4f66;
  --ink-3: #6b7c90;
  --line: #d8d2c8;
  --blue: #1a6bb5;
  --blue-hover: #155a9a;
  --link: #1a6bb5;
  --dark: #0b1c33;
  --dark-2: #152a45;
  --good: #git commit -m "hra";
  --mild: #b25000;
  --moderate: #bf4800;
  --high: #bf163c;
  --accent: #c4a574;
  --radius-tile: 24px;
  --radius-pill: 980px;
  --nav-h: 56px;
  --font: "Manrope", "Segoe UI", sans-serif;
  --font-display: "Instrument Serif", Georgia, serif;
  --ease: cubic-bezier(0.25, 0.1, 0.25, 1);
  --max: 980px;
  --max-wide: 1120px;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.47059;
  letter-spacing: -0.022em;
  color: var(--ink);
  background: var(--canvas);
  -webkit-font-smoothing: antialiased;
}

a {
  color: var(--link);
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

img {
  max-width: 100%;
  display: block;
}

button,
input,
textarea,
select {
  font: inherit;
}

/* ——— Nav (Apple globalnav) ——— */
.globalnav {
  position: sticky;
  top: 0;
  z-index: 50;
  height: var(--nav-h);
  background: rgba(251, 251, 253, 0.8);
  backdrop-filter: saturate(180%) blur(20px);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
  border-bottom: 1px solid rgba(0, 0, 0, 0.08);
}

.globalnav-content {
  max-width: var(--max-wide);
  margin: 0 auto;
  height: 100%;
  padding: 0 22px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.gn-brand {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--ink);
  text-decoration: none;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: -0.01em;
}

.gn-brand img {
  width: 28px;
  height: 28px;
  border-radius: 50%;
}

.gn-brand:hover {
  text-decoration: none;
  opacity: 0.8;
}

.gn-list {
  display: flex;
  align-items: center;
  gap: 22px;
}

.gn-list a {
  color: var(--ink);
  font-size: 12px;
  opacity: 0.88;
  text-decoration: none;
}

.gn-list a:hover {
  opacity: 1;
  text-decoration: none;
}

.gn-cta {
  background: var(--blue) !important;
  color: #fff !important;
  opacity: 1 !important;
  padding: 6px 14px;
  border-radius: var(--radius-pill);
  font-weight: 400;
}

.gn-cta:hover {
  background: var(--blue-hover) !important;
}

.gn-menu {
  display: none;
  width: 40px;
  height: 40px;
  border: 0;
  background: transparent;
  cursor: pointer;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  padding: 0;
}

.gn-menu span {
  display: block;
  width: 18px;
  height: 1.5px;
  background: var(--ink);
  margin: 0 auto;
}

#app {
  min-height: calc(100vh - 200px);
}

/* ——— Buttons ——— */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  min-height: 44px;
  padding: 11px 22px;
  border-radius: var(--radius-pill);
  border: 0;
  cursor: pointer;
  font-size: 17px;
  font-weight: 400;
  letter-spacing: -0.022em;
  text-decoration: none;
  transition: background 0.2s var(--ease), opacity 0.2s;
}

.btn:hover {
  text-decoration: none;
}

.btn-blue {
  background: var(--blue);
  color: #fff;
}

.btn-blue:hover {
  background: var(--blue-hover);
}

.btn-dark {
  background: var(--ink);
  color: #fff;
}

.btn-dark:hover {
  opacity: 0.88;
}

.btn-ghost {
  background: transparent;
  color: var(--link);
  padding-left: 8px;
  padding-right: 8px;
}

.btn-ghost:hover {
  text-decoration: underline;
}

.btn-block {
  width: 100%;
}

.btn:disabled {
  opacity: 0.4;
  cursor: not-allowed;
}

/* ——— Hero / tiles ——— */
.tile {
  text-align: center;
  padding: 72px 24px 80px;
}

.tile-light {
  background: var(--canvas);
}

.tile-white {
  background: var(--surface);
}

.tile-dark {
  background: var(--dark);
  color: #f5f5f7;
}

.tile-dark .subcopy {
  color: #a1a1a6;
}

.tile-dark .btn-ghost {
  color: #2997ff;
}

.tile-inner {
  max-width: 720px;
  margin: 0 auto;
}

.tile-logo {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  margin: 0 auto 28px;
  object-fit: cover;
}

.tile-hero {
  background:
    radial-gradient(ellipse 80% 60% at 50% 20%, rgba(62, 120, 180, 0.14), transparent 60%),
    linear-gradient(180deg, #e8eef5 0%, var(--canvas) 70%);
  padding: 56px 24px 72px;
  min-height: min(88vh, 760px);
  display: flex;
  align-items: center;
}

.tile-hero .tile-inner {
  width: 100%;
}

.brand-hero {
  font-family: var(--font-display);
  font-size: clamp(40px, 8vw, 64px);
  font-weight: 400;
  letter-spacing: -0.02em;
  line-height: 1.05;
  margin: 0 0 16px;
  color: var(--ink);
}

.btn-lg {
  min-height: 52px;
  padding: 0 28px;
  font-size: 17px;
}

/* ——— Hero (logo original estático) ——— */
.hero-apple {
  background:
    radial-gradient(ellipse at 50% 0%, rgba(26, 107, 181, 0.12), transparent 55%),
    linear-gradient(180deg, #e8eef5 0%, var(--canvas) 70%);
  padding: 56px 24px 72px;
  min-height: min(78vh, 720px);
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.hero-apple-inner {
  max-width: 680px;
  margin: 0 auto;
  width: 100%;
}

.hero-logo {
  margin: 0 auto 28px;
  width: clamp(148px, 34vw, 220px);
  height: clamp(148px, 34vw, 220px);
  border-radius: 50%;
  overflow: hidden;
  box-shadow: 0 18px 40px rgba(11, 28, 51, 0.18);
}

.hero-logo img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.gn-logo {
  border-radius: 50%;
  object-fit: cover;
}

.hero-apple-brand {
  margin: 0 0 12px;
  font-size: 21px;
  font-weight: 600;
  letter-spacing: -0.01em;
  color: #1d1d1f;
  font-family: var(--font);
}

.hero-apple-title {
  margin: 0 0 18px;
  font-family: var(--font);
  font-size: clamp(36px, 7vw, 56px);
  font-weight: 600;
  letter-spacing: -0.025em;
  line-height: 1.07;
  color: #1d1d1f;
}

.hero-apple-lead {
  margin: 0 auto 32px;
  max-width: 34em;
  font-size: 19px;
  line-height: 1.4211;
  letter-spacing: 0.011em;
  font-weight: 400;
  color: #6e6e73;
  font-family: var(--font);
}

.hero-apple-cta {
  justify-content: center;
  align-items: center;
  gap: 22px;
}

.hero-apple-cta .btn-blue {
  background: #0071e3;
  min-height: 44px;
  padding: 0 22px;
  font-size: 17px;
  font-weight: 400;
  border-radius: 980px;
}

.hero-apple-cta .btn-blue:hover {
  background: #0077ed;
}

.hero-apple-cta .link-more {
  color: #0066cc;
  font-size: 17px;
  font-weight: 400;
  text-decoration: none;
}

.hero-apple-cta .link-more:hover {
  text-decoration: underline;
}

@media (max-width: 734px) {
  .hero-apple {
    padding: 40px 20px 56px;
    min-height: auto;
  }

  .hero-apple-lead {
    font-size: 17px;
  }

  .hero-apple-cta {
    flex-direction: column;
    gap: 16px;
  }
}

/* ——— Landing sale (legacy helpers) ——— */
.hero-sale {
  position: relative;
  min-height: min(92vh, 820px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 48px 24px 64px;
  overflow: hidden;
  text-align: center;
}

.hero-sale-bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 55% 45% at 50% 18%, rgba(26, 107, 181, 0.22), transparent 58%),
    radial-gradient(ellipse 40% 35% at 18% 70%, rgba(155, 107, 199, 0.12), transparent 50%),
    radial-gradient(ellipse 45% 40% at 85% 65%, rgba(196, 165, 116, 0.14), transparent 50%),
    linear-gradient(180deg, #e7eef6 0%, var(--canvas) 72%);
  z-index: 0;
}

.hero-sale-bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(circle at 20% 30%, rgba(255, 255, 255, 0.45) 0 1px, transparent 2px),
    radial-gradient(circle at 70% 25%, rgba(255, 255, 255, 0.35) 0 1px, transparent 2px),
    radial-gradient(circle at 40% 75%, rgba(255, 255, 255, 0.3) 0 1px, transparent 2px),
    radial-gradient(circle at 80% 60%, rgba(255, 255, 255, 0.4) 0 1px, transparent 2px);
  background-size: 100% 100%;
  opacity: 0.7;
  pointer-events: none;
  animation: hero-dust 18s linear infinite;
}

@keyframes hero-dust {
  0% { transform: translateY(0); opacity: 0.5; }
  50% { opacity: 0.85; }
  100% { transform: translateY(-12px); opacity: 0.5; }
}

.hero-sale-inner {
  position: relative;
  z-index: 1;
  max-width: 720px;
  margin: 0 auto;
}

.hero-kicker {
  margin: 0 0 10px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--blue);
}

.hero-product {
  margin: -6px 0 14px;
  font-family: var(--font-display);
  font-size: clamp(22px, 3.5vw, 28px);
  font-weight: 400;
  font-style: italic;
  color: var(--blue);
  letter-spacing: -0.01em;
}

.hero-headline {
  font-family: var(--font-display);
  font-size: clamp(26px, 4.5vw, 36px);
  font-weight: 400;
  line-height: 1.2;
  letter-spacing: -0.01em;
  margin: 0 0 14px;
  color: var(--ink);
}

.hero-support {
  margin: 0 auto 12px;
  max-width: 34em;
  font-size: 17px;
  line-height: 1.55;
  color: var(--ink-2);
}

.hero-promise {
  margin: 0 auto 24px;
  max-width: 36em;
  font-size: 15px;
  line-height: 1.5;
  color: var(--ink-3);
}

.audience-card .pitch-points {
  margin: 4px 0 16px;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 10px;
}

.audience-card .pitch-points li {
  padding: 0;
  border: 0;
  display: grid;
  gap: 2px;
}

.audience-card .pitch-points strong {
  font-size: 14px;
  color: #f5f5f7;
}

.audience-card--soft .pitch-points strong {
  color: var(--ink);
}

.audience-card .pitch-points span {
  font-size: 13px;
  color: #9aabbc;
  line-height: 1.4;
}

.audience-card--soft .pitch-points span {
  color: var(--ink-2);
}

.final-cta-pitch {
  margin: 0 auto 20px !important;
  max-width: 36em;
  font-size: 14px !important;
  color: var(--ink-3) !important;
}

.hero-cta {
  justify-content: center;
}

.hero-price-chip {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin-top: 28px;
  padding: 10px 16px;
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid rgba(11, 28, 51, 0.08);
  border-radius: 999px;
  backdrop-filter: blur(8px);
}

.hero-price-chip-text {
  font-size: 15px;
  color: var(--ink-2);
}

.hero-price-chip-text strong {
  color: var(--ink);
  font-size: 18px;
}

.trust-strip {
  padding-top: 0;
  padding-bottom: 8px;
}

.trust-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}

.trust-list li {
  background: var(--surface);
  border-radius: 18px;
  padding: 18px 20px;
  display: grid;
  gap: 4px;
  border: 1px solid rgba(11, 28, 51, 0.06);
}

.trust-list strong {
  font-size: 16px;
  color: var(--ink);
}

.trust-list span {
  font-size: 13px;
  color: var(--ink-3);
  line-height: 1.4;
}

.section-head--left {
  text-align: left;
  max-width: none;
}

.benefit-grid {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
}

.benefit-item {
  background: var(--surface);
  border-radius: 20px;
  padding: 22px 22px 20px;
  display: grid;
  gap: 8px;
  border: 1px solid rgba(11, 28, 51, 0.06);
  transition: transform 0.25s var(--ease), border-color 0.25s var(--ease);
}

.benefit-item:hover {
  transform: translateY(-2px);
  border-color: rgba(26, 107, 181, 0.28);
}

.benefit-item strong {
  font-size: 18px;
  color: var(--ink);
  letter-spacing: -0.02em;
}

.benefit-item span {
  font-size: 14px;
  color: var(--ink-2);
  line-height: 1.5;
}

.deal-section {
  padding-top: 8px;
}

.deal-panel {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 28px;
  align-items: center;
  background:
    linear-gradient(135deg, #0b1c33 0%, #152a45 55%, #1a3a5c 100%);
  color: #f5f5f7;
  border-radius: 28px;
  padding: 36px 32px;
}

.deal-panel--solo {
  max-width: 720px;
  margin: 0 auto;
}

.deal-panel .price-deal-now {
  color: #fff;
}

.deal-panel .price-deal-was,
.deal-panel .price-deal-was s {
  color: #a8b4c4;
}

.deal-panel .price-deal-save {
  color: #7dcea0;
}

.deal-panel .deal-badge {
  background: var(--accent);
  color: #0b1c33;
}

.deal-panel .deal-tag {
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
}

.deal-panel-copy h2 {
  font-family: var(--font-display);
  font-size: clamp(28px, 4vw, 36px);
  font-weight: 400;
  margin: 0 0 12px;
  letter-spacing: -0.02em;
}

.deal-panel-copy > p {
  margin: 0 0 10px;
  color: #c5ced8;
  font-size: 16px;
  line-height: 1.5;
}

.deal-panel-note {
  font-size: 13px !important;
  color: #8a9aab !important;
}

.deal-panel-copy .btn {
  margin-top: 16px;
}

.flow-steps {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  counter-reset: none;
}

.flow-steps li {
  background: var(--surface);
  border-radius: 20px;
  padding: 22px;
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 14px;
  border: 1px solid rgba(11, 28, 51, 0.06);
}

.flow-n {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: var(--ink);
  color: #fff;
  font-size: 14px;
  font-weight: 700;
}

.flow-steps strong {
  display: block;
  margin-bottom: 4px;
  font-size: 16px;
  color: var(--ink);
}

.flow-steps p {
  margin: 0;
  font-size: 14px;
  color: var(--ink-2);
  line-height: 1.45;
}

.audience-section {
  padding-top: 8px;
}

.audience-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.audience-card {
  background: var(--ink);
  color: #f5f5f7;
  border-radius: 24px;
  padding: 28px 26px;
  display: grid;
  gap: 12px;
  align-content: start;
}

.audience-card--soft {
  background: var(--surface);
  color: var(--ink);
  border: 1px solid rgba(11, 28, 51, 0.08);
}

.audience-card .section-kicker {
  margin: 0;
  color: var(--accent);
}

.audience-card--soft .section-kicker {
  color: var(--blue);
}

.audience-card h3 {
  font-family: var(--font-display);
  font-size: 28px;
  font-weight: 400;
  margin: 0;
  letter-spacing: -0.02em;
  line-height: 1.15;
}

.audience-card p {
  margin: 0 0 8px;
  font-size: 15px;
  line-height: 1.5;
  color: #b8c2ce;
}

.audience-card--soft p {
  color: var(--ink-2);
}

.section-cta {
  text-align: center;
  margin: 32px 0 0;
}

.tests-showcase {
  max-width: 1120px;
}

.tests-showcase .section-head {
  max-width: 40em;
}

.tests-offer-strip {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px 24px;
  background:
    linear-gradient(135deg, rgba(26, 107, 181, 0.1), rgba(196, 165, 116, 0.12)),
    var(--surface);
  border: 1px solid rgba(26, 107, 181, 0.2);
  border-radius: 20px;
  padding: 18px 20px;
  margin-bottom: 24px;
}

.tests-offer-price {
  margin: 8px 0 4px;
  font-size: clamp(24px, 4vw, 30px);
  letter-spacing: -0.03em;
  color: var(--ink);
}

.tests-offer-price s {
  font-size: 15px;
  color: var(--ink-3);
  margin-right: 8px;
}

.tests-offer-copy {
  margin: 0;
  font-size: 14px;
  color: var(--ink-2);
  line-height: 1.4;
}

.tests-offer-btn {
  flex: 0 0 auto;
  min-height: 48px;
  justify-content: center;
}

.tests-shell {
  display: grid;
  gap: 18px;
  align-items: start;
}

.tests-main {
  min-width: 0;
}

.tests-tabs {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  scroll-snap-type: x proximity;
  padding: 2px 2px 12px;
  margin: 0 -4px 8px;
  scrollbar-width: none;
}

.tests-tabs::-webkit-scrollbar {
  display: none;
}

.tests-tab {
  flex: 0 0 auto;
  scroll-snap-align: start;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border: 1px solid var(--line);
  background: var(--surface);
  color: var(--ink-2);
  border-radius: 999px;
  padding: 10px 14px;
  min-height: 44px;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.3s var(--ease), color 0.3s var(--ease), border-color 0.3s var(--ease);
}

.tests-tab-label {
  max-width: 42vw;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.tests-tab em {
  font-style: normal;
  font-size: 11px;
  background: rgba(11, 28, 51, 0.06);
  border-radius: 999px;
  padding: 2px 7px;
  flex: 0 0 auto;
}

.tests-tab.is-active {
  background: var(--ink);
  color: #f5f5f7;
  border-color: var(--ink);
}

.tests-tab.is-active em {
  background: rgba(255, 255, 255, 0.16);
}

.tests-panel {
  animation: tests-panel-in 0.45s var(--ease);
}

@keyframes tests-panel-in {
  from {
    opacity: 0;
    transform: translateY(8px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

.tests-panel-head {
  margin-bottom: 12px;
}

.tests-panel-head h3 {
  margin: 0 0 4px;
  font-family: var(--font-display);
  font-size: clamp(22px, 4vw, 28px);
  font-weight: 400;
  letter-spacing: -0.02em;
}

.tests-panel-head p {
  margin: 0;
  font-size: 13px;
  color: var(--ink-3);
}

.tests-grid {
  display: grid;
  gap: 8px;
}

.tests-card {
  width: 100%;
  text-align: left;
  border: 1px solid rgba(11, 28, 51, 0.1);
  background: var(--surface);
  border-radius: 16px;
  padding: 14px 14px 14px 16px;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 12px;
  align-items: center;
  cursor: pointer;
  min-height: 72px;
  transition:
    border-color 0.25s var(--ease),
    box-shadow 0.25s var(--ease),
    background 0.25s var(--ease);
}

.tests-card:hover,
.tests-card:focus-visible {
  border-color: rgba(26, 107, 181, 0.4);
  box-shadow: 0 8px 20px rgba(11, 28, 51, 0.06);
  outline: none;
}

.tests-card.is-selected {
  border-color: var(--blue);
  background: linear-gradient(90deg, rgba(26, 107, 181, 0.08), var(--surface));
  box-shadow: 0 0 0 1px rgba(26, 107, 181, 0.22);
}

.tests-card-body {
  display: grid;
  gap: 4px;
  min-width: 0;
}

.tests-card-title {
  font-size: 16px;
  font-weight: 650;
  letter-spacing: -0.015em;
  color: var(--ink);
  line-height: 1.25;
}

.tests-card-teaser {
  font-size: 13px;
  line-height: 1.4;
  color: var(--ink-2);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.tests-card-cta {
  flex: 0 0 auto;
  font-size: 13px;
  font-weight: 650;
  color: var(--blue);
  padding: 8px 10px;
  border-radius: 999px;
  background: rgba(26, 107, 181, 0.08);
}

.tests-detail {
  background: var(--surface);
  border-radius: 20px;
  border: 1px solid rgba(26, 107, 181, 0.16);
  padding: 20px 18px;
  min-height: 220px;
}

.tests-detail-empty {
  display: grid;
  gap: 8px;
  align-content: start;
  padding: 8px 4px;
}

.tests-detail-empty-kicker {
  margin: 0;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--blue);
}

.tests-detail-empty h3 {
  margin: 0;
  font-family: var(--font-display);
  font-size: 26px;
  font-weight: 400;
  letter-spacing: -0.02em;
}

.tests-detail-empty p:last-child {
  margin: 0;
  font-size: 15px;
  line-height: 1.5;
  color: var(--ink-2);
  max-width: 28em;
}

.tests-detail-content {
  opacity: 0;
  transform: translateY(12px);
  transition: opacity 0.38s var(--ease), transform 0.38s var(--ease);
}

.tests-detail-content.is-visible {
  opacity: 1;
  transform: none;
}

.tests-detail-close {
  display: inline-flex;
  align-items: center;
  min-height: 40px;
  margin: 0 0 14px;
  border: 0;
  border-radius: 999px;
  background: rgba(11, 28, 51, 0.06);
  padding: 8px 14px;
  cursor: pointer;
  font-size: 14px;
  font-weight: 600;
  color: var(--ink-2);
}

.tests-detail-cat {
  margin: 0 0 6px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--blue);
}

.tests-detail-title {
  margin: 0 0 12px;
  font-family: var(--font-display);
  font-size: clamp(24px, 5vw, 34px);
  font-weight: 400;
  letter-spacing: -0.02em;
  line-height: 1.15;
}

.tests-detail-purpose {
  margin: 0 0 16px;
  font-size: 16px;
  line-height: 1.5;
  color: var(--ink);
}

.tests-detail-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 10px;
  margin-bottom: 14px;
}

.tests-detail-grid > div {
  background: var(--canvas);
  border-radius: 14px;
  padding: 14px 15px;
}

.tests-detail-grid strong {
  display: block;
  margin-bottom: 6px;
  font-size: 13px;
  color: var(--ink);
}

.tests-detail-grid p {
  margin: 0;
  font-size: 14px;
  line-height: 1.45;
  color: var(--ink-2);
}

.tests-detail-note {
  margin: 0 0 18px;
  font-size: 12px;
  color: var(--ink-3);
  line-height: 1.4;
}

.tests-detail-actions {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.tests-detail-actions .btn {
  width: 100%;
  justify-content: center;
  min-height: 48px;
}

.tests-bottom-cta {
  margin-top: 28px;
  text-align: center;
  background: var(--ink);
  color: #f5f5f7;
  border-radius: 20px;
  padding: 24px 20px;
}

.tests-bottom-cta p {
  margin: 0 auto 16px;
  max-width: 32em;
  font-size: 16px;
  line-height: 1.45;
  color: #d2d2d7;
}

.tests-bottom-cta strong {
  color: #fff;
}

.tests-bottom-cta .btn {
  width: min(100%, 320px);
  justify-content: center;
}

.tests-catalog-disclaimer {
  margin: 14px 0 0;
  font-size: 12px;
  color: var(--ink-3);
  text-align: center;
  line-height: 1.4;
}

.auth-tabs {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin: 0 auto 18px;
}

.auth-divider {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 14px 0;
  color: var(--ink-3);
  font-size: 13px;
}

.auth-divider::before,
.auth-divider::after {
  content: "";
  flex: 1;
  height: 1px;
  background: var(--line);
}

.admin-code {
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 1.05rem;
  letter-spacing: 0.18em;
  font-weight: 700;
}

.admin-code-create {
  margin-bottom: 20px;
}

.admin-code-form {
  display: grid;
  gap: 12px;
  max-width: 420px;
  margin-top: 12px;
}

.admin-code-flash {
  margin-top: 14px;
  padding: 12px 14px;
  border-radius: 12px;
  background: color-mix(in srgb, var(--good) 12%, transparent);
  color: var(--ink);
}

.admin-login-card {
  max-width: 420px;
  margin: 0 auto;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 24px 20px;
}

.auth-admin-link {
  margin-top: 10px;
}

.auth-admin-link a {
  color: var(--ink-3);
  font-size: 13px;
}

.admin-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  align-items: center;
}

.admin-badge.tone-mild {
  background: color-mix(in srgb, var(--good) 16%, transparent);
  color: var(--good);
}

.admin-badge.tone-moderate {
  background: color-mix(in srgb, #b45309 16%, transparent);
  color: #9a3412;
}

.admin-badge.tone-severe,
.admin-badge.tone-high {
  background: color-mix(in srgb, #b91c1c 14%, transparent);
  color: #991b1b;
}

.evo-detail-head {
  margin: 8px 0 18px;
}

.evo-detail-head h3 {
  margin: 0 0 4px;
  font-family: "Instrument Serif", Georgia, serif;
  font-size: 1.6rem;
  font-weight: 400;
}

.evo-timeline {
  display: grid;
  gap: 12px;
}

.evo-item {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 14px 16px;
}

.evo-item-head {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 4px;
}

.evo-detail {
  margin: 8px 0 0;
  font-size: 14px;
  color: var(--ink-2);
  line-height: 1.45;
}

.buy-mode-tabs {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  margin-bottom: 22px;
}

.buy-mode-tab {
  display: grid;
  gap: 4px;
  text-align: left;
  border: 1px solid var(--line);
  background: var(--surface);
  border-radius: 14px;
  padding: 14px 12px;
  cursor: pointer;
  font: inherit;
  color: var(--ink-2);
  transition: border-color 0.15s ease, background 0.15s ease;
}

.buy-mode-tab strong {
  display: block;
  color: var(--ink);
  font-size: 15px;
}

.buy-mode-tab span {
  font-size: 12px;
  color: var(--ink-3);
  line-height: 1.3;
}

.buy-mode-tab.is-on {
  border-color: var(--ink);
  background: color-mix(in srgb, var(--ink) 6%, var(--surface));
}

.buy-mode-tab.is-on strong {
  color: var(--ink);
}

@media (max-width: 520px) {
  .buy-mode-tabs {
    grid-template-columns: 1fr;
  }
}

.checkout-pagbank-note {
  margin: 4px 0 16px;
  font-size: 13px;
  line-height: 1.45;
  color: var(--ink-3);
}

.account-card {
  max-width: 520px;
  margin: 0 auto;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 22px 20px;
}

.account-status {
  margin: 10px 0 0;
  font-size: 14px;
  color: var(--ink-3);
}

.account-status.is-on {
  color: var(--good);
  font-weight: 600;
}

.dict-grid {
  display: grid;
  gap: 12px;
  grid-template-columns: 1fr;
}

@media (min-width: 800px) {
  .dict-grid {
    grid-template-columns: 1fr 1fr;
  }
}

.dict-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 16px 18px;
}

.dict-card h3 {
  margin: 0 0 8px;
  font-size: 17px;
}

.dict-card p {
  margin: 0;
  font-size: 14px;
  line-height: 1.45;
  color: var(--ink-2);
}

.result-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 14px 16px;
  margin-bottom: 8px;
}

.result-row p {
  margin: 4px 0 0;
  font-size: 13px;
  color: var(--ink-3);
}

.results-list {
  max-width: 720px;
  margin: 0 auto;
}

.checkout-page .tests-showcase {
  max-width: none;
  margin-top: 40px;
  padding: 0 0 40px;
}

/* Mobile: detalhe em tela cheia; lista some */
@media (max-width: 899px) {
  .tests-showcase {
    padding-left: 16px;
    padding-right: 16px;
  }

  .tests-shell.is-detail .tests-main {
    display: none;
  }

  .tests-shell:not(.is-detail) .tests-detail-empty {
    display: none;
  }

  .tests-shell:not(.is-detail) .tests-detail {
    display: none;
  }

  .tests-shell.is-detail .tests-detail {
    border: 0;
    border-radius: 0;
    padding: 0;
    min-height: 0;
    background: transparent;
  }

  .tests-detail-close {
    position: sticky;
    top: 0;
    z-index: 2;
    margin-bottom: 16px;
    background: rgba(245, 245, 247, 0.92);
    backdrop-filter: blur(8px);
  }

  .tests-detail-actions {
    position: sticky;
    bottom: 0;
    padding-top: 12px;
    padding-bottom: max(8px, env(safe-area-inset-bottom));
    background: linear-gradient(180deg, rgba(243, 241, 236, 0), var(--canvas) 32%);
  }

  .tests-offer-strip {
    flex-direction: column;
    align-items: stretch;
  }

  .tests-offer-btn {
    width: 100%;
  }

  .tests-card-teaser {
    -webkit-line-clamp: 1;
    line-clamp: 1;
  }
}

/* Desktop: lista + painel lateral */
@media (min-width: 900px) {
  .tests-shell {
    grid-template-columns: minmax(0, 1fr) minmax(340px, 0.92fr);
    gap: 24px;
    align-items: stretch;
  }

  .tests-tab-label {
    max-width: none;
  }

  .tests-grid {
    gap: 10px;
  }

  .tests-card {
    padding: 16px 16px 16px 18px;
    min-height: 88px;
  }

  .tests-card-title {
    font-size: 17px;
  }

  .tests-card-teaser {
    -webkit-line-clamp: 2;
    line-clamp: 2;
  }

  .tests-detail {
    position: sticky;
    top: 88px;
    padding: 28px 26px;
    min-height: 460px;
    max-height: calc(100vh - 112px);
    overflow: auto;
    display: flex;
    flex-direction: column;
  }

  .tests-detail-empty,
  .tests-detail-content:not([hidden]) {
    flex: 1;
    display: flex;
    flex-direction: column;
  }

  .tests-detail-content[hidden],
  .tests-detail-empty[hidden] {
    display: none !important;
  }

  .tests-detail-grid {
    grid-template-columns: 1fr 1fr;
    gap: 12px;
  }

  .tests-detail-actions {
    flex-direction: row;
    flex-wrap: wrap;
    margin-top: auto;
    padding-top: 8px;
  }

  .tests-detail-actions .btn {
    width: auto;
  }

  .tests-detail-actions .btn-ghost,
  .tests-detail-close {
    display: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  .tests-detail-content,
  .tests-card,
  .tests-panel {
    transition: none !important;
    animation: none !important;
  }
}

.faq-list {
  display: grid;
  gap: 10px;
}

.faq-item {
  background: var(--surface);
  border-radius: 16px;
  padding: 4px 18px;
  border: 1px solid rgba(11, 28, 51, 0.06);
}

.faq-item summary {
  cursor: pointer;
  font-weight: 600;
  font-size: 16px;
  padding: 14px 0;
  list-style: none;
  color: var(--ink);
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item summary::after {
  content: "+";
  float: right;
  color: var(--ink-3);
  font-weight: 400;
}

.faq-item[open] summary::after {
  content: "–";
}

.faq-item p {
  margin: 0 0 16px;
  font-size: 15px;
  color: var(--ink-2);
  line-height: 1.5;
}

.final-cta {
  padding: 24px 24px 100px;
}

.final-cta-inner {
  max-width: 720px;
  margin: 0 auto;
  text-align: center;
  background:
    radial-gradient(ellipse 80% 80% at 50% 0%, rgba(26, 107, 181, 0.12), transparent 60%),
    var(--surface);
  border-radius: 28px;
  padding: 48px 28px;
  border: 1px solid rgba(11, 28, 51, 0.08);
}

.final-cta-inner h2 {
  font-family: var(--font-display);
  font-size: clamp(28px, 5vw, 40px);
  font-weight: 400;
  margin: 0 0 12px;
}

.final-cta-inner > p {
  margin: 0 auto 24px;
  max-width: 30em;
  color: var(--ink-2);
}

.sticky-buy {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 40;
  padding: 10px 16px calc(10px + env(safe-area-inset-bottom));
  background: rgba(243, 241, 236, 0.92);
  backdrop-filter: blur(16px);
  border-top: 1px solid rgba(11, 28, 51, 0.08);
}

.sticky-buy-inner {
  max-width: 720px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.sticky-buy-price {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 8px;
  font-size: 14px;
  color: var(--ink-3);
}

.sticky-buy-price strong {
  font-size: 20px;
  color: var(--ink);
}

.sticky-buy-price span {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--blue);
}

.lock-page {
  padding-bottom: 80px;
}

@media (max-width: 834px) {
  .trust-list,
  .benefit-grid,
  .flow-steps,
  .audience-grid,
  .deal-panel {
    grid-template-columns: 1fr;
  }

  .hero-sale {
    min-height: auto;
    padding-top: 36px;
  }

  .sticky-buy .btn {
    flex-shrink: 0;
  }
}

@media (min-width: 835px) {
  .sticky-buy {
    display: none;
  }

  .final-cta {
    padding-bottom: 64px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .benefit-item:hover {
    transform: none;
  }
}

.logo-hero {
  perspective: 900px;
  margin: 0 auto 28px;
  width: 168px;
  height: 168px;
}

.logo-hero-stage {
  width: 100%;
  height: 100%;
  transform-style: preserve-3d;
  animation: logo-float 7s var(--ease) infinite;
}

.logo-hero-img {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  filter: drop-shadow(0 18px 28px rgba(11, 28, 51, 0.28));
  transform: rotateX(8deg) rotateY(-6deg);
}

@keyframes logo-float {
  0%,
  100% {
    transform: translateY(0) rotateX(0deg) rotateY(0deg);
  }
  50% {
    transform: translateY(-8px) rotateX(3deg) rotateY(4deg);
  }
}

@media (prefers-reduced-motion: reduce) {
  .logo-hero-stage {
    animation: none;
  }
}

.eyebrow {
  display: block;
  font-size: 21px;
  font-weight: 600;
  letter-spacing: 0.011em;
  margin-bottom: 6px;
  color: inherit;
}

.tile-dark .eyebrow {
  color: #f5f5f7;
}

.display {
  font-size: clamp(40px, 8vw, 56px);
  font-weight: 600;
  line-height: 1.07;
  letter-spacing: -0.005em;
  margin: 0 0 12px;
}

.subcopy {
  font-size: 21px;
  font-weight: 400;
  line-height: 1.381;
  letter-spacing: 0.011em;
  color: var(--ink-2);
  margin: 0 auto 28px;
  max-width: 28em;
}

.cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  justify-content: center;
  align-items: center;
}

.link-more {
  font-size: 17px;
  color: var(--link);
}

.tile-dark .link-more {
  color: #2997ff;
}

/* Stats strip */
.stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 24px;
  max-width: var(--max-wide);
  margin: 0 auto;
  padding: 64px 24px;
  text-align: center;
}

.stat strong {
  display: block;
  font-size: clamp(32px, 5vw, 48px);
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1.1;
  margin-bottom: 6px;
}

.stat span {
  font-size: 14px;
  color: var(--ink-2);
  letter-spacing: -0.016em;
}

.tile-dark .stat span {
  color: #a1a1a6;
}

/* Section */
.section {
  max-width: var(--max-wide);
  margin: 0 auto;
  padding: 64px 24px 80px;
}

.section-head {
  text-align: center;
  max-width: 640px;
  margin: 0 auto 40px;
}

.section-head h2 {
  font-family: var(--font-display);
  font-size: clamp(32px, 5vw, 40px);
  font-weight: 400;
  letter-spacing: -0.02em;
  line-height: 1.1;
  margin: 0 0 10px;
}

.section-head p {
  margin: 0;
  font-size: 19px;
  color: var(--ink-2);
}

.section-kicker {
  margin: 0 0 8px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--blue);
}

.pitch-section {
  max-width: 720px;
  margin-left: auto;
  margin-right: auto;
}

.pitch-section-soft {
  background: var(--surface);
  border-radius: var(--radius-tile);
  padding: 48px 28px;
  margin-bottom: 24px;
}

.pitch-points {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 22px;
  text-align: left;
}

.pitch-points li {
  display: grid;
  gap: 6px;
  padding-bottom: 22px;
  border-bottom: 1px solid var(--line);
}

.pitch-points li:last-child {
  border-bottom: 0;
  padding-bottom: 0;
}

.pitch-points strong {
  font-size: 18px;
  letter-spacing: -0.015em;
  color: var(--ink);
}

.pitch-points span {
  font-size: 15px;
  line-height: 1.5;
  color: var(--ink-2);
}

.pitch-cta {
  text-align: center;
  margin: 36px 0 0;
}

.pitch-close {
  text-align: center;
  padding-top: 24px;
  padding-bottom: 64px;
}

.pitch-close-text {
  max-width: 36em;
  margin: 0 auto 28px;
  font-size: 19px;
  line-height: 1.45;
  color: var(--ink-2);
  letter-spacing: -0.01em;
}

.nav-unlocked {
  color: var(--good) !important;
  font-weight: 600;
}

.paywall-box {
  max-width: 480px;
  margin: 0 auto;
  background: var(--surface);
  border-radius: var(--radius-tile);
  padding: 32px 28px;
  color: var(--ink-2);
  font-size: 16px;
}

.paywall-price {
  font-size: 40px;
  font-weight: 600;
  color: var(--ink);
  letter-spacing: -0.03em;
  margin: 0 0 12px;
}

.buy-price {
  font-size: clamp(36px, 6vw, 48px);
  font-weight: 600;
  letter-spacing: -0.03em;
  margin: 8px 0 0;
  color: var(--ink);
}

.buy-price span {
  display: block;
  font-size: 15px;
  font-weight: 400;
  color: var(--ink-3);
  margin-top: 6px;
}

.buy-section {
  max-width: 520px;
  margin: 0 auto;
}

.buy-section h3 {
  margin: 0 0 16px;
  font-size: 21px;
  text-align: center;
}

.buy-includes {
  margin: 0 0 32px;
  padding-left: 1.2rem;
  color: var(--ink-2);
  font-size: 15px;
}

.buy-includes li {
  margin-bottom: 10px;
}

.buy-form {
  display: grid;
  gap: 14px;
}

.buy-error {
  color: var(--high);
  font-size: 14px;
  margin: 0;
  text-align: center;
}

.return-spinner {
  width: 36px;
  height: 36px;
  margin: 0 auto 20px;
  border: 3px solid var(--line);
  border-top-color: var(--blue);
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

.offer-section {
  max-width: 860px;
}

.offer-price-bar {
  display: flex;
  flex-wrap: wrap;
  align-items: stretch;
  justify-content: space-between;
  gap: 20px;
  background: var(--surface);
  border-radius: var(--radius-tile);
  padding: 24px 28px;
  margin-bottom: 28px;
}

.offer-price-bar--deal {
  align-items: center;
  background:
    linear-gradient(135deg, rgba(41, 151, 255, 0.08), transparent 40%),
    var(--surface);
  border: 1px solid rgba(41, 151, 255, 0.22);
}

.offer-deal-copy {
  flex: 1;
  min-width: 220px;
  display: grid;
  gap: 10px;
  align-content: center;
}

.offer-price-note {
  font-size: 13px;
  color: var(--ink-3);
}

.offer-price {
  display: block;
  font-size: 40px;
  letter-spacing: -0.03em;
  color: var(--ink);
}

.offer-price-bar span {
  font-size: 14px;
  color: var(--ink-3);
}

.offer-urgency {
  margin: 0;
  font-size: 15px;
  color: var(--ink-2);
  line-height: 1.45;
  font-weight: 500;
}

.offer-scarcity {
  margin: 0;
  font-size: 14px;
  color: var(--ink-3);
  line-height: 1.4;
}

.price-deal {
  min-width: 180px;
}

.price-deal-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 10px;
}

.deal-badge,
.deal-tag {
  display: inline-block;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  padding: 5px 10px;
  border-radius: 8px;
}

.deal-badge {
  background: #1d1d1f;
  color: #f5f5f7;
}

.deal-tag {
  background: #2997ff;
  color: #fff;
}

.price-deal-was {
  margin: 0;
  font-size: 15px;
  color: var(--ink-3);
}

.price-deal-was s {
  color: var(--ink-3);
}

.price-deal-now {
  margin: 2px 0 4px;
  font-size: clamp(36px, 6vw, 48px);
  font-weight: 700;
  letter-spacing: -0.04em;
  color: var(--ink);
  line-height: 1;
}

.price-deal-save {
  margin: 0;
  font-size: 14px;
  font-weight: 600;
  color: var(--good, #34c759);
}

.hero-deal-line {
  margin: 18px 0 0;
  font-size: 15px;
  color: var(--ink-2);
}

.hero-deal-line .deal-badge {
  margin-right: 8px;
  vertical-align: middle;
}

.paywall-urgency {
  margin: 16px 0 0;
  font-size: 15px;
  color: var(--ink-2);
  line-height: 1.45;
}

.checkout-deal {
  margin: 12px 0 8px;
}

.checkout-summary .price-deal-now {
  color: #f5f5f7;
}

.checkout-summary .price-deal-was,
.checkout-summary .price-deal-was s {
  color: #a1a1a6;
}

.checkout-summary .deal-badge {
  background: #2997ff;
}

.checkout-summary .deal-tag {
  background: #f5f5f7;
  color: #1d1d1f;
}

.deal-compact s {
  opacity: 0.7;
  margin-right: 6px;
}

.offer-benefits {
  list-style: none;
  margin: 0 0 28px;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
}

.offer-benefits li {
  background: var(--surface);
  border-radius: 18px;
  padding: 18px 20px;
  display: grid;
  gap: 6px;
}

.offer-benefits strong {
  font-size: 16px;
  color: var(--ink);
}

.offer-benefits span {
  font-size: 14px;
  color: var(--ink-2);
  line-height: 1.45;
}

.offer-objections {
  display: grid;
  gap: 12px;
  margin-bottom: 32px;
}

.offer-objections > div {
  padding: 16px 18px;
  border-left: 3px solid var(--blue);
  background: var(--surface);
  border-radius: 0 14px 14px 0;
}

.offer-objections strong {
  display: block;
  margin-bottom: 4px;
  color: var(--ink);
}

.offer-objections p {
  margin: 0;
  font-size: 14px;
  color: var(--ink-2);
}

.offer-close {
  text-align: center;
  padding: 28px 20px;
  background: var(--ink);
  color: #f5f5f7;
  border-radius: var(--radius-tile);
}

.offer-close h3 {
  margin: 0 0 10px;
  font-size: 28px;
}

.offer-close p {
  margin: 0 auto 20px;
  max-width: 34em;
  color: #a1a1a6;
}

.checkout-page {
  max-width: 980px;
  margin: 0 auto;
  padding: 40px 24px 80px;
}

.checkout-grid {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 24px;
  align-items: start;
}

.checkout-summary {
  background: var(--ink);
  color: #f5f5f7;
  border-radius: var(--radius-tile);
  padding: 32px 28px;
}

.checkout-summary .section-kicker {
  color: #2997ff;
}

.checkout-summary h1 {
  margin: 0 0 12px;
  font-size: 28px;
  letter-spacing: -0.02em;
}

.checkout-price {
  margin: 0;
  font-size: 44px;
  font-weight: 600;
  letter-spacing: -0.03em;
}

.checkout-once {
  margin: 6px 0 20px;
  font-size: 14px;
  color: #a1a1a6;
}

.checkout-bullets {
  margin: 0 0 20px;
  padding-left: 1.1rem;
  font-size: 14px;
  color: #d2d2d7;
  line-height: 1.45;
}

.checkout-bullets li {
  margin-bottom: 8px;
}

.checkout-secure {
  margin: 0;
  font-size: 13px;
  color: #86868b;
}

.checkout-panel {
  background: var(--surface);
  border-radius: var(--radius-tile);
  padding: 28px 24px;
}

.checkout-panel h2 {
  margin: 0 0 6px;
  font-size: 24px;
}

.checkout-hint {
  margin: 0 0 20px;
  font-size: 14px;
  color: var(--ink-3);
}

.field-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.pay-methods {
  border: 0;
  margin: 8px 0 4px;
  padding: 0;
  display: grid;
  gap: 8px;
}

.pay-methods legend {
  font-size: 14px;
  font-weight: 600;
  margin-bottom: 8px;
  color: var(--ink);
}

.pay-opt {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: 14px;
  cursor: pointer;
}

.pay-opt:has(input:checked) {
  border-color: var(--ink);
  background: var(--canvas);
}

.pay-opt span {
  display: grid;
  gap: 2px;
}

.pay-opt strong {
  font-size: 15px;
  color: var(--ink);
}

.pay-opt em {
  font-style: normal;
  font-size: 12px;
  color: var(--ink-3);
}

.checkout-fine {
  margin: 12px 0 0;
  font-size: 12px;
  color: var(--ink-3);
  text-align: center;
  line-height: 1.4;
}

.auth-page {
  max-width: 440px;
  margin: 0 auto;
}

.auth-form {
  display: grid;
  gap: 14px;
  background: var(--surface);
  border-radius: var(--radius-tile);
  padding: 28px 24px;
}

.fake-pay-block {
  margin-bottom: 16px;
  display: grid;
  gap: 12px;
}

.fake-pay-note {
  margin: 0;
  font-size: 12px;
  color: var(--ink-3);
  line-height: 1.4;
}

.fake-pix {
  text-align: center;
  justify-items: center;
}

.fake-qr {
  width: 160px;
  height: 160px;
  border-radius: 12px;
  background:
    repeating-linear-gradient(0deg, #1d1d1f 0 8px, #f5f5f7 8px 16px),
    repeating-linear-gradient(90deg, #1d1d1f 0 8px, #f5f5f7 8px 16px);
  background-blend-mode: difference;
  border: 1px solid var(--line);
}

.fake-boleto {
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 13px;
  word-break: break-all;
  background: var(--canvas);
  border-radius: 12px;
  padding: 14px;
  margin: 0;
  color: var(--ink);
}

.congrats-page {
  max-width: 720px;
  margin: 0 auto;
  padding: 40px 24px 80px;
}

.congrats-hero {
  text-align: center;
  margin-bottom: 36px;
}

.congrats-hero h1 {
  margin: 0 0 12px;
  font-size: clamp(32px, 6vw, 44px);
  letter-spacing: -0.03em;
}

.congrats-hero > p {
  margin: 0 auto;
  max-width: 36em;
  color: var(--ink-2);
  font-size: 17px;
  line-height: 1.5;
}

.congrats-email {
  margin-top: 16px !important;
  font-size: 15px !important;
  color: var(--ink-3) !important;
}

.congrats-steps h2 {
  margin: 0 0 20px;
  font-size: 22px;
  text-align: center;
}

.next-steps {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 14px;
}

.next-steps li {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 16px;
  align-items: start;
  background: var(--surface);
  border-radius: 18px;
  padding: 18px 20px;
}

.next-n {
  font-size: 13px;
  font-weight: 600;
  color: var(--blue);
  letter-spacing: 0.04em;
  padding-top: 2px;
}

.next-steps strong {
  display: block;
  margin-bottom: 4px;
  color: var(--ink);
  font-size: 16px;
}

.next-steps p {
  margin: 0;
  font-size: 14px;
  color: var(--ink-2);
  line-height: 1.45;
}

@media (max-width: 834px) {
  .offer-benefits,
  .checkout-grid,
  .field-row {
    grid-template-columns: 1fr;
  }
}

/* Category organization */
.cat-block {
  margin-bottom: 48px;
}

.cat-block-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 16px;
  padding: 0 4px;
}

.cat-block-head h3 {
  margin: 0;
  font-size: 24px;
  font-weight: 600;
  letter-spacing: -0.01em;
}

.cat-block-head span {
  font-size: 14px;
  color: var(--ink-3);
}

.tile-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
}

@media (min-width: 900px) {
  .tile-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.q-tile {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  text-align: left;
  gap: 8px;
  padding: 28px 24px;
  min-height: 180px;
  background: var(--surface);
  border: 0;
  border-radius: var(--radius-tile);
  cursor: pointer;
  color: inherit;
  width: 100%;
  transition: transform 0.25s var(--ease);
}

.q-tile:hover {
  transform: scale(1.015);
}

.q-tile .badge {
  font-size: 12px;
  font-weight: 600;
  color: var(--ink-2);
  letter-spacing: -0.01em;
}

.q-tile h4 {
  margin: 0;
  font-size: 21px;
  font-weight: 600;
  letter-spacing: -0.016em;
  line-height: 1.2;
}

.q-tile p {
  margin: 0;
  flex: 1;
  font-size: 14px;
  color: var(--ink-2);
  line-height: 1.4;
}

.q-tile .meta {
  font-size: 12px;
  color: var(--ink-3);
}

/* Catalog toolbar */
.toolbar {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
  margin-bottom: 36px;
}

.search {
  width: min(100%, 360px);
  height: 44px;
  padding: 0 18px;
  border-radius: var(--radius-pill);
  border: 1px solid var(--line);
  background: var(--surface);
  outline: none;
  font-size: 17px;
}

.search:focus {
  border-color: var(--blue);
  box-shadow: 0 0 0 3px rgba(0, 113, 227, 0.2);
}

.chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: center;
  width: 100%;
}

.chip {
  height: 32px;
  padding: 0 14px;
  border-radius: var(--radius-pill);
  border: 1px solid var(--line);
  background: var(--surface);
  color: var(--ink);
  font-size: 12px;
  cursor: pointer;
}

.chip.active {
  background: var(--ink);
  color: #fff;
  border-color: var(--ink);
}

/* Quiz */
.quiz-wrap {
  max-width: 680px;
  margin: 0 auto;
  padding: 40px 24px 80px;
}

.quiz-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 24px;
  font-size: 14px;
  color: var(--ink-2);
}

.back {
  color: var(--link);
  font-size: 14px;
}

.progress {
  margin-bottom: 28px;
}

.progress-label {
  display: flex;
  justify-content: space-between;
  font-size: 12px;
  color: var(--ink-3);
  margin-bottom: 8px;
}

.progress-track {
  height: 3px;
  background: var(--line);
  border-radius: var(--radius-pill);
  overflow: hidden;
}

.progress-fill {
  height: 100%;
  background: var(--ink);
  transition: width 0.4s var(--ease);
}

.quiz-panel {
  background: var(--surface);
  border-radius: var(--radius-tile);
  padding: 40px 32px;
}

.quiz-panel h2 {
  font-size: clamp(24px, 4vw, 32px);
  font-weight: 600;
  letter-spacing: -0.015em;
  line-height: 1.2;
  margin: 0 0 28px;
}

.intro-panel {
  text-align: center;
  background: var(--surface);
  border-radius: var(--radius-tile);
  padding: 56px 32px;
}

.intro-panel h1 {
  font-size: clamp(28px, 5vw, 40px);
  font-weight: 600;
  letter-spacing: -0.015em;
  margin: 8px 0 12px;
}

.intro-panel p {
  color: var(--ink-2);
  margin: 0 0 24px;
  font-size: 19px;
}

.options {
  display: grid;
  gap: 10px;
}

.opt {
  display: flex;
  align-items: center;
  gap: 14px;
  width: 100%;
  text-align: left;
  padding: 16px 18px;
  border-radius: 18px;
  border: 1px solid var(--line);
  background: var(--canvas);
  cursor: pointer;
  color: var(--ink);
  transition: border-color 0.15s, background 0.15s;
}

.opt:hover {
  border-color: #b0b0b5;
}

.opt.selected {
  border-color: var(--ink);
  background: var(--canvas);
  box-shadow: inset 0 0 0 1px var(--ink);
}

.opt-gray {
  background: #ececef;
  border-color: #c7c7cc;
}

.opt-gray.selected {
  background: #e0e0e5;
}

.gray-hint {
  font-style: normal;
  font-size: 12px;
  color: var(--ink-3);
  font-weight: 500;
}

.opt-dot {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  border: 1.5px solid var(--ink-3);
  flex-shrink: 0;
}

.opt.selected .opt-dot {
  border-color: var(--ink);
  background: var(--ink);
  box-shadow: inset 0 0 0 3.5px #fff;
}

.scale-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(48px, 1fr));
  gap: 8px;
}

.scale-btn {
  aspect-ratio: 1;
  border-radius: 14px;
  border: 1px solid var(--line);
  background: var(--canvas);
  cursor: pointer;
  font-weight: 600;
  font-size: 17px;
}

.scale-btn.selected {
  background: var(--ink);
  color: #fff;
  border-color: var(--ink);
}

.quiz-nav {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  margin-top: 28px;
}

.sensitive {
  background: #fff8e8;
  border-radius: 14px;
  padding: 14px 16px;
  font-size: 14px;
  color: var(--ink-2);
  margin-bottom: 20px;
  text-align: left;
}

/* Result */
.result-wrap {
  max-width: 680px;
  margin: 0 auto;
  padding: 48px 24px 80px;
  text-align: center;
}

.result-panel {
  background: var(--surface);
  border-radius: var(--radius-tile);
  padding: 48px 32px;
}

.result-score {
  font-size: clamp(40px, 8vw, 56px);
  font-weight: 600;
  letter-spacing: -0.03em;
  line-height: 1.1;
  margin: 0 0 16px;
  color: var(--ink);
}

.result-score.tone-good {
  color: var(--good);
}

.result-score.tone-mild {
  color: var(--mild);
}

.result-score.tone-moderate {
  color: var(--moderate);
}

.result-score.tone-high {
  color: var(--high);
}

.result-score small {
  display: block;
  font-size: 14px;
  font-weight: 400;
  color: var(--ink-2);
  margin-top: 8px;
  letter-spacing: -0.01em;
}

.tone-good {
  color: var(--good);
}

.tone-mild {
  color: var(--mild);
}

.tone-moderate {
  color: var(--moderate);
}

.tone-high {
  color: var(--high);
}

.result-panel h1 {
  font-size: 28px;
  font-weight: 600;
  margin: 0 0 12px;
  letter-spacing: -0.015em;
}

.result-text {
  color: var(--ink-2);
  font-size: 19px;
  margin: 0 0 12px;
}

.result-meta {
  font-size: 14px;
  color: var(--ink-3);
  margin: 0 0 28px;
}

.saved-toast {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  color: var(--good);
  margin-bottom: 20px;
}

.disclaimer {
  margin-top: 28px;
  font-size: 12px;
  color: var(--ink-3);
  line-height: 1.4;
}

.scale-box {
  margin: 24px auto 0;
  max-width: 520px;
  text-align: left;
  padding: 20px;
  border-radius: 18px;
  background: var(--canvas);
}

.scale-title {
  margin: 0 0 4px;
  font-size: 12px;
  font-weight: 600;
  color: var(--ink-2);
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.scale-formula {
  margin: 0 0 14px;
  font-size: 14px;
  color: var(--ink);
  font-weight: 500;
}

.scale-legend {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(100px, 1fr));
  gap: 8px;
}

.scale-cell {
  padding: 10px 10px 12px;
  border-radius: 12px;
  background: #fff;
  border: 1px solid var(--line);
  border-top: 3px solid var(--tone, var(--line));
}

.scale-cell.active {
  box-shadow: inset 0 0 0 2px var(--tone, var(--blue));
  background: color-mix(in srgb, var(--tone, var(--blue)) 8%, white);
}

.scale-cell strong {
  display: block;
  font-size: 13px;
  margin-bottom: 2px;
  color: var(--tone, var(--ink));
}

.scale-cell span {
  font-size: 11px;
  color: var(--ink-3);
}

/* ASRS gray / shaded cells */
.opt-gray {
  background: #e5e5ea !important;
  border-color: #c7c7cc !important;
}

.opt-gray.selected {
  background: #d1d1d6 !important;
  border-color: var(--ink) !important;
  box-shadow: inset 0 0 0 1px var(--ink);
}

.gray-tag {
  display: inline-block;
  margin-left: 8px;
  padding: 2px 7px;
  border-radius: 980px;
  background: #8e8e93;
  color: #fff;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.02em;
  vertical-align: middle;
}

.asrs-hint,
.asrs-note {
  text-align: left;
  font-size: 14px;
  line-height: 1.45;
  color: var(--ink-2);
  background: #e5e5ea;
  border-radius: 14px;
  padding: 14px 16px;
  margin: 0 0 20px;
}

.asrs-note {
  margin-bottom: 16px;
  font-size: 13px;
}

.asrs-result {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  margin: 8px 0 20px;
}

.asrs-result div {
  background: #e5e5ea;
  border-radius: 14px;
  padding: 14px 8px;
}

.asrs-result strong {
  display: block;
  font-size: 28px;
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1.1;
}

.asrs-result span {
  font-size: 11px;
  color: var(--ink-2);
}

/* Results history */
.history-grid {
  display: grid;
  gap: 12px;
}

.history-card {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 24px 28px;
  background: var(--surface);
  border-radius: var(--radius-tile);
}

.history-card h3 {
  margin: 0 0 4px;
  font-size: 21px;
  font-weight: 600;
}

.history-card p {
  margin: 0;
  color: var(--ink-2);
  font-size: 14px;
}

.history-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.empty {
  text-align: center;
  padding: 64px 24px;
  background: var(--surface);
  border-radius: var(--radius-tile);
}

.empty p {
  color: var(--ink-2);
  margin: 0 0 20px;
  font-size: 19px;
}

/* MAP / learn / about / contact */
.map-benefits {
  display: grid;
  gap: 8px;
  margin: 0 0 36px;
}

.map-benefits p {
  margin: 0;
  padding: 12px 16px;
  background: var(--surface);
  border-radius: 14px;
  font-size: 15px;
  color: var(--ink-2);
}

.map-faq {
  display: grid;
  gap: 12px;
  margin: 0 0 28px;
}

.map-faq-item {
  padding: 18px 18px 16px;
  background: var(--surface);
  border-radius: 16px;
}

.map-faq-item h3 {
  margin: 0 0 8px;
  font-size: 17px;
  font-weight: 600;
  color: var(--ink);
}

.map-faq-item p {
  margin: 0;
  color: var(--ink-2);
  font-size: 15px;
  line-height: 1.55;
}

.map-score-bands {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
  margin: 0 0 12px;
}

.map-score-band {
  padding: 16px;
  background: var(--surface);
  border-radius: 16px;
}

.map-score-band strong {
  display: block;
  font-size: 16px;
  margin-bottom: 4px;
}

.map-score-band span {
  display: block;
  font-size: 13px;
  color: var(--accent, #8a7355);
  margin-bottom: 8px;
}

.map-score-band p {
  margin: 0;
  font-size: 14px;
  color: var(--ink-2);
  line-height: 1.45;
}

.map-closing {
  margin: 40px 0 0;
  font-size: 18px;
  line-height: 1.45;
  color: var(--ink);
  max-width: 36em;
}

.map-items {
  display: grid;
  gap: 10px;
  margin-bottom: 40px;
}

.map-item {
  display: grid;
  grid-template-columns: 44px 1fr;
  gap: 14px;
  padding: 18px 20px;
  background: var(--surface);
  border-radius: 18px;
  text-align: left;
}

.map-item-letter {
  display: inline-grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--ink);
  color: #fff;
  font-weight: 600;
  font-size: 15px;
}

.map-item h3 {
  margin: 0 0 6px;
  font-size: 17px;
}

.map-item h3 span {
  color: var(--ink-3);
  font-weight: 500;
  margin-right: 4px;
}

.map-item p {
  margin: 0;
  font-size: 14px;
  color: var(--ink-2);
}

.doc-panel {
  background: var(--surface);
  border-radius: var(--radius-tile);
  padding: 28px 24px;
  text-align: left;
  margin-bottom: 32px;
}

.doc-panel h3 {
  margin: 0 0 8px;
  font-size: 21px;
}

.doc-panel > p {
  margin: 0 0 16px;
  color: var(--ink-2);
  font-size: 15px;
}

.pdf-frame {
  width: 100%;
  height: min(70vh, 640px);
  border: 1px solid var(--line);
  border-radius: 16px;
  background: #fff;
}

.doc-links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 16px !important;
}

.materials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin-bottom: 40px;
}

.materials-grid > div {
  background: var(--surface);
  border-radius: 18px;
  padding: 20px;
  text-align: left;
}

.materials-grid strong {
  display: inline-grid;
  place-items: center;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--ink);
  color: #fff;
  margin-bottom: 10px;
}

.materials-grid p {
  margin: 0;
  font-size: 14px;
  color: var(--ink-2);
}

.hint-soft {
  font-size: 14px;
  color: var(--ink-3);
  margin: 0 0 12px;
}

.step-table {
  padding-left: 18px;
  color: var(--ink-2);
  font-size: 14px;
}

.food-pillars {
  columns: 2;
  gap: 24px;
  padding-left: 20px;
  color: var(--ink-2);
  font-size: 15px;
  margin: 0 0 40px;
}

.food-pillars li {
  break-inside: avoid;
  margin-bottom: 10px;
}

.accordion {
  display: grid;
  gap: 10px;
  max-width: var(--max);
  margin: 0 auto;
}

.acc-item {
  background: var(--surface);
  border-radius: 18px;
  overflow: hidden;
}

.acc-item summary {
  list-style: none;
  cursor: pointer;
  padding: 18px 22px;
  font-size: 18px;
  font-weight: 600;
  letter-spacing: -0.015em;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.acc-item summary::-webkit-details-marker {
  display: none;
}

.acc-item summary::after {
  content: "▾";
  font-size: 14px;
  color: var(--ink-3);
  transition: transform 0.25s var(--ease);
}

.acc-item[open] summary::after {
  transform: rotate(-180deg);
}

.acc-body {
  padding: 0 22px 22px;
  text-align: left;
  color: var(--ink-2);
  font-size: 15px;
  line-height: 1.5;
}

.acc-body h4 {
  margin: 18px 0 8px;
  font-size: 16px;
  color: var(--ink);
}

.acc-body h4:first-child {
  margin-top: 0;
}

.acc-body p {
  margin: 0 0 10px;
}

.acc-body ul {
  margin: 0 0 12px;
  padding-left: 18px;
}

.acc-body li {
  margin-bottom: 6px;
}

.learn-dl {
  margin: 0 0 12px;
}

.learn-dl dt {
  font-weight: 600;
  color: var(--ink);
  margin-top: 12px;
}

.learn-dl dd {
  margin: 4px 0 0;
}

.table-scroll {
  overflow-x: auto;
  margin-top: 8px;
}

.pillars {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin-bottom: 48px;
}

.pillar {
  background: var(--surface);
  border-radius: var(--radius-tile);
  padding: 32px 24px;
  text-align: left;
}

.pillar-letter {
  display: inline-grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--ink);
  color: #fff;
  font-weight: 600;
  margin-bottom: 16px;
}

.pillar h3 {
  margin: 0 0 8px;
  font-size: 21px;
}

.pillar p {
  margin: 0;
  color: var(--ink-2);
  font-size: 14px;
}

.week-list {
  display: grid;
  gap: 8px;
}

.week {
  display: grid;
  grid-template-columns: 100px 1fr 1fr 1fr;
  gap: 12px;
  padding: 16px 20px;
  background: var(--surface);
  border-radius: 18px;
  font-size: 14px;
  align-items: center;
}

.week strong {
  font-size: 14px;
}

.week em {
  font-style: normal;
  color: var(--blue);
  font-weight: 600;
  margin-right: 4px;
}

.two-col h4 {
  margin: 18px 0 6px;
  font-size: 15px;
  color: var(--ink);
}

.two-col h4:first-of-type {
  margin-top: 0;
}

.two-col p {
  margin: 0 0 12px;
  font-size: 14px;
  color: var(--ink-2);
  line-height: 1.5;
}

.two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
  margin-top: 48px;
}

.two-col h3 {
  font-size: 24px;
  margin: 0 0 12px;
}

.two-col ol,
.two-col ul {
  margin: 0;
  padding-left: 1.2rem;
  color: var(--ink-2);
  font-size: 15px;
}

.two-col li {
  margin-bottom: 8px;
}

.learn-grid {
  display: grid;
  gap: 12px;
}

.learn-card {
  background: var(--surface);
  border-radius: var(--radius-tile);
  padding: 32px 28px;
  text-align: left;
}

.learn-card h3 {
  margin: 0 0 10px;
  font-size: 24px;
  font-weight: 600;
}

.learn-card p {
  margin: 0;
  color: var(--ink-2);
  font-size: 17px;
}

.supp-table {
  width: 100%;
  border-collapse: collapse;
  background: var(--surface);
  border-radius: var(--radius-tile);
  overflow: hidden;
  font-size: 14px;
}

.supp-table th,
.supp-table td {
  padding: 14px 16px;
  text-align: left;
  border-bottom: 1px solid var(--line);
}

.supp-table th {
  background: var(--ink);
  color: #fff;
  font-weight: 600;
  font-size: 12px;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}

.supp-table tr:last-child td {
  border-bottom: 0;
}

.about-layout {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 32px;
  align-items: start;
}

.about-card {
  background: var(--surface);
  border-radius: var(--radius-tile);
  padding: 28px;
  text-align: center;
}

.about-card img {
  width: 88px;
  height: 88px;
  border-radius: 50%;
  margin: 0 auto 16px;
}

.about-card h3 {
  margin: 0 0 4px;
  font-size: 19px;
}

.about-card p {
  color: var(--ink-2);
  font-size: 14px;
  margin: 0 0 12px;
}

.about-copy p {
  color: var(--ink-2);
  font-size: 19px;
  line-height: 1.5;
  margin: 0 0 16px;
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 24px;
  align-items: start;
}

.contact-info {
  background: var(--surface);
  border-radius: var(--radius-tile);
  padding: 28px;
}

.contact-info img {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  margin-bottom: 12px;
}

.contact-info h3 {
  margin: 0 0 4px;
}

.contact-info p {
  color: var(--ink-2);
  font-size: 14px;
  margin: 0 0 10px;
}

.form {
  background: var(--surface);
  border-radius: var(--radius-tile);
  padding: 28px;
  display: grid;
  gap: 16px;
}

.field label {
  display: block;
  font-size: 12px;
  font-weight: 600;
  color: var(--ink-2);
  margin-bottom: 6px;
}

.field input,
.field textarea,
.field select {
  width: 100%;
  padding: 12px 14px;
  border-radius: 12px;
  border: 1px solid var(--line);
  background: var(--canvas);
  outline: none;
}

.field input:focus,
.field textarea:focus,
.field select:focus {
  border-color: var(--blue);
  box-shadow: 0 0 0 3px rgba(0, 113, 227, 0.2);
}

.field textarea {
  min-height: 110px;
  resize: vertical;
}

.form-note {
  font-size: 12px;
  color: var(--ink-3);
  margin: 0;
}

/* Footer */
.footer {
  background: var(--canvas);
  border-top: 1px solid var(--line);
  padding: 40px 24px 48px;
  font-size: 12px;
  color: var(--ink-3);
}

.footer-inner {
  max-width: var(--max-wide);
  margin: 0 auto;
}

.footer-top {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 16px;
}

.footer-top strong {
  color: var(--ink);
  font-size: 14px;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
}

.footer-links a {
  color: var(--ink-2);
  font-size: 12px;
}

.footer-crisis {
  margin-top: 8px;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
}

@media (max-width: 834px) {
  .pillars,
  .two-col,
  .about-layout,
  .contact-grid,
  .materials-grid {
    grid-template-columns: 1fr;
  }

  .food-pillars {
    columns: 1;
  }

  .map-score-bands {
    grid-template-columns: 1fr 1fr;
  }

  .pdf-frame {
    height: 55vh;
  }

  .week {
    grid-template-columns: 1fr;
    gap: 4px;
  }

  .tile-grid {
    grid-template-columns: 1fr;
  }

  .gn-menu {
    display: flex;
  }

  .gn-list {
    position: fixed;
    top: var(--nav-h);
    left: 12px;
    right: 12px;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 8px;
    background: rgba(255, 255, 255, 0.96);
    backdrop-filter: blur(20px);
    border-radius: 18px;
    border: 1px solid var(--line);
    opacity: 0;
    pointer-events: none;
    transform: translateY(-6px);
    transition: 0.2s var(--ease);
  }

  .gn-list.open {
    opacity: 1;
    pointer-events: auto;
    transform: none;
  }

  .gn-list a {
    padding: 14px 16px;
    font-size: 17px;
    opacity: 1;
    border-radius: 12px;
  }

  .gn-list a:hover {
    background: var(--canvas);
  }

  .gn-cta {
    text-align: center;
    margin: 8px;
  }

  .quiz-panel {
    padding: 28px 20px;
  }
}

.admin-page {
  max-width: 1100px;
  margin: 0 auto;
}

.admin-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 8px 0 20px;
}

.admin-tab,
.admin-chip {
  border: 1px solid var(--line);
  background: var(--surface);
  color: var(--ink-2);
  font: inherit;
  font-size: 14px;
  font-weight: 600;
  padding: 10px 14px;
  border-radius: 12px;
  cursor: pointer;
}

.admin-tab.is-on,
.admin-chip.is-on {
  background: var(--ink);
  color: #fff;
  border-color: var(--ink);
}

.admin-toolbar {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 14px;
}

.admin-stats {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin-bottom: 18px;
}

@media (min-width: 800px) {
  .admin-stats {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

.admin-stat {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 18px 16px;
}

.admin-stat span {
  display: block;
  font-size: 13px;
  color: var(--ink-3);
  margin-bottom: 8px;
}

.admin-stat strong {
  font-family: "Instrument Serif", Georgia, serif;
  font-size: 1.75rem;
  font-weight: 400;
  color: var(--ink);
}

.admin-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 14px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 16px;
  overflow: hidden;
}

.admin-table th,
.admin-table td {
  text-align: left;
  padding: 12px 14px;
  border-bottom: 1px solid var(--line);
  vertical-align: top;
}

.admin-table th {
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--ink-3);
  background: color-mix(in srgb, var(--surface) 80%, var(--ink) 4%);
}

.admin-table tr:last-child td {
  border-bottom: 0;
}

.admin-muted {
  color: var(--ink-3);
  font-size: 12px;
}

.admin-mono {
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 12px;
}

.admin-badge {
  display: inline-block;
  font-size: 12px;
  font-weight: 600;
  padding: 4px 8px;
  border-radius: 999px;
  background: color-mix(in srgb, var(--ink) 8%, transparent);
  color: var(--ink);
}

.admin-badge.status-paid {
  background: color-mix(in srgb, var(--good) 18%, transparent);
  color: var(--good);
}

.admin-badge.status-awaiting_payment,
.admin-badge.status-pending {
  background: color-mix(in srgb, #b45309 16%, transparent);
  color: #9a3412;
}

.admin-material {
  display: grid;
  gap: 14px;
}

@media (min-width: 800px) {
  .admin-material {
    grid-template-columns: 1fr 1fr;
  }
}

.admin-material article {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 18px 16px;
}

.admin-material h3 {
  margin: 0 0 10px;
  font-size: 1.05rem;
}

.admin-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 10px;
}

.admin-list li {
  display: grid;
  gap: 2px;
}

.admin-list-dense {
  max-height: 320px;
  overflow: auto;
}

.btn-sm {
  padding: 6px 10px;
  font-size: 12px;
}

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