/* ix.gaelta.com – IX by Gaelta, neutral Cockpit palette (ix-brand/export/ix-tokens.css), Geist. */
@font-face { font-family: 'Geist'; src: url('/assets/fonts/Geist-Variable.woff2') format('woff2'); font-weight: 100 900; font-display: swap; }

:root {
  --n950: #0D0E10; --n900: #16181B; --n800: #23262B; --n700: #383C43; --n600: #50555E; --n500: #6B717B;
  --n400: #9097A1; --n300: #B9BEC5; --n200: #DADDE1; --n100: #ECEEF0; --n50: #F6F7F8; --n0: #FFFFFF;
  --bg: var(--n50); --surface: var(--n0); --soft: var(--n100); --text: var(--n950); --muted: var(--n600);
  --line: var(--n200); --btn: var(--n950); --btn-text: var(--n0);
  --radius: 14px; --font: 'Geist', ui-sans-serif, system-ui, -apple-system, 'Segoe UI', sans-serif;
  color-scheme: light;
}
@media (prefers-color-scheme: dark) {
  :root {
    --bg: var(--n950); --surface: var(--n900); --soft: #111316; --text: var(--n50); --muted: var(--n400);
    --line: var(--n800); --btn: var(--n50); --btn-text: var(--n950);
    color-scheme: dark;
  }
  [style*="--a:"] { --a: var(--a-dark) !important; }
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; background: var(--bg); color: var(--text); font: 400 17px/1.6 var(--font); -webkit-font-smoothing: antialiased; }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
h1, h2, h3, h4 { margin: 0; line-height: 1.15; letter-spacing: -0.02em; font-weight: 600; }
p { margin: 0; }
.wrap { width: 100%; max-width: 1160px; margin: 0 auto; padding: 0 20px; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--btn); color: var(--btn-text); padding: 8px 12px; border-radius: 8px; z-index: 50; }
.skip:focus { left: 8px; }
:focus-visible { outline: 2px solid var(--text); outline-offset: 3px; border-radius: 6px; }

/* Nav */
.nav { position: sticky; top: 0; z-index: 20; background: color-mix(in srgb, var(--bg) 88%, transparent); backdrop-filter: saturate(1.4) blur(10px); border-bottom: 1px solid var(--line); }
.nav-in { display: flex; align-items: center; gap: 28px; height: 64px; }
.brand img { height: 40px; width: auto; }
.nav-links { display: flex; gap: 24px; margin-left: auto; }
.nav-links a { text-decoration: none; color: var(--muted); font-size: 15px; font-weight: 500; }
.nav-links a:hover, .nav-links a[aria-current] { color: var(--text); }
.nav-toggle { display: none; background: none; border: 0; padding: 8px; cursor: pointer; }
.nav-toggle span { display: block; width: 20px; height: 2px; background: var(--text); margin: 4px 0; border-radius: 2px; }

/* Buttons */
.btn { display: inline-flex; align-items: center; gap: 8px; background: var(--btn); color: var(--btn-text); text-decoration: none; font-weight: 500; font-size: 16px; padding: 12px 20px; border-radius: 10px; border: 1px solid var(--btn); transition: opacity .15s; }
.btn:hover { opacity: .86; }
.btn svg { width: 18px; height: 18px; }
.btn-ghost { background: transparent; color: var(--text); border-color: var(--line); }
.btn-ghost:hover { border-color: var(--n400); opacity: 1; }
.btn-sm { padding: 8px 14px; font-size: 14px; }
.cta-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.cta-row.center { justify-content: center; margin-top: 40px; }

/* Sections */
.hero { padding: 80px 0 64px; }
.eyebrow { font-size: 14px; font-weight: 500; color: var(--muted); text-transform: uppercase; letter-spacing: .08em; margin-bottom: 16px; }
.hero h1 { font-size: clamp(36px, 5.4vw, 60px); max-width: 16ch; }
.lead { font-size: clamp(18px, 2vw, 21px); color: var(--muted); max-width: 60ch; margin-top: 20px; }
.section { padding: 64px 0; }
.section.soft { background: var(--soft); border-block: 1px solid var(--line); }
.h-section { font-size: clamp(28px, 3.4vw, 40px); }
.h-small { font-size: 15px; font-weight: 600; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); margin-bottom: 12px; }
.sub { color: var(--muted); max-width: 62ch; margin-top: 12px; font-size: 18px; }
.fine { color: var(--muted); font-size: 14px; margin-top: 24px; max-width: 80ch; }
.fine a, .in-packs a, .who a { color: var(--text); }
.in-packs { margin-top: 12px; font-size: 15px; }

.hero-icons { list-style: none; padding: 0; margin: 48px 0 0; display: flex; flex-wrap: wrap; gap: 10px; }
.hero-icons img { width: 44px; height: 44px; border-radius: 10px; }

/* Pillars */
.two { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.three { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 32px; }
.pillar { display: block; text-decoration: none; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 32px; transition: border-color .15s; }
.pillar:hover { border-color: var(--n400); }
.pillar img { width: 48px; height: 48px; border-radius: 11px; margin-bottom: 20px; box-shadow: 0 0 0 1px var(--line); }
.pillar h2 { font-size: 26px; }
.pillar p { color: var(--muted); margin-top: 10px; }
.pillar strong { color: var(--text); font-weight: 500; }
.more { display: inline-flex; align-items: center; gap: 6px; margin-top: 20px; font-weight: 500; font-size: 15px; }
.more svg { width: 16px; height: 16px; }
.who { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; }
.who h3 { font-size: 19px; margin-bottom: 8px; }
.who p { color: var(--muted); font-size: 16px; }

/* Tool grid */
.group { margin-top: 44px; }
.group-head { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 16px; margin-bottom: 16px; }
.group-head h3 { font-size: 20px; }
.group-head p { color: var(--muted); font-size: 15px; }
.tool-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 12px; }
.hero .tool-grid { margin-top: 32px; }
.tool-card { display: flex; align-items: center; gap: 14px; text-decoration: none; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 16px; transition: border-color .15s, transform .15s; }
.tool-card:hover { border-color: var(--a); transform: translateY(-1px); }
.tool-icon { border-radius: 22%; flex: none; }
.tool-card-body { display: flex; flex-direction: column; min-width: 0; }
.tool-name { font-weight: 600; font-size: 17px; }
.tool-line { color: var(--muted); font-size: 14px; line-height: 1.4; }
.badge { display: inline-block; font-size: 11px; font-weight: 600; text-transform: uppercase; letter-spacing: .05em; padding: 2px 7px; border-radius: 999px; background: var(--soft); color: var(--muted); border: 1px solid var(--line); vertical-align: 2px; }

/* Tool page */
.tool-hero { padding-top: 48px; border-top: 4px solid var(--a); }
.back { display: inline-block; color: var(--muted); font-size: 14px; text-decoration: none; margin-bottom: 28px; }
.back::before { content: '← '; }
.back:hover { color: var(--text); }
.tool-title { display: flex; align-items: center; gap: 18px; }
.tool-title h1 { font-size: clamp(36px, 5vw, 54px); max-width: none; }
.tagline { color: var(--a); font-weight: 500; font-size: 19px; margin-top: 4px; }
.status { margin-top: 20px; padding: 12px 16px; border-left: 3px solid var(--a); background: var(--surface); border-radius: 0 10px 10px 0; max-width: 60ch; font-size: 16px; }
.for { max-width: 70ch; margin-bottom: 36px; }
.for p { font-size: 19px; }
.features { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
.features li { display: flex; gap: 14px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; }
.features svg { width: 22px; height: 22px; flex: none; color: var(--a, var(--text)); margin-top: 2px; }
.features h3 { font-size: 18px; }
.features p { color: var(--muted); font-size: 16px; margin-top: 4px; }

/* Plans */
.plans { list-style: none; margin: 28px 0 0; padding: 0; display: grid; grid-template-columns: repeat(var(--n), minmax(0, 1fr)); gap: 12px; }
.plans li { background: var(--surface); border: 1px solid var(--line); border-top: 3px solid var(--a); border-radius: var(--radius); padding: 20px; display: flex; flex-direction: column; gap: 4px; }
.plan { font-weight: 600; font-size: 17px; }
.price { font-size: 30px; font-weight: 600; letter-spacing: -0.02em; margin-top: 6px; }
.price small { font-size: 16px; font-weight: 500; color: var(--muted); }
.per { color: var(--muted); font-size: 14px; }
.note { font-size: 14px; margin-top: 8px; padding-top: 8px; border-top: 1px solid var(--line); }
.addons { list-style: none; margin: 0; padding: 0; max-width: 640px; }
.plans + .h-small { margin-top: 32px; }
.addons li { display: flex; justify-content: space-between; gap: 16px; padding: 10px 0; border-bottom: 1px solid var(--line); font-size: 16px; }
.addons li span:last-child { white-space: nowrap; color: var(--muted); }

/* Packages */
.pack-cols { display: grid; grid-template-columns: 1fr; gap: 32px; margin-top: 36px; }
.pack-col .packs { display: grid; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); gap: 12px; }
.pack { position: relative; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; display: flex; flex-direction: column; gap: 10px; scroll-margin-top: 90px; }
.pack.pop { border-color: var(--text); }
.pack .badge { position: absolute; top: -11px; left: 20px; background: var(--btn); color: var(--btn-text); border-color: var(--btn); }
.pack h4 { font-size: 20px; }
.pack .pack-price { color: var(--text); font-size: 30px; font-weight: 600; letter-spacing: -0.02em; }
.pack-price small { font-size: 15px; color: var(--muted); font-weight: 400; letter-spacing: 0; }
.pack > p { color: var(--muted); font-size: 15px; }
.pack ul { list-style: none; margin: 6px 0 0; padding: 12px 0 0; border-top: 1px solid var(--line); display: grid; gap: 8px; }
.pack li a { display: flex; align-items: center; gap: 8px; text-decoration: none; font-size: 15px; }
.pack li a:hover { color: var(--a); }
.pack li img { width: 20px; height: 20px; border-radius: 5px; }

.price-list { margin-top: 28px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); overflow: hidden; }
.price-row { display: grid; grid-template-columns: minmax(240px, 1fr) 2fr; gap: 16px; align-items: center; padding: 14px 20px; border-top: 1px solid var(--line); }
.price-row:first-child { border-top: 0; }
.price-tool { display: flex; align-items: center; gap: 12px; text-decoration: none; }
.price-tool img { width: 32px; height: 32px; border-radius: 8px; }
.price-tool span { display: flex; flex-direction: column; line-height: 1.3; }
.price-tool small { color: var(--muted); font-size: 13px; }
.price-tool:hover strong { color: var(--a); }
.price-plans { display: flex; flex-wrap: wrap; gap: 6px 18px; font-size: 15px; color: var(--muted); }
.price-plans b { color: var(--text); font-weight: 500; }

/* Partners */
.steps { list-style: none; counter-reset: s; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.steps li { counter-increment: s; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; }
.steps li::before { content: counter(s); display: grid; place-items: center; width: 32px; height: 32px; border-radius: 50%; background: var(--btn); color: var(--btn-text); font-weight: 600; margin-bottom: 14px; }
.steps h3 { font-size: 19px; }
.steps p { color: var(--muted); font-size: 16px; margin-top: 8px; }
.note-box { margin-top: 28px; padding: 24px; border-radius: var(--radius); background: var(--soft); border: 1px solid var(--line); max-width: 80ch; }
.note-box h3 { font-size: 18px; margin-bottom: 8px; }
.note-box p { color: var(--muted); font-size: 16px; }

/* CTA band */
.cta-band { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 24px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 36px; }
.wrap.cta-band { width: calc(100% - 40px); max-width: 1120px; }
.cta-band h2 { font-size: 26px; }
.cta-band p { color: var(--muted); margin-top: 8px; }
.cta-band .cta-row { margin-top: 0; }

/* Footer */
.foot { border-top: 1px solid var(--line); margin-top: 40px; padding: 56px 0 28px; font-size: 15px; }
.foot-main { display: grid; grid-template-columns: 1.6fr 1.4fr 1fr 1fr; gap: 32px; }
.foot-brand img { height: 40px; width: auto; }
.foot-brand p { color: var(--muted); margin-top: 14px; max-width: 36ch; }
.foot-contact { list-style: none; padding: 0; margin: 16px 0 0; display: grid; gap: 6px; color: var(--muted); }
.foot-contact a { color: var(--text); text-decoration: none; }
.foot-nav { display: flex; flex-direction: column; gap: 8px; }
.foot-nav h3 { font-size: 13px; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); font-weight: 600; margin-bottom: 4px; }
.foot-nav a { text-decoration: none; color: var(--text); }
.foot-nav a:hover { text-decoration: underline; }
.foot-tools { display: grid; grid-template-columns: 1fr 1fr; gap: 8px 16px; align-content: start; }
.foot-tools h3 { grid-column: 1 / -1; }
.foot-bottom { display: flex; justify-content: space-between; gap: 16px; margin-top: 44px; padding-top: 20px; border-top: 1px solid var(--line); color: var(--muted); font-size: 14px; }
.foot-bottom a { color: var(--muted); text-decoration: none; }

/* Responsive */
@media (max-width: 960px) {
  .foot-main { grid-template-columns: 1fr 1fr; }
  .pack-cols { grid-template-columns: 1fr; }
  .plans { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 760px) {
  .nav-links { display: none; position: absolute; top: 64px; left: 0; right: 0; flex-direction: column; gap: 0; background: var(--bg); border-bottom: 1px solid var(--line); padding: 8px 16px 16px; }
  .nav-links.open { display: flex; }
  .nav-links a { padding: 12px 4px; font-size: 17px; border-bottom: 1px solid var(--line); }
  .nav-toggle { display: block; }
  .nav-cta { margin-left: auto; }
  .nav-in { gap: 12px; }
  .wrap { padding: 0 16px; }
  .wrap.cta-band { width: calc(100% - 32px); padding: 24px; }
  .hero { padding: 48px 0 40px; }
  .section { padding: 44px 0; }
  .two, .three, .features, .steps { grid-template-columns: 1fr; }
  .price-row { grid-template-columns: 1fr; gap: 8px; }
  .foot-main { grid-template-columns: 1fr; }
  .foot-bottom { flex-direction: column; }
  .tool-title img { width: 48px; height: 48px; }
}
@media (max-width: 420px) {
  .plans { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) { * { transition: none !important; scroll-behavior: auto !important; } }
