/* InfraKeeper — Landing page
   Brand palette from logos/: teal #0E7C66 / #14B8A6, ink #0F2E29. Mobile-first, no framework. */
:root {
  --primary: #0E7C66;
  --primary-600: #0b6553;
  --accent: #14B8A6;
  --ink: #0F2E29;
  --ink-soft: #3a5751;
  --muted: #5d736d;
  --bg: #ffffff;
  --bg-alt: #F3F7F6;
  --tint: #E7F6F3;
  --line: #DDE7E4;
  --warn: #B4400F;
  --warn-bg: #FDF0E8;
  --ok: #15803D;
  --amber: #B45309;
  --danger: #B91C1C;
  --radius: 16px;
  --radius-sm: 10px;
  --shadow-sm: 0 1px 2px rgba(15, 46, 41, .06), 0 1px 3px rgba(15, 46, 41, .08);
  --shadow-md: 0 10px 30px rgba(15, 46, 41, .10);
  --shadow-lg: 0 24px 60px rgba(15, 46, 41, .18);
  --font: 'Segoe UI', system-ui, -apple-system, 'Helvetica Neue', Arial, sans-serif;
  --header-h: 64px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 12px); -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font);
  font-size: 1rem;
  color: var(--ink);
  background: var(--bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
h1, h2, h3 { line-height: 1.15; letter-spacing: -0.02em; margin: 0 0 .5em; color: var(--ink); }
h3 { font-size: 1.08rem; letter-spacing: -0.01em; }
p { margin: 0 0 1rem; color: var(--ink-soft); }
a { color: var(--primary); text-decoration: none; }
img { max-width: 100%; height: auto; display: block; }
ul, ol { margin: 0; padding: 0; list-style: none; }

.i {
  width: 22px; height: 22px; flex: none;
  fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round;
}

/* Focus: always visible for keyboard users */
:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; border-radius: 6px; }

.skip-link {
  position: absolute; left: 1rem; top: -100px; z-index: 100;
  background: var(--ink); color: #fff; padding: .7rem 1rem; border-radius: 8px; font-weight: 600;
}
.skip-link:focus { top: 1rem; }

.container { width: 100%; max-width: 1160px; margin: 0 auto; padding: 0 16px; }
.container-narrow { max-width: 820px; }

.eyebrow {
  display: inline-block;
  font-size: .76rem; font-weight: 700; text-transform: uppercase; letter-spacing: .1em;
  color: var(--primary); background: var(--tint);
  padding: .35rem .8rem; border-radius: 999px; margin: 0 0 1rem;
}
.eyebrow-warn { color: var(--warn); background: var(--warn-bg); }
.eyebrow-dark { color: #9FF0E2; background: rgba(20, 184, 166, .16); }

.section { padding: 4rem 0; }
.section-alt { background: var(--bg-alt); }
.section-head { max-width: 740px; margin: 0 auto 2.5rem; text-align: center; }
.section-head h2 { font-size: clamp(1.75rem, 4.2vw, 2.6rem); }
.section-head p { font-size: 1.06rem; max-width: 65ch; margin-left: auto; margin-right: auto; }
.sr-only {
  position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0;
}
.btn:active { transform: translateY(0); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
  font: inherit; font-weight: 600; font-size: 1rem; line-height: 1.2;
  padding: .8rem 1.35rem; min-height: 44px;
  border-radius: 12px; border: 1.5px solid transparent; cursor: pointer;
  transition: transform .15s ease, box-shadow .2s ease, background-color .2s ease, border-color .2s ease, color .2s ease;
}
.btn .i { width: 18px; height: 18px; }
.btn-sm { padding: .55rem 1rem; font-size: .95rem; }
.btn-lg { padding: .95rem 1.6rem; font-size: 1.05rem; }
.btn-primary { background: var(--primary); color: #fff; box-shadow: 0 8px 20px rgba(14, 124, 102, .28); }
.btn-primary:hover { background: var(--primary-600); transform: translateY(-1px); box-shadow: 0 12px 26px rgba(14, 124, 102, .34); }
.btn-ghost { background: #fff; color: var(--ink); border-color: var(--line); }
.btn-ghost:hover { border-color: var(--primary); color: var(--primary); }
.btn-light { background: #fff; color: var(--primary); }
.btn-light:hover { transform: translateY(-1px); box-shadow: var(--shadow-md); }
.btn-outline-light { color: #fff; border-color: rgba(255, 255, 255, .6); background: transparent; }
.btn-outline-light:hover { background: rgba(255, 255, 255, .12); border-color: #fff; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255, 255, 255, .9);
  -webkit-backdrop-filter: saturate(160%) blur(10px);
  backdrop-filter: saturate(160%) blur(10px);
  border-bottom: 1px solid transparent;
  transition: border-color .2s ease, box-shadow .2s ease;
}
.site-header.scrolled { border-bottom-color: var(--line); box-shadow: 0 4px 18px rgba(15, 46, 41, .06); }
.nav { display: flex; align-items: center; height: var(--header-h); gap: .75rem; }
.brand { display: inline-flex; align-items: center; margin-right: auto; }
.brand img { height: 38px; width: auto; }
.nav-tools { display: flex; align-items: center; gap: .5rem; }
.header-cta { display: none; }
.nav-toggle {
  display: inline-flex; align-items: center; justify-content: center;
  width: 44px; height: 44px; border-radius: 10px;
  background: #fff; border: 1px solid var(--line); color: var(--ink); cursor: pointer;
}
.nav-toggle:hover { border-color: var(--primary); color: var(--primary); }
.nav-toggle .i-close { display: none; }
.nav-toggle[aria-expanded="true"] .i-open { display: none; }
.nav-toggle[aria-expanded="true"] .i-close { display: block; }
.nav-links {
  display: none;
  position: absolute; left: 0; right: 0; top: var(--header-h);
  flex-direction: column; align-items: stretch; gap: .25rem;
  padding: .75rem 16px 1.25rem;
  max-height: calc(100vh - var(--header-h)); overflow-y: auto;
  background: #fff; border-bottom: 1px solid var(--line); box-shadow: var(--shadow-md);
}
.nav-links.open { display: flex; }
.nav-links .link { color: var(--ink); font-weight: 600; padding: .75rem .25rem; border-bottom: 1px solid var(--line); }
.nav-links .link:hover, .nav-links .link.active { color: var(--primary); }
.nav-links .btn { margin-top: .6rem; }
.lang-switch { display: inline-flex; gap: 2px; padding: 2px; border: 1px solid var(--line); border-radius: 10px; background: #fff; }
.lang-btn {
  font: inherit; font-size: .8rem; font-weight: 700; letter-spacing: .04em;
  min-width: 40px; min-height: 38px; padding: .25rem .5rem;
  border: 0; background: transparent; color: var(--muted);
  border-radius: 8px; cursor: pointer;
}
.lang-btn:hover { color: var(--primary); }
.lang-btn.active { color: #fff; background: var(--primary); }

@media (min-width: 1140px) {
  :root { --header-h: 72px; }
  .nav { gap: 1.25rem; }
  .nav-toggle, .menu-only { display: none !important; }
  .header-cta { display: inline-flex; }
  .nav-tools { order: 2; }
  .nav-links {
    order: 1;
    display: flex; position: static; flex-direction: row; align-items: center; gap: 1.1rem;
    padding: 0; max-height: none; overflow: visible; background: transparent; border: 0; box-shadow: none;
  }
  .nav-links .link {
    padding: .35rem 0; border: 0; font-weight: 500; font-size: .93rem; color: var(--ink-soft);
    box-shadow: inset 0 -2px 0 transparent; transition: color .15s ease, box-shadow .15s ease;
  }
  .nav-links .link:hover { color: var(--primary); }
  .nav-links .link.active { color: var(--primary); box-shadow: inset 0 -2px 0 var(--accent); }
  .nav-links .btn { margin-top: 0; }
  .lang-btn { min-width: 36px; min-height: 32px; font-size: .76rem; }
}

/* ---------- Hero ---------- */
.hero {
  position: relative; overflow: hidden;
  padding: 2.75rem 0 2.5rem;
  background:
    radial-gradient(900px 480px at 92% -10%, rgba(20, 184, 166, .18), transparent 60%),
    radial-gradient(700px 420px at -10% 110%, rgba(14, 124, 102, .10), transparent 60%),
    #fff;
}
.hero::before { /* faint blueprint grid */
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background-image: linear-gradient(rgba(14, 124, 102, .05) 1px, transparent 1px), linear-gradient(90deg, rgba(14, 124, 102, .05) 1px, transparent 1px);
  background-size: 44px 44px;
  -webkit-mask-image: linear-gradient(180deg, #000, transparent 80%);
  mask-image: linear-gradient(180deg, #000, transparent 80%);
}
.hero-grid { position: relative; display: grid; grid-template-columns: minmax(0, 1fr); gap: 2.5rem; align-items: center; }
.hero-grid > * { min-width: 0; }
.hero h1 { font-size: clamp(2.1rem, 7.5vw, 3.6rem); font-weight: 800; letter-spacing: -0.03em; margin-bottom: .45em; }
.grad {
  background: linear-gradient(90deg, var(--primary), #0f9f88 55%, var(--accent));
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.hero .lead { font-size: 1.1rem; max-width: 600px; }
.hero-cta { display: flex; flex-wrap: wrap; gap: .75rem; margin: 1.6rem 0 1.25rem; }
.hero-cta .btn { flex: 1 1 auto; }
.hero-points { display: grid; gap: .45rem; color: var(--ink-soft); font-size: .95rem; }
.hero-points li { display: flex; align-items: center; gap: .5rem; }
.hero-points .i { width: 18px; height: 18px; color: var(--primary); stroke-width: 2.5; }

@media (min-width: 640px) {
  .hero-cta .btn { flex: 0 0 auto; }
  .hero-points { display: flex; flex-wrap: wrap; gap: .5rem 1.4rem; }
}
@media (min-width: 961px) {
  .hero { padding: 4.5rem 0 3rem; }
  .hero-grid { grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); gap: 3.5rem; }
}

/* Hero visual (mock product UI) */
.hero-visual { position: relative; padding: 0 0 3.5rem; max-width: 560px; width: 100%; margin: 0 auto; }
.mock { background: #fff; border: 1px solid var(--line); border-radius: 18px; box-shadow: var(--shadow-lg); overflow: hidden; }
.mock-bar { display: flex; align-items: center; gap: .4rem; padding: .7rem 1rem; background: var(--bg-alt); border-bottom: 1px solid var(--line); }
.mock-bar .dot { width: 10px; height: 10px; border-radius: 50%; background: #d3dedb; }
.mock-title { margin-left: .5rem; font-size: .78rem; font-weight: 600; color: var(--muted); }
.mock-body { padding: 1rem; }
.kpi-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: .6rem; margin-bottom: .9rem; }
.kpi { background: var(--bg-alt); border-radius: 12px; padding: .65rem .7rem; }
.kpi .label { font-size: .68rem; color: var(--muted); line-height: 1.25; min-height: 2.5em; }
.kpi .value { font-size: 1.35rem; font-weight: 800; color: var(--ink); }
.kpi .value.teal { color: var(--primary); }
.kpi .value.amber { color: var(--amber); }
.rows { display: grid; gap: .45rem; }
.r { display: flex; align-items: center; gap: .55rem; padding: .55rem .65rem; border: 1px solid var(--line); border-radius: 10px; font-size: .8rem; }
.r .grow { flex: 1; min-width: 0; color: var(--ink); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.folio { font-family: ui-monospace, 'Cascadia Mono', Consolas, monospace; font-size: .72rem; color: var(--muted); }
.health { width: 10px; height: 10px; border-radius: 50%; flex: none; }
.health-g { background: #22C55E; } .health-y { background: #F59E0B; } .health-r { background: #EF4444; }
.pill { font-size: .68rem; font-weight: 700; padding: .2rem .5rem; border-radius: 999px; white-space: nowrap; }
.pill-g { color: var(--ok); background: #DCFCE7; }
.pill-y { color: var(--amber); background: #FEF3C7; }
.pill-r { color: var(--danger); background: #FEE2E2; }

.phone {
  position: absolute; right: -4px; bottom: 0; width: 46%; max-width: 210px;
  background: #fff; border: 6px solid var(--ink); border-radius: 26px; padding: .9rem .75rem .8rem;
  box-shadow: var(--shadow-lg);
}
.phone-notch { width: 40%; height: 6px; background: var(--ink); border-radius: 0 0 6px 6px; margin: -.9rem auto .6rem; }
.phone-head { font-size: .75rem; font-weight: 700; color: var(--ink); margin-bottom: .45rem; }
.phone-list { display: grid; gap: .35rem; }
.phone-list li { display: flex; align-items: center; gap: .4rem; font-size: .7rem; color: var(--ink-soft); }
.phone-list .cb { width: 13px; height: 13px; border-radius: 4px; border: 1.5px solid #b8c8c3; flex: none; }
.phone-list li.done .cb { background: var(--primary) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E") center/9px no-repeat; border-color: var(--primary); }
.phone-photos { display: grid; grid-template-columns: repeat(3, 1fr); gap: .3rem; margin-top: .6rem; }
.phone-photos span { aspect-ratio: 1; border-radius: 6px; background: linear-gradient(135deg, #9fd8cc, #3aa892); }
.phone-photos span:nth-child(2) { background: linear-gradient(135deg, #c7d7d3, #6f8f88); }
.phone-photos .add { background: var(--bg-alt); border: 1.5px dashed #b8c8c3; display: grid; place-items: center; color: var(--muted); font-weight: 700; }

.toast-mock {
  position: absolute; left: -4px; bottom: 1.25rem; display: flex; align-items: center; gap: .6rem;
  background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: .6rem .85rem .6rem .6rem;
  box-shadow: var(--shadow-md); max-width: 52%;
}
.toast-mock strong { display: block; font-size: .78rem; color: var(--ink); line-height: 1.25; }
.toast-mock small { font-size: .7rem; color: var(--muted); }
.toast-ic { width: 32px; height: 32px; border-radius: 50%; background: #DCFCE7; color: var(--ok); display: grid; place-items: center; flex: none; }
.toast-ic .i { width: 18px; height: 18px; stroke-width: 3; }

@media (prefers-reduced-motion: no-preference) {
  .phone { animation: float 6s ease-in-out infinite; }
  .toast-mock { animation: float 6s ease-in-out -3s infinite; }
  @keyframes float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-6px); } }
}

/* Audience strip */
.audience {
  position: relative; margin-top: 2.25rem; display: grid; gap: .6rem;
  padding: 1rem; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow-sm);
}
.audience li { display: flex; align-items: center; gap: .65rem; font-weight: 600; color: var(--ink); font-size: .95rem; }
.audience .i { color: var(--primary); }
@media (min-width: 761px) {
  .audience { grid-template-columns: repeat(3, 1fr); padding: 1.1rem 1.4rem; }
  .audience li + li { border-left: 1px solid var(--line); padding-left: 1.2rem; }
}

/* ---------- Generic icon tile ---------- */
.ic {
  display: inline-grid; place-items: center; width: 44px; height: 44px; border-radius: 12px;
  background: var(--tint); color: var(--primary); flex: none;
}
.ic-light { background: rgba(255, 255, 255, .14); color: #fff; }

/* ---------- Problem -> solution pairs ---------- */
.pairs-head { display: none; }
.pairs { display: grid; gap: 1rem; }
.pair {
  display: grid; grid-template-columns: 1fr; gap: .5rem; align-items: stretch;
  scroll-margin-top: calc(var(--header-h) + 16px);
}
.pair-pain, .pair-fix {
  display: flex; gap: .9rem; align-items: flex-start; padding: 1.1rem 1.2rem;
  border-radius: var(--radius); border: 1px solid var(--line); background: #fff; box-shadow: var(--shadow-sm);
}
.pair-pain { background: #fffaf6; border-color: rgba(180, 64, 15, .18); }
.pair-pain .ic { background: var(--warn-bg); color: var(--warn); flex: none; }
.pair-fix { border-color: #bfe3db; }
.pair-fix .ic { flex: none; }
.pair h3 { margin: 0 0 .3rem; font-size: 1.02rem; }
.pair p { margin: 0; font-size: .93rem; }
.pair-tag {
  display: inline-block; margin-bottom: .3rem; font-size: .7rem; font-weight: 800;
  letter-spacing: .08em; text-transform: uppercase;
}
.pair-pain .pair-tag { color: var(--warn); }
.pair-fix .pair-tag { color: var(--primary); }
.pair-arrow { display: flex; justify-content: center; color: var(--primary); }
.pair-arrow .i { width: 22px; height: 22px; transform: rotate(90deg); }
.pair:target .pair-fix { border-color: var(--accent); box-shadow: 0 0 0 3px rgba(20, 184, 166, .25), var(--shadow-md); }
@media (min-width: 900px) {
  .pairs-head {
    display: grid; grid-template-columns: 1fr 48px 1fr; margin-bottom: .6rem;
    font-size: .75rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase;
  }
  .pairs-head .ph-before { color: var(--warn); padding-left: 1.2rem; }
  .pairs-head .ph-after { color: var(--primary); padding-left: 1.2rem; }
  .pair { grid-template-columns: 1fr 48px 1fr; gap: 0; }
  .pair-arrow { align-items: center; }
  .pair-arrow .i { transform: none; }
  /* the column headers carry the labels on wide screens; keep them for screen readers */
  .pair-tag {
    position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden;
    clip: rect(0 0 0 0); white-space: nowrap; border: 0;
  }
}

.also {
  margin-top: 2rem; padding: 1.25rem; border-radius: var(--radius);
  background: var(--tint); border: 1px solid #c9ebe3;
}
.also h3 { font-size: .8rem; text-transform: uppercase; letter-spacing: .1em; color: var(--primary); margin-bottom: .8rem; }
.also ul { display: flex; flex-wrap: wrap; gap: .5rem; }
.also li {
  display: inline-flex; align-items: center; gap: .45rem; background: #fff; border: 1px solid #c9ebe3;
  padding: .45rem .8rem; border-radius: 999px; font-size: .9rem; font-weight: 600; color: var(--ink);
}
.also .i { width: 17px; height: 17px; color: var(--primary); }

/* ---------- How it works (dark) ---------- */
.section-dark {
  background:
    radial-gradient(800px 400px at 100% 0%, rgba(20, 184, 166, .22), transparent 60%),
    linear-gradient(180deg, #0F2E29, #0c2621);
  color: #fff;
}
.section-dark h2, .section-dark h3 { color: #fff; }
.section-dark p { color: #c4dad5; }
.steps { display: grid; gap: 1rem; counter-reset: none; }
.step {
  position: relative; padding: 1.4rem 1.25rem 1.25rem; border-radius: var(--radius);
  background: rgba(255, 255, 255, .05); border: 1px solid rgba(255, 255, 255, .12);
}
.step .n {
  display: grid; place-items: center; width: 42px; height: 42px; border-radius: 12px; margin-bottom: .9rem;
  font-weight: 800; font-size: 1.1rem; color: var(--ink); background: linear-gradient(135deg, #5eead4, var(--accent));
}
.step p { margin: 0; font-size: .95rem; }
@media (min-width: 640px) { .steps { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) {
  .steps { grid-template-columns: repeat(4, 1fr); }
  .step:not(:last-child)::after { /* connector arrow */
    content: ""; position: absolute; top: 2.15rem; right: -1rem; width: 1rem; height: 2px;
    background: rgba(94, 234, 212, .5);
  }
}

/* ---------- Two sides ---------- */
.sides { display: grid; gap: 1rem; }
.side { border-radius: var(--radius); padding: 1.5rem 1.25rem; border: 1px solid var(--line); background: #fff; box-shadow: var(--shadow-sm); }
.side header { display: flex; align-items: center; gap: .9rem; margin-bottom: 1.1rem; }
.side h3 { margin: 0; font-size: 1.3rem; }
.side-kicker { margin: 0 0 .15rem; font-size: .76rem; font-weight: 700; text-transform: uppercase; letter-spacing: .1em; color: var(--primary); }
.side-provider { border-top: 4px solid var(--primary); }
.side-customer { border-top: 4px solid var(--accent); }
.checks { display: grid; gap: .65rem; }
.checks li { position: relative; padding-left: 1.9rem; color: var(--ink-soft); }
.checks li::before {
  content: ""; position: absolute; left: 0; top: .2rem; width: 1.25rem; height: 1.25rem; border-radius: 50%;
  background: var(--tint) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230E7C66' stroke-width='3.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E") center/.75rem no-repeat;
}
@media (min-width: 761px) { .sides { grid-template-columns: 1fr 1fr; gap: 1.25rem; } .side { padding: 1.75rem; } }

.privacy {
  margin-top: 1.5rem; display: grid; gap: 1.75rem; align-items: center;
  padding: 1.75rem 1.25rem; border-radius: 20px; color: #fff;
  background: radial-gradient(600px 300px at 0% 0%, rgba(94, 234, 212, .14), transparent 60%), linear-gradient(135deg, #0b6553, #08473b);
  box-shadow: var(--shadow-md);
}
.privacy h3 { color: #fff; font-size: clamp(1.3rem, 3vw, 1.6rem); margin-top: .9rem; }
.privacy p { color: #d8efe9; margin: 0; }
.privacy-diagram { display: grid; grid-template-columns: 1fr 1fr; gap: .6rem; }
.node {
  display: flex; align-items: center; gap: .5rem; padding: .7rem .8rem; border-radius: 12px;
  background: rgba(255, 255, 255, .1); border: 1px solid rgba(255, 255, 255, .25); font-size: .88rem; font-weight: 600; color: #fff;
}
.node .i { width: 18px; height: 18px; }
.wall {
  grid-column: 1 / -1; text-align: center; font-size: .72rem; font-weight: 700; text-transform: uppercase; letter-spacing: .08em;
  color: #b9f5ea; border-top: 2px dashed rgba(255, 255, 255, .35); padding-top: .45rem;
}
.node-c { grid-column: 1 / -1; background: #fff; color: var(--ink); justify-content: center; text-align: center; }
.node-c .i { color: var(--primary); }
@media (min-width: 900px) {
  .privacy { grid-template-columns: 1.25fr 1fr; padding: 2.25rem 2.5rem; gap: 2.5rem; }
}

/* ---------- Industries ---------- */
.ind-grid { display: grid; grid-template-columns: 1fr 1fr; gap: .75rem; }
.ind {
  display: flex; align-items: center; gap: .75rem; padding: .9rem; border-radius: 14px;
  background: #fff; border: 1px solid var(--line); font-weight: 600; font-size: .92rem; line-height: 1.3; color: var(--ink);
}
.ind .ic { width: 40px; height: 40px; }
@media (max-width: 400px) { .ind-grid { grid-template-columns: 1fr; } }
@media (min-width: 900px) { .ind-grid { grid-template-columns: repeat(4, 1fr); gap: 1rem; } .ind { padding: 1.1rem; } }

/* ---------- FAQ ---------- */
.faq { display: grid; gap: .75rem; }
.faq details { background: #fff; border: 1px solid var(--line); border-radius: 14px; box-shadow: var(--shadow-sm); }
.faq details[open] { border-color: #bfe3db; }
.faq summary {
  list-style: none; cursor: pointer; position: relative;
  padding: 1rem 3rem 1rem 1.15rem; font-weight: 700; color: var(--ink); min-height: 44px;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: ""; position: absolute; right: 1.1rem; top: 50%; width: 10px; height: 10px; margin-top: -7px;
  border-right: 2.5px solid var(--primary); border-bottom: 2.5px solid var(--primary); transform: rotate(45deg);
  transition: transform .2s ease;
}
.faq details[open] summary::after { transform: rotate(-135deg); margin-top: -2px; }
.faq summary:focus-visible { border-radius: 14px; }
.faq details p { padding: 0 1.15rem 1.1rem; margin: 0; }

/* ---------- Final CTA ---------- */
.section-cta { padding-top: 1rem; }
.cta-band {
  text-align: center; color: #fff; border-radius: 24px; padding: 2.75rem 1.25rem;
  background:
    radial-gradient(500px 260px at 100% 0%, rgba(94, 234, 212, .18), transparent 60%),
    linear-gradient(135deg, #0b6553, #08473b);
  box-shadow: var(--shadow-lg);
}
.cta-band h2 { color: #fff; font-size: clamp(1.6rem, 4.5vw, 2.4rem); max-width: 760px; margin: 0 auto .6rem; }
.cta-band p { color: #d8efe9; max-width: 600px; margin: 0 auto 1.6rem; font-size: 1.06rem; }
.cta-actions { display: flex; flex-wrap: wrap; gap: .75rem; justify-content: center; }
.cta-band .cta-fine { margin: 1.25rem auto 0; font-size: .9rem; color: #cfe9e2; }
@media (min-width: 761px) { .cta-band { padding: 3.5rem 2rem; } }

/* ---------- Why InfraKeeper ---------- */
.why-grid { display: grid; gap: 1rem; }
.why {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 1.4rem 1.25rem; box-shadow: var(--shadow-sm);
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}
.why:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); border-color: #bfe3db; }
.why h3 { margin-top: .95rem; font-size: 1.12rem; }
.why p { margin: 0; font-size: .96rem; }
.ic-solid { background: linear-gradient(135deg, var(--primary), #0f9f88); color: #fff; box-shadow: 0 6px 14px rgba(14, 124, 102, .25); }
@media (min-width: 640px) { .why-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .why-grid { grid-template-columns: repeat(3, 1fr); gap: 1.25rem; } .why { padding: 1.6rem 1.5rem; } }

/* ---------- Comparison table ---------- */
.cmp-wrap {
  max-width: 980px; margin: 0 auto; overflow-x: auto; -webkit-overflow-scrolling: touch;
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow-sm);
}
.cmp-wrap:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; }
.cmp { width: 100%; border-collapse: separate; border-spacing: 0; font-size: .95rem; }
.cmp th, .cmp td { padding: .85rem 1rem; border-bottom: 1px solid var(--line); text-align: center; vertical-align: middle; }
.cmp tbody tr:last-child > * { border-bottom: 0; }
.cmp thead th {
  font-size: .78rem; font-weight: 700; letter-spacing: .04em; line-height: 1.3;
  color: var(--ink-soft); background: var(--bg-alt);
}
.cmp thead th.cmp-us { background: var(--primary); color: #fff; font-size: .9rem; letter-spacing: 0; }
.cmp tbody th { text-align: left; font-weight: 600; color: var(--ink); line-height: 1.35; }
.cmp .cmp-feat, .cmp tbody th { position: sticky; left: 0; z-index: 1; background: #fff; text-align: left; }
.cmp thead .cmp-feat { background: var(--bg-alt); }
.cmp td.cmp-us { background: var(--tint); }
.cmp thead th:not(.cmp-feat) { width: 17%; }
.cmp td.cmp-us .mk-y { background: var(--primary); color: #fff; }
.cmp tbody tr:hover > * { background-color: #fafcfb; }
.cmp tbody tr:hover > td.cmp-us { background-color: #dcf2ed; }
.mk { display: inline-grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; flex: none; }
.mk .i { width: 16px; height: 16px; stroke-width: 3; }
.mk-y { background: #DCFCE7; color: var(--ok); }
.mk-p { background: #FEF3C7; color: var(--amber); }
.mk-p .i { stroke-width: 2; }
.mk-n { background: #EEF2F1; color: #6b7f7a; }
.cmp-legend { max-width: 980px; margin: 1.1rem auto 0; text-align: center; }
.cmp-legend ul { display: flex; flex-wrap: wrap; justify-content: center; gap: .5rem 1.4rem; margin-bottom: .75rem; }
.cmp-legend li { display: inline-flex; align-items: center; gap: .45rem; font-size: .88rem; color: var(--ink-soft); }
.cmp-legend .mk { width: 24px; height: 24px; }
.cmp-legend .mk .i { width: 13px; height: 13px; }
.cmp-legend p { font-size: .85rem; color: var(--muted); max-width: 65ch; margin: 0 auto; }
@media (max-width: 640px) {
  .cmp { font-size: .84rem; }
  .cmp th, .cmp td { padding: .65rem .4rem; }
  .cmp tbody th { padding-left: .8rem; min-width: 9.5rem; }
  .cmp thead th { font-size: .68rem; letter-spacing: 0; }
  .cmp thead th.cmp-us { font-size: .72rem; }
  .mk { width: 26px; height: 26px; }
  .mk .i { width: 14px; height: 14px; }
}

/* ---------- Outcomes ---------- */
.out-grid { display: grid; gap: 1rem; }
.out {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 1.35rem 1.25rem; box-shadow: var(--shadow-sm);
}
.out h3 { margin-top: .9rem; }
.out p { margin: 0; font-size: .94rem; display: flex; gap: .6rem; align-items: baseline; }
.out p + p { margin-top: .55rem; }
.out-k {
  flex: none; min-width: 3.8rem; text-align: center;
  font-size: .7rem; font-weight: 800; text-transform: uppercase; letter-spacing: .06em;
  padding: .15rem .45rem; border-radius: 6px;
}
.out-before { color: var(--muted); }
.out-before .out-k { background: #EEF2F1; color: #52645f; }
.out-after { color: var(--ink); font-weight: 600; }
.out-after .out-k { background: var(--tint); color: var(--primary); }
@media (min-width: 640px) { .out-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .out-grid { grid-template-columns: repeat(3, 1fr); gap: 1.25rem; } }

/* ---------- Plans teaser ---------- */
.plans-band {
  display: grid; gap: 2rem; align-items: center;
  background: #fff; border: 1px solid var(--line); border-radius: 20px; box-shadow: var(--shadow-md);
  padding: 1.75rem 1.25rem;
}
.plans-copy h2 { font-size: clamp(1.6rem, 3.8vw, 2.3rem); }
.plans-copy > p { font-size: 1.05rem; max-width: 60ch; }
.plans-facts { display: grid; gap: .6rem; margin: 1.1rem 0 1.6rem; }
.plans-facts li { display: flex; gap: .6rem; align-items: flex-start; color: var(--ink-soft); font-size: .96rem; }
.plans-facts .i { width: 18px; height: 18px; margin-top: .2rem; color: var(--primary); stroke-width: 2.6; }
.plan-ladder { display: grid; gap: .6rem; }
.plan {
  display: flex; align-items: center; justify-content: space-between; gap: 1rem;
  padding: .9rem 1.1rem; border-radius: 14px; border: 1px solid var(--line); background: var(--bg-alt);
}
.plan:nth-child(2) { margin-left: 4%; }
.plan:nth-child(3) { margin-left: 8%; }
.plan:nth-child(4) { margin-left: 12%; }
.plan-name { font-weight: 700; color: var(--ink); }
.plan-cap { color: var(--ink-soft); font-size: .95rem; white-space: nowrap; }
.plan-cap strong { color: var(--primary); font-size: 1.15rem; }
.plan-free { background: var(--tint); border-color: #bfe3db; }
.plans-note { text-align: center; font-size: .88rem; color: var(--muted); margin: 1rem auto 0; max-width: 65ch; }
@media (min-width: 900px) {
  .plans-band { grid-template-columns: 1.15fr 1fr; padding: 2.5rem; gap: 3rem; }
}

/* ---------- Hidden slots (pricing table, testimonials) — rendered only when `hidden` is removed ---------- */
.price-grid { display: grid; gap: 1rem; }
.price-card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 1.5rem;
  box-shadow: var(--shadow-sm); display: flex; flex-direction: column; gap: .5rem;
}
.price-card-featured { border: 2px solid var(--primary); box-shadow: var(--shadow-md); }
.price { margin: 0; color: var(--ink); }
.price-amount { font-size: 2rem; font-weight: 800; }
.price-period, .price-cap { color: var(--muted); }
.price-card .btn { margin-top: auto; }
@media (min-width: 640px) { .price-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .price-grid { grid-template-columns: repeat(4, 1fr); } }
.logo-row { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 1.5rem 2.5rem; margin-bottom: 2rem; }
.logo-row img { height: 36px; width: auto; filter: grayscale(1); opacity: .75; }
.quote-grid { display: grid; gap: 1rem; }
.quote-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 1.5rem; box-shadow: var(--shadow-sm); }
.quote-card blockquote { margin: 0 0 1rem; }
.quote-card blockquote p { font-size: 1.05rem; color: var(--ink); }
.quote-who { margin: 0; display: flex; flex-direction: column; font-size: .9rem; }
@media (min-width: 900px) { .quote-grid { grid-template-columns: repeat(3, 1fr); } }

/* ---------- Sticky mobile CTA ---------- */
.mobile-cta {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 40;
  display: flex; align-items: center; justify-content: space-between; gap: .75rem;
  padding: .6rem 16px calc(.6rem + env(safe-area-inset-bottom, 0px));
  background: rgba(255, 255, 255, .97); border-top: 1px solid var(--line);
  box-shadow: 0 -6px 20px rgba(15, 46, 41, .08);
  transform: translateY(110%); visibility: hidden;
  transition: transform .25s ease, visibility 0s linear .25s;
}
.mobile-cta.show { transform: none; visibility: visible; transition: transform .25s ease, visibility 0s; }
.mobile-cta-text { font-size: .85rem; font-weight: 600; color: var(--ink-soft); line-height: 1.3; }
.mobile-cta .btn { flex: none; }
@media (min-width: 761px) { .mobile-cta { display: none; } }
@media (max-width: 760px) { .site-footer { padding-bottom: 5.5rem; } }

/* ---------- Footer ---------- */
.site-footer { background: var(--ink); color: #c4dad5; padding: 3rem 0 1.5rem; margin-top: 4rem; }
.footer-grid { display: grid; gap: 1.75rem; }
.footer-brand img { height: 40px; width: auto; margin-bottom: .75rem; }
.footer-brand p { color: #a9c4be; max-width: 360px; font-size: .95rem; margin: 0; }
.footer-nav, .footer-actions { display: flex; flex-direction: column; gap: .55rem; }
.footer-nav { display: grid; grid-template-columns: 1fr 1fr; gap: .55rem 1.25rem; align-content: start; }
.site-footer a { color: #e2f1ee; font-size: .95rem; padding: .15rem 0; }
.site-footer a:hover { color: #5eead4; }
.footer-bottom { margin-top: 2rem; padding-top: 1.25rem; border-top: 1px solid rgba(255, 255, 255, .1); }
.footer-bottom small { color: #8fb0a9; }
@media (min-width: 761px) { .footer-grid { grid-template-columns: 2fr 1fr 1fr; } }

/* ---------- Section rhythm on larger screens ---------- */
@media (min-width: 961px) { .section { padding: 5.5rem 0; } .section-head { margin-bottom: 3rem; } }

/* ---------- Reveal (only when JS opted in and motion allowed) ---------- */
.reveal-on .reveal { opacity: 0; transform: translateY(16px); transition: opacity .6s ease, transform .6s ease; }
.reveal-on .reveal.in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
}
