:root {
  --ink-950: #2c3e50;
  --ink-900: #243242;
  --ink-800: #33495f;
  --ink-700: #587088;
  --green-700: #1f9d5d;
  --green-600: #2ecc71;
  --green-500: #74d89a;
  --teal-600: #1abc9c;
  --teal-500: #35c7a8;
  --orange-700: #d9820c;
  --orange-600: #f39c12;
  --orange-500: #f6b94f;
  --cream-50: #fffdf8;
  --cream-100: #f9f2e7;
  --cream-200: #efe3d2;
  --paper: #fffdfa;
  --mint-50: #eef5ef;
  --line: rgba(44, 62, 80, 0.12);
  --muted: #587088;
  --shadow-xl: 0 28px 80px rgba(44, 62, 80, 0.18);
  --shadow-lg: 0 18px 44px rgba(44, 62, 80, 0.14);
  --shadow-md: 0 12px 28px rgba(44, 62, 80, 0.12);
  --radius-xl: 32px;
  --radius-lg: 24px;
  --radius-md: 18px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  color: var(--ink-950);
  font-family: "Trebuchet MS", "Gill Sans", "Segoe UI", sans-serif;
  background:
    radial-gradient(circle at top left, rgba(247, 178, 63, 0.34), transparent 24%),
    radial-gradient(circle at top right, rgba(131, 187, 78, 0.28), transparent 24%),
    radial-gradient(circle at bottom right, rgba(47, 100, 141, 0.18), transparent 24%),
    linear-gradient(180deg, #f7f1e6 0%, #fffdf8 36%, #eef5ef 100%);
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.18), transparent 20%, transparent 80%, rgba(255, 255, 255, 0.18)),
    repeating-linear-gradient(180deg, rgba(18, 50, 76, 0.025), rgba(18, 50, 76, 0.025) 1px, transparent 1px, transparent 34px);
  opacity: 0.45;
}

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

.site-shell,
.auth-shell {
  position: relative;
  z-index: 1;
  width: min(1280px, calc(100% - 32px));
  margin: 0 auto;
}

.site-shell {
  padding: 28px 0 60px;
}

.site-topbar,
.site-footer,
.feature-ribbon,
.story-card,
.showcase-card,
.safety-card,
.quote-panel,
.hero-copy-panel,
.hero-preview-panel,
.preview-card,
.preview-banner,
.auth-story,
.auth-panel,
.auth-note-card {
  border: 1px solid var(--line);
  box-shadow: var(--shadow-lg);
}

.site-topbar,
.site-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 16px 20px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.74);
  backdrop-filter: blur(18px);
}

.brand-lockup {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  color: inherit;
  text-decoration: none;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 58px;
  height: 58px;
  border-radius: 18px;
  background: linear-gradient(135deg, var(--green-600), var(--green-700));
  color: #fffef9;
  font-weight: 800;
  letter-spacing: 0.04em;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.25);
}

.brand-copy {
  display: grid;
  gap: 2px;
}

.brand-copy strong {
  font-size: 1.28rem;
  letter-spacing: -0.02em;
}

.brand-copy span {
  color: var(--muted);
  font-size: 0.92rem;
}

.site-links {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
}

.site-links a {
  padding: 11px 16px;
  border-radius: 999px;
  color: var(--ink-950);
  text-decoration: none;
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid rgba(18, 50, 76, 0.08);
  transition: transform 0.2s ease, background 0.2s ease, color 0.2s ease;
}

.site-links a:hover,
.site-links a:focus-visible,
.site-link-cta {
  background: var(--ink-950);
  color: #fffef9;
  transform: translateY(-1px);
}

.home-hero {
  display: grid;
  grid-template-columns: 1.08fr 0.92fr;
  gap: 22px;
  margin: 22px 0;
  align-items: stretch;
}

.hero-copy-panel,
.hero-preview-panel,
.auth-story,
.auth-panel {
  border-radius: var(--radius-xl);
}

.hero-copy-panel {
  padding: 42px;
  background:
    linear-gradient(140deg, rgba(255, 255, 255, 0.95), rgba(255, 247, 235, 0.9)),
    linear-gradient(130deg, rgba(47, 100, 141, 0.08), rgba(247, 178, 63, 0.08));
  animation: float-in 0.55s ease both;
}

.hero-preview-panel {
  padding: 24px;
  background: linear-gradient(145deg, rgba(18, 50, 76, 0.97), rgba(47, 100, 141, 0.9));
  color: #f8f4ec;
  animation: float-in 0.7s ease both;
}

.hero-kicker,
.section-label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  width: fit-content;
  padding: 8px 14px;
  border-radius: 999px;
  background: rgba(247, 178, 63, 0.16);
  border: 1px solid rgba(203, 106, 32, 0.24);
  color: #a04f14;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.home-hero h1,
.auth-shell h1 {
  margin: 16px 0 18px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(3rem, 7vw, 5.8rem);
  line-height: 0.94;
  letter-spacing: -0.05em;
}

.auth-shell h1 {
  font-size: clamp(2.6rem, 5vw, 4.2rem);
}

.hero-lede,
.section-heading p,
.showcase-card p,
.story-card p,
.safety-card p,
.quote-panel p,
.auth-panel p,
.auth-note-card li,
.preview-banner p,
.preview-card p,
.preview-card li {
  color: var(--muted);
  line-height: 1.72;
}

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

.btn,
button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  padding: 13px 20px;
  border-radius: 999px;
  border: 1px solid transparent;
  cursor: pointer;
  text-decoration: none;
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.btn:hover,
button:hover,
.btn:focus-visible,
button:focus-visible {
  transform: translateY(-1px);
}

.btn-primary,
button {
  background: linear-gradient(135deg, var(--ink-800), var(--ink-950));
  color: #fffefb;
  box-shadow: 0 16px 30px rgba(18, 50, 76, 0.18);
}

.btn-secondary {
  background: rgba(255, 255, 255, 0.72);
  border-color: rgba(18, 50, 76, 0.14);
  color: var(--ink-950);
}

.promise-row,
.hero-stat-row,
.mini-chip-row,
.showcase-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.promise-row {
  margin-top: 22px;
}

.promise-chip,
.mini-chip-row span,
.showcase-tags span {
  padding: 8px 12px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.8);
  border: 1px solid rgba(18, 50, 76, 0.08);
}

.hero-stat-row {
  margin-top: 18px;
}

.hero-stat-card {
  flex: 1 1 220px;
  display: grid;
  gap: 8px;
  padding: 16px 18px;
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.8);
  border: 1px solid rgba(18, 50, 76, 0.08);
  box-shadow: 0 12px 28px rgba(18, 50, 76, 0.08);
}

.hero-stat-card strong,
.auth-step-card strong {
  font-size: 0.8rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.preview-banner {
  padding: 20px;
  border-radius: 24px;
  background: linear-gradient(140deg, rgba(255, 255, 255, 0.14), rgba(255, 255, 255, 0.06));
}

.preview-badge {
  display: inline-flex;
  padding: 6px 10px;
  border-radius: 999px;
  background: rgba(131, 187, 78, 0.22);
  color: #f6f0e4;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.preview-banner strong {
  display: block;
  margin-top: 12px;
  font-size: 1.5rem;
  line-height: 1.2;
}

.preview-banner p,
.preview-card p,
.preview-card li {
  color: rgba(248, 244, 236, 0.8);
}

.preview-grid {
  display: grid;
  gap: 16px;
  margin-top: 16px;
}

.preview-card {
  padding: 18px;
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.08);
}

.preview-card-blue {
  background: linear-gradient(135deg, rgba(47, 100, 141, 0.34), rgba(32, 69, 100, 0.2));
}

.preview-card-orange {
  background: linear-gradient(135deg, rgba(238, 143, 39, 0.34), rgba(203, 106, 32, 0.18));
}

.preview-card-green {
  background: linear-gradient(135deg, rgba(131, 187, 78, 0.28), rgba(63, 127, 52, 0.18));
}

.preview-title {
  display: block;
  margin-bottom: 12px;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.preview-card ul,
.auth-note-card ul {
  margin: 10px 0 0;
  padding-left: 18px;
}

.mini-calendar {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 10px 14px;
  color: rgba(248, 244, 236, 0.9);
}

.feature-ribbon {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  padding: 18px;
  border-radius: 28px;
  background: rgba(255, 255, 255, 0.78);
}

.ribbon-panel {
  padding: 20px;
  border-radius: 22px;
  color: #fffef7;
}

.ribbon-panel strong {
  display: block;
  margin-bottom: 8px;
  font-size: 1.08rem;
}

.ribbon-blue {
  background: linear-gradient(135deg, var(--ink-700), var(--ink-950));
}

.ribbon-green {
  background: linear-gradient(135deg, var(--green-600), var(--green-700));
}

.ribbon-orange {
  background: linear-gradient(135deg, var(--orange-600), var(--orange-700));
}

.story-section,
.safety-section,
.journey-band,
.experience-grid {
  margin-top: 28px;
}

.journey-band,
.experience-grid {
  display: grid;
  gap: 18px;
}

.journey-band {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.journey-card,
.experience-card {
  padding: 24px;
  border-radius: 28px;
  border: 1px solid var(--line);
  box-shadow: var(--shadow-lg);
  background: var(--paper);
}

.journey-card h3,
.experience-card h3 {
  margin: 12px 0 10px;
  font-size: 1.4rem;
}

.journey-card-blue {
  background: linear-gradient(145deg, rgba(47, 100, 141, 0.96), rgba(24, 51, 76, 0.92));
  color: #fffef9;
}

.journey-card-green {
  background: linear-gradient(145deg, rgba(91, 157, 63, 0.96), rgba(53, 109, 42, 0.9));
  color: #fffef9;
}

.journey-card-orange {
  background: linear-gradient(145deg, rgba(238, 143, 39, 0.94), rgba(203, 106, 32, 0.9));
  color: #fffef9;
}

.journey-card .section-label,
.experience-card-dark .section-label {
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.14);
  color: rgba(255, 248, 236, 0.9);
}

.journey-card p,
.experience-card-dark p {
  color: rgba(255, 248, 236, 0.86);
}

.experience-grid {
  grid-template-columns: 1.2fr 1fr 1fr;
}

.experience-card-dark {
  grid-row: span 2;
  background: linear-gradient(145deg, rgba(18, 50, 76, 0.97), rgba(47, 100, 141, 0.92));
  color: #fffef9;
}

.experience-card-dark h2 {
  margin: 12px 0 10px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(2rem, 4vw, 3rem);
  line-height: 1.02;
  letter-spacing: -0.04em;
}

.section-heading {
  max-width: 760px;
  margin-bottom: 18px;
}

.section-heading h2,
.quote-panel h2,
.showcase-card h2 {
  margin: 12px 0 10px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(2rem, 4vw, 3.2rem);
  line-height: 1.02;
  letter-spacing: -0.04em;
}

.story-grid,
.showcase-grid,
.safety-grid,
.auth-story-grid {
  display: grid;
  gap: 18px;
}

.story-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.story-card,
.showcase-card,
.safety-card,
.auth-note-card,
.quote-panel {
  padding: 24px;
  border-radius: 28px;
  background: var(--paper);
}

.story-step {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  border-radius: 16px;
  margin-bottom: 18px;
  background: linear-gradient(135deg, var(--orange-600), var(--orange-500));
  color: #fffef9;
  font-weight: 800;
}

.story-card h3,
.showcase-card h3,
.safety-card h3,
.auth-note-card h2 {
  margin: 0 0 10px;
  font-size: 1.35rem;
}

.showcase-grid {
  grid-template-columns: 1.2fr 1fr 1fr;
  margin-top: 28px;
}

.showcase-large {
  grid-row: span 2;
  background:
    linear-gradient(145deg, rgba(18, 50, 76, 0.97), rgba(47, 100, 141, 0.92)),
    linear-gradient(145deg, rgba(131, 187, 78, 0.14), rgba(247, 178, 63, 0.14));
  color: #fffef9;
}

.showcase-large p,
.showcase-large .section-label {
  color: rgba(255, 248, 236, 0.88);
}

.showcase-large .section-label {
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.14);
}

.safety-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.quote-panel {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 18px;
  margin-top: 28px;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.92), rgba(240, 247, 236, 0.9));
}

.site-footer {
  margin: 28px 0 8px;
}

.site-footer div {
  display: grid;
  gap: 4px;
}

.site-footer span {
  color: var(--muted);
}

.site-footer a {
  color: var(--ink-950);
  text-decoration: none;
  font-weight: 700;
}

.site-footer .site-links-footer {
  display: flex;
  justify-content: flex-end;
  gap: 10px;
}

.login-page {
  display: grid;
  place-items: center;
}

.auth-shell {
  display: grid;
  grid-template-columns: 1.08fr 0.92fr;
  gap: 20px;
  padding: 30px 0;
}

.auth-story {
  padding: 34px;
  background:
    linear-gradient(150deg, rgba(18, 50, 76, 0.96), rgba(47, 100, 141, 0.92)),
    linear-gradient(130deg, rgba(247, 178, 63, 0.18), rgba(131, 187, 78, 0.18));
  color: #fff8ec;
}

.auth-story .brand-copy span,
.auth-story .hero-lede,
.auth-story .auth-note-card li {
  color: rgba(255, 248, 236, 0.82);
}

.auth-story .hero-kicker {
  margin-top: 24px;
  color: #fff6e9;
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.12);
}

.auth-story-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin-top: 24px;
}

.auth-trust-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 18px;
}

.auth-trust-strip span {
  display: inline-flex;
  align-items: center;
  padding: 9px 13px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: rgba(255, 248, 236, 0.9);
}

.auth-legal-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 18px;
}

.auth-legal-strip a {
  color: #fff8ec;
  text-decoration: none;
  font-weight: 700;
}

.auth-note-card {
  background: rgba(255, 255, 255, 0.08);
}

.auth-note-card-contrast {
  background: rgba(247, 178, 63, 0.14);
}

.auth-panel {
  padding: 30px;
  background: rgba(255, 255, 255, 0.9);
}

.auth-steps {
  display: grid;
  gap: 12px;
  margin: 18px 0 22px;
}

.auth-step-card {
  display: grid;
  gap: 6px;
  padding: 14px 16px;
  border-radius: 18px;
  background: rgba(251, 248, 242, 0.88);
  border: 1px solid rgba(18, 50, 76, 0.08);
}

.auth-panel-head h2 {
  margin: 8px 0 10px;
  font-size: 2rem;
}

.auth-panel form {
  display: grid;
  gap: 16px;
}

.auth-panel label {
  display: grid;
  gap: 8px;
  color: var(--ink-950);
}

.privacy-panel-copy,
.privacy-form {
  display: grid;
  gap: 12px;
}

.privacy-panel-copy {
  margin: 14px 0 16px;
}

.privacy-form + .privacy-form {
  margin-top: 18px;
}

.privacy-form label {
  display: grid;
  gap: 8px;
  color: var(--ink-950);
}

.privacy-form-split {
  padding-top: 18px;
  border-top: 1px solid rgba(18, 50, 76, 0.08);
}

.privacy-note {
  margin: 18px 0 0;
  color: var(--muted);
  line-height: 1.6;
}

input:not([type="checkbox"]):not([type="radio"]),
select,
textarea {
  width: 100%;
  padding: 13px 14px;
  border-radius: 16px;
  border: 1px solid rgba(18, 50, 76, 0.12);
  background: rgba(255, 255, 255, 0.9);
  color: var(--ink-950);
}

textarea {
  resize: vertical;
}

input[type="checkbox"],
input[type="radio"] {
  width: auto;
  padding: 0;
}

.auth-actions {
  margin-top: 8px;
}

.status {
  min-height: 24px;
  margin-top: 18px;
  color: var(--muted);
}

.status.error {
  color: #a24728;
}

.status.ok {
  color: #2d7441;
}

.auth-footnote {
  margin-top: 16px;
  color: var(--muted);
  font-size: 0.94rem;
}

.legal-shell {
  padding-bottom: 42px;
}

.legal-grid {
  margin-top: 32px;
}

.legal-copy-card {
  margin-top: 32px;
}

.legal-richtext {
  display: grid;
  gap: 16px;
  line-height: 1.75;
  color: var(--ink-950);
}

.legal-richtext h2,
.legal-richtext h3,
.legal-richtext p,
.legal-richtext ul {
  margin: 0;
}

.legal-table-wrap {
  margin-top: 24px;
}

.legal-table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 14px;
  border-radius: 20px;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.82);
}

.legal-table th,
.legal-table td {
  padding: 12px 14px;
  text-align: left;
  vertical-align: top;
  border-bottom: 1px solid rgba(23, 50, 82, 0.08);
}

.legal-table th {
  background: rgba(23, 50, 82, 0.06);
  font-size: 0.92rem;
}

.legal-pre {
  margin: 0;
  min-height: 180px;
  white-space: pre-wrap;
  font-family: "Consolas", "Courier New", monospace;
  font-size: 0.9rem;
  color: var(--ink-950);
}

.mfa {
  display: none;
  margin-top: 16px;
}

@keyframes float-in {
  from {
    opacity: 0;
    transform: translateY(18px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (max-width: 1120px) {
  .home-hero,
  .auth-shell,
  .story-grid,
  .showcase-grid,
  .safety-grid,
  .quote-panel,
  .feature-ribbon,
  .auth-story-grid {
    grid-template-columns: 1fr;
  }

  .showcase-large {
    grid-row: auto;
  }

  .journey-band,
  .experience-grid {
    grid-template-columns: 1fr;
  }

  .experience-card-dark {
    grid-row: auto;
  }
}

@media (max-width: 820px) {
  .site-shell,
  .auth-shell {
    width: min(100% - 24px, 100%);
  }

  .site-topbar,
  .site-footer {
    border-radius: 28px;
    align-items: flex-start;
  }

  .site-topbar,
  .site-footer,
  .site-links,
  .site-links-footer,
  .auth-legal-strip {
    flex-direction: column;
  }

  .hero-copy-panel,
  .hero-preview-panel,
  .auth-story,
  .auth-panel,
  .story-card,
  .showcase-card,
  .safety-card,
  .quote-panel {
    padding: 22px;
  }

  .home-hero h1,
  .auth-shell h1 {
    font-size: clamp(2.4rem, 10vw, 3.8rem);
  }
}

body {
  background:
    radial-gradient(circle at top right, rgba(46, 204, 113, 0.14), transparent 45%),
    radial-gradient(circle at 20% 20%, rgba(26, 188, 156, 0.12), transparent 40%),
    linear-gradient(180deg, var(--cream-100), #fffaf3 45%, var(--mint-50) 100%);
  color: var(--ink-950);
  font-family: "Trebuchet MS", "Gill Sans", "Segoe UI", sans-serif;
}

.site-shell {
  width: min(1180px, 94%);
  margin: 0 auto;
  padding: 32px 0 64px;
}

.site-topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 18px 24px;
  border-radius: 999px;
  background: rgba(255, 253, 250, 0.94);
  border: 1px solid rgba(44, 62, 80, 0.08);
  box-shadow: var(--shadow-md);
}

.brand-mark {
  width: 56px;
  height: 56px;
  border-radius: 18px;
  background: linear-gradient(135deg, var(--green-600), var(--green-700));
  color: #fff;
  font-weight: 800;
  letter-spacing: 0.06em;
}

.site-links a {
  background: rgba(255, 255, 255, 0.76);
  border: 1px solid rgba(44, 62, 80, 0.08);
}

.site-links a:hover,
.site-links a:focus-visible,
.site-link-cta {
  background: linear-gradient(135deg, var(--green-600), var(--green-700));
  color: #fff;
  border-color: transparent;
}

.hero {
  display: grid;
  gap: 20px;
  margin-top: 26px;
}

.hero-band {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 26px;
  padding: 36px;
  border-radius: 36px;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.96), rgba(249, 242, 231, 0.9)),
    url("/assets/hero-veg.svg");
  background-size: cover;
  background-position: center;
  border: 1px solid rgba(44, 62, 80, 0.08);
  box-shadow: var(--shadow-xl);
}

.hero-text h1 {
  margin: 16px 0 14px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(2.8rem, 6vw, 4.8rem);
  line-height: 0.98;
  letter-spacing: -0.04em;
}

.hero-lede {
  max-width: 460px;
  color: var(--muted);
  font-size: 1.02rem;
}

.hero-cta {
  padding: 14px 30px;
  font-weight: 700;
}

.hero-subtitle {
  margin-top: 18px;
  font-weight: 700;
  color: var(--ink-900);
}

.btn-primary,
button {
  background: linear-gradient(135deg, var(--green-600), var(--green-700));
  color: #fff;
  box-shadow: 0 16px 30px rgba(46, 204, 113, 0.22);
}

.btn-secondary {
  background: rgba(255, 255, 255, 0.86);
  border-color: rgba(44, 62, 80, 0.14);
  color: var(--ink-950);
}

.hero-visual {
  display: grid;
  align-content: center;
  justify-items: center;
}

.phone-mock {
  width: min(280px, 100%);
  padding: 14px;
  border-radius: 34px;
  background: #101820;
  box-shadow: 0 26px 50px rgba(16, 24, 32, 0.28);
}

.phone-screen {
  border-radius: 26px;
  background: #fff;
  padding: 18px;
  display: grid;
  gap: 10px;
  color: var(--ink-950);
  text-align: left;
}

.phone-head {
  font-weight: 700;
  color: var(--ink-900);
}

.phone-scan {
  background: linear-gradient(135deg, var(--green-600), var(--green-700));
  color: #fff;
  border-radius: 12px;
  padding: 8px 12px;
  font-weight: 700;
  text-align: center;
}

.phone-row {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.92rem;
  color: var(--muted);
}

.dot {
  width: 10px;
  height: 10px;
  border-radius: 999px;
  background: var(--green-600);
}

.dot.warn {
  background: var(--orange-600);
}

.phone-footer {
  background: rgba(46, 204, 113, 0.16);
  border-radius: 999px;
  padding: 6px 10px;
  font-size: 0.84rem;
  font-weight: 700;
}

.hero-icon-row {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
  padding: 18px 22px;
  border-radius: 28px;
  background: rgba(255, 255, 255, 0.86);
  border: 1px solid rgba(44, 62, 80, 0.08);
  box-shadow: var(--shadow-md);
}

.hero-icon-card {
  display: grid;
  gap: 10px;
  justify-items: center;
  text-align: center;
  font-weight: 700;
  color: var(--ink-900);
}

.icon-mark {
  width: 52px;
  height: 52px;
  border-radius: 16px;
  background: rgba(46, 204, 113, 0.16);
  border: 1px solid rgba(46, 204, 113, 0.24);
  position: relative;
}

.icon-ingredient::after {
  content: "";
  position: absolute;
  inset: 14px;
  border-radius: 12px;
  border: 3px solid rgba(46, 204, 113, 0.8);
}

.icon-family::after {
  content: "";
  position: absolute;
  width: 26px;
  height: 26px;
  border-radius: 999px;
  background: rgba(46, 204, 113, 0.8);
  left: 13px;
  top: 13px;
  box-shadow: 18px 6px 0 rgba(46, 204, 113, 0.4);
}

.icon-shield::after {
  content: "";
  position: absolute;
  width: 24px;
  height: 28px;
  border-radius: 12px 12px 18px 18px;
  background: rgba(46, 204, 113, 0.8);
  left: 14px;
  top: 10px;
}

.icon-plan::after {
  content: "";
  position: absolute;
  width: 26px;
  height: 26px;
  border-radius: 8px;
  border: 3px solid rgba(46, 204, 113, 0.8);
  left: 13px;
  top: 13px;
}

.workflow-strip {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  margin-top: 26px;
}

.workflow-card {
  padding: 22px;
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid rgba(44, 62, 80, 0.08);
  box-shadow: var(--shadow-md);
}

.workflow-step {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border-radius: 14px;
  background: linear-gradient(135deg, var(--green-600), var(--green-700));
  color: #fff;
  font-weight: 800;
  margin-bottom: 14px;
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
  margin-top: 32px;
}

.feature-card {
  padding: 22px;
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid rgba(44, 62, 80, 0.08);
  box-shadow: var(--shadow-md);
}

.feature-card-hero {
  grid-column: span 2;
  background: linear-gradient(135deg, rgba(26, 188, 156, 0.18), rgba(46, 204, 113, 0.18));
}

.feature-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 16px;
}

.feature-tags span {
  padding: 7px 12px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.88);
  border: 1px solid rgba(44, 62, 80, 0.08);
}

.panel-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
  margin-top: 32px;
}

.panel-card {
  display: grid;
  grid-template-columns: 1fr 0.8fr;
  gap: 18px;
  padding: 24px;
  border-radius: 28px;
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid rgba(44, 62, 80, 0.08);
  box-shadow: var(--shadow-md);
}

.panel-visual {
  display: grid;
  align-items: center;
  justify-items: center;
  border-radius: 22px;
  padding: 16px;
}

.panel-visual-scan {
  background: linear-gradient(135deg, rgba(26, 188, 156, 0.18), rgba(46, 204, 113, 0.16));
}

.panel-visual-family {
  background: linear-gradient(135deg, rgba(243, 156, 18, 0.18), rgba(255, 223, 164, 0.3));
}

.scan-card,
.family-card {
  padding: 16px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.94);
  border: 1px solid rgba(44, 62, 80, 0.08);
  box-shadow: var(--shadow-md);
}

.family-card ul {
  margin: 10px 0 0;
  padding-left: 16px;
  color: var(--muted);
}

.safety-panel {
  margin-top: 32px;
}

.safety-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.safety-card {
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid rgba(44, 62, 80, 0.08);
  box-shadow: var(--shadow-md);
}

.cta-band {
  margin-top: 32px;
  padding: 24px 28px;
  border-radius: 28px;
  background: linear-gradient(135deg, rgba(46, 204, 113, 0.18), rgba(26, 188, 156, 0.18));
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  border: 1px solid rgba(44, 62, 80, 0.08);
}

@media (max-width: 1120px) {
  .hero-band,
  .workflow-strip,
  .feature-grid,
  .panel-grid,
  .hero-icon-row {
    grid-template-columns: 1fr;
  }

  .feature-card-hero {
    grid-column: auto;
  }

  .panel-card {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 820px) {
  .site-topbar {
    flex-direction: column;
    align-items: flex-start;
    border-radius: 28px;
  }

  .cta-band {
    flex-direction: column;
    align-items: flex-start;
  }

  .hero-band {
    padding: 26px;
  }

  .phone-mock {
    width: 100%;
  }
}

/* --- v1.1.0 visual alignment overrides --- */
body.home-page,
body.login-page {
  background:
    url("/assets/wood-texture.svg") top center / cover no-repeat,
    linear-gradient(180deg, #f5efe4 0%, #f2ebe0 100%);
}

.site-shell {
  padding-top: 24px;
}

.site-topbar {
  justify-content: center;
  background: transparent;
  border: 0;
  box-shadow: none;
}

.brand-lockup {
  gap: 14px;
}

.site-nav-strip {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 14px;
  padding: 12px 18px;
  border-radius: 16px;
  background: linear-gradient(135deg, #5a7a3f, #3c5d2b);
  box-shadow: 0 16px 30px rgba(44, 62, 80, 0.22);
  margin: 12px auto 24px;
}

.nav-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #f6f2e8;
  text-decoration: none;
  font-weight: 600;
  padding: 8px 12px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.12);
}

.nav-link::before {
  content: "";
  width: 12px;
  height: 12px;
  border-radius: 4px;
  background: rgba(255, 255, 255, 0.7);
  display: inline-block;
}

.hero-home {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 24px;
  padding: 28px;
  border-radius: 28px;
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid rgba(44, 62, 80, 0.12);
  box-shadow: var(--shadow-lg);
}

.hero-home .hero-kicker {
  background: rgba(46, 204, 113, 0.16);
  border-color: rgba(46, 204, 113, 0.24);
  color: #2c3e50;
}

.hero-home .hero-visual.hero-bowl-visual {
  min-height: 260px;
  border-radius: 22px;
  background:
    url("/assets/hero-bowl.svg") center/cover no-repeat,
    linear-gradient(135deg, rgba(255, 255, 255, 0.4), rgba(238, 245, 239, 0.5));
  border: 1px solid rgba(44, 62, 80, 0.1);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.7);
}

.hero-icon-row {
  margin-top: 18px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid rgba(44, 62, 80, 0.1);
  box-shadow: var(--shadow-md);
}

.login-shell {
  min-height: 100vh;
  display: grid;
  place-items: center;
  gap: 20px;
  padding: 40px 18px 60px;
}

.login-card {
  width: min(520px, 92vw);
  padding: 32px;
  border-radius: 28px;
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid rgba(44, 62, 80, 0.12);
  box-shadow: var(--shadow-lg);
  text-align: center;
}

.login-card h1 {
  margin: 6px 0 4px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(2rem, 5vw, 2.8rem);
}

.login-subtitle {
  margin-bottom: 20px;
  color: var(--muted);
}

.login-field {
  display: grid;
  gap: 8px;
  text-align: left;
  margin-bottom: 16px;
}

.login-actions button {
  width: 100%;
  min-height: 48px;
  border-radius: 14px;
  border: 0;
  background: linear-gradient(135deg, #4f8e40, #2f6b34);
  color: #fff;
  font-weight: 700;
  cursor: pointer;
}

.login-help {
  margin: 12px 0 0;
  color: var(--muted);
}

.login-help a {
  color: var(--ink-950);
  font-weight: 700;
  text-decoration: none;
}

.login-footnote {
  margin-top: 10px;
  color: var(--muted);
  font-size: 0.9rem;
}

.login-footer {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--muted);
}

.login-footer a {
  color: var(--ink-950);
  text-decoration: none;
  font-weight: 700;
}

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

@media (max-width: 980px) {
  .hero-home {
    grid-template-columns: 1fr;
  }

  .site-nav-strip {
    justify-content: flex-start;
  }
}

/* --- front page refinement v1.1.0 --- */
body.home-page {
  font-family: "Inter", "Segoe UI", sans-serif;
}

.site-topbar .brand-copy strong {
  font-size: 2rem;
  letter-spacing: -0.02em;
}

.site-nav-strip {
  background: linear-gradient(135deg, #2f6b3d, #3f7a4a);
  box-shadow: 0 18px 34px rgba(47, 107, 61, 0.28);
}

.nav-link {
  background: rgba(255, 255, 255, 0.16);
}

.hero-home {
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.94), rgba(248, 243, 234, 0.9)),
    url("/assets/hero-veg.svg");
  background-size: cover;
  background-position: center;
  border-radius: 32px;
}

.hero-home .hero-kicker {
  background: rgba(62, 124, 74, 0.16);
  border-color: rgba(62, 124, 74, 0.24);
  color: #2c3e50;
}

.hero-home h1 {
  font-family: "Poppins", "Georgia", serif;
  font-size: clamp(2.8rem, 5vw, 4.6rem);
  letter-spacing: -0.03em;
}

.hero-home .hero-cta {
  min-height: 54px;
  padding: 14px 34px;
  border-radius: 16px;
  font-weight: 700;
  background: linear-gradient(135deg, #2f6b3d, #3e7c4a);
  box-shadow: 0 18px 32px rgba(47, 107, 61, 0.3);
}

.hero-home .btn-secondary {
  border-radius: 16px;
  background: #e7f0fa;
  color: #2f6fb3;
  border-color: rgba(47, 111, 179, 0.2);
}

.hero-home .hero-visual.hero-bowl-visual {
  min-height: 320px;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.9), 0 18px 34px rgba(44, 62, 80, 0.2);
}

.hero-icon-row {
  gap: 12px;
  padding: 16px 20px;
  background: rgba(255, 255, 255, 0.92);
}

.hero-icon-card {
  font-weight: 600;
  color: #42524a;
}

.hero-icon-card span {
  font-size: 0.95rem;
}

/* --- v1.2.0 mobile web public shell --- */
@media (max-width: 860px) {
  body.mobile-web-v1-2 .site-shell {
    width: calc(100% - 20px);
    padding-top: 14px;
    padding-bottom: 28px;
  }

  body.mobile-web-v1-2 .site-nav-strip {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
    padding: 10px;
  }

  body.mobile-web-v1-2 .nav-link {
    min-height: 44px;
    display: inline-flex;
    justify-content: center;
    align-items: center;
    text-align: center;
  }

  body.mobile-web-v1-2 .hero-home,
  body.mobile-web-v1-2 .home-hero,
  body.mobile-web-v1-2 .cta-band {
    border-radius: 20px;
    padding: 18px;
  }

  body.mobile-web-v1-2 .hero-actions {
    display: grid;
    grid-template-columns: 1fr;
    gap: 10px;
  }

  body.mobile-web-v1-2 .hero-actions .btn {
    min-height: 44px;
    justify-content: center;
  }

  body.mobile-web-v1-2 .hero-icon-row {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
  }

  body.mobile-web-v1-2 .hero-icon-card {
    min-height: 52px;
  }

  body.mobile-web-v1-2 .feature-grid,
  body.mobile-web-v1-2 .panel-grid,
  body.mobile-web-v1-2 .showcase-grid,
  body.mobile-web-v1-2 .legal-grid {
    grid-template-columns: 1fr;
  }

  body.mobile-web-v1-2 .login-shell {
    width: min(480px, calc(100% - 20px));
    padding: 18px 0 22px;
  }

  body.mobile-web-v1-2 .login-card {
    padding: 20px 16px;
    border-radius: 16px;
  }

  body.mobile-web-v1-2 .login-card input,
  body.mobile-web-v1-2 .login-card button {
    min-height: 44px;
  }
}

/* --- cookie consent surfaces (CSP-safe classes) --- */
.im-cookie-banner {
  position: fixed;
  left: 16px;
  right: 16px;
  bottom: 16px;
  z-index: 2147483010;
  max-width: 1040px;
  margin: 0 auto;
  padding: 18px;
  border-radius: 16px;
  background: #ffffff;
  color: #0f172a;
  border: 1px solid #d1d5db;
  box-shadow: 0 18px 44px rgba(15, 23, 42, 0.18);
}

.im-cookie-banner__layout {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  justify-content: space-between;
  align-items: flex-start;
}

.im-cookie-banner__copy {
  max-width: 720px;
}

.im-cookie-banner__title {
  margin: 0 0 8px;
  font-size: 18px;
}

.im-cookie-banner__text {
  margin: 0;
  line-height: 1.5;
  font-size: 14px;
}

.im-cookie-banner__actions,
.im-cookie-modal__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.im-cookie-banner__footer {
  margin-top: 12px;
}

.im-cookie-banner__hint {
  margin: 0 0 10px;
  line-height: 1.45;
  font-size: 13px;
  color: #334155;
}

.im-cookie-link {
  color: #1d4ed8;
}

.im-cookie-btn {
  padding: 10px 14px;
  border-radius: 10px;
  border: 1px solid #1f2937;
  background: #ffffff;
  color: #111827;
  font-weight: 600;
  cursor: pointer;
  box-shadow: none;
}

.im-cookie-btn:hover,
.im-cookie-btn:focus-visible {
  transform: none;
  box-shadow: 0 0 0 3px rgba(30, 90, 146, 0.18);
}

.im-cookie-btn--soft {
  background: #f8fafc;
}

.im-cookie-btn--ghost {
  border-color: #64748b;
  background: #ffffff;
  color: #0f172a;
}

.im-cookie-btn--danger {
  border-color: #7f1d1d;
  background: #fef2f2;
  color: #7f1d1d;
}

.im-cookie-status {
  margin: 8px 0 0;
  font-size: 13px;
}

.im-cookie-modal {
  position: fixed;
  inset: 0;
  z-index: 2147483020;
  display: grid;
  place-items: center;
  padding: 18px;
  background: rgba(15, 23, 42, 0.64);
}

.im-cookie-modal[hidden] {
  display: none;
}

.im-cookie-modal__panel {
  width: min(720px, 100%);
  max-height: 95vh;
  overflow: auto;
  border-radius: 16px;
  border: 1px solid #d1d5db;
  background: #ffffff;
  color: #0f172a;
  box-shadow: 0 24px 54px rgba(15, 23, 42, 0.24);
}

.im-cookie-modal__head {
  padding: 18px 20px;
  border-bottom: 1px solid #e2e8f0;
}

.im-cookie-modal__title {
  margin: 0;
  font-size: 20px;
}

.im-cookie-modal__summary {
  margin: 8px 0 0;
  font-size: 14px;
  line-height: 1.5;
}

.im-cookie-modal__body {
  padding: 16px 20px;
}

.im-cookie-modal__toggles {
  margin: 0;
  padding: 0;
  border: 0;
  display: grid;
  gap: 12px;
}

.im-cookie-modal__toggles label {
  display: flex;
  align-items: center;
  gap: 10px;
}

.im-cookie-launcher {
  position: fixed;
  left: 16px;
  bottom: 16px;
  z-index: 2147483000;
  padding: 10px 14px;
  border-radius: 10px;
  border: 1px solid #334155;
  background: #ffffff;
  color: #0f172a;
  cursor: pointer;
  box-shadow: none;
}

@media (max-width: 760px) {
  .im-cookie-banner {
    left: 10px;
    right: 10px;
    bottom: 10px;
    padding: 14px;
  }

  .im-cookie-modal {
    padding: 12px;
  }
}

/* --- v1.4.0 public shell refresh --- */
body.home-page-v1-4 {
  background:
    radial-gradient(circle at 10% 8%, rgba(30, 90, 146, 0.16), transparent 28%),
    radial-gradient(circle at 90% 6%, rgba(37, 138, 89, 0.18), transparent 30%),
    linear-gradient(160deg, #f7fbff 0%, #f9fff8 52%, #eef6ff 100%);
}

body.home-page-v1-4 .site-nav-strip {
  background: linear-gradient(115deg, #133869 0%, #1f6ea8 45%, #2f855a 100%);
  box-shadow: 0 20px 36px rgba(20, 47, 82, 0.26);
}

body.home-page-v1-4 .nav-link {
  background: rgba(255, 255, 255, 0.18);
  color: #f5f9ff;
}

body.home-page-v1-4 .hero-home {
  border-radius: 34px;
  border: 1px solid rgba(24, 63, 104, 0.12);
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.95), rgba(234, 244, 255, 0.92)),
    linear-gradient(120deg, rgba(47, 100, 141, 0.08), rgba(47, 133, 90, 0.08));
  box-shadow: 0 22px 56px rgba(18, 50, 76, 0.16);
}

body.home-page-v1-4 .hero-home h1 {
  letter-spacing: -0.04em;
  color: #1a2f4a;
}

body.home-page-v1-4 .hero-home .hero-cta {
  background: linear-gradient(135deg, #1e5a92, #2f855a);
  box-shadow: 0 18px 34px rgba(30, 90, 146, 0.26);
}

body.home-page-v1-4 .hero-icon-row,
body.home-page-v1-4 .workflow-card,
body.home-page-v1-4 .feature-card,
body.home-page-v1-4 .panel-card,
body.home-page-v1-4 .safety-card {
  border-color: rgba(24, 63, 104, 0.1);
}

body.login-page-v1-4 .login-card {
  border: 1px solid rgba(24, 63, 104, 0.12);
  box-shadow: 0 24px 52px rgba(18, 50, 76, 0.18);
}

body.login-page-v1-4 .login-actions button {
  background: linear-gradient(135deg, #1e5a92, #2f855a);
}