/* Organic — design-system tokens and component classes (from the Claude Design "Organic" system). */
@import url('https://fonts.googleapis.com/css2?family=Caprasimo:wght@400&family=Figtree:wght@400;600;700&display=swap');

:root {
  --color-bg: #f5ead8;
  --color-surface: #ebddc5;
  --color-text: #201e1d;
  --color-accent: #c67139;
  --color-accent-2: #7a8a5e;
  --color-divider: color-mix(in srgb, #201e1d 16%, transparent);

  --color-neutral-100: #f9f4ed;
  --color-neutral-200: #eee7db;
  --color-neutral-300: #dcd3c4;
  --color-neutral-400: #c0b6a5;
  --color-neutral-500: #a19786;
  --color-neutral-600: #82796a;
  --color-neutral-700: #645c50;
  --color-neutral-800: #474238;
  --color-neutral-900: #2e2b25;

  --color-accent-100: #fff2eb;
  --color-accent-200: #ffe1d0;
  --color-accent-300: #ffc6a5;
  --color-accent-400: #f6a06b;
  --color-accent-500: #d67f48;
  --color-accent-600: #b2622d;
  --color-accent-700: #8c491a;
  --color-accent-800: #643312;
  --color-accent-900: #402310;

  --color-accent-2-100: #f0fae1;
  --color-accent-2-200: #e1eecc;
  --color-accent-2-300: #ccdbb2;
  --color-accent-2-400: #aebf92;
  --color-accent-2-500: #8fa073;
  --color-accent-2-600: #728157;
  --color-accent-2-700: #56633f;
  --color-accent-2-800: #3d472b;
  --color-accent-2-900: #272e1b;

  --font-heading: "Caprasimo", system-ui, sans-serif;
  --font-heading-weight: 400;
  --font-body: "Figtree", system-ui, sans-serif;

  --space-1: 4.4px;
  --space-2: 8.8px;
  --space-3: 13.2px;
  --space-4: 17.6px;
  --space-6: 26.4px;
  --space-8: 35.2px;

  --radius-sm: 8px;
  --radius-md: 16px;
  --radius-lg: 28px;

  --shadow-sm: 0 1px 2px color-mix(in srgb, #2e2b25 14%, transparent);
  --shadow-md: 0 3px 10px color-mix(in srgb, #2e2b25 16%, transparent);
  --shadow-lg: 0 12px 32px color-mix(in srgb, #2e2b25 22%, transparent);
}

/* — base — */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0; font-size: 15px; line-height: 1.55; font-weight: 400;
  background: var(--color-bg); color: var(--color-text); font-family: var(--font-body);
  text-wrap: pretty; overflow-x: clip;
}
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading); font-weight: var(--font-heading-weight);
  line-height: 1.12; letter-spacing: -0.015em; margin: 0 0 var(--space-2);
}
p { margin: 0 0 var(--space-3); }
a:not(.btn) { color: var(--color-accent-700); text-underline-offset: 3px; }
a:not(.btn):hover { color: var(--color-accent-800); }
img { display: block; max-width: 100%; }
:focus { outline: none; }
:focus-visible { outline: 2px solid var(--color-accent); outline-offset: 2px; }
::selection { background: color-mix(in srgb, var(--color-accent) 30%, transparent); }
[hidden] { display: none !important; }

.washed { filter: saturate(0.6) contrast(0.85) brightness(1.1) opacity(0.94); }

/* — buttons — */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 6px;
  cursor: pointer; text-decoration: none;
  font-family: var(--font-heading); font-weight: var(--font-heading-weight);
  font-size: 14px; line-height: 1.2; color: var(--color-text);
  background: transparent; border: 1px solid transparent;
  padding: var(--space-2) calc(var(--space-3) * 1.2);
  border-radius: 999px;
}
.btn:disabled { opacity: 0.45; cursor: not-allowed; }
.btn-primary { background: var(--color-accent); color: var(--color-bg); }
.btn-primary:hover { background: var(--color-accent-600); }
.btn-primary:active { background: var(--color-accent-700); }
.btn-ghost { color: var(--color-accent); padding-inline: var(--space-1); }
.btn-ghost:hover { background: color-mix(in srgb, var(--color-accent) 10%, transparent); }
.btn-ghost:active { background: color-mix(in srgb, var(--color-accent) 18%, transparent); }

/* — forms — */
.field > label {
  display: block; font-size: 12px; margin-bottom: 5px;
  color: color-mix(in srgb, var(--color-text) 70%, transparent);
}
.input {
  width: 100%; min-height: 46px; padding: 6px 14px; font: inherit;
  /* 16px on touch screens: iOS Safari zooms the page when focusing anything smaller. */
  font-size: 16px; color: var(--color-text); caret-color: var(--color-accent);
  background: var(--color-surface);
  border: 1px solid var(--color-divider); border-radius: 999px;
}
@media (hover: hover) and (pointer: fine) {
  .input { font-size: 14px; }
}
.input:hover { border-color: color-mix(in srgb, var(--color-text) 45%, transparent); }
.input:focus-visible { border-color: var(--color-accent); outline-offset: 0; }
textarea.input { min-height: 90px; resize: vertical; border-radius: 22px; }
.radio { display: inline-flex; align-items: center; gap: 8px; cursor: pointer; font-size: 14px; }
.radio input, .seg-opt input {
  position: absolute; opacity: 0; width: 0; height: 0; pointer-events: none;
}
.radio .dot {
  width: 16px; height: 16px; flex: none; border-radius: 50%;
  border: 1.5px solid var(--color-divider);
}
.radio:hover .dot { border-color: var(--color-accent); }
.radio input:checked + .dot {
  border-color: var(--color-accent); background: var(--color-accent);
  box-shadow: inset 0 0 0 4px var(--color-bg);
}
.radio input:focus-visible + .dot { outline: 2px solid var(--color-accent); outline-offset: 2px; }
.seg {
  display: inline-flex; overflow: hidden;
  border: 1px solid var(--color-divider); border-radius: 999px;
}
.seg-opt {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 7px 12px; font-size: 13px; cursor: pointer;
  border-radius: 999px; min-height: 44px;
}
.seg-opt + .seg-opt { border-left: 1px solid var(--color-divider); }
.seg-opt:has(input:checked) { background: var(--color-accent); color: var(--color-bg); }
.seg-opt:not(:has(input:checked)):hover { background: color-mix(in srgb, var(--color-text) 7%, transparent); }
.seg-opt:has(input:focus-visible) { outline: 2px solid var(--color-accent); outline-offset: -2px; }

/* — cards — */
.card {
  display: flex; flex-direction: column; gap: var(--space-2);
  padding: 26px; border-radius: 28px; background: var(--color-surface);
}
.card-title {
  font-family: var(--font-heading); font-weight: var(--font-heading-weight);
  font-size: 17px; line-height: 1.2;
}
.card-body { margin: 0; font-size: 13px; opacity: 0.8; flex: 1; }

/* ══════════════════════════════════════════════════════════════════════════
   Page layout
   ══════════════════════════════════════════════════════════════════════ */

.page { max-width: 1160px; margin: 0 auto; padding: 0 clamp(12px, 4vw, 48px); }

.nav {
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  padding: 18px clamp(8px, 1vw, 12px); flex-wrap: wrap;
}
.brand { font-family: var(--font-heading); font-size: clamp(22px, 2.4vw, 26px); }
.nav-actions { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.lang-opt { min-width: 44px; justify-content: center; }
.nav-cta { min-height: 44px; }

.maple { flex: none; }

/* — hero — */
.hero { display: flex; flex-wrap: wrap; gap: 16px; margin-top: 4px; }
.hero-copy {
  flex: 1 1 440px; min-width: 0; border-radius: 40px; background: var(--color-accent-2-200);
  padding: clamp(36px, 6vw, 72px) clamp(22px, 5vw, 64px) clamp(32px, 5vw, 56px);
}
.hero h1 {
  /* The 10vw cap keeps "Companionship" on screen on 320px phones. */
  font-size: min(clamp(40px, 5.6vw, 68px), 10vw); line-height: 1.1; margin: 0;
  color: var(--color-accent-2-900); max-width: 13ch;
}
.hero-lede {
  font-size: clamp(17px, 1.6vw, 19px); line-height: 1.6; color: var(--color-accent-2-900);
  margin: 20px 0 0; max-width: 46ch;
}
.hero-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 20px; margin-top: 28px; }
.hero-cta { min-height: 50px; padding-inline: 28px; font-size: 16px; flex: 0 1 auto; }
.hero-serving { font-size: 14px; color: var(--color-accent-2-800); }
.badge {
  display: inline-flex; align-items: center; gap: 8px; margin-top: 22px;
  padding: 8px 16px 8px 12px; border-radius: 999px; background: var(--color-neutral-100);
  font-size: 14px; font-weight: 600; color: var(--color-text);
}
.hero-photo {
  position: relative; flex: 1 1 300px; min-height: 320px; border-radius: 40px; overflow: hidden;
  background: var(--color-surface);
}
.hero-photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }

/* — stats — */
.stats {
  margin-top: clamp(48px, 7vw, 96px); padding: clamp(30px, 4vw, 52px) clamp(22px, 5vw, 64px);
  border-radius: 40px; background: var(--color-accent-100);
}
.stats-row { display: flex; flex-wrap: wrap; gap: 28px 64px; align-items: flex-end; }
.stats-intro { flex: 1 1 360px; }
.stats h2 {
  font-size: clamp(26px, 3vw, 36px); line-height: 1.25; margin: 0;
  color: var(--color-accent-900); max-width: 22ch;
}
.stats-intro p { font-size: 16px; line-height: 1.6; color: var(--color-accent-900); margin: 14px 0 0; max-width: 46ch; }
.stats-grid {
  flex: 1 1 340px; display: grid; gap: 20px 16px;
  grid-template-columns: repeat(auto-fit, minmax(110px, 1fr));
}
.stat-n { font-family: var(--font-heading); font-size: clamp(34px, 4vw, 48px); line-height: 1.1; color: var(--color-accent-700); }
.stat-l { font-size: 15px; line-height: 1.4; color: var(--color-accent-900); margin-top: 4px; }
.stats-sources { font-size: 12px; line-height: 1.5; color: var(--color-accent-800); margin: 24px 0 0; }

/* — benefits — */
.benefits { margin-top: clamp(64px, 9vw, 120px); padding: 0 clamp(8px, 1vw, 12px); }
.section-h { font-size: clamp(30px, 3.6vw, 44px); line-height: 1.15; margin: 0; }
.benefits .section-h { max-width: 18ch; }
.section-p { font-size: 17px; line-height: 1.6; color: var(--color-neutral-800); margin: 16px 0 0; }
.benefits .section-p { max-width: 52ch; }
.benefit-grid {
  display: grid; gap: 14px; margin-top: 32px;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 250px), 1fr));
}
.benefit-dot { display: block; width: 16px; height: 16px; border-radius: 50%; margin-bottom: 16px; background: var(--color-accent); }
.benefit-dot.alt { background: var(--color-accent-2); }

/* — contact — */
.contact {
  margin-top: clamp(64px, 9vw, 120px); padding: clamp(32px, 5vw, 64px) clamp(22px, 5vw, 64px);
  border-radius: 40px; background: var(--color-accent-2-100);
  display: flex; flex-wrap: wrap; gap: 32px 64px; scroll-margin-top: 16px;
}
.contact-intro { flex: 1 1 300px; }
.contact .section-h { max-width: 14ch; }
.contact .section-p { max-width: 40ch; }
.contact-body { flex: 1 1 380px; max-width: 560px; container-type: inline-size; }
.contact-form { display: flex; flex-direction: column; gap: 18px; }
/* Role toggle stacks on narrow screens, sits side by side once both labels fit. */
.role-seg { display: flex; flex-direction: column; border-radius: 24px; }
.role-seg .seg-opt + .seg-opt { border-left: 0; border-top: 1px solid var(--color-divider); }
@container (min-width: 460px) {
  .role-seg { display: inline-flex; flex-direction: row; align-self: flex-start; border-radius: 999px; }
  .role-seg .seg-opt + .seg-opt { border-top: 0; border-left: 1px solid var(--color-divider); }
}
.field-pair { display: grid; gap: 18px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 200px), 1fr)); }
.family-fields { display: contents; }
.field-err { font-size: 13px; color: var(--color-accent-800); }
.optional { font-weight: 400; color: var(--color-neutral-700); }
.freq-group { display: flex; flex-wrap: wrap; gap: 8px; }
.freq-opt {
  padding: 10px 16px; border-radius: 999px; min-height: 44px;
  background: var(--color-neutral-100);
}
.freq-opt:has(input:checked) { background: var(--color-accent-2-300); }
.submit { min-height: 52px; font-size: 16px; align-self: flex-start; padding-inline: 32px; }
.form-status { font-size: 14px; line-height: 1.5; color: var(--color-accent-800); margin: 0; }
.honeypot { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

.thanks { padding: 32px; border-radius: 28px; background: var(--color-neutral-100); box-shadow: var(--shadow-sm); }
.thanks-dot { display: block; width: 48px; height: 48px; border-radius: 50%; background: var(--color-accent-2-300); margin-bottom: 18px; }
.thanks h3 { font-size: 26px; margin: 0; }
.thanks p { font-size: 16px; line-height: 1.6; color: var(--color-neutral-800); margin: 10px 0 0; }
.thanks .btn { margin-top: 18px; min-height: 44px; }

/* — footer — */
.footer {
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px;
  padding: 40px clamp(8px, 1vw, 12px) 48px; font-size: 14px; color: var(--color-neutral-700);
}
.footer .brand { font-size: 20px; color: var(--color-text); }
.footer-flag { display: inline-flex; align-items: center; gap: 6px; }
