/* ============================================================
   AURIS CONSULTING — v2 design system
   Modern, friendly fintech. Two-color brand: emerald + coral.
   Indigo-navy ink · mint-white paper · Bricolage / Jakarta / Plex Mono
   Variable names kept backward-compatible with existing pages.
   ============================================================ */

:root {
  /* --- core ink & paper --- */
  --ink:        #171a2e;   /* deep indigo-navy (warm dark, not black) */
  --ink-2:      #23264d;   /* lifted navy for gradients */
  --ink-soft:   #565b76;   /* muted body on light */
  --paper:      #f6f8f7;   /* soft mint-white background */
  --paper-warm: #fdf8f4;   /* alt warm section background */
  --paper-pure: #ffffff;   /* card / surface (alias kept) */
  --surface:    #ffffff;

  /* --- lines --- */
  --line:       #e5e9ea;   /* hairline on light */
  --line-2:     #eef1f1;   /* softer hairline */
  --line-dark:  rgba(255,255,255,0.12); /* hairline on ink */

  /* --- brand: emerald (growth / forward) --- */
  --signal:     #12b183;   /* primary brand green */
  --signal-dim: #0e9670;   /* darker emerald (hover/press) */
  --signal-ink: #043d2c;   /* text on emerald */
  --signal-soft:#e6f6ef;   /* emerald tint bg */
  --signal-100: #cdeee1;   /* emerald border tint */

  /* --- brand: coral (energy / primary CTA) --- */
  --coral:      #ff6a5a;   /* friendly hot coral */
  --coral-dim:  #f2503f;   /* darker coral (hover/press) */
  --coral-soft: #fff0ed;   /* coral tint bg */
  --coral-100:  #ffd9d2;   /* coral border tint */

  /* --- support --- */
  --amber:      #ffb020;   /* sparing tertiary highlight */
  --muted:      #8a8fa6;   /* captions / back-looking data */

  /* --- type --- */
  --serif: "Bricolage Grotesque", "Plus Jakarta Sans", system-ui, sans-serif; /* display (name kept) */
  --sans:  "Plus Jakarta Sans", system-ui, -apple-system, sans-serif;
  --mono:  "IBM Plex Mono", "SF Mono", ui-monospace, monospace;

  /* --- radii --- */
  --r-sm: 10px; --r: 14px; --r-lg: 20px; --r-xl: 28px; --r-pill: 999px;

  /* --- shadows (layered, soft) --- */
  --sh-1: 0 1px 2px rgba(23,26,46,0.06), 0 1px 3px rgba(23,26,46,0.05);
  --sh-2: 0 6px 16px -6px rgba(23,26,46,0.12), 0 2px 6px -3px rgba(23,26,46,0.08);
  --sh-3: 0 20px 44px -16px rgba(23,26,46,0.22), 0 8px 18px -10px rgba(23,26,46,0.12);
  --sh-4: 0 34px 70px -24px rgba(23,26,46,0.30);
  --sh-coral: 0 10px 26px -8px rgba(255,106,90,0.50);
  --sh-brand: 0 10px 26px -8px rgba(18,177,131,0.45);

  --maxw: 1180px;
  --gut: clamp(20px, 5vw, 64px);
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 0.001ms !important; animation-iteration-count: 1 !important; transition-duration: 0.001ms !important; }
}

body {
  font-family: var(--sans);
  background: var(--paper);
  color: var(--ink);
  line-height: 1.62;
  font-size: 16.5px;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

/* ---------- type ---------- */
h1, h2, h3, h4 { font-family: var(--serif); font-weight: 600; line-height: 1.06; letter-spacing: -0.02em; color: var(--ink); }
h1 { font-weight: 700; }
p { text-wrap: pretty; }

.eyebrow {
  font-family: var(--mono); font-size: 0.73rem; letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--signal-dim); display: inline-flex; align-items: center; gap: 0.6em; font-weight: 500;
}
.eyebrow::before { content: ""; width: 22px; height: 2px; border-radius: 2px; background: var(--signal); display: inline-block; }
.eyebrow.coral { color: var(--coral-dim); }
.eyebrow.coral::before { background: var(--coral); }
.on-ink .eyebrow { color: #7ee8c4; }
.on-ink .eyebrow::before { background: var(--signal); }

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

/* ---------- layout ---------- */
.wrap { max-width: var(--maxw); margin: 0 auto; padding-left: var(--gut); padding-right: var(--gut); }
section { padding: clamp(60px, 8.5vw, 120px) 0; position: relative; }
.on-ink { background: var(--ink); color: #d7dae8; background-image: radial-gradient(1200px 500px at 15% -10%, rgba(18,177,131,0.16), transparent 60%), radial-gradient(1000px 460px at 100% 0%, rgba(255,106,90,0.12), transparent 55%); }
.on-ink h1, .on-ink h2, .on-ink h3, .on-ink h4 { color: #fff; }
.on-warm { background: var(--paper-warm); }

/* ---------- NAV ---------- */
.nav {
  position: sticky; top: 0; z-index: 60;
  background: rgba(246,248,247,0.72);
  backdrop-filter: saturate(180%) blur(16px);
  -webkit-backdrop-filter: saturate(180%) blur(16px);
  border-bottom: 1px solid transparent; transition: border-color .3s, background .3s;
}
.nav.scrolled { border-bottom-color: var(--line); background: rgba(246,248,247,0.88); }
.nav-inner { display: flex; align-items: center; justify-content: space-between; height: 72px; }
.brand { display: inline-flex; align-items: center; gap: 0.34ch; font-family: var(--serif); font-size: 1.4rem; font-weight: 700; letter-spacing: -0.03em; line-height: 0; }
.brand-logo { height: 40px; width: auto; display: block; }
@media (max-width: 780px){ .brand-logo { height: 34px; } }
.footer-logo { height: 40px; width: auto; display: block; margin-bottom: 16px; }
.brand .mark {
  width: 30px; height: 30px; border-radius: 9px; display: inline-grid; place-items: center; margin-right: 6px;
  background: linear-gradient(135deg, var(--signal) 0%, #17c79a 100%); box-shadow: var(--sh-brand);
}
.brand .mark svg { width: 17px; height: 17px; display: block; }
.nav-links { display: flex; align-items: center; gap: clamp(6px, 1.4vw, 10px); }
.nav-links a:not(.nav-cta) {
  font-size: 0.925rem; font-weight: 500; color: var(--ink-soft); padding: 9px 13px; border-radius: var(--r-sm);
  position: relative; transition: color .2s, background .2s;
}
.nav-links a:not(.nav-cta):hover { color: var(--ink); background: rgba(23,26,46,0.045); }
.nav-links a.here { color: var(--ink); font-weight: 600; }
.nav-links a.here::after { content: ""; position: absolute; left: 13px; right: 13px; bottom: 3px; height: 2px; border-radius: 2px; background: var(--signal); }
.nav-cta {
  margin-left: 8px; font-family: var(--sans); font-weight: 600; font-size: 0.9rem; letter-spacing: -0.01em;
  background: var(--coral); color: #fff; padding: 11px 18px; border-radius: var(--r-pill);
  box-shadow: var(--sh-coral); transition: transform .18s var(--ease), box-shadow .2s, background .2s;
}
.nav-cta:hover { background: var(--coral-dim); transform: translateY(-1px); box-shadow: 0 14px 30px -8px rgba(255,106,90,0.6); }
.nav-cta:active { transform: translateY(0); }
.nav-toggle { display: none; background: none; border: 0; cursor: pointer; padding: 8px; border-radius: 10px; }
.nav-toggle span { display: block; width: 22px; height: 2px; background: var(--ink); border-radius: 2px; transition: .3s var(--ease); }
.nav-toggle span + span { margin-top: 5px; }
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

@media (max-width: 780px) {
  .nav-links {
    position: fixed; inset: 72px 0 auto 0; flex-direction: column; align-items: stretch;
    background: var(--paper); border-bottom: 1px solid var(--line); padding: 12px var(--gut) 22px; gap: 4px;
    box-shadow: var(--sh-3); transform: translateY(-118%); opacity: 0; pointer-events: none;
    transition: transform .34s var(--ease), opacity .3s;
  }
  .nav-links.open { transform: translateY(0); opacity: 1; pointer-events: auto; }
  .nav-links a:not(.nav-cta) { padding: 14px 12px; font-size: 1rem; }
  .nav-links a.here::after { display: none; }
  .nav-links .nav-cta { margin: 10px 0 0; text-align: center; padding: 14px; }
  .nav-toggle { display: block; }
}

/* ---------- BUTTONS (the detail matters) ---------- */
.btn {
  --btn-shine: rgba(255,255,255,0.28);
  display: inline-flex; align-items: center; justify-content: center; gap: 0.6ch;
  font-family: var(--sans); font-weight: 600; font-size: 0.95rem; letter-spacing: -0.01em;
  padding: 14px 24px; border-radius: var(--r-pill); cursor: pointer; border: 1.5px solid transparent;
  position: relative; overflow: hidden; isolation: isolate; white-space: nowrap;
  transition: transform .18s var(--ease), box-shadow .24s var(--ease), background .2s, color .2s, border-color .2s;
}
.btn::before { /* diagonal shine sweep */
  content: ""; position: absolute; inset: 0; z-index: -1; transform: translateX(-120%) skewX(-18deg);
  background: linear-gradient(90deg, transparent, var(--btn-shine), transparent); transition: transform .6s var(--ease);
}
.btn:hover::before { transform: translateX(120%) skewX(-18deg); }
.btn .arw { transition: transform .22s var(--ease); }
.btn:hover .arw { transform: translateX(4px); }
.btn:active { transform: translateY(1px) scale(0.992); }
.btn:focus-visible { outline: 3px solid color-mix(in srgb, var(--signal) 55%, white); outline-offset: 2px; }

.btn-solid { background: var(--coral); color: #fff; box-shadow: var(--sh-coral); }
.btn-solid:hover { background: var(--coral-dim); transform: translateY(-2px); box-shadow: 0 16px 34px -8px rgba(255,106,90,0.62); }
.btn-solid:active { transform: translateY(0) scale(0.992); }
.btn-solid:focus-visible { outline-color: color-mix(in srgb, var(--coral) 55%, white); }

.btn-brand { background: var(--signal); color: #fff; box-shadow: var(--sh-brand); }
.btn-brand:hover { background: var(--signal-dim); transform: translateY(-2px); box-shadow: 0 16px 34px -8px rgba(18,177,131,0.58); }

.btn-ghost { background: transparent; border-color: color-mix(in srgb, var(--ink) 22%, transparent); color: var(--ink); --btn-shine: rgba(23,26,46,0.06); }
.btn-ghost:hover { background: rgba(23,26,46,0.045); border-color: color-mix(in srgb, var(--ink) 40%, transparent); transform: translateY(-1px); }
.on-ink .btn-ghost { border-color: rgba(255,255,255,0.3); color: #fff; --btn-shine: rgba(255,255,255,0.16); }
.on-ink .btn-ghost:hover { background: rgba(255,255,255,0.08); border-color: rgba(255,255,255,0.55); }

.btn-soft { background: var(--coral-soft); color: var(--coral-dim); --btn-shine: rgba(255,106,90,0.14); }
.btn-soft:hover { background: #ffe3dd; transform: translateY(-1px); }
.btn-soft.brand { background: var(--signal-soft); color: var(--signal-dim); }
.btn-soft.brand:hover { background: #d8f1e7; }

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

/* ---------- pill / tag ---------- */
.pill {
  display: inline-flex; align-items: center; gap: 0.5ch; font-family: var(--mono); font-size: 0.72rem;
  letter-spacing: 0.06em; text-transform: uppercase; padding: 6px 12px; border-radius: var(--r-pill);
  background: var(--signal-soft); color: var(--signal-dim); border: 1px solid var(--signal-100); font-weight: 500;
}
.pill.coral { background: var(--coral-soft); color: var(--coral-dim); border-color: var(--coral-100); }
.pill .dot { width: 6px; height: 6px; border-radius: 50%; background: currentColor; }

/* ---------- HERO (light, product-style) ---------- */
.hero-light { position: relative; overflow: hidden; padding: clamp(40px,7vw,84px) 0 clamp(60px,9vw,110px); }
.hero-light::before, .hero-light::after { content: ""; position: absolute; border-radius: 50%; filter: blur(70px); z-index: 0; }
.hero-light::before { width: 520px; height: 520px; top: -180px; left: -120px; background: radial-gradient(circle, rgba(18,177,131,0.18), transparent 70%); }
.hero-light::after { width: 480px; height: 480px; top: -120px; right: -140px; background: radial-gradient(circle, rgba(255,106,90,0.16), transparent 70%); }
.hero-grid { position: relative; z-index: 2; display: grid; grid-template-columns: 1.02fr 0.98fr; gap: clamp(28px, 5vw, 70px); align-items: center; }
@media (max-width: 900px) { .hero-grid { grid-template-columns: 1fr; gap: 40px; } }
.hero-copy h1 { font-size: clamp(2.5rem, 6vw, 4.4rem); letter-spacing: -0.035em; }
.hero-copy h1 .grad {
  background: linear-gradient(100deg, var(--signal) 0%, #16c79a 45%, var(--coral) 115%);
  -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; color: transparent;
}
.hero-copy .lede { font-size: clamp(1.06rem, 1.8vw, 1.3rem); color: var(--ink-soft); max-width: 44ch; margin-top: 22px; }
.hero-copy .cta-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 34px; }
.hero-trust { display: flex; flex-wrap: wrap; gap: 18px; margin-top: 30px; }
.hero-trust span { display: inline-flex; align-items: center; gap: 7px; font-size: 0.9rem; color: var(--ink-soft); font-weight: 500; }
.hero-trust svg { width: 17px; height: 17px; color: var(--signal); flex: none; }

/* floating dashboard card — the signature */
.dash {
  position: relative; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-xl);
  box-shadow: var(--sh-4); padding: 22px 22px 20px; z-index: 2;
}
.dash-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 6px; }
.dash-head .t { font-family: var(--sans); font-weight: 600; font-size: 0.98rem; }
.dash-head .t small { display: block; font-family: var(--mono); font-size: 0.68rem; color: var(--muted); font-weight: 400; letter-spacing: 0.04em; text-transform: uppercase; margin-top: 2px; }
.dash-live { display: inline-flex; align-items: center; gap: 6px; font-family: var(--mono); font-size: 0.66rem; color: var(--signal-dim); text-transform: uppercase; letter-spacing: 0.08em; }
.dash-live .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--signal); box-shadow: 0 0 0 0 rgba(18,177,131,0.5); animation: pulse 2s infinite; }
@keyframes pulse { 0%{box-shadow:0 0 0 0 rgba(18,177,131,0.5);} 70%{box-shadow:0 0 0 7px rgba(18,177,131,0);} 100%{box-shadow:0 0 0 0 rgba(18,177,131,0);} }

.dash-kpis { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin: 14px 0 4px; }
.kpi { background: var(--paper); border: 1px solid var(--line-2); border-radius: var(--r); padding: 12px 14px; }
.kpi .l { font-family: var(--mono); font-size: 0.63rem; letter-spacing: 0.05em; text-transform: uppercase; color: var(--muted); }
.kpi .v { font-family: var(--serif); font-weight: 700; font-size: 1.5rem; letter-spacing: -0.02em; margin-top: 3px; }
.kpi .v.up { color: var(--signal-dim); }
.kpi .chg { font-size: 0.72rem; font-weight: 600; color: var(--signal-dim); margin-left: 6px; }

.chart-wrap { margin-top: 6px; background: var(--paper); border: 1px solid var(--line-2); border-radius: var(--r); padding: 14px 12px 10px; }
.plot { width: 100%; height: 168px; display: block; }
.plot .grid line { stroke: var(--line); stroke-width: 1; }
.plot .axl { font-family: var(--mono); font-size: 9px; fill: var(--muted); letter-spacing: 0.06em; }
.plot .hist { fill: none; stroke: #b9bdd0; stroke-width: 2.5; stroke-linecap: round; stroke-linejoin: round; }
.plot .proj { fill: none; stroke: var(--signal); stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; transition: d .6s var(--ease); }
.plot .band { fill: var(--signal); opacity: 0.10; transition: d .6s var(--ease); }
.plot .end { fill: var(--signal); transition: cy .6s var(--ease), cx .6s var(--ease); }
.plot .endring { fill: none; stroke: var(--signal); stroke-width: 2; opacity: 0.35; transition: cy .6s var(--ease), cx .6s var(--ease); }
.plot .split { stroke: var(--line); stroke-width: 1; stroke-dasharray: 3 3; }

.scenarios { display: flex; gap: 6px; margin-top: 12px; }
.scn {
  flex: 1; font-family: var(--sans); font-weight: 600; font-size: 0.8rem; padding: 9px 6px; border-radius: 10px;
  border: 1.5px solid var(--line); background: var(--surface); color: var(--ink-soft); cursor: pointer;
  transition: all .2s var(--ease);
}
.scn:hover { border-color: var(--signal-100); color: var(--ink); }
.scn.active { background: var(--signal); border-color: var(--signal); color: #fff; box-shadow: var(--sh-brand); }
.scn:focus-visible { outline: 3px solid color-mix(in srgb, var(--signal) 55%, white); outline-offset: 2px; }

/* floating chips around the card */
.dash-float { position: absolute; z-index: 3; background: var(--surface); border: 1px solid var(--line); border-radius: 14px; box-shadow: var(--sh-3); padding: 10px 14px; display: flex; align-items: center; gap: 10px; }
.dash-float .ic { width: 30px; height: 30px; border-radius: 9px; display: grid; place-items: center; flex: none; }
.dash-float .ic.g { background: var(--signal-soft); color: var(--signal-dim); }
.dash-float .ic.c { background: var(--coral-soft); color: var(--coral-dim); }
.dash-float svg { width: 16px; height: 16px; }
.dash-float .txt b { display: block; font-size: 0.86rem; font-weight: 700; line-height: 1.1; }
.dash-float .txt small { font-size: 0.7rem; color: var(--muted); }
.float-a { top: -22px; right: -14px; animation: floaty 5s ease-in-out infinite; }
.float-b { bottom: 34px; left: -26px; animation: floaty 6s ease-in-out infinite 0.6s; }
@keyframes floaty { 0%,100%{ transform: translateY(0); } 50%{ transform: translateY(-9px); } }
@media (max-width: 520px) { .dash-float { display: none; } }

/* ---------- section head ---------- */
.head { max-width: 60ch; }
.head.center { margin-inline: auto; text-align: center; }
.head h2 { font-size: clamp(1.9rem, 4vw, 3rem); margin-top: 16px; letter-spacing: -0.03em; }
.head p { color: var(--ink-soft); font-size: 1.1rem; margin-top: 16px; }
.on-ink .head p { color: #b7bcd4; }

/* ---------- credibility band (count-up) ---------- */
.band-stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--r-lg); overflow: hidden; }
@media (max-width: 720px) { .band-stats { grid-template-columns: 1fr 1fr; } }
.bstat { background: var(--surface); padding: 26px 22px; }
.bstat .n { font-family: var(--serif); font-weight: 700; font-size: clamp(1.7rem, 3.4vw, 2.4rem); letter-spacing: -0.03em; color: var(--ink); }
.bstat .n .u { color: var(--signal); }
.bstat .l { font-size: 0.9rem; color: var(--ink-soft); margin-top: 6px; }

/* ---------- problem cards ---------- */
.probs2 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-top: 52px; }
@media (max-width: 820px){ .probs2 { grid-template-columns: 1fr; } }
.pcard { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 28px 26px; transition: transform .26s var(--ease), box-shadow .26s var(--ease), border-color .26s; }
.pcard:hover { transform: translateY(-5px); box-shadow: var(--sh-3); border-color: var(--coral-100); }
.pcard .q { display: inline-grid; place-items: center; width: 42px; height: 42px; border-radius: 12px; background: var(--coral-soft); color: var(--coral-dim); margin-bottom: 16px; }
.pcard .q svg { width: 21px; height: 21px; }
.pcard h3 { font-size: 1.32rem; margin-bottom: 9px; }
.pcard p { color: var(--ink-soft); font-size: 0.98rem; }

/* ---------- service cards ---------- */
.svc-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px,1fr)); gap: 18px; margin-top: 52px; }
.svc {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 30px 28px 32px;
  position: relative; overflow: hidden; transition: transform .26s var(--ease), box-shadow .26s var(--ease), border-color .26s;
}
.svc::after { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 3px; background: linear-gradient(90deg, var(--signal), #16c79a); transform: scaleX(0); transform-origin: left; transition: transform .3s var(--ease); }
.svc:hover { transform: translateY(-6px); box-shadow: var(--sh-3); border-color: var(--signal-100); }
.svc:hover::after { transform: scaleX(1); }
.svc .ic { width: 52px; height: 52px; border-radius: 15px; display: grid; place-items: center; background: var(--signal-soft); color: var(--signal-dim); margin-bottom: 18px; }
.svc .ic svg { width: 26px; height: 26px; }
.svc .tag { font-family: var(--mono); font-size: 0.66rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted); }
.svc h3 { font-size: 1.42rem; margin: 8px 0 11px; }
.svc p { color: var(--ink-soft); font-size: 0.98rem; }
.svc .list { list-style: none; margin-top: 18px; display: grid; gap: 10px; }
.svc .list li { font-size: 0.93rem; color: var(--ink-soft); padding-left: 28px; position: relative; }
.svc .list li::before {
  content: ""; position: absolute; left: 0; top: 1px; width: 19px; height: 19px; border-radius: 6px;
  background: var(--signal-soft) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%230e9670' stroke-width='3.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E") center/12px no-repeat;
}
.on-ink .svc { background: rgba(255,255,255,0.04); border-color: var(--line-dark); }
.on-ink .svc p { color: #b7bcd4; }
.on-ink .svc .tag { color: #8990b3; }
.on-ink .svc .list li { color: #b7bcd4; }

/* ---------- interactive "which sounds like you" ---------- */
.picker { margin-top: 48px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-xl); box-shadow: var(--sh-2); overflow: hidden; }
.picker-tabs { display: grid; grid-template-columns: repeat(3,1fr); border-bottom: 1px solid var(--line); }
.ptab { font-family: var(--sans); font-weight: 600; font-size: 0.94rem; padding: 18px 14px; background: var(--paper); color: var(--ink-soft); border: 0; cursor: pointer; border-right: 1px solid var(--line); transition: all .2s; text-align: left; display: flex; align-items: center; gap: 10px; }
.ptab:last-child { border-right: 0; }
.ptab .pn { font-family: var(--mono); font-size: 0.8rem; color: var(--muted); }
.ptab:hover { background: #fff; color: var(--ink); }
.ptab.active { background: #fff; color: var(--ink); box-shadow: inset 0 -3px 0 var(--signal); }
.ptab.active .pn { color: var(--signal-dim); }
.picker-body { padding: clamp(24px, 4vw, 40px); display: grid; grid-template-columns: 1fr 1fr; gap: clamp(20px,4vw,44px); align-items: center; }
@media (max-width: 720px){ .picker-body { grid-template-columns: 1fr; } .picker-tabs { grid-template-columns: 1fr; } .ptab { border-right: 0; border-bottom: 1px solid var(--line); } }
.picker-body .pane-txt h3 { font-size: 1.5rem; margin-bottom: 10px; }
.picker-body .pane-txt p { color: var(--ink-soft); }
.picker-body .pane-txt .pane-cta { margin-top: 20px; }
.pane-visual { background: var(--paper); border: 1px solid var(--line-2); border-radius: var(--r-lg); padding: 24px; min-height: 190px; display: grid; place-items: center; }
.pane { display: none; }
.pane.show { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(20px,4vw,44px); align-items: center; animation: fadeUp .4s var(--ease); }
@media (max-width: 720px){ .pane.show { grid-template-columns: 1fr; } }
@keyframes fadeUp { from { opacity: 0; transform: translateY(10px);} to { opacity: 1; transform: none; } }

/* ---------- principle + metrics ---------- */
.pull { font-family: var(--serif); font-weight: 600; font-size: clamp(1.7rem,3.6vw,2.7rem); line-height: 1.22; letter-spacing: -0.03em; max-width: 20ch; }
.pull .u { color: var(--signal); }
.pull .uc { color: var(--coral); }
.on-ink .pull { color: #fff; }

/* ---------- fit cards ---------- */
.fit-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px,1fr)); gap: 18px; margin-top: 48px; }
.fit { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 28px 26px; position: relative; transition: transform .24s var(--ease), box-shadow .24s; }
.fit:hover { transform: translateY(-4px); box-shadow: var(--sh-2); }
.fit .fic { width: 44px; height: 44px; border-radius: 13px; display: grid; place-items: center; background: var(--coral-soft); color: var(--coral-dim); margin-bottom: 15px; }
.fit .fic svg { width: 22px; height: 22px; }
.fit h3 { font-size: 1.24rem; margin-bottom: 8px; }
.fit p { color: var(--ink-soft); font-size: 0.95rem; }

/* ---------- big CTA card ---------- */
.cta-card {
  position: relative; overflow: hidden; border-radius: var(--r-xl); padding: clamp(40px, 6vw, 72px);
  background: var(--ink); color: #fff; text-align: center;
  background-image: radial-gradient(700px 320px at 20% 0%, rgba(18,177,131,0.28), transparent 60%), radial-gradient(680px 320px at 100% 100%, rgba(255,106,90,0.24), transparent 55%);
  box-shadow: var(--sh-3);
}
.cta-card h2 { color: #fff; font-size: clamp(2rem, 4.4vw, 3.1rem); letter-spacing: -0.03em; max-width: 22ch; margin: 14px auto 16px; }
.cta-card p { color: #c3c8e0; max-width: 50ch; margin: 0 auto 30px; font-size: 1.08rem; }
.cta-card .cta-row { display: flex; justify-content: center; flex-wrap: wrap; gap: 12px; }
.cta-card .eyebrow { justify-content: center; }
.cta-card .subnote { margin-top: 18px; font-family: var(--mono); font-size: 0.75rem; color: #8f96bd; letter-spacing: 0.04em; }

/* ---------- process steps ---------- */
.steps { margin-top: 54px; display: grid; gap: 16px; }
.pstep { display: grid; grid-template-columns: 64px 1fr; gap: clamp(16px,3vw,32px); align-items: start; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 26px 28px; transition: transform .24s var(--ease), box-shadow .24s, border-color .24s; }
.pstep:hover { transform: translateY(-3px); box-shadow: var(--sh-2); border-color: var(--signal-100); }
.pstep .mk { width: 52px; height: 52px; border-radius: 15px; display: grid; place-items: center; font-family: var(--serif); font-weight: 700; font-size: 1.15rem; color: #fff; background: linear-gradient(135deg, var(--signal), #16c79a); box-shadow: var(--sh-brand); }
.pstep.free .mk { background: linear-gradient(135deg, var(--coral), #ff8b7d); box-shadow: var(--sh-coral); }
.pstep h3 { font-size: 1.4rem; margin-bottom: 8px; }
.pstep p { color: var(--ink-soft); max-width: 60ch; }
.pstep .dur { display: inline-flex; align-items: center; gap: 7px; font-family: var(--mono); font-size: 0.72rem; letter-spacing: 0.05em; text-transform: uppercase; color: var(--signal-dim); margin-bottom: 8px; }
.pstep.free .dur { color: var(--coral-dim); }

/* ---------- founder / about ---------- */
.founder { display: grid; grid-template-columns: 0.82fr 1.18fr; gap: clamp(28px,6vw,64px); align-items: start; margin-top: 46px; }
@media (max-width: 800px){ .founder { grid-template-columns: 1fr; } }
.portrait { border-radius: var(--r-xl); overflow: hidden; background: var(--surface); border: 1px solid var(--line); box-shadow: var(--sh-2); }
.portrait .frame { aspect-ratio: 4/5; display: grid; place-items: center; position: relative; background: linear-gradient(150deg, #eafaf3 0%, #e7f0fb 55%, #ffeee9 100%); }
.portrait .frame .initials { font-family: var(--serif); font-weight: 700; font-size: clamp(3rem,7vw,4.6rem); color: var(--ink); letter-spacing: -0.04em; }
.portrait .frame img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center 22%; display: block; }
.portrait:has(img) .frame::after { content: ""; position: absolute; inset: auto 0 0 0; height: 84px; background: linear-gradient(to top, rgba(23,26,46,0.55), transparent); z-index: 1; }
.portrait:has(img) .frame .mono { color: rgba(255,255,255,0.82); }
.portrait .frame .mono { z-index: 2; }
.portrait .frame .mono { position: absolute; bottom: 14px; left: 16px; font-family: var(--mono); font-size: 0.68rem; color: var(--muted); letter-spacing: 0.08em; }
.portrait .cap { padding: 16px 20px; border-top: 1px solid var(--line); display: flex; align-items: center; justify-content: space-between; }
.portrait .cap .nm { font-family: var(--serif); font-weight: 700; font-size: 1.14rem; }
.portrait .cap .rl { font-family: var(--mono); font-size: 0.7rem; color: var(--muted); letter-spacing: 0.05em; text-transform: uppercase; margin-top: 3px; }
.bio .lead { font-family: var(--serif); font-weight: 600; font-size: clamp(1.35rem,2.6vw,1.8rem); line-height: 1.28; letter-spacing: -0.02em; color: var(--ink); }
.bio p { color: var(--ink-soft); margin-top: 18px; font-size: 1.05rem; }
.creds { margin-top: 30px; display: grid; gap: 12px; }
.cred { display: grid; grid-template-columns: 132px 1fr; gap: 18px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); padding: 16px 20px; align-items: start; transition: border-color .2s; }
.cred:hover { border-color: var(--signal-100); }
.cred dt { font-family: var(--mono); font-size: 0.72rem; letter-spacing: 0.05em; color: var(--signal-dim); text-transform: uppercase; padding-top: 2px; }
.cred dd { color: var(--ink-soft); font-size: 0.97rem; }
@media (max-width: 520px){ .cred { grid-template-columns: 1fr; gap: 5px; } }

/* ---------- pricing: how-it-works ---------- */
.price-principles { display: grid; grid-template-columns: repeat(4,1fr); gap: 16px; margin-top: 50px; }
@media (max-width: 900px){ .price-principles { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px){ .price-principles { grid-template-columns: 1fr; } }
.pp { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 26px 24px; transition: transform .24s var(--ease), box-shadow .24s; }
.pp:hover { transform: translateY(-4px); box-shadow: var(--sh-2); }
.pp .pic { width: 46px; height: 46px; border-radius: 13px; display: grid; place-items: center; margin-bottom: 15px; background: var(--signal-soft); color: var(--signal-dim); }
.pp:nth-child(even) .pic { background: var(--coral-soft); color: var(--coral-dim); }
.pp .pic svg { width: 23px; height: 23px; }
.pp h3 { font-size: 1.16rem; margin-bottom: 8px; }
.pp p { color: var(--ink-soft); font-size: 0.94rem; }

/* ---------- scope builder ---------- */
.builder { margin-top: 8px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-xl); box-shadow: var(--sh-3); overflow: hidden; }
.builder-grid { display: grid; grid-template-columns: 1.05fr 0.95fr; }
@media (max-width: 860px){ .builder-grid { grid-template-columns: 1fr; } }
.builder-form { padding: clamp(26px,4vw,42px); border-right: 1px solid var(--line); }
@media (max-width: 860px){ .builder-form { border-right: 0; border-bottom: 1px solid var(--line); } }
.bstep-l { font-family: var(--mono); font-size: 0.72rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--signal-dim); margin-bottom: 12px; display: block; }
.bstep-l .n { color: var(--muted); }
.bstep + .bstep { margin-top: 28px; }
.opts { display: flex; flex-wrap: wrap; gap: 9px; }
.opt {
  font-family: var(--sans); font-weight: 600; font-size: 0.9rem; padding: 11px 16px; border-radius: var(--r-pill);
  border: 1.5px solid var(--line); background: var(--surface); color: var(--ink-soft); cursor: pointer;
  transition: all .18s var(--ease);
}
.opt:hover { border-color: var(--signal-100); color: var(--ink); transform: translateY(-1px); }
.opt.sel { background: var(--signal); border-color: var(--signal); color: #fff; box-shadow: var(--sh-brand); }
.opt:focus-visible { outline: 3px solid color-mix(in srgb, var(--signal) 55%, white); outline-offset: 2px; }

.builder-out { padding: clamp(26px,4vw,42px); background: linear-gradient(180deg, var(--paper) 0%, #eef6f2 100%); display: flex; flex-direction: column; }
.builder-out .out-l { font-family: var(--mono); font-size: 0.72rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); }
.builder-out h3 { font-size: 1.4rem; margin: 8px 0 4px; }
.out-fit { font-size: 0.95rem; color: var(--ink-soft); margin-bottom: 16px; }
.out-list { list-style: none; display: grid; gap: 10px; margin-bottom: 20px; }
.out-list li { font-size: 0.94rem; color: var(--ink); padding-left: 28px; position: relative; }
.out-list li::before { content: ""; position: absolute; left: 0; top: 1px; width: 19px; height: 19px; border-radius: 6px; background: var(--signal) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E") center/12px no-repeat; }
.out-price { margin-top: auto; padding: 16px; border: 1px dashed var(--signal-100); border-radius: var(--r); background: rgba(255,255,255,0.6); font-size: 0.9rem; color: var(--ink-soft); }
.out-price b { color: var(--ink); }
.out-cta { margin-top: 16px; }

/* ---------- accordion / FAQ ---------- */
.faq { margin-top: 40px; display: grid; gap: 12px; max-width: 820px; }
.acc { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; transition: border-color .2s, box-shadow .2s; }
.acc.open { border-color: var(--signal-100); box-shadow: var(--sh-2); }
.acc-q { width: 100%; text-align: left; background: none; border: 0; cursor: pointer; padding: 20px 22px; display: flex; align-items: center; justify-content: space-between; gap: 16px; font-family: var(--serif); font-weight: 600; font-size: 1.1rem; color: var(--ink); }
.acc-q .ico { flex: none; width: 26px; height: 26px; border-radius: 8px; background: var(--signal-soft); color: var(--signal-dim); display: grid; place-items: center; transition: transform .3s var(--ease), background .2s; }
.acc-q .ico svg { width: 15px; height: 15px; }
.acc.open .acc-q .ico { transform: rotate(45deg); background: var(--signal); color: #fff; }
.acc-a { max-height: 0; overflow: hidden; transition: max-height .34s var(--ease); }
.acc-a .inner { padding: 0 22px 20px; color: var(--ink-soft); font-size: 0.98rem; }

/* ---------- contact ---------- */
.contact-grid { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: clamp(28px,6vw,64px); margin-top: 46px; }
@media (max-width: 780px){ .contact-grid { grid-template-columns: 1fr; } }
.form-card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-xl); box-shadow: var(--sh-2); padding: clamp(24px,4vw,40px); }
.field { margin-bottom: 18px; }
.field label { font-family: var(--sans); font-weight: 600; font-size: 0.86rem; color: var(--ink); display: block; margin-bottom: 7px; }
.field input, .field select, .field textarea {
  width: 100%; font-family: var(--sans); font-size: 1rem; padding: 13px 15px; border: 1.5px solid var(--line);
  border-radius: var(--r-sm); background: var(--paper); color: var(--ink); transition: border-color .18s, box-shadow .18s, background .18s;
}
.field input::placeholder, .field textarea::placeholder { color: #a7abbf; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--signal); background: #fff; box-shadow: 0 0 0 4px rgba(18,177,131,0.12); }
.field textarea { resize: vertical; min-height: 118px; }
.form-note { font-size: 0.82rem; color: var(--muted); margin-top: 10px; }
.ok-msg { display: none; padding: 15px 18px; border: 1px solid var(--signal-100); border-radius: var(--r-sm); background: var(--signal-soft); color: var(--signal-dim); font-size: 0.95rem; margin-bottom: 20px; font-weight: 500; }
.ok-msg.show { display: block; animation: fadeUp .4s var(--ease); }
.contact-aside .arow { padding: 18px 0; border-bottom: 1px solid var(--line); }
.contact-aside .arow:first-child { padding-top: 0; }
.contact-aside .k { font-family: var(--mono); font-size: 0.7rem; letter-spacing: 0.06em; text-transform: uppercase; color: var(--muted); }
.contact-aside .v { margin-top: 6px; font-size: 1rem; }
.contact-aside .v a { color: var(--signal-dim); font-weight: 600; }
.aside-card { background: var(--signal-soft); border: 1px solid var(--signal-100); border-radius: var(--r-lg); padding: 22px 24px; margin-bottom: 22px; }
.aside-card h3 { font-size: 1.15rem; margin-bottom: 6px; }
.aside-card p { color: var(--ink-soft); font-size: 0.94rem; }

/* ---------- footer ---------- */
.footer { background: var(--ink); color: #9ba1c2; padding: 66px 0 38px; background-image: radial-gradient(600px 240px at 0% 0%, rgba(18,177,131,0.10), transparent 60%); }
.footer-top { display: grid; grid-template-columns: 1.5fr 1fr 1fr; gap: 40px; padding-bottom: 38px; border-bottom: 1px solid var(--line-dark); }
@media (max-width: 680px){ .footer-top { grid-template-columns: 1fr; gap: 28px; } }
.footer .brand { color: #fff; margin-bottom: 14px; }
.footer p { font-size: 0.94rem; max-width: 40ch; line-height: 1.6; }
.footer h4 { font-family: var(--mono); font-size: 0.72rem; letter-spacing: 0.1em; text-transform: uppercase; color: #737aa0; margin-bottom: 15px; font-weight: 500; }
.footer .fcol a { display: block; font-size: 0.95rem; color: #c3c8e0; padding: 6px 0; transition: color .18s; }
.footer .fcol a:hover { color: var(--signal); }
.footer-bot { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; padding-top: 26px; font-size: 0.8rem; color: #737aa0; }
.footer-bot .disc { max-width: 64ch; line-height: 1.55; }

/* ---------- reveal ---------- */
.reveal { opacity: 0; transform: translateY(22px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.reveal.in { opacity: 1; transform: none; }
.reveal.d1 { transition-delay: .08s; } .reveal.d2 { transition-delay: .16s; } .reveal.d3 { transition-delay: .24s; }
@media (prefers-reduced-motion: reduce){ .reveal { opacity: 1; transform: none; } }

/* ============================================================
   COMPAT LAYER — supports about/services/process/contact
   markup from v1 within the v2 system.
   ============================================================ */

/* v1 dark page hero → adopt as a lighter dark header that fits v2 */
.hero { position: relative; overflow: hidden; background: var(--ink); color: #d7dae8; padding: clamp(64px,10vw,120px) 0 clamp(48px,7vw,84px);
  background-image: radial-gradient(1000px 460px at 12% -10%, rgba(18,177,131,0.18), transparent 60%), radial-gradient(900px 420px at 100% 0%, rgba(255,106,90,0.14), transparent 55%); }
.hero .wrap { position: relative; z-index: 2; }
.hero .eyebrow { color: #7ee8c4; }
.hero .eyebrow::before { background: var(--signal); }
.hero h1 { font-size: clamp(2.5rem, 6vw, 4.2rem); max-width: 18ch; color: #fff; letter-spacing: -0.035em; }
.hero h1 em { font-style: normal; background: linear-gradient(100deg, #2fe3ad, var(--coral)); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; color: transparent; }
.hero .lede { font-size: clamp(1.05rem,1.9vw,1.28rem); color: #b7bcd4; max-width: 46ch; margin-top: 22px; }
.hero .cta-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }

/* v1 .svc internal bits used by services/about */
.svc .num { position: absolute; top: 26px; right: 28px; font-family: var(--mono); font-size: 0.8rem; color: var(--signal); font-weight: 500; }
.svc ul { list-style: none; margin-top: 18px; display: grid; gap: 10px; }
.svc ul li { font-size: 0.93rem; color: var(--ink-soft); padding-left: 28px; position: relative; }
.svc ul li::before {
  content: ""; position: absolute; left: 0; top: 1px; width: 19px; height: 19px; border-radius: 6px;
  background: var(--signal-soft) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%230e9670' stroke-width='3.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E") center/12px no-repeat;
}
.on-ink .svc ul li { color: #b7bcd4; }

/* v1 .metrics / .metric → styled like band-stats on ink */
.metrics { display: grid; grid-template-columns: repeat(3,1fr); gap: 1px; background: var(--line-dark);
  border: 1px solid var(--line-dark); border-radius: var(--r-lg); overflow: hidden; margin-top: 8px; }
.metric { background: rgba(255,255,255,0.03); padding: 30px 26px; }
.metric .n { font-family: var(--serif); font-weight: 700; font-size: clamp(1.8rem,4vw,2.6rem); color: #fff; line-height: 1; letter-spacing: -0.03em; }
.metric .n:first-letter { }
.metric .l { font-family: var(--mono); font-size: 0.72rem; letter-spacing: 0.05em; color: #8f96bd; margin-top: 12px; text-transform: uppercase; }
@media (max-width: 640px){ .metrics { grid-template-columns: 1fr; } }
/* make the metric number green accent when it's the emerald-styled ones */
.metric .n { color: #fff; }

/* v1 .step/.steps → map onto pstep look */
.steps { margin-top: 54px; }
.step { display: grid; grid-template-columns: 64px minmax(0,1fr); gap: clamp(16px,3vw,32px); padding: 0 0 16px; position: relative; }
.step { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 26px 28px; margin-bottom: 16px; align-items: start; transition: transform .24s var(--ease), box-shadow .24s, border-color .24s; }
.step:hover { transform: translateY(-3px); box-shadow: var(--sh-2); border-color: var(--signal-100); }
.step:not(:last-child)::before { display: none; }
.on-ink .step { background: rgba(255,255,255,0.04); border-color: var(--line-dark); }
.step .mk { width: 52px; height: 52px; border-radius: 15px; border: 0; display: grid; place-items: center;
  font-family: var(--serif); font-weight: 700; font-size: 1.15rem; color: #fff;
  background: linear-gradient(135deg, var(--signal), #16c79a); box-shadow: var(--sh-brand); }
.on-ink .step .mk { background: linear-gradient(135deg, var(--signal), #16c79a); }
.step h3 { font-size: 1.4rem; margin-bottom: 8px; }
.step p { color: var(--ink-soft); max-width: 60ch; }
.on-ink .step p { color: #b7bcd4; }
.step .dur { display: inline-flex; align-items: center; font-family: var(--mono); font-size: 0.72rem; letter-spacing: 0.05em; color: var(--signal-dim); text-transform: uppercase; margin-bottom: 8px; }
/* first step highlighted as the free one */
.step:first-child .mk { background: linear-gradient(135deg, var(--coral), #ff8b7d); box-shadow: var(--sh-coral); }
.step:first-child .dur { color: var(--coral-dim); }

/* v1 .cta-band → render as the v2 cta-card automatically */
.cta-band { padding: clamp(60px,8.5vw,120px) 0; }
.cta-band .wrap { position: relative; z-index: 2; }
.cta-band.on-ink { background: transparent; background-image: none; }
.cta-band > .wrap {
  border-radius: var(--r-xl); padding: clamp(40px,6vw,72px); text-align: center; color: #fff; position: relative; overflow: hidden;
  background: var(--ink);
  background-image: radial-gradient(700px 320px at 20% 0%, rgba(18,177,131,0.28), transparent 60%), radial-gradient(680px 320px at 100% 100%, rgba(255,106,90,0.24), transparent 55%);
  box-shadow: var(--sh-3); max-width: var(--maxw); margin: 0 auto;
}
.cta-band h2 { color: #fff; font-size: clamp(2rem,4.4vw,3.1rem); letter-spacing: -0.03em; max-width: 22ch; margin: 14px auto 16px; }
.cta-band p { color: #c3c8e0; max-width: 50ch; margin: 0 auto 30px; font-size: 1.08rem; }
.cta-band .cta-row { display: flex; justify-content: center; flex-wrap: wrap; gap: 12px; }
.cta-band .eyebrow { justify-content: center; color: #7ee8c4; }
.cta-band .eyebrow::before { background: var(--signal); }

/* v1 pull on ink uses --paper color; ensure readable */
.pull em { font-style: normal; }

/* contact aside legacy rows */
.contact-aside { }
.contact-aside .row { padding: 18px 0; border-bottom: 1px solid var(--line); }
.contact-aside .row:first-of-type { padding-top: 0; }
.contact-aside .k { font-family: var(--mono); font-size: 0.7rem; letter-spacing: 0.06em; text-transform: uppercase; color: var(--muted); }
.contact-aside .v { margin-top: 6px; font-size: 1rem; }
.contact-aside .v a { color: var(--signal-dim); font-weight: 600; }
.contact-aside h3 { font-size: 1.2rem; margin-bottom: 6px; }

/* legacy form wrapper (contact used a bare form, give it a card) */
#contact-form { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-xl); box-shadow: var(--sh-2); padding: clamp(24px,4vw,36px); }
