/* ==========================================================================
   soaWhat — site styles
   Paper / ink / signal-vermilion. Ledger hairlines, mono for numbers & data.
   ========================================================================== */

:root {
  --paper: #f4f1ea;
  --paper-2: #ebe6da;
  --paper-3: #e2dccd;
  --card: #fffdf8;
  --ink: #14211c;
  --ink-2: #33403a;
  --muted: #69736d;
  --line: #d9d2c3;
  --line-soft: #e6e0d3;

  --deep: #12201b;
  --deep-2: #1b2b25;
  --on-deep: #ece7dc;
  --on-deep-muted: #a5ada6;
  --line-deep: rgba(236, 231, 220, .12);

  --accent: #e0542b;
  --accent-ink: #c2441e;
  --accent-soft: #f7ddd2;
  --sage: #3c6a5a;
  --sage-soft: #dde8e1;
  --ok: #2f8a58;
  --amber: #c98a12;

  --font-display: "Bricolage Grotesque", "Instrument Sans", system-ui, sans-serif;
  --font-body: "Instrument Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-mono: "IBM Plex Mono", ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;

  --radius-sm: 6px;
  --radius: 12px;
  --radius-lg: 18px;
  --shadow: 0 1px 0 rgba(20, 33, 28, .04), 0 12px 32px -18px rgba(20, 33, 28, .28);
  --shadow-lg: 0 2px 0 rgba(20, 33, 28, .04), 0 30px 60px -28px rgba(20, 33, 28, .45);

  --container: 1200px;
  --gutter: 24px;
  --header-h: 74px;
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); }
body { margin: 0; font-family: var(--font-body); font-size: 17px; line-height: 1.62; color: var(--ink-2); background: var(--paper); -webkit-font-smoothing: antialiased; overflow-x: hidden; }
img, svg { display: block; max-width: 100%; }
a { color: var(--ink); text-decoration-color: var(--accent); text-underline-offset: 3px; }
a:hover { color: var(--accent-ink); }
h1, h2, h3, h4, h5, h6 { font-family: var(--font-display); color: var(--ink); line-height: 1.1; letter-spacing: -0.02em; margin: 0 0 .5em; font-weight: 700; }
h1 { font-size: clamp(2.6rem, 5.4vw, 4.6rem); font-weight: 800; letter-spacing: -0.03em; line-height: 1.02; }
h2 { font-size: clamp(2rem, 3.8vw, 3.1rem); font-weight: 800; letter-spacing: -0.035em; }
h3 { font-size: 1.32rem; }
h4 { font-size: 1.12rem; }
p { margin: 0 0 1em; }
ul, ol { margin: 0; padding: 0; }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; border-radius: 4px; }
.skip-link { position: absolute; left: 16px; top: -60px; z-index: 1000; background: var(--ink); color: var(--paper); padding: 10px 16px; border-radius: 8px; }
.skip-link:focus { top: 12px; color: var(--paper); }
.container { width: 100%; max-width: calc(var(--container) + var(--gutter) * 2); margin: 0 auto; padding: 0 var(--gutter); }
.section { padding: clamp(72px, 10vw, 128px) 0; position: relative; }
.section-sm { padding: clamp(48px, 6vw, 80px) 0; }
.bg-2 { background: var(--paper-2); }
.bg-card { background: var(--card); }
.deep { background: var(--deep); color: var(--on-deep-muted); }
.deep h1, .deep h2, .deep h3, .deep h4, .deep h5, .deep h6 { color: var(--on-deep); }
.mono { font-family: var(--font-mono); }
.icon { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; flex: none; }
.icon-sm { width: 18px; height: 18px; }
.icon-xs { width: 15px; height: 15px; }
.rule-top { border-top: 1px solid var(--line); }

/* ledger paper texture */
.ledger { position: relative; isolation: isolate; }
.ledger::before {
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background-image: linear-gradient(var(--line-soft) 1px, transparent 1px);
  background-size: 100% 36px;
  -webkit-mask-image: linear-gradient(180deg, transparent, #000 18%, #000 70%, transparent);
  mask-image: linear-gradient(180deg, transparent, #000 18%, #000 70%, transparent);
  opacity: .7;
}

/* ---------- Type helpers ---------- */
.kicker { display: inline-flex; align-items: center; gap: 10px; font-family: var(--font-mono); font-size: .78rem; font-weight: 500; letter-spacing: .08em; text-transform: uppercase; color: var(--accent-ink); margin-bottom: 20px; }
.kicker b { font-weight: 500; color: var(--muted); }
.kicker::after { content: ""; width: 40px; height: 1px; background: currentColor; opacity: .5; }
.deep .kicker { color: #f08a68; }
.deep .kicker b { color: var(--on-deep-muted); }
.lead { font-size: clamp(1.08rem, 1.5vw, 1.24rem); line-height: 1.6; color: var(--ink-2); }
.deep .lead { color: var(--on-deep-muted); }
.muted { color: var(--muted); }
.mark { color: var(--ink); background: linear-gradient(transparent 62%, var(--accent-soft) 62%, var(--accent-soft) 92%, transparent 92%); padding: 0 .06em; }
.accent-text { color: var(--accent); }
.section-head { max-width: 780px; margin-bottom: clamp(40px, 6vw, 64px); }
.section-head p { margin: 0; }
.section-head.center { text-align: center; margin-left: auto; margin-right: auto; }
.section-head.center .kicker::before { content: ""; width: 40px; height: 1px; background: currentColor; opacity: .5; }
.split-head { display: grid; grid-template-columns: 1fr 1fr; gap: 24px 64px; align-items: end; margin-bottom: clamp(40px, 6vw, 64px); }
.split-head h2 { margin: 0; }
.split-head p { margin: 0; }

/* ---------- Buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 52px; padding: 0 24px; border-radius: 10px; border: 1.5px solid transparent; font-family: var(--font-body); font-weight: 600; font-size: 1rem; text-decoration: none; cursor: pointer; white-space: nowrap; transition: background-color .2s ease, color .2s ease, border-color .2s ease, transform .2s ease, box-shadow .2s ease; }
.btn .icon { width: 18px; height: 18px; transition: transform .2s ease; }
.btn:hover .icon-arrow { transform: translateX(3px); }
.btn-accent { background: var(--accent); color: #fff; box-shadow: 0 1px 0 rgba(0,0,0,.08), 0 10px 22px -12px rgba(224, 84, 43, .8); }
.btn-accent:hover { background: var(--accent-ink); color: #fff; transform: translateY(-1px); }
.btn-ink { background: var(--ink); color: var(--paper); }
.btn-ink:hover { background: #000; color: var(--paper); transform: translateY(-1px); }
.btn-line { background: transparent; color: var(--ink); border-color: var(--ink); }
.btn-line:hover { background: var(--ink); color: var(--paper); }
.deep .btn-line { color: var(--on-deep); border-color: rgba(236, 231, 220, .4); }
.deep .btn-line:hover { background: var(--on-deep); color: var(--deep); border-color: var(--on-deep); }
.btn-paper { background: var(--paper); color: var(--ink); }
.btn-paper:hover { background: #fff; color: var(--ink); }
.btn-sm { min-height: 42px; padding: 0 18px; font-size: .94rem; border-radius: 9px; }
.btn-block { width: 100%; }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; }
.link-arrow { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; text-decoration: none; color: var(--ink); }
.link-arrow .icon { width: 17px; height: 17px; color: var(--accent); transition: transform .2s ease; }
.link-arrow:hover .icon { transform: translateX(4px); }

/* ---------- Header ---------- */
.site-header { position: sticky; top: 0; z-index: 100; height: var(--header-h); background: rgba(244, 241, 234, .86); -webkit-backdrop-filter: saturate(140%) blur(12px); backdrop-filter: saturate(140%) blur(12px); border-bottom: 1px solid transparent; transition: border-color .2s ease, background-color .2s ease; }
.site-header.is-scrolled { border-bottom-color: var(--line); }
.header-inner { height: 100%; display: flex; align-items: center; gap: 28px; }
.brand { display: inline-flex; align-items: center; gap: 10px; font-family: var(--font-display); font-weight: 700; font-size: 1.55rem; letter-spacing: -0.04em; color: var(--ink); text-decoration: none; margin-right: auto; }
.brand:hover { color: var(--ink); }
.brand-mark { width: 36px; height: 36px; }
.brand b { font-weight: 800; color: var(--accent); }
.nav { display: flex; align-items: center; gap: 2px; }
.nav > a { position: relative; display: inline-flex; align-items: center; height: 40px; padding: 0 14px; border-radius: 8px; font-weight: 500; font-size: .98rem; line-height: 1; color: var(--ink-2); text-decoration: none; transition: color .2s ease, background-color .2s ease; }
.nav > a:hover { color: var(--ink); background: var(--paper-2); }
.nav > a.is-active { color: var(--ink); }
.nav > a.is-active::after { content: ""; position: absolute; left: 14px; right: 14px; bottom: 4px; height: 2px; border-radius: 2px; background: var(--accent); }
.header-cta { display: flex; align-items: center; gap: 16px; }
.header-phone { font-family: var(--font-mono); font-size: .88rem; color: var(--ink-2); text-decoration: none; display: inline-flex; align-items: center; gap: 8px; }
.header-phone .icon { width: 16px; height: 16px; color: var(--accent); }
.menu-toggle { display: none; width: 44px; height: 44px; border-radius: 10px; border: 1px solid var(--line); background: var(--card); color: var(--ink); cursor: pointer; place-items: center; }
.menu-toggle .icon-close { display: none; }
.site-header.is-open .menu-toggle .icon-close { display: block; }
.site-header.is-open .menu-toggle .icon-menu { display: none; }
.nav-cta { display: none; }

/* ---------- Hero ---------- */
.hero { padding: clamp(40px, 7vw, 88px) 0 clamp(56px, 8vw, 96px); }
.hero-grid { display: grid; grid-template-columns: 1.08fr .92fr; gap: clamp(40px, 6vw, 80px); align-items: center; }
.hero h1 { margin-bottom: 28px; }
.hero .lead { max-width: 600px; margin-bottom: 32px; }
.hero-feats { display: grid; grid-template-columns: 1fr 1fr; border-top: 1px solid var(--line); border-left: 1px solid var(--line); margin-bottom: 36px; max-width: 620px; }
.hero-feat { display: flex; gap: 12px; padding: 16px 18px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); background: rgba(255, 253, 248, .55); }
.hero-feat .icon { color: var(--accent); margin-top: 2px; }
.hero-feat strong { display: block; color: var(--ink); font-size: .98rem; line-height: 1.3; }
.hero-feat span { font-size: .88rem; color: var(--muted); }
.trusted { margin-top: 40px; padding-top: 22px; border-top: 1px dashed var(--line); display: flex; flex-wrap: wrap; align-items: center; gap: 12px 28px; font-size: .9rem; color: var(--muted); }
.trusted ul { list-style: none; display: flex; flex-wrap: wrap; gap: 10px 22px; }
.trusted li { display: inline-flex; align-items: center; gap: 8px; color: var(--ink); font-weight: 500; }
.trusted li .icon { width: 17px; height: 17px; color: var(--sage); }

/* SOA ticket visual */
.tickets { position: relative; padding: 36px 0 40px; }
.ticket { position: relative; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius-lg); box-shadow: var(--shadow-lg); font-family: var(--font-mono); font-size: .8rem; color: var(--ink-2); overflow: hidden; }
.ticket.back { position: absolute; top: 0; left: 9%; right: -2%; transform: rotate(3deg); opacity: .9; box-shadow: var(--shadow); }
.ticket.back .t-body { filter: blur(.2px); }
.ticket.front { margin-right: 6%; transform: rotate(-1.2deg); z-index: 2; }
.t-head { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 14px 18px; border-bottom: 1px dashed var(--line); background: var(--paper); }
.t-head span { text-transform: uppercase; letter-spacing: .08em; font-size: .72rem; color: var(--muted); }
.t-badge { display: inline-flex; align-items: center; gap: 6px; padding: 3px 10px; border-radius: 999px; font-size: .72rem; font-weight: 500; letter-spacing: .04em; text-transform: uppercase; }
.t-badge.ok { background: #dcefe3; color: var(--ok); }
.t-badge.pend { background: #f6ead0; color: var(--amber); }
.t-badge i { width: 6px; height: 6px; border-radius: 50%; background: currentColor; }
.t-badge.ok i { animation: pulse-dot 2s infinite; }
@keyframes pulse-dot { 0%, 100% { box-shadow: 0 0 0 0 rgba(47, 138, 88, .5); } 50% { box-shadow: 0 0 0 5px rgba(47, 138, 88, 0); } }
.t-body { padding: 18px; }
.t-tn { font-size: 1.7rem; font-weight: 500; color: var(--ink); letter-spacing: -0.02em; margin-bottom: 4px; }
.t-sub { color: var(--muted); font-size: .76rem; margin-bottom: 16px; }
.t-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1px; background: var(--line-soft); border: 1px solid var(--line-soft); border-radius: 8px; overflow: hidden; margin-bottom: 18px; }
.t-grid div { background: var(--card); padding: 10px 12px; }
.t-grid small { display: block; font-size: .66rem; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); margin-bottom: 2px; }
.t-grid b { font-weight: 500; color: var(--ink); }
.t-steps { list-style: none; display: grid; gap: 0; position: relative; }
.t-steps li { display: grid; grid-template-columns: 18px 1fr auto; gap: 10px; align-items: center; padding: 7px 0; position: relative; }
.t-steps li::before { content: ""; width: 10px; height: 10px; border-radius: 50%; border: 2px solid var(--ok); background: var(--ok); margin-left: 4px; position: relative; z-index: 1; }
.t-steps li:not(:last-child)::after { content: ""; position: absolute; left: 8px; top: 22px; bottom: -8px; width: 2px; background: var(--sage-soft); }
.t-steps li.now::before { background: var(--card); border-color: var(--accent); box-shadow: 0 0 0 4px var(--accent-soft); }
.t-steps em { font-style: normal; color: var(--muted); font-size: .74rem; }
.t-foot { display: flex; justify-content: space-between; align-items: center; padding: 12px 18px; border-top: 1px dashed var(--line); background: var(--paper); font-size: .74rem; color: var(--muted); }
.t-foot b { color: var(--ok); font-weight: 500; }
.chip-float { position: absolute; z-index: 3; display: flex; align-items: center; gap: 12px; padding: 12px 16px; background: var(--deep); color: var(--on-deep); border-radius: 12px; box-shadow: var(--shadow-lg); animation: bob 7s ease-in-out infinite; }
.chip-float .icon { color: #f08a68; }
.chip-float strong { display: block; font-family: var(--font-display); font-size: 1.15rem; line-height: 1.1; letter-spacing: -0.02em; }
.chip-float span { font-size: .78rem; color: var(--on-deep-muted); }
.chip-1 { right: -2%; top: -4%; }
.chip-2 { left: -6%; bottom: -34px; animation-delay: -3.5s; }
@keyframes bob { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-8px); } }

/* ---------- Stat band ---------- */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); }
.stat { padding: 8px 32px; border-left: 1px solid var(--line-deep); }
.stat:first-child { border-left: 0; padding-left: 0; }
.stat-num { font-family: var(--font-display); font-weight: 800; font-size: clamp(2.4rem, 4.4vw, 3.6rem); letter-spacing: -0.045em; line-height: 1; color: var(--on-deep); margin-bottom: 10px; }
.stat-num em { font-style: normal; color: #f08a68; }
.stat-label { font-family: var(--font-mono); font-size: .8rem; text-transform: uppercase; letter-spacing: .08em; color: var(--on-deep-muted); }

/* ---------- About ---------- */
.about-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(40px, 6vw, 88px); align-items: start; }
.about-grid p { color: var(--ink-2); }
.about-grid .lead { color: var(--ink); }
.platform { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius-lg); box-shadow: var(--shadow); overflow: hidden; position: sticky; top: calc(var(--header-h) + 24px); }
.platform-head { display: flex; gap: 14px; align-items: center; padding: 22px 24px; background: var(--deep); color: var(--on-deep); }
.platform-head .ico { width: 44px; height: 44px; border-radius: 10px; display: grid; place-items: center; background: var(--accent); color: #fff; flex: none; }
.platform-head h3 { color: var(--on-deep); margin: 0 0 2px; font-size: 1.2rem; }
.platform-head p { margin: 0; font-size: .9rem; color: var(--on-deep-muted); }
.platform-row { display: grid; grid-template-columns: 40px 1fr; gap: 14px; padding: 18px 24px; border-top: 1px solid var(--line-soft); align-items: start; transition: background-color .2s ease; }
.platform-row:first-of-type { border-top: 0; }
.platform-row:hover { background: var(--paper); }
.platform-row .ico { width: 40px; height: 40px; border-radius: 10px; display: grid; place-items: center; background: var(--paper-2); color: var(--ink); }
.platform-row h4 { font-size: 1.02rem; margin: 2px 0 2px; font-family: var(--font-body); font-weight: 600; letter-spacing: 0; }
.platform-row p { margin: 0; font-size: .9rem; color: var(--muted); }

/* who we serve */
.serve-head { display: flex; align-items: center; gap: 14px; margin: 64px 0 22px; }
.serve-head .ico { width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; background: var(--sage-soft); color: var(--sage); }
.serve-head strong { display: block; font-family: var(--font-display); color: var(--ink); font-size: 1.2rem; }
.serve-head span { color: var(--muted); font-size: .92rem; }
.serve { display: grid; grid-template-columns: repeat(4, 1fr); border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden; background: var(--card); }
.serve > div { padding: 26px 24px; border-left: 1px solid var(--line); }
.serve > div:first-child { border-left: 0; }
.serve h4 { display: flex; align-items: center; gap: 10px; margin-bottom: 6px; }
.serve h4 .icon { color: var(--accent); }
.serve p { margin: 0; font-size: .92rem; color: var(--muted); }

/* ---------- Services grid ---------- */
.svc-grid { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
.svc { position: relative; padding: 30px 28px 34px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); background: transparent; transition: background-color .25s ease; }
.svc:hover { background: var(--card); }
.svc-num { font-family: var(--font-mono); font-size: .76rem; color: var(--muted); margin-bottom: 26px; display: flex; justify-content: space-between; align-items: center; }
.svc-num .icon { width: 26px; height: 26px; color: var(--ink); transition: color .25s ease, transform .25s ease; }
.svc:hover .svc-num .icon { color: var(--accent); transform: rotate(-6deg) scale(1.08); }
.svc h3 { font-size: 1.22rem; margin-bottom: 10px; }
.svc p { margin: 0; font-size: .95rem; color: var(--muted); }
.svc::after { content: ""; position: absolute; left: 0; top: -1px; height: 2px; width: 0; background: var(--accent); transition: width .35s ease; }
.svc:hover::after { width: 100%; }

/* ---------- CTA ---------- */
.cta { position: relative; overflow: hidden; border-radius: 22px; padding: clamp(40px, 6vw, 72px); background: var(--deep); display: grid; grid-template-columns: 1.5fr auto; gap: 32px; align-items: center; isolation: isolate; }
.cta::before { content: ""; position: absolute; inset: 0; z-index: -1; background-image: linear-gradient(rgba(236,231,220,.05) 1px, transparent 1px), linear-gradient(90deg, rgba(236,231,220,.05) 1px, transparent 1px); background-size: 44px 44px; -webkit-mask-image: linear-gradient(90deg, transparent, #000 60%); mask-image: linear-gradient(90deg, transparent, #000 60%); }
.cta::after { content: ""; position: absolute; z-index: -1; right: -130px; top: -150px; width: 280px; height: 280px; border-radius: 50%; border: 48px solid var(--accent); opacity: .9; }
.cta h2, .cta h3 { color: var(--on-deep); margin-bottom: 12px; font-size: clamp(1.9rem, 3.4vw, 2.8rem); }
.cta p { color: var(--on-deep-muted); margin: 0; font-size: 1.08rem; max-width: 640px; }

/* ---------- Team ---------- */
.team { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.person { padding: 28px; border-radius: var(--radius-lg); background: var(--card); border: 1px solid var(--line); display: flex; align-items: center; gap: 20px; }
.monogram { width: 76px; height: 76px; border-radius: 50%; display: grid; place-items: center; font-family: var(--font-display); font-weight: 800; font-size: 1.6rem; letter-spacing: -0.04em; flex: none; }
.person:nth-child(1) .monogram { background: var(--deep); color: var(--on-deep); }
.person:nth-child(2) .monogram { background: var(--accent); color: #fff; }
.person:nth-child(3) .monogram { background: var(--sage-soft); color: var(--sage); }
.person h3 { margin: 0 0 4px; font-size: 1.2rem; }
.person p { margin: 0; font-family: var(--font-mono); font-size: .8rem; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); }

/* ---------- Customers ---------- */
.logos { display: grid; grid-template-columns: repeat(4, 1fr); border: 1px solid var(--line); border-radius: var(--radius-lg); background: var(--card); overflow: hidden; }
.logos div { display: grid; place-items: center; height: 140px; padding: 24px 32px; border-left: 1px solid var(--line); }
.logos div:first-child { border-left: 0; }
.logos img { max-height: 54px; width: auto; object-fit: contain; filter: grayscale(1); opacity: .72; transition: opacity .2s ease, transform .2s ease; }
.logos div:hover img { opacity: 1; transform: scale(1.03); }

/* ---------- Pricing ---------- */
.plans { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; border: 1px solid var(--line); border-radius: 22px; overflow: hidden; background: var(--card); }
.plan { display: flex; flex-direction: column; padding: 40px 36px; border-left: 1px solid var(--line); position: relative; }
.plan:first-child { border-left: 0; }
.plan-name { font-family: var(--font-mono); font-size: .8rem; text-transform: uppercase; letter-spacing: .1em; color: var(--accent-ink); margin-bottom: 18px; font-weight: 500; }
.plan-price { font-family: var(--font-display); font-weight: 800; font-size: 3.8rem; letter-spacing: -0.05em; line-height: 1; color: var(--ink); }
.plan-per { font-family: var(--font-mono); font-size: .8rem; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); margin: 8px 0 28px; }
.plan ul { list-style: none; display: grid; gap: 12px; padding: 24px 0 32px; border-top: 1px dashed var(--line); margin-bottom: auto; }
.plan li { display: flex; gap: 10px; align-items: center; color: var(--ink); }
.plan li .icon { width: 18px; height: 18px; color: var(--ok); stroke-width: 2.4; }
.plan .btn { margin-top: 8px; letter-spacing: .04em; }
.plan.featured { background: var(--deep); color: var(--on-deep-muted); border-left-color: var(--deep); }
.plan.featured + .plan { border-left-color: var(--line); }
.plan.featured .plan-price { color: var(--on-deep); }
.plan.featured .plan-name { color: #f08a68; }
.plan.featured .plan-per { color: var(--on-deep-muted); }
.plan.featured ul { border-color: var(--line-deep); }
.plan.featured li { color: var(--on-deep); }
.plan.featured li .icon { color: #7fd1a1; }

/* ---------- FAQ ---------- */
.faq-wrap { display: grid; grid-template-columns: 1fr 340px; gap: clamp(32px, 5vw, 64px); align-items: start; }
.faq { border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { list-style: none; cursor: pointer; display: grid; grid-template-columns: 40px 1fr 28px; gap: 16px; align-items: center; padding: 22px 0; font-family: var(--font-display); font-weight: 700; font-size: 1.14rem; color: var(--ink); letter-spacing: -0.015em; line-height: 1.3; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary .q-ico { width: 40px; height: 40px; border-radius: 10px; display: grid; place-items: center; background: var(--paper-2); color: var(--ink); transition: background-color .2s ease, color .2s ease; }
.faq details[open] summary .q-ico { background: var(--accent); color: #fff; }
.faq summary .pm { position: relative; width: 28px; height: 28px; }
.faq summary .pm::before, .faq summary .pm::after { content: ""; position: absolute; left: 7px; right: 7px; top: 13px; height: 2px; background: var(--ink); border-radius: 2px; transition: transform .3s ease; }
.faq summary .pm::after { transform: rotate(90deg); }
.faq details[open] .pm::after { transform: rotate(0); }
.faq .answer { padding: 0 44px 26px 56px; color: var(--ink-2); }
.faq .answer p:last-child { margin: 0; }
.still { position: sticky; top: calc(var(--header-h) + 24px); padding: 32px; border-radius: var(--radius-lg); background: var(--deep); color: var(--on-deep-muted); }
.still h4 { color: var(--on-deep); font-size: 1.4rem; margin-bottom: 10px; }
.still p { margin-bottom: 24px; }

/* ---------- Contact ---------- */
@media (min-width: 961px) { .contact-grid.wide { grid-template-columns: 1.25fr .75fr; } }
.contact-grid { display: grid; grid-template-columns: .85fr 1.15fr; gap: clamp(32px, 5vw, 72px); align-items: start; }
.info-list { list-style: none; border-top: 1px solid var(--line); margin-top: 32px; }
.info-list li { display: grid; grid-template-columns: 44px 1fr; gap: 16px; padding: 20px 0; border-bottom: 1px solid var(--line); align-items: center; }
.info-list .ico { width: 44px; height: 44px; border-radius: 10px; display: grid; place-items: center; background: var(--card); border: 1px solid var(--line); color: var(--accent); }
.info-list h4 { font-family: var(--font-mono); font-weight: 500; font-size: .76rem; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); margin: 0 0 2px; }
.info-list p, .info-list a { margin: 0; color: var(--ink); font-weight: 500; font-size: 1.05rem; text-decoration: none; }
.info-list a:hover { color: var(--accent-ink); }
.form-card { padding: clamp(28px, 4vw, 44px); border-radius: var(--radius-lg); background: var(--card); border: 1px solid var(--line); box-shadow: var(--shadow); }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.field { display: flex; flex-direction: column; gap: 7px; }
.field.full { grid-column: 1 / -1; }
.field label, .field .label { font-size: .9rem; font-weight: 600; color: var(--ink); }
.field label i, .field .label i { font-style: normal; color: var(--accent); }
.field input:not([type="checkbox"]), .field select, .field textarea { width: 100%; min-height: 50px; padding: 12px 14px; font: inherit; font-size: 1rem; color: var(--ink); background: var(--paper); border: 1.5px solid var(--line); border-radius: 10px; -webkit-appearance: none; appearance: none; transition: border-color .15s ease, background-color .15s ease, box-shadow .15s ease; }
.field select { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='none' stroke='%2314211c' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m4 6 4 4 4-4'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 14px center; padding-right: 40px; }
.field textarea { min-height: 140px; resize: vertical; }
.field input:not([type="checkbox"]):focus, .field select:focus, .field textarea:focus { outline: none; background: #fff; border-color: var(--ink); box-shadow: 0 0 0 4px var(--accent-soft); }
.field .hint { font-size: .82rem; color: var(--muted); }
.form-section { grid-column: 1 / -1; display: flex; align-items: center; gap: 12px; margin-top: 14px; padding-top: 18px; border-top: 1px dashed var(--line); font-family: var(--font-display); font-weight: 700; font-size: 1.08rem; color: var(--ink); }
.form-section:first-child { margin-top: 0; padding-top: 0; border-top: 0; }
.form-section .icon { color: var(--accent); }
.checks { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.check-card { display: flex; gap: 12px; align-items: flex-start; padding: 14px; border-radius: 10px; border: 1.5px solid var(--line); background: var(--paper); cursor: pointer; transition: border-color .15s ease, background-color .15s ease; }
.check-card:hover { border-color: var(--ink-2); }
.check-card:has(input:checked) { border-color: var(--accent); background: #fff; }
.check-card input { width: 18px; height: 18px; margin: 2px 0 0; accent-color: var(--accent); flex: none; }
.check-card strong { display: block; font-size: .95rem; color: var(--ink); line-height: 1.3; }
.check-card span { font-size: .84rem; color: var(--muted); }
.field .consent, .consent { display: flex; gap: 12px; align-items: flex-start; font-size: .9rem; font-weight: 400; color: var(--ink-2); line-height: 1.5; cursor: pointer; }
.consent input { width: 18px; height: 18px; margin: 3px 0 0; accent-color: var(--accent); flex: none; }
.form-foot { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin-top: 24px; }
.form-foot p { margin: 0; font-size: .86rem; color: var(--muted); max-width: 360px; }
.form-foot p .icon { display: inline-block; vertical-align: -2px; margin-right: 6px; color: var(--sage); }
.form-status { margin-top: 18px; padding: 14px 16px; border-radius: 10px; background: #dcefe3; color: #1f6a42; font-size: .94rem; }
.form-status[hidden] { display: none; }

/* contact page side panel */
.side { display: grid; gap: 20px; position: sticky; top: calc(var(--header-h) + 24px); }
.panel { padding: 28px; border-radius: var(--radius-lg); background: var(--card); border: 1px solid var(--line); }
.panel.deep { background: var(--deep); border-color: var(--deep); }
.panel h4 { display: flex; align-items: center; gap: 10px; font-size: 1.2rem; margin-bottom: 18px; }
.panel h4 .icon { color: var(--accent); }
.panel.deep h4 .icon { color: #f08a68; }
.panel h6 { font-family: var(--font-body); font-size: .95rem; font-weight: 600; margin: 0 0 6px; letter-spacing: 0; }
.panel .block + .block { margin-top: 18px; padding-top: 18px; border-top: 1px solid var(--line-deep); }
.panel a { display: flex; align-items: center; gap: 8px; text-decoration: none; font-family: var(--font-mono); font-size: .92rem; color: inherit; padding: 2px 0; }
.panel.deep a { color: var(--on-deep); }
.panel a .icon { width: 15px; height: 15px; color: var(--accent); }
.panel.deep a .icon { color: #f08a68; }
.times { list-style: none; }
.times li { display: flex; justify-content: space-between; gap: 12px; padding: 10px 0; border-top: 1px solid var(--line-soft); font-size: .94rem; }
.times li:first-child { border-top: 0; padding-top: 0; }
.times b { font-family: var(--font-mono); font-weight: 500; font-size: .86rem; color: var(--ink); }
.certs { display: flex; flex-wrap: wrap; gap: 8px; }
.certs span { display: inline-flex; align-items: center; gap: 6px; padding: 6px 12px; border-radius: 999px; background: var(--paper); border: 1px solid var(--line); font-size: .82rem; font-weight: 600; color: var(--ink); }
.certs .icon { width: 14px; height: 14px; color: var(--ok); stroke-width: 2.4; }
.ways { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.way { display: flex; flex-direction: column; padding: 32px; border-radius: var(--radius-lg); background: var(--deep-2); border: 1px solid var(--line-deep); }
.way .ico { width: 48px; height: 48px; border-radius: 12px; display: grid; place-items: center; background: var(--accent); color: #fff; margin-bottom: 22px; }
.way h4 { font-size: 1.3rem; margin-bottom: 10px; }
.way p { margin-bottom: 24px; }
.way .btn { margin-top: auto; align-self: flex-start; }

/* ---------- Page hero (inner) ---------- */
.page-hero { padding: clamp(48px, 7vw, 96px) 0 clamp(48px, 6vw, 80px); border-bottom: 1px solid var(--line); }
.page-hero h1 { font-size: clamp(2.4rem, 5vw, 4.2rem); max-width: 980px; margin-bottom: 22px; }
.page-hero .lead { max-width: 760px; margin: 0; }
.page-hero .badges { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 32px; }
.badge { display: inline-flex; align-items: center; gap: 12px; padding: 12px 18px 12px 12px; border-radius: 12px; background: var(--card); border: 1px solid var(--line); }
.badge .ico { width: 40px; height: 40px; border-radius: 10px; display: grid; place-items: center; background: var(--accent-soft); color: var(--accent-ink); }
.badge strong { display: block; color: var(--ink); font-size: .98rem; line-height: 1.3; }
.badge span { font-size: .84rem; color: var(--muted); }
.hero-stats { display: flex; flex-wrap: wrap; gap: 0; margin-top: 40px; border: 1px solid var(--line); border-radius: var(--radius-lg); background: var(--card); width: fit-content; max-width: 100%; }
.hero-stats div { padding: 20px 28px; border-left: 1px solid var(--line); display: flex; align-items: center; gap: 16px; }
.hero-stats div:first-child { border-left: 0; }
.hero-stats b { font-family: var(--font-display); font-weight: 800; font-size: 2.2rem; letter-spacing: -0.04em; color: var(--ink); line-height: 1; }
.hero-stats span { font-size: .9rem; color: var(--muted); line-height: 1.35; }
.hero-stats .icon { width: 30px; height: 30px; color: var(--accent); }

/* ---------- Services page ---------- */
.core { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.core-card { padding: 30px; border-radius: var(--radius-lg); background: var(--card); border: 1px solid var(--line); transition: transform .25s ease, box-shadow .25s ease; }
.core-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.core-card .ico { width: 50px; height: 50px; border-radius: 12px; display: grid; place-items: center; background: var(--paper-2); color: var(--ink); margin-bottom: 22px; transition: background-color .25s ease, color .25s ease; }
.core-card:hover .ico { background: var(--accent); color: #fff; }
.core-card h4 { font-size: 1.18rem; margin-bottom: 8px; }
.core-card p { margin: 0; color: var(--muted); font-size: .96rem; }
.detail { display: grid; grid-template-columns: 1.15fr .85fr; gap: clamp(32px, 6vw, 80px); align-items: center; padding: clamp(40px, 6vw, 64px) 0; border-top: 1px solid var(--line); }
.detail:first-of-type { border-top: 0; padding-top: 0; }
.detail.flip { grid-template-columns: .85fr 1.15fr; }
.detail.flip > :first-child { order: 2; }
.detail h3 { display: flex; align-items: center; gap: 14px; font-size: clamp(1.6rem, 2.6vw, 2.1rem); letter-spacing: -0.03em; margin-bottom: 14px; }
.detail h3 .ico { width: 48px; height: 48px; border-radius: 12px; display: grid; place-items: center; background: var(--accent); color: #fff; flex: none; }
.detail > div > p { color: var(--ink-2); font-size: 1.06rem; }
.ticks { list-style: none; display: grid; grid-template-columns: 1fr 1fr; gap: 12px 24px; margin-top: 24px; }
.ticks li { display: flex; gap: 10px; align-items: flex-start; color: var(--ink); font-size: .98rem; }
.ticks .icon { width: 18px; height: 18px; color: var(--ok); stroke-width: 2.4; margin-top: 3px; }
.tile { position: relative; aspect-ratio: 16 / 11; max-height: 360px; border-radius: var(--radius-lg); background: var(--deep); color: var(--on-deep); padding: 28px; display: flex; flex-direction: column; justify-content: space-between; overflow: hidden; isolation: isolate; }
.tile::before { content: ""; position: absolute; inset: 0; z-index: -1; background-image: linear-gradient(rgba(236,231,220,.06) 1px, transparent 1px); background-size: 100% 28px; }
.tile::after { content: attr(data-n); position: absolute; right: 20px; bottom: -30px; z-index: -1; font-family: var(--font-display); font-weight: 800; font-size: 11rem; line-height: 1; color: rgba(236,231,220,.06); letter-spacing: -0.06em; }
.tile .icon { width: 56px; height: 56px; color: #f08a68; stroke-width: 1.4; }
.tile h5 { color: var(--on-deep); font-size: 1.5rem; margin: 0; letter-spacing: -0.03em; }
.tile .mono { font-size: .76rem; color: var(--on-deep-muted); text-transform: uppercase; letter-spacing: .08em; }
.tech { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; border-top: 1px solid var(--line-deep); }
.tech > div { padding: 32px 28px 8px 0; }
.tech > div + div { padding-left: 28px; border-left: 1px solid var(--line-deep); }
.tech .icon { width: 34px; height: 34px; color: #f08a68; margin-bottom: 20px; }
.tech h4 { font-size: 1.22rem; margin-bottom: 8px; }
.tech p { margin: 0; font-size: .95rem; }
.partners { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.partner { padding: 30px; border-radius: var(--radius-lg); background: var(--card); border: 1px solid var(--line); border-top: 4px solid var(--ink); }
.partner:nth-child(2) { border-top-color: var(--accent); }
.partner:nth-child(3) { border-top-color: var(--sage); }
.partner h4 { display: flex; align-items: center; gap: 10px; font-size: 1.22rem; margin-bottom: 10px; }
.partner h4 .icon { color: var(--muted); width: 18px; height: 18px; }
.partner p { margin: 0; color: var(--muted); }

/* ---------- Legal ---------- */
.legal { display: grid; grid-template-columns: 250px 1fr; gap: clamp(32px, 6vw, 80px); align-items: start; }
.toc { position: sticky; top: calc(var(--header-h) + 24px); border-left: 2px solid var(--line); padding-left: 18px; }
.toc h4 { font-family: var(--font-mono); font-weight: 500; font-size: .74rem; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); margin-bottom: 14px; }
.toc ol { list-style: none; display: grid; gap: 2px; }
.toc a { display: block; padding: 5px 0; font-size: .9rem; color: var(--ink-2); text-decoration: none; line-height: 1.4; }
.toc a:hover { color: var(--accent-ink); }
.prose { max-width: 760px; }
.prose h2 { font-size: clamp(1.4rem, 2.2vw, 1.75rem); margin: 52px 0 14px; padding-top: 20px; border-top: 1px solid var(--line); letter-spacing: -0.02em; }
.prose > h2:first-child, .prose > :first-child { margin-top: 0; }
.prose h3 { font-size: 1.1rem; margin: 26px 0 8px; font-family: var(--font-body); font-weight: 700; letter-spacing: 0; }
.prose ul { padding-left: 20px; margin: 0 0 1em; }
.prose li { margin: 6px 0; }
.prose li::marker { color: var(--accent); }
.prose .meta { margin-top: 48px; padding: 20px 22px; border-radius: var(--radius); background: var(--card); border: 1px solid var(--line); font-size: .95rem; }
.prose .meta p:last-child { margin: 0; }

/* ---------- Footer ---------- */
.site-footer { background: var(--deep); color: var(--on-deep-muted); padding: 80px 0 0; font-size: .95rem; }
.footer-grid { display: grid; grid-template-columns: 1.4fr .8fr 1fr 1.5fr; gap: 40px; padding-bottom: 56px; }
.site-footer .brand { color: var(--on-deep); margin: 0 0 20px; }
.site-footer address { font-style: normal; line-height: 1.8; }
.site-footer address a { color: var(--on-deep); text-decoration: none; font-family: var(--font-mono); font-size: .9rem; }
.site-footer address a:hover { color: #f08a68; }
.site-footer h4 { color: var(--on-deep); font-family: var(--font-mono); font-weight: 500; font-size: .76rem; letter-spacing: .1em; text-transform: uppercase; margin-bottom: 18px; }
.footer-links { list-style: none; display: grid; gap: 10px; }
.footer-links a { color: var(--on-deep-muted); text-decoration: none; display: inline-flex; align-items: center; gap: 8px; }
.footer-links a:hover { color: var(--on-deep); }
.footer-links .icon { width: 14px; height: 14px; color: #f08a68; }
.subscribe { display: flex; margin-top: 18px; border: 1px solid var(--line-deep); border-radius: 10px; overflow: hidden; background: rgba(236,231,220,.04); }
.subscribe input { flex: 1; min-width: 0; padding: 0 16px; min-height: 50px; border: 0; background: transparent; color: var(--on-deep); font: inherit; }
.subscribe input::placeholder { color: var(--on-deep-muted); }
.subscribe input:focus { outline: none; }
.subscribe button { border: 0; padding: 0 20px; background: var(--accent); color: #fff; font: inherit; font-weight: 600; cursor: pointer; }
.subscribe button:hover { background: var(--accent-ink); }
.subscribe-note { margin-top: 10px; font-size: .84rem; color: #7fd1a1; }
.subscribe-note[hidden] { display: none; }
.footer-bottom { border-top: 1px solid var(--line-deep); padding: 24px 0; display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; font-size: .86rem; }
.footer-bottom strong { color: var(--on-deep); font-weight: 600; }
.footer-bottom a { color: var(--on-deep-muted); text-decoration: none; }
.footer-bottom a:hover { color: var(--on-deep); }
.to-top { position: fixed; right: 20px; bottom: 20px; z-index: 50; width: 46px; height: 46px; border-radius: 12px; display: grid; place-items: center; background: var(--ink); color: var(--paper); box-shadow: var(--shadow); opacity: 0; visibility: hidden; transform: translateY(8px); transition: opacity .25s ease, transform .25s ease, visibility .25s; }
.to-top.show { opacity: 1; visibility: visible; transform: none; }
.to-top:hover { background: var(--accent); color: #fff; }

/* ---------- Reveal ---------- */
.js [data-reveal] { opacity: 0; transform: translateY(18px); transition: opacity .7s cubic-bezier(.2, .7, .2, 1), transform .7s cubic-bezier(.2, .7, .2, 1); transition-delay: var(--d, 0s); }
.js [data-reveal].is-visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .js [data-reveal] { opacity: 1; transform: none; }
}

/* ---------- Responsive ---------- */
@media (max-width: 1100px) {
  .svc-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .header-phone { display: none; }
  .tech { grid-template-columns: 1fr 1fr; }
  .tech > div:nth-child(3) { padding-left: 0; border-left: 0; }
  .serve { grid-template-columns: 1fr 1fr; }
  .serve > div:nth-child(3) { border-left: 0; }
  .serve > div:nth-child(n+3) { border-top: 1px solid var(--line); }
  .faq-wrap { grid-template-columns: 1fr; }
  .still { position: static; }
}
@media (max-width: 960px) {
  :root { --header-h: 66px; }
  .menu-toggle { display: grid; }
  .header-cta .btn { display: none; }
  .nav { position: fixed; top: var(--header-h); left: 0; right: 0; bottom: 0; flex-direction: column; align-items: stretch; gap: 0; padding: 12px var(--gutter) 40px; background: var(--paper); overflow-y: auto; opacity: 0; visibility: hidden; transform: translateY(-8px); transition: opacity .2s ease, transform .2s ease, visibility .2s; }
  .site-header.is-open { -webkit-backdrop-filter: none; backdrop-filter: none; background: var(--paper); border-bottom-color: var(--line); }
  .site-header.is-open .nav { opacity: 1; visibility: visible; transform: none; }
  .nav > a { height: 60px; padding: 0 4px; border-radius: 0; border-bottom: 1px solid var(--line); font-family: var(--font-display); font-size: 1.5rem; font-weight: 700; letter-spacing: -0.02em; }
  .nav > a:hover { background: none; }
  .nav > a.is-active::after { left: auto; right: 4px; top: 50%; bottom: auto; width: 8px; height: 8px; margin-top: -4px; border-radius: 50%; }
  .nav-cta { display: grid; gap: 12px; margin-top: 28px; }
  .hero-grid, .about-grid, .contact-grid, .detail, .legal, .split-head, .cta { grid-template-columns: 1fr; }
  .detail.flip { grid-template-columns: 1fr; }
  .detail.flip > :first-child { order: 0; }
  .tile { aspect-ratio: auto; min-height: 220px; }
  .platform, .side, .toc { position: static; }
  .tickets { max-width: 520px; margin: 0 auto; width: 100%; }
  .stats { grid-template-columns: 1fr 1fr; gap: 32px 0; }
  .stat:nth-child(3) { border-left: 0; padding-left: 0; }
  .team, .ways, .partners { grid-template-columns: 1fr; }
  .core { grid-template-columns: 1fr 1fr; }
  .plans { grid-template-columns: 1fr; }
  .plan { border-left: 0; border-top: 1px solid var(--line); }
  .plan:first-child { border-top: 0; }
  .logos { grid-template-columns: 1fr 1fr; }
  .logos div:nth-child(3) { border-left: 0; }
  .logos div:nth-child(n+3) { border-top: 1px solid var(--line); }
  .cta::after { width: 180px; height: 180px; border-width: 32px; right: -60px; top: -60px; }
}
@media (max-width: 640px) {
  :root { --gutter: 16px; }
  body { font-size: 16px; }
  .hero-feats, .form-grid, .checks, .ticks, .core, .svc-grid, .serve, .tech, .footer-grid { grid-template-columns: 1fr; }
  .serve > div { border-left: 0 !important; border-top: 1px solid var(--line); }
  .serve > div:first-child { border-top: 0; }
  .tech > div { padding-left: 0 !important; border-left: 0 !important; border-top: 1px solid var(--line-deep); padding-bottom: 24px; }
  .tech > div:first-child { border-top: 0; }
  .stats { grid-template-columns: 1fr 1fr; }
  .stat { padding: 0 0 0 16px; }
  .stat:nth-child(odd) { padding-left: 0; border-left: 0; }
  .logos div { height: 110px; padding: 20px; }
  .logos img { max-height: 40px; }
  .chip-1 { right: 0; }
  .chip-2 { left: 0; }
  .t-tn { font-size: 1.4rem; }
  .ticket.front { margin-right: 0; }
  .faq summary { grid-template-columns: 34px 1fr 24px; gap: 12px; font-size: 1.02rem; }
  .faq summary .q-ico { width: 34px; height: 34px; }
  .faq .answer { padding: 0 0 22px 0; }
  .hero-stats div { padding: 16px 18px; }
  .hero-stats b { font-size: 1.7rem; }
  .plan { padding: 32px 24px; }
  .person { padding: 22px; }
  .btn-row .btn { flex: 1 1 auto; }
}
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); border: 0; }
.field .check-card { font-weight: 400; }
@media (max-width: 640px) { .cta::after { display: none; } }
