/* 365Phyta — site styles
   Palette, type and rules follow the 365Phyta Brand Book v1.0 (Sept 2026).
   Forest leads (~50%), resin accents (<=10%, never text on light), ivory breathes. */

:root {
  --forest: #1F4D3A;
  --forest-700: #183D2E;
  --forest-600: #245a44;
  --ink: #16211B;
  --ivory: #F6F4EE;
  --resin: #D9A04A;
  --sage: #D6E2DA;
  --sage-50: #E8EFEA;
  --white: #FFFFFF;

  --text: var(--ink);
  --text-muted: #4A5750;
  --text-soft: #66736B;
  --line: rgba(22, 33, 27, 0.09);
  --line-strong: rgba(22, 33, 27, 0.16);

  --font-ui: "Sora", system-ui, sans-serif;
  --font-display: "Fraunces", Georgia, serif;
  --font-body: "IBM Plex Sans", system-ui, sans-serif;

  --radius-sm: 10px;
  --radius: 16px;
  --radius-lg: 24px;
  --shadow-sm: 0 1px 2px rgba(22, 33, 27, 0.04), 0 1px 1px rgba(22, 33, 27, 0.03);
  --shadow: 0 1px 2px rgba(22, 33, 27, 0.04), 0 12px 32px -12px rgba(22, 33, 27, 0.14);
  --shadow-lg: 0 2px 4px rgba(22, 33, 27, 0.04), 0 28px 60px -24px rgba(22, 33, 27, 0.28);

  --container: 1200px;
  --gutter: clamp(16px, 4vw, 40px);
  --section: clamp(72px, 10vw, 128px);
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 88px; }
body {
  margin: 0;
  background: var(--ivory);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; }
p { margin: 0 0 1em; }
h1, h2, h3, h4 { margin: 0; }
::selection { background: var(--sage); color: var(--ink); }
:focus-visible { outline: 2px solid var(--forest); outline-offset: 3px; border-radius: 6px; }

.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 var(--gutter); }
.skip-link {
  position: absolute; left: 16px; top: -60px; z-index: 100;
  background: var(--forest); color: var(--ivory); padding: 10px 16px; border-radius: 8px;
  font-family: var(--font-ui); font-size: 14px; text-decoration: none; transition: top .2s;
}
.skip-link:focus { top: 16px; }

/* ---------- Type ---------- */
.eyebrow {
  font-family: var(--font-ui);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--forest);
  line-height: 1.6;
  margin: 0 0 20px;
  display: inline-flex; align-items: flex-start; gap: 10px;
}
.eyebrow::before {
  content: ""; flex-shrink: 0; width: 18px; height: 2px; margin-top: .75em; border-radius: 2px; background: var(--resin);
}
.display {
  font-family: var(--font-display);
  font-optical-sizing: auto;
  font-weight: 500;
  font-size: clamp(48px, 7.2vw, 92px);
  line-height: 0.98;
  letter-spacing: -0.035em;
  color: var(--ink);
}
.h2 {
  font-family: var(--font-display);
  font-optical-sizing: auto;
  font-weight: 500;
  font-size: clamp(34px, 4.6vw, 56px);
  line-height: 1.05;
  letter-spacing: -0.028em;
}
.h3 {
  font-family: var(--font-ui);
  font-weight: 600;
  font-size: 19px;
  line-height: 1.3;
  letter-spacing: -0.01em;
}
.lead { font-size: clamp(18px, 1.6vw, 20px); line-height: 1.6; color: var(--text-muted); max-width: 36em; }
.muted { color: var(--text-muted); }
.mono-ref { font-family: var(--font-body); font-feature-settings: "tnum"; }

/* ---------- Buttons ---------- */
.btn {
  --bg: var(--forest); --fg: var(--ivory); --bd: var(--forest);
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 48px; padding: 0 22px;
  font-family: var(--font-ui); font-size: 15px; font-weight: 600; letter-spacing: -0.005em;
  color: var(--fg); background: var(--bg); border: 1px solid var(--bd); border-radius: 12px;
  text-decoration: none; cursor: pointer; white-space: nowrap;
  transition: transform .35s var(--ease), background-color .25s, box-shadow .35s var(--ease), border-color .25s;
}
.btn:hover { transform: translateY(-1px); box-shadow: 0 10px 24px -12px rgba(31, 77, 58, .55); --bg: var(--forest-600); }
.btn:active { transform: translateY(0); }
.btn .arrow { transition: transform .35s var(--ease); }
.btn:hover .arrow { transform: translateX(3px); }
.btn--ghost { --bg: var(--white); --fg: var(--ink); --bd: var(--line-strong); }
.btn--ghost:hover { --bg: var(--white); --bd: var(--forest); box-shadow: var(--shadow); }
.btn--light { --bg: var(--ivory); --fg: var(--forest); --bd: var(--ivory); }
.btn--light:hover { --bg: var(--white); }
.btn--sm { min-height: 40px; padding: 0 16px; font-size: 14px; border-radius: 10px; }

.link-arrow {
  font-family: var(--font-ui); font-size: 14px; font-weight: 600; color: var(--forest);
  text-decoration: none; display: inline-flex; align-items: center; gap: 6px;
}
.link-arrow span { transition: transform .35s var(--ease); }
.link-arrow:hover span { transform: translateX(4px); }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(246, 244, 238, 0.78);
  -webkit-backdrop-filter: saturate(160%) blur(14px);
  backdrop-filter: saturate(160%) blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color .3s, background-color .3s;
}
.site-header.is-scrolled { border-bottom-color: var(--line); background: rgba(246, 244, 238, 0.9); }
.nav { display: flex; align-items: center; justify-content: space-between; height: 72px; gap: 24px; }
.brand { display: inline-flex; align-items: center; flex-shrink: 0; }
.brand img { height: 34px; width: auto; }
.nav-links { display: flex; align-items: center; gap: 4px; list-style: none; margin: 0; padding: 0; }
.nav-links a {
  display: block; padding: 8px 14px; border-radius: 8px;
  font-family: var(--font-ui); font-size: 14.5px; font-weight: 500; color: var(--ink);
  text-decoration: none; transition: background-color .2s, color .2s;
}
.nav-links a:hover { background: rgba(31, 77, 58, 0.07); color: var(--forest); }
.nav-cta { display: flex; align-items: center; gap: 10px; }
.nav-toggle {
  display: none; width: 44px; height: 44px; border: 1px solid var(--line-strong); border-radius: 10px;
  background: var(--white); cursor: pointer; align-items: center; justify-content: center; padding: 0;
}
.nav-toggle span, .nav-toggle span::before, .nav-toggle span::after {
  display: block; width: 18px; height: 1.75px; background: var(--ink); border-radius: 2px;
  position: relative; transition: transform .3s var(--ease), opacity .2s;
}
.nav-toggle span::before, .nav-toggle span::after { content: ""; position: absolute; left: 0; }
.nav-toggle span::before { top: -6px; }
.nav-toggle span::after { top: 6px; }
.nav-open .nav-toggle span { background: transparent; }
.nav-open .nav-toggle span::before { transform: translateY(6px) rotate(45deg); }
.nav-open .nav-toggle span::after { transform: translateY(-6px) rotate(-45deg); }

@media (max-width: 960px) {
  .nav-toggle { display: inline-flex; }
  .nav-links {
    position: fixed; inset: 72px 0 auto 0; flex-direction: column; align-items: stretch; gap: 0;
    background: var(--ivory); border-bottom: 1px solid var(--line); padding: 8px var(--gutter) 20px;
    transform: translateY(-8px); opacity: 0; visibility: hidden;
    transition: transform .35s var(--ease), opacity .25s, visibility .25s;
  }
  .nav-links a { padding: 14px 4px; font-size: 17px; border-bottom: 1px solid var(--line); border-radius: 0; }
  .nav-open .nav-links { transform: none; opacity: 1; visibility: visible; }
  .nav-cta .btn--ghost { display: none; }
}
@media (max-width: 420px) { .nav-cta .btn { display: none; } }

/* ---------- Hero ---------- */
.hero { padding: clamp(40px, 7vw, 96px) 0 clamp(48px, 6vw, 72px); position: relative; }
.hero-grid { display: grid; grid-template-columns: 1.05fr 1fr; gap: clamp(32px, 5vw, 64px); align-items: center; }
.hero h1 { margin-bottom: 28px; }
.hero h1 em { font-style: italic; font-weight: 400; color: var(--forest); }
.hero .lead { margin-bottom: 36px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.hero-note { margin-top: 28px; font-size: 14px; color: var(--text-soft); display: flex; align-items: center; gap: 10px; }
.hero-note svg { flex-shrink: 0; }

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

/* Hero visual: product panel */
.hero-visual {
  position: relative; border-radius: var(--radius-lg); overflow: hidden;
  background: linear-gradient(160deg, var(--sage) 0%, #C9D8CE 100%);
  aspect-ratio: 1 / 1.02; min-height: 420px;
  isolation: isolate;
}
.hero-visual .rows { position: absolute; inset: 0; z-index: -1; opacity: .9; }
.hero-visual .glow {
  position: absolute; width: 60%; aspect-ratio: 1; right: -12%; top: -14%; z-index: -1;
  background: radial-gradient(closest-side, rgba(246, 244, 238, .85), rgba(246, 244, 238, 0));
}
.panel-app {
  position: absolute; left: 7%; right: 7%; top: 8%;
  background: rgba(255, 255, 255, 0.72);
  -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.9);
  border-radius: 16px; box-shadow: var(--shadow); padding: 16px 18px 18px;
  font-family: var(--font-ui);
}
.panel-app__bar { display: flex; align-items: center; justify-content: space-between; margin-bottom: 14px; }
.panel-app__title { font-size: 12px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--forest); }
.panel-app__dots { display: flex; gap: 5px; }
.panel-app__dots i { width: 7px; height: 7px; border-radius: 50%; background: rgba(22, 33, 27, .14); }
.checklist { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.checklist li {
  display: grid; grid-template-columns: 22px 1fr auto; align-items: center; gap: 10px;
  padding: 9px 12px; border-radius: 10px; background: var(--white);
  font-size: 13.5px; color: var(--ink); border: 1px solid var(--line);
}
.checklist .tick {
  width: 22px; height: 22px; border-radius: 50%; border: 1.5px solid var(--line-strong);
  display: grid; place-items: center; transition: background-color .4s var(--ease), border-color .4s;
}
.checklist .tick svg { width: 12px; height: 12px; stroke: var(--ivory); stroke-width: 2.4; fill: none;
  stroke-dasharray: 16; stroke-dashoffset: 16; transition: stroke-dashoffset .45s var(--ease) .1s; }
.checklist .ref { font-family: var(--font-body); font-size: 12px; color: var(--text-soft); }
.checklist li.is-done .tick { background: var(--forest); border-color: var(--forest); }
.checklist li.is-done .tick svg { stroke-dashoffset: 0; }

.lot-card {
  position: absolute; right: 5%; bottom: 6%; width: min(360px, 84%);
  background: var(--white); border-radius: 16px; padding: 20px 22px; box-shadow: var(--shadow-lg);
  font-family: var(--font-ui);
  transform: translateY(10px); opacity: 0; transition: transform .8s var(--ease), opacity .6s;
}
.lot-card.is-in { transform: none; opacity: 1; }
.lot-card__top { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 10px; }
.lot-card__id { font-size: 16px; font-weight: 600; letter-spacing: -0.01em; }
.badge {
  display: inline-flex; align-items: center; gap: 6px; padding: 4px 10px; border-radius: 999px;
  background: var(--forest); color: var(--ivory); font-size: 12px; font-weight: 600;
}
.badge--pending { background: var(--sage); color: var(--forest); }
.badge .pulse { width: 6px; height: 6px; border-radius: 50%; background: var(--resin); }
.lot-card__meta { font-family: var(--font-body); font-size: 13.5px; color: var(--text-muted); margin: 0 0 12px; line-height: 1.5; }
.lot-card__sig {
  display: flex; align-items: center; gap: 10px; padding-top: 12px; border-top: 1px dashed var(--line-strong);
  font-size: 13px; font-weight: 600; color: var(--forest);
}
.lot-card__sig svg { width: 72px; height: 24px; }
.lot-card__sig path { stroke: var(--forest); stroke-width: 1.6; fill: none; stroke-linecap: round;
  stroke-dasharray: 220; stroke-dashoffset: 220; transition: stroke-dashoffset 1.4s var(--ease) .3s; }
.lot-card.is-signed .lot-card__sig path { stroke-dashoffset: 0; }

@media (max-width: 560px) {
  .hero-visual { aspect-ratio: auto; min-height: 520px; }
  .panel-app { left: 5%; right: 5%; top: 5%; }
  .lot-card { right: 5%; left: 5%; width: auto; }
}

/* ---------- Trust strip ---------- */
.trust {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px 32px;
  background: var(--white); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 20px 28px; box-shadow: var(--shadow-sm);
  font-family: var(--font-ui); font-size: 14px; color: var(--text-muted);
}
.trust strong { color: var(--ink); font-weight: 600; }
.trust .sep { width: 1px; height: 20px; background: var(--line-strong); }
@media (max-width: 860px) { .trust .sep { display: none; } .trust { justify-content: flex-start; } }

/* ---------- Sections ---------- */
.section { padding: var(--section) 0 0; }
.section:last-of-type { padding-bottom: var(--section); }
.section-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px 48px; margin-bottom: clamp(32px, 4vw, 48px); flex-wrap: wrap; }
.section-head .h2 { max-width: 16em; }
.section-head p { max-width: 26em; margin: 0; color: var(--text-muted); }

.card {
  background: var(--white); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 28px; box-shadow: var(--shadow-sm);
  transition: transform .5s var(--ease), box-shadow .5s var(--ease), border-color .3s;
}
.card--hover:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: rgba(31, 77, 58, .22); }
.card p { color: var(--text-muted); font-size: 15.5px; margin: 10px 0 0; line-height: 1.55; }

/* Rulebook */
.rulebook { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 5vw, 64px); align-items: start; }
.rulebook .h2 { margin-bottom: 24px; }
.stats { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.stat { padding: 32px 28px; border-radius: var(--radius); }
.stat--forest { background: var(--forest); color: var(--ivory); }
.stat--white { background: var(--white); border: 1px solid var(--line); }
.stat__num {
  font-family: var(--font-ui); font-weight: 500; font-size: clamp(44px, 5vw, 60px);
  line-height: 1; letter-spacing: -0.04em; font-feature-settings: "tnum"; margin-bottom: 16px;
}
.stat--forest .stat__num .unit { color: var(--resin); }
.stat--white .stat__num { color: var(--forest); }
.stat__label { font-size: 14.5px; line-height: 1.5; opacity: .88; margin: 0; }
.stat--wide { grid-column: 1 / -1; background: var(--white); border: 1px solid var(--line); padding: 24px 28px; }
.stat--wide p { margin: 0; color: var(--text-muted); }
.source { font-size: 12.5px; color: var(--text-soft); margin-top: 16px; }
@media (max-width: 860px) { .rulebook { grid-template-columns: 1fr; } }
@media (max-width: 420px) { .stats { grid-template-columns: 1fr; } }

/* Chain */
.chain { display: grid; grid-template-columns: repeat(5, 1fr); gap: 14px; position: relative; counter-reset: step; }
.chain::before {
  content: ""; position: absolute; left: 4%; right: 4%; top: 42px; height: 2px;
  background: linear-gradient(90deg, var(--sage) 0%, var(--forest) 100%);
  transform-origin: left; transform: scaleX(var(--progress, 0)); transition: transform 1.6s var(--ease);
  z-index: 0;
}
.chain.is-in { --progress: 1; }
.step { position: relative; z-index: 1; display: flex; flex-direction: column; min-height: 220px; }
.step__num {
  display: inline-flex; align-items: center; justify-content: center;
  width: 30px; height: 30px; border-radius: 50%;
  background: var(--ivory); border: 1.5px solid var(--forest);
  font-family: var(--font-ui); font-size: 12px; font-weight: 600; color: var(--forest);
  margin-bottom: 22px; font-feature-settings: "tnum";
}
.step .h3 { font-size: 18px; }
.step--final { background: var(--forest); color: var(--ivory); border-color: var(--forest); }
.step--final p { color: rgba(246, 244, 238, .82); }
.step--final .step__num { background: var(--resin); border-color: var(--resin); color: var(--ink); }
@media (max-width: 1040px) {
  .chain { grid-template-columns: repeat(2, 1fr); }
  .chain::before { display: none; }
  .step { min-height: 0; }
  .step--final { grid-column: 1 / -1; }
}
@media (max-width: 520px) { .chain { grid-template-columns: 1fr; } }

/* Modules */
.modules { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.module { display: flex; flex-direction: column; }
.module__icon {
  width: 44px; height: 44px; border-radius: 12px; background: var(--sage-50);
  display: grid; place-items: center; margin-bottom: 20px; transition: background-color .4s;
}
.module__icon svg { width: 22px; height: 22px; stroke: var(--forest); stroke-width: 1.6; fill: none; stroke-linecap: round; stroke-linejoin: round; }
.module:hover .module__icon { background: var(--sage); }
.module .h3 { font-family: var(--font-ui); }
.module .h3 .phyta { color: var(--text-soft); font-weight: 500; }
@media (max-width: 960px) { .modules { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .modules { grid-template-columns: 1fr; } }

/* Markets + validation */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.split > * { border-radius: var(--radius-lg); padding: clamp(28px, 4vw, 48px); }
.markets { background: var(--white); border: 1px solid var(--line); }
.markets .h2, .validated .h2 { font-size: clamp(30px, 3.2vw, 40px); margin-bottom: 28px; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 24px; list-style: none; padding: 0; }
.chip {
  display: inline-flex; align-items: center; gap: 8px; padding: 8px 14px; border-radius: 999px;
  font-family: var(--font-ui); font-size: 14px; font-weight: 500;
  background: var(--ivory); color: var(--text-muted); border: 1px solid var(--line);
  transition: transform .3s var(--ease);
}
.chip:hover { transform: translateY(-2px); }
.chip--live { background: var(--forest); color: var(--ivory); border-color: var(--forest); }
.chip--next { background: var(--sage); color: var(--forest); border-color: var(--sage); }
.legend { display: flex; flex-wrap: wrap; gap: 8px 20px; font-size: 13.5px; color: var(--text-soft); margin: 0; }
.legend span { display: inline-flex; align-items: center; gap: 8px; }
.legend i { width: 10px; height: 10px; border-radius: 50%; display: inline-block; border: 1px solid var(--line-strong); }
.validated { background: var(--ink); color: var(--ivory); position: relative; overflow: hidden; }
.validated::after {
  content: ""; position: absolute; width: 380px; height: 380px; right: -140px; bottom: -160px; border-radius: 50%;
  background: radial-gradient(closest-side, rgba(31, 77, 58, .9), rgba(31, 77, 58, 0));
  pointer-events: none;
}
.validated .h2 { color: var(--ivory); }
.standards { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; padding: 0; margin: 0 0 28px; position: relative; z-index: 1; }
.standards li {
  padding: 7px 12px; border-radius: 8px; font-size: 13.5px;
  background: rgba(246, 244, 238, 0.06); border: 1px solid rgba(246, 244, 238, 0.12); color: rgba(246, 244, 238, .9);
}
.validated p { color: rgba(246, 244, 238, .78); position: relative; z-index: 1; max-width: 30em; }
.validated .accent { color: var(--resin); }
@media (max-width: 900px) { .split { grid-template-columns: 1fr; } }

/* Audiences */
.audiences { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.audience { display: flex; flex-direction: column; }
.audience p { flex: 1; margin-bottom: 20px; }
.audience .persona {
  font-family: var(--font-display); font-style: italic; font-size: 15.5px; color: var(--forest);
  border-left: 2px solid var(--sage); padding-left: 12px; margin: 16px 0 20px; line-height: 1.45;
}
@media (max-width: 1040px) { .audiences { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .audiences { grid-template-columns: 1fr; } }

/* Pillars */
.pillars { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.pillar__for { font-family: var(--font-ui); font-size: 12px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--text-soft); margin-bottom: 14px; }
.pillar .h3 { font-family: var(--font-display); font-weight: 500; font-size: 26px; letter-spacing: -0.02em; }
@media (max-width: 900px) { .pillars { grid-template-columns: 1fr; } }

/* CTA */
.cta {
  background: var(--forest); color: var(--ivory); border-radius: var(--radius-lg);
  padding: clamp(40px, 6vw, 80px); position: relative; overflow: hidden;
  display: grid; grid-template-columns: 1.4fr 1fr; gap: 32px; align-items: end;
}
.cta .h2 { color: var(--ivory); }
.cta p { color: rgba(246, 244, 238, .82); margin: 20px 0 0; max-width: 32em; }
.cta__actions { display: flex; flex-wrap: wrap; gap: 12px; justify-content: flex-end; }
.cta__mark { position: absolute; right: -60px; top: -80px; width: 320px; opacity: .07; pointer-events: none; }
.cta .btn--outline-light { --bg: transparent; --fg: var(--ivory); --bd: rgba(246, 244, 238, .4); }
.cta .btn--outline-light:hover { --bg: rgba(246, 244, 238, .08); --bd: var(--ivory); box-shadow: none; }
@media (max-width: 860px) { .cta { grid-template-columns: 1fr; } .cta__actions { justify-content: flex-start; } }

/* ---------- Footer ---------- */
.site-footer { background: var(--ink); color: rgba(246, 244, 238, .72); padding: 72px 0 32px; font-size: 14.5px; }
.footer-grid { display: grid; grid-template-columns: 1.6fr repeat(4, 1fr); gap: 32px; padding-bottom: 48px; border-bottom: 1px solid rgba(246, 244, 238, .1); }
.footer-brand img { height: 44px; width: auto; margin-bottom: 20px; }
.footer-brand p { max-width: 24em; }
.footer-col h4 { font-family: var(--font-ui); font-size: 13px; font-weight: 600; color: var(--ivory); letter-spacing: .04em; margin-bottom: 16px; }
.footer-col ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.footer-col a { text-decoration: none; transition: color .2s; }
.footer-col a:hover { color: var(--ivory); }
.footer-bottom { display: flex; flex-wrap: wrap; gap: 12px 32px; justify-content: space-between; padding-top: 28px; font-size: 13px; }
.footer-notice { display: inline-flex; align-items: center; gap: 10px; color: rgba(246, 244, 238, .85); }
.footer-notice i { width: 6px; height: 6px; border-radius: 50%; background: var(--resin); }
.footer-legal { max-width: 60em; font-size: 12.5px; color: rgba(246, 244, 238, .5); margin-top: 20px; }
@media (max-width: 960px) { .footer-grid { grid-template-columns: repeat(2, 1fr); } .footer-brand { grid-column: 1 / -1; } }

/* ---------- Forms (demo page) ---------- */
.page-hero { padding: clamp(40px, 6vw, 80px) 0 0; }
.form-layout { display: grid; grid-template-columns: 1fr 1.1fr; gap: clamp(32px, 5vw, 72px); align-items: start; padding-bottom: var(--section); }
.form-card { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: clamp(24px, 4vw, 40px); box-shadow: var(--shadow); }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.field { display: flex; flex-direction: column; gap: 8px; }
.field--full { grid-column: 1 / -1; }
.field label { font-family: var(--font-ui); font-size: 13.5px; font-weight: 600; color: var(--ink); }
.field .opt { font-weight: 400; color: var(--text-soft); }
.field input, .field select, .field textarea {
  font: inherit; font-size: 16px; color: var(--ink);
  background: var(--ivory); border: 1px solid var(--line-strong); border-radius: 10px;
  padding: 0 14px; height: 50px; width: 100%;
  transition: border-color .2s, background-color .2s, box-shadow .2s;
}
.field textarea { height: auto; min-height: 120px; padding: 12px 14px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; border-color: var(--forest); background: var(--white); box-shadow: 0 0 0 4px rgba(31, 77, 58, .12);
}
.check { display: flex; gap: 12px; align-items: flex-start; font-size: 14px; color: var(--text-muted); }
.check input { width: 18px; height: 18px; margin-top: 3px; accent-color: var(--forest); flex-shrink: 0; }
.form-status { margin-top: 16px; font-size: 15px; min-height: 1.5em; }
.form-status.is-ok { color: var(--forest); font-weight: 600; }
.form-status.is-err { color: #9B2C2C; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.bullets { list-style: none; padding: 0; margin: 32px 0 0; display: grid; gap: 18px; }
.bullets li { display: grid; grid-template-columns: 28px 1fr; gap: 14px; }
.bullets .dot { width: 28px; height: 28px; border-radius: 50%; background: var(--sage); display: grid; place-items: center; }
.bullets .dot svg { width: 14px; height: 14px; stroke: var(--forest); stroke-width: 2.2; fill: none; }
.bullets strong { font-family: var(--font-ui); font-weight: 600; font-size: 15.5px; display: block; }
.bullets span { color: var(--text-muted); font-size: 15px; }
@media (max-width: 900px) { .form-layout { grid-template-columns: 1fr; } }
@media (max-width: 560px) { .form-grid { grid-template-columns: 1fr; } }

/* ---------- Motion ---------- */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .9s var(--ease), transform .9s var(--ease); transition-delay: var(--d, 0s); }
.reveal.is-in { opacity: 1; transform: none; }
.no-js .reveal { opacity: 1; transform: none; }
.no-js .lot-card { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: 0.01ms !important; transition-delay: 0s !important; animation-duration: 0.01ms !important; }
  .reveal { opacity: 1; transform: none; }
}
