/* veyvora.app: one stylesheet for the marketing and policy pages.
   Plain CSS port of veyvora.com's design system (veyvoracom/src/styles/global.css,
   Header.astro, Footer.astro, Home.astro, ContentBand.astro). Tokens, class names
   and values are kept one-for-one so the two sites read as one brand. */

/* ---- Manrope (variable), self-hosted. woff2 first, ttf as fallback. ---- */
@font-face {
  font-family: "Manrope";
  src:
    url("fonts/Manrope-Variable.woff2") format("woff2"),
    url("fonts/Manrope-Variable.ttf") format("truetype");
  font-weight: 200 800;
  font-style: normal;
  font-display: swap;
}
/* Metrics-matched fallback so text does not reflow when the webfont lands. */
@font-face {
  font-family: "Manrope Fallback";
  src: local("Arial");
  ascent-override: 89.74%;
  descent-override: 25.25%;
  line-gap-override: 0%;
  size-adjust: 118.79%;
}

/* ---- Tokens ---- */
:root {
  --brand-green: #38443c;
  --brand-green-700: #2c352f;
  --brand-sage: #9ba297;
  --brand-mint: #d1f2d8;
  --brand-blue: #d5e2e9;
  --brand-sand: #ece9df;
  --accent: #1f8a5b;

  --paper: #f6f5f0;
  --paper-2: #ece9df;
  --surface: #ffffff;
  --ink: #38443c;
  --ink-muted: #6b756c;
  --body-2: #4d5a51;
  --line: #e6e4d9;
  --on-dark-muted: #c9d8cd;

  --danger-bg: #fbeaea;
  --danger-line: #e7bcbc;
  --danger: #b91c1c;

  --radius: 1.5rem;
  --radius-lg: 2.25rem;
  --radius-pill: 40px;

  --font-sans: "Manrope", "Manrope Fallback", ui-sans-serif, system-ui, -apple-system, sans-serif;
  --font-display: "Manrope", "Manrope Fallback", ui-sans-serif, system-ui, sans-serif;

  --shadow-soft: 0 10px 34px rgba(56, 68, 60, 0.10);
  --shadow-lift: 0 24px 60px rgba(56, 68, 60, 0.16);
}

/* ---- Base ---- */
*, *::before, *::after { box-sizing: border-box; }
html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scrollbar-gutter: stable;
  scroll-padding-top: 96px;
}
body {
  margin: 0;
  background-color: var(--paper);
  color: var(--ink);
  font-family: var(--font-sans);
  font-weight: 500;
  font-size: 16px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  display: flex;
  min-height: 100vh;
  flex-direction: column;
  overflow-x: hidden;
}
main { flex: 1; }
::selection { background: var(--brand-green); color: var(--brand-mint); }
::-webkit-scrollbar { width: 9px; height: 9px; }
::-webkit-scrollbar-thumb { background: rgba(155, 162, 151, 0.5); border-radius: 8px; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }

h1, h2, h3 {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 800;
  letter-spacing: -0.04em;
  line-height: 1.0;
  color: var(--ink);
  text-transform: lowercase;
}
h4 { margin: 0; font-weight: 700; letter-spacing: -0.02em; line-height: 1.3; }
p { margin: 0; }
img, svg { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; text-decoration: none; }
button { font: inherit; }
code { font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; font-size: 0.9em; background: var(--brand-sand); padding: 0.1em 0.4em; border-radius: 6px; }
hr { border: 0; border-top: 1px solid var(--line); margin: 2rem 0; }
[hidden] { display: none !important; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.accent { color: var(--accent); }

/* ---- Layout ---- */
.container-site {
  width: 100%;
  margin-inline: auto;
  max-width: 1288px;
  padding-inline: 24px;
}
.py-6 { padding-block: 1.5rem; }
.pt-2 { padding-top: 0.5rem; }
.pb-14 { padding-bottom: 3.5rem; }
.pb-16 { padding-bottom: 4rem; }
.mt-6 { margin-top: 1.5rem; }

.grid { display: grid; gap: 1.25rem; }
.grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
@media (min-width: 640px) { .grid-2, .grid-3, .grid-4 { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .grid-3 { grid-template-columns: repeat(3, 1fr); } .grid-4 { grid-template-columns: repeat(4, 1fr); } }

/* ---- Blob section panels ---- */
.panel {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-lg);
  padding: clamp(2rem, 5vw, 5.5rem) clamp(1.4rem, 4.5vw, 4.5rem);
}
.panel--mint { background: var(--brand-mint); }
.panel--blue { background: var(--brand-blue); }
.panel--sand { background: var(--brand-sand); }
.panel--white { background: var(--surface); }
.panel--dark { background: var(--brand-green); color: var(--brand-mint); }
.panel > * { position: relative; }
.panel--band { padding: clamp(1.6rem, 4vw, 4rem); border-radius: 36px; }
.watermark {
  position: absolute;
  pointer-events: none;
  user-select: none;
  z-index: 0;
}

/* ---- Buttons ---- */
.btn-primary, .btn-ghost, .btn-light {
  cursor: pointer;
  border: 0;
  text-decoration: none;
  justify-content: center;
  font-family: var(--font-sans);
}
.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  border-radius: var(--radius-pill);
  background: var(--brand-green);
  color: var(--brand-mint);
  padding: 1rem 2rem;
  font-weight: 600;
  font-size: 1rem;
  line-height: 1;
  box-shadow: var(--shadow-soft);
  transition: transform 0.25s cubic-bezier(0.2, 0.8, 0.2, 1), box-shadow 0.25s, background 0.25s;
}
.btn-primary:hover { transform: translateY(-3px) scale(1.02); box-shadow: var(--shadow-lift); color: var(--brand-mint); }
.btn-primary:disabled { opacity: 0.6; cursor: default; transform: none; box-shadow: var(--shadow-soft); }
.btn-ghost {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  border-radius: var(--radius-pill);
  border: 1.5px solid rgba(56, 68, 60, 0.25);
  background: transparent;
  color: var(--ink);
  padding: 0.95rem 1.6rem;
  font-weight: 600;
  font-size: 0.95rem;
  line-height: 1;
  transition: border-color 0.2s, background 0.2s, transform 0.2s;
}
.btn-ghost:hover { border-color: var(--brand-green); transform: translateY(-2px); }
.btn-light {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  border-radius: var(--radius-pill);
  background: var(--paper);
  color: var(--brand-green);
  padding: 1rem 2rem;
  font-weight: 600;
  font-size: 0.95rem;
  line-height: 1;
  transition: transform 0.25s;
}
.btn-light:hover { transform: translateY(-3px); color: var(--brand-green); }
.btn-block { display: flex; width: 100%; }

.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-weight: 600;
  color: var(--ink);
}
.link-arrow svg { transition: transform 0.25s; }
.link-arrow:hover { color: var(--accent); }
.link-arrow:hover svg { transform: translateX(5px); }
.link-underline {
  border-bottom: 1.5px solid var(--brand-green);
  padding-bottom: 0.125rem;
  font-size: 15px;
  font-weight: 500;
  color: var(--brand-green);
  transition: color 0.2s;
}
.link-underline:hover { color: var(--accent); }

/* ---- Chips / pills ---- */
.pill, .chip-soft {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  border-radius: 30px;
  background: rgba(255, 255, 255, 0.7);
  padding: 0.62rem 1.15rem;
  font-size: 0.84rem;
  font-weight: 500;
  color: var(--brand-green);
}
.chip-soft--dark { background: rgba(209, 242, 216, 0.14); color: var(--brand-mint); }
.tag {
  display: inline-flex;
  align-items: center;
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.75);
  padding: 0.5rem 0.95rem;
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--ink-muted);
}
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  border-radius: 30px;
  background: rgba(255, 255, 255, 0.7);
  padding: 0.55rem 1.1rem;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  color: var(--brand-green);
}
.eyebrow::before { content: "\2726"; color: var(--accent); }
.eyebrow--dark { background: rgba(209, 242, 216, 0.14); color: var(--brand-mint); }
.eyebrow--dark::before { color: var(--brand-mint); }
.eyebrow--sand { background: var(--brand-sand); }

/* ---- Cards ---- */
.card {
  border-radius: var(--radius);
  background: var(--surface);
  box-shadow: var(--shadow-soft);
  padding: 1.75rem;
}
.card-hover { transition: transform 0.35s cubic-bezier(0.2, 0.8, 0.2, 1), box-shadow 0.35s; }
.card-hover:hover { transform: translateY(-10px); box-shadow: var(--shadow-lift); }
.card-sand { background: var(--brand-sand); box-shadow: none; }
.card-mint { background: var(--brand-mint); box-shadow: none; }
.card-blue { background: var(--brand-blue); box-shadow: none; }
.card-ink { background: var(--brand-green); box-shadow: none; color: #f1f4ee; }
.card-ink h2, .card-ink h3, .card-ink strong { color: #f1f4ee; }
.card-ink p, .card-ink li { color: var(--on-dark-muted); }
.card-ink a { color: var(--brand-mint); }
.card-lift { box-shadow: var(--shadow-lift); }
.card h2 { font-size: 1.4rem; margin-bottom: 0.75rem; }
.card h3 { font-size: 1.15rem; margin-bottom: 0.4rem; }
.card p, .card li { font-size: 15.5px; line-height: 1.6; color: var(--body-2); }
.card p + p { margin-top: 0.75rem; }
.card ul, .card ol { margin: 0.25rem 0 0.75rem; padding-left: 1.2rem; }
.card li { margin: 0.35rem 0; }
.card li::marker { color: var(--accent); }
.card a { color: var(--accent); }
.card a:hover { color: var(--brand-green); }
/* Buttons inside cards keep their mint-on-ink text; .card a would otherwise paint them accent and then ink on hover. */
.card .btn-primary, .card .btn-primary:hover { color: var(--brand-mint); }
.card .btn-ghost, .card .btn-ghost:hover { color: var(--ink); }
.card strong { color: var(--brand-green); font-weight: 700; }
.card .meta { margin-top: 0.75rem; }

/* ---- Decorative ---- */
.grain::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: 0.25;
  mix-blend-mode: multiply;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='140' height='140'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.05'/%3E%3C/svg%3E");
}

.marquee-wrap { overflow: hidden; padding: 2.25rem 0; }
.marquee {
  display: inline-flex;
  gap: 2.2rem;
  width: max-content;
  animation: marquee 40s linear infinite;
  will-change: transform;
}
.mq-group { display: inline-flex; gap: 2.2rem; align-items: center; white-space: nowrap; }
@keyframes marquee { to { transform: translateX(-50%); } }
.marquee-wrap:hover .marquee { animation-play-state: paused; }
.marquee--text {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 800;
  letter-spacing: -0.025em;
  color: var(--brand-sage);
}
.marquee--text .mq-star { color: var(--on-dark-muted); }

.star-spin { animation: spin 60s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.float { animation: float 7s ease-in-out infinite; }
@keyframes float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-14px); } }

/* Scroll reveal, JS adds .is-visible (site.js). Gated on html.js, which the inline
   <head> script sets and the site.js onerror handler removes, so with scripts off or
   site.js failing to load nothing is ever hidden. Decorative elements only: the
   policy articles, forms and legally required text never carry .reveal. */
html.js .reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.8s cubic-bezier(0.22, 0.61, 0.36, 1), transform 0.8s cubic-bezier(0.22, 0.61, 0.36, 1);
  transition-delay: var(--reveal-delay, 0ms);
}
html.js .reveal.is-visible { opacity: 1; transform: none; }

.display-xl { font-family: var(--font-display); font-weight: 800; letter-spacing: -0.045em; line-height: 0.98; }

/* Chip rail: one swipeable row on phones, a normal wrapping row from sm up. */
.chip-rail {
  display: flex;
  gap: 0.625rem;
  overflow-x: auto;
  padding-bottom: 0.35rem;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
  scroll-snap-type: x proximity;
  overscroll-behavior-x: contain;
}
.chip-rail::-webkit-scrollbar { display: none; }
.chip-rail > * { flex: 0 0 auto; scroll-snap-align: start; }
@media (min-width: 640px) {
  .chip-rail { flex-wrap: wrap; overflow-x: visible; padding-bottom: 0; }
}

/* ---- Long-form prose (ContentBand / legal-prose) ---- */
.prose { font-size: 15.5px; line-height: 1.7; color: var(--body-2); min-width: 0; overflow-wrap: anywhere; }
.prose > :first-child { margin-top: 0; }
.prose p { margin: 0 0 1rem; }
.prose h2 { font-family: var(--font-display); font-weight: 800; font-size: 1.6rem; letter-spacing: -0.03em; line-height: 1.15; margin: 2.25rem 0 0.75rem; color: var(--ink); }
.prose h3 { font-family: var(--font-display); font-weight: 700; font-size: 1.1rem; letter-spacing: -0.02em; line-height: 1.3; margin: 1.5rem 0 0.5rem; color: var(--ink); text-transform: none; }
.prose strong { color: var(--brand-green); font-weight: 650; }
.prose a { color: var(--accent); text-decoration: none; border-bottom: 1px solid rgba(31, 138, 91, 0.35); }
.prose a:hover { border-bottom-color: var(--accent); }
.prose ul, .prose ol { margin: 0 0 1rem; padding-left: 1.2rem; }
.prose li { margin: 0.3rem 0; }
.prose li::marker { color: var(--accent); }
.prose hr { margin: 2rem 0 1.25rem; }
.prose .lede { font-size: 17px; line-height: 1.65; color: var(--body-2); margin-bottom: 1.5rem; }
.prose table {
  width: 100%;
  border-collapse: collapse;
  margin: 1.1rem 0;
  font-size: 14px;
  line-height: 1.5;
}
.prose th, .prose td { border: 1px solid var(--line); padding: 0.55rem 0.75rem; text-align: left; vertical-align: top; }
.prose th { background: var(--brand-sand); color: var(--brand-green); font-weight: 700; }
.prose .card { margin: 0 0 1rem; }
.prose .card h2 { margin-top: 0; font-size: 1.4rem; }
.prose .card h3 { margin: 0 0 0.4rem; font-size: 1.15rem; }
.prose .card p, .prose .card li { font-size: 15px; }
.prose .card p { margin: 0; }
.prose .card p + p { margin-top: 0.75rem; }
.prose .card ul, .prose .card ol { margin-bottom: 0; }
.table-wrap { overflow-x: auto; -webkit-overflow-scrolling: touch; margin: 0 0 1rem; }
.table-wrap table { margin: 0; min-width: 560px; }
.callout {
  border-left: 4px solid var(--accent);
  background: var(--paper);
  border-radius: 0 16px 16px 0;
  padding: 1rem 1.2rem;
  margin: 1rem 0 1.5rem;
}
.callout > :last-child { margin-bottom: 0; }
.placeholder { background: #fff3c4; border-radius: 6px; padding: 0 0.25em; color: var(--ink); font-weight: 700; }
.lede { font-size: 18px; line-height: 1.6; color: var(--body-2); }
.meta { font-size: 0.9rem; line-height: 1.55; color: var(--ink-muted); }
.meta a { color: var(--accent); }
.meta a:hover { color: var(--brand-green); }

/* ================= Header (Header.astro) ================= */
.hdr { position: sticky; top: 1rem; z-index: 100; padding-inline: 1.5rem; }
.hdr-inner { margin-inline: auto; max-width: 1240px; }
.hdr-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  border-radius: 60px;
  padding: 0.875rem 0.875rem 0.875rem 1.75rem;
  background: rgba(255, 255, 255, 0.85);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
  box-shadow: 0 10px 34px rgba(56, 68, 60, 0.10);
}
.hdr-logo { display: inline-flex; align-items: center; }
.hdr-logo img { height: 34px; width: auto; }
.hdr-nav { display: none; align-items: center; gap: 2rem; font-size: 15px; color: var(--ink-muted); }
.hdr-nav a { transition: color 0.2s; }
.hdr-nav a:hover { color: var(--brand-green); }
.hdr-nav a[aria-current="page"] { color: var(--brand-green); font-weight: 600; }
.hdr-right { display: flex; min-height: 44px; align-items: center; justify-content: flex-end; gap: 0.875rem; }
.hdr-cta {
  display: none;
  border-radius: 9999px;
  background: var(--brand-mint);
  padding: 0.625rem 1rem;
  font-size: 13.5px;
  font-weight: 600;
  color: var(--brand-green);
  transition: transform 0.2s;
}
.hdr-cta:hover { transform: scale(1.05); }
.hdr-toggle {
  display: grid;
  height: 44px;
  width: 44px;
  flex-shrink: 0;
  cursor: pointer;
  place-items: center;
  border: 0;
  border-radius: 9999px;
  background: transparent;
  color: var(--brand-green);
  transition: background 0.2s;
}
.hdr-toggle:hover { background: rgba(209, 242, 216, 0.6); }
.hdr-toggle svg.hidden { display: none; }
.hdr-menu {
  margin-top: 0.5rem;
  overflow: hidden;
  border-radius: 28px;
  background: rgba(255, 255, 255, 0.96);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
  box-shadow: 0 12px 34px rgba(56, 68, 60, 0.14);
}
.hdr-menu.hidden { display: none; }
.hdr-menu nav { display: flex; flex-direction: column; padding: 0.75rem; font-size: 16px; color: var(--brand-green); }
.hdr-menu nav a { border-radius: 16px; padding: 0.875rem 1rem; font-weight: 500; transition: background 0.2s; }
.hdr-menu nav a:hover { background: rgba(209, 242, 216, 0.5); }
.hdr-menu nav a[aria-current="page"] { background: rgba(209, 242, 216, 0.5); font-weight: 600; }
.hdr-menu nav .hdr-menu-cta { margin-top: 0.375rem; background: var(--brand-green); color: var(--brand-mint); text-align: center; font-weight: 600; }
.hdr-menu nav .hdr-menu-cta:hover { background: var(--brand-green-700); }
@media (min-width: 768px) {
  .hdr-logo img { height: 38px; }
  .hdr-nav { display: flex; }
  .hdr-cta { display: inline-block; }
  .hdr-toggle, .hdr-menu { display: none; }
}

/* ================= Footer (Footer.astro) ================= */
.ftr { padding-top: 4rem; padding-bottom: 2rem; }
.ftr-panel {
  padding: clamp(2.5rem, 4vw, 4.5rem) clamp(1.5rem, 4vw, 4.5rem);
  color: #cfd6cf;
}
.ftr-mark { bottom: -7rem; right: -7rem; width: 360px; opacity: 0.07; }
.ftr-top {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 2.5rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  padding-bottom: 2.75rem;
}
.ftr-brand img { height: 44px; width: auto; }
.ftr-brand p { margin-top: 1.25rem; max-width: 20rem; font-size: 0.875rem; line-height: 1.625; color: var(--brand-sage); }
.ftr-cols {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  column-gap: 2.5rem;
  row-gap: 2rem;
  font-size: 0.875rem;
}
.ftr-col { display: flex; flex-direction: column; gap: 0.75rem; }
.ftr-col h2 {
  margin-bottom: 0.25rem;
  font-family: var(--font-sans);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--brand-sage);
  line-height: 1.4;
}
.ftr-col a { transition: color 0.2s; overflow-wrap: anywhere; }
.ftr-col a:hover { color: #fff; }
.ftr-col span { color: #cfd6cf; }
.ftr-bottom {
  margin-top: 1.75rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 0.5rem;
  font-size: 0.75rem;
  color: #7d877c;
}
.ftr-bottom .caps { text-transform: uppercase; letter-spacing: 0.12em; }
@media (max-width: 639.98px) { .ftr-col--contact { grid-column: span 2; } }
@media (min-width: 640px) { .ftr-cols { grid-template-columns: repeat(4, auto); } }
@media (min-width: 768px) { .ftr-bottom { flex-direction: row; } }
@media (min-width: 1280px) { .ftr-top { flex-direction: row; } .ftr-cols { flex: 0 0 auto; column-gap: 3.5rem; } }

/* ================= Home: hero ================= */
.hero-panel { padding: clamp(2.5rem, 5vw, 5.5rem) clamp(1.4rem, 4.5vw, 4.5rem); }
.hero-mark { right: -8rem; top: -8rem; width: 460px; opacity: 0.5; }
.hero-grid { display: grid; align-items: center; gap: 3rem; }
.hero h1 { margin-top: 1.75rem; font-size: clamp(2.6rem, 6.5vw, 4.9rem); color: var(--brand-green); }
.hero .lede { margin-top: 1.75rem; max-width: 28rem; }
.hero-actions { margin-top: 2.25rem; display: flex; flex-wrap: wrap; align-items: center; gap: 0.75rem; }
.hero-note { margin-top: 1.25rem; }
.hero-phone { display: flex; justify-content: center; }
@media (min-width: 1024px) {
  .hero-grid { grid-template-columns: 1.15fr 0.85fr; gap: 4rem; }
  .hero-phone { justify-content: flex-end; padding-right: 1rem; }
}

/* Store badges: inline SVG, 180x54 at 1x. Placeholders for the official artwork. */
.store-badge { display: inline-block; line-height: 0; border-radius: 8px; transition: transform 0.25s cubic-bezier(0.2, 0.8, 0.2, 1), box-shadow 0.25s; }
.store-badge:hover { transform: translateY(-3px); box-shadow: var(--shadow-lift); }
.store-badge svg { width: 180px; height: 54px; }
@media (max-width: 400px) { .store-badge svg { width: 150px; height: 45px; } }

/* Phone mockup (HTML/CSS, no image). 300x620, scaled down on narrow screens. */
.phone-wrap { --s: 1; width: calc(300px * var(--s)); height: calc(620px * var(--s)); }
.phone-mock {
  width: 300px;
  height: 620px;
  transform: scale(var(--s));
  transform-origin: top left;
  border-radius: 44px;
  background: var(--brand-green);
  padding: 10px;
  box-shadow: 0 24px 60px rgba(56, 68, 60, 0.22), inset 0 0 0 2px rgba(255, 255, 255, 0.06);
}
@media (max-width: 420px) { .phone-wrap { --s: 0.82; } }
.phone-screen {
  position: relative;
  height: 100%;
  border-radius: 35px;
  background: var(--paper);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  padding: 18px 16px 0;
  font-family: var(--font-sans);
  color: var(--ink);
}
.phone-screen::before {
  content: "";
  position: absolute;
  top: 10px;
  left: 50%;
  width: 84px;
  height: 24px;
  margin-left: -42px;
  border-radius: 12px;
  background: var(--brand-green);
}
.ps-top { display: flex; align-items: center; justify-content: space-between; margin-top: 26px; }
.ps-logo { display: inline-flex; align-items: center; gap: 6px; font-weight: 800; font-size: 15px; letter-spacing: -0.03em; }
.ps-logo svg { width: 16px; height: 16px; color: var(--accent); }
.ps-avatar { width: 28px; height: 28px; border-radius: 50%; background: var(--brand-blue); border: 2px solid #fff; }
.ps-h { margin-top: 16px; font-weight: 800; font-size: 25px; letter-spacing: -0.045em; line-height: 1; }
.ps-h .accent { color: var(--accent); }
.ps-card { margin-top: 14px; background: #fff; border-radius: 22px; padding: 14px 14px 12px; box-shadow: 0 6px 20px rgba(56, 68, 60, 0.08); }
.ps-card--mint { background: var(--brand-mint); box-shadow: none; }
.ps-label { font-size: 11px; font-weight: 700; letter-spacing: 0.02em; color: var(--ink-muted); }
.ps-big { margin-top: 6px; font-size: 20px; font-weight: 800; letter-spacing: -0.03em; line-height: 1.1; }
.ps-big span { font-weight: 600; color: var(--ink-muted); font-size: 15px; letter-spacing: -0.01em; }
.ps-pill { margin-top: 12px; display: inline-flex; align-items: center; height: 36px; padding: 0 16px; border-radius: 40px; background: var(--brand-green); color: var(--brand-mint); font-size: 12.5px; font-weight: 700; }
.ps-row { margin-top: 12px; display: flex; align-items: center; gap: 10px; font-size: 12px; font-weight: 700; color: var(--ink); padding: 0 4px; }
.ps-bar { flex: 1; height: 8px; border-radius: 4px; background: var(--brand-sand); overflow: hidden; }
.ps-bar i { display: block; height: 100%; width: 66%; background: var(--accent); border-radius: 4px; }
.ps-rate { display: flex; align-items: center; justify-content: space-between; margin-top: 8px; font-size: 12px; font-weight: 600; }
.ps-dots { display: flex; gap: 5px; }
.ps-dots i { width: 14px; height: 14px; border-radius: 50%; background: rgba(255, 255, 255, 0.75); }
.ps-dots i.on { background: var(--accent); }
.ps-tabs {
  margin-top: auto;
  margin-left: -16px;
  margin-right: -16px;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  align-items: end;
  padding: 10px 8px 16px;
  background: #fff;
  border-top: 1px solid var(--line);
  font-size: 9.5px;
  font-weight: 700;
  color: var(--ink-muted);
  text-align: center;
}
.ps-tabs span { display: flex; flex-direction: column; align-items: center; gap: 3px; }
.ps-tabs svg { width: 18px; height: 18px; }
.ps-tabs .on { color: var(--brand-green); }
.ps-tabs .ps-log { position: relative; top: -16px; }
.ps-tabs .ps-log i {
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: var(--brand-green);
  color: var(--brand-mint);
  box-shadow: 0 8px 20px rgba(56, 68, 60, 0.3);
  font-style: normal;
  font-size: 22px;
  font-weight: 600;
  line-height: 1;
}
.ps-tabs .ps-log i svg { width: 20px; height: 20px; }

/* ================= Home: sections ================= */
.section-head { margin-bottom: 2.25rem; max-width: 40rem; }
.section-head h2, .h2-section { margin-top: 1.25rem; font-size: clamp(2rem, 5vw, 2.9rem); letter-spacing: -0.04em; }
.section-head p { margin-top: 0.9rem; font-size: 16.5px; line-height: 1.6; color: var(--ink-muted); }

/* Feature bands (ContentBand.astro: 340px_1fr) */
.band { margin-top: 1.5rem; }
.band:first-child { margin-top: 0; }
.band-grid { display: grid; gap: 2rem; }
.band-head h2 { font-size: clamp(1.6rem, 3.4vw, 2.3rem); line-height: 1.15; letter-spacing: -0.03em; color: var(--brand-green); }
.band-head p { margin-top: 0.9rem; font-size: 15.5px; line-height: 1.7; color: var(--body-2); max-width: 30ch; }
.band-cards { display: grid; gap: 1.25rem; }
@media (min-width: 640px) { .band-cards { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1024px) {
  .band-grid { grid-template-columns: 300px 1fr; gap: 3rem; }
  .band-cards { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (min-width: 1280px) {
  .band-grid { grid-template-columns: 340px 1fr; gap: 3.5rem; }
  .band-cards { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .band-cards--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
.feature { padding: 1.75rem; }
.feature .icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  margin-bottom: 1.1rem;
  border-radius: 50%;
  background: var(--brand-mint);
  color: var(--brand-green);
}
.feature .icon svg { width: 22px; height: 22px; }
.feature h3 { font-size: 19px; letter-spacing: -0.03em; line-height: 1.15; margin-bottom: 0.5rem; text-transform: none; }
.feature p { font-size: 15px; line-height: 1.6; color: var(--body-2); }

/* Privacy strip (dark panel + promise tiles) */
.privacy-panel { padding: clamp(2.5rem, 4vw, 5rem) clamp(1.5rem, 4.5vw, 4.5rem); }
.privacy-mark { bottom: -8rem; left: -8rem; width: 400px; opacity: 0.07; }
.privacy-panel h2 { margin-top: 1.75rem; font-size: clamp(2rem, 4.5vw, 3.1rem); color: #f1f4ee; }
.privacy-panel h2 .accent { color: var(--brand-mint); }
.privacy-panel .lede { margin-top: 1.5rem; max-width: 28rem; font-size: 16.5px; color: #aeb6ac; }
.promise-grid { margin-top: 2.5rem; display: grid; gap: 1.25rem; }
@media (min-width: 640px) { .promise-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1280px) { .promise-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.promise {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  border-radius: 24px;
  background: var(--surface);
  padding: 1.75rem;
  color: var(--ink);
}
.promise-k { font-family: var(--font-display); font-size: 30px; font-weight: 800; letter-spacing: -0.04em; line-height: 1; color: var(--accent); flex-shrink: 0; min-width: 2.2rem; }
.promise-k svg { width: 28px; height: 28px; margin-top: 1px; }
.promise strong { display: block; font-size: 15px; font-weight: 800; letter-spacing: -0.02em; line-height: 1.2; color: var(--brand-green); text-transform: none; }
.promise p { margin-top: 0.35rem; font-size: 13.5px; font-weight: 600; line-height: 1.45; color: var(--body-2); }
.promise a { color: var(--accent); border-bottom: 1px solid rgba(31, 138, 91, 0.35); }
.privacy-links { margin-top: 1.75rem; font-size: 14px; color: var(--on-dark-muted); }
.privacy-links a { color: var(--brand-mint); font-weight: 600; border-bottom: 1.5px solid rgba(209, 242, 216, 0.5); padding-bottom: 1px; transition: color 0.2s; }
.privacy-links a:hover { color: #f1f4ee; }

/* Screens: phone bezels on a sand panel, snap rail on phones */
.screens-panel { padding: clamp(2rem, 4vw, 4rem) clamp(1.4rem, 4vw, 4rem); }
.screens {
  list-style: none;
  margin: 2rem 0 0;
  padding: 0 0 0.35rem;
  display: flex;
  gap: 1rem;
  overflow-x: auto;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
  scroll-snap-type: x proximity;
  overscroll-behavior-x: contain;
}
.screens::-webkit-scrollbar { display: none; }
.screens > li { flex: 0 0 180px; scroll-snap-align: start; }
@media (min-width: 640px) {
  .screens { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); overflow-x: visible; padding-bottom: 0; }
  .screens > li { flex: initial; }
}
@media (min-width: 1024px) { .screens { grid-template-columns: repeat(6, minmax(0, 1fr)); } }
.phone {
  position: relative;
  margin: 0;
  aspect-ratio: 390 / 844;
  border-radius: 28px;
  border: 7px solid var(--brand-green);
  background: var(--paper);
  overflow: hidden;
  box-shadow: var(--shadow-soft);
}
.phone img { width: 100%; height: 100%; object-fit: cover; color: var(--ink-muted); font-size: 0.78rem; line-height: 1.4; text-align: center; padding: 1rem 0.75rem; }
/* Missing screenshot (img onerror adds .phone--missing): hide the broken image and draw a sand card named after the screen. */
.phone--missing { background: var(--brand-sand); }
.phone--missing img { display: none; }
.phone--missing::before {
  content: attr(data-screen);
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  padding: 1rem 0.75rem 2.5rem;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.05rem;
  letter-spacing: -0.03em;
  text-align: center;
  color: var(--ink-muted);
}
.phone figcaption {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  padding: 0.45rem 0.6rem;
  background: rgba(56, 68, 60, 0.85);
  color: var(--brand-mint);
  font-size: 0.75rem;
  font-weight: 700;
  text-align: center;
}

/* FAQ ("good questions" layout) */
.faq-grid { display: grid; align-items: start; gap: 3rem; }
@media (min-width: 1024px) { .faq-grid { grid-template-columns: 380px 1fr; gap: 4rem; } .faq-aside { position: sticky; top: 7rem; } }
.faq-aside h2 { margin-bottom: 1rem; font-size: clamp(2rem, 5vw, 2.9rem); line-height: 1; }
.faq-aside > p { margin-bottom: 2rem; font-size: 15.5px; line-height: 1.6; color: var(--ink-muted); }
.faq-still .label { margin-bottom: 1rem; font-size: 0.75rem; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: #8a948a; }
.faq-still .links { display: flex; flex-direction: column; gap: 0.75rem; font-size: 0.875rem; }
.faq-still .links a { color: var(--ink); transition: color 0.2s; }
.faq-still .links a:hover { color: var(--accent); }
.faq-still .links span { font-size: 13px; color: #8a948a; }
.faq details { border-top: 1px solid var(--line); }
.faq details:last-child { border-bottom: 1px solid var(--line); }
.faq summary {
  list-style: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.25rem;
  padding: 1.4rem 0.25rem;
  font-family: var(--font-display);
  font-size: 19px;
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.25;
  color: var(--ink);
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary .chev {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--brand-sand);
  color: var(--ink);
  transition: transform 0.3s cubic-bezier(0.2, 0.8, 0.2, 1), background 0.3s;
}
.faq summary .chev svg { width: 18px; height: 18px; }
.faq details[open] summary .chev { transform: rotate(180deg); background: var(--brand-mint); color: var(--accent); }
.faq details p { max-width: 600px; padding: 0 0.25rem 1.6rem; font-size: 15.5px; line-height: 1.6; color: var(--body-2); }
.faq details p a { color: var(--accent); border-bottom: 1px solid rgba(31, 138, 91, 0.35); }

/* ================= Policy and utility pages ================= */
.doc { padding-top: 2.5rem; padding-bottom: 4rem; }
.doc-head { margin-bottom: 2rem; max-width: 46rem; }
.doc-head h1 { margin-top: 1.25rem; font-size: clamp(2.3rem, 5.5vw, 3.6rem); letter-spacing: -0.045em; }
.doc-head .lede { margin-top: 1.25rem; }
.doc-head .meta { margin-top: 1rem; }
.doc-grid { display: grid; gap: 1.25rem; align-items: start; }
@media (min-width: 1024px) {
  .doc-grid { grid-template-columns: minmax(0, 1fr) 300px; gap: 1.5rem; }
  .doc-side { position: sticky; top: 7rem; order: 2; }
}
.doc-article { padding: clamp(1.6rem, 4vw, 4rem); border-radius: 36px; }
.doc-toc .label { margin-bottom: 0.9rem; font-size: 0.75rem; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: #8a948a; }
.doc-toc ol { margin: 0; padding-left: 1.3rem; font-size: 14px; line-height: 1.45; color: var(--ink); }
.doc-toc li { margin: 0.45rem 0; padding-left: 0.15rem; }
.doc-toc li::marker { color: var(--accent); font-weight: 700; }
.doc-toc a { font-weight: 600; color: var(--ink); transition: color 0.2s; }
.doc-toc a:hover { color: var(--accent); }
@media (max-width: 1023.98px) { .doc-toc ol { columns: 2; column-gap: 2rem; } }
@media (max-width: 479.98px) { .doc-toc ol { columns: 1; } }
.doc-foot { margin-top: 2rem; }

.split { display: grid; gap: 1.25rem; align-items: start; }
@media (min-width: 900px) { .split { grid-template-columns: 1.1fr 1fr; } }
.narrow { max-width: 44rem; }
.doc .split .card h2, .doc .narrow .card h2 { font-size: 1.4rem; }
.doc .split > div > .card + .card { margin-top: 1.25rem; }

/* Forms */
.field { margin-bottom: 1rem; }
.field label { display: block; margin-bottom: 0.4rem; font-weight: 700; font-size: 0.95rem; }
.input {
  width: 100%;
  min-height: 52px;
  padding: 0.75rem 1.2rem;
  border-radius: 20px;
  border: 1.5px solid var(--line);
  background: var(--paper);
  font: inherit;
  color: var(--ink);
}
.input::placeholder { color: var(--brand-sage); }
.input:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px rgba(31, 138, 91, 0.15); background: #fff; }
.check { display: flex; gap: 0.6rem; align-items: flex-start; font-size: 0.95rem; color: var(--body-2); margin: 1rem 0 1.25rem; cursor: pointer; }
.check input { width: 18px; height: 18px; margin: 3px 0 0; accent-color: var(--accent); flex: 0 0 auto; }
.check input[aria-invalid="true"] { outline: 2px solid var(--danger); outline-offset: 2px; }
.field-error { margin: -0.75rem 0 1rem; font-size: 0.9rem; line-height: 1.5; font-weight: 600; color: var(--danger); }
.honeypot { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.status { display: none; border-radius: 16px; padding: 1rem 1.1rem; margin: 1rem 0; font-size: 0.95rem; font-weight: 500; border: 1px solid transparent; }
.status > :last-child { margin-bottom: 0; }
.status.show { display: block; }
.status p { font-size: 15px; line-height: 1.55; }
.status-ok { background: var(--brand-mint); border-color: rgba(31, 138, 91, 0.25); }
.status-ok p { color: var(--ink); }
.status-warn { background: var(--brand-sand); border-color: rgba(56, 68, 60, 0.2); }
.status-warn p { color: var(--ink); }
.status-err { background: var(--danger-bg); border-color: var(--danger-line); }
.status-err p { color: var(--danger); }
.status a { color: inherit; text-decoration: underline; text-underline-offset: 3px; }
.form-actions { display: grid; gap: 0.5rem; }

/* ---- Reduced motion ---- */
@media (prefers-reduced-motion: reduce) {
  .marquee, .star-spin, .float { animation: none; }
  .marquee--text { width: auto; flex-wrap: wrap; justify-content: center; row-gap: 0.6rem; }
  .marquee--text .mq-group { flex-wrap: wrap; justify-content: center; row-gap: 0.6rem; white-space: normal; }
  .marquee--text .mq-group:not(:first-child) { display: none; }
  html.js .reveal { opacity: 1; transform: none; transition: none; }
  .card-hover, .btn-primary, .btn-ghost, .btn-light, .store-badge, .hdr-cta { transition: none; }
  .card-hover:hover, .btn-primary:hover, .btn-ghost:hover, .btn-light:hover, .store-badge:hover, .hdr-cta:hover { transform: none; }
  .faq summary .chev { transition: none; }
  html { scroll-behavior: auto; }
}
