:root {
  --primary: #4caf50;
  --primary-dark: #388e3c;
  --primary-deep: #2e7d32;
  --primary-soft: #e8f5e9;
  --secondary: #ffc107;
  --secondary-dark: #ffb300;
  --bg: #f4f7f4;
  --surface: #ffffff;
  --text: #1c1c1c;
  --muted: #5f6b7a;
  --border: #e3e8e3;
  --shadow: 0 12px 40px rgba(46, 125, 50, 0.1);
  --shadow-sm: 0 4px 16px rgba(28, 28, 28, 0.06);
  --radius: 18px;
  --max: 1100px;
  --font-display: "Fraunces", Georgia, serif;
  --font-body: "Plus Jakarta Sans", system-ui, sans-serif;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--text);
  background: var(--bg);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

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

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

a:hover {
  text-decoration: underline;
}

.container {
  width: min(var(--max), calc(100% - 2rem));
  margin-inline: auto;
}

/* —— Nav (transparent over page content) —— */
.site-nav {
  position: sticky;
  top: 0;
  z-index: 50;
  background: transparent;
  border-bottom: 1px solid transparent;
  transition: background 0.25s ease, border-color 0.25s ease, backdrop-filter 0.25s ease,
    box-shadow 0.25s ease;
}

.site-nav.is-scrolled {
  background: rgba(255, 255, 255, 0.55);
  backdrop-filter: blur(18px) saturate(1.35);
  -webkit-backdrop-filter: blur(18px) saturate(1.35);
  border-bottom-color: rgba(227, 232, 227, 0.55);
  box-shadow: 0 8px 28px rgba(28, 28, 28, 0.04);
}

.site-nav .inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.75rem 0;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  color: var(--text);
  text-decoration: none;
  font-weight: 700;
}

.brand img {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  box-shadow: 0 4px 12px rgba(76, 175, 80, 0.25);
}

.brand span {
  font-family: var(--font-display);
  font-size: 1.25rem;
  letter-spacing: -0.02em;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 0.2rem 0.95rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav-links a {
  color: var(--muted);
  font-size: 0.86rem;
  font-weight: 600;
  text-decoration: none;
  padding: 0.35rem 0;
  white-space: nowrap;
}

.nav-links a:hover {
  color: var(--primary-deep);
}

.nav-cta {
  display: inline-flex !important;
  align-items: center;
  padding: 0.55rem 1rem !important;
  border-radius: 999px;
  background: var(--primary);
  color: #fff !important;
  font-weight: 700;
  font-size: 0.86rem !important;
  box-shadow: 0 6px 18px rgba(76, 175, 80, 0.3);
  text-decoration: none !important;
}

.nav-cta:hover {
  background: var(--primary-dark);
}

.nav-toggle {
  display: none;
  border: 0;
  background: transparent;
  font-size: 1.35rem;
  cursor: pointer;
  color: var(--text);
  line-height: 1;
}

/* Transparent header over dark hero: light text until scrolled */
body.has-hero .site-nav:not(.is-scrolled) {
  position: absolute;
  left: 0;
  right: 0;
  background: transparent;
  border-bottom-color: transparent;
}

body.has-hero .site-nav:not(.is-scrolled) .brand,
body.has-hero .site-nav:not(.is-scrolled) .nav-links a,
body.has-hero .site-nav:not(.is-scrolled) .nav-toggle {
  color: rgba(255, 255, 255, 0.92);
}

body.has-hero .site-nav:not(.is-scrolled) .nav-links a:hover {
  color: #fff;
}

body.has-hero .site-nav.is-scrolled {
  position: sticky;
}

body.has-hero .hero {
  padding-top: 3.6rem;
}

/* —— Buttons —— */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  padding: 0.78rem 1.25rem;
  border-radius: 999px;
  font-weight: 700;
  font-size: 0.92rem;
  border: 0;
  cursor: pointer;
  text-decoration: none !important;
  transition: transform 0.18s ease, box-shadow 0.18s ease, background 0.18s ease;
}

.btn:hover {
  transform: translateY(-1px);
}

.btn-primary {
  background: var(--primary);
  color: #fff;
  box-shadow: 0 8px 22px rgba(76, 175, 80, 0.32);
}

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

.btn-secondary {
  background: rgba(255, 255, 255, 0.95);
  color: var(--primary-deep);
  border: 1px solid rgba(255, 255, 255, 0.5);
  box-shadow: var(--shadow-sm);
}

.btn-secondary.dark {
  background: #fff;
  border: 1px solid var(--border);
  color: var(--primary-deep);
}

.btn-amber {
  background: var(--secondary);
  color: #1c1c1c;
  box-shadow: 0 8px 22px rgba(255, 193, 7, 0.32);
}

.btn-store {
  min-width: 11.5rem;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.1rem;
  padding: 0.7rem 1.15rem;
  border-radius: 14px;
  text-align: left;
  line-height: 1.15;
}

.btn-store .store-label {
  font-size: 0.68rem;
  font-weight: 600;
  opacity: 0.8;
}

.btn-store .store-name {
  font-size: 0.98rem;
  font-weight: 800;
}

.btn-play {
  background: #1c1c1c;
  color: #fff;
  box-shadow: 0 8px 22px rgba(28, 28, 28, 0.25);
}

.btn-play:hover {
  background: #000;
}

.btn-apple {
  background: #fff;
  color: #1c1c1c;
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
}

.btn-apple:hover {
  border-color: #1c1c1c;
}

.hero .btn-apple {
  background: rgba(255, 255, 255, 0.95);
  border-color: rgba(255, 255, 255, 0.5);
}

/* —— Hero (compact professional) —— */
.hero {
  position: relative;
  overflow: hidden;
  color: #fff;
  background:
    linear-gradient(115deg, rgba(21, 87, 36, 0.92) 0%, rgba(46, 125, 50, 0.78) 48%, rgba(27, 94, 32, 0.55) 100%),
    url("https://images.unsplash.com/photo-1542838132-92c53300491e?auto=format&fit=crop&w=1800&q=80")
      center 40% / cover no-repeat;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 50% 80% at 90% 10%, rgba(255, 193, 7, 0.2), transparent 55%),
    linear-gradient(180deg, transparent 60%, rgba(20, 60, 28, 0.25));
  pointer-events: none;
}

.hero-shell {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 2rem;
  align-items: center;
  padding: 2.75rem 0 2.5rem;
  min-height: 0;
}

.hero-content {
  max-width: 34rem;
  animation: rise 0.7s ease both;
}

.hero-kicker {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.28rem 0.7rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.14);
  border: 1px solid rgba(255, 255, 255, 0.18);
  backdrop-filter: blur(8px);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  margin-bottom: 0.85rem;
}

.hero h1 {
  margin: 0 0 0.55rem;
  font-family: var(--font-display);
  font-size: clamp(2.35rem, 4.5vw, 3.35rem);
  line-height: 1.05;
  letter-spacing: -0.03em;
  font-weight: 700;
}

.hero-lead {
  margin: 0 0 1.25rem;
  font-size: 1rem;
  line-height: 1.55;
  max-width: 30rem;
  color: rgba(255, 255, 255, 0.9);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  margin-bottom: 1.15rem;
}

.hero-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1.1rem;
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.78);
  font-weight: 500;
}

.hero-meta span {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
}

.hero-meta span::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--secondary);
  box-shadow: 0 0 0 3px rgba(255, 193, 7, 0.25);
}

.hero-panel {
  justify-self: end;
  width: min(100%, 340px);
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.22);
  backdrop-filter: blur(14px);
  border-radius: 22px;
  padding: 1.15rem;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.18);
  animation: rise 0.85s ease 0.1s both;
}

.hero-panel .panel-title {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  opacity: 0.75;
  margin-bottom: 0.75rem;
}

.panel-row {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.7rem 0.75rem;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.1);
  margin-bottom: 0.55rem;
}

.panel-row:last-child {
  margin-bottom: 0;
}

.panel-dot {
  width: 36px;
  height: 36px;
  border-radius: 11px;
  flex-shrink: 0;
  display: grid;
  place-items: center;
  font-size: 0.7rem;
  font-weight: 800;
  color: var(--primary-deep);
  background: #fff;
}

.panel-dot.amber {
  color: #8a6200;
  background: var(--secondary);
}

.panel-dot.blue {
  color: #01579b;
  background: #b3e5fc;
}

.panel-row strong {
  display: block;
  font-size: 0.88rem;
  font-weight: 700;
}

.panel-row small {
  display: block;
  font-size: 0.75rem;
  opacity: 0.8;
  margin-top: 0.1rem;
}

@keyframes rise {
  from {
    opacity: 0;
    transform: translateY(16px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes floaty {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-8px);
  }
}

/* —— Trust strip —— */
.trust-strip {
  background: var(--surface);
  border-bottom: 1px solid var(--border);
  padding: 0.95rem 0;
}

.trust-strip .inner {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1.75rem;
  justify-content: center;
  align-items: center;
  color: var(--muted);
  font-size: 0.84rem;
  font-weight: 600;
}

.trust-strip strong {
  color: var(--primary-deep);
}

/* —— Sections —— */
.section {
  padding: 3.75rem 0;
}

.section-alt {
  background: var(--surface);
}

.section-head {
  max-width: 560px;
  margin-bottom: 2rem;
}

.section-head .eyebrow {
  color: var(--primary-deep);
  font-weight: 700;
  font-size: 0.78rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 0.45rem;
}

.section-head h2 {
  margin: 0 0 0.55rem;
  font-family: var(--font-display);
  font-size: clamp(1.65rem, 3.2vw, 2.25rem);
  letter-spacing: -0.02em;
  line-height: 1.18;
}

.section-head p {
  margin: 0;
  color: var(--muted);
  font-size: 0.98rem;
}

/* —— Feature grid —— */
.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}

.feature-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.2rem 1.15rem 1.25rem;
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
  box-shadow: var(--shadow-sm);
}

.section-alt .feature-card {
  background: var(--bg);
  box-shadow: none;
}

.feature-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow);
  border-color: rgba(76, 175, 80, 0.35);
}

.feature-icon {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  background: var(--primary-soft);
  color: var(--primary-deep);
  margin-bottom: 0.85rem;
}

.feature-icon svg {
  width: 20px;
  height: 20px;
  stroke: currentColor;
  fill: none;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.feature-card h3 {
  margin: 0 0 0.35rem;
  font-size: 1.02rem;
  letter-spacing: -0.01em;
}

.feature-card p {
  margin: 0;
  color: var(--muted);
  font-size: 0.9rem;
  line-height: 1.55;
}

.feature-card a.more {
  display: inline-block;
  margin-top: 0.75rem;
  font-weight: 700;
  font-size: 0.84rem;
  color: var(--primary-deep);
  text-decoration: none;
}

.feature-card a.more:hover {
  text-decoration: underline;
}

/* —— Detail blocks —— */
.detail {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 2rem;
  align-items: center;
  margin: 2.5rem 0;
}

.detail.reverse {
  grid-template-columns: 0.95fr 1.05fr;
}

.detail.reverse .detail-copy {
  order: 2;
}

.detail.reverse .detail-visual {
  order: 1;
}

.detail-copy h3 {
  margin: 0 0 0.6rem;
  font-family: var(--font-display);
  font-size: clamp(1.4rem, 2.6vw, 1.85rem);
  letter-spacing: -0.02em;
  line-height: 1.18;
}

.detail-copy .lead {
  color: var(--muted);
  font-size: 0.98rem;
  margin: 0 0 0.95rem;
}

.detail-copy ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.detail-copy li {
  position: relative;
  padding-left: 1.35rem;
  margin-bottom: 0.55rem;
  color: var(--muted);
  font-size: 0.92rem;
}

.detail-copy li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.5rem;
  width: 0.55rem;
  height: 0.55rem;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--primary), var(--secondary));
}

.detail-visual {
  border-radius: 22px;
  min-height: 250px;
  padding: 1.4rem;
  color: #fff;
  box-shadow: var(--shadow);
  animation: floaty 7s ease-in-out infinite;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  position: relative;
  overflow: hidden;
}

.detail-visual::before {
  content: "";
  position: absolute;
  inset: -25% auto auto -12%;
  width: 150px;
  height: 150px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.12);
}

.detail-visual .label {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  opacity: 0.85;
  margin-bottom: 0.35rem;
}

.detail-visual .title {
  font-family: var(--font-display);
  font-size: 1.45rem;
  line-height: 1.18;
  margin: 0 0 0.4rem;
}

.detail-visual .note {
  margin: 0;
  opacity: 0.92;
  max-width: 20rem;
  font-size: 0.9rem;
}

.v-pantry {
  background: linear-gradient(145deg, #2e7d32, #66bb6a 55%, #a5d6a7);
}

.v-scan {
  background: linear-gradient(145deg, #1b5e20, #43a047 50%, #ffc107);
}

.v-expiry {
  background: linear-gradient(145deg, #e65100, #ff9800 55%, #ffc107);
}

.v-water {
  background: linear-gradient(145deg, #01579b, #0288d1 55%, #4fc3f7);
}

.v-medicine {
  background: linear-gradient(145deg, #004d40, #00897b 55%, #4db6ac);
}

.v-recipes {
  background: linear-gradient(145deg, #33691e, #7cb342 50%, #cddc39);
}

.v-shopping {
  background: linear-gradient(145deg, #5d4037, #8d6e63 55%, #ffc107);
}

.v-widgets {
  background: linear-gradient(145deg, #37474f, #607d8b 55%, #4caf50);
}

.v-perf {
  background: linear-gradient(145deg, #1b5e20, #388e3c 45%, #81c784);
}

/* —— Steps —— */
.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}

.step {
  background: var(--surface);
  border-radius: var(--radius);
  padding: 1.25rem;
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
}

.step-num {
  font-family: var(--font-display);
  font-size: 1.55rem;
  color: var(--primary);
  margin-bottom: 0.35rem;
  line-height: 1;
}

.step h3 {
  margin: 0 0 0.35rem;
  font-size: 1.02rem;
}

.step p {
  margin: 0;
  color: var(--muted);
  font-size: 0.9rem;
}

/* —— CTA band —— */
.cta-band {
  margin: 2rem 0 0;
  border-radius: 24px;
  padding: 2.25rem 1.5rem;
  background:
    linear-gradient(135deg, rgba(46, 125, 50, 0.96), rgba(76, 175, 80, 0.9)),
    url("https://images.unsplash.com/photo-1488459716781-31f27495c64a?auto=format&fit=crop&w=1400&q=80")
      center / cover;
  color: #fff;
  text-align: center;
  box-shadow: var(--shadow);
}

.cta-band h2 {
  margin: 0 0 0.5rem;
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 3vw, 2.1rem);
}

.cta-band p {
  margin: 0 auto 1.25rem;
  max-width: 34rem;
  opacity: 0.95;
  font-size: 0.95rem;
}

.cta-actions {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0.65rem;
}

/* —— Footer —— */
.site-footer {
  background: #14351a;
  color: rgba(255, 255, 255, 0.86);
  padding: 2.5rem 0 1.75rem;
  margin-top: 1.5rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 1.75rem;
  margin-bottom: 1.5rem;
}

.site-footer h4 {
  margin: 0 0 0.65rem;
  color: #fff;
  font-size: 0.88rem;
}

.site-footer a {
  color: rgba(255, 255, 255, 0.75);
  display: block;
  margin-bottom: 0.4rem;
  text-decoration: none;
  font-size: 0.9rem;
}

.site-footer a:hover {
  color: #fff;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  margin-bottom: 0.65rem;
  color: #fff;
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 700;
}

.footer-brand img {
  width: 32px;
  height: 32px;
  border-radius: 9px;
}

.site-footer p {
  margin: 0;
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.7);
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 1rem;
  font-size: 0.84rem;
  color: rgba(255, 255, 255, 0.55);
}

/* —— Legal pages —— */
.legal-page {
  background:
    radial-gradient(ellipse 80% 50% at 10% -10%, rgba(76, 175, 80, 0.12), transparent 55%),
    radial-gradient(ellipse 60% 40% at 100% 0%, rgba(255, 193, 7, 0.1), transparent 50%),
    var(--bg);
}

.legal-hero {
  padding: 5.5rem 0 2rem;
  position: relative;
}

.legal-hero.terms-tone {
  background: linear-gradient(160deg, #e8f5e9 0%, transparent 70%);
}

.legal-hero.privacy-tone {
  background: linear-gradient(160deg, #e0f2f1 0%, transparent 70%);
}

.legal-hero-card {
  background: rgba(255, 255, 255, 0.72);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(227, 232, 227, 0.9);
  border-radius: 24px;
  padding: 1.75rem 1.6rem;
  box-shadow: var(--shadow);
}

.legal-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.3rem 0.7rem;
  border-radius: 999px;
  background: var(--primary-soft);
  color: var(--primary-deep);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-bottom: 0.75rem;
}

.legal-hero h1 {
  margin: 0 0 0.45rem;
  font-family: var(--font-display);
  font-size: clamp(1.9rem, 3.5vw, 2.6rem);
  letter-spacing: -0.02em;
}

.legal-hero .meta {
  color: var(--muted);
  margin: 0 0 0.85rem;
  font-size: 0.92rem;
}

.legal-hero .intro {
  margin: 0;
  color: var(--text);
  font-size: 1rem;
  max-width: 46rem;
  line-height: 1.6;
}

.legal-meta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
  margin-top: 1.1rem;
}

.legal-chip {
  display: inline-flex;
  align-items: center;
  padding: 0.35rem 0.7rem;
  border-radius: 999px;
  background: #fff;
  border: 1px solid var(--border);
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 600;
}

.legal-layout {
  display: grid;
  grid-template-columns: 240px 1fr;
  gap: 1.5rem;
  align-items: start;
  padding-bottom: 3.5rem;
}

.legal-toc {
  position: sticky;
  top: 5rem;
  background: rgba(255, 255, 255, 0.75);
  backdrop-filter: blur(10px);
  border: 1px solid var(--border);
  border-radius: 18px;
  padding: 1rem 0.95rem;
  box-shadow: var(--shadow-sm);
}

.legal-toc h2 {
  margin: 0 0 0.7rem;
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--primary-deep);
}

.legal-toc a {
  display: block;
  padding: 0.4rem 0.55rem;
  border-radius: 10px;
  color: var(--muted);
  font-size: 0.84rem;
  font-weight: 600;
  text-decoration: none;
  margin-bottom: 0.15rem;
}

.legal-toc a:hover,
.legal-toc a.active {
  background: var(--primary-soft);
  color: var(--primary-deep);
  text-decoration: none;
}

.legal-content {
  min-width: 0;
}

.legal-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 18px;
  padding: 1.35rem 1.3rem;
  margin-bottom: 0.9rem;
  box-shadow: var(--shadow-sm);
  scroll-margin-top: 5.5rem;
}

.legal-card .card-index {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1.7rem;
  height: 1.7rem;
  border-radius: 8px;
  background: var(--primary-soft);
  color: var(--primary-deep);
  font-size: 0.75rem;
  font-weight: 800;
  margin-bottom: 0.65rem;
}

.legal-card h2 {
  margin: 0 0 0.55rem;
  font-size: 1.12rem;
  letter-spacing: -0.01em;
}

.legal-card p,
.legal-card li {
  color: var(--muted);
  font-size: 0.94rem;
  line-height: 1.65;
}

.legal-card p {
  margin: 0 0 0.65rem;
}

.legal-card p:last-child {
  margin-bottom: 0;
}

.legal-card ul {
  margin: 0.2rem 0 0.35rem;
  padding-left: 1.15rem;
}

.legal-card li {
  margin-bottom: 0.35rem;
}

.legal-contact {
  margin-top: 0.5rem;
  background: linear-gradient(135deg, #2e7d32, #4caf50);
  color: #fff;
  border: 0;
  box-shadow: var(--shadow);
}

.legal-contact h2,
.legal-contact p,
.legal-contact a {
  color: #fff;
}

.legal-contact a {
  font-weight: 700;
  text-decoration: underline;
}

@media (max-width: 900px) {
  .legal-layout {
    grid-template-columns: 1fr;
  }

  .legal-toc {
    position: relative;
    top: 0;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.2rem 0.4rem;
  }

  .legal-toc h2 {
    grid-column: 1 / -1;
  }
}

.reveal {
  opacity: 0;
  transform: translateY(14px);
  transition: opacity 0.55s ease, transform 0.55s ease;
}

.reveal.in {
  opacity: 1;
  transform: none;
}

/* —— Responsive —— */
@media (max-width: 900px) {
  .hero-shell {
    grid-template-columns: 1fr;
    padding: 2.1rem 0 2rem;
    gap: 1.35rem;
  }

  .hero-panel {
    justify-self: stretch;
    width: 100%;
  }

  .feature-grid,
  .steps {
    grid-template-columns: 1fr 1fr;
  }

  .detail,
  .detail.reverse {
    grid-template-columns: 1fr;
    gap: 1.25rem;
  }

  .detail.reverse .detail-copy,
  .detail.reverse .detail-visual {
    order: unset;
  }

  .detail-visual {
    min-height: 200px;
  }

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

@media (max-width: 900px) {
  .nav-links a {
    font-size: 0.82rem;
  }
}

@media (max-width: 720px) {
  .nav-links {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.96);
    backdrop-filter: blur(16px);
    flex-direction: column;
    align-items: flex-start;
    padding: 0.85rem 1.1rem 1.1rem;
    border-bottom: 1px solid var(--border);
    box-shadow: 0 12px 28px rgba(0, 0, 0, 0.08);
  }

  .nav-links.open {
    display: flex;
  }

  .nav-links.open a {
    color: var(--muted) !important;
  }

  .nav-toggle {
    display: inline-block;
  }

  body.has-hero .site-nav:not(.is-scrolled) .nav-toggle {
    color: #fff;
  }

  .feature-grid,
  .steps,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .hero h1 {
    font-size: 2.2rem;
  }

  .section {
    padding: 3rem 0;
  }
}
