/* ==========================================================================
   GazzSoftAI — site styles
   ========================================================================== */
:root {
  --navy-950: #050811;
  --navy-900: #070b16;
  --navy-850: #0a1020;
  --navy-800: #0e1629;
  --navy-700: #16213a;
  --line-dark: rgba(148, 163, 184, 0.14);
  --line-dark-strong: rgba(148, 163, 184, 0.26);
  --text-on-dark: #e7edf7;
  --muted-on-dark: #9aa8bd;

  --paper: #ffffff;
  --paper-muted: #f5f7fb;
  --ink: #0b1324;
  --ink-2: #334155;
  --ink-3: #64748b;
  --line: #e3e8f0;

  --sky: #38bdf8;
  --sky-600: #0284c7;
  --indigo: #6366f1;
  --emerald: #10b981;
  --grad: linear-gradient(135deg, #38bdf8 0%, #6366f1 100%);
  --grad-text: linear-gradient(120deg, #7dd3fc 0%, #a5b4fc 55%, #c4b5fd 100%);

  --radius-lg: 18px;
  --radius: 12px;
  --radius-sm: 8px;
  --shadow-sm: 0 1px 2px rgba(15, 23, 42, 0.06), 0 1px 3px rgba(15, 23, 42, 0.04);
  --shadow: 0 10px 30px -12px rgba(15, 23, 42, 0.18);
  --shadow-lg: 0 30px 60px -20px rgba(2, 6, 23, 0.55);

  --font: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --header-h: 72px;
}

*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 8px); -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.65;
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

img, svg { display: block; max-width: 100%; }
a { color: var(--sky-600); text-decoration: none; }
a:hover { text-decoration: underline; text-underline-offset: 3px; }
h1, h2, h3, h4 { margin: 0; line-height: 1.15; letter-spacing: -0.022em; font-weight: 750; }
p { margin: 0; }

.icon-sprite { position: absolute; width: 0; height: 0; overflow: hidden; pointer-events: none; }
.progress-68 { width: 68%; }
.page-hero > .container { position: relative; }
.footer-bottom-flush { margin-top: 0; }

.icon {
  width: 1.15em; height: 1.15em; flex: none;
  fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round;
}

.container { width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 24px; }

.skip-link {
  position: absolute; left: 12px; top: -48px; z-index: 100;
  background: var(--paper); color: var(--ink); padding: 10px 14px; border-radius: var(--radius-sm);
  font-weight: 600; transition: top .2s;
}
.skip-link:focus { top: 12px; }

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

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  font: inherit; font-weight: 600; font-size: 0.95rem; line-height: 1;
  padding: 12px 18px; border-radius: 10px; border: 1px solid transparent;
  cursor: pointer; text-decoration: none; white-space: nowrap;
  transition: transform .15s ease, box-shadow .2s ease, background-color .2s ease, border-color .2s ease, color .2s ease;
}
.btn:hover { text-decoration: none; transform: translateY(-1px); }
.btn:active { transform: translateY(0); }
.btn-sm { padding: 9px 14px; font-size: 0.88rem; }
.btn-lg { padding: 15px 22px; font-size: 1rem; }
.btn-block { width: 100%; }
.btn-primary {
  color: #fff; background: var(--grad);
  box-shadow: 0 8px 24px -8px rgba(56, 189, 248, 0.55), inset 0 1px 0 rgba(255,255,255,0.18);
}
.btn-primary:hover { box-shadow: 0 12px 30px -8px rgba(99, 102, 241, 0.6), inset 0 1px 0 rgba(255,255,255,0.2); color: #fff; }
.btn-ghost { color: var(--text-on-dark); border-color: var(--line-dark-strong); background: rgba(255,255,255,0.03); }
.btn-ghost:hover { border-color: rgba(148,163,184,0.5); background: rgba(255,255,255,0.07); color: #fff; }
.btn-outline { color: var(--ink); border-color: var(--line); background: var(--paper); }
.btn-outline:hover { border-color: #b9c4d6; box-shadow: var(--shadow-sm); color: var(--ink); }
.btn[disabled] { opacity: .65; cursor: progress; transform: none; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50; height: var(--header-h);
  background: rgba(7, 11, 22, 0.72);
  backdrop-filter: saturate(160%) blur(14px); -webkit-backdrop-filter: saturate(160%) blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color .25s ease, background-color .25s ease;
}
.site-header.scrolled { border-bottom-color: var(--line-dark); background: rgba(7, 11, 22, 0.9); }
.nav { height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 24px; }

.brand { display: inline-flex; align-items: center; gap: 10px; color: var(--text-on-dark); text-decoration: none; }
.brand:hover { text-decoration: none; }
.brand-mark { width: 34px; height: 34px; border-radius: 9px; box-shadow: 0 6px 18px -6px rgba(56,189,248,0.6); }
.brand-name { font-weight: 750; font-size: 1.18rem; letter-spacing: -0.02em; }
.brand-ai { background: var(--grad-text); -webkit-background-clip: text; background-clip: text; color: transparent; }

.nav-links { display: flex; align-items: center; gap: 4px; }
.nav-links a:not(.btn) {
  color: var(--muted-on-dark); font-size: 0.92rem; font-weight: 500;
  padding: 8px 12px; border-radius: 8px; transition: color .2s, background-color .2s;
}
.nav-links a:not(.btn):hover, .nav-links a.active { color: #fff; background: rgba(255,255,255,0.06); text-decoration: none; }
.nav-cta { margin-left: 10px; }

.nav-toggle {
  display: none; background: transparent; border: 1px solid var(--line-dark-strong); color: var(--text-on-dark);
  width: 42px; height: 42px; border-radius: 10px; align-items: center; justify-content: center; cursor: pointer;
}
.nav-toggle .icon { width: 22px; height: 22px; }

/* ---------- Hero ---------- */
.hero {
  position: relative; overflow: hidden;
  background: var(--navy-900); color: var(--text-on-dark);
  margin-top: calc(var(--header-h) * -1); padding: calc(var(--header-h) + 88px) 0 104px;
}
.hero-bg {
  position: absolute; inset: 0; pointer-events: none;
  background:
    radial-gradient(600px 380px at 82% 18%, rgba(99,102,241,0.28), transparent 70%),
    radial-gradient(520px 360px at 10% 85%, rgba(56,189,248,0.18), transparent 70%),
    linear-gradient(rgba(148,163,184,0.06) 1px, transparent 1px) 0 0 / 56px 56px,
    linear-gradient(90deg, rgba(148,163,184,0.06) 1px, transparent 1px) 0 0 / 56px 56px;
  -webkit-mask-image: radial-gradient(ellipse 90% 80% at 50% 40%, #000 55%, transparent 100%);
  mask-image: radial-gradient(ellipse 90% 80% at 50% 40%, #000 55%, transparent 100%);
}
.hero-grid { position: relative; display: grid; grid-template-columns: 1.08fr 0.92fr; gap: 64px; align-items: center; }
.hero h1 {
  font-size: clamp(2.35rem, 4.6vw, 3.75rem); font-weight: 800; letter-spacing: -0.035em; line-height: 1.06;
  margin: 18px 0 22px; color: #fff;
}
.hero h1 .grad { background: var(--grad-text); -webkit-background-clip: text; background-clip: text; color: transparent; }
.lead { font-size: 1.14rem; color: var(--muted-on-dark); max-width: 600px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 34px; }
.hero-proof { list-style: none; padding: 0; margin: 32px 0 0; display: flex; flex-wrap: wrap; gap: 10px 22px; }
.hero-proof li { display: inline-flex; align-items: center; gap: 8px; color: #c8d3e3; font-size: 0.92rem; font-weight: 500; }
.hero-proof .icon { color: var(--emerald); }

.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 0.78rem; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: var(--sky-600);
}
.eyebrow-dark { color: #7dd3fc; }
.hero .eyebrow {
  padding: 7px 14px; border-radius: 999px; letter-spacing: 0.06em; text-transform: none; font-size: 0.85rem; font-weight: 600;
  background: rgba(56,189,248,0.08); border: 1px solid rgba(56,189,248,0.25);
}

/* Hero visual */
.hero-visual { position: relative; }
.console {
  position: relative; border-radius: var(--radius-lg);
  background: linear-gradient(180deg, rgba(22,33,58,0.92), rgba(12,19,36,0.92));
  border: 1px solid var(--line-dark-strong); box-shadow: var(--shadow-lg), 0 0 0 1px rgba(255,255,255,0.02) inset;
  overflow: hidden;
}
.console-bar { display: flex; align-items: center; gap: 7px; padding: 13px 16px; border-bottom: 1px solid var(--line-dark); background: rgba(255,255,255,0.02); }
.console-bar .dot { width: 10px; height: 10px; border-radius: 50%; background: #334155; }
.console-bar .dot:nth-child(1) { background: #f87171; }
.console-bar .dot:nth-child(2) { background: #fbbf24; }
.console-bar .dot:nth-child(3) { background: #34d399; }
.console-title { margin-left: 10px; font: 500 0.78rem ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; color: var(--muted-on-dark); }
.console-body { padding: 18px; }
.phase-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.phase-list li {
  display: grid; grid-template-columns: 38px 1fr auto; align-items: center; gap: 14px;
  padding: 12px 14px; border-radius: 12px; border: 1px solid var(--line-dark); background: rgba(255,255,255,0.02);
}
.phase-list li.active { border-color: rgba(56,189,248,0.45); background: rgba(56,189,248,0.07); box-shadow: 0 0 0 4px rgba(56,189,248,0.06); }
.phase-list strong { display: block; color: #fff; font-size: 0.95rem; font-weight: 650; }
.phase-list small { display: block; color: var(--muted-on-dark); font-size: 0.8rem; }
.phase-ico {
  width: 38px; height: 38px; border-radius: 10px; display: grid; place-items: center;
  background: rgba(148,163,184,0.1); color: #cbd5e1;
}
.phase-list li.done .phase-ico { background: rgba(16,185,129,0.14); color: #34d399; }
.phase-list li.active .phase-ico { background: var(--grad); color: #fff; }
.progress { display: block; height: 5px; margin-top: 8px; border-radius: 99px; background: rgba(148,163,184,0.18); overflow: hidden; }
.progress span { display: block; height: 100%; background: var(--grad); border-radius: inherit; }
.tag { font-size: 0.72rem; font-weight: 600; padding: 4px 9px; border-radius: 999px; color: var(--muted-on-dark); border: 1px solid var(--line-dark-strong); }
.tag-done { color: #6ee7b7; border-color: rgba(52,211,153,0.35); background: rgba(16,185,129,0.08); }
.tag-active { color: #7dd3fc; border-color: rgba(56,189,248,0.4); background: rgba(56,189,248,0.1); }

.float-card {
  position: absolute; display: flex; align-items: center; gap: 12px;
  padding: 12px 16px; border-radius: 14px;
  background: rgba(14, 22, 41, 0.92); border: 1px solid var(--line-dark-strong);
  box-shadow: var(--shadow-lg); backdrop-filter: blur(8px);
  animation: float 6s ease-in-out infinite;
}
.float-card .icon { width: 34px; height: 34px; padding: 8px; border-radius: 10px; background: rgba(99,102,241,0.18); color: #a5b4fc; }
.float-card strong { display: block; font-size: 0.86rem; color: #fff; }
.float-card small { display: block; font-size: 0.76rem; color: var(--muted-on-dark); }
.fc-1 { top: -26px; right: -18px; }
.fc-2 { bottom: -30px; left: -26px; animation-delay: -3s; }
.fc-2 .icon { background: rgba(16,185,129,0.16); color: #6ee7b7; }
@keyframes float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-8px); } }
@media (prefers-reduced-motion: reduce) { .float-card { animation: none; } }

/* ---------- Strip ---------- */
.strip { background: var(--navy-850); border-top: 1px solid var(--line-dark); border-bottom: 1px solid var(--line-dark); color: var(--text-on-dark); }
.strip-grid { display: grid; grid-template-columns: repeat(4, 1fr); }
.strip-grid > div { padding: 26px 24px; border-left: 1px solid var(--line-dark); }
.strip-grid > div:first-child { border-left: 0; padding-left: 0; }
.strip strong { display: block; font-size: 1.02rem; color: #fff; font-weight: 700; }
.strip span { display: block; font-size: 0.88rem; color: var(--muted-on-dark); margin-top: 2px; }

/* ---------- Sections ---------- */
.section { padding: 104px 0; }
.section-light { background: var(--paper); }
.section-muted { background: var(--paper-muted); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.section-dark { background: var(--navy-900); color: var(--text-on-dark); position: relative; overflow: hidden; }
.section-dark::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(700px 400px at 90% 0%, rgba(99,102,241,0.16), transparent 70%), radial-gradient(600px 400px at 0% 100%, rgba(56,189,248,0.1), transparent 70%);
}
.section-dark > .container { position: relative; }

.section-head { max-width: 720px; margin-bottom: 56px; }
.section-head h2 { font-size: clamp(1.9rem, 3.2vw, 2.6rem); margin: 12px 0 16px; letter-spacing: -0.03em; }
.section-head p:not(.eyebrow) { font-size: 1.08rem; color: var(--ink-3); }
.section-dark .section-head h2 { color: #fff; }
.section-dark .section-head p:not(.eyebrow) { color: var(--muted-on-dark); }

/* Services */
.service-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.service-card {
  position: relative; padding: 32px; border-radius: var(--radius-lg);
  background: var(--paper); border: 1px solid var(--line); box-shadow: var(--shadow-sm);
  transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}
.service-card::after {
  content: ""; position: absolute; left: 32px; right: 32px; top: -1px; height: 2px; border-radius: 2px;
  background: var(--grad); opacity: 0; transition: opacity .25s ease;
}
.service-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: #d3dbe8; }
.service-card:hover::after { opacity: 1; }
.service-icon {
  width: 52px; height: 52px; border-radius: 14px; display: grid; place-items: center; margin-bottom: 22px;
  background: linear-gradient(135deg, rgba(56,189,248,0.14), rgba(99,102,241,0.16)); color: var(--indigo);
}
.service-icon .icon { width: 26px; height: 26px; }
.service-card h3 { font-size: 1.25rem; margin-bottom: 10px; }
.service-card > p { color: var(--ink-3); margin-bottom: 20px; }

.checklist { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.checklist li { display: flex; gap: 10px; align-items: flex-start; font-size: 0.94rem; color: var(--ink-2); }
.checklist .icon { color: var(--emerald); margin-top: 3px; width: 1.05em; height: 1.05em; stroke-width: 2.6; }

/* Lifecycle */
.lifecycle { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(5, 1fr); gap: 16px; position: relative; }
.lifecycle::before {
  content: ""; position: absolute; top: 58px; left: 8%; right: 8%; height: 2px;
  background: linear-gradient(90deg, rgba(56,189,248,0), rgba(56,189,248,0.5), rgba(99,102,241,0.5), rgba(99,102,241,0));
}
.stage {
  position: relative; padding: 26px 22px; border-radius: var(--radius-lg);
  background: rgba(14, 22, 41, 0.75); border: 1px solid var(--line-dark);
  display: flex; flex-direction: column; transition: border-color .25s ease, transform .25s ease;
}
.stage:hover { border-color: rgba(56,189,248,0.4); transform: translateY(-3px); }
.stage-num { font: 700 0.78rem ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; color: #7dd3fc; letter-spacing: 0.08em; }
.stage-icon {
  width: 46px; height: 46px; border-radius: 12px; display: grid; place-items: center; margin: 12px 0 18px;
  background: var(--grad); color: #fff; box-shadow: 0 10px 24px -10px rgba(99,102,241,0.8);
}
.stage-icon .icon { width: 22px; height: 22px; }
.stage h3 { font-size: 1.12rem; color: #fff; margin-bottom: 10px; }
.stage > p { font-size: 0.92rem; color: var(--muted-on-dark); }
.stage-out { margin-top: auto !important; padding-top: 16px; font-size: 0.84rem !important; color: #c8d3e3 !important; border-top: 1px dashed var(--line-dark-strong); margin-block-start: 18px; }
.stage-out span { display: block; font-size: 0.7rem; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: #6ee7b7; margin-bottom: 4px; }

/* Principles */
.principles { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden; }
.principle { background: var(--paper); padding: 32px; transition: background-color .2s; }
.principle:hover { background: #fbfcfe; }
.principle > .icon { width: 28px; height: 28px; color: var(--indigo); margin-bottom: 16px; }
.principle h3 { font-size: 1.08rem; margin-bottom: 8px; }
.principle p { color: var(--ink-3); font-size: 0.95rem; }

/* Tiers */
.tiers { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; align-items: stretch; }
.tier {
  position: relative; display: flex; flex-direction: column; gap: 12px;
  padding: 30px 26px; border-radius: var(--radius-lg); background: var(--paper); border: 1px solid var(--line); box-shadow: var(--shadow-sm);
}
.tier > p:not(.tier-label):not(.price):not(.tier-badge) { color: var(--ink-3); font-size: 0.93rem; }
.tier .checklist { margin: 4px 0 8px; }
.tier .btn { margin-top: auto; }
.tier-label { font-size: 0.74rem; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: var(--ink-3); }
.tier h3 { font-size: 1.2rem; }
.price { font-size: 1.7rem; font-weight: 800; letter-spacing: -0.03em; color: var(--ink); }
.price span { display: block; font-size: 0.82rem; font-weight: 500; letter-spacing: 0; color: var(--ink-3); margin-top: 2px; }
.tier-featured { border: 1px solid transparent; background: linear-gradient(var(--paper), var(--paper)) padding-box, var(--grad) border-box; box-shadow: 0 24px 50px -24px rgba(99,102,241,0.45); transform: translateY(-8px); }
.tier-badge {
  position: absolute; top: -12px; left: 26px; padding: 5px 12px; border-radius: 999px;
  background: var(--grad); color: #fff; font-size: 0.74rem; font-weight: 700; letter-spacing: 0.02em;
}
.fineprint { margin-top: 28px; font-size: 0.85rem; color: var(--ink-3); text-align: center; }

/* Use cases */
.cases { display: grid; grid-template-columns: repeat(2, 1fr); gap: 22px; }
.case { padding: 30px; border-radius: var(--radius-lg); border: 1px solid var(--line); background: linear-gradient(180deg, #fff, #fafbfe); transition: box-shadow .25s, transform .25s; }
.case:hover { box-shadow: var(--shadow); transform: translateY(-3px); }
.case-top { display: flex; align-items: center; justify-content: space-between; margin-bottom: 18px; }
.case-top .icon { width: 24px; height: 24px; color: #94a3b8; }
.chip { display: inline-block; font-size: 0.76rem; font-weight: 600; padding: 5px 11px; border-radius: 999px; background: rgba(99,102,241,0.08); color: #4f46e5; border: 1px solid rgba(99,102,241,0.18); }
.case h3 { font-size: 1.15rem; margin-bottom: 10px; }
.case p { color: var(--ink-3); font-size: 0.95rem; }

/* FAQ */
.faq-wrap { display: grid; grid-template-columns: 0.8fr 1.2fr; gap: 64px; align-items: start; }
.faq-wrap .section-head { margin-bottom: 0; position: sticky; top: calc(var(--header-h) + 32px); }
.faq { display: grid; gap: 12px; }
.faq details { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: 0 22px; transition: border-color .2s, box-shadow .2s; }
.faq details[open] { border-color: #c9d3e3; box-shadow: var(--shadow-sm); }
.faq summary {
  list-style: none; cursor: pointer; padding: 20px 32px 20px 0; position: relative;
  font-weight: 650; font-size: 1rem; color: var(--ink);
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: ""; position: absolute; right: 2px; top: 50%; width: 10px; height: 10px; margin-top: -7px;
  border-right: 2px solid var(--ink-3); border-bottom: 2px solid var(--ink-3); transform: rotate(45deg); transition: transform .2s;
}
.faq details[open] summary::after { transform: rotate(-135deg); margin-top: -2px; }
.faq details p { padding: 0 0 20px; color: var(--ink-3); font-size: 0.97rem; }

/* Contact */
.contact-grid { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 64px; align-items: start; }
.contact-copy h2 { font-size: clamp(1.9rem, 3.2vw, 2.6rem); color: #fff; margin: 12px 0 16px; letter-spacing: -0.03em; }
.lead-sm { color: var(--muted-on-dark); font-size: 1.06rem; }
.next-steps { list-style: none; padding: 0; margin: 34px 0; display: grid; gap: 18px; }
.next-steps li { display: flex; gap: 16px; align-items: flex-start; }
.next-steps li > span {
  flex: none; width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center;
  font-weight: 700; font-size: 0.9rem; color: #fff; background: rgba(56,189,248,0.12); border: 1px solid rgba(56,189,248,0.4);
}
.next-steps strong { display: block; color: #fff; font-weight: 650; }
.next-steps small { display: block; color: var(--muted-on-dark); font-size: 0.9rem; }
.contact-meta { list-style: none; padding: 24px 0 0; margin: 0; display: grid; gap: 12px; border-top: 1px solid var(--line-dark); }
.contact-meta li { display: flex; align-items: center; gap: 12px; color: #c8d3e3; font-size: 0.95rem; }
.contact-meta .icon { color: #7dd3fc; }
.contact-meta a { color: #fff; }

.contact-form {
  background: var(--paper); color: var(--ink); border-radius: 20px; padding: 36px;
  box-shadow: var(--shadow-lg); display: grid; gap: 18px;
}
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field { display: grid; gap: 7px; border: 0; padding: 0; margin: 0; min-width: 0; }
.field label, .field legend { font-size: 0.86rem; font-weight: 600; color: var(--ink-2); padding: 0; }
.field legend { margin-bottom: 9px; }
.req { color: #e11d48; }
.field input, .field select, .field textarea {
  width: 100%; font: inherit; font-size: 0.96rem; color: var(--ink);
  padding: 12px 14px; border-radius: 10px; border: 1px solid #d5dce7; background: #fbfcfe;
  transition: border-color .15s, box-shadow .15s, background-color .15s;
}
.field textarea { resize: vertical; min-height: 120px; }
.field select { appearance: none; -webkit-appearance: none; padding-right: 38px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1.5 6 6.5 11 1.5' fill='none' stroke='%2364748b' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 14px center; }
.field input:hover, .field select:hover, .field textarea:hover { border-color: #b9c4d6; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--sky-600); background: #fff; box-shadow: 0 0 0 4px rgba(2,132,199,0.12); }
.field .invalid, .field input.invalid, .field textarea.invalid { border-color: #e11d48; box-shadow: 0 0 0 4px rgba(225,29,72,0.08); }

.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip-check { position: relative; cursor: pointer; }
.chip-check input { position: absolute; opacity: 0; pointer-events: none; }
.chip-check span {
  display: inline-flex; align-items: center; padding: 9px 14px; border-radius: 999px; font-size: 0.88rem; font-weight: 500;
  border: 1px solid #d5dce7; background: #fbfcfe; color: var(--ink-2); transition: all .15s;
}
.chip-check:hover span { border-color: #b9c4d6; }
.chip-check input:checked + span { border-color: var(--indigo); background: rgba(99,102,241,0.08); color: #4338ca; box-shadow: inset 0 0 0 1px var(--indigo); }
.chip-check input:focus-visible + span { outline: 2px solid var(--sky); outline-offset: 2px; }

.hp { position: absolute !important; left: -10000px !important; width: 1px; height: 1px; overflow: hidden; }
.form-status { min-height: 1.2em; font-size: 0.93rem; font-weight: 500; text-align: center; }
.form-status.ok { color: #047857; }
.form-status.err { color: #be123c; }
.form-note { font-size: 0.8rem; color: var(--ink-3); text-align: center; margin-top: -8px; }
.form-success { text-align: center; padding: 40px 12px; display: grid; gap: 12px; justify-items: center; }
.form-success .badge { width: 60px; height: 60px; border-radius: 50%; display: grid; place-items: center; background: rgba(16,185,129,0.12); color: #059669; }
.form-success .badge .icon { width: 30px; height: 30px; stroke-width: 2.6; }
.form-success h3 { font-size: 1.4rem; }
.form-success p { color: var(--ink-3); max-width: 380px; }

/* Footer */
.site-footer { background: var(--navy-950); color: var(--muted-on-dark); padding: 72px 0 28px; border-top: 1px solid var(--line-dark); }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.2fr; gap: 40px; }
.footer-brand p { margin-top: 16px; max-width: 320px; font-size: 0.93rem; }
.site-footer h4 { color: #fff; font-size: 0.9rem; font-weight: 650; margin-bottom: 14px; letter-spacing: 0; }
.site-footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; font-size: 0.93rem; }
.site-footer a { color: var(--muted-on-dark); }
.site-footer a:hover { color: #fff; }
.footer-bottom { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; margin-top: 56px; padding-top: 24px; border-top: 1px solid var(--line-dark); font-size: 0.84rem; }

/* Simple content pages (privacy, thanks, 404) */
.page-hero { background: var(--navy-900); color: var(--text-on-dark); margin-top: calc(var(--header-h) * -1); padding: calc(var(--header-h) + 64px) 0 56px; position: relative; overflow: hidden; }
.page-hero h1 { font-size: clamp(2rem, 4vw, 2.8rem); color: #fff; letter-spacing: -0.03em; margin-top: 10px; }
.page-hero p { color: var(--muted-on-dark); margin-top: 10px; }
.prose { max-width: 760px; padding: 64px 24px 96px; }
.prose h2 { font-size: 1.35rem; margin: 36px 0 10px; }
.prose p, .prose li { color: var(--ink-2); }
.prose p { margin-bottom: 12px; }
.prose ul { padding-left: 22px; margin: 0 0 12px; }
.center-page { min-height: 70vh; display: grid; place-items: center; text-align: center; background: var(--navy-900); color: var(--text-on-dark); margin-top: calc(var(--header-h) * -1); padding: calc(var(--header-h) + 40px) 24px 60px; }
.center-page h1 { font-size: clamp(2.2rem, 5vw, 3.4rem); color: #fff; margin: 12px 0; letter-spacing: -0.03em; }
.center-page p { color: var(--muted-on-dark); max-width: 520px; margin: 0 auto 28px; }

/* Reveal on scroll */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .7s ease, transform .7s ease; }
.reveal.delay-1 { transition-delay: 60ms; }
.reveal.delay-2 { transition-delay: 120ms; }
.reveal.delay-3 { transition-delay: 180ms; }
.reveal.delay-4 { transition-delay: 240ms; }
.reveal.in { opacity: 1; transform: none; }
.no-js .reveal { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; transform: none; transition: none; } }

/* ---------- Responsive ---------- */
@media (max-width: 1100px) {
  .lifecycle { grid-template-columns: repeat(3, 1fr); }
  .lifecycle::before { display: none; }
  .tiers { grid-template-columns: repeat(2, 1fr); }
  .tier-featured { transform: none; }
}
@media (max-width: 960px) {
  .nav-toggle { display: inline-flex; }
  .nav-links {
    position: fixed; top: var(--header-h); left: 0; right: 0; z-index: 60;
    flex-direction: column; align-items: stretch; gap: 2px;
    padding: 14px 20px 22px; background: var(--navy-900); border-bottom: 1px solid var(--line-dark-strong);
    box-shadow: 0 24px 48px rgba(0, 0, 0, 0.75);
    transform: translateY(-8px); opacity: 0; visibility: hidden; transition: all .2s ease;
  }
  .nav-links.open { transform: none; opacity: 1; visibility: visible; }
  .nav-links a:not(.btn) { padding: 12px 10px; font-size: 1rem; }
  .nav-cta { margin: 10px 0 0; }
  .hero { padding-bottom: 96px; }
  .hero-grid { grid-template-columns: 1fr; gap: 72px; }
  .hero-visual { max-width: 560px; margin: 0 auto; width: 100%; }
  .service-grid { grid-template-columns: 1fr; max-width: 640px; }
  .principles { grid-template-columns: repeat(2, 1fr); }
  .strip-grid { grid-template-columns: repeat(2, 1fr); }
  .strip-grid > div:nth-child(3) { border-left: 0; padding-left: 0; }
  .strip-grid > div:nth-child(n+3) { border-top: 1px solid var(--line-dark); }
  .faq-wrap, .contact-grid { grid-template-columns: 1fr; gap: 40px; }
  .faq-wrap .section-head { position: static; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 680px) {
  .section { padding: 76px 0; }
  .container { padding: 0 20px; }
  .lifecycle, .tiers, .cases, .principles { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .contact-form { padding: 26px 20px; }
  .strip-grid { grid-template-columns: 1fr; }
  .strip-grid > div { border-left: 0 !important; padding-left: 0 !important; border-top: 1px solid var(--line-dark); padding: 18px 0; }
  .strip-grid > div:first-child { border-top: 0; }
  .fc-1 { right: 6px; top: -34px; }
  .fc-2 { left: 6px; bottom: -36px; }
  .phase-list li { grid-template-columns: 34px 1fr; }
  .phase-list .tag { display: none; }
  .footer-grid { grid-template-columns: 1fr; }
  .hero-actions .btn { width: 100%; }
}
