/* =========================================================
   Globespirit — 2026
   One page. Warm paper, ink, one gradient from the old brand.
   ========================================================= */

:root {
  --paper: #F7F4EE;
  --paper-2: #FBF9F5;
  --card: #FFFDF9;
  --ink: #11140F;
  --ink-2: #2A2E27;
  --muted: #6B7067;
  --line: rgba(17, 20, 15, .12);
  --line-strong: rgba(17, 20, 15, .22);
  --dark: #0E120D;
  --dark-2: #151A14;
  --violet: #5B3DF5;
  --coral: #FF5A76;
  --grad: linear-gradient(115deg, #5B3DF5 0%, #A93BE8 48%, #FF5A76 100%);
  --green: #2FBF71;
  --sans: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --serif: "Instrument Serif", Georgia, "Times New Roman", serif;
  --shadow: 0 30px 60px -32px rgba(17, 20, 15, .30);
  --radius: 20px;
  --ease: cubic-bezier(.2, .7, .2, 1);
}

* { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: 84px;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 1.0625rem;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

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

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

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

p { margin: 0; }

h1, h2, h3 {
  margin: 0;
  font-family: var(--serif);
  font-weight: 400;
  letter-spacing: -.015em;
  line-height: 1.02;
}

h1 em, h2 em, .io-close em { font-style: italic; }

.nowrap { white-space: nowrap; }

.sprite {
  position: absolute;
  width: 0;
  height: 0;
  overflow: hidden;
}

.icon {
  width: 1em;
  height: 1em;
  display: inline-block;
  vertical-align: -.125em;
  flex: none;
}

.wrap {
  width: min(1180px, calc(100% - 48px));
  margin-inline: auto;
}

.skip {
  position: absolute;
  left: 16px;
  top: -60px;
  z-index: 200;
  background: var(--ink);
  color: var(--paper);
  padding: 10px 16px;
  border-radius: 8px;
  transition: top .2s;
}
.skip:focus { top: 12px; }
#main:focus { outline: none; }

:focus-visible {
  outline: 2px solid var(--violet);
  outline-offset: 3px;
  border-radius: 4px;
}

/* ---------- Buttons ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .55rem;
  padding: .8rem 1.2rem;
  border-radius: 999px;
  border: 1px solid transparent;
  font-size: .92rem;
  font-weight: 600;
  letter-spacing: -.01em;
  line-height: 1;
  white-space: nowrap;
  transition: transform .25s var(--ease), background .25s, color .25s,
              border-color .25s, box-shadow .25s;
}
.btn .icon { transition: transform .25s var(--ease); }
.btn:hover .icon { transform: translateX(3px); }

.btn-lg { padding: 1.02rem 1.5rem; font-size: .98rem; }

.btn-dark {
  background: var(--ink);
  color: var(--paper);
}
.btn-dark:hover {
  background: #000;
  transform: translateY(-1px);
  box-shadow: 0 12px 26px -14px rgba(17, 20, 15, .55);
}

.btn-line {
  border-color: var(--line-strong);
  color: var(--ink);
  background: transparent;
}
.btn-line:hover { border-color: var(--ink); background: rgba(17, 20, 15, .03); }

.btn-quiet {
  color: var(--muted);
  padding-inline: .5rem;
}
.btn-quiet:hover { color: var(--ink); }

.btn-light { background: var(--paper); color: var(--ink); }
.btn-light:hover { background: #fff; transform: translateY(-1px); }

.btn-outline-light {
  border-color: rgba(247, 244, 238, .28);
  color: var(--paper);
}
.btn-outline-light:hover { border-color: rgba(247, 244, 238, .65); }

/* ---------- Header ---------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--paper);
  transition: background .3s, border-color .3s, box-shadow .3s;
  border-bottom: 1px solid transparent;
}
.site-header.is-scrolled {
  background: var(--paper);
  border-bottom-color: var(--line);
  box-shadow: 0 10px 30px -28px rgba(17, 20, 15, .5);
}

.header-inner {
  min-height: 82px;
  display: flex;
  align-items: center;
  gap: 28px;
}

.brand { display: inline-flex; align-items: center; }
.brand img { height: 44px; width: auto; }

.nav {
  display: flex;
  align-items: center;
  gap: 26px;
  margin-left: auto;
}
.nav a {
  font-size: .89rem;
  font-weight: 500;
  color: var(--muted);
  position: relative;
  padding: 6px 0;
  transition: color .2s;
}
.nav a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 100%;
  bottom: 0;
  height: 1.5px;
  background: var(--grad);
  transition: right .3s var(--ease);
}
.nav a:hover { color: var(--ink); }
.nav a:hover::after { right: 0; }

.header-actions { display: flex; align-items: center; gap: 6px; }
.header-chat-label {
  margin-right: 4px;
  font-size: .8rem;
  font-weight: 600;
  color: var(--muted);
  white-space: nowrap;
  transition: color .2s;
}
.header-chat-label:hover { color: var(--ink); }
.nav-wa { display: none; }

html:not(.js) .menu-btn { display: none; }

.menu-btn {
  display: none;
  width: 42px;
  height: 42px;
  border: 0;
  background: transparent;
  cursor: pointer;
  position: relative;
  border-radius: 50%;
}
.menu-btn span {
  position: absolute;
  left: 12px;
  right: 12px;
  height: 1.5px;
  background: var(--ink);
  transition: transform .3s var(--ease), top .3s var(--ease), opacity .2s;
}
.menu-btn span:nth-child(1) { top: 17px; }
.menu-btn span:nth-child(2) { top: 24px; }
.menu-btn[aria-expanded="true"] span:nth-child(1) { top: 21px; transform: rotate(45deg); }
.menu-btn[aria-expanded="true"] span:nth-child(2) { top: 21px; transform: rotate(-45deg); }

/* ---------- Hero ---------- */

.hero {
  position: relative;
  padding: clamp(58px, 8vw, 104px) 0 clamp(46px, 6vw, 76px);
  overflow: hidden;
}
.hero::before {
  content: "";
  position: absolute;
  inset: -420px -20% auto -20%;
  height: 980px;
  background:
    radial-gradient(46% 46% at 68% 42%, rgba(91, 61, 245, .11), transparent 70%),
    radial-gradient(36% 40% at 88% 20%, rgba(255, 90, 118, .10), transparent 70%);
  pointer-events: none;
}

.hero-grid {
  position: relative;
  display: grid;
  grid-template-columns: 1.06fr .94fr;
  gap: clamp(36px, 6vw, 78px);
  align-items: center;
}

.eyebrow {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 18px;
  font-size: .7rem;
  font-weight: 600;
  letter-spacing: .15em;
  text-transform: uppercase;
  color: var(--muted);
}
.dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--grad);
  flex: none;
}

h1 {
  font-size: clamp(3.05rem, 6.2vw, 5.15rem);
  line-height: .97;
  letter-spacing: -.02em;
  max-width: 13ch;
}
h1 em { display: inline; }

.lede {
  margin-top: 26px;
  max-width: 52ch;
  font-size: 1.14rem;
  line-height: 1.62;
  color: var(--ink-2);
}

.hero-actions {
  margin-top: 32px;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.micro {
  margin-top: 18px;
  font-size: .84rem;
  color: var(--muted);
}

/* Example brief */

.hero-visual {
  position: relative;
  max-width: 470px;
  justify-self: end;
  width: 100%;
}
.brief-stack { position: relative; }
.brief-stack::before {
  content: "";
  position: absolute;
  inset: 22px -16px -18px 22px;
  border-radius: 26px;
  background: var(--grad);
  opacity: .16;
  transform: rotate(2.4deg);
  pointer-events: none;
}

.brief {
  position: relative;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 20px;
  box-shadow: var(--shadow);
}

.brief-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 2px 2px 14px;
  border-bottom: 1px dashed var(--line-strong);
  font-size: .68rem;
  font-weight: 600;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--muted);
}
.brief-title { display: inline-flex; align-items: center; }
.live {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--green);
  margin-right: 8px;
  box-shadow: 0 0 0 4px rgba(47, 191, 113, .13);
}
.brief-time { font-weight: 500; letter-spacing: .04em; text-transform: none; }

.brief-block { padding: 16px 2px 6px; }
.brief-label {
  font-size: .64rem;
  font-weight: 700;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 10px;
}

.brief-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 9px;
}
.brief-list li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: .93rem;
  color: var(--ink-2);
}
.brief-list .icon {
  width: 18px;
  height: 18px;
  padding: 3px;
  border-radius: 50%;
  background: rgba(47, 191, 113, .12);
  color: #17914f;
}
.brief-list b { font-weight: 700; color: var(--ink); }

.brief-needs { padding-top: 14px; }

.decision {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 12px 13px;
  border: 1px solid var(--line);
  border-radius: 13px;
  background: var(--paper);
}
.decision-main { display: grid; gap: 1px; min-width: 0; }
.decision-main strong { font-size: .86rem; font-weight: 600; }
.decision-main span { font-size: .72rem; color: var(--muted); }

.decision-actions { display: flex; gap: 6px; flex: none; }
.pill {
  font-size: .68rem;
  font-weight: 600;
  padding: 5px 9px;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  color: var(--muted);
  white-space: nowrap;
}
.pill-solid { background: var(--ink); border-color: var(--ink); color: var(--paper); }

.decision-note {
  margin-top: 8px;
  font-size: .72rem;
  color: var(--muted);
  padding-left: 2px;
}

.brief-foot {
  margin-top: 12px;
  padding: 12px 2px 2px;
  border-top: 1px dashed var(--line-strong);
  display: flex;
  justify-content: space-between;
  gap: 12px;
  font-size: .72rem;
  color: var(--ink-2);
}
.brief-log { color: var(--muted); }

.brief-caption {
  margin-top: 22px;
  font-size: .78rem;
  color: var(--muted);
  text-align: center;
}

/* ---------- Strip ---------- */

.strip {
  border-block: 1px solid var(--line);
  background: rgba(255, 253, 249, .55);
}
.strip-inner {
  min-height: 66px;
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px 30px;
  font-size: .82rem;
  color: var(--muted);
}
.strip-label {
  font-size: .64rem;
  font-weight: 700;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--ink);
  padding-right: 8px;
}

/* ---------- Section shell ---------- */

.section { padding: clamp(76px, 9vw, 122px) 0; }

.section-head { max-width: 800px; }
.section-head h2 {
  font-size: clamp(2.15rem, 4.4vw, 3.55rem);
  line-height: 1.04;
  max-width: 18ch;
}
.section-head h2.problem-title { max-width: 19.5ch; }
.section-intro {
  margin-top: 18px;
  max-width: 64ch;
  font-size: 1.06rem;
  color: var(--muted);
}

/* ---------- Problem ---------- */

.problem-grid {
  margin-top: 52px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}
.problem-card {
  position: relative;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 32px 30px 30px;
  overflow: hidden;
  transition: transform .3s var(--ease), border-color .3s, box-shadow .3s;
}
.problem-card:hover {
  transform: translateY(-3px);
  border-color: var(--line-strong);
  box-shadow: 0 20px 40px -34px rgba(17, 20, 15, .5);
}
.num {
  position: absolute;
  top: 8px;
  right: 22px;
  font-family: var(--serif);
  font-size: 3.1rem;
  line-height: 1;
  color: rgba(17, 20, 15, .10);
}
.problem-card h3 {
  font-family: var(--sans);
  font-size: 1.12rem;
  font-weight: 600;
  letter-spacing: -.015em;
  line-height: 1.25;
  max-width: 22ch;
}
.problem-card p {
  margin-top: 12px;
  font-size: .96rem;
  color: var(--muted);
  max-width: 42ch;
}

.problem-close {
  margin-top: 40px;
  max-width: 58ch;
  font-family: var(--serif);
  font-size: clamp(1.45rem, 2.4vw, 1.95rem);
  line-height: 1.28;
  letter-spacing: -.01em;
}
.problem-close strong { font-weight: 400; font-style: italic; }

/* ---------- Inputs / outputs ---------- */

.io {
  position: relative;
  background: var(--dark);
  color: var(--paper);
  overflow: hidden;
}
.io::before {
  content: "";
  position: absolute;
  inset: -30% -10% auto -10%;
  height: 760px;
  background:
    radial-gradient(42% 50% at 22% 34%, rgba(91, 61, 245, .22), transparent 70%),
    radial-gradient(34% 44% at 82% 18%, rgba(255, 90, 118, .14), transparent 70%);
  pointer-events: none;
}
.io .wrap { position: relative; }
.io .eyebrow { color: rgba(247, 244, 238, .55); }
.io .section-intro { color: rgba(247, 244, 238, .66); }

.io-grid {
  margin-top: 56px;
  display: grid;
  grid-template-columns: 1fr auto 1.14fr;
  gap: 24px;
  align-items: stretch;
}

.io-panel {
  border: 1px solid rgba(247, 244, 238, .13);
  border-radius: var(--radius);
  padding: 30px;
  background: rgba(247, 244, 238, .03);
}
.io-panel-out {
  background: rgba(247, 244, 238, .065);
  border-color: rgba(247, 244, 238, .2);
}

.io-label {
  font-size: .66rem;
  font-weight: 700;
  letter-spacing: .17em;
  text-transform: uppercase;
  color: rgba(247, 244, 238, .5);
  margin-bottom: 22px;
}

.io-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 18px;
}
.io-list li {
  display: flex;
  align-items: baseline;
  gap: 14px;
  font-size: 1.02rem;
  line-height: 1.45;
}
.io-list span {
  font-family: var(--serif);
  font-size: 1.5rem;
  color: rgba(247, 244, 238, .38);
  line-height: 1;
}
.io-foot {
  margin-top: 26px;
  padding-top: 20px;
  border-top: 1px solid rgba(247, 244, 238, .1);
  font-size: .82rem;
  color: rgba(247, 244, 238, .5);
}

.io-arrow {
  align-self: center;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  border: 1px solid rgba(247, 244, 238, .18);
  display: grid;
  place-items: center;
  color: rgba(247, 244, 238, .75);
  font-size: 1.05rem;
}

.io-out { list-style: none; margin: 0; padding: 0; display: grid; }
.io-out li {
  padding: 15px 0;
  border-top: 1px solid rgba(247, 244, 238, .1);
}
.io-out li:first-child { border-top: 0; padding-top: 0; }
.io-out li:last-child { padding-bottom: 0; }
.io-out strong {
  display: block;
  font-size: .98rem;
  font-weight: 600;
  letter-spacing: -.01em;
}
.io-out span {
  display: block;
  margin-top: 3px;
  font-size: .84rem;
  color: rgba(247, 244, 238, .55);
}

.io-close {
  margin-top: 46px;
  text-align: center;
  font-family: var(--serif);
  font-size: clamp(1.6rem, 3vw, 2.35rem);
  line-height: 1.2;
  color: rgba(247, 244, 238, .92);
}

/* ---------- Offers ---------- */

.offer-grid {
  margin-top: 52px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.offer {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--card);
}
.offer.featured {
  border: 1px solid transparent;
  background:
    linear-gradient(var(--card), var(--card)) padding-box,
    var(--grad) border-box;
  box-shadow: 0 26px 50px -42px rgba(91, 61, 245, .55);
}

.offer-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 20px;
}
.offer-num {
  font-family: var(--serif);
  font-size: 1.9rem;
  line-height: 1;
  color: rgba(17, 20, 15, .30);
}
.tag {
  font-size: .64rem;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  padding: 5px 9px;
  border-radius: 999px;
  background: var(--ink);
  color: var(--paper);
  white-space: nowrap;
}
.tag-quiet {
  background: transparent;
  color: var(--muted);
  border: 1px solid var(--line);
}

.offer h3 { font-size: 1.55rem; letter-spacing: -.01em; }
@media (min-width: 901px) { .offer h3 { min-height: 2.05em; } }
.offer-meta {
  margin-top: 6px;
  font-size: .74rem;
  font-weight: 600;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--muted);
}
.offer-body {
  margin-top: 16px;
  font-size: .94rem;
  color: var(--muted);
}
.offer-list {
  list-style: none;
  margin: 22px 0 0;
  padding: 20px 0 0;
  border-top: 1px solid var(--line);
  display: grid;
  gap: 9px;
}
.offer-list li {
  position: relative;
  padding-left: 17px;
  font-size: .88rem;
  color: var(--ink-2);
}
.offer-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: .55em;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--grad);
}

.offer-close {
  margin-top: 34px;
  text-align: center;
  font-size: .92rem;
  color: var(--muted);
}
.offer-close a {
  color: var(--ink);
  border-bottom: 1px solid var(--line-strong);
  transition: border-color .2s;
}
.offer-close a:hover { border-color: var(--ink); }

/* ---------- Proof ---------- */

.proof { background: #F1EDE4; }

.stats {
  margin-top: 52px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  padding-bottom: 46px;
  border-bottom: 1px solid var(--line-strong);
}
.stat-num {
  display: block;
  font-family: var(--serif);
  font-size: clamp(3rem, 5vw, 4.2rem);
  line-height: .92;
  letter-spacing: -.02em;
}
.stat-word { font-size: clamp(2.1rem, 3.4vw, 2.9rem); padding-top: .35rem; }
.stat p {
  margin-top: 12px;
  font-size: .88rem;
  color: var(--muted);
  max-width: 30ch;
}

.cases {
  margin-top: 42px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0 48px;
}
.case {
  padding: 24px 0;
  border-top: 1px solid var(--line);
}
.case:nth-child(-n+2) { border-top: 0; }
.case-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: .68rem;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--ink);
}
.case-tag::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--grad);
}
.case p {
  margin-top: 8px;
  font-size: .95rem;
  color: var(--muted);
  max-width: 44ch;
}

/* ---------- How ---------- */

.steps {
  position: relative;
  margin-top: 58px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 26px;
}
.steps::before {
  content: "";
  position: absolute;
  top: 23px;
  left: 12px;
  right: 12px;
  height: 1px;
  background: var(--line-strong);
}
.step { position: relative; padding-top: 64px; }
.step-num {
  position: absolute;
  top: 0;
  left: 0;
  width: 47px;
  height: 47px;
  border-radius: 50%;
  border: 1px solid var(--line-strong);
  background: var(--paper);
  display: grid;
  place-items: center;
  font-family: var(--serif);
  font-size: 1.15rem;
  color: var(--ink);
}
.step h3 {
  font-family: var(--sans);
  font-size: 1.02rem;
  font-weight: 600;
  letter-spacing: -.01em;
}
.step-meta {
  margin-top: 3px;
  font-size: .68rem;
  font-weight: 600;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--muted);
}
.step p:last-child {
  margin-top: 12px;
  font-size: .9rem;
  color: var(--muted);
  max-width: 30ch;
}

/* ---------- Trust ---------- */

.trust-grid {
  display: grid;
  grid-template-columns: .92fr 1.08fr;
  gap: clamp(40px, 7vw, 96px);
  align-items: start;
}
.trust-intro { position: sticky; top: 120px; }
.trust-intro h2 {
  max-width: 12ch;
  font-size: clamp(2.15rem, 4.4vw, 3.55rem);
  line-height: 1.04;
}

.founder {
  margin-top: 40px;
  padding: 24px;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 16px;
  max-width: 46ch;
}
.founder-name {
  font-size: .68rem;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--ink);
  margin-bottom: 8px;
}
.founder p:last-child {
  font-size: .9rem;
  color: var(--muted);
}

.trust-list { display: grid; }
.trust-item {
  padding: 24px 0;
  border-top: 1px solid var(--line);
}
.trust-item:first-child { border-top: 0; padding-top: 0; }
.trust-item h3 {
  font-family: var(--sans);
  font-size: 1.05rem;
  font-weight: 600;
  letter-spacing: -.01em;
}
.trust-item p {
  margin-top: 7px;
  font-size: .93rem;
  color: var(--muted);
  max-width: 48ch;
}

/* ---------- FAQ ---------- */

.faq { background: var(--paper-2); }

.faq-grid {
  display: grid;
  grid-template-columns: .8fr 1.2fr;
  gap: clamp(40px, 7vw, 96px);
  align-items: start;
}
.faq-head { position: sticky; top: 120px; }
.faq-head h2 {
  max-width: 10ch;
  font-size: clamp(2.15rem, 4.4vw, 3.55rem);
  line-height: 1.04;
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  margin-top: 24px;
  font-size: .92rem;
  font-weight: 600;
  color: var(--ink);
  border-bottom: 1px solid var(--line-strong);
  padding-bottom: 3px;
  transition: border-color .2s;
}
.text-link:hover { border-color: var(--ink); }
.text-link .icon { transition: transform .25s var(--ease); }
.text-link:hover .icon { transform: translateX(3px); }

.faq-list { border-top: 1px solid var(--line-strong); }
.faq-list details { border-bottom: 1px solid var(--line-strong); }
.faq-list summary {
  list-style: none;
  cursor: pointer;
  position: relative;
  padding: 21px 42px 21px 0;
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: -.01em;
  transition: color .2s;
}
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary:hover { color: var(--violet); }
.faq-list summary::after {
  content: "+";
  position: absolute;
  right: 2px;
  top: 50%;
  transform: translateY(-50%);
  font-family: var(--serif);
  font-size: 1.55rem;
  line-height: 1;
  color: var(--muted);
  transition: transform .3s var(--ease), color .2s;
}
.faq-list details[open] summary::after {
  transform: translateY(-50%) rotate(45deg);
  color: var(--ink);
}
.faq-list details p {
  padding: 0 42px 22px 0;
  font-size: .94rem;
  color: var(--muted);
  max-width: 62ch;
}

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

.cta-section { padding: 0 0 clamp(64px, 8vw, 104px); }

.cta {
  position: relative;
  overflow: hidden;
  background: var(--dark);
  color: var(--paper);
  border-radius: 28px;
  padding: clamp(38px, 6vw, 76px);
}
.cta::before {
  content: "";
  position: absolute;
  inset: -40% -10% auto auto;
  width: 70%;
  height: 140%;
  background:
    radial-gradient(50% 50% at 50% 50%, rgba(91, 61, 245, .30), transparent 70%),
    radial-gradient(40% 40% at 70% 30%, rgba(255, 90, 118, .18), transparent 70%);
  pointer-events: none;
}
.cta > * { position: relative; }
.cta .eyebrow { color: rgba(247, 244, 238, .55); }
.cta h2 {
  font-size: clamp(2.35rem, 5vw, 4.05rem);
  line-height: 1.02;
  max-width: 17ch;
}
.cta p {
  margin-top: 20px;
  max-width: 60ch;
  font-size: 1.02rem;
  color: rgba(247, 244, 238, .68);
}
.cta-actions {
  margin-top: 32px;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}
.cta p.cta-micro {
  margin-top: 20px;
  font-size: .84rem;
  color: rgba(247, 244, 238, .5);
}
.cta p.cta-micro a {
  white-space: nowrap;
  color: rgba(247, 244, 238, .78);
  border-bottom: 1px solid rgba(247, 244, 238, .25);
}
.cta p.cta-micro a:hover { color: var(--paper); border-color: var(--paper); }

/* ---------- Footer ---------- */

.site-footer {
  border-top: 1px solid var(--line);
  padding: 60px 0 26px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr .6fr .7fr .6fr;
  gap: 40px;
}
.footer-brand img { height: 58px; width: auto; }
.footer-brand p {
  margin-top: 16px;
  font-size: .86rem;
  color: var(--muted);
}
.footer-title {
  font-size: .66rem;
  font-weight: 700;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--ink);
  margin-bottom: 14px;
}
.footer-col { display: flex; flex-direction: column; gap: 9px; }
.footer-col a,
.footer-static {
  font-size: .88rem;
  color: var(--muted);
  transition: color .2s;
}
.footer-col a:hover { color: var(--ink); }

.footer-bottom {
  margin-top: 48px;
  padding-top: 20px;
  border-top: 1px solid var(--line);
  display: flex;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  font-size: .76rem;
  color: var(--muted);
}

/* ---------- 2026 positioning blocks ---------- */

.hero-title {
  font-size: clamp(2.55rem, 5.2vw, 4.3rem);
  line-height: 1.03;
  max-width: 18ch;
}

.example {
  font-size: .92rem;
}
.example p {
  margin: 12px 0 0;
  color: var(--muted);
}
.example strong { color: var(--ink); }
.example-quote {
  margin-top: 16px;
  padding: 14px;
  background: var(--paper-2);
  border: 1px solid var(--line);
  border-radius: 12px;
  color: var(--ink);
}
.example-quote span {
  display: block;
  margin-top: 7px;
  font-size: .8rem;
  line-height: 1.45;
  color: var(--muted);
}
.example-rule {
  height: 1px;
  margin: 16px 0;
  background: var(--line);
}
.example-close {
  font-size: .82rem;
  color: var(--muted);
}

.section-quote {
  margin-top: 38px;
  max-width: 62ch;
  font-family: var(--serif);
  font-size: clamp(1.35rem, 2.4vw, 1.8rem);
  line-height: 1.3;
}
.section-note {
  margin-top: 18px;
  max-width: 70ch;
  font-size: .85rem;
  color: var(--muted);
}
.io-note {
  margin: 18px auto 0;
  max-width: 66ch;
  text-align: center;
  font-size: .84rem;
  color: rgba(247, 244, 238, .5);
}

.table-wrap {
  margin-top: 40px;
  overflow-x: auto;
}
.compare {
  width: 100%;
  border-collapse: collapse;
  font-size: .94rem;
}
.compare th,
.compare td {
  padding: 15px 18px;
  text-align: left;
  vertical-align: top;
  border-bottom: 1px solid var(--line);
}
.compare thead th {
  font-size: .66rem;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--muted);
  border-bottom: 1px solid var(--line-strong);
}
.compare td:first-child { color: var(--muted); }
.compare td:last-child { color: var(--ink); font-weight: 500; }
.compare tbody tr:last-child td { border-bottom: 0; }

.mini-grid {
  margin-top: 44px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}
.mini-card {
  padding: 20px;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 16px;
}
.mini-card h3 {
  font-family: var(--sans);
  font-size: .95rem;
  font-weight: 600;
  letter-spacing: -.01em;
}
.mini-card p {
  margin-top: 7px;
  font-size: .88rem;
  color: var(--muted);
}

.philosophy-grid { grid-template-columns: repeat(3, 1fr); }
.sovereign-grid { grid-template-columns: repeat(3, 1fr); }

.system-stack {
  max-width: 760px;
  margin: 46px auto 0;
  padding: 26px;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 20px;
  text-align: center;
}
.stack-box {
  padding: 14px 16px;
  background: var(--paper-2);
  border: 1px solid var(--line);
  border-radius: 12px;
}
.stack-box strong {
  display: block;
  font-size: .94rem;
  font-weight: 600;
}
.stack-box span {
  display: block;
  margin-top: 3px;
  font-size: .8rem;
  color: var(--muted);
}
.stack-arrow {
  padding: 7px 0;
  color: var(--muted);
  font-size: 1rem;
}
.stack-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}
.stack-orch {
  margin-top: 14px;
  border-color: rgba(91, 61, 245, .45);
  background: #F4F1FF;
}

.flow-grid {
  margin-top: 54px;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 24px;
}

/* ---------- Reveal ---------- */

.js .reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity .75s var(--ease), transform .75s var(--ease);
  transition-delay: var(--d, 0s);
}
.js .reveal.in { opacity: 1; transform: none; }
.delay-05 { --d: .05s; }
.delay-06 { --d: .06s; }
.delay-08 { --d: .08s; }
.delay-1 { --d: .1s; }
.delay-12 { --d: .12s; }
.delay-15 { --d: .15s; }
.delay-18 { --d: .18s; }
.delay-2 { --d: .2s; }

/* ---------- Responsive ---------- */

@media (max-width: 1040px) {
  .hero-grid { gap: 44px; }
  .nav { gap: 18px; }
  .header-chat-label,
  .header-actions .header-wa { display: none; }
  .trust-grid, .faq-grid { gap: 48px; }
  .flow-grid { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 900px) {
  .header-actions { order: 2; margin-left: auto; }
  .menu-btn { order: 3; }
  .nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    margin: 0;
    padding: 14px 24px 24px;
    gap: 2px;
    background: var(--paper);
    border-bottom: 1px solid var(--line);
    box-shadow: 0 22px 30px -30px rgba(17, 20, 15, .5);
  }
  .nav.open { display: flex; flex-direction: column; align-items: flex-start; }
  .nav .nav-wa { display: block; }
  .nav a { display: block; width: 100%; padding: 13px 0; font-size: 1rem; border-bottom: 1px solid var(--line); }
  .nav a:last-child { border-bottom: 0; }
  .nav a::after { display: none; }
  .menu-btn { display: block; }

  .hero-grid { grid-template-columns: 1fr; }
  .hero-visual { justify-self: start; max-width: 520px; margin-top: 12px; }
  .io-grid { grid-template-columns: 1fr; }
  .io-arrow { transform: rotate(90deg); margin-inline: auto; }
  .brief-stack::before { inset: 18px -12px -14px 18px; }
  h1 { max-width: 15ch; }

  .problem-grid { grid-template-columns: 1fr; }
  .offer-grid { grid-template-columns: 1fr; }
  .flow-grid { grid-template-columns: 1fr; gap: 0; }
  .flow-grid .step { padding: 0 0 34px 74px; }
  .flow-grid .step:last-child { padding-bottom: 0; }
  .mini-grid { grid-template-columns: 1fr 1fr; }
  .philosophy-grid { grid-template-columns: 1fr 1fr; }
  .sovereign-grid { grid-template-columns: 1fr 1fr; }
  .stats { grid-template-columns: 1fr 1fr; }
  .steps { grid-template-columns: 1fr; gap: 0; }
  .steps::before {
    top: 0;
    bottom: 30px;
    left: 23px;
    right: auto;
    width: 1px;
    height: auto;
  }
  .step { padding: 0 0 36px 74px; }
  .step:last-child { padding-bottom: 0; }
  .trust-grid, .faq-grid { grid-template-columns: 1fr; }
  .trust-intro, .faq-head { position: static; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 640px) {
  html { scroll-padding-top: 72px; }
  .wrap { width: calc(100% - 32px); }
  .header-inner { min-height: 70px; gap: 12px; }
  .brand img { height: 38px; }
  .header-actions .btn-dark { padding: .68rem .95rem; font-size: .84rem; }
  .header-actions .btn-dark .icon { display: none; }

  h1 { font-size: clamp(2.75rem, 11.5vw, 3.6rem); }
  .lede { font-size: 1.04rem; }
  .hero-actions { flex-direction: column; align-items: stretch; }
  .hero-actions .btn { width: 100%; }

  .brief { padding: 16px; }
  .brief-foot { flex-direction: column; gap: 4px; }
  .decision { flex-direction: column; align-items: flex-start; }
  .decision-actions { margin-top: 4px; }

  .section-head h2 { max-width: none; }
  .problem-card { padding: 26px 22px; }
  .io-panel { padding: 24px; }
  .io-arrow { transform: rotate(90deg); margin-inline: auto; }
  .stats { grid-template-columns: 1fr; gap: 26px; }
  .cases { grid-template-columns: 1fr; gap: 0; }
  .hero-title { font-size: clamp(2.35rem, 10.5vw, 3rem); }
  .mini-grid,
  .philosophy-grid,
  .sovereign-grid,
  .stack-row { grid-template-columns: 1fr; }
  .compare th, .compare td { padding: 12px 12px 12px 0; }
  .case:nth-child(2) { border-top: 1px solid var(--line); }
  .cta { border-radius: 22px; }
  .cta-actions { flex-direction: column; align-items: stretch; }
  .cta-actions .btn { width: 100%; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px 24px; }
  .footer-brand { grid-column: 1 / -1; }
  .footer-bottom { flex-direction: column; gap: 6px; }
}

@media (max-width: 360px) {
  .section-head h2,
  .trust-intro h2,
  .faq-head h2 { font-size: 1.95rem; }
}

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