/* 12gradus.com — design system.
   Palette and type come from the logo: warm cream ground, deep sea green,
   sage/seafoam waves, a peach sun. Calm, editorial, unhurried. */

:root {
  --cream: #f5f3ec;
  --cream-2: #f9f7f1;
  --surface: #fcfbf6;
  --line: #e1ddce;
  --line-soft: #ece8dc;
  --ink: #2e3f38;
  --ink-2: #5b6b62;
  --ink-3: #879287;
  --sea: #3f5f53;
  --sea-deep: #33503f;
  --sea-tint: #eaf0ec;
  --sage: #9db3a0;
  --seafoam: #a9c0ba;
  --sun: #e9bc8e;
  --sun-deep: #b27a40;
  --sun-tint: #f6e9d8;
  --red: #9b3d3d;

  --serif: "Iowan Old Style", "Palatino Linotype", Palatino, Georgia, serif;
  --sans: "Segoe UI", system-ui, -apple-system, "Helvetica Neue", Arial, sans-serif;

  --r-sm: 10px;
  --r: 16px;
  --r-lg: 22px;
  --shadow: 0 14px 40px -22px rgba(46, 63, 56, 0.45);
  --shadow-lg: 0 26px 60px -28px rgba(46, 63, 56, 0.5);
  --wrap: 1120px;
}

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

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  background: var(--cream);
  color: var(--ink);
  font: 16.5px/1.7 var(--sans);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

/* Several components below set an explicit display, which would otherwise
   out-specify the user-agent rule for the hidden attribute. */
[hidden] { display: none !important; }

img, svg, video { max-width: 100%; height: auto; display: block; }
a { color: var(--sea); text-underline-offset: 3px; }
a:hover { color: var(--sea-deep); }
button { font: inherit; color: inherit; }
:focus-visible { outline: 2px solid var(--sea); outline-offset: 3px; border-radius: 4px; }

h1, h2, h3, h4 { font-family: var(--serif); font-weight: 500; line-height: 1.18; text-wrap: balance; }
h1 { font-size: clamp(34px, 5.4vw, 56px); letter-spacing: -0.015em; }
h2 { font-size: clamp(26px, 3.4vw, 38px); }
h3 { font-size: clamp(19px, 2vw, 22px); }

.wrap { width: 100%; max-width: var(--wrap); margin-inline: auto; padding-inline: 24px; }
.wrap-narrow { max-width: 760px; }
.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; overflow: hidden;
  clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.skip {
  position: absolute; left: -9999px; top: 8px; z-index: 100;
  background: var(--sea); color: var(--cream); padding: 10px 18px; border-radius: 999px;
}
.skip:focus { left: 16px; }

.ico { width: 1.25em; height: 1.25em; flex: none; }

/* ---------- header ---------- */

.site-head {
  position: sticky; top: 0; z-index: 60;
  background: rgba(245, 243, 236, 0.86);
  backdrop-filter: saturate(160%) blur(12px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}
.site-head.is-stuck { border-bottom-color: var(--line); box-shadow: 0 8px 24px -22px rgba(46, 63, 56, 0.6); }
.head-inner { display: flex; align-items: center; gap: 18px; min-height: 68px; }

.brand {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--serif); font-size: 21px; color: var(--ink);
  text-decoration: none; letter-spacing: 0.01em; flex: none;
}
.brand img { border-radius: 50%; mix-blend-mode: multiply; }
.brand em { font-style: normal; color: var(--sea); }

.head-nav { display: flex; gap: 4px; margin-left: auto; }
.head-nav a {
  color: var(--ink-2); text-decoration: none; font-size: 15px; font-weight: 500;
  padding: 8px 12px; border-radius: 999px;
}
.head-nav a:hover { background: var(--sea-tint); color: var(--sea-deep); }
.head-nav a[aria-current] { color: var(--sea-deep); background: var(--sea-tint); }
.nav-cta { display: none; }

.head-actions { display: flex; align-items: center; gap: 8px; }

.icon-btn {
  display: inline-grid; place-items: center; position: relative;
  width: 40px; height: 40px; border-radius: 50%;
  background: transparent; border: 1px solid transparent; cursor: pointer; color: var(--ink-2);
}
.icon-btn:hover { background: var(--sea-tint); color: var(--sea-deep); }
.cart-count {
  position: absolute; top: 2px; right: 0;
  min-width: 18px; height: 18px; padding: 0 5px;
  border-radius: 999px; background: var(--sun-deep); color: #fff;
  font-size: 11px; font-weight: 700; line-height: 18px; text-align: center;
}
.nav-toggle { display: none; }

/* ---------- buttons ---------- */

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  font-size: 15px; font-weight: 600; text-decoration: none; cursor: pointer;
  padding: 11px 22px; border-radius: 999px; border: 1px solid transparent;
  transition: transform 0.12s ease, background 0.15s ease, box-shadow 0.15s ease;
  white-space: nowrap;
}
.btn:active { transform: translateY(1px); }
.btn-primary { background: var(--sea); color: var(--cream); box-shadow: 0 10px 24px -14px rgba(63, 95, 83, 0.9); }
.btn-primary:hover { background: var(--sea-deep); color: var(--cream); }
.btn-ghost { border-color: var(--line); color: var(--ink-2); background: var(--surface); }
.btn-ghost:hover { border-color: var(--sage); color: var(--sea-deep); background: var(--sea-tint); }
.btn-sun { background: var(--sun-tint); color: var(--sun-deep); border-color: #eed9be; }
.btn-sun:hover { background: #f2e0c8; color: var(--sun-deep); }
.btn-block { width: 100%; }
.btn-lg { padding: 14px 28px; font-size: 16px; }
.btn[disabled] { opacity: 0.5; cursor: not-allowed; }

/* ---------- sections ---------- */

section { padding: clamp(56px, 8vw, 96px) 0; }
section.tight { padding: clamp(40px, 5vw, 64px) 0; }
.band { background: var(--cream-2); border-block: 1px solid var(--line-soft); }
.band-sea { background: var(--sea); color: var(--cream-2); }
.band-sea h2, .band-sea h3 { color: #fff; }
.band-sea .eyebrow { color: var(--sun); }
.band-sea .lede, .band-sea p { color: rgba(252, 251, 246, 0.82); }
.band-sea a { color: var(--sun); }

.eyebrow {
  font-size: 12px; font-weight: 700; letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--sun-deep); margin-bottom: 12px;
}
.sec-head { max-width: 720px; margin: 0 auto clamp(32px, 5vw, 52px); text-align: center; }
.sec-head.is-left { margin-inline: 0; text-align: left; }
.lede { color: var(--ink-2); font-size: clamp(16.5px, 1.6vw, 19px); margin-top: 14px; }

/* ---------- hero ---------- */

.hero { position: relative; padding-top: clamp(48px, 7vw, 84px); padding-bottom: clamp(40px, 6vw, 72px); overflow: hidden; }
.hero::before {
  content: ""; position: absolute; inset: -20% -10% auto auto;
  width: min(720px, 90vw); aspect-ratio: 1;
  background: radial-gradient(circle at 60% 40%, rgba(233, 188, 142, 0.4), rgba(233, 188, 142, 0) 62%);
  pointer-events: none;
}
.hero::after {
  content: ""; position: absolute; inset: auto auto -14% -12%;
  width: min(620px, 80vw); aspect-ratio: 1;
  background: radial-gradient(circle at 40% 60%, rgba(169, 192, 186, 0.35), rgba(169, 192, 186, 0) 62%);
  pointer-events: none;
}
.hero-inner { position: relative; display: grid; grid-template-columns: 1.05fr 0.95fr; gap: clamp(28px, 5vw, 64px); align-items: center; }
.hero h1 { margin-top: 16px; }
.hero .lede { max-width: 30em; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.hero-trust { display: flex; flex-wrap: wrap; gap: 8px 20px; margin-top: 26px; color: var(--ink-3); font-size: 14px; }
.hero-trust span { display: inline-flex; align-items: center; gap: 7px; }
.hero-trust .ico { color: var(--sage); width: 1em; height: 1em; }

.pill {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--sun-tint); color: var(--sun-deep);
  border-radius: 999px; padding: 6px 15px;
  font-size: 12.5px; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase;
}
.pill .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--sun-deep); }

.hero-art { position: relative; }
.hero-art img {
  width: 100%; border-radius: var(--r-lg);
  border: 1px solid var(--line); background: var(--surface);
  box-shadow: var(--shadow-lg);
}
.hero-art figcaption { margin-top: 12px; font-size: 13px; color: var(--ink-3); text-align: center; }

/* ---------- cards & grids ---------- */

.grid { display: grid; gap: 20px; }
.grid-2 { grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); }
.grid-3 { grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); }
.grid-4 { grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); }

.card {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--r);
  padding: 26px 24px; transition: transform 0.16s ease, box-shadow 0.16s ease, border-color 0.16s ease;
}
.card h3 { margin-bottom: 8px; }
.card p { color: var(--ink-2); font-size: 15.5px; }
.card-hover:hover { transform: translateY(-3px); box-shadow: var(--shadow); border-color: var(--sage); }

.feature .ico { width: 26px; height: 26px; color: var(--sea); }
.feature .badge {
  display: grid; place-items: center; width: 46px; height: 46px; border-radius: 13px;
  background: var(--sea-tint); margin-bottom: 16px;
}

.steps-list { counter-reset: step; display: grid; gap: 20px; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); }
.steps-list li { list-style: none; position: relative; padding-top: 54px; }
.steps-list li::before {
  counter-increment: step; content: counter(step);
  position: absolute; top: 0; left: 0;
  width: 40px; height: 40px; border-radius: 50%;
  display: grid; place-items: center;
  font-family: var(--serif); font-size: 19px; color: var(--sea);
  background: var(--surface); border: 1px solid var(--sage);
}
.steps-list h3 { margin-bottom: 6px; }
.steps-list p { color: var(--ink-2); font-size: 15.5px; }

/* ---------- pricing ---------- */

.plans { display: grid; gap: 22px; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); align-items: start; }
.plan { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 30px 26px; position: relative; }
.plan.is-featured { border-color: var(--sea); box-shadow: var(--shadow); }
.plan .tag {
  position: absolute; top: -13px; left: 26px;
  background: var(--sea); color: var(--cream); border-radius: 999px;
  font-size: 11.5px; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; padding: 5px 14px;
}
.plan h3 { font-size: 20px; }
.plan .price { font-family: var(--serif); font-size: 44px; line-height: 1.1; margin-top: 12px; color: var(--ink); }
.plan .price span { font-family: var(--sans); font-size: 14px; color: var(--ink-3); font-weight: 500; }
.plan .blurb { color: var(--ink-2); font-size: 15px; margin: 12px 0 20px; }
.plan ul { list-style: none; padding: 0; display: grid; gap: 10px; margin-bottom: 24px; }
.plan li { display: flex; gap: 10px; font-size: 15px; color: var(--ink-2); }
.plan li .ico { width: 18px; height: 18px; color: var(--sage); margin-top: 4px; }
.plan .soon { color: var(--ink-3); }

/* ---------- shop ---------- */

.shop-grid { display: grid; gap: 22px; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); }
/* Two tees shouldn't rattle around in a five-column track. */
.shop-grid.is-tees { grid-template-columns: repeat(auto-fit, minmax(260px, 400px)); justify-content: start; }
.prod {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--r);
  overflow: hidden; display: flex; flex-direction: column; text-align: left;
  transition: transform 0.16s ease, box-shadow 0.16s ease, border-color 0.16s ease;
}
.prod:hover { transform: translateY(-3px); box-shadow: var(--shadow); border-color: var(--sage); }
.prod-img { aspect-ratio: 1; background: #fff; display: grid; place-items: center; padding: 14px; }
.prod-img img { width: 100%; height: 100%; object-fit: contain; }
.prod-body { padding: 16px 18px 20px; display: flex; flex-direction: column; gap: 4px; flex: 1; }
.prod-name { font-weight: 600; font-size: 15.5px; }
.prod-meta { color: var(--ink-3); font-size: 13.5px; }
.prod-actions { margin-top: auto; padding-top: 14px; }
.prod-actions .btn { width: 100%; }

.swatches { display: flex; flex-wrap: wrap; gap: 8px; }
.swatch {
  width: 34px; height: 34px; border-radius: 50%; cursor: pointer;
  border: 2px solid var(--line); padding: 0; background-clip: padding-box;
}
.swatch[aria-pressed="true"] { border-color: var(--sea); box-shadow: 0 0 0 3px var(--sea-tint); }
.sizes { display: flex; flex-wrap: wrap; gap: 8px; }
.size {
  min-width: 46px; padding: 8px 12px; border-radius: 10px; cursor: pointer;
  border: 1px solid var(--line); background: var(--surface); font-size: 14px; font-weight: 600; color: var(--ink-2);
}
.size[aria-pressed="true"] { border-color: var(--sea); background: var(--sea-tint); color: var(--sea-deep); }
.size[disabled] { opacity: 0.35; cursor: not-allowed; }

.modal-scrim {
  position: fixed; inset: 0; background: rgba(46, 63, 56, 0.42); z-index: 80;
  display: grid; place-items: center; padding: 20px;
  backdrop-filter: blur(2px);
}
.modal {
  background: var(--cream); border-radius: var(--r-lg); border: 1px solid var(--line);
  width: min(560px, 100%); max-height: 88vh; overflow: auto; box-shadow: var(--shadow-lg);
}
.modal-head { display: flex; align-items: flex-start; gap: 12px; padding: 22px 22px 0; }
.modal-head h2 { font-size: 23px; flex: 1; }
.modal-body { padding: 18px 22px 24px; display: grid; gap: 18px; }
.modal-body .field-label { font-size: 13px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--ink-3); margin-bottom: 10px; }
.modal-hero { display: flex; gap: 18px; align-items: center; }
.modal-hero img { width: 120px; height: 120px; object-fit: contain; background: #fff; border-radius: var(--r-sm); border: 1px solid var(--line); }

/* ---------- cart drawer ---------- */

.drawer-scrim { position: fixed; inset: 0; background: rgba(46, 63, 56, 0.38); z-index: 70; }
.cart-drawer {
  position: fixed; inset: 0 0 0 auto; z-index: 71;
  width: min(420px, 100%); background: var(--cream);
  border-left: 1px solid var(--line); box-shadow: var(--shadow-lg);
  display: flex; flex-direction: column;
}
.cart-drawer > header { display: flex; align-items: center; gap: 12px; padding: 18px 20px; border-bottom: 1px solid var(--line); }
.cart-drawer > header h2 { font-size: 21px; flex: 1; }
.cart-body { flex: 1; overflow: auto; padding: 16px 20px; display: grid; gap: 14px; align-content: start; }
.cart-empty { color: var(--ink-3); text-align: center; padding: 40px 10px; }
.cart-row { display: grid; grid-template-columns: 62px 1fr auto; gap: 12px; align-items: center; }
.cart-row img { width: 62px; height: 62px; object-fit: contain; background: #fff; border: 1px solid var(--line); border-radius: var(--r-sm); }
.cart-row .name { font-size: 14.5px; font-weight: 600; }
.cart-row .meta { font-size: 13px; color: var(--ink-3); }
.qty { display: inline-flex; align-items: center; border: 1px solid var(--line); border-radius: 999px; background: var(--surface); }
.qty button { width: 30px; height: 30px; border: 0; background: transparent; cursor: pointer; color: var(--ink-2); border-radius: 999px; }
.qty button:hover { background: var(--sea-tint); }
.qty span { min-width: 22px; text-align: center; font-size: 14px; font-weight: 600; }
.cart-foot { padding: 18px 20px; border-top: 1px solid var(--line); background: var(--surface); }
.cart-total { display: flex; justify-content: space-between; align-items: baseline; font-size: 15px; }
.cart-total strong { font-family: var(--serif); font-size: 26px; }
.cart-note { color: var(--ink-3); font-size: 12.5px; margin: 4px 0 14px; }
.cart-error { color: var(--red); font-size: 13.5px; margin-top: 10px; }

/* ---------- banner ---------- */

.banner {
  background: var(--sea-tint); border: 1px solid var(--sage); border-radius: var(--r);
  padding: 18px 20px; margin-bottom: 28px; display: flex; gap: 14px; align-items: flex-start;
}
.banner.is-warn { background: var(--sun-tint); border-color: var(--sun); }
.banner .ico { color: var(--sea); margin-top: 3px; }
.banner h2 { font-size: 19px; margin-bottom: 4px; }
.banner p { color: var(--ink-2); font-size: 15px; }

/* ---------- blog ---------- */

.post-list { display: grid; gap: 24px; }
.post-card {
  display: grid; grid-template-columns: 1fr; gap: 8px;
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--r);
  padding: 26px 26px 24px; text-decoration: none; color: inherit;
  transition: transform 0.16s ease, box-shadow 0.16s ease, border-color 0.16s ease;
}
.post-card:hover { transform: translateY(-3px); box-shadow: var(--shadow); border-color: var(--sage); color: inherit; }
.post-meta { font-size: 13px; color: var(--ink-3); display: flex; flex-wrap: wrap; gap: 10px; align-items: center; }
.tag-chip { background: var(--sun-tint); color: var(--sun-deep); border-radius: 999px; padding: 3px 11px; font-size: 12px; font-weight: 600; }
.post-card h2 { font-size: clamp(21px, 2.4vw, 27px); }
.post-card p { color: var(--ink-2); font-size: 15.5px; }

.article { max-width: 720px; margin-inline: auto; }
.article-head { text-align: center; margin-bottom: 36px; }
.article-head h1 { font-size: clamp(30px, 4.4vw, 44px); margin: 14px 0 12px; }
.prose { font-size: 17.5px; line-height: 1.78; color: var(--ink-2); }
.prose > * + * { margin-top: 1.15em; }
.prose h2 { font-size: clamp(23px, 2.6vw, 29px); color: var(--ink); margin-top: 1.9em; }
.prose h3 { font-size: 20px; color: var(--ink); margin-top: 1.6em; }
.prose strong { color: var(--ink); }
.prose ul, .prose ol { padding-left: 1.3em; display: grid; gap: 0.5em; }
.prose blockquote {
  border-left: 3px solid var(--sage); padding: 4px 0 4px 20px;
  font-family: var(--serif); font-size: 20px; color: var(--ink); font-style: italic;
}
.prose hr { border: 0; border-top: 1px solid var(--line); margin: 2.4em 0; }
.prose code { background: var(--sea-tint); border-radius: 5px; padding: 2px 6px; font-size: 0.9em; }
.prose pre { background: var(--ink); color: #e8eee9; border-radius: var(--r-sm); padding: 16px 18px; overflow-x: auto; }
.prose pre code { background: none; color: inherit; padding: 0; }
.prose figure img { border-radius: var(--r); border: 1px solid var(--line); }

.article-foot { margin-top: 48px; padding-top: 28px; border-top: 1px solid var(--line); }

/* ---------- faq ---------- */

.faq { display: grid; gap: 12px; max-width: 780px; margin-inline: auto; }
.faq details {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); overflow: hidden;
}
.faq summary {
  cursor: pointer; list-style: none; padding: 18px 22px;
  font-weight: 600; font-size: 16.5px; display: flex; gap: 14px; align-items: center;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+"; margin-left: auto; font-size: 22px; color: var(--sage); font-weight: 400; line-height: 1;
}
.faq details[open] summary::after { content: "–"; }
.faq details[open] summary { color: var(--sea-deep); }
.faq .answer { padding: 0 22px 20px; color: var(--ink-2); font-size: 15.5px; }

/* ---------- misc content ---------- */

.split { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: clamp(28px, 5vw, 56px); align-items: center; }
.stack > * + * { margin-top: 16px; }
.muted { color: var(--ink-3); font-size: 14px; }
.center { text-align: center; }
.cta-row { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; margin-top: 30px; }

.wave { display: block; width: 100%; height: 42px; color: var(--line-soft); }

.quote-card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 32px; }
.quote-card blockquote { font-family: var(--serif); font-size: clamp(20px, 2.4vw, 26px); line-height: 1.45; color: var(--ink); }
.quote-card cite { display: block; margin-top: 16px; font-style: normal; font-size: 14px; color: var(--ink-3); }

.checklist { list-style: none; padding: 0; display: grid; gap: 12px; }
.checklist li { display: flex; gap: 12px; color: var(--ink-2); }
.checklist .ico { color: var(--sage); margin-top: 4px; width: 19px; height: 19px; }
.checklist.is-no .ico { color: var(--red); }

/* The fellowship directory: 33 cards that have to stay scannable. */
.fellow-grid { display: grid; gap: 12px; grid-template-columns: repeat(3, 1fr); margin-top: 30px; }
.fellow-card {
  display: grid; gap: 4px; padding: 16px 18px; border: 1px solid var(--line);
  border-radius: 14px; background: var(--cream-2); text-decoration: none;
  transition: border-color 0.2s ease, transform 0.2s ease;
}
.fellow-card:hover { border-color: var(--sage); transform: translateY(-2px); }
.fellow-card strong { color: var(--ink); font-size: 15.5px; line-height: 1.3; }
.fellow-card .short { color: var(--sea-deep); font-size: 12.5px; font-weight: 600; letter-spacing: 0.04em; }
.fellow-card .focus { color: var(--ink-3); font-size: 13.5px; line-height: 1.45; }
.banner.is-open { border-color: var(--sage); background: var(--sea-tint); }
@media (max-width: 900px) { .fellow-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 620px) { .fellow-grid { grid-template-columns: 1fr; } }

/* Fellowship shortnames on /help-build/ — a long list read at a glance. */
/* "First 7 days free" under the price on a paid plan card. */
.plan .trial { display: flex; gap: 8px; align-items: flex-start; margin: -6px 0 14px; font-size: 14px; color: var(--sea-deep); }
.plan .trial .ico { width: 17px; height: 17px; margin-top: 2px; flex: none; color: var(--sage); }

.chips { list-style: none; padding: 0; margin-top: 26px; display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; }
.chips li {
  border: 1px solid var(--line); border-radius: 999px; padding: 6px 14px;
  font-size: 14.5px; color: var(--ink-2); background: var(--cream-2);
}

/* The one real form on the site. */
.form { margin-top: 28px; display: grid; gap: 18px; }
.field { display: grid; gap: 7px; }
.field label { font-size: 15px; font-weight: 600; color: var(--ink); }
.field .opt { font-weight: 400; color: var(--ink-3); font-size: 13.5px; }
.field input, .field select, .field textarea {
  font: inherit; font-size: 16px; color: var(--ink);
  background: var(--cream-2); border: 1px solid var(--line); border-radius: 12px;
  padding: 12px 14px; width: 100%; transition: border-color 0.2s ease, box-shadow 0.2s ease;
}
.field textarea { resize: vertical; min-height: 104px; }
.field input::placeholder, .field textarea::placeholder { color: var(--ink-3); }
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; border-color: var(--sage); box-shadow: 0 0 0 3px var(--sea-tint);
}
.field [aria-invalid="true"] { border-color: var(--red); }
.form-msg { margin-top: 4px; padding: 13px 15px; border-radius: 12px; font-size: 15px; }
.form-msg.is-ok { background: var(--sea-tint); color: var(--sea-deep); }
.form-msg.is-bad { background: #fdecea; color: var(--red); }
.form-fine { color: var(--ink-3); font-size: 14px; text-align: center; margin-top: 4px; }

.kv { display: grid; gap: 14px; }
.kv div { display: grid; grid-template-columns: 190px 1fr; gap: 16px; padding-bottom: 14px; border-bottom: 1px solid var(--line-soft); }
.kv dt { font-weight: 600; }
.kv dd { color: var(--ink-2); margin: 0; }

.video-frame { border-radius: var(--r-lg); border: 1px solid var(--line); overflow: hidden; background: var(--ink); box-shadow: var(--shadow); }

/* ---------- ask widget ---------- */

.ask { position: fixed; right: 20px; bottom: 20px; z-index: 75; }
.ask-launch {
  display: inline-flex; align-items: center; gap: 9px; cursor: pointer;
  background: var(--sea); color: var(--cream); border: 0;
  padding: 12px 20px; border-radius: 999px; font-size: 15px; font-weight: 600;
  box-shadow: var(--shadow);
}
.ask-launch:hover { background: var(--sea-deep); }
.ask-launch .ico { color: var(--sun); }
.ask-panel {
  /* It is a <section>, so it would otherwise inherit the page section padding. */
  padding: 0;
  position: absolute; right: 0; bottom: 0;
  width: min(400px, calc(100vw - 32px)); height: min(580px, calc(100vh - 40px));
  background: var(--cream); border: 1px solid var(--line); border-radius: var(--r-lg);
  box-shadow: var(--shadow-lg); display: flex; flex-direction: column; overflow: hidden;
}
.ask-head { display: flex; gap: 12px; align-items: flex-start; padding: 16px 16px 14px; border-bottom: 1px solid var(--line); }
.ask-head strong { display: block; font-family: var(--serif); font-size: 18px; font-weight: 500; }
.ask-head span { display: block; font-size: 12.5px; color: var(--ink-3); line-height: 1.45; margin-top: 2px; }
.ask-log { flex: 1; overflow-y: auto; padding: 16px; display: grid; gap: 12px; align-content: start; }
.ask-msg { max-width: 88%; padding: 11px 14px; border-radius: 14px; font-size: 14.5px; line-height: 1.6; }
.ask-msg.me { justify-self: end; background: var(--sea); color: var(--cream); border-bottom-right-radius: 5px; }
.ask-msg.bot { justify-self: start; background: var(--surface); border: 1px solid var(--line); border-bottom-left-radius: 5px; }
.ask-msg.bot p + p { margin-top: 9px; }
.ask-msg.bot a { color: var(--sea-deep); }
.ask-msg.err { background: #fdf2f0; border-color: #e8c9c3; color: var(--red); }
.ask-msg .dots span {
  display: inline-block; width: 6px; height: 6px; margin-right: 4px; border-radius: 50%;
  background: var(--sage); animation: blink 1.2s infinite;
}
.ask-msg .dots span:nth-child(2) { animation-delay: 0.2s; }
.ask-msg .dots span:nth-child(3) { animation-delay: 0.4s; }
@keyframes blink { 0%, 60%, 100% { opacity: 0.25; } 30% { opacity: 1; } }
.ask-suggest { padding: 0 16px 12px; display: grid; gap: 7px; }
.ask-suggest button {
  text-align: left; cursor: pointer; background: var(--surface); border: 1px solid var(--line);
  border-radius: 12px; padding: 9px 13px; font-size: 13.5px; color: var(--ink-2);
}
.ask-suggest button:hover { border-color: var(--sage); background: var(--sea-tint); color: var(--sea-deep); }
.ask-form { display: flex; gap: 8px; padding: 12px 14px; border-top: 1px solid var(--line); background: var(--surface); }
.ask-form input {
  flex: 1; border: 1px solid var(--line); border-radius: 999px; padding: 10px 16px;
  font: inherit; font-size: 14.5px; background: var(--cream); color: var(--ink);
}
.ask-form input:focus { outline: none; border-color: var(--sage); box-shadow: 0 0 0 3px var(--sea-tint); }
.ask-send { background: var(--sea); color: var(--cream); }
.ask-send:hover { background: var(--sea-deep); color: var(--cream); }
.ask-foot { padding: 0 16px 12px; font-size: 11.5px; line-height: 1.5; color: var(--ink-3); background: var(--surface); }

/* ---------- footer ---------- */

.site-foot { background: var(--surface); border-top: 1px solid var(--line); padding-top: 54px; margin-top: 0; }
.foot-grid { display: grid; gap: 34px; grid-template-columns: 1.6fr repeat(3, 1fr); padding-bottom: 40px; }
.foot-brand p { color: var(--ink-2); font-size: 15px; margin-top: 14px; max-width: 34ch; }
.foot-brand .foot-note { color: var(--ink-3); font-size: 13.5px; }
.socials { list-style: none; padding: 0; margin-top: 18px; display: flex; gap: 10px; }
.socials a {
  display: grid; place-items: center; width: 38px; height: 38px; border-radius: 50%;
  color: var(--ink-3); background: var(--cream); border: 1px solid var(--line);
  transition: color .15s ease, border-color .15s ease, background .15s ease;
}
.socials a:hover { color: var(--sea-deep); border-color: var(--sage); background: var(--sea-tint); }
.socials .ico { width: 18px; height: 18px; }
.foot-badges { list-style: none; padding: 0; margin-top: 20px; display: flex; flex-wrap: wrap; gap: 10px; }
.foot-badges a { display: inline-block; border-radius: 8px; opacity: 0.85; transition: opacity 0.2s ease; }
.foot-badges a:hover { opacity: 1; }
.foot-badges img { display: block; width: 255px; max-width: 100%; height: auto; }
.site-foot nav h2 { font-family: var(--sans); font-size: 12px; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: var(--ink-3); margin-bottom: 14px; }
.site-foot nav a { display: block; color: var(--ink-2); text-decoration: none; font-size: 15px; padding: 4px 0; }
.site-foot nav a:hover { color: var(--sea-deep); }
.foot-base { border-top: 1px solid var(--line-soft); padding-block: 20px 28px; color: var(--ink-3); font-size: 13px; }
.foot-base .crisis { margin-bottom: 6px; }
.foot-base a { color: inherit; }

/* ---------- reveal ---------- */

@media (prefers-reduced-motion: no-preference) {
  .reveal { opacity: 0; transform: translateY(14px); transition: opacity 0.6s ease, transform 0.6s ease; }
  .reveal.in { opacity: 1; transform: none; }
}

/* ---------- responsive ---------- */

@media (max-width: 980px) {
  .hero-inner { grid-template-columns: 1fr; }
  .hero-art { max-width: 560px; margin-top: 8px; }
  .foot-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 860px) {
  .head-nav {
    position: absolute; top: 100%; left: 0; right: 0;
    flex-direction: column; gap: 2px; padding: 12px 20px 18px;
    background: var(--cream); border-bottom: 1px solid var(--line);
    box-shadow: var(--shadow); display: none;
  }
  .head-nav.is-open { display: flex; }
  .head-nav a { padding: 12px 14px; font-size: 16px; }
  .head-nav .nav-cta {
    display: block; margin-top: 8px; text-align: center; font-weight: 600;
    border: 1px solid var(--line); border-radius: 999px; background: var(--surface); color: var(--ink-2);
  }
  .head-nav .nav-cta.is-primary { background: var(--sea); border-color: var(--sea); color: var(--cream); margin-top: 6px; }
  .nav-toggle { display: inline-grid; }
  .head-signin { display: none; }
  .head-inner { position: relative; }
}

@media (max-width: 620px) {
  body { font-size: 16px; }
  .wrap { padding-inline: 18px; }
  .head-start { display: none; }
  .plan { padding: 26px 20px; }
  .card { padding: 22px 20px; }
  .foot-grid { grid-template-columns: 1fr; gap: 26px; }
  .kv div { grid-template-columns: 1fr; gap: 4px; }
  .ask { right: 14px; bottom: 14px; }
  .ask-launch span { display: none; }
  .ask-launch { width: 54px; height: 54px; justify-content: center; padding: 0; }
  .ask-launch .ico { width: 24px; height: 24px; }
  .modal-hero { flex-direction: column; align-items: flex-start; }
  .post-card { padding: 22px 20px; }
}
