/* ==========================================================================
   AdmitMe — marketing design system
   Part of the CrowdSense Ecosystem · engineered by Artefact Group
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. Fonts (self-hosted, variable)
   -------------------------------------------------------------------------- */
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url('../fonts/inter-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA,
    U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193,
    U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url('../fonts/inter-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF,
    U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020,
    U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Archivo';
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url('../fonts/archivo-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA,
    U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193,
    U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Archivo';
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url('../fonts/archivo-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF,
    U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020,
    U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

/* --------------------------------------------------------------------------
   2. Tokens
   -------------------------------------------------------------------------- */
:root {
  /* Brand */
  --am-orange:       #ff6431;
  --am-orange-deep:  #e04413;
  --am-orange-soft:  #fff1eb;
  --am-blue:         #2e6bff;   /* CrowdSense sibling accent */
  --am-blue-soft:    #eef3ff;

  /* Ink scale (cool near-black through to paper) */
  --ink-1000: #07090d;
  --ink-950:  #0a0c10;
  --ink-900:  #12151b;
  --ink-800:  #1b1f27;
  --ink-700:  #2a3039;
  --ink-600:  #434a55;
  --ink-500:  #626a76;
  --ink-400:  #8b929c;
  --ink-300:  #b6bcc4;
  --ink-200:  #d8dce1;
  --ink-150:  #e6e9ec;
  --ink-100:  #f0f2f4;
  --ink-50:   #f7f8f9;
  --paper:    #ffffff;

  /* Semantic — light surface (default) */
  --bg:            var(--paper);
  --bg-sunken:     var(--ink-50);
  --fg:            var(--ink-950);
  --fg-muted:      var(--ink-500);
  --fg-subtle:     var(--ink-400);
  --rule:          var(--ink-150);
  --rule-strong:   var(--ink-200);
  --accent:        var(--am-orange);
  --accent-fg:     #ffffff;
  --card:          var(--paper);
  --card-rule:     var(--ink-150);

  /* Type */
  --font-display: 'Archivo', 'Helvetica Neue', Helvetica, Arial, sans-serif;
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto,
    Helvetica, Arial, sans-serif;
  --font-mono: ui-monospace, SFMono-Regular, 'SF Mono', Menlo, Consolas,
    'Liberation Mono', monospace;

  /* Space (8pt) */
  --s-1: 4px;   --s-2: 8px;   --s-3: 12px;  --s-4: 16px;
  --s-5: 24px;  --s-6: 32px;  --s-7: 40px;  --s-8: 56px;
  --s-9: 72px;  --s-10: 96px; --s-11: 128px;

  /* Shape */
  --r-sm: 6px;
  --r-md: 10px;
  --r-lg: 16px;
  --r-xl: 24px;
  --r-pill: 999px;

  /* Elevation */
  --shadow-sm: 0 1px 2px rgba(10, 12, 16, .05);
  --shadow-md: 0 4px 16px -4px rgba(10, 12, 16, .10), 0 1px 3px rgba(10, 12, 16, .05);
  --shadow-lg: 0 24px 60px -18px rgba(10, 12, 16, .22), 0 2px 8px rgba(10, 12, 16, .06);

  /* Layout */
  --container: 1200px;
  --container-wide: 1360px;
  --container-prose: 720px;
  --gutter: 24px;
  --header-h: 72px;

  --ease: cubic-bezier(.22, .61, .36, 1);
}

/* Dark surface — applied per section, not per document */
.on-dark {
  --bg:          var(--ink-950);
  --bg-sunken:   var(--ink-900);
  --fg:          #f4f6f8;
  --fg-muted:    #a5adb9;
  --fg-subtle:   #79818d;
  --rule:        rgba(255, 255, 255, .10);
  --rule-strong: rgba(255, 255, 255, .18);
  --card:        rgba(255, 255, 255, .035);
  --card-rule:   rgba(255, 255, 255, .10);
  background: var(--bg);
  color: var(--fg);
}

@media (min-width: 900px) {
  :root { --gutter: 40px; --header-h: 80px; }
}

/* --------------------------------------------------------------------------
   3. Reset & base
   -------------------------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }

html {
  overflow-x: clip;
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 16px);
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
  }
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink-950);
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.6;
  letter-spacing: -.011em;
  font-feature-settings: 'cv05' 1, 'ss03' 1;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}
body.is-locked { overflow: hidden; }

img, svg, video { max-width: 100%; height: auto; display: block; }
hr { border: 0; border-top: 1px solid var(--rule); margin: var(--s-8) 0; }

a { color: inherit; text-decoration: none; }
a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible,
summary:focus-visible {
  outline: 2px solid var(--am-orange);
  outline-offset: 3px;
  border-radius: 3px;
}

::selection { background: var(--am-orange); color: #fff; }

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

.skip-link {
  position: absolute; top: -100%; left: var(--s-4); z-index: 200;
  background: var(--am-orange); color: #fff; padding: 10px 16px;
  border-radius: var(--r-sm); font-weight: 600;
}
.skip-link:focus { top: 12px; }

/* --------------------------------------------------------------------------
   4. Typography
   -------------------------------------------------------------------------- */
h1, h2, h3, h4, h5 {
  overflow-wrap: break-word;
  font-family: var(--font-display);
  font-weight: 620;
  line-height: 1.08;
  letter-spacing: -.035em;
  margin: 0 0 var(--s-4);
  color: var(--fg);
  text-wrap: balance;
}

.t-display {
  font-size: clamp(2.05rem, 8.4vw, 4.6rem);
  line-height: 1.02;
  letter-spacing: -.042em;
}
.t-h1 { font-size: clamp(1.85rem, 5.6vw, 3.4rem); }
.t-h2 { font-size: clamp(1.85rem, 3.4vw, 2.6rem); }
.t-h3 { font-size: clamp(1.3rem, 2vw, 1.6rem); letter-spacing: -.028em; }
.t-h4 { font-size: 1.125rem; letter-spacing: -.02em; font-weight: 600; }

p { margin: 0 0 var(--s-4); color: var(--fg-muted); }
p:last-child { margin-bottom: 0; }

.t-lead {
  font-size: clamp(1.06rem, 1.5vw, 1.28rem);
  line-height: 1.55;
  color: var(--fg-muted);
  max-width: 62ch;
}
.t-sm    { font-size: .9375rem; line-height: 1.6; }
.t-xs    { font-size: .8125rem; line-height: 1.5; }
.t-fg    { color: var(--fg); }
.t-muted { color: var(--fg-muted); }
.t-center { text-align: center; }
/* A hard break that only applies once there is room for it. */
.br-lg { display: none; }
@media (min-width: 900px) { .br-lg { display: inline; } }
.t-center .t-lead, .t-center .measure { margin-left: auto; margin-right: auto; }
.measure { max-width: 62ch; }
.measure-sm { max-width: 48ch; }

strong, b { font-weight: 620; color: var(--fg); }

.eyebrow {
  display: inline-flex; align-items: center; gap: var(--s-2);
  font-size: .75rem; font-weight: 650;
  letter-spacing: .1em; text-transform: uppercase;
  color: var(--accent);
  margin: 0 0 var(--s-4);
  font-family: var(--font-body);
}
.eyebrow::before {
  content: ''; width: 20px; height: 1px; background: currentColor; opacity: .55;
}
.eyebrow--plain::before { display: none; }
.eyebrow--muted { color: var(--fg-subtle); }

.mono {
  font-family: var(--font-mono);
  font-size: .78rem;
  letter-spacing: .02em;
  font-variant-numeric: tabular-nums;
}

.link-arrow {
  display: inline-flex; align-items: center; gap: 7px;
  font-weight: 560; color: var(--accent);
  border-bottom: 1px solid transparent;
  transition: gap .22s var(--ease), border-color .22s var(--ease);
}
.link-arrow svg { width: 15px; height: 15px; flex: none; }
.link-arrow:hover { gap: 11px; border-bottom-color: currentColor; }

.t-underline { text-decoration: underline; text-underline-offset: 3px; text-decoration-thickness: 1px; text-decoration-color: var(--rule-strong); }
.t-underline:hover { text-decoration-color: var(--accent); }

/* --------------------------------------------------------------------------
   5. Layout primitives
   -------------------------------------------------------------------------- */
.wrap {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: var(--gutter);
}
.wrap--wide  { max-width: var(--container-wide); }
.wrap--prose { max-width: var(--container-prose); }

.section { padding-block: clamp(56px, 9vw, 112px); }
.section--tight { padding-block: clamp(40px, 6vw, 72px); }
.section--flush-top { padding-top: 0; }
.section--sunken { background: var(--bg-sunken); }
.section--ruled { border-top: 1px solid var(--rule); }

.grid { display: grid; gap: var(--s-5); }
.grid--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
@media (max-width: 900px) {
  .grid--3, .grid--4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 620px) {
  .grid--2, .grid--3, .grid--4 { grid-template-columns: minmax(0, 1fr); }
}

.split {
  display: grid;
  gap: clamp(32px, 5vw, 72px);
  align-items: center;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
}
.split--lead { grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); }
.split--aside { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); align-items: start; }
.split--top { align-items: start; }
@media (max-width: 900px) {
  .split, .split--lead, .split--aside { grid-template-columns: minmax(0, 1fr); }
}

.stack > * + * { margin-top: var(--s-4); }
.stack-lg > * + * { margin-top: var(--s-6); }
.cluster { display: flex; flex-wrap: wrap; gap: var(--s-3); align-items: center; }
.cluster--center { justify-content: center; }

.section-head { max-width: 46ch; margin-bottom: clamp(32px, 4vw, 56px); }
.section-head--wide { max-width: 62ch; }
.section-head--center { margin-inline: auto; text-align: center; }
.section-head--split {
  display: grid; gap: var(--s-5) clamp(32px, 6vw, 80px); max-width: none;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); align-items: end;
}
@media (max-width: 900px) { .section-head--split { grid-template-columns: 1fr; align-items: start; } }

/* --------------------------------------------------------------------------
   6. Buttons
   -------------------------------------------------------------------------- */
.btn {
  --btn-bg: var(--ink-950);
  --btn-fg: #fff;
  --btn-bd: var(--ink-950);
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  font-family: var(--font-body);
  font-size: .9375rem; font-weight: 580; letter-spacing: -.006em;
  line-height: 1;
  padding: 14px 22px;
  border-radius: var(--r-pill);
  border: 1px solid var(--btn-bd);
  background: var(--btn-bg);
  color: var(--btn-fg);
  cursor: pointer;
  white-space: nowrap;
  transition: transform .18s var(--ease), background .18s var(--ease),
              border-color .18s var(--ease), color .18s var(--ease),
              box-shadow .18s var(--ease);
}
.btn:hover { transform: translateY(-1px); box-shadow: var(--shadow-md); }
.btn:active { transform: translateY(0); }
.btn svg { width: 16px; height: 16px; flex: none; }

.btn--primary { --btn-bg: var(--am-orange); --btn-bd: var(--am-orange); --btn-fg: #fff; }
.btn--primary:hover { --btn-bg: var(--am-orange-deep); --btn-bd: var(--am-orange-deep); }

.btn--ghost {
  --btn-bg: transparent; --btn-fg: var(--fg); --btn-bd: var(--rule-strong);
}
.btn--ghost:hover { --btn-bd: var(--fg); box-shadow: none; }

.btn--quiet {
  --btn-bg: transparent; --btn-fg: var(--fg); --btn-bd: transparent;
  padding-inline: 12px;
}
.btn--quiet:hover { --btn-bg: var(--bg-sunken); box-shadow: none; }

.btn--sm { padding: 10px 16px; font-size: .875rem; }
.btn--lg { padding: 17px 30px; font-size: 1rem; }
.btn--block { width: 100%; }

/* --------------------------------------------------------------------------
   7. Header / navigation
   -------------------------------------------------------------------------- */
.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 100;
  height: var(--header-h);
  display: flex; align-items: center;
  background: transparent;
  border-bottom: 1px solid transparent;
  transition: background .28s var(--ease), border-color .28s var(--ease),
              backdrop-filter .28s var(--ease);
}
.site-header.is-stuck,
.site-header.is-open {
  background: rgba(10, 12, 16, .88);
  -webkit-backdrop-filter: saturate(160%) blur(14px);
  backdrop-filter: saturate(160%) blur(14px);
  border-bottom-color: rgba(255, 255, 255, .10);
}
.site-header__inner {
  width: 100%; max-width: var(--container-wide); margin-inline: auto;
  padding-inline: var(--gutter);
  display: flex; align-items: center; gap: var(--s-6);
}
.site-header__logo { flex: none; display: flex; align-items: center; }
.site-header__logo img { width: 132px; }

.nav { display: none; margin-inline: auto; }
.nav__list { display: flex; align-items: center; gap: 2px; list-style: none; margin: 0; padding: 0; }
.nav__link {
  display: inline-flex; align-items: center; gap: 5px;
  padding: 9px 14px; border-radius: var(--r-pill);
  font-family: inherit; font-size: .9375rem; font-weight: 500; line-height: 1.4;
  color: rgba(255, 255, 255, .74);
  background: transparent; border: 0; cursor: pointer; -webkit-appearance: none; appearance: none;
  transition: color .18s var(--ease), background .18s var(--ease);
}
.nav__link:hover,
.nav__item.is-open > .nav__link { color: #fff; background: rgba(255, 255, 255, .09); }
.nav__link[aria-current="page"] { color: #fff; }
.nav__link[aria-current="page"]::after {
  content: ''; width: 4px; height: 4px; border-radius: 50%;
  background: var(--am-orange); margin-left: 2px;
}
.nav__chev { width: 13px; height: 13px; opacity: .6; transition: transform .2s var(--ease); }
.nav__item.is-open .nav__chev { transform: rotate(180deg); }

.nav__item { position: relative; }
.nav__panel {
  position: absolute; top: calc(100% + 12px); left: 50%; translate: -50% 0;
  width: min(620px, calc(100vw - 32px));
  background: var(--ink-900);
  border: 1px solid rgba(255, 255, 255, .10);
  border-radius: var(--r-lg);
  box-shadow: 0 30px 70px -20px rgba(0, 0, 0, .7);
  padding: var(--s-4);
  display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 4px;
  opacity: 0; visibility: hidden; translate: -50% 6px;
  transition: opacity .2s var(--ease), translate .2s var(--ease), visibility .2s;
}
.nav__item.is-open .nav__panel { opacity: 1; visibility: visible; translate: -50% 0; }
.nav__panel-link {
  display: grid; grid-template-columns: 34px minmax(0, 1fr); gap: var(--s-3);
  padding: 12px; border-radius: var(--r-md);
  transition: background .16s var(--ease);
}
.nav__panel-link:hover { background: rgba(255, 255, 255, .06); }
.nav__panel-icon {
  width: 34px; height: 34px; border-radius: 9px;
  display: grid; place-items: center;
  background: rgba(255, 100, 49, .14); color: var(--am-orange);
}
.nav__panel-icon svg { width: 17px; height: 17px; }
.nav__panel-link--alt .nav__panel-icon { background: rgba(46, 107, 255, .16); color: #7ea3ff; }
.nav__panel-title { display: block; color: #fff; font-weight: 560; font-size: .9375rem; line-height: 1.3; }
.nav__panel-desc  { display: block; color: rgba(255, 255, 255, .55); font-size: .8125rem; line-height: 1.45; margin-top: 3px; }

.site-header__cta { display: none; flex: none; gap: var(--s-2); align-items: center; }
.site-header__cta .btn--ghost { --btn-fg: #fff; --btn-bd: rgba(255, 255, 255, .28); }
.site-header__cta .btn--ghost:hover { --btn-bd: #fff; }

.nav-toggle {
  margin-left: auto; flex: none;
  width: 42px; height: 42px; display: grid; place-items: center;
  background: rgba(255, 255, 255, .09);
  border: 1px solid rgba(255, 255, 255, .14);
  border-radius: var(--r-md);
  cursor: pointer; padding: 0;
}
.nav-toggle span {
  display: block; width: 17px; height: 1.5px; background: #fff; border-radius: 2px;
  position: relative; transition: background .18s var(--ease);
}
.nav-toggle span::before, .nav-toggle span::after {
  content: ''; position: absolute; left: 0; width: 17px; height: 1.5px;
  background: #fff; border-radius: 2px;
  transition: transform .24s var(--ease), top .18s var(--ease);
}
.nav-toggle span::before { top: -5.5px; }
.nav-toggle span::after  { top: 5.5px; }
.site-header.is-open .nav-toggle span { background: transparent; }
.site-header.is-open .nav-toggle span::before { top: 0; transform: rotate(45deg); }
.site-header.is-open .nav-toggle span::after  { top: 0; transform: rotate(-45deg); }

@media (min-width: 1060px) {
  .nav { display: block; }
  .site-header__cta { display: flex; }
  .nav-toggle { display: none; }
}

/* Mobile drawer */
.mobile-nav {
  position: fixed; inset: var(--header-h) 0 0 0; z-index: 99;
  background: var(--ink-950);
  padding: var(--s-5) var(--gutter) calc(var(--s-8) + env(safe-area-inset-bottom, 0px));
  overflow-y: auto;
  opacity: 0; visibility: hidden; translate: 0 -8px;
  transition: opacity .24s var(--ease), translate .24s var(--ease), visibility .24s;
}
.site-header.is-open ~ .mobile-nav { opacity: 1; visibility: visible; translate: 0; }
.mobile-nav__group + .mobile-nav__group { margin-top: var(--s-5); padding-top: var(--s-5); border-top: 1px solid rgba(255, 255, 255, .08); }
.mobile-nav__label {
  font-size: .7rem; font-weight: 650; letter-spacing: .12em; text-transform: uppercase;
  color: rgba(255, 255, 255, .38); margin-bottom: var(--s-3);
}
.mobile-nav__link {
  display: flex; align-items: center; justify-content: space-between;
  padding: 13px 0; color: #fff; font-size: 1.0625rem; font-weight: 500;
  border-bottom: 1px solid rgba(255, 255, 255, .06);
}
.mobile-nav__link span { color: rgba(255, 255, 255, .45); font-size: .8125rem; font-weight: 400; }
.mobile-nav__actions { margin-top: var(--s-6); display: grid; gap: var(--s-3); }
.mobile-nav__actions .btn--ghost { --btn-fg: #fff; --btn-bd: rgba(255, 255, 255, .28); }
@media (min-width: 1060px) { .mobile-nav { display: none; } }

/* --------------------------------------------------------------------------
   8. Hero
   -------------------------------------------------------------------------- */
.hero {
  position: relative;
  padding-top: calc(var(--header-h) + clamp(56px, 9vw, 104px));
  padding-bottom: clamp(56px, 8vw, 104px);
  background: var(--ink-950);
  color: #fff;
  overflow: hidden;
  isolation: isolate;
}
.hero::before {
  content: ''; position: absolute; inset: 0; z-index: -2;
  background:
    radial-gradient(110% 78% at 8% 0%, rgba(255, 100, 49, .20) 0%, transparent 58%),
    radial-gradient(90% 70% at 96% 8%, rgba(46, 107, 255, .17) 0%, transparent 60%),
    linear-gradient(180deg, #10131a 0%, #0a0c10 68%);
}
.hero::after {
  content: ''; position: absolute; inset: 0; z-index: -1;
  background-image:
    linear-gradient(to right, rgba(255, 255, 255, .045) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(255, 255, 255, .045) 1px, transparent 1px);
  background-size: 68px 68px;
  -webkit-mask-image: radial-gradient(120% 90% at 50% 0%, #000 12%, transparent 74%);
  mask-image: radial-gradient(120% 90% at 50% 0%, #000 12%, transparent 74%);
}
.hero h1, .hero h2, .hero h3 { color: #fff; }
.hero p { color: rgba(255, 255, 255, .68); }
.hero .eyebrow { color: var(--am-orange); }
.hero .btn--ghost { --btn-fg: #fff; --btn-bd: rgba(255, 255, 255, .26); }
.hero .btn--ghost:hover { --btn-bd: #fff; }

.hero--page { padding-bottom: clamp(48px, 6vw, 80px); }
.hero--tall  { padding-bottom: clamp(72px, 10vw, 128px); }

.hero__grid {
  display: grid; gap: clamp(32px, 5vw, 64px);
  grid-template-columns: minmax(0, 1.12fr) minmax(0, .88fr);
  align-items: center;
}
@media (max-width: 980px) { .hero__grid { grid-template-columns: minmax(0, 1fr); } }

.hero__actions { display: flex; flex-wrap: wrap; gap: var(--s-3); margin-top: var(--s-6); }
.hero__note {
  margin-top: var(--s-5); font-size: .8125rem; color: rgba(255, 255, 255, .45);
  display: flex; flex-wrap: wrap; align-items: center; gap: var(--s-2) var(--s-4);
}
.hero__note span { display: inline-flex; align-items: center; gap: 6px; }
.hero__note svg { width: 14px; height: 14px; color: var(--am-orange); flex: none; }

/* Ecosystem pill above H1 */
.eco-pill {
  display: inline-flex; align-items: center; gap: 9px;
  padding: 6px 8px 6px 6px; margin-bottom: var(--s-5);
  border: 1px solid rgba(255, 255, 255, .14);
  background: rgba(255, 255, 255, .05);
  border-radius: var(--r-pill);
  font-size: .8125rem; color: rgba(255, 255, 255, .78);
  transition: border-color .2s var(--ease), background .2s var(--ease);
}
.eco-pill:hover { border-color: rgba(255, 255, 255, .3); background: rgba(255, 255, 255, .08); }
.eco-pill__tag {
  padding: 3px 9px; border-radius: var(--r-pill);
  background: var(--am-orange); color: #fff;
  font-size: .6875rem; font-weight: 680; letter-spacing: .05em; text-transform: uppercase;
}
.eco-pill svg { width: 13px; height: 13px; opacity: .6; }

/* --------------------------------------------------------------------------
   9. Cards
   -------------------------------------------------------------------------- */
.card {
  background: var(--card);
  border: 1px solid var(--card-rule);
  border-radius: var(--r-lg);
  padding: var(--s-5);
  display: flex; flex-direction: column; gap: var(--s-3);
  transition: border-color .22s var(--ease), transform .22s var(--ease),
              box-shadow .22s var(--ease);
}
.card > :last-child { margin-bottom: 0; }
.card--link:hover {
  transform: translateY(-3px);
  border-color: var(--rule-strong);
  box-shadow: var(--shadow-md);
}
.on-dark .card--link:hover { box-shadow: 0 20px 50px -20px rgba(0, 0, 0, .75); }
.card--pad { padding: clamp(24px, 3vw, 36px); }
.card--flush { background: transparent; border: 0; padding: 0; }

.card__icon {
  width: 42px; height: 42px; border-radius: var(--r-md);
  display: grid; place-items: center; flex: none;
  background: var(--am-orange-soft); color: var(--am-orange-deep);
}
.on-dark .card__icon { background: rgba(255, 100, 49, .14); color: var(--am-orange); }
.card__icon svg { width: 20px; height: 20px; }
.card__icon--alt { background: var(--am-blue-soft); color: var(--am-blue); }
.on-dark .card__icon--alt { background: rgba(46, 107, 255, .16); color: #7ea3ff; }
.card__icon--neutral { background: var(--ink-100); color: var(--ink-700); }
.on-dark .card__icon--neutral { background: rgba(255, 255, 255, .07); color: #fff; }

.card__title { font-size: 1.0625rem; font-weight: 600; letter-spacing: -.02em;
  font-family: var(--font-display); color: var(--fg); margin: 0; }
.card__body { font-size: .9375rem; line-height: 1.6; color: var(--fg-muted); margin: 0; }
.card__foot { margin-top: auto; padding-top: var(--s-3); }

/* Module card — the big three */
.module-card {
  position: relative; overflow: hidden;
  display: grid; gap: var(--s-4);
  padding: clamp(26px, 3vw, 36px);
  border: 1px solid var(--card-rule);
  border-radius: var(--r-xl);
  background: var(--card);
  transition: border-color .24s var(--ease), transform .24s var(--ease), box-shadow .24s var(--ease);
}
.module-card::after {
  content: ''; position: absolute; inset: 0 0 auto 0; height: 3px;
  background: linear-gradient(90deg, var(--am-orange), rgba(255, 100, 49, 0));
  opacity: 0; transition: opacity .24s var(--ease);
}
.module-card:hover { transform: translateY(-4px); border-color: var(--rule-strong); box-shadow: var(--shadow-lg); }
.module-card:hover::after { opacity: 1; }
.module-card__head { display: flex; align-items: center; gap: var(--s-3); }
.module-card__num {
  font-family: var(--font-mono); font-size: .72rem; letter-spacing: .1em;
  color: var(--fg-subtle); margin-left: auto;
}
.module-card ul { margin: 0; padding: 0; list-style: none; display: grid; gap: 9px; }
.module-card ul li {
  position: relative; padding-left: 22px;
  font-size: .9rem; line-height: 1.5; color: var(--fg-muted);
}
.module-card ul li::before {
  content: ''; position: absolute; left: 4px; top: .55em;
  width: 6px; height: 6px; border-radius: 50%; background: var(--am-orange);
}

/* Status chip */
.chip {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 4px 10px; border-radius: var(--r-pill);
  font-size: .7rem; font-weight: 650; letter-spacing: .06em; text-transform: uppercase;
  background: var(--ink-100); color: var(--ink-600);
  border: 1px solid var(--rule);
}
.on-dark .chip { background: rgba(255, 255, 255, .07); color: rgba(255, 255, 255, .72); border-color: rgba(255, 255, 255, .12); }
.chip--live { background: rgba(29, 155, 88, .10); color: #15794a; border-color: rgba(29, 155, 88, .22); }
.on-dark .chip--live { background: rgba(52, 199, 116, .14); color: #6ee7a8; border-color: rgba(52, 199, 116, .26); }
.chip--live::before {
  content: ''; width: 6px; height: 6px; border-radius: 50%; background: currentColor;
  box-shadow: 0 0 0 3px rgba(29, 155, 88, .18);
}
.chip--accent { background: var(--am-orange-soft); color: var(--am-orange-deep); border-color: rgba(255, 100, 49, .25); }
.on-dark .chip--accent { background: rgba(255, 100, 49, .14); color: #ffab8c; border-color: rgba(255, 100, 49, .28); }
.chip--blue { background: var(--am-blue-soft); color: var(--am-blue); border-color: rgba(46, 107, 255, .22); }
.on-dark .chip--blue { background: rgba(46, 107, 255, .16); color: #9dbaff; border-color: rgba(46, 107, 255, .3); }

/* --------------------------------------------------------------------------
   10. Stat band / logos / marquee
   -------------------------------------------------------------------------- */
.stat-band {
  display: grid; grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px; background: var(--rule);
  border: 1px solid var(--rule); border-radius: var(--r-lg); overflow: hidden;
}
@media (max-width: 780px) { .stat-band { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.stat {
  background: var(--bg); padding: clamp(20px, 3vw, 32px);
}
.stat__value {
  font-family: var(--font-display); font-weight: 640;
  font-size: clamp(1.9rem, 3.4vw, 2.7rem); letter-spacing: -.04em;
  line-height: 1; color: var(--fg); margin-bottom: 8px;
  font-variant-numeric: tabular-nums;
}
.stat__value em { font-style: normal; color: var(--am-orange); }
.stat__label { font-size: .8125rem; color: var(--fg-muted); line-height: 1.45; }

/* --------------------------------------------------------------------------
   11. Process / steps
   -------------------------------------------------------------------------- */
.steps { display: grid; gap: 0; counter-reset: step; }
.step {
  counter-increment: step;
  display: grid; grid-template-columns: 56px minmax(0, 1fr); gap: var(--s-4);
  padding: var(--s-5) 0;
  border-top: 1px solid var(--rule);
}
.step:last-child { border-bottom: 1px solid var(--rule); }
.step__num {
  font-family: var(--font-mono); font-size: .78rem; letter-spacing: .08em;
  color: var(--am-orange); padding-top: 5px;
}
.step__num::before { content: '0' counter(step); }
.step h3 { font-size: 1.125rem; margin-bottom: 6px; }
.step p { font-size: .9375rem; margin: 0; }

/* --------------------------------------------------------------------------
   12. Feature list / spec table
   -------------------------------------------------------------------------- */
.spec-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 0; }
.spec-list li {
  display: grid; grid-template-columns: 22px minmax(0, 1fr); gap: var(--s-3);
  padding: 14px 0; border-bottom: 1px solid var(--rule);
  font-size: .9375rem; color: var(--fg-muted); line-height: 1.55;
}
.spec-list li:first-child { border-top: 1px solid var(--rule); }
.spec-list li strong { display: block; color: var(--fg); font-weight: 580; margin-bottom: 2px; }
.spec-list__tick { width: 20px; height: 20px; color: var(--am-orange); margin-top: 1px; }

.tick-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 11px; }
.tick-list li {
  position: relative; padding-left: 28px;
  font-size: .9375rem; line-height: 1.55; color: var(--fg-muted);
}
.tick-list li::before {
  content: ''; position: absolute; left: 0; top: .18em;
  width: 18px; height: 18px; border-radius: 50%;
  background: var(--am-orange-soft) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20' fill='%23e04413'%3E%3Cpath fill-rule='evenodd' d='M16.7 5.3a1 1 0 0 1 0 1.4l-7.5 7.5a1 1 0 0 1-1.4 0L3.3 9.7a1 1 0 1 1 1.4-1.4l3.8 3.8 6.8-6.8a1 1 0 0 1 1.4 0z' clip-rule='evenodd'/%3E%3C/svg%3E") center / 13px no-repeat;
}
.on-dark .tick-list li::before {
  background-color: rgba(255, 100, 49, .16);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20' fill='%23ff8a5f'%3E%3Cpath fill-rule='evenodd' d='M16.7 5.3a1 1 0 0 1 0 1.4l-7.5 7.5a1 1 0 0 1-1.4 0L3.3 9.7a1 1 0 1 1 1.4-1.4l3.8 3.8 6.8-6.8a1 1 0 0 1 1.4 0z' clip-rule='evenodd'/%3E%3C/svg%3E");
}
.tick-list strong { color: var(--fg); font-weight: 580; }

/* Form-template catalogue chips */
.tag-grid { display: flex; flex-wrap: wrap; gap: 8px; }
.tag {
  display: inline-flex; align-items: center; gap: 7px;
  padding: 8px 13px; border-radius: var(--r-pill);
  border: 1px solid var(--rule); background: var(--bg);
  font-size: .8125rem; color: var(--fg-muted); line-height: 1;
  transition: border-color .18s var(--ease), color .18s var(--ease), background .18s var(--ease);
}
.tag:hover { border-color: var(--am-orange); color: var(--fg); }
.tag__cat {
  font-family: var(--font-mono); font-size: .65rem; letter-spacing: .06em;
  text-transform: uppercase; color: var(--fg-subtle);
  padding-left: 7px; border-left: 1px solid var(--rule-strong);
}

/* --------------------------------------------------------------------------
   13. Ecosystem diagram
   -------------------------------------------------------------------------- */
.eco {
  display: grid; gap: var(--s-4);
  grid-template-columns: repeat(3, minmax(0, 1fr));
  align-items: stretch;
}
@media (max-width: 900px) { .eco { grid-template-columns: minmax(0, 1fr); } }
.eco__node {
  position: relative;
  padding: clamp(22px, 2.6vw, 30px);
  border: 1px solid var(--card-rule); border-radius: var(--r-lg);
  background: var(--card);
  display: flex; flex-direction: column; gap: var(--s-3);
  transition: border-color .22s var(--ease), transform .22s var(--ease);
}
.eco__node:hover { transform: translateY(-3px); border-color: var(--rule-strong); }
.eco__node--self {
  border-color: rgba(255, 100, 49, .45);
  background: linear-gradient(180deg, rgba(255, 100, 49, .07), transparent 60%), var(--card);
}
.eco__brand {
  font-family: var(--font-display); font-weight: 660; letter-spacing: -.03em;
  font-size: 1.15rem; color: var(--fg);
}
.eco__brand em { font-style: normal; color: var(--am-orange); }
.eco__role {
  font-family: var(--font-mono); font-size: .68rem; letter-spacing: .1em;
  text-transform: uppercase; color: var(--fg-subtle);
}
.eco__node p { font-size: .9rem; margin: 0; }
.eco__node .link-arrow { font-size: .875rem; margin-top: auto; padding-top: var(--s-2); }

/* --------------------------------------------------------------------------
   14. Pricing
   -------------------------------------------------------------------------- */
.plans { display: grid; gap: var(--s-4); grid-template-columns: repeat(3, minmax(0, 1fr)); align-items: start; }
@media (max-width: 980px) { .plans { grid-template-columns: minmax(0, 1fr); max-width: 520px; margin-inline: auto; } }
.plan {
  border: 1px solid var(--card-rule); border-radius: var(--r-xl);
  background: var(--card); padding: clamp(26px, 3vw, 34px);
  display: flex; flex-direction: column; gap: var(--s-4);
  position: relative;
}
.plan--featured {
  border-color: var(--ink-950);
  box-shadow: var(--shadow-lg);
}
.on-dark .plan--featured { border-color: var(--am-orange); }
.plan__flag {
  position: absolute; top: 0; left: 50%; translate: -50% -50%;
  background: var(--ink-950); color: #fff;
  padding: 5px 13px; border-radius: var(--r-pill);
  font-size: .68rem; font-weight: 680; letter-spacing: .09em; text-transform: uppercase;
}
.on-dark .plan__flag { background: var(--am-orange); }
.plan__name { font-family: var(--font-display); font-weight: 620; font-size: 1.25rem; letter-spacing: -.03em; color: var(--fg); }
.plan__price {
  font-family: var(--font-display); font-weight: 640;
  font-size: clamp(2.4rem, 4.4vw, 3.1rem); letter-spacing: -.045em; line-height: 1;
  color: var(--fg); display: flex; align-items: baseline; gap: 4px;
}
.plan__price sup { font-size: .42em; font-weight: 600; top: -.7em; position: relative; }
.plan__price small { font-size: .28em; font-weight: 500; letter-spacing: -.01em; color: var(--fg-subtle); }
.plan__price--quote { font-size: clamp(1.6rem, 2.8vw, 2rem); }
.plan__meta { font-size: .8125rem; color: var(--fg-subtle); margin-top: -8px; }
.plan__desc { font-size: .9375rem; color: var(--fg-muted); }
.plan ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.plan ul li {
  position: relative; padding-left: 26px; font-size: .9rem; line-height: 1.5; color: var(--fg-muted);
}
.plan ul li::before {
  content: ''; position: absolute; left: 0; top: .2em; width: 17px; height: 17px;
  border-radius: 50%; background: var(--ink-100)
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20' fill='%232a3039'%3E%3Cpath fill-rule='evenodd' d='M16.7 5.3a1 1 0 0 1 0 1.4l-7.5 7.5a1 1 0 0 1-1.4 0L3.3 9.7a1 1 0 1 1 1.4-1.4l3.8 3.8 6.8-6.8a1 1 0 0 1 1.4 0z' clip-rule='evenodd'/%3E%3C/svg%3E") center / 12px no-repeat;
}
.plan--featured ul li::before { background-color: var(--am-orange-soft);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20' fill='%23e04413'%3E%3Cpath fill-rule='evenodd' d='M16.7 5.3a1 1 0 0 1 0 1.4l-7.5 7.5a1 1 0 0 1-1.4 0L3.3 9.7a1 1 0 1 1 1.4-1.4l3.8 3.8 6.8-6.8a1 1 0 0 1 1.4 0z' clip-rule='evenodd'/%3E%3C/svg%3E"); }
.plan .btn { margin-top: auto; }

.price-note {
  margin-top: var(--s-6); padding: var(--s-5);
  border: 1px dashed var(--rule-strong); border-radius: var(--r-lg);
  font-size: .9375rem; color: var(--fg-muted);
}

/* Comparison table */
.table-scroll { overflow-x: auto; -webkit-overflow-scrolling: touch; border: 1px solid var(--rule); border-radius: var(--r-lg); }
table.matrix { width: 100%; border-collapse: collapse; min-width: 640px; font-size: .9rem; }
table.matrix th, table.matrix td { padding: 14px 18px; text-align: left; border-bottom: 1px solid var(--rule); vertical-align: top; }
table.matrix thead th {
  background: var(--bg-sunken); font-family: var(--font-body);
  font-size: .72rem; font-weight: 680; letter-spacing: .08em; text-transform: uppercase;
  color: var(--fg-muted); white-space: nowrap;
}
table.matrix tbody th { font-weight: 560; color: var(--fg); }
table.matrix td { color: var(--fg-muted); }
table.matrix tbody tr:last-child th, table.matrix tbody tr:last-child td { border-bottom: 0; }

/* --------------------------------------------------------------------------
   15. Accordion / FAQ
   -------------------------------------------------------------------------- */
.faq { border-top: 1px solid var(--rule); }
.faq details { border-bottom: 1px solid var(--rule); }
.faq summary {
  list-style: none; cursor: pointer;
  padding: var(--s-5) 44px var(--s-5) 0; position: relative;
  font-family: var(--font-display); font-weight: 580; font-size: 1.0625rem;
  letter-spacing: -.022em; color: var(--fg);
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: ''; position: absolute; right: 4px; top: 50%; translate: 0 -50%;
  width: 22px; height: 22px; border-radius: 50%;
  border: 1px solid var(--rule-strong);
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20' fill='%23626a76'%3E%3Cpath d='M9 4h2v12H9z'/%3E%3Cpath d='M4 9h12v2H4z'/%3E%3C/svg%3E") center / 11px no-repeat;
  transition: transform .24s var(--ease);
}
.faq details[open] summary::after { transform: rotate(135deg); }
.faq details > div { padding-bottom: var(--s-5); max-width: 68ch; }
.faq details > div p { font-size: .9375rem; }

/* --------------------------------------------------------------------------
   16. CTA band
   -------------------------------------------------------------------------- */
.cta-band {
  position: relative; overflow: hidden; isolation: isolate;
  background: var(--ink-950); color: #fff;
  border-radius: var(--r-xl);
  padding: clamp(40px, 6vw, 76px) clamp(28px, 5vw, 64px);
  text-align: center;
}
.cta-band::before {
  content: ''; position: absolute; inset: 0; z-index: -1;
  background:
    radial-gradient(80% 120% at 12% 0%, rgba(255, 100, 49, .26), transparent 60%),
    radial-gradient(70% 110% at 90% 100%, rgba(46, 107, 255, .22), transparent 62%);
}
.cta-band h2 { color: #fff; }
.cta-band p { color: rgba(255, 255, 255, .68); margin-inline: auto; }
.cta-band .btn--ghost { --btn-fg: #fff; --btn-bd: rgba(255, 255, 255, .3); }
.cta-band .btn--ghost:hover { --btn-bd: #fff; }
.cta-band .cluster { margin-top: var(--s-6); }

/* --------------------------------------------------------------------------
   17. Insights / article
   -------------------------------------------------------------------------- */
.post-card {
  display: grid; gap: var(--s-3);
  padding: var(--s-5) 0; border-bottom: 1px solid var(--rule);
  transition: none;
}
.post-card:first-of-type { border-top: 1px solid var(--rule); }
.post-card__meta {
  display: flex; flex-wrap: wrap; gap: var(--s-3); align-items: center;
  font-family: var(--font-mono); font-size: .7rem; letter-spacing: .07em;
  text-transform: uppercase; color: var(--fg-subtle);
}
.post-card__meta .chip { font-family: var(--font-body); }
.post-card h3 { font-size: clamp(1.25rem, 2.2vw, 1.6rem); margin: 0; transition: color .18s var(--ease); }
.post-card:hover h3 { color: var(--am-orange); }
.post-card p { font-size: .9375rem; margin: 0; max-width: 72ch; }

.post-card--feature {
  border: 1px solid var(--card-rule); border-radius: var(--r-xl);
  padding: clamp(28px, 4vw, 44px); background: var(--card);
}
.post-card--feature:first-of-type { border-top: 1px solid var(--card-rule); }
.post-card--feature h3 { font-size: clamp(1.5rem, 3vw, 2.15rem); }

.article-head { border-bottom: 1px solid var(--rule); padding-bottom: var(--s-6); margin-bottom: var(--s-7); }
.article-meta {
  display: flex; flex-wrap: wrap; gap: var(--s-2) var(--s-4); align-items: center;
  font-family: var(--font-mono); font-size: .72rem; letter-spacing: .06em;
  text-transform: uppercase; color: var(--fg-subtle);
}

.prose { font-size: 1.0625rem; line-height: 1.72; color: var(--ink-700); }
/* Own the vertical rhythm at the flow level: direct children carry no intrinsic
   margin, and spacing comes only from the sibling rule below. */
.prose > * { margin-top: 0; margin-bottom: 0; }
.prose > * + * { margin-top: var(--s-5); }
.prose h2 {
  font-size: clamp(1.5rem, 2.8vw, 1.95rem); margin-top: var(--s-9); margin-bottom: 0;
  padding-top: var(--s-6); border-top: 1px solid var(--rule);
}
.prose h2:first-child { margin-top: 0; padding-top: 0; border-top: 0; }
.prose h3 { font-size: 1.2rem; margin-top: var(--s-7); margin-bottom: 0; letter-spacing: -.025em; }
.prose p { color: var(--ink-700); }
.prose .callout > * + * { margin-top: var(--s-4); }
.prose a { color: var(--am-orange-deep); text-decoration: underline; text-underline-offset: 3px;
  text-decoration-thickness: 1px; text-decoration-color: rgba(224, 68, 19, .35); }
.prose a:hover { text-decoration-color: currentColor; }
.prose ul, .prose ol { margin: 0; padding-left: 1.35em; display: grid; gap: 10px; color: var(--ink-700); }
.prose li::marker { color: var(--am-orange); }
.prose li > ul, .prose li > ol { margin-top: 10px; }
.prose blockquote {
  margin: var(--s-7) 0; padding: var(--s-5) 0 var(--s-5) var(--s-5);
  border-left: 3px solid var(--am-orange);
  font-family: var(--font-display); font-weight: 500;
  font-size: clamp(1.15rem, 2.2vw, 1.45rem); line-height: 1.4; letter-spacing: -.028em;
  color: var(--ink-950);
}
.prose blockquote p { color: inherit; font: inherit; }
.prose blockquote cite {
  display: block; margin-top: var(--s-3); font-family: var(--font-body);
  font-size: .8125rem; font-style: normal; font-weight: 500; letter-spacing: .02em;
  color: var(--fg-subtle);
}
.prose figure { margin: var(--s-7) 0; }
.prose figcaption { margin-top: var(--s-3); font-size: .8125rem; color: var(--fg-subtle); text-align: center; }
.prose code {
  font-family: var(--font-mono); font-size: .84em;
  background: var(--ink-100); padding: 2px 6px; border-radius: 4px; color: var(--ink-800);
}
.prose hr { margin: var(--s-8) 0; }
.prose .callout {
  margin: var(--s-7) 0; padding: var(--s-5);
  background: var(--bg-sunken); border: 1px solid var(--rule);
  border-radius: var(--r-lg); font-size: .9375rem; line-height: 1.65;
}
.prose .callout > :first-child { margin-top: 0; }
.prose .callout p { font-size: inherit; }
.prose .callout strong { color: var(--ink-950); }
.prose .callout--accent { background: var(--am-orange-soft); border-color: rgba(255, 100, 49, .25); }

.toc {
  position: sticky; top: calc(var(--header-h) + 24px);
  border-left: 1px solid var(--rule); padding-left: var(--s-4);
}
.toc__label {
  font-size: .7rem; font-weight: 680; letter-spacing: .12em; text-transform: uppercase;
  color: var(--fg-subtle); margin-bottom: var(--s-3);
}
.toc ol { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; counter-reset: toc; }
.toc a {
  font-size: .875rem; line-height: 1.4; color: var(--fg-muted);
  display: block; transition: color .16s var(--ease);
}
.toc a:hover, .toc a.is-active { color: var(--am-orange); }
@media (max-width: 900px) { .toc { position: static; border-left: 0; border-top: 1px solid var(--rule); padding: var(--s-5) 0 0; margin-bottom: var(--s-6); } }

/* --------------------------------------------------------------------------
   18. Footer
   -------------------------------------------------------------------------- */
.site-footer { background: var(--ink-950); color: #fff; padding-top: clamp(56px, 8vw, 96px); }
.site-footer a { color: rgba(255, 255, 255, .62); transition: color .16s var(--ease); }
.site-footer a:hover { color: #fff; }

.footer__grid {
  display: grid; gap: clamp(32px, 5vw, 56px);
  grid-template-columns: minmax(0, 1.5fr) repeat(3, minmax(0, 1fr));
  padding-bottom: var(--s-8);
}
@media (max-width: 980px) { .footer__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .footer__grid { grid-template-columns: minmax(0, 1fr); } }
.footer__brand img { width: 138px; margin-bottom: var(--s-4); }
.footer__brand p { color: rgba(255, 255, 255, .55); font-size: .9375rem; max-width: 38ch; }
.footer__label {
  font-size: .7rem; font-weight: 680; letter-spacing: .12em; text-transform: uppercase;
  color: rgba(255, 255, 255, .34); margin-bottom: var(--s-4);
}
.footer__list { list-style: none; margin: 0; padding: 0; display: grid; gap: 11px; font-size: .9375rem; }

.footer__eco {
  display: grid; gap: var(--s-3); grid-template-columns: repeat(2, minmax(0, 1fr));
  padding: var(--s-5) 0; border-top: 1px solid rgba(255, 255, 255, .08);
}
@media (max-width: 720px) { .footer__eco { grid-template-columns: minmax(0, 1fr); } }
.footer__eco-item {
  display: flex; align-items: center; gap: var(--s-3);
  padding: var(--s-4); border: 1px solid rgba(255, 255, 255, .09);
  border-radius: var(--r-md); background: rgba(255, 255, 255, .025);
  transition: border-color .2s var(--ease), background .2s var(--ease);
}
.footer__eco-item:hover { border-color: rgba(255, 255, 255, .22); background: rgba(255, 255, 255, .05); }
.footer__eco-item strong { display: block; color: #fff; font-size: .9375rem; font-weight: 580; }
.footer__eco-item span { font-size: .8125rem; color: rgba(255, 255, 255, .5); }
.footer__eco-item svg { width: 16px; height: 16px; margin-left: auto; opacity: .45; flex: none; }

.footer__bottom {
  display: flex; flex-wrap: wrap; gap: var(--s-3) var(--s-5); align-items: center;
  padding: var(--s-5) 0 calc(var(--s-6) + env(safe-area-inset-bottom, 0px));
  border-top: 1px solid rgba(255, 255, 255, .08);
  font-size: .8125rem; color: rgba(255, 255, 255, .45);
}
.footer__legal { display: flex; flex-wrap: wrap; gap: var(--s-4); margin-left: auto; }
.footer__social { display: flex; gap: var(--s-2); }
.footer__social a {
  width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center;
  border: 1px solid rgba(255, 255, 255, .12);
  transition: border-color .18s var(--ease), background .18s var(--ease);
}
.footer__social a:hover { border-color: rgba(255, 255, 255, .35); background: rgba(255, 255, 255, .06); }
.footer__social svg { width: 15px; height: 15px; }

/* --------------------------------------------------------------------------
   19. Motion
   -------------------------------------------------------------------------- */
[data-reveal] {
  opacity: 0; transform: translateY(14px);
  transition: opacity .7s var(--ease), transform .7s var(--ease);
  transition-delay: var(--reveal-delay, 0ms);
}
[data-reveal].is-in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  [data-reveal] { opacity: 1; transform: none; }
}
.no-js [data-reveal] { opacity: 1; transform: none; }

/* --------------------------------------------------------------------------
   20. Utilities
   -------------------------------------------------------------------------- */
.mt-0 { margin-top: 0; }
.mt-4 { margin-top: var(--s-4); }
.mt-5 { margin-top: var(--s-5); }
.mt-6 { margin-top: var(--s-6); }
.mt-7 { margin-top: var(--s-7); }
.mt-8 { margin-top: var(--s-8); }
.mb-0 { margin-bottom: 0; }
.mb-4 { margin-bottom: var(--s-4); }
.mb-6 { margin-bottom: var(--s-6); }
.full { grid-column: 1 / -1; }
.sticky-aside { position: sticky; top: calc(var(--header-h) + 24px); }
@media (max-width: 900px) { .sticky-aside { position: static; } }
