/* ============================================================
   ONBORDO — design system
   Paper / ink / chartreuse. Editorial, hairline, timeless.
   ============================================================ */

:root {
  --paper: #faf9f5;
  --paper-2: #f2f1ea;
  --ink: #101010;
  --ink-soft: #4b4b46;
  --lime: #e3ff8f;
  --lime-deep: #cdf05e;
  --line: rgba(16, 16, 16, 0.14);
  --line-strong: rgba(16, 16, 16, 0.85);

  --font-display: "Fraunces", "Georgia", serif;
  --font-heading: "Inter", -apple-system, "Helvetica Neue", sans-serif;
  --font-body: "Onest", "Inter", -apple-system, "Helvetica Neue", sans-serif;
  --font-mono: "IBM Plex Mono", "SFMono-Regular", monospace;

  --w: min(1240px, calc(100vw - 48px));
  --header-h: 72px;

  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

/* headings keep Inter; Onest is reserved for ledes, taglines and body copy */
h1, h2, h3, h4, h5, h6 { font-family: var(--font-heading); }

body {
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
}

::selection { background: var(--lime); color: var(--ink); }

img, svg { display: block; max-width: 100%; }

a { color: inherit; text-decoration: none; }

button { font: inherit; background: none; border: none; cursor: pointer; color: inherit; }

.wrap { width: var(--w); margin-inline: auto; }

/* ---------- typography ---------- */

.display-xl, .display-lg, .display-md, .display-sm {
  font-family: var(--font-display);
  font-weight: 480;
  letter-spacing: -0.015em;
  line-height: 1.04;
  text-wrap: balance;
}

.display-xl { font-size: clamp(2.9rem, 6.2vw, 5.2rem); }
.display-lg { font-size: clamp(2.4rem, 4.6vw, 3.9rem); }
.display-md { font-size: clamp(1.9rem, 3.4vw, 2.8rem); line-height: 1.1; }
.display-sm { font-size: clamp(1.4rem, 2.2vw, 1.85rem); line-height: 1.2; }

.serif-i { font-style: italic; font-weight: 400; }

.eyebrow {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ink-soft);
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.eyebrow::before {
  content: "";
  width: 22px;
  height: 8px;
  background: var(--lime);
  border: 1px solid var(--ink);
}

.lede {
  font-size: clamp(1.05rem, 1.4vw, 1.25rem);
  line-height: 1.55;
  color: var(--ink-soft);
  max-width: 34em;
}

.mark {
  position: relative;
  white-space: nowrap;
  z-index: 0;
}

.mark::after {
  content: "";
  position: absolute;
  z-index: -1;
  left: -0.08em;
  right: -0.08em;
  bottom: 0.06em;
  height: 0.42em;
  background: var(--lime);
  transform: skewX(-8deg);
}

.mono-num {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  letter-spacing: 0.08em;
  color: var(--ink-soft);
}

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

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px 26px;
  font-size: 0.92rem;
  font-weight: 550;
  letter-spacing: 0.01em;
  border: 1px solid var(--ink);
  border-radius: 999px;
  transition: transform 0.25s var(--ease), background 0.25s var(--ease), color 0.25s var(--ease), box-shadow 0.25s var(--ease);
  white-space: nowrap;
}

.btn svg { width: 15px; height: 15px; transition: transform 0.25s var(--ease); }
.btn:hover svg { transform: translateX(3px); }

.btn-primary { background: var(--ink); color: var(--paper); }
.btn-primary:hover { background: var(--ink); box-shadow: 4px 4px 0 var(--lime-deep); transform: translate(-2px, -2px); }

.btn-lime { background: var(--lime); color: var(--ink); }
.btn-lime:hover { box-shadow: 4px 4px 0 rgba(16,16,16,0.9); transform: translate(-2px, -2px); }

.btn-ghost { background: transparent; color: var(--ink); }
.btn-ghost:hover { background: var(--lime); }

.btn-sm { padding: 10px 20px; font-size: 0.85rem; }

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 550;
  font-size: 0.92rem;
  border-bottom: 1px solid var(--ink);
  padding-bottom: 2px;
  transition: background 0.2s var(--ease);
}
.text-link:hover { background: var(--lime); }
.text-link svg { width: 14px; height: 14px; }

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

.header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(250, 249, 245, 0.72);
  backdrop-filter: blur(14px) saturate(1.15);
  -webkit-backdrop-filter: blur(14px) saturate(1.15);
  border-bottom: none;
  transition:
    background 0.35s var(--ease),
    box-shadow 0.35s var(--ease);
}

.header.is-scrolled {
  background: rgba(250, 249, 245, 0.92);
  box-shadow: 0 18px 40px -28px rgba(16, 16, 16, 0.28);
}

.header.is-scrolled .header-inner {
  height: 60px;
}

.header.is-scrolled .logo img {
  height: 30px;
}

/* keep header pinned + opaque while the mobile drawer is open
   (overflow:hidden on body breaks position:sticky) */
body.nav-open .header,
body.nav-open .header.is-scrolled {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  background: var(--paper);
  box-shadow: none;
}

body.nav-open .header .header-inner,
body.nav-open .header.is-scrolled .header-inner {
  height: var(--header-h);
}

body.nav-open .header .logo img,
body.nav-open .header.is-scrolled .logo img {
  height: 36px;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--header-h);
  gap: 32px;
  transition: height 0.35s var(--ease);
}

.logo {
  display: inline-flex;
  align-items: center;
  line-height: 0;
}
.logo img,
.logo-wordmark img {
  display: block;
  height: 36px;
  width: auto;
}
.header .logo img {
  height: 36px;
  transition: height 0.35s var(--ease);
}
.footer .logo img,
.footer .logo-wordmark img,
.dark .logo img,
.dark .logo-wordmark img {
  height: 28px;
}

/* icon-only mark */
.logo-glyph {
  width: 26px;
  height: 26px;
  border: none;
  border-radius: 0;
  background: url("../../public/image/icon-light.svg") center / contain no-repeat;
  position: relative;
  flex: none;
}
.logo-glyph::before,
.logo-glyph::after {
  content: none;
}
.footer .logo-glyph,
.dark .logo-glyph {
  background-image: url("../../public/image/icon-dark.svg");
}

.nav { display: flex; align-items: center; gap: 4px; height: 100%; }

.nav-item { height: 100%; display: flex; align-items: center; }

.nav-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 14px;
  font-size: 0.92rem;
  font-weight: 500;
  border-radius: 999px;
  transition: background 0.2s;
}
.nav-link:hover, .nav-item.is-open > .nav-link { background: var(--lime); }
.nav-link .caret {
  display: inline-block;
  font-size: 1.05em;
  font-weight: 450;
  line-height: 1;
  transition: transform 0.25s var(--ease);
}
.nav-item.is-open .caret { transform: rotate(45deg); }

/* candidate portal link — deliberately different from the rest of the nav */
.nav-link-candidate {
  gap: 8px;
  margin-left: 6px;
  border: 1px solid var(--ink);
  border-radius: 999px;
  background: var(--ink);
  color: var(--lime);
}
.nav-link-candidate i { font-style: normal; font-size: 0.85em; line-height: 1; }
.nav-link-candidate:hover { background: var(--lime); color: var(--ink); }

.header-cta { display: flex; align-items: center; gap: 10px; }

/* mega menu */

.mega {
  position: absolute;
  left: 0;
  right: 0;
  top: 100%;
  background: var(--paper);
  border-bottom: 1px solid var(--line-strong);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-6px);
  transition: opacity 0.22s var(--ease), transform 0.22s var(--ease), visibility 0.22s;
  box-shadow: 0 24px 48px -24px rgba(16,16,16,0.18);
}

.nav-item.is-open .mega {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.mega-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr;
  gap: 0;
}

.mega-main {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  padding: 28px 32px 28px 0;
  border-right: 1px solid var(--line);
}

.mega-label {
  grid-column: 1 / -1;
  font-family: var(--font-mono);
  font-size: 0.68rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ink-soft);
  padding: 0 0 16px 12px;
}

.mega-item {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  padding: 14px 16px 14px 12px;
  border-radius: 10px;
  transition: background 0.18s var(--ease);
}
.mega-item:hover { background: var(--paper-2); }
.mega-item:hover .mega-thumb { background: var(--lime); }

.mega-thumb {
  flex: none;
  width: 76px;
  height: 58px;
  border: 1px solid var(--ink);
  border-radius: 8px;
  background: #fff;
  overflow: hidden;
  transition: background 0.18s var(--ease);
}
.mega-thumb svg { width: 100%; height: 100%; }

.mega-item h4 {
  font-size: 0.93rem;
  font-weight: 600;
  letter-spacing: -0.01em;
  display: flex;
  align-items: center;
  gap: 8px;
}
.mega-item p {
  font-size: 0.82rem;
  color: var(--ink-soft);
  line-height: 1.45;
  margin-top: 3px;
}

.mega-aside {
  padding: 28px 0 28px 32px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.mega-feature {
  display: block;
  border: 1px solid var(--ink);
  border-radius: 12px;
  overflow: hidden;
  background: var(--ink);
  color: var(--paper);
  transition: box-shadow 0.25s var(--ease), transform 0.25s var(--ease);
}
.mega-feature:hover { box-shadow: 5px 5px 0 var(--lime-deep); transform: translate(-2px, -2px); }

.mega-feature-media { background: var(--lime); border-bottom: 1px solid var(--ink); }
.mega-feature-media svg { width: 100%; height: 118px; }

.mega-feature-body { padding: 16px 18px 18px; }
.mega-feature-body .eyebrow { color: var(--lime); }
.mega-feature-body .eyebrow::before { border-color: var(--lime); background: transparent; }
.mega-feature-body h4 { font-family: var(--font-display); font-size: 1.15rem; font-weight: 480; margin-top: 8px; }
.mega-feature-body p { font-size: 0.82rem; color: rgba(250,249,245,0.65); margin-top: 5px; line-height: 1.5; }

.mega-links { display: flex; flex-direction: column; gap: 2px; }
.mega-links a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.88rem;
  font-weight: 500;
  padding: 9px 12px;
  border-radius: 8px;
}
.mega-links a:hover { background: var(--paper-2); }
.mega-links a svg { width: 13px; height: 13px; opacity: 0.5; }

/* simple dropdown */

.dropdown {
  position: absolute;
  top: 100%;
  min-width: 240px;
  background: var(--paper);
  border: 1px solid var(--ink);
  border-radius: 12px;
  padding: 8px;
  margin-top: -6px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-6px);
  transition: opacity 0.2s var(--ease), transform 0.2s var(--ease), visibility 0.2s;
  box-shadow: 5px 5px 0 rgba(16,16,16,0.08);
}
.nav-item.is-open .dropdown { opacity: 1; visibility: visible; transform: translateY(0); }
.dropdown a {
  display: block;
  padding: 10px 14px;
  border-radius: 8px;
  font-size: 0.9rem;
  font-weight: 500;
}
.dropdown a span { display: block; font-size: 0.78rem; font-weight: 400; color: var(--ink-soft); }
.dropdown a:hover { background: var(--lime); }
.dropdown a:hover span { color: var(--ink); }

/* mobile nav */

.nav-toggle { display: none; width: 42px; height: 42px; border: 1px solid var(--ink); border-radius: 999px; position: relative; }
.nav-toggle span {
  position: absolute; left: 12px; right: 12px; height: 1.5px; background: var(--ink);
  transition: transform 0.3s var(--ease), opacity 0.2s;
}
.nav-toggle span:nth-child(1) { top: 16px; }
.nav-toggle span:nth-child(2) { top: 24px; }
body.nav-open .nav-toggle span:nth-child(1) { transform: translateY(4px) rotate(45deg); }
body.nav-open .nav-toggle span:nth-child(2) { transform: translateY(-4px) rotate(-45deg); }

.mobile-nav {
  display: none;
  position: fixed;
  top: var(--header-h);
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 99;
  background: var(--paper);
  overflow-y: auto;
  overscroll-behavior: contain;
  padding: 12px 24px 40px;
  -webkit-overflow-scrolling: touch;
}
body.nav-open .mobile-nav { display: block; }
html.nav-open,
body.nav-open { overflow: hidden; }

.mobile-nav .m-group { border-bottom: 1px solid var(--line); padding: 14px 0; }
.mobile-nav .m-group > span {
  font-family: var(--font-mono); font-size: 0.68rem; letter-spacing: 0.18em;
  text-transform: uppercase; color: var(--ink-soft); display: block; margin-bottom: 8px;
}
.mobile-nav .m-group a { display: block; padding: 9px 0; font-size: 1.05rem; font-weight: 500; }
.mobile-nav .m-candidate {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  width: 100%;
  margin-top: 18px;
  padding: 14px 20px;
  border: 1px solid var(--ink);
  border-radius: 999px;
  background: var(--ink);
  color: var(--lime);
  font-size: 0.95rem;
  font-weight: 550;
}
.mobile-nav .m-candidate i { font-style: normal; font-size: 0.85em; line-height: 1; }
.mobile-nav .m-cta { margin-top: 24px; display: flex; flex-direction: column; gap: 10px; }
.mobile-nav .m-cta .btn { width: 100%; }

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

.section { padding: clamp(72px, 9vw, 128px) 0; }
.section-tight { padding: clamp(48px, 6vw, 80px) 0; }

.section-head { max-width: 760px; margin-bottom: clamp(40px, 5vw, 64px); }
.section-head .eyebrow { margin-bottom: 18px; }
.section-head .lede { margin-top: 18px; }

.dark {
  background: var(--ink);
  color: var(--paper);
}
.dark .eyebrow { color: rgba(250,249,245,0.55); }
.dark .eyebrow::before { border-color: var(--lime); }
.dark .lede { color: rgba(250,249,245,0.62); }
.dark .mark::after { background: var(--lime); opacity: 0.9; }
.dark .mark { color: var(--ink); }
.dark ::selection { background: var(--lime); color: var(--ink); }

.rule { border: none; border-top: 1px solid var(--line); }

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

.hero { padding: clamp(56px, 7vw, 104px) 0 0; overflow: hidden; }

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  gap: clamp(32px, 5vw, 72px);
  align-items: center;
}

.hero .eyebrow { margin-bottom: 22px; }
.hero .lede { margin-top: 24px; }
.hero-ctas { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 36px; }

.hero-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 28px;
  margin-top: 32px;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.06em;
  color: var(--ink-soft);
}
.hero-meta span { display: inline-flex; align-items: center; gap: 8px; }
.hero-meta i {
  font-style: normal;
  width: 7px; height: 7px; border-radius: 50%;
  background: var(--lime); border: 1px solid var(--ink);
  flex: none;
}

/* app mock frame */

.app-frame {
  border: 1px solid var(--ink);
  border-radius: 14px;
  background: #fff;
  box-shadow: 10px 10px 0 var(--lime), 10px 10px 0 1px var(--ink);
  overflow: hidden;
}

.app-frame-bar {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 14px;
  border-bottom: 1px solid var(--line);
  background: var(--paper);
}
.app-frame-bar i { width: 9px; height: 9px; border-radius: 50%; border: 1px solid var(--ink); font-style: normal; }
.app-frame-bar i:first-child { background: var(--lime); }
.app-frame-bar em {
  font-style: normal; font-family: var(--font-mono); font-size: 0.66rem;
  color: var(--ink-soft); margin-left: auto; letter-spacing: 0.05em;
}

.app-frame svg { width: 100%; height: auto; }

/* logo strip */

.logo-strip { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.logo-strip-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
  padding: 26px 0;
}
.logo-strip-inner > span:first-child {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ink-soft);
}
.strip-logos { display: flex; align-items: center; gap: clamp(24px, 4vw, 52px); flex-wrap: wrap; }
.strip-logos span {
  font-family: var(--font-display);
  font-size: 1.08rem;
  font-weight: 520;
  letter-spacing: -0.01em;
  opacity: 0.55;
  transition: opacity 0.2s;
  white-space: nowrap;
}
.strip-logos span:hover { opacity: 1; }
.strip-logos span.mono-logo { font-family: var(--font-mono); font-size: 0.9rem; letter-spacing: 0.1em; text-transform: uppercase; }

/* ---------- module index (numbered rows) ---------- */

.module-rows { border-top: 1px solid var(--line-strong); }

.module-row {
  display: grid;
  grid-template-columns: 90px 1.1fr 1.3fr auto;
  gap: clamp(16px, 3vw, 48px);
  align-items: center;
  padding: 30px 0;
  border-bottom: 1px solid var(--line);
  position: relative;
  transition: background 0.25s var(--ease);
}

.module-row:hover { background: linear-gradient(to right, var(--lime) 0, var(--lime) 100%); }

.module-row .num { font-family: var(--font-mono); font-size: 0.8rem; color: var(--ink-soft); padding-left: 4px; }
.module-row:hover .num { color: var(--ink); }

.module-row h3 {
  font-family: var(--font-display);
  font-size: clamp(1.3rem, 2vw, 1.7rem);
  font-weight: 500;
  letter-spacing: -0.015em;
}

.module-row p { font-size: 0.92rem; color: var(--ink-soft); max-width: 40em; }
.module-row:hover p { color: var(--ink); }

.module-row .row-arrow {
  width: 44px; height: 44px;
  border: 1px solid var(--ink);
  border-radius: 999px;
  display: grid;
  place-items: center;
  margin-right: 4px;
  transition: background 0.2s, transform 0.25s var(--ease);
}
.module-row .row-arrow svg { width: 16px; height: 16px; }
.module-row:hover .row-arrow { background: var(--ink); color: var(--lime); transform: rotate(-45deg); }

/* ---------- split feature ---------- */

.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(36px, 6vw, 88px);
  align-items: center;
}
.split.flip > .split-media { order: 2; }
.split .eyebrow { margin-bottom: 18px; }
.split .lede { margin-top: 18px; }

.feature-list { margin-top: 30px; display: flex; flex-direction: column; }
.feature-list li {
  list-style: none;
  display: flex;
  gap: 16px;
  padding: 16px 0;
  border-top: 1px solid var(--line);
}
.feature-list li:last-child { border-bottom: 1px solid var(--line); }
.feature-list .fl-num {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  color: var(--ink-soft);
  padding-top: 3px;
  min-width: 28px;
}
.feature-list h4 { font-size: 0.98rem; font-weight: 600; letter-spacing: -0.01em; }
.feature-list p { font-size: 0.88rem; color: var(--ink-soft); margin-top: 3px; }
.dark .feature-list li { border-color: rgba(250,249,245,0.16); }
.dark .feature-list p { color: rgba(250,249,245,0.6); }
.dark .feature-list .fl-num { color: var(--lime); }

.media-card {
  border: 1px solid var(--ink);
  border-radius: 14px;
  background: #fff;
  overflow: hidden;
  box-shadow: 8px 8px 0 var(--lime), 8px 8px 0 1px var(--ink);
}
.media-card svg { width: 100%; height: auto; }
.dark .media-card { box-shadow: 8px 8px 0 rgba(227,255,143,0.9); border-color: rgba(250,249,245,0.2); }

/* ---------- stats ---------- */

.stats-band { border-top: 1px solid var(--line-strong); border-bottom: 1px solid var(--line-strong); }
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); }
.stat {
  padding: clamp(28px, 4vw, 48px) clamp(18px, 3vw, 36px);
  border-right: 1px solid var(--line);
}
.stat:last-child { border-right: none; }
.stat b {
  font-family: var(--font-display);
  font-size: clamp(2.2rem, 4vw, 3.4rem);
  font-weight: 480;
  letter-spacing: -0.02em;
  display: block;
  line-height: 1;
}
.stat b sup { font-size: 0.45em; color: var(--ink-soft); font-family: var(--font-mono); font-weight: 400; }
.stat span { display: block; margin-top: 12px; font-size: 0.85rem; color: var(--ink-soft); max-width: 18em; }

/* ---------- cards ---------- */

.card-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }

.card {
  border: 1px solid var(--ink);
  border-radius: 14px;
  padding: 28px;
  background: #fff;
  display: flex;
  flex-direction: column;
  gap: 14px;
  transition: box-shadow 0.25s var(--ease), transform 0.25s var(--ease);
}
.card:hover { box-shadow: 6px 6px 0 var(--lime), 6px 6px 0 1px var(--ink); transform: translate(-2px, -2px); }
.card .card-icon {
  width: 44px; height: 44px;
  border: 1px solid var(--ink);
  border-radius: 10px;
  background: var(--lime);
  display: grid; place-items: center;
}
.card .card-icon svg { width: 22px; height: 22px; }
.card h3 { font-size: 1.05rem; font-weight: 600; letter-spacing: -0.01em; }
.card p { font-size: 0.9rem; color: var(--ink-soft); }

/* ---------- quotes ---------- */

.quote-grid { display: grid; grid-template-columns: 1.2fr 1fr; gap: 20px; }

.quote-card {
  border: 1px solid var(--ink);
  border-radius: 14px;
  padding: clamp(28px, 4vw, 44px);
  background: #fff;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 32px;
}
.quote-card.on-lime { background: var(--lime); }
.quote-card blockquote {
  font-family: var(--font-display);
  font-size: clamp(1.25rem, 2vw, 1.7rem);
  font-weight: 460;
  line-height: 1.3;
  letter-spacing: -0.01em;
}
.quote-card blockquote::before { content: "“"; }
.quote-card blockquote::after { content: "”"; }
.quote-attr { display: flex; align-items: center; gap: 14px; }
.quote-attr .avatar {
  width: 44px; height: 44px; border-radius: 50%;
  border: 1px solid var(--ink);
  background: var(--paper-2);
  display: grid; place-items: center;
  font-family: var(--font-display);
  font-size: 1rem;
  flex: none;
}
.quote-card.on-lime .quote-attr .avatar { background: #fff; }
.quote-attr b { display: block; font-size: 0.9rem; font-weight: 600; }
.quote-attr span { display: block; font-size: 0.8rem; color: var(--ink-soft); }

/* ---------- EU band ---------- */

.eu-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; margin-top: 8px; }

.eu-card {
  border: 1px solid rgba(250,249,245,0.22);
  border-radius: 14px;
  padding: 26px;
  display: flex;
  gap: 18px;
  align-items: flex-start;
  transition: border-color 0.2s;
}
.eu-card:hover { border-color: var(--lime); }
.eu-card .eu-icon {
  flex: none;
  width: 42px; height: 42px;
  border: 1px solid var(--lime);
  border-radius: 999px;
  display: grid; place-items: center;
  color: var(--lime);
}
.eu-card .eu-icon svg { width: 20px; height: 20px; }
.eu-card h4 { font-size: 0.98rem; font-weight: 600; }
.eu-card p { font-size: 0.87rem; color: rgba(250,249,245,0.6); margin-top: 4px; }

/* ---------- CTA band ---------- */

.cta-band {
  background: var(--lime);
  border-top: 1px solid var(--ink);
  border-bottom: 1px solid var(--ink);
}
.cta-band-inner {
  padding: clamp(64px, 8vw, 110px) 0;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 28px;
}
.cta-band .lede { color: var(--ink); opacity: 0.75; margin-inline: auto; }
.cta-band .hero-ctas { justify-content: center; margin-top: 4px; }

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

.footer { background: var(--ink); color: var(--paper); }

.footer-top {
  display: grid;
  grid-template-columns: 1.3fr repeat(4, 1fr);
  gap: clamp(28px, 4vw, 56px);
  padding: clamp(56px, 6vw, 80px) 0 clamp(40px, 5vw, 64px);
}

.footer-blurb { font-size: 0.88rem; color: rgba(250,249,245,0.55); margin-top: 16px; max-width: 26em; }

.footer h5 {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(250,249,245,0.5);
  margin-bottom: 18px;
}
.footer-col a {
  display: block;
  font-size: 0.9rem;
  color: rgba(250,249,245,0.78);
  padding: 5px 0;
  transition: color 0.15s;
}
.footer-col a:hover { color: var(--lime); }

.footer-badges { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 22px; }
.footer-badges span {
  font-family: var(--font-mono);
  font-size: 0.62rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  border: 1px solid rgba(250,249,245,0.3);
  border-radius: 999px;
  padding: 5px 11px;
  color: rgba(250,249,245,0.7);
}

.footer-bottom {
  border-top: 1px solid rgba(250,249,245,0.15);
  padding: 22px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  font-size: 0.78rem;
  color: rgba(250,249,245,0.45);
}
.footer-bottom .f-legal { display: flex; gap: 20px; }
.footer-bottom a:hover { color: var(--lime); }

.footer-wordmark {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: flex-end;
  padding: 28px 0 0;
  overflow: hidden;
  user-select: none;
  pointer-events: none;
}
.footer-wordmark img {
  display: block;
  width: min(92vw, 1100px);
  height: auto;
}
/* "on" — paper tone */
.footer-wordmark .fw-on {
  opacity: 0.1;
  /* hide "bordo" (right ~69%) — letters split after "on" */
  clip-path: inset(0 69.3% 0 0);
}
/* "bordo" — lime tone, stacked on top */
.footer-wordmark .fw-bordo {
  position: absolute;
  left: 50%;
  bottom: 0;
  transform: translateX(-50%);
  opacity: 0.16;
  /* hide "on" (left ~30.7%) */
  clip-path: inset(0 0 0 30.7%);
}

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

.post-hero {
  padding: clamp(48px, 6vw, 88px) 0 clamp(36px, 4vw, 56px);
  border-bottom: 1px solid var(--line);
}
.post-hero-inner { max-width: 760px; }
.post-hero .eyebrow { margin-bottom: 20px; }
.post-hero .lede { margin-top: 22px; }

.post-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin-top: 36px;
  padding-top: 22px;
  border-top: 1px solid var(--line);
}
.post-author {
  display: inline-flex;
  align-items: center;
  gap: 12px;
}
.post-author b { display: block; font-size: 0.92rem; font-weight: 600; }
.post-author i {
  display: block;
  font-style: normal;
  font-size: 0.8rem;
  color: var(--ink-soft);
  margin-top: 2px;
}
.post-meta-bits {
  display: inline-flex;
  gap: 14px;
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink-soft);
}

.post-body {
  max-width: 720px;
  padding: clamp(40px, 6vw, 72px) 0 clamp(56px, 7vw, 96px);
}
.post-body h2 {
  font-family: var(--font-display);
  font-size: clamp(1.35rem, 2.2vw, 1.7rem);
  font-weight: 500;
  letter-spacing: -0.015em;
  margin: 2.2em 0 0.7em;
}
.post-body h2:first-child { margin-top: 0; }
.post-body p {
  font-size: 1.05rem;
  line-height: 1.7;
  color: var(--ink-soft);
  margin-bottom: 1.1em;
}
.post-footer {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 48px;
  padding-top: 28px;
  border-top: 1px solid var(--line);
}

/* ---------- page hero (sub-pages) ---------- */

.page-hero {
  padding: clamp(56px, 7vw, 96px) 0 clamp(48px, 6vw, 80px);
  border-bottom: 1px solid var(--line);
}
.page-hero .eyebrow { margin-bottom: 20px; }
.page-hero .lede { margin-top: 22px; }
.page-hero .hero-ctas { margin-top: 32px; }
.page-hero-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: clamp(32px, 5vw, 72px);
  align-items: center;
}

.breadcrumb {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink-soft);
  margin-bottom: 28px;
  display: flex;
  gap: 10px;
  align-items: center;
}
.breadcrumb a:hover { background: var(--lime); }
.breadcrumb i { font-style: normal; opacity: 0.4; }

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

.pricing-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; align-items: stretch; }

.price-card {
  border: 1px solid var(--ink);
  border-radius: 16px;
  background: #fff;
  padding: 34px 30px;
  display: flex;
  flex-direction: column;
  gap: 0;
  position: relative;
}
.price-card.is-featured {
  background: var(--ink);
  color: var(--paper);
  box-shadow: 8px 8px 0 var(--lime), 8px 8px 0 1px var(--ink);
}
.price-card .plan-tag {
  position: absolute;
  top: -13px;
  right: 24px;
  background: var(--lime);
  border: 1px solid var(--ink);
  color: var(--ink);
  border-radius: 999px;
  font-family: var(--font-mono);
  font-size: 0.62rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  padding: 5px 12px;
}
.price-card h3 { font-family: var(--font-display); font-size: 1.5rem; font-weight: 500; }
.price-card .plan-for { font-size: 0.85rem; color: var(--ink-soft); margin-top: 6px; min-height: 2.6em; }
.price-card.is-featured .plan-for { color: rgba(250,249,245,0.6); }

.price-line { display: flex; align-items: baseline; gap: 8px; margin: 26px 0 4px; }
.price-line b { font-family: var(--font-display); font-size: 3rem; font-weight: 480; letter-spacing: -0.02em; line-height: 1; }
.price-line span { font-size: 0.82rem; color: var(--ink-soft); }
.price-card.is-featured .price-line span { color: rgba(250,249,245,0.6); }
.price-note { font-family: var(--font-mono); font-size: 0.68rem; color: var(--ink-soft); letter-spacing: 0.04em; }
.price-card.is-featured .price-note { color: rgba(250,249,245,0.5); }

.price-card .btn { margin: 26px 0; width: 100%; }

.plan-features { list-style: none; display: flex; flex-direction: column; gap: 0; border-top: 1px solid var(--line); }
.price-card.is-featured .plan-features { border-color: rgba(250,249,245,0.16); }
.plan-features li {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  font-size: 0.88rem;
  padding: 10px 0;
  border-bottom: 1px solid var(--line);
}
.price-card.is-featured .plan-features li { border-color: rgba(250,249,245,0.16); }
.plan-features li:last-child { border-bottom: none; }
.plan-features svg { width: 15px; height: 15px; flex: none; margin-top: 4px; }
.price-card.is-featured .plan-features svg { color: var(--lime); }
.plan-features strong { font-weight: 600; }

.billing-toggle {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 10px 16px;
  margin-bottom: 36px;
}
.billing-toggle button {
  min-width: 96px;
  padding: 10px 18px;
  border: 1px solid var(--ink);
  border-radius: 999px;
  font-size: 0.88rem;
  font-weight: 550;
  background: #fff;
  transition: background 0.2s var(--ease), color 0.2s var(--ease);
}
.billing-toggle button.is-active {
  background: var(--ink);
  color: var(--paper);
}
.billing-save {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--ink-soft);
}

.compare-wrap {
  overflow-x: auto;
  border: 1px solid var(--ink);
  border-radius: 16px;
  background: #fff;
}
.compare-table {
  width: 100%;
  border-collapse: collapse;
  min-width: 640px;
  font-size: 0.9rem;
}
.compare-table th,
.compare-table td {
  padding: 16px 20px;
  text-align: left;
  border-bottom: 1px solid var(--line);
  vertical-align: middle;
}
.compare-table thead th {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  background: var(--paper-2);
  border-bottom: 1px solid var(--ink);
}
.compare-table tbody th {
  font-weight: 550;
  color: var(--ink);
  width: 28%;
}
.compare-table tbody th .soft {
  display: inline-block;
  margin-left: 6px;
  font-family: var(--font-mono);
  font-size: 0.62rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink-soft);
}
.compare-table tbody tr:last-child th,
.compare-table tbody tr:last-child td { border-bottom: none; }
.compare-table td { color: var(--ink-soft); }

.addon-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}
.addon-card {
  border: 1px solid var(--line-strong);
  border-radius: 14px;
  background: #fff;
  padding: 26px 24px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.addon-cat {
  font-family: var(--font-mono);
  font-size: 0.62rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-soft);
}
.addon-card h3 {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 500;
}
.addon-card p {
  font-size: 0.88rem;
  color: var(--ink-soft);
  line-height: 1.5;
  flex: 1;
}
.addon-price {
  margin-top: 8px;
  font-family: var(--font-display);
  font-size: 1.55rem;
  font-weight: 480;
  letter-spacing: -0.02em;
}
.addon-price span {
  margin-left: 6px;
  font-family: var(--font-body);
  font-size: 0.82rem;
  color: var(--ink-soft);
  font-weight: 400;
}
.pricing-footnote {
  margin-top: 36px;
  max-width: 52em;
  font-size: 0.88rem;
  color: var(--ink-soft);
  line-height: 1.55;
}

.pricing-teaser .price-card { padding: 28px 26px; }
.pricing-teaser .plan-for { min-height: 0; }
.pricing-teaser .price-line { margin: 20px 0 4px; }
.pricing-teaser .price-line b { font-size: 2.5rem; }
.pricing-teaser .price-card .btn { margin: 22px 0; }
.pricing-teaser .plan-features li { padding: 9px 0; font-size: 0.86rem; }

.pricing-teaser-foot {
  margin-inline: auto;
  text-align: center;
}
.pricing-teaser-foot a {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-left: 8px;
  font-weight: 550;
  color: var(--ink);
  text-decoration: none;
}
.pricing-teaser-foot a:hover { color: var(--ink-soft); }

/* FAQ */

.faq { max-width: 780px; }
.faq details { border-bottom: 1px solid var(--line); }
.faq details:first-of-type { border-top: 1px solid var(--line-strong); }
.faq summary {
  cursor: pointer;
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 22px 4px;
  font-size: 1.02rem;
  font-weight: 550;
  letter-spacing: -0.01em;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary .faq-x {
  flex: none;
  width: 30px; height: 30px;
  border: 1px solid var(--ink);
  border-radius: 50%;
  display: grid; place-items: center;
  transition: transform 0.3s var(--ease), background 0.2s;
  font-weight: 400;
  font-size: 1.1rem;
  line-height: 1;
}
.faq details[open] summary .faq-x { transform: rotate(45deg); background: var(--lime); }
.faq .faq-body { padding: 0 4px 24px; font-size: 0.93rem; color: var(--ink-soft); max-width: 60ch; }

/* ---------- forms (demo page) ---------- */

.form-card {
  border: 1px solid var(--ink);
  border-radius: 16px;
  background: #fff;
  padding: clamp(28px, 4vw, 44px);
  box-shadow: 8px 8px 0 var(--lime), 8px 8px 0 1px var(--ink);
}

.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.form-grid .full { grid-column: 1 / -1; }

.field label {
  display: block;
  font-family: var(--font-mono);
  font-size: 0.66rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-soft);
  margin-bottom: 7px;
}
.field input, .field select, .field textarea {
  width: 100%;
  font: inherit;
  font-size: 0.94rem;
  padding: 12px 14px;
  border: 1px solid var(--ink);
  border-radius: 9px;
  background: var(--paper);
  color: var(--ink);
  transition: box-shadow 0.15s;
}
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none;
  box-shadow: 3px 3px 0 var(--lime), 3px 3px 0 1px var(--ink);
}
.field textarea { resize: vertical; min-height: 110px; }

.form-foot { margin-top: 24px; display: flex; flex-direction: column; gap: 14px; }
.form-foot small { font-size: 0.75rem; color: var(--ink-soft); line-height: 1.5; }
.form-foot small a { text-decoration: underline; }

/* ---------- auth (sign in / register) ----------
   Standalone split-screen layout, independent from the site chrome. */

.auth-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  min-height: 100vh;
  background: var(--paper);
}

.auth-left {
  display: flex;
  flex-direction: column;
  padding: 24px clamp(24px, 5vw, 72px) 20px;
}
.auth-left > .logo { align-self: flex-start; }

.auth-form-wrap {
  width: 100%;
  max-width: 400px;
  margin: auto;
  padding: 44px 0;
}

.auth-head { text-align: center; margin-bottom: 30px; }
.auth-head h1 {
  font-family: var(--font-display);
  font-weight: 500;
  letter-spacing: -0.015em;
  line-height: 1.15;
  font-size: clamp(1.65rem, 2.4vw, 2.05rem);
  text-wrap: balance;
}
.auth-head p { font-size: 0.9rem; color: var(--ink-soft); margin-top: 10px; }

.auth-form-wrap .form-grid { grid-template-columns: 1fr; }

.label-row {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
}
.label-row a {
  font-size: 0.78rem;
  font-weight: 500;
  border-bottom: 1px solid var(--line-strong);
  margin-bottom: 7px;
}
.label-row a:hover { background: var(--lime); }

.auth-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px 24px;
  flex-wrap: wrap;
  font-family: var(--font-mono);
  font-size: 0.64rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink-soft);
}

/* right-hand brand panel */

.auth-side { padding: 12px; }
.auth-side-panel {
  position: sticky;
  top: 12px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  gap: 28px;
  overflow: hidden;
  min-height: calc(100vh - 24px);
  border: 1px solid var(--ink);
  border-radius: 20px;
  background: var(--ink);
  color: var(--paper);
  padding: clamp(32px, 4vw, 56px);
}
.auth-side-panel .eyebrow { color: rgba(250, 249, 245, 0.55); }
.auth-side-panel .eyebrow::before { border-color: var(--lime); }

.auth-side-body {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  gap: 22px;
  max-width: 30em;
}
.auth-side-body blockquote {
  font-family: var(--font-display);
  font-weight: 460;
  font-size: clamp(1.6rem, 2.6vw, 2.4rem);
  line-height: 1.22;
  letter-spacing: -0.01em;
  text-wrap: balance;
}
.auth-side-body .side-note { font-size: 0.95rem; color: rgba(250, 249, 245, 0.62); max-width: 34em; }

.auth-side-attr { display: flex; align-items: center; gap: 14px; }
.auth-side-attr .avatar {
  width: 42px; height: 42px;
  border-radius: 50%;
  border: 1px solid rgba(250, 249, 245, 0.4);
  background: var(--lime);
  color: var(--ink);
  display: grid; place-items: center;
  font-family: var(--font-display);
  font-size: 0.95rem;
  flex: none;
}
.auth-side-attr b { display: block; font-size: 0.9rem; font-weight: 600; }
.auth-side-attr span { display: block; font-size: 0.8rem; color: rgba(250, 249, 245, 0.55); }

.auth-side-meta {
  position: relative;
  z-index: 1;
  display: flex;
  flex-wrap: wrap;
  gap: 10px 28px;
  padding-top: 22px;
  border-top: 1px solid rgba(250, 249, 245, 0.16);
  font-family: var(--font-mono);
  font-size: 0.66rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(250, 249, 245, 0.55);
}
.auth-side-meta span { display: inline-flex; align-items: center; gap: 8px; }
.auth-side-meta i {
  font-style: normal;
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--lime);
  flex: none;
}

.auth-orb {
  position: absolute;
  top: 22px;
  right: 22px;
  z-index: 1;
  width: 40px; height: 40px;
  border: 1px solid rgba(250, 249, 245, 0.35);
  border-radius: 50%;
  display: grid;
  place-items: center;
  color: var(--lime);
  font-size: 0.95rem;
}

/* oversized logo glyph bleeding off the panel corner */
.auth-glyph {
  position: absolute;
  top: -150px;
  right: -130px;
  width: 400px;
  height: 400px;
  opacity: 0.45;
  pointer-events: none;
}

@media (max-width: 940px) {
  .auth-layout { grid-template-columns: 1fr; }
  .auth-side { display: none; }
}

.field-suffix { display: flex; align-items: stretch; }
.field-suffix input {
  border-radius: 9px 0 0 9px;
  border-right: none;
  min-width: 0;
}
.field-suffix > span {
  display: flex;
  align-items: center;
  padding: 0 14px;
  border: 1px solid var(--ink);
  border-radius: 0 9px 9px 0;
  background: var(--paper-2);
  font-family: var(--font-mono);
  font-size: 0.78rem;
  color: var(--ink-soft);
  white-space: nowrap;
  flex: none;
}

.auth-divider {
  display: flex;
  align-items: center;
  gap: 14px;
  margin: 22px 0;
  font-family: var(--font-mono);
  font-size: 0.66rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ink-soft);
}
.auth-divider::before, .auth-divider::after {
  content: "";
  flex: 1;
  border-top: 1px solid var(--line);
}

.sso-row { display: flex; flex-direction: column; gap: 10px; }
.btn-sso {
  width: 100%;
  background: #fff;
  justify-content: center;
  gap: 12px;
  font-weight: 500;
}
.btn-sso:hover { background: var(--paper-2); }
.btn-sso svg { width: 17px; height: 17px; transition: none; }
.btn-sso:hover svg { transform: none; }

.form-row-split {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  font-size: 0.85rem;
  color: var(--ink-soft);
}
.form-row-split label { display: inline-flex; align-items: center; gap: 8px; cursor: pointer; }
.form-row-split input[type="checkbox"] { accent-color: var(--ink); width: 15px; height: 15px; }
.form-row-split a { border-bottom: 1px solid var(--line-strong); }
.form-row-split a:hover { background: var(--lime); }

.auth-alt {
  text-align: center;
  font-size: 0.88rem;
  color: var(--ink-soft);
  margin-top: 22px;
}
.auth-alt a { font-weight: 550; color: var(--ink); border-bottom: 1px solid var(--ink); }
.auth-alt a:hover { background: var(--lime); }

/* ---------- values / about ---------- */

.value-rows { border-top: 1px solid var(--line-strong); }
.value-row {
  display: grid;
  grid-template-columns: 90px 1fr 1.4fr;
  gap: clamp(16px, 3vw, 48px);
  padding: 34px 0;
  border-bottom: 1px solid var(--line);
}
.value-row h3 { font-family: var(--font-display); font-size: 1.5rem; font-weight: 500; letter-spacing: -0.015em; }
.value-row p { color: var(--ink-soft); font-size: 0.95rem; max-width: 46em; }
.value-row .num { font-family: var(--font-mono); font-size: 0.8rem; color: var(--ink-soft); padding-top: 6px; }

.map-note {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  border: 1px solid var(--ink);
  border-radius: 999px;
  padding: 8px 18px 8px 10px;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.06em;
  background: #fff;
}
.map-note i { font-style: normal; width: 10px; height: 10px; border-radius: 50%; background: var(--lime); border: 1px solid var(--ink); }

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

.reveal { opacity: 0; transform: translateY(22px); transition: opacity 0.7s var(--ease), transform 0.7s var(--ease); }
.reveal.is-in { opacity: 1; transform: none; }
.reveal.no-anim { transition: none; }
.reveal-d1 { transition-delay: 0.08s; }
.reveal-d2 { transition-delay: 0.16s; }
.reveal-d3 { transition-delay: 0.24s; }

@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  html { scroll-behavior: auto; }
}

/* ---------- AI NoteTaker live demos (animated SVG bits) ---------- */

.nt-pulse {
  transform-box: fill-box;
  transform-origin: center;
  animation: ntPulse 1.4s ease-in-out infinite;
}
@keyframes ntPulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.15; }
}

.nt-bar {
  transform-box: fill-box;
  transform-origin: center;
  animation: ntBar 0.9s ease-in-out infinite;
}
@keyframes ntBar {
  0%, 100% { transform: scaleY(0.3); }
  50% { transform: scaleY(1); }
}

/* transcript / summary lines cycle in like a looping GIF */
.nt-line {
  opacity: 0;
  animation: ntLine 12s linear infinite;
}
@keyframes ntLine {
  0% { opacity: 0; transform: translateY(8px); }
  4% { opacity: 1; transform: translateY(0); }
  88% { opacity: 1; }
  96%, 100% { opacity: 0; }
}

.nt-caret { animation: ntBlink 1.1s steps(1, end) infinite; }
@keyframes ntBlink {
  0%, 49% { opacity: 1; }
  50%, 100% { opacity: 0; }
}

@media (prefers-reduced-motion: reduce) {
  .nt-pulse, .nt-bar, .nt-line, .nt-caret { animation: none; opacity: 1; transform: none; }
}

/* ---------- marquee ---------- */

.ticker {
  border-top: 1px solid var(--ink);
  border-bottom: 1px solid var(--ink);
  background: var(--lime);
  overflow: hidden;
  padding: 13px 0;
}
.ticker-track {
  display: flex;
  gap: 48px;
  width: max-content;
  animation: ticker 36s linear infinite;
}
.ticker-track span {
  font-family: var(--font-mono);
  font-size: 0.74rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  white-space: nowrap;
  display: inline-flex;
  align-items: center;
  gap: 48px;
}
.ticker-track span::after { content: "✳"; font-size: 0.8rem; }
@keyframes ticker { to { transform: translateX(-50%); } }

@media (prefers-reduced-motion: reduce) { .ticker-track { animation: none; } }

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

@media (max-width: 1080px) {
  .mega-grid { grid-template-columns: 1fr; }
  .mega-aside { display: none; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .stat:nth-child(2) { border-right: none; }
  .stat:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
  .card-grid { grid-template-columns: repeat(2, 1fr); }
  .pricing-grid { grid-template-columns: 1fr; max-width: 560px; margin-inline: auto; }
  .addon-grid { grid-template-columns: 1fr 1fr; }
  .quote-grid { grid-template-columns: 1fr; }
}

@media (max-width: 900px) {
  .nav,
  .header-cta .btn-ghost,
  .header-cta .btn-primary { display: none; }
  .nav-toggle { display: block; }
  .hero-grid, .page-hero-grid, .split, .split.flip { grid-template-columns: 1fr; }
  .split.flip > .split-media { order: 0; }
  .module-row { grid-template-columns: 48px 1fr auto; }
  .module-row p { grid-column: 2 / 3; grid-row: 2; }
  .module-row .num { grid-row: 1 / 3; align-self: start; padding-top: 8px; }
  .footer-top { grid-template-columns: 1fr 1fr; }
  .eu-grid { grid-template-columns: 1fr; }
  .value-row { grid-template-columns: 48px 1fr; }
  .value-row p { grid-column: 2; }
}

@media (max-width: 600px) {
  .card-grid { grid-template-columns: 1fr; }
  .stats-grid { grid-template-columns: 1fr; }
  .addon-grid { grid-template-columns: 1fr; }
  .stat { border-right: none; border-bottom: 1px solid var(--line); }
  .stat:last-child { border-bottom: none; }
  .form-grid { grid-template-columns: 1fr; }
  .footer-top { grid-template-columns: 1fr; }
  .hero-ctas .btn { width: 100%; }
}
