/* ==========================================================================
   GEARKITE marketing site — shared styles
   Brand colours taken from the GEARKITE logo:
     icon blue  #1B4599   wordmark navy  #232D6B
   ========================================================================== */

:root {
  --brand: #1b4599;          /* logo icon blue */
  --navy: #232d6b;           /* logo wordmark navy */
  --navy-deep: #111a45;      /* footer */
  --blue: #1d5bd8;           /* UI accent (buttons, links) */
  --blue-600: #174bb6;
  --blue-50: #eef4ff;
  --blue-100: #dce7fc;
  --ink: #131c45;            /* headings */
  --text: #3a4663;           /* body copy */
  --muted: #6a7792;
  --line: #e2e8f3;
  --bg-soft: #f4f7fd;
  --green: #16a34a;
  --amber: #c2700a;
  --red: #dc2626;
  --radius: 14px;
  --shadow: 0 18px 40px -20px rgba(20, 45, 110, .35);
  --shadow-sm: 0 4px 16px -10px rgba(20, 45, 110, .3);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 90px; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
}
body {
  margin: 0;
  font-family: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  color: var(--text);
  background: #fff;
  -webkit-font-smoothing: antialiased;
}
img, svg { display: block; max-width: 100%; }
a { color: var(--blue); text-decoration: none; }
a:hover { color: var(--blue-600); }
:focus-visible { outline: 3px solid rgba(29, 91, 216, .45); outline-offset: 2px; border-radius: 4px; }

h1, h2, h3, h4 { color: var(--ink); line-height: 1.15; margin: 0 0 .5em; letter-spacing: -.02em; }
h1 { font-size: clamp(2.2rem, 4.4vw, 3.4rem); font-weight: 800; }
h2 { font-size: clamp(1.7rem, 3vw, 2.35rem); font-weight: 800; }
h3 { font-size: 1.2rem; font-weight: 700; letter-spacing: -.01em; }
p { margin: 0 0 1em; }

.container { max-width: 1200px; margin: 0 auto; padding: 0 24px; }
.section { padding: 88px 0; }
.section-soft { background: var(--bg-soft); }
.section-head { max-width: 720px; margin-bottom: 48px; }
.section-head.center { text-align: center; margin-left: auto; margin-right: auto; }
.section-head p { color: var(--muted); font-size: 1.05rem; margin: 0; }
.eyebrow {
  display: inline-block; font-size: .76rem; font-weight: 700; letter-spacing: .14em;
  text-transform: uppercase; color: var(--blue); margin-bottom: 14px;
}
.lead { font-size: 1.12rem; max-width: 34em; }
.accent { color: var(--blue); }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

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

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  font-family: inherit; font-size: .95rem; font-weight: 600; line-height: 1;
  padding: 15px 24px; border-radius: 8px; border: 1.5px solid transparent;
  cursor: pointer; white-space: nowrap; transition: background .2s, color .2s, border-color .2s, transform .2s, box-shadow .2s;
}
.btn .icon { width: 18px; height: 18px; }
.btn:hover { transform: translateY(-1px); }
.btn-primary { background: var(--blue); color: #fff; box-shadow: 0 10px 22px -10px rgba(29, 91, 216, .7); }
.btn-primary:hover { background: var(--blue-600); color: #fff; }
.btn-outline { background: #fff; color: var(--blue); border-color: var(--blue); }
.btn-outline:hover { background: var(--blue-50); color: var(--blue); }
.btn-navy { background: var(--navy); color: #fff; }
.btn-navy:hover { background: #1a2256; color: #fff; }
.btn-white { background: #fff; color: var(--blue); }
.btn-white:hover { background: var(--blue-50); color: var(--blue); }
.btn-ghost { color: #fff; border-color: rgba(255, 255, 255, .7); }
.btn-ghost:hover { background: rgba(255, 255, 255, .1); color: #fff; }
.btn-sm { padding: 11px 18px; font-size: .88rem; }
.btn-block { width: 100%; }
.link-arrow { display: inline-flex; align-items: center; gap: 6px; font-weight: 600; font-size: .9rem; }
.link-arrow .icon { width: 16px; height: 16px; transition: transform .2s; }
.link-arrow:hover .icon { transform: translateX(3px); }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255, 255, 255, .97); backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
}
.site-header.scrolled { box-shadow: 0 6px 24px -18px rgba(20, 45, 110, .5); }
.nav-wrap { display: flex; align-items: center; justify-content: space-between; height: 78px; }
.brand img { height: 36px; width: auto; }
.nav { display: flex; align-items: center; gap: 38px; }
.nav a { color: #3a4559; font-weight: 500; font-size: 1rem; position: relative; }
.nav a:hover { color: var(--blue); }
.nav a.active { color: var(--blue); }
.nav a.active::after { content: ""; position: absolute; left: 0; right: 0; bottom: -28px; height: 2px; background: var(--blue); }
.nav-divider { width: 1px; height: 26px; background: #d5dce8; margin: 0 -2px; }
.nav .btn-navy { color: #fff; font-weight: 700; padding: 13px 26px; }
.nav-toggle {
  display: none; background: none; border: 1px solid var(--line); border-radius: 8px;
  width: 44px; height: 44px; align-items: center; justify-content: center; color: var(--ink); cursor: pointer;
}
.nav-toggle .icon { width: 22px; height: 22px; }

@media (max-width: 900px) {
  .nav-toggle { display: inline-flex; }
  .nav {
    display: none; position: absolute; top: 78px; left: 0; right: 0;
    flex-direction: column; align-items: stretch; gap: 0;
    background: #fff; padding: 6px 24px 22px; border-bottom: 1px solid var(--line);
    box-shadow: 0 20px 30px -20px rgba(20, 45, 110, .35);
  }
  .nav.open { display: flex; }
  .nav a { padding: 15px 0; border-bottom: 1px solid var(--line); }
  .nav a.active::after { display: none; }
  .nav-divider { display: none; }
  .nav .btn-navy { margin-top: 16px; border-bottom: 0; }
}

/* ---------- Hero ---------- */
.hero {
  position: relative; overflow: hidden;
  background: linear-gradient(180deg, #f4f8ff 0%, #e9f1fd 100%);
  padding: 76px 0 80px;
}
.blueprint::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background-image:
    linear-gradient(rgba(29, 91, 216, .06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(29, 91, 216, .06) 1px, transparent 1px);
  background-size: 32px 32px;
  -webkit-mask-image: linear-gradient(100deg, transparent 25%, #000 75%);
          mask-image: linear-gradient(100deg, transparent 25%, #000 75%);
}
.hero-grid { position: relative; display: grid; grid-template-columns: 1fr 1.12fr; gap: 56px; align-items: center; }
.hero h1 { margin-bottom: 22px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 16px; margin: 32px 0 26px; }
.check-row { display: flex; flex-wrap: wrap; gap: 12px 28px; font-size: .88rem; color: var(--muted); }
.check-row span { display: inline-flex; align-items: center; gap: 8px; }
.tick {
  width: 18px; height: 18px; border-radius: 50%; background: var(--blue); color: #fff;
  display: inline-grid; place-items: center; flex: none;
}
.tick .icon { width: 11px; height: 11px; stroke-width: 3.5; }

.badges { display: flex; flex-wrap: wrap; gap: 18px 30px; margin-top: 34px; }
.badge { display: flex; align-items: center; gap: 11px; color: var(--ink); font-size: .9rem; font-weight: 500; line-height: 1.3; }
.badge .icon { width: 30px; height: 30px; color: var(--blue); stroke-width: 1.6; }

.page-hero { padding: 64px 0 70px; }
.page-hero .lead { color: var(--text); }
.breadcrumb { display: flex; gap: 10px; font-size: .9rem; color: var(--muted); margin-bottom: 18px; }
.breadcrumb a { color: var(--muted); }
.breadcrumb a:hover { color: var(--blue); }
.hero-art { position: relative; height: 260px; }
.hero-art svg { position: absolute; }

@media (max-width: 980px) {
  .hero-grid { grid-template-columns: 1fr; gap: 44px; }
  .hero { padding: 56px 0 64px; }
  .hero-art { height: 200px; }
}

/* ---------- App window mock-ups (styled HTML, no images) ---------- */
.win {
  background: #fff; border: 1px solid #d9e2f0; border-radius: 12px; overflow: hidden;
  box-shadow: 0 34px 60px -28px rgba(20, 50, 120, .42), 0 2px 6px rgba(20, 50, 120, .06);
  font-size: 11px; line-height: 1.4; color: #34405a; text-align: left;
}
.win-bar { display: flex; align-items: center; gap: 10px; padding: 9px 14px; background: #fbfcff; border-bottom: 1px solid #e8eef7; }
.win-dots { display: flex; gap: 5px; }
.win-dots i { width: 8px; height: 8px; border-radius: 50%; background: #ff5f57; }
.win-dots i:nth-child(2) { background: #febc2e; }
.win-dots i:nth-child(3) { background: #28c840; }
.win-logo { display: flex; align-items: center; gap: 6px; font-weight: 800; letter-spacing: .05em; color: var(--navy); font-size: 10.5px; }
.win-logo img { width: 14px; height: 14px; }
.win-tools { margin-left: auto; display: flex; gap: 6px; }
.win-tools i { width: 14px; height: 14px; border-radius: 4px; border: 1.5px solid #cdd7e7; }
.win-body { display: grid; grid-template-columns: 112px 1fr; }
.win-side { display: flex; flex-direction: column; gap: 2px; padding: 10px 8px; background: #fbfcff; border-right: 1px solid #eef2f8; }
.win-side span { display: flex; align-items: center; gap: 7px; padding: 6px 8px; border-radius: 6px; color: #5d6b84; font-size: 10px; white-space: nowrap; }
.win-side span::before { content: ""; width: 9px; height: 9px; flex: none; border-radius: 50%; border: 1.5px solid currentColor; opacity: .7; }
.win-side span.on { background: var(--blue-50); color: var(--blue); font-weight: 600; }
.win-side span.done::before { background: var(--blue); border-color: var(--blue); opacity: 1; }
.win-main { padding: 12px; display: grid; gap: 10px; min-width: 0; overflow: hidden; }
.cols { display: grid; gap: 10px; min-width: 0; }
.cols-2 { grid-template-columns: 1fr 1fr; }
.cols-21 { grid-template-columns: 1.5fr 1fr; }
.cols-12 { grid-template-columns: 1fr 1.4fr; }
.cols-3 { grid-template-columns: repeat(3, 1fr); }
.panel { border: 1px solid #e5ebf5; border-radius: 8px; padding: 9px 10px; background: #fff; min-width: 0; overflow: hidden; }
.panel-h { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin-bottom: 7px; font-weight: 700; color: var(--ink); font-size: 10.5px; }
.kv { width: 100%; border-collapse: collapse; }
.kv th, .kv td { padding: 4px 6px; text-align: left; border-bottom: 1px solid #eff3f9; white-space: nowrap; }
.kv th { background: #f6f8fd; color: #76839a; font-size: 9.5px; font-weight: 600; }
.kv .r { text-align: right; }
.kv tr:last-child td { border-bottom: 0; }
.kv tr.sel td { background: var(--blue-50); color: var(--blue); font-weight: 600; }
.ok { color: var(--green); font-weight: 700; }
.run { color: var(--blue); font-weight: 600; }
.pill-btn { display: inline-block; background: var(--blue); color: #fff; border-radius: 5px; padding: 6px 14px; font-weight: 600; font-size: 10px; text-align: center; }
.pill-btn.full { display: block; }
.tabs-mini { display: flex; gap: 4px; flex-wrap: wrap; }
.tabs-mini span { padding: 3px 9px; border-radius: 5px; background: #f1f4fa; color: #6a7891; font-size: 9.5px; font-weight: 500; }
.tabs-mini span.on { background: var(--blue); color: #fff; }
.field { display: flex; justify-content: space-between; gap: 8px; padding: 5px 8px; margin-bottom: 5px; border: 1px solid #e1e8f2; border-radius: 5px; }
.field b { color: var(--ink); font-weight: 600; }
.field.sel b::after { content: " ▾"; color: #94a2b8; }
.chk { display: flex; align-items: center; gap: 6px; padding: 3px 0; }
.chk::before { content: "✓"; display: grid; place-items: center; width: 12px; height: 12px; border-radius: 3px; background: var(--blue); color: #fff; font-size: 8px; font-weight: 700; }
.validated { display: flex; align-items: center; gap: 6px; margin-top: 7px; padding: 6px 8px; border-radius: 6px; background: #ecfdf3; border: 1px solid #bbf0cf; color: #15803d; font-weight: 600; }
.stage { display: grid; place-items: center; min-height: 120px; border-radius: 8px; background: radial-gradient(circle at 50% 38%, #f7faff, #e8eef9); overflow: hidden; }
.stage.flat { background: #fbfcff; border: 1px dashed #d8e1ef; }
.stage svg { width: 88%; height: auto; }
.progress { height: 6px; background: #e7edf7; border-radius: 99px; overflow: hidden; }
.progress i { display: block; height: 100%; width: 36%; background: var(--blue); border-radius: 99px; animation: grow 6s ease-in-out infinite alternate; }
@keyframes grow { from { width: 22%; } to { width: 70%; } }
.export-row { display: flex; align-items: center; gap: 9px; padding: 8px; margin-bottom: 6px; border: 1px solid #e5ebf5; border-radius: 7px; }
.ftag { width: 22px; height: 22px; border-radius: 5px; display: grid; place-items: center; color: #fff; font-size: 8px; font-weight: 800; }
.ftag.x { background: #1f7a45; } .ftag.p { background: #d23b2f; } .ftag.c { background: var(--blue); }
.fmt { display: flex; gap: 6px; justify-content: center; margin-top: 8px; }
.fmt span { padding: 4px 10px; border: 1.5px solid var(--blue-100); border-radius: 5px; color: var(--blue); font-weight: 700; font-size: 9.5px; }
.steps-mini { display: flex; gap: 4px; margin-bottom: 8px; }
.steps-mini span { flex: 1; text-align: center; padding: 5px 4px; border-radius: 5px; background: #f1f4fa; color: #6a7891; font-size: 9.5px; font-weight: 600; }
.steps-mini span.done { background: var(--blue-50); color: var(--blue); }
.steps-mini span.on { background: var(--blue); color: #fff; }

/* Gear SVG rendering (see main.js) */
.spin { animation: spin var(--dur, 40s) linear infinite; transform-box: fill-box; transform-origin: center; }
.spin.rev { animation-direction: reverse; }
@keyframes spin { to { transform: rotate(360deg); } }

/* Hero stacked windows */
.stack { position: relative; padding: 16px 0 26px; }
.stack .win-front { position: relative; z-index: 2; width: 86%; margin: 0 auto; }
.stack .win-back { position: absolute; z-index: 1; width: 44%; top: 46px; opacity: .92; }
.stack .win-back.l { left: -3%; }
.stack .win-back.r { right: -4%; }
.stack .win-back .win-main { padding: 8px; }
@media (max-width: 640px) {
  .stack .win-back { display: none; }
  .stack .win-front { width: 100%; }
  .win-body { grid-template-columns: 1fr; }
  .win-side { display: none; }
  .cols-2, .cols-21, .cols-12, .cols-3 { grid-template-columns: 1fr; }
}

/* ---------- Feature strip ---------- */
.strip { background: #fff; border-bottom: 1px solid var(--line); }
.strip-grid { display: grid; grid-template-columns: repeat(6, 1fr); }
.strip-item { text-align: center; padding: 34px 12px; color: var(--ink); font-weight: 500; font-size: .95rem; line-height: 1.35; position: relative; }
.strip-item + .strip-item::before { content: ""; position: absolute; left: 0; top: 26px; bottom: 26px; width: 1px; background: var(--line); }
.strip-item .icon { width: 34px; height: 34px; margin: 0 auto 14px; color: var(--blue); stroke-width: 1.6; }
@media (max-width: 980px) {
  .strip-grid { grid-template-columns: repeat(3, 1fr); }
  .strip-item:nth-child(4)::before { display: none; }
}
@media (max-width: 560px) {
  .strip-grid { grid-template-columns: repeat(2, 1fr); }
  .strip-item::before { display: none; }
  .strip-item { padding: 24px 10px; }
}

/* ---------- Split layouts ---------- */
.split { display: grid; grid-template-columns: 1fr 1.1fr; gap: 64px; align-items: center; }
.split.flip > :first-child { order: 2; }
.checks { list-style: none; padding: 0; margin: 22px 0 30px; display: grid; gap: 11px; }
.checks li { display: flex; align-items: flex-start; gap: 11px; color: var(--text); }
.checks li .tick { margin-top: 3px; }
.checks.two { grid-template-columns: 1fr 1fr; gap: 13px 26px; }
.checks.plain .icon { width: 18px; height: 18px; color: var(--green); margin-top: 3px; stroke-width: 2.6; }
.mock-wrap { position: relative; }
.float-badge {
  position: absolute; z-index: 3; display: flex; align-items: center; gap: 12px;
  max-width: 230px; padding: 13px 16px; background: #fff; border: 1px solid var(--line); border-radius: 12px;
  box-shadow: var(--shadow); color: var(--blue); font-size: .84rem; font-weight: 600; line-height: 1.3;
}
.float-badge .icon { width: 28px; height: 28px; stroke-width: 1.7; }
.fb-tr { top: -18px; right: -18px; }
.fb-br { bottom: -34px; right: -18px; }
.fb-bl { bottom: -34px; left: -18px; }
@media (max-width: 980px) {
  .split, .split.flip { grid-template-columns: 1fr; gap: 44px; }
  .split.flip > :first-child { order: 0; }
  .float-badge { position: static; margin-top: 18px; max-width: none; display: inline-flex; }
}
@media (max-width: 560px) { .checks.two { grid-template-columns: 1fr; } }

/* ---------- Cards ---------- */
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.card {
  display: flex; flex-direction: column; padding: 24px; background: #fff;
  border: 1px solid var(--line); border-radius: var(--radius); transition: box-shadow .25s, transform .25s, border-color .25s;
}
.card:hover { box-shadow: var(--shadow); transform: translateY(-3px); border-color: var(--blue-100); }
.fcard-top { display: grid; grid-template-columns: 1fr 1.1fr; gap: 14px; align-items: start; margin-bottom: 14px; }
.fcard .num { color: var(--blue); font-weight: 800; font-size: 1.05rem; margin-bottom: 6px; }
.fcard h3 { font-size: 1.02rem; margin: 0; }
.fcard p { font-size: .88rem; color: var(--muted); }
.fcard .link-arrow { margin-top: auto; }
.fcard .win { font-size: 7.5px; box-shadow: 0 14px 26px -18px rgba(20, 50, 120, .5); }
.fcard .win-main { padding: 6px; gap: 5px; }
.fcard .panel { padding: 5px 6px; }
.fcard .kv th, .fcard .kv td { padding: 2px 4px; font-size: 7.5px; }
.fcard .stage { min-height: 56px; }
.ibox { width: 50px; height: 50px; flex: none; border-radius: 12px; display: grid; place-items: center; background: var(--blue-50); color: var(--blue); }
.ibox .icon { width: 25px; height: 25px; stroke-width: 1.8; }
.benefit h3 { margin: 20px 0 8px; }
.benefit p { color: var(--muted); font-size: .95rem; margin: 0; }
@media (max-width: 980px) { .cards { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .cards { grid-template-columns: 1fr; } }

/* ---------- Compare (desktop vs browser) ---------- */
.vs { border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; background: #fff; }
.vs-row { display: grid; grid-template-columns: 1fr 1.2fr 1.2fr; border-top: 1px solid var(--line); }
.vs-row:first-child { border-top: 0; background: var(--bg-soft); font-weight: 700; color: var(--ink); }
.vs-row > div { padding: 15px 20px; font-size: .93rem; }
.vs-row > div:first-child { font-weight: 600; color: var(--ink); }
.vs-row .us { background: rgba(29, 91, 216, .05); color: var(--ink); font-weight: 500; }
.vs-row:first-child .us { color: var(--blue); }
@media (max-width: 640px) { .vs-row { grid-template-columns: 1fr 1fr 1fr; } .vs-row > div { padding: 12px; font-size: .82rem; } }

/* ---------- CTA band ---------- */
.cta-band {
  position: relative; overflow: hidden; padding: 70px 0; color: #fff;
  background: linear-gradient(110deg, #1a2a78 0%, var(--brand) 45%, var(--blue) 100%);
}
.cta-band h2 { color: #fff; margin-bottom: 10px; }
.cta-band p { color: rgba(255, 255, 255, .86); max-width: 36em; margin: 0; }
.cta-inner { position: relative; z-index: 1; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 32px; }
.cta-actions { display: flex; flex-wrap: wrap; gap: 14px; }
.cta-gear { position: absolute; right: -60px; top: 50%; width: 380px; transform: translateY(-50%); opacity: .16; pointer-events: none; }
.cta-soft { padding: 64px 0; background: var(--bg-soft); position: relative; overflow: hidden; }
.cta-soft .cta-inner > div:first-child { max-width: 560px; }
.cta-note { font-size: .85rem; color: var(--muted); margin-top: 12px; text-align: center; }

/* ---------- Features page ---------- */
.feat { padding: 84px 0; }
.feat.alt { background: var(--bg-soft); }
.feat-num { display: flex; align-items: center; gap: 12px; color: var(--blue); font-weight: 700; margin-bottom: 12px; }
.feat-num::after { content: ""; width: 38px; height: 2px; background: var(--blue); opacity: .45; }
.feat h2 { font-size: clamp(1.6rem, 2.6vw, 2.05rem); margin-bottom: 8px; }
.feat .sub { color: var(--blue); font-weight: 500; font-size: 1.08rem; margin-bottom: 16px; }
.plan-note {
  display: inline-flex; align-items: center; gap: 8px; padding: 7px 13px; border-radius: 999px;
  background: var(--blue-50); color: var(--blue-600); font-size: .82rem; font-weight: 600;
}
.plan-note .icon { width: 16px; height: 16px; }
.feat .checks { margin-bottom: 22px; }

/* ---------- Pricing ---------- */
.toggle-wrap { position: relative; z-index: 2; display: flex; justify-content: center; margin: -27px 0 44px; }
.toggle { display: inline-flex; padding: 4px; background: #fff; border: 1px solid var(--line); border-radius: 999px; box-shadow: var(--shadow-sm); }
.toggle button {
  font-family: inherit; font-size: .92rem; font-weight: 600; color: var(--muted);
  padding: 11px 26px; border: 0; border-radius: 999px; background: none; cursor: pointer;
}
.toggle button.on { background: var(--blue); color: #fff; }
.save { margin-left: 6px; padding: 2px 8px; border-radius: 999px; background: #dcfce7; color: #15803d; font-size: .72rem; font-weight: 700; }
.plans { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; align-items: stretch; }
.plan { position: relative; display: flex; flex-direction: column; padding: 30px 24px 26px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); }
.plan.featured { border: 2px solid var(--blue); background: linear-gradient(180deg, #f2f7ff, #fff 45%); box-shadow: var(--shadow); }
.ribbon { position: absolute; top: -14px; right: 20px; padding: 5px 13px; border-radius: 999px; background: var(--blue); color: #fff; font-size: .74rem; font-weight: 700; }
.plan .ibox { width: 44px; height: 44px; border-radius: 11px; margin-bottom: 18px; }
.plan .ibox .icon { width: 22px; height: 22px; }
.plan h3 { font-size: 1.3rem; letter-spacing: .03em; margin-bottom: 2px; }
.plan .for { color: var(--muted); font-size: .88rem; margin: 0; }
.plan .desc { font-size: .9rem; margin: 12px 0 20px; min-height: 4.4em; }
.price { font-size: 2.15rem; font-weight: 800; color: var(--ink); letter-spacing: -.02em; line-height: 1.1; }
.price small { font-size: .9rem; font-weight: 500; color: var(--muted); letter-spacing: 0; }
.price.custom { font-size: 1.45rem; padding-top: 8px; }
.price-alt { min-height: 2.8em; margin: 6px 0 18px; font-size: .84rem; color: var(--muted); }
.plan .checks { flex: 1; margin: 0 0 28px; font-size: .9rem; gap: 10px; }
@media (max-width: 1080px) { .plans { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 620px) { .plans { grid-template-columns: 1fr; } .plan .desc { min-height: 0; } }
.price-note { text-align: center; color: var(--muted); font-size: .85rem; margin: 22px 0 0; }

.trust { display: grid; grid-template-columns: repeat(3, 1fr); margin-top: 36px; background: var(--bg-soft); border-radius: var(--radius); }
.trust > div { display: flex; gap: 16px; padding: 24px 28px; }
.trust > div + div { border-left: 1px solid var(--line); }
.trust .icon { width: 30px; height: 30px; color: var(--blue); stroke-width: 1.6; }
.trust strong { display: block; color: var(--ink); font-size: .92rem; }
.trust p { margin: 2px 0 0; font-size: .86rem; color: var(--muted); }
@media (max-width: 820px) { .trust { grid-template-columns: 1fr; } .trust > div + div { border-left: 0; border-top: 1px solid var(--line); } }

.compare-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; }
.compare { width: 100%; min-width: 780px; border-collapse: collapse; font-size: .88rem; }
.compare th, .compare td { padding: 11px 16px; border-bottom: 1px solid var(--line); text-align: center; }
.compare thead th { position: sticky; top: 0; background: var(--bg-soft); color: var(--ink); font-weight: 700; }
.compare thead th small { display: block; color: var(--amber); font-weight: 500; font-size: .74rem; }
.compare thead th.pro { color: var(--blue); }
.compare td.f { text-align: left; color: var(--text); }
.compare th.cat { text-align: left; width: 220px; vertical-align: middle; color: var(--blue); font-weight: 600; border-right: 1px solid var(--line); background: #fff; }
.compare th.cat span { display: flex; align-items: center; gap: 12px; }
.compare th.cat .icon { width: 24px; height: 24px; color: var(--ink); stroke-width: 1.6; }
.compare tr.end td, .compare tr.end th { border-bottom: 2px solid #d6e0ef; }
.compare tbody tr:last-child td, .compare tbody tr:last-child th { border-bottom: 0; }
.y .icon { width: 18px; height: 18px; margin: 0 auto; color: var(--green); stroke-width: 2.6; }
.n { color: #b2bccd; }
.lim { color: var(--amber); font-weight: 600; font-size: .82rem; }
.cus { color: var(--blue); font-weight: 600; font-size: .82rem; }

.ent {
  display: grid; grid-template-columns: 1.25fr 2fr; gap: 36px; padding: 38px;
  border-radius: 18px; color: #c6d2ec; background: linear-gradient(110deg, var(--navy-deep), var(--navy) 55%, var(--brand));
}
.ent-lead { display: flex; gap: 18px; padding-right: 32px; border-right: 1px solid rgba(255, 255, 255, .14); }
.ent-lead > img { width: 46px; height: 46px; flex: none; border-radius: 10px; background: #fff; padding: 7px; }
.ent h3 { color: #fff; }
.ent p { font-size: .9rem; }
.ent-items { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.ent-items .icon { width: 26px; height: 26px; color: #fff; stroke-width: 1.6; margin-bottom: 10px; }
.ent-items strong { display: block; color: #fff; font-size: .92rem; margin-bottom: 4px; }
.ent-items p { margin: 0; font-size: .84rem; }
@media (max-width: 900px) {
  .ent { grid-template-columns: 1fr; }
  .ent-lead { border-right: 0; padding-right: 0; }
  .ent-items { grid-template-columns: 1fr; }
}

.trial-grid { display: grid; grid-template-columns: 1fr 1.25fr; gap: 56px; align-items: center; }
.laptop { max-width: 470px; margin: 0 auto; }
.laptop .screen { border: 11px solid #1d2433; border-bottom-width: 14px; border-radius: 14px 14px 0 0; background: #fff; overflow: hidden; }
.laptop .screen .win { border: 0; border-radius: 0; box-shadow: none; font-size: 7px; }
.laptop .screen .win-body { grid-template-columns: 70px 1fr; }
.laptop .screen .win-side span { font-size: 7px; padding: 3px 5px; }
.laptop .screen .win-main { padding: 7px; gap: 6px; }
.laptop .base { height: 14px; width: 118%; margin-left: -9%; border-radius: 0 0 16px 16px; background: linear-gradient(#e2e6ee, #a9b2c2); box-shadow: 0 22px 30px -16px rgba(20, 40, 90, .5); }
.mini-badges { display: flex; flex-wrap: wrap; gap: 14px 26px; margin: 18px 0 26px; font-size: .8rem; font-weight: 600; letter-spacing: .04em; text-transform: uppercase; color: var(--ink); }
.mini-badges span { display: inline-flex; align-items: center; gap: 8px; }
.mini-badges .icon { width: 20px; height: 20px; color: var(--blue); }
@media (max-width: 900px) { .trial-grid { grid-template-columns: 1fr; } }

/* ---------- Contact ---------- */
.contact-grid { display: grid; grid-template-columns: 1.75fr 1fr; gap: 28px; align-items: start; }
.form-card { padding: 34px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow-sm); }
.form-card h2 { font-size: 1.55rem; margin-bottom: 4px; }
.form-card > p { color: var(--muted); }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px 22px; margin-top: 26px; }
.form-grid .full { grid-column: 1 / -1; }
.row3 { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 18px 22px; }
label { display: block; margin-bottom: 7px; color: var(--ink); font-size: .88rem; font-weight: 500; }
.req { color: var(--red); }
.opt { color: var(--muted); font-weight: 400; font-size: .8rem; }
input, select, textarea {
  width: 100%; padding: 12px 14px; font: inherit; font-size: .93rem; color: var(--ink);
  background: #fff; border: 1px solid #d3dcea; border-radius: 8px; transition: border-color .2s, box-shadow .2s;
}
input::placeholder, textarea::placeholder { color: #9aa6ba; }
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--blue); box-shadow: 0 0 0 3px rgba(29, 91, 216, .15); }
select {
  appearance: none; -webkit-appearance: none; padding-right: 38px; cursor: pointer;
  background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' fill='none' stroke='%236a7792' stroke-width='2' stroke-linecap='round'%3E%3Cpath d='M1 1.5l5 5 5-5'/%3E%3C/svg%3E") no-repeat right 14px center;
}
select:invalid { color: #9aa6ba; }
select option { color: var(--ink); }
textarea { min-height: 130px; resize: vertical; }
.counter { margin-top: 5px; text-align: right; font-size: .78rem; color: var(--muted); }
.is-invalid input, .is-invalid select, .is-invalid textarea { border-color: var(--red); }
.err { display: none; margin-top: 5px; color: var(--red); font-size: .8rem; }
.is-invalid .err { display: block; }
.hp { position: absolute !important; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.form-actions { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; margin-top: 24px; }
.form-actions small { color: var(--muted); font-size: .8rem; }
.form-status { display: none; margin-top: 16px; padding: 12px 15px; border-radius: 8px; font-size: .9rem; }
.form-status.ok-s { display: block; background: #ecfdf3; color: #166534; border: 1px solid #bbf0cf; }
.form-status.err-s { display: block; background: #fef2f2; color: #991b1b; border: 1px solid #fecaca; }
button[disabled] { opacity: .65; cursor: progress; }

.side-card { padding: 30px 28px; background: var(--bg-soft); border-radius: var(--radius); }
.side-card h3 { margin-bottom: 24px; }
.reach { display: flex; gap: 15px; margin-bottom: 24px; }
.reach .ibox { width: 42px; height: 42px; border-radius: 10px; background: #fff; }
.reach .ibox .icon { width: 21px; height: 21px; }
.reach strong { display: block; color: var(--ink); font-size: .95rem; }
.reach p, .reach a { margin: 2px 0 0; font-size: .9rem; }
.side-cta { margin-top: 8px; padding: 24px; background: #fff; border: 1px solid var(--line); border-radius: 12px; }
.side-cta h4 { font-size: 1.02rem; margin-bottom: 6px; }
.side-cta p { font-size: .88rem; color: var(--muted); }

.partner { padding: 44px; background: var(--bg-soft); border-radius: 20px; }
.partner-head { display: flex; gap: 26px; align-items: flex-start; }
.partner-head .ibox { width: 76px; height: 76px; border-radius: 16px; background: #fff; box-shadow: var(--shadow-sm); }
.partner-head .ibox .icon { width: 40px; height: 40px; stroke-width: 1.5; }
.partner-head p { max-width: 44em; margin: 0; }
.partner-grid { display: grid; grid-template-columns: 1fr 2.1fr; gap: 36px; margin-top: 36px; }
.why h3 { font-size: 1.05rem; margin: 16px 0 22px; }
.why li { display: flex; align-items: center; gap: 14px; margin-bottom: 20px; color: var(--text); }
.why ul { list-style: none; margin: 0; padding: 0; }
.why .icon { width: 26px; height: 26px; color: var(--blue); stroke-width: 1.6; }
.partner .form-card { box-shadow: none; }
.partner .form-card h3 { font-size: 1.05rem; margin: 0; }
.partner .form-grid { margin-top: 18px; }
@media (max-width: 900px) {
  .contact-grid, .partner-grid { grid-template-columns: 1fr; }
  .partner { padding: 28px 22px; }
  .partner-head { flex-direction: column; gap: 16px; }
}
@media (max-width: 600px) {
  .form-grid, .row3 { grid-template-columns: 1fr; }
  .form-card { padding: 24px 20px; }
}

/* ---------- Footer ---------- */
.site-footer { background: var(--navy-deep); color: #aebbd6; font-size: .92rem; padding-top: 64px; }
.footer-grid { display: grid; grid-template-columns: 1.7fr 1fr 1fr 1fr; gap: 36px; padding-bottom: 48px; }
.footer-brand img { height: 36px; width: auto; margin-bottom: 16px; }
.footer-brand p { margin: 0 0 6px; }
.footer-brand .tag { color: #fff; font-weight: 500; }
.site-footer h4 { color: #fff; font-size: .98rem; margin-bottom: 14px; letter-spacing: 0; }
.site-footer a { display: block; margin-bottom: 9px; color: #aebbd6; }
.site-footer a:hover { color: #fff; }
.footer-bottom { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; padding: 22px 24px; border-top: 1px solid rgba(255, 255, 255, .1); font-size: .84rem; }
.social { display: flex; gap: 14px; }
.social a { display: grid; place-items: center; width: 36px; height: 36px; margin: 0; border-radius: 8px; background: rgba(255, 255, 255, .06); color: #fff; }
.social a:hover { background: rgba(255, 255, 255, .14); }
.social .icon { width: 18px; height: 18px; }
@media (max-width: 820px) { .footer-grid { grid-template-columns: 1fr 1fr; } .footer-brand { grid-column: 1 / -1; } }

/* Grid children may shrink below their content width (prevents mobile overflow) */
.split > *, .hero-grid > *, .trial-grid > *, .contact-grid > *, .partner-grid > * { min-width: 0; }

/* ---------- Real app screenshots ---------- */
.shot {
  margin: 0; overflow: hidden; background: #fff; border: 1px solid #d6e0ee; border-radius: 12px;
  box-shadow: 0 34px 60px -28px rgba(20, 50, 120, .45), 0 2px 6px rgba(20, 50, 120, .06);
}
.shot-bar { display: flex; align-items: center; gap: 12px; padding: 9px 14px; background: #f3f6fb; border-bottom: 1px solid #e2e9f3; }
.shot-url { flex: 1; max-width: 260px; margin: 0 auto; padding: 3px 12px; border-radius: 6px; background: #fff; color: #7b879c; font-size: .72rem; text-align: center; }
.shot img, .thumb img { display: block; width: 100%; height: auto; }
.thumb { aspect-ratio: 16 / 10; overflow: hidden; margin-bottom: 20px; border: 1px solid var(--line); border-radius: 10px; background: #f7f9fc; }
.thumb img { height: 100%; object-fit: cover; object-position: left top; }
.hero-shot { position: relative; }
.hero-shot .float-badge { left: -26px; bottom: -26px; }
.fcard .num { margin-bottom: 4px; }
.fcard h3 { margin-bottom: 8px; }
.std-strip { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 22px; }
.std-strip span { padding: 6px 12px; border-radius: 999px; background: #fff; border: 1px solid var(--blue-100); color: var(--blue-600); font-size: .8rem; font-weight: 600; }
.laptop .screen picture img { display: block; width: 100%; height: auto; }
@media (max-width: 980px) { .hero-shot .float-badge { position: static; margin-top: 18px; } }
@media (min-width: 1240px) {
  .hero .hero-shot { margin-right: -110px; }
}

/* ---------- Home hero: tagline + slideshow ---------- */
.hero-home h1 { font-size: clamp(2.1rem, 3.7vw, 3.05rem); margin-bottom: 14px; }
.tagline { margin: 0 0 16px; color: var(--blue); font-size: clamp(1.25rem, 2.1vw, 1.6rem); font-weight: 700; letter-spacing: -.01em; }
.slideshow { position: relative; }
.slides { position: relative; aspect-ratio: 1600 / 827; background: #f4f7fc; }
.slide { position: absolute; inset: 0; opacity: 0; visibility: hidden; transition: opacity .6s ease, visibility .6s; }
.slide.is-active { opacity: 1; visibility: visible; }
.slide picture, .slide img { display: block; width: 100%; height: 100%; }
.slide img { object-fit: cover; object-position: left top; }
.hero-shot .slide-caption { left: -26px; bottom: 30px; max-width: 300px; }
.slide-caption .cap-num { display: grid; place-items: center; flex: none; min-width: 38px; height: 28px; padding: 0 6px; border-radius: 8px; background: var(--blue-50); font-size: .74rem; }
.slide-nav { display: flex; align-items: center; justify-content: flex-end; gap: 12px; margin-top: 18px; }
.dots { display: flex; gap: 7px; }
.dot { width: 8px; height: 8px; padding: 0; border: 0; border-radius: 99px; background: #c4d2e9; cursor: pointer; transition: width .3s, background .3s; }
.dot.is-active { width: 26px; background: var(--blue); }
.slide-arrow {
  display: grid; place-items: center; width: 38px; height: 38px; padding: 0; cursor: pointer;
  background: #fff; color: var(--ink); border: 1px solid var(--line); border-radius: 50%; transition: border-color .2s, color .2s;
}
.slide-arrow:hover { border-color: var(--blue); color: var(--blue); }
.slide-arrow .icon { width: 18px; height: 18px; }
@media (max-width: 980px) {
  .hero-shot .slide-caption { position: static; margin-top: 16px; max-width: none; }
  .slide-nav { margin-top: 12px; justify-content: center; }
}

/* ---------- Pricing: order note, grouped comparison table, white enterprise icon ---------- */
.order-note {
  display: flex; align-items: flex-start; gap: 14px; margin-top: 32px; padding: 20px 24px;
  background: var(--bg-soft); border: 1px solid var(--blue-100); border-radius: var(--radius); color: var(--ink);
}
.order-note .icon { width: 24px; height: 24px; color: var(--blue); margin-top: 1px; }
.order-note p { margin: 0; font-size: .95rem; }
.compare { min-width: 640px; }
.compare th.f { text-align: left; font-weight: 400; color: var(--text); padding-left: 22px; }
.compare thead th.f { font-weight: 700; color: var(--ink); }
.compare tr.grp th { padding: 13px 22px; text-align: left; background: #f6f9fe; color: var(--blue); font-weight: 700; border-bottom: 1px solid var(--line); }
.ent-lead > img { width: 52px; height: 52px; padding: 0; background: none; border-radius: 0; }

/* ---------- Order request page ---------- */
.plan-chip { display: inline-flex; flex-wrap: wrap; align-items: baseline; gap: 6px 14px; margin-top: 8px; padding: 14px 20px; background: #fff; border: 1px solid var(--blue-100); border-radius: 12px; box-shadow: var(--shadow-sm); }
.plan-chip strong { color: var(--ink); letter-spacing: .04em; }
.plan-chip span { color: var(--blue); font-weight: 600; }
.order-grid { display: grid; grid-template-columns: 1.65fr 1fr; gap: 28px; align-items: start; }
.order-grid > * { min-width: 0; }
fieldset { min-width: 0; margin: 0; padding: 0; border: 0; }
fieldset + fieldset { margin-top: 30px; padding-top: 28px; border-top: 1px solid var(--line); }
legend { display: flex; align-items: center; gap: 12px; padding: 0; margin-bottom: 4px; color: var(--ink); font-size: 1.12rem; font-weight: 700; }
legend .step { display: grid; place-items: center; width: 28px; height: 28px; border-radius: 8px; background: var(--blue-50); color: var(--blue); font-size: .85rem; }
fieldset .form-grid { margin-top: 18px; }
.radio-row { display: flex; flex-wrap: wrap; gap: 12px; }
.radio-row label { display: flex; align-items: center; gap: 10px; margin: 0; padding: 11px 18px; border: 1px solid #d3dcea; border-radius: 8px; cursor: pointer; }
.radio-row input { width: auto; accent-color: var(--blue); }
.radio-row label:has(input:checked) { border-color: var(--blue); background: var(--blue-50); color: var(--blue); }
.gst-block { grid-column: 1 / -1; display: grid; grid-template-columns: 1fr 1fr; gap: 18px 22px; padding: 22px; background: var(--bg-soft); border-radius: 12px; }
[hidden] { display: none !important; }

.summary { position: sticky; top: 100px; padding: 28px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); }
.summary h2 { font-size: 1.25rem; margin-bottom: 16px; }
.sum-plan { margin-bottom: 18px; padding: 18px; border-radius: 12px; color: #fff; background: linear-gradient(135deg, var(--navy), var(--brand)); }
.sum-plan strong { display: block; font-size: 1.12rem; letter-spacing: .04em; }
.sum-plan span { font-size: .9rem; opacity: .85; }
.seg-label { display: block; margin: 0 0 6px; color: var(--muted); font-size: .78rem; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; }
.seg { display: flex; margin-bottom: 14px; padding: 3px; background: var(--bg-soft); border: 1px solid var(--line); border-radius: 9px; }
.seg label { position: relative; flex: 1; margin: 0; padding: 9px 6px; border-radius: 7px; text-align: center; cursor: pointer; color: var(--muted); font-size: .88rem; font-weight: 600; }
.seg input { position: absolute; opacity: 0; pointer-events: none; }
.seg label:has(input:checked) { background: #fff; color: var(--blue); box-shadow: var(--shadow-sm); }
.seg label:has(input:focus-visible) { outline: 3px solid rgba(29, 91, 216, .45); }
.sum-lines { margin: 6px 0 18px; padding: 0; list-style: none; border-top: 1px solid var(--line); }
.sum-lines li { display: flex; justify-content: space-between; gap: 12px; padding: 11px 0; border-bottom: 1px solid var(--line); font-size: .93rem; }
.sum-lines li.total { border-bottom: 0; color: var(--ink); font-size: 1.12rem; font-weight: 800; }
.pay-note { display: flex; gap: 9px; margin: 14px 0 0; color: var(--muted); font-size: .83rem; line-height: 1.5; }
.pay-note .icon { width: 17px; height: 17px; margin-top: 2px; color: var(--blue); }
.next-steps { margin-top: 22px; padding-top: 18px; border-top: 1px dashed #cfd9e8; }
.next-steps h3 { font-size: .95rem; margin-bottom: 12px; }
.next-steps ol { margin: 0; padding: 0; list-style: none; counter-reset: s; }
.next-steps li { position: relative; margin-bottom: 11px; padding-left: 36px; font-size: .88rem; line-height: 1.5; }
.next-steps li::before { counter-increment: s; content: counter(s); position: absolute; left: 0; top: -1px; display: grid; place-items: center; width: 24px; height: 24px; border-radius: 50%; background: var(--blue-50); color: var(--blue); font-size: .76rem; font-weight: 700; }

.done-card { max-width: 660px; margin: 0 auto; padding: 48px 40px; text-align: center; background: #fff; border: 1px solid var(--line); border-radius: 18px; box-shadow: var(--shadow); }
.done-icon { display: grid; place-items: center; width: 74px; height: 74px; margin: 0 auto 22px; border-radius: 50%; background: #ecfdf3; color: var(--green); }
.done-icon .icon { width: 38px; height: 38px; stroke-width: 2.6; }
.done-card h1 { font-size: clamp(1.6rem, 3vw, 2.1rem); }
.done-card .strong { color: var(--ink); font-weight: 600; }
.ref { display: inline-block; margin: 8px 0 20px; padding: 11px 20px; background: var(--bg-soft); border: 1px dashed #b9cbe9; border-radius: 10px; color: var(--ink); font-weight: 700; letter-spacing: .04em; }
.done-sum { max-width: 380px; margin: 0 auto; padding: 0; list-style: none; text-align: left; }
.done-sum li { display: flex; justify-content: space-between; padding: 9px 0; border-bottom: 1px solid var(--line); font-size: .92rem; }
.done-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 14px; margin-top: 28px; }
@media (max-width: 980px) {
  .order-grid { grid-template-columns: 1fr; }
  .summary { position: static; }
}
@media (max-width: 600px) {
  .gst-block { grid-template-columns: 1fr; padding: 16px; }
  .done-card { padding: 34px 22px; }
}
legend { float: left; width: 100%; }
legend + * { clear: both; }
.sum-plan strong span { font-size: inherit; opacity: 1; }
select:has(option[value=""]:checked) { color: #9aa6ba; }
.plan-chip { max-width: 100%; }
.seg input { width: 1px; height: 1px; inset: 0; }
legend { margin-bottom: 16px; } fieldset .form-grid { margin-top: 0; }

/* ---------- Home hero: feature row linked to the slideshow ---------- */
.hero-home { padding-bottom: 0; }
.hero-features {
  position: relative; display: grid; grid-template-columns: repeat(6, 1fr);
  margin-top: 56px; border-top: 1px solid rgba(29, 91, 216, .14);
}
.hf-item {
  position: relative; display: flex; flex-direction: column; align-items: center; gap: 12px;
  padding: 26px 10px 28px; border: 0; background: none; cursor: pointer;
  font-family: inherit; font-size: .93rem; font-weight: 500; line-height: 1.35; color: var(--ink); text-align: center;
  transition: color .2s, background .2s;
}
.hf-item .icon { width: 32px; height: 32px; color: var(--blue); stroke-width: 1.6; }
.hf-item + .hf-item::before { content: ""; position: absolute; left: 0; top: 24px; bottom: 24px; width: 1px; background: rgba(29, 91, 216, .14); }
.hf-item::after { content: ""; position: absolute; left: 22%; right: 22%; top: -1px; height: 3px; border-radius: 0 0 3px 3px; background: var(--blue); transform: scaleX(0); transition: transform .3s; }
.hf-item:hover { background: rgba(255, 255, 255, .5); }
.hf-item.is-active { color: var(--blue); background: rgba(255, 255, 255, .65); }
.hf-item.is-active::after { transform: scaleX(1); }
@media (max-width: 980px) {
  .hero-features { display: flex; overflow-x: auto; margin-top: 40px; scrollbar-width: none; -webkit-overflow-scrolling: touch; }
  .hero-features::-webkit-scrollbar { display: none; }
  .hf-item { flex: 0 0 140px; padding: 20px 8px 22px; font-size: .85rem; }
  .hf-item .icon { width: 28px; height: 28px; }
}

/* ---------- Footer: company line ---------- */
.footer-brand .by { margin-top: 14px; color: #c8d3ea; font-size: .86rem; }
.footer-brand .by strong { color: #fff; font-weight: 600; letter-spacing: .02em; }

/* ---------- Footer with Legal column ---------- */
.footer-grid { grid-template-columns: 1.6fr 1fr 1fr 1fr 1fr; gap: 32px; }
@media (max-width: 980px) { .footer-grid { grid-template-columns: 1fr 1fr 1fr; } .footer-brand { grid-column: 1 / -1; } }
@media (max-width: 560px) { .footer-grid { grid-template-columns: 1fr 1fr; } }

/* ---------- Legal pages ---------- */
.legal { max-width: 820px; }
.legal h2 { font-size: 1.3rem; margin: 40px 0 12px; scroll-margin-top: 100px; }
.legal h3 { font-size: 1.02rem; margin: 22px 0 8px; }
.legal p, .legal li { color: var(--text); }
.legal ul { padding-left: 22px; margin: 0 0 1em; }
.legal li { margin-bottom: 6px; }
.legal .toc { margin: 0 0 8px; padding: 22px 26px; background: var(--bg-soft); border-radius: var(--radius); }
.legal .toc h2 { margin: 0 0 10px; font-size: 1rem; }
.legal .toc ol { margin: 0; padding-left: 20px; columns: 2; column-gap: 32px; }
.legal .toc li { margin-bottom: 4px; font-size: .92rem; }
.legal .callout { margin: 18px 0; padding: 16px 20px; border-left: 3px solid var(--blue); background: var(--blue-50); border-radius: 0 10px 10px 0; color: var(--ink); }
.legal-meta { color: var(--muted); font-size: .92rem; margin: 0; }
@media (max-width: 600px) { .legal .toc ol { columns: 1; } }
.legal { margin-left: max(0px, calc((100% - 1200px) / 2)); }
.container.legal { margin-left: auto; margin-right: auto; max-width: 1200px; }
.container.legal > * { max-width: 820px; }
.footer-brand .by strong { white-space: nowrap; }

/* ---------- Home hero fits one laptop screen (no scrolling) ----------
   On desktop/laptop widths the hero fills exactly the visible area below the
   78px header, and the type, slideshow and feature row scale with screen height. */
@media (min-width: 981px) {
  .hero-home {
    --hero-h: calc(100vh - 79px);
    --hero-h: calc(100svh - 79px);
    display: flex; flex-direction: column;
    min-height: var(--hero-h);
    padding: clamp(16px, 4.5vh, 64px) 0 0;
  }
  .hero-home .hero-grid { flex: 1; align-items: center; gap: clamp(32px, 4vw, 56px); }
  .hero-home .eyebrow { margin-bottom: clamp(8px, 1.6vh, 14px); }
  .hero-home h1 { font-size: clamp(1.8rem, min(3.7vw, 5.4vh), 3.05rem); margin-bottom: clamp(6px, 1.4vh, 14px); }
  .hero-home .tagline { font-size: clamp(1.1rem, min(2.1vw, 3vh), 1.6rem); margin-bottom: clamp(8px, 1.6vh, 16px); }
  .hero-home .lead { font-size: clamp(.98rem, 2.2vh, 1.12rem); margin-bottom: 0; }
  .hero-home .hero-actions { margin: clamp(16px, 3.4vh, 32px) 0 0; }
  .hero-home .btn { padding: clamp(12px, 1.9vh, 15px) 24px; }

  /* slideshow width is limited by the available height so the whole frame stays on screen */
  .hero-home .hero-shot { justify-self: end; width: 100%; max-width: calc((var(--hero-h) - clamp(200px, 30vh, 270px)) * 16 / 9); }
  .hero-home .shot-bar { padding: 7px 12px; }
  .hero-home .slide-nav { margin-top: clamp(8px, 1.6vh, 18px); }
  .hero-home .slide-arrow { width: 34px; height: 34px; }
  .hero-home .hero-shot .slide-caption { bottom: clamp(18px, 4vh, 30px); padding: 10px 14px; }

  .hero-home .hero-features { margin-top: clamp(14px, 3vh, 48px); }
  .hero-home .hf-item { padding: clamp(10px, 2.1vh, 26px) 8px clamp(12px, 2.4vh, 28px); gap: clamp(6px, 1.3vh, 12px); }
  .hero-home .hf-item .icon { width: clamp(22px, 3.6vh, 32px); height: clamp(22px, 3.6vh, 32px); }
}
/* Shorter laptop screens: icon beside the label to save height */
@media (min-width: 981px) and (max-height: 820px) {
  .hero-home .hf-item { flex-direction: row; justify-content: center; text-align: left; font-size: .86rem; gap: 10px; }
  .hero-home .hf-item .icon { width: 24px; height: 24px; flex: none; }
}

@media (min-width: 981px) {
  .hero-home .hero-shot { margin-right: 0; }
  .hero-home .hf-item span { white-space: nowrap; }
}
@media (min-width: 981px) and (max-width: 1320px) and (max-height: 820px) {
  .hero-home .hf-item { font-size: .8rem; gap: 8px; padding-left: 4px; padding-right: 4px; }
  .hero-home .hf-item .icon { width: 20px; height: 20px; }
}

/* ---------- Footer v3: type hierarchy + legal bottom bar ---------- */
.site-footer { padding-top: 60px; }
.footer-grid { grid-template-columns: 1.7fr 1fr 1fr 1.1fr; gap: 40px; padding-bottom: 52px; }
.footer-brand img { height: 34px; margin-bottom: 20px; }
.footer-brand p { margin: 0; }
.footer-brand .tag { margin-bottom: 8px; color: #fff; font-size: 1.12rem; font-weight: 600; letter-spacing: -.01em; }
.footer-brand .desc { max-width: 30em; margin-bottom: 18px; color: #9fafcc; font-size: .875rem; line-height: 1.6; }
.footer-brand .by { margin: 0 0 22px; color: #fff; font-size: .8rem; font-weight: 700; letter-spacing: .08em; }
.footer-brand .by span { display: block; margin-bottom: 2px; color: #8394b5; font-size: .7rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; }
.site-footer h4 { margin-bottom: 16px; color: #fff; font-size: .82rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; }
.site-footer .footer-grid a { font-size: .92rem; margin-bottom: 11px; }
.social { gap: 10px; }
.social a { width: 34px; height: 34px; }

.footer-bottom { display: block; padding: 0; border-top: 1px solid rgba(255, 255, 255, .1); background: rgba(0, 0, 0, .18); }
.footer-bottom-inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px 24px; padding-top: 18px; padding-bottom: 18px; }
.footer-bottom .copy { color: #8394b5; font-size: .82rem; }
.legal-links { display: flex; flex-wrap: wrap; gap: 6px 28px; }
.site-footer .legal-links a { margin: 0; color: #8fa2c6; font-size: .82rem; }
.site-footer .legal-links a:hover { color: #fff; }

@media (max-width: 980px) { .footer-grid { grid-template-columns: 1fr 1fr 1fr; } .footer-brand { grid-column: 1 / -1; } }
@media (max-width: 600px) {
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 30px; }
  .footer-bottom-inner { flex-direction: column; align-items: flex-start; }
  .legal-links { gap: 6px 20px; }
}

/* ---------- Home hero: tighter vertical spacing (about half of the full-screen fill) ---------- */
@media (min-width: 981px) {
  .hero-home { min-height: 0; padding-top: clamp(14px, calc(19.6vh - 102px), 76px); }
  .hero-home .hero-grid { flex: none; }
  .hero-home .hero-features { margin-top: clamp(12px, calc(18.8vh - 102px), 68px); }
}

/* ---------- Made in India ---------- */
.flag { display: inline-block; flex: none; width: 21px; height: 14px; border-radius: 2px; box-shadow: 0 0 0 1px rgba(17, 26, 69, .12); }
.eyebrow-row { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 16px; margin-bottom: 14px; }
.eyebrow-row .eyebrow { margin-bottom: 0; }
.mii-badge {
  display: inline-flex; align-items: center; gap: 8px; padding: 5px 12px 5px 8px;
  background: #fff; border: 1px solid #dfe6f2; border-radius: 999px; box-shadow: 0 2px 8px -4px rgba(20, 45, 110, .25);
  color: var(--ink); font-size: .78rem; font-weight: 600; letter-spacing: .01em; white-space: nowrap;
}
@media (min-width: 981px) { .hero-home .eyebrow-row { margin-bottom: clamp(8px, 1.6vh, 14px); } }
.footer-brand .made-in-india { display: flex; align-items: center; gap: 9px; margin: -8px 0 22px; color: #dbe3f3; font-size: .84rem; font-weight: 500; }
.footer-brand .made-in-india .flag { box-shadow: none; }

/* ---------- Unified first-section (hero) typography on every page ----------
   One set of styles for the label, headline, blue subheading and intro text,
   matching the Home page. */
.hero .breadcrumb { margin-bottom: 14px; font-size: .88rem; }
.hero .eyebrow { margin-bottom: 14px; }
.hero h1 { margin-bottom: 14px; }
.hero .tagline { margin: 0 0 16px; color: var(--blue); font-size: clamp(1.25rem, 2.1vw, 1.6rem); font-weight: 700; letter-spacing: -.01em; line-height: 1.3; }
.hero .lead { font-size: 1.12rem; line-height: 1.6; max-width: 34em; }
.hero .legal-meta { margin-top: 4px; }
@media (min-width: 981px) {
  .hero .eyebrow { margin-bottom: clamp(8px, 1.6vh, 14px); }
  .hero h1 { font-size: clamp(1.8rem, min(3.7vw, 5.4vh), 3.05rem); margin-bottom: clamp(6px, 1.4vh, 14px); }
  .hero .tagline { font-size: clamp(1.1rem, min(2.1vw, 3vh), 1.6rem); margin-bottom: clamp(8px, 1.6vh, 16px); }
  .hero .lead { font-size: clamp(.98rem, 2.2vh, 1.12rem); }
  .hero .hero-actions { margin: clamp(16px, 3.4vh, 32px) 0 0; }
}
.done-card h1 { font-size: clamp(1.6rem, 3vw, 2.1rem); }

/* ==========================================================================
   Uniform first section on every page
   - same space above and below (--hero-pad)
   - same content area height on all inner pages (--hero-box)
   - text starts at the top of that area, so the first line sits at the same place
   ========================================================================== */
:root {
  --hero-pad: clamp(24px, 6vh, 64px);
  --hero-box: clamp(250px, 40vh, 330px);
}
.hero, .hero.page-hero { padding: var(--hero-pad) 0; }
.hero .hero-grid { align-items: start; }
.hero .eyebrow-row, .hero .eyebrow { margin-top: 0; }
.hero .plan-chip { margin-top: 18px; }
.hero .legal-meta { margin-top: 14px; }
.hero .badges { margin-top: 24px; gap: 14px 28px; }
.hero .badge { font-size: .86rem; }
.hero .badge .icon { width: 26px; height: 26px; }

@media (min-width: 981px) {
  /* Inner pages: one common content height, picture fills it on the right */
  .page-hero .hero-grid { min-height: var(--hero-box); }
  .page-hero .hero-art { height: var(--hero-box); color: #7da2e4; }
  .page-hero .hero-art svg { position: static; width: 100%; height: 100%; }
  .page-hero .hero-shot { justify-self: end; width: 100%; max-width: calc((var(--hero-box) - 38px) * 16 / 9); margin-right: 0; }

  /* Home: same top space, text and slideshow start at the same line as other pages */
  .hero-home { padding: var(--hero-pad) 0 0; }
  .hero-home .hero-features { margin-top: var(--hero-pad); }
}
@media (max-width: 980px) {
  .page-hero .hero-art { display: none; }
  .hero, .hero.page-hero { padding: 40px 0 44px; }
  .hero-home { padding-bottom: 0; }
}

/* Uniform first line: label is a block on every page (no extra line spacing above it),
   and the Made in India badge does not change the row height on Home */
.hero .eyebrow { display: block; }
.hero .eyebrow-row { height: 1.216rem; flex-wrap: nowrap; margin-bottom: 14px; }
@media (min-width: 981px) { .hero .eyebrow-row { margin-bottom: clamp(8px, 1.6vh, 14px); } }
@media (max-width: 420px) { .hero .eyebrow-row { height: auto; flex-wrap: wrap; } }

/* Features: badges as a card over the screenshot corner */
.hero-shot .shot-badges { left: -26px; bottom: 22px; max-width: none; gap: 18px; padding: 12px 18px; color: var(--ink); font-weight: 500; font-size: .8rem; }
.shot-badges span { display: inline-flex; align-items: center; gap: 7px; white-space: nowrap; }
.shot-badges .icon { width: 18px; height: 18px; color: var(--blue); }
@media (max-width: 980px) { .hero-shot .shot-badges { position: static; flex-wrap: wrap; margin-top: 16px; } }

/* Home on short laptop screens: slightly smaller slideshow so the feature row stays on screen */
@media (min-width: 981px) and (max-height: 660px) {
  .hero-home .hero-shot { max-width: calc((var(--hero-h) - 250px) * 16 / 9); }
}
.hero .eyebrow-row { align-items: center; }
.hero .eyebrow-row .mii-badge { margin-top: -7px; margin-bottom: -7px; }
@media (min-width: 981px) {
  .page-hero .hero-shot { max-width: calc((var(--hero-box) - 46px) * 16 / 9); }
}
.hero .eyebrow-row .eyebrow { margin-bottom: 0; }

/* ---- pricing: monthly / annual price blocks ---- */
.plan .for { min-height: 2.9em; }
.plans .pb-a { display: none; }
.plans.is-annual .pb-m { display: none; }
.plans.is-annual .pb-a { display: block; }
.plan .price { white-space: nowrap; }
.plan .price-alt { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; }
.plan .price-alt .save { margin-left: 0; }
.compare td.num { color: var(--ink); font-weight: 600; font-size: .84rem; white-space: nowrap; }
@media (max-width: 620px) { .plan .for { min-height: 0; } }
.plan .desc { min-height: 6.4em; }
.plan .price.custom { padding-top: 0; font-size: 1.6rem; line-height: 2.365rem; }
.plan .checks { align-content: start; }
@media (max-width: 620px) { .plan .desc { min-height: 0; } }
/* plan feature lists: all features shown, offered = green tick, not offered = grey minus */
.plan .for { min-height: 3.2em; line-height: 1.6; }
.plan .feats { gap: 9px; }
.plan .feats li { align-items: center; line-height: 1.35; }
.plan .feats .icon { margin-top: 0; flex: none; }
.plan .feats li.off { color: #8a94a6; }
.plan .feats .no { position: relative; flex: none; width: 18px; height: 18px; border-radius: 50%; background: #e4e9f2; }
.plan .feats .no::after { content: ""; position: absolute; left: 5px; right: 5px; top: 8px; height: 2px; border-radius: 1px; background: #8a94a6; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
/* pricing: thin section lines inside each plan */
.plan .pb { border-top: 1px solid var(--line); padding-top: 18px; }
.plan .price-alt { margin-bottom: 0; }
.plan .feats { border-top: 1px solid var(--line); padding-top: 18px; margin-top: 16px; }
.plan .desc { min-height: 4.8em; margin-bottom: 18px; }
/* pricing hero: 3D gear pair from the app */
.hero-3d { display: flex; align-items: center; justify-content: center; }
.hero-3d picture { display: block; height: 100%; }
.hero-3d img { display: block; height: 100%; width: auto; max-width: 100%; object-fit: contain; filter: drop-shadow(0 24px 30px rgba(20,40,90,.18)); animation: gk-float 6s ease-in-out infinite; }
@keyframes gk-float { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-8px); } }
@media (prefers-reduced-motion: reduce) { .hero-3d img { animation: none; } }
/* pricing: no description paragraph; "+ GST" stacked under the period */
.plan .pb { margin-top: 18px; }
.plan .price small.per { display: inline-flex; flex-direction: column; vertical-align: -2px; line-height: 1.15; margin-left: 4px; }
.plan .price small.per span { font-size: .78rem; font-weight: 600; color: var(--muted); }
.plan .price { display: flex; align-items: center; height: 52px; }
.plan .price.custom { height: 52px; line-height: 1.1; }
.plan .price-alt { min-height: 50px; align-content: flex-start; }
.plan .price { gap: 6px; }
.plan .price small.per { margin-left: 0; }
.hero-mesh { display: flex; align-items: center; justify-content: center; }
.hero-mesh img { display: block; height: 100%; width: auto; max-width: 100%; border-radius: 16px; box-shadow: 0 24px 50px rgba(20,40,90,.14); }
/* pricing hero: gears placed straight on the banner, bleeding off the right edge */
.page-hero .hero-art.hero-mesh { position: absolute; top: 0; bottom: 0; right: 0; left: 50%; height: auto; z-index: 0; display: block; }
.hero-mesh img { width: 100%; height: 100%; border-radius: 0; box-shadow: none; filter: drop-shadow(0 14px 22px rgba(20,40,90,.10)); object-fit: cover; object-position: left center; }
.page-hero:has(.hero-mesh) .hero-grid > div:first-child { position: relative; z-index: 1; }
@media (max-width: 980px) { .page-hero .hero-art.hero-mesh { display: none; } }
.page-hero .hero-art.hero-mesh { top: calc(-1 * var(--hero-pad, 64px)); bottom: calc(-1 * var(--hero-pad, 64px)); right: calc((100% - 100vw) / 2); left: 48%; }
/* contact hero: complete gear pair at the size of the former drawing */
.hero-pair { display: flex; align-items: center; justify-content: center; }
.hero-pair img { display: block; height: 100%; width: 100%; object-fit: contain; filter: drop-shadow(0 14px 22px rgba(20,40,90,.10)); }
/* contact hero: faint line sketch behind the 3D gears, small gears concentric (as on cadkite.com) */
.hero-sketch .g3d { position: relative; height: 100%; aspect-ratio: 723 / 592; }
.hero-sketch .g3d picture { position: relative; z-index: 1; display: block; height: 100%; }
.hero-sketch .g3d picture img { width: 100%; height: 100%; }
.hero-sketch .g3d .sketch { position: absolute; z-index: 0; height: 150%; width: auto; max-width: none; left: -25.3%; top: -45.4%; pointer-events: none; animation: none; filter: none; opacity: .9; }

/* order page: title always on two lines, "GEARKITE <plan>" kept together */
.order-title .nw { white-space: nowrap; }

/* ---------- Launching soon: inactive plan buttons, hidden prices ---------- */
.btn.is-disabled { opacity: .45; cursor: not-allowed; pointer-events: none; filter: grayscale(.4); box-shadow: none; }
.plan .price.soon { color: var(--ink); }
.seg label.soon { opacity: .45; cursor: not-allowed; }
.seg label.soon small { font-size: .7em; font-weight: 700; letter-spacing: .04em; margin-left: 4px; }
.nav a.is-disabled { opacity: .45; cursor: not-allowed; pointer-events: none; }
.nav a.btn.is-disabled { filter: grayscale(.4); box-shadow: none; }
.site-footer a.is-disabled { opacity: .45; cursor: not-allowed; pointer-events: none; }
button.btn.is-disabled[disabled] { opacity: .45; cursor: not-allowed; }
a.is-disabled { pointer-events: none; cursor: not-allowed; }
.pay-note a.is-disabled { color: inherit; text-decoration: none; }
.footer-bottom a.is-disabled { opacity: .45; }
.footer-brand .by a { color: inherit; text-decoration: none; border: 0; }
.footer-brand .by a { display: inline-block; width: auto; padding: 0; margin: 0; }
