/* ─── Larder palette (matches the YumShare app) ─── */
:root {
  --cream: #FAF5EC;
  --cream-deep: #F1E8D8;
  --ink: #2E2318;
  --ink-soft: #6B5C4A;
  --terracotta: #C7613C;
  --terracotta-dark: #A94E2E;
  --sage: #5E7150;
  --card: #FFFFFF;
  --line: rgba(46, 35, 24, 0.10);
  --serif: "Newsreader", Georgia, serif;
  --sans: "Hanken Grotesk", system-ui, sans-serif;
  --display: "Fraunces", "Newsreader", Georgia, serif;
}

@media (prefers-color-scheme: dark) {
  :root {
    --cream: #201914;
    --cream-deep: #2A211A;
    --ink: #F3EADD;
    --ink-soft: #B8A894;
    --card: #2E251D;
    --line: rgba(243, 234, 221, 0.12);
  }
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}

body {
  font-family: var(--sans);
  background: var(--cream);
  color: var(--ink);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}

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

.container {
  max-width: 1080px;
  margin: 0 auto;
  padding: 0 clamp(16px, 4vw, 24px);
  padding-left: max(clamp(16px, 4vw, 24px), env(safe-area-inset-left));
  padding-right: max(clamp(16px, 4vw, 24px), env(safe-area-inset-right));
}

h1, h2 {
  font-family: var(--serif);
  font-weight: 500;
  line-height: 1.12;
  letter-spacing: -0.01em;
}

h1 em, h2 em {
  font-style: italic;
  color: var(--terracotta);
}

/* ─── Nav ─── */
.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  background: color-mix(in srgb, var(--cream) 85%, transparent);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 64px;
  height: auto;
  padding-block: 10px;
  gap: 12px;
}

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

.lang-switch {
  position: relative;
}

.lang-switch-btn {
  list-style: none;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 7px 10px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--card);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 0.82rem;
  font-weight: 600;
  line-height: 1;
}

.lang-switch-btn::-webkit-details-marker { display: none; }

.lang-flag { font-size: 0.95rem; line-height: 1; }
.lang-flag-img {
  display: inline-block;
  width: 20px;
  height: 15px;
  object-fit: cover;
  border-radius: 2px;
  flex: none;
  box-shadow: 0 0 0 1px rgba(46, 35, 24, 0.12);
  vertical-align: middle;
}
.lang-code { letter-spacing: 0.06em; text-transform: uppercase; }
.lang-caret {
  width: 0;
  height: 0;
  border-left: 4px solid transparent;
  border-right: 4px solid transparent;
  border-top: 5px solid var(--ink-soft);
  margin-left: 2px;
}

.lang-menu {
  position: absolute;
  right: 0;
  top: calc(100% + 8px);
  z-index: 50;
  margin: 0;
  padding: 6px;
  list-style: none;
  min-width: 180px;
  max-height: min(70vh, 420px);
  overflow: auto;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 14px;
  box-shadow: 0 18px 40px -20px rgba(46, 35, 24, 0.35);
}

.lang-menu a {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 9px 10px;
  border-radius: 10px;
  text-decoration: none;
  color: var(--ink);
  font-size: 0.9rem;
  font-weight: 500;
}

.lang-menu a:hover,
.lang-menu a[aria-current="true"] {
  background: var(--cream-deep);
}

.legal-note {
  margin: 14px 0 0;
  padding: 12px 14px;
  border-left: 3px solid var(--terracotta);
  background: var(--cream-deep);
  color: var(--ink-soft);
  font-size: 0.92rem;
  line-height: 1.5;
  border-radius: 0 10px 10px 0;
}

.legal-lang-switch {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin: 0 0 14px;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--ink-soft);
}
.legal-lang-switch a {
  color: var(--terracotta);
  text-decoration: none;
}
.legal-lang-switch a:hover { text-decoration: underline; }
.legal-lang-switch a[aria-current="page"] {
  color: var(--ink);
  pointer-events: none;
}

.logo {
  display: inline-flex;
  align-items: center;
  font-family: var(--display);
  font-size: clamp(1.35rem, 2.8vw, 1.85rem);
  font-weight: 600;
  font-optical-sizing: auto;
  letter-spacing: -0.01em;
  text-decoration: none;
  color: var(--ink);
  margin-left: 0;
  flex: none;
  white-space: nowrap;
}

.logo-icon {
  width: 0.92em;
  height: 1.02em;
  margin-right: 0.12em;
  flex: none;
  background-color: var(--terracotta);
  -webkit-mask: url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAIIAAACSCAYAAACJ1RJmAAAH/UlEQVR4nO1dDY7dKAymq71H2ZMMPclmT0J7ksxNmJ4k6UmyipRIURTABvNj4k+Kpn3zhpcXPj5sY8w3JRgRWilllFLr8f+vxvcjqNz5s1Jqe7iW43c7OQQDE8B5CPB02dY3LChDAigB7gqx/61gAJhEElzJIGAOfXTkFrEJYlPG/h4BYzhPx+6vTw/vtwHCiAHJFDZR6n32hKjCYHaBAfz9rhZiKwzsIZjMNsSDGMAusATtiJ3A3C5wCW09RR+FCIztgiWxvSdFkKnhBXbBHWIjvNguCHkN+yV4iV2wQ+IIDGEKrA/41EXsgxfZBbNEFfnBEZMgFI0UNWC4mNQiJC0YwC4ITTGSpdQpTIGRS60uAoZ2gZCAIRyxRe9rT1LTXhQ0smIc8oMhduvEQxgs+dQQk0A8hJcsJukAqcRDeJFd4MQ4HCtopIlJIOHjlywmWfEQeMIR2gXiITCFJbQLQsoim1Venny6iYfQPxZCu0A8BKaYCO0CX5ZRzuKUoBIckYSLccgcG8HolfDxgNPCTOghkIaP/6JsTBDFb4WDjzh7ubwfyLYEjTBnTgtVPQRRhLpYge+zAdL8R3g/ggpwiQkn4iG8IJAUg3gIA2JBEiFEAkkwYYwNYOTpwx6I1UwUMMbm6dCz8yH1k6UOInNoT6fGOl7WEAaCjmQPQS5RAqbQCLmPEUDSz1848rdL50uy6Qtl38nIf+/InyWBhCdsoqXvu0T6Xzj6NyH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zX7wb31QI+z2l/Bv+U+sBW9oKgTumg7CmCWw7fCDAtSAD5cK5LtRxBWWa4iByNbJD1gi5IQJkSJsAjlolVPYsqto4vZHgBCU4IGfohQfNdVzEyiAE5sBJgM4wkzpAOy4UEJ4QMtIAk0XRHAug0MeqCDzUgFVq7JQGUDKevKyHpZ9gRSICRNVEH/ACCZmd3BWgOwfxyddDA58Q+oRbyJd+qDhbwbIYKzkFk702EsEACsJwKKNPNlh4iZY0TcoePvWAfBneF0Mh9FUNNBdTJqCchOI0QnZBw+9pwPKY+AgdS6ITRP6wtkIKUzOQrKQzDzt8Gmfq6IsR2O8fQFE6ntxn32SUBMOnsNbE/7H8JOnS9/DzT259+f0Lfjru5psxTTEXrsW805QCyV6P0lrda1zKoO1wdqTucWne+bf3g3kCKuePO14oZerURUre96coexHrM+ey31nEnApQcKoMg6/Hz6/j3n1uBjiEwIhFCuEp2SL7XASqnoPA/Iemx4PdI0vgAAAAASUVORK5CYII=") center / contain no-repeat;
}

.logo span { color: var(--terracotta); font-style: italic; font-weight: 500; }
.logo-small { font-size: 1.25rem; }

.nav-links {
  display: flex;
  align-items: center;
  gap: 28px;
  min-width: 0;
}

.nav-links a {
  text-decoration: none;
  color: var(--ink-soft);
  font-size: 0.95rem;
  font-weight: 500;
  transition: color 0.15s;
}

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

.nav-links .nav-cta {
  color: #fff;
  margin-left: 4px;
}

.nav-links .nav-cta:hover {
  color: #fff;
}

/* ─── Buttons ─── */
.btn {
  display: inline-block;
  background: var(--terracotta);
  color: #fff;
  text-decoration: none;
  font-weight: 600;
  font-size: 1rem;
  padding: 14px 28px;
  border-radius: 999px;
  transition: background 0.15s, transform 0.15s;
}

.btn:hover { background: var(--terracotta-dark); transform: translateY(-1px); }

.btn-small { padding: 9px 20px; font-size: 0.9rem; }

.btn-soon {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  cursor: default;
  opacity: 0.85;
}
.btn-soon:hover { transform: none; }
.btn-ghost.btn-soon:hover { background: transparent; }
.btn-outline.btn-soon:hover { background: transparent; }

.btn-soon-tag {
  font-style: normal;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  line-height: 1;
  padding: 4px 8px;
  border-radius: 999px;
  background: var(--terracotta);
  color: #fff;
}
.btn-outline .btn-soon-tag { background: #fff; color: var(--terracotta-dark); }

.btn-ghost {
  background: transparent;
  color: var(--ink);
  box-shadow: inset 0 0 0 1.5px var(--line);
}
.btn-ghost:hover { background: var(--cream-deep); }

.btn-light { background: var(--cream); color: var(--terracotta-dark); }
.btn-light:hover { background: #fff; }

.btn-outline {
  background: transparent;
  color: #fff;
  box-shadow: inset 0 0 0 1.5px rgba(255, 255, 255, 0.45);
}
.btn-outline:hover { background: rgba(255, 255, 255, 0.1); }

/* ─── Hero ─── */
.hero { padding: 120px 0 72px; overflow: visible; }

.hero-inner {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 48px;
  align-items: center;
}

.eyebrow {
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--sage);
  margin-bottom: 18px;
}

h1 { font-size: clamp(2.6rem, 5.5vw, 4rem); margin-bottom: 22px; }

.lead {
  font-size: 1.15rem;
  color: var(--ink-soft);
  max-width: 46ch;
  margin-bottom: 32px;
}

.hero-actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}

.hero-note {
  margin-top: 18px;
  font-size: 0.85rem;
  color: var(--ink-soft);
}

/* ─── Phone mockup ─── */
.hero-visual {
  position: relative;
  display: flex;
  justify-content: center;
  padding: 24px 0;
  perspective: 1100px;
  perspective-origin: center;
}

.phone-wrap {
  display: inline-block;
  animation: phoneFloat 6s ease-in-out infinite;
  will-change: transform;
}

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

.phone {
  --rx: 0deg;
  --ry: 0deg;
  --rz: 2deg;
  --lift: 0px;
  --scale: 1;
  width: 300px;
  border-radius: 42px;
  background: var(--ink);
  padding: 12px;
  box-shadow: 0 32px 64px -24px rgba(46, 35, 24, 0.45);
  transform: translateY(var(--lift)) rotateX(var(--rx)) rotateY(var(--ry)) rotate(var(--rz)) scale(var(--scale));
  transform-style: preserve-3d;
  transition: transform 0.55s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.55s ease;
}

.phone.is-tilting {
  transition: box-shadow 0.3s ease;
}

.hero-visual:hover .phone {
  box-shadow: 0 48px 90px -30px rgba(46, 35, 24, 0.55);
}

.phone-screen {
  position: relative;
  border-radius: 28px;
  overflow: hidden;
  background: var(--cream);
  line-height: 0;
  padding-top: 20px;
}

.phone-screenshot {
  display: block;
  width: 100%;
  height: auto;
  vertical-align: middle;
  border-radius: 0;
}

.phone-glare {
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: 0;
  background: linear-gradient(
    115deg,
    transparent 32%,
    rgba(255, 255, 255, 0.38) 46%,
    rgba(255, 255, 255, 0.08) 58%,
    transparent 72%
  );
  transform: translateX(-120%);
  mix-blend-mode: screen;
  transition: opacity 0.3s ease;
}

.hero-visual:hover .phone-glare {
  opacity: 1;
  animation: glareSweep 1.1s cubic-bezier(0.22, 1, 0.36, 1);
}

@keyframes glareSweep {
  0% { transform: translateX(-120%); }
  100% { transform: translateX(120%); }
}

@media (prefers-reduced-motion: reduce) {
  .phone-wrap { animation: none; }
  .phone { transition: none; }
  .phone-glare { display: none; }
}

/* ─── Showcase / scroll tour ─── */
.showcase { padding: 88px 0 16px; }

.showcase-head { max-width: 640px; margin: 0 0 44px; }
.showcase-head h2 { margin: 8px 0 12px; }
.showcase-sub { margin: 0; font-size: 1rem; color: var(--ink-soft); }

.showcase-grid {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 64px;
  align-items: start;
}

.showcase-media {
  position: sticky;
  top: 100px;
  align-self: start;
  display: flex;
  justify-content: center;
}

.phone-tour {
  transform: none;
  animation: none;
}

.showcase .phone-screen {
  padding-top: 0;
  aspect-ratio: 270 / 585;
}

.tour-shot {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 14px;
  padding: 28px;
  text-align: center;
  line-height: 1.45;
  background: var(--cream);
  opacity: 0;
  transform: translateY(10px);
  transition: opacity 0.45s ease, transform 0.45s ease;
  pointer-events: none;
}
.tour-shot.is-active { opacity: 1; transform: none; }
.tour-shot--image {
  padding: 0;
  background: #1a1410;
}
.tour-shot-img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
}
.tour-shot-icon { width: 76px; height: 76px; color: var(--terracotta); }
.tour-shot h4 { margin: 0; font-family: var(--serif); font-size: 1.4rem; color: var(--ink); }
.tour-shot p {
  margin: 0;
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink-soft);
  opacity: 0.7;
}

.showcase-steps { list-style: none; margin: 0; padding: 0; }

.tour-step {
  padding: 26px 0 30px;
  border-top: 1px solid var(--line);
  opacity: 0.4;
  transition: opacity 0.35s ease;
}
.tour-step:first-child { border-top: none; padding-top: 0; }
.tour-step.is-active { opacity: 1; }

.tour-num {
  display: inline-block;
  margin-bottom: 8px;
  font-family: var(--display);
  font-size: 0.9rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  color: var(--terracotta);
}
.tour-step h3 { margin: 0 0 8px; font-size: 1.5rem; }
.tour-step > p { margin: 0 0 14px; color: var(--ink-soft); }
.tour-step ul {
  margin: 0;
  padding-left: 18px;
  display: flex;
  flex-direction: column;
  gap: 7px;
}
.tour-step ul li { font-size: 0.95rem; line-height: 1.5; color: var(--ink-soft); }
.tour-step ul li strong { color: var(--ink); font-weight: 600; }

/* Per-step phones: mobile/tablet only */
.tour-step-phone {
  display: none;
}

/* On tablet/phone: one phone per step, no sticky overlay */
@media (max-width: 900px) {
  .showcase-grid {
    grid-template-columns: 1fr;
    gap: 8px;
  }
  .showcase-media {
    display: none;
  }
  .tour-step-phone {
    display: flex;
    justify-content: center;
    margin: 18px 0 22px;
  }
  .tour-step-phone .phone {
    width: min(240px, 58vw);
    border-radius: 34px;
    padding: 10px;
    --rx: 0deg;
    --ry: 0deg;
    --rz: 0deg;
    --lift: 0px;
    --scale: 1;
  }
  .tour-step-phone .phone-screen {
    border-radius: 26px;
    padding-top: 0;
    aspect-ratio: 270 / 585;
  }
  .tour-step-phone .tour-shot {
    position: absolute;
    opacity: 1;
    transform: none;
  }
  .tour-step {
    padding: 28px 0 36px;
    opacity: 1;
  }
  .tour-step h3 { font-size: 1.28rem; }
  .tour-step > p { margin-bottom: 0; }
}

/* ─── Import sources ─── */
.sources {
  padding: 8px 0 24px;
  background: var(--cream);
}

.sources-label {
  text-align: center;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--sage);
  margin-bottom: 22px;
}

.sources-list {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 12px 28px;
  padding: 0;
  margin: 0;
}

.sources-list li {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--serif);
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--ink);
  opacity: 0.75;
  transition: opacity 0.15s;
}

.sources-list li:hover { opacity: 1; }

.source-icon {
  width: 22px;
  height: 22px;
  flex: none;
  color: var(--terracotta);
}

/* ─── Sections ─── */
section h2 {
  font-size: clamp(2rem, 4vw, 2.9rem);
  text-align: center;
  margin-bottom: 56px;
}

.features { padding: 96px 0; background: var(--cream-deep); }

.section-sub {
  margin: 6px auto 34px;
  max-width: 600px;
  font-size: 1rem;
  color: var(--ink-soft);
  text-align: center;
}

.grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 22px;
  padding: 30px 26px;
  transition: transform 0.2s, box-shadow 0.2s;
}

.card:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 40px -20px rgba(46, 35, 24, 0.3);
}

.card-icon { font-size: 1.9rem; margin-bottom: 14px; }

.card h3, .step h3 {
  font-family: var(--serif);
  font-size: 1.3rem;
  font-weight: 600;
  margin-bottom: 8px;
}

.card p, .step p {
  font-size: 0.95rem;
  color: var(--ink-soft);
}

/* ─── How it works ─── */
.how { padding: 96px 0; }

.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
  text-align: center;
}

.step-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--sage);
  color: #fff;
  font-family: var(--serif);
  font-size: 1.3rem;
  font-weight: 600;
  margin-bottom: 16px;
}

/* ─── FAQ ─── */
.faq {
  padding: 96px 0 80px;
  background: linear-gradient(180deg, var(--cream) 0%, var(--cream-deep) 100%);
}

.faq-head {
  max-width: 640px;
  margin: 0 0 40px;
}

.faq-head h2 { margin: 8px 0 12px; }

.faq-sub {
  margin: 0;
  font-size: 1rem;
  color: var(--ink-soft);
}

.faq-list {
  max-width: 760px;
  border-top: 1px solid var(--line);
}

.faq-item {
  border-bottom: 1px solid var(--line);
}

.faq-item summary {
  list-style: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 22px 4px;
  font-family: var(--serif);
  font-size: 1.15rem;
  font-weight: 600;
  line-height: 1.35;
  color: var(--ink);
}

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

.faq-item summary::after {
  content: "+";
  flex: none;
  width: 28px;
  height: 28px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: var(--sans);
  font-size: 1.25rem;
  font-weight: 500;
  color: var(--terracotta);
  transition: transform 0.2s ease;
}

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

.faq-answer {
  padding: 0 36px 22px 4px;
}

.faq-answer p {
  margin: 0;
  font-size: 0.98rem;
  line-height: 1.65;
  color: var(--ink-soft);
}

/* ─── CTA ─── */
.cta {
  background: var(--terracotta);
  padding: 96px 0;
}

.cta-inner { text-align: center; }

.cta h2 { color: #fff; margin-bottom: 20px; }
.cta h2 em { color: var(--cream-deep); }

.cta .lead {
  color: rgba(255, 255, 255, 0.88);
  margin: 0 auto 36px;
}

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

/* ─── Footer (Cal AI style) ─── */
.footer {
  padding: 28px 0 0;
  background: var(--cream);
}

.footer-main {
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px;
  padding-bottom: 8px;
}

.footer-brand-col {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.footer-logo {
  display: inline-flex;
  align-items: center;
  font-family: var(--display);
  font-size: 1.4rem;
  font-weight: 600;
  font-optical-sizing: auto;
  letter-spacing: -0.01em;
  text-decoration: none;
  color: var(--ink);
  line-height: 1;
}

.footer-logo svg {
  width: 1.2em;
  height: 1.2em;
  margin-right: 0.02em;
  color: var(--terracotta);
  flex: none;
}

.footer-logo span {
  color: var(--terracotta);
  font-style: italic;
  font-weight: 500;
}

.footer-download-label {
  font-size: 0.875rem;
  color: var(--ink-soft);
  margin: 0;
}

.footer-badges {
  display: flex;
  flex-direction: column;
  gap: 8px;
  align-items: flex-start;
}

.store-badge {
  display: block;
  line-height: 0;
  text-decoration: none;
  transition: opacity 0.15s;
}

.store-badge:hover { opacity: 0.85; }

.store-badge img {
  display: block;
  height: 40px;
  width: auto;
}

.footer-title {
  font-family: var(--sans);
  font-size: 1rem;
  font-weight: 600;
  color: var(--ink);
  margin: 0 0 16px;
}

.footer-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.footer-list a {
  font-size: 0.875rem;
  font-weight: 400;
  color: var(--ink-soft);
  text-decoration: none;
  transition: color 0.15s;
}

.footer-list a:hover { color: var(--ink); }

.footer-bar {
  margin-top: 8px;
  padding: 8px 24px 16px;
  border-top: 1px solid var(--line);
}

.footer-copy {
  margin: 0;
  font-size: 0.875rem;
  color: var(--ink-soft);
}

@media (min-width: 768px) {
  .footer-main {
    grid-template-columns: 1.2fr 1fr 1fr;
    gap: 32px;
  }

  .footer-badges {
    flex-direction: row;
    flex-wrap: wrap;
    align-items: center;
  }
}

/* ─── Legal pages ─── */
.legal-page {
  padding: 64px 0 96px;
}

.legal-header {
  max-width: 720px;
  margin: 0 auto 48px;
  text-align: center;
}

.legal-header h1 {
  font-size: clamp(2rem, 4vw, 2.75rem);
  margin-bottom: 12px;
}

.legal-meta {
  font-size: 0.9rem;
  color: var(--ink-soft);
}

.legal-content {
  max-width: 720px;
  margin: 0 auto;
}

.legal-content h2 {
  font-family: var(--serif);
  font-size: 1.5rem;
  font-weight: 600;
  text-align: left;
  margin: 40px 0 16px;
}

.legal-content h3 {
  font-family: var(--serif);
  font-size: 1.15rem;
  font-weight: 600;
  margin: 28px 0 12px;
}

.legal-content p,
.legal-content li {
  font-size: 0.95rem;
  color: var(--ink-soft);
  margin-bottom: 14px;
}

.legal-content ul,
.legal-content ol {
  padding-left: 1.4rem;
  margin-bottom: 16px;
}

.legal-content li { margin-bottom: 8px; }

.legal-content a {
  color: var(--terracotta);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.legal-content a:hover { color: var(--terracotta-dark); }

.legal-content strong { color: var(--ink); font-weight: 600; }

/* ─── Support / contact form ─── */
.support-page {
  padding: 72px 0 96px;
  background: linear-gradient(180deg, var(--cream) 0%, var(--cream-deep) 100%);
}

.support-inner {
  max-width: 640px;
}

.support-head {
  margin: 0 0 36px;
}

.support-head h1 {
  margin: 8px 0 12px;
}

.support-sub {
  margin: 0;
  color: var(--ink-soft);
  font-size: 1.05rem;
}

.support-sub a {
  color: var(--terracotta);
  text-decoration: none;
  font-weight: 600;
}

.support-sub a:hover { text-decoration: underline; }

.support-form {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

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

.support-field {
  display: flex;
  flex-direction: column;
  gap: 8px;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--ink);
}

.support-field input,
.support-field select,
.support-field textarea {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--card);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 1rem;
  font-weight: 400;
  line-height: 1.4;
  outline: none;
  transition: border-color 0.15s, box-shadow 0.15s;
}

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

.support-field input:focus,
.support-field select:focus,
.support-field textarea:focus {
  border-color: var(--terracotta);
  box-shadow: 0 0 0 3px rgba(199, 97, 60, 0.18);
}

.support-field input::placeholder,
.support-field textarea::placeholder {
  color: var(--ink-soft);
  opacity: 0.7;
}

.support-submit {
  align-self: flex-start;
  margin-top: 6px;
  border: none;
  cursor: pointer;
}

.support-note {
  margin: 0;
  font-size: 0.88rem;
  color: var(--ink-soft);
}

.support-honey {
  position: absolute;
  left: -9999px;
  opacity: 0;
  height: 0;
  width: 0;
  pointer-events: none;
}

.support-success {
  padding: 28px 24px;
  border-radius: 16px;
  background: var(--card);
  border: 1px solid var(--line);
  margin-bottom: 8px;
}

.support-success h2 {
  margin: 0 0 8px;
  font-size: 1.5rem;
}

.support-success p {
  margin: 0;
  color: var(--ink-soft);
}

.support-error {
  padding: 28px 24px;
  border-radius: 16px;
  background: var(--card);
  border: 1px solid #c45c5c;
  margin-bottom: 16px;
}

.support-error h2 {
  margin: 0 0 8px;
  font-size: 1.35rem;
  color: #9b2c2c;
}

.support-error p {
  margin: 0;
  color: var(--ink-soft);
}

.legal-table-wrap {
  overflow-x: auto;
  margin: 20px 0 28px;
}

.legal-content table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.85rem;
}

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

.legal-content th {
  background: var(--cream-deep);
  color: var(--ink);
  font-weight: 600;
}

/* ─── Responsive: tablet ─── */
@media (max-width: 1024px) {
  .hero { padding: 96px 0 64px; }
  .hero-inner { gap: 40px; }
  .phone { width: 270px; }

  .showcase { padding: 72px 0 12px; }
  .showcase-grid { gap: 40px; }

  .features, .how, .faq, .cta { padding-block: 72px; }
  .faq { padding-bottom: 64px; }

  .grid { grid-template-columns: repeat(2, 1fr); }
  .grid .card:last-child:nth-child(odd) {
    grid-column: 1 / -1;
    max-width: 420px;
    justify-self: center;
    width: 100%;
  }
}

/* ─── Responsive: small tablet / large phone ─── */
@media (max-width: 860px) {
  .nav-links a:not(.nav-cta) { display: none; }
  .nav-links { gap: 8px; margin-left: auto; }
  .nav-actions { margin-left: 0; }
  .nav-cta {
    padding: 8px 14px;
    font-size: 0.82rem;
  }

  .hero { padding: 72px 0 48px; }

  .hero-inner {
    grid-template-columns: 1fr;
    gap: 40px;
    text-align: center;
  }

  h1 { font-size: clamp(2.1rem, 8vw, 3rem); }
  .lead {
    margin-inline: auto;
    font-size: 1.05rem;
  }
  .hero-actions { justify-content: center; }
  .hero-visual { padding: 8px 0 0; }
  .phone {
    width: min(260px, 72vw);
    --rz: 0deg;
  }

  .showcase-head { margin-bottom: 28px; text-align: center; }
  .showcase-sub { margin-inline: auto; }

  .sources-list { gap: 10px 18px; }
  .sources-list li { font-size: 1.05rem; }

  .grid, .steps { grid-template-columns: 1fr; }
  .grid .card:last-child:nth-child(odd) {
    grid-column: auto;
    max-width: none;
  }
  .steps { gap: 28px; }

  section h2 { margin-bottom: 36px; }
  .faq-head { margin-bottom: 28px; }
  .faq-item summary { font-size: 1.05rem; gap: 12px; padding: 18px 2px; }
  .faq-answer { padding-right: 28px; }

  .cta { padding: 72px 0; }
  .cta .lead { font-size: 1.05rem; }

  .lang-menu {
    right: 0;
    left: auto;
    max-height: min(70vh, 420px);
    overflow-y: auto;
  }

  .support-page, .legal-page { padding: 56px 0 72px; }
}

/* ─── Responsive: phone ─── */
@media (max-width: 640px) {
  .nav-inner {
    min-height: 56px;
    padding-block: 8px;
    gap: 8px;
  }

  .hero { padding: 56px 0 40px; }
  .eyebrow { margin-bottom: 12px; font-size: 0.72rem; }
  .lead { margin-bottom: 24px; font-size: 1rem; }
  .hero-note { font-size: 0.8rem; }

  .hero-actions {
    flex-direction: column;
    align-items: stretch;
    gap: 10px;
  }
  .hero-actions .btn {
    width: 100%;
    text-align: center;
    justify-content: center;
  }

  .phone {
    width: min(240px, 68vw);
    border-radius: 36px;
    padding: 10px;
  }
  .phone-screen { border-radius: 26px; }

  .showcase { padding: 56px 0 8px; }
  .tour-step-phone .phone { width: min(220px, 62vw); }

  .features, .how { padding: 56px 0; }
  .faq { padding: 56px 0 48px; }
  .cta { padding: 56px 0; }

  .card { padding: 24px 20px; }
  .card h3, .step h3 { font-size: 1.2rem; }

  .sources { padding: 4px 0 16px; }
  .sources-label { margin-bottom: 16px; }
  .sources-list li { font-size: 0.98rem; }
  .source-icon { width: 18px; height: 18px; }

  .faq-item summary { font-size: 1rem; }
  .faq-answer p { font-size: 0.95rem; }

  .cta .hero-actions .btn {
    width: min(100%, 320px);
    margin-inline: auto;
  }

  .support-row { grid-template-columns: 1fr; }
  .support-submit {
    width: 100%;
    justify-content: center;
    text-align: center;
  }
  .support-head h1 { font-size: clamp(1.75rem, 7vw, 2.25rem); }

  .footer-main { gap: 28px; padding-bottom: 4px; }
  .footer-bar {
    padding-left: max(16px, env(safe-area-inset-left));
    padding-right: max(16px, env(safe-area-inset-right));
    padding-bottom: max(16px, env(safe-area-inset-bottom));
  }
}

/* ─── Very small phones ─── */
@media (max-width: 380px) {
  .nav-cta { padding: 7px 11px; font-size: 0.78rem; }
  .lang-switch-btn { padding: 6px 8px; }
  h1 { font-size: 1.85rem; }
  .showcase .phone { width: min(180px, 56vw); }
  .tour-step-phone .phone { width: min(200px, 68vw); }
}

/* Touch / coarse pointer: disable decorative 3D tilt */
@media (hover: none), (pointer: coarse) {
  .phone-wrap { animation: none; }
  .hero-visual { perspective: none; }
  .phone {
    --rx: 0deg !important;
    --ry: 0deg !important;
    --rz: 0deg !important;
    --lift: 0px !important;
    --scale: 1 !important;
    transition: box-shadow 0.3s ease;
  }
  .hero-visual:hover .phone {
    box-shadow: 0 32px 64px -24px rgba(46, 35, 24, 0.45);
  }
  .phone-glare { display: none; }
  .card:hover { transform: none; }
}
