/* KS Acumen — shared styles */
:root {
  --blue: #1C61E6;
  --cyan: #15C2DE;
  --navy: #0C2545;
  --slate: #5C6B85;
  --cream: #F6F8F3;
  --white: #ffffff;
  --line: rgba(12, 37, 69, 0.08);
  --shadow: 0 18px 50px rgba(12, 37, 69, 0.08);
  --radius: 18px;
  --max: 1120px;
  --font: "DM Sans", system-ui, -apple-system, Segoe UI, Roboto, sans-serif;
  --serif: "Source Serif 4", Georgia, "Times New Roman", serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font);
  color: var(--navy);
  background: var(--cream);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--blue); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--navy); }
h1, h2, h3, h4 {
  font-family: var(--serif);
  font-weight: 600;
  line-height: 1.2;
  letter-spacing: -0.02em;
  margin: 0 0 0.6em;
}
p { margin: 0 0 1em; color: var(--slate); }
.container { width: min(100% - 2rem, var(--max)); margin-inline: auto; }
.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;
}
.skip-link {
  position: absolute; left: 1rem; top: -100px; background: var(--navy); color: #fff;
  padding: 0.6rem 1rem; border-radius: 8px; z-index: 1000;
}
.skip-link:focus { top: 1rem; }

/* Header */
.site-header {
  position: sticky; top: 0; z-index: 50;
  backdrop-filter: blur(14px);
  background: rgba(246, 248, 243, 0.88);
  border-bottom: 1px solid var(--line);
}
.nav-wrap {
  display: flex; align-items: center; justify-content: space-between;
  gap: 1rem; min-height: 72px;
}
.brand {
  display: flex; align-items: center; gap: 0.75rem;
  text-decoration: none; color: var(--navy); font-weight: 700;
}
.brand img, .brand-logo { width: auto; height: 48px; max-width: min(200px, 42vw); object-fit: contain; }
.brand { gap: 0; }
.brand span { font-size: 0.95rem; letter-spacing: -0.01em; }
.brand small { display: block; font-weight: 500; color: var(--slate); font-size: 0.72rem; letter-spacing: 0.04em; text-transform: uppercase; }
.nav-toggle {
  display: none; border: 1px solid var(--line); background: var(--white);
  border-radius: 10px; padding: 0.55rem 0.7rem; cursor: pointer;
}
.nav-toggle span {
  display: block; width: 20px; height: 2px; background: var(--navy); margin: 4px 0;
  transition: 0.2s ease;
}
.nav {
  display: flex; align-items: center; gap: 0.25rem 1.1rem; flex-wrap: wrap;
}
.nav a {
  color: var(--navy); text-decoration: none; font-size: 0.92rem; font-weight: 500;
  padding: 0.35rem 0; border-bottom: 2px solid transparent;
}
.nav a:hover, .nav a[aria-current="page"] { border-bottom-color: var(--cyan); color: var(--blue); }
.nav .btn { margin-left: 0.4rem; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.45rem;
  padding: 0.75rem 1.25rem; border-radius: 999px; border: 1px solid transparent;
  font-weight: 600; font-size: 0.95rem; text-decoration: none; cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
}
.btn:hover { transform: translateY(-1px); }
.btn-primary {
  background: linear-gradient(135deg, var(--blue), #1570ef 40%, var(--cyan));
  color: #fff; box-shadow: 0 10px 24px rgba(28, 97, 230, 0.28);
}
.btn-primary:hover { color: #fff; }
.btn-ghost {
  background: transparent; border-color: rgba(12,37,69,0.15); color: var(--navy);
}
.btn-ghost:hover { background: var(--white); color: var(--navy); }
.btn-light { background: #fff; color: var(--navy); }
.btn-light:hover { color: var(--blue); }

/* Hero */
.hero {
  position: relative; overflow: hidden;
  padding: clamp(3rem, 8vw, 5.5rem) 0 clamp(3.5rem, 8vw, 6rem);
}
.hero::before {
  content: ""; position: absolute; inset: -20% -10% auto auto; width: min(70vw, 620px); height: min(70vw, 620px);
  background:
    radial-gradient(circle at 30% 30%, rgba(21,194,222,0.28), transparent 55%),
    radial-gradient(circle at 70% 60%, rgba(28,97,230,0.22), transparent 50%);
  border-radius: 50%; pointer-events: none;
}
.hero::after {
  content: ""; position: absolute; left: -8%; bottom: -30%; width: 380px; height: 380px;
  background: radial-gradient(circle, rgba(28,97,230,0.12), transparent 65%);
  border-radius: 50%; pointer-events: none;
}
.hero-grid {
  position: relative; display: grid; gap: 2.5rem; align-items: center;
  grid-template-columns: 1.15fr 0.85fr;
}
.eyebrow {
  display: inline-flex; align-items: center; gap: 0.5rem;
  font-size: 0.78rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase;
  color: var(--blue); background: rgba(28,97,230,0.08); border: 1px solid rgba(28,97,230,0.12);
  padding: 0.4rem 0.75rem; border-radius: 999px; margin-bottom: 1rem;
}
.hero h1 {
  font-size: clamp(2.2rem, 5vw, 3.55rem); margin-bottom: 0.7em; max-width: 14ch;
}
.hero .lede { font-size: 1.12rem; max-width: 38ch; margin-bottom: 1.6rem; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 0.75rem; }
.hero-visual {
  position: relative; display: grid; place-items: center; min-height: 360px;
}
.orb {
  position: absolute; border-radius: 50%; filter: blur(2px);
}
.orb-a { width: 280px; height: 280px; background: rgba(21,194,222,0.18); }
.orb-b { width: 180px; height: 180px; background: rgba(28,97,230,0.16); transform: translate(90px, -70px); }
.hero-card {
  position: relative; background: rgba(255,255,255,0.82); border: 1px solid rgba(255,255,255,0.7);
  box-shadow: var(--shadow); border-radius: 28px; padding: 1.5rem; width: min(100%, 320px);
  backdrop-filter: blur(8px);
}
.hero-card img.product-icon { width: 88px; height: 88px; margin: 0 auto 1rem; border-radius: 22px; }
.hero-card h2 { font-size: 1.35rem; text-align: center; margin-bottom: 0.35em; }
.hero-card p { text-align: center; font-size: 0.95rem; margin-bottom: 1rem; }
.geo-ring {
  position: absolute; inset: 12% 8%; border: 1px dashed rgba(28,97,230,0.25); border-radius: 50%;
  pointer-events: none;
}

/* Sections */
.section { padding: clamp(3rem, 7vw, 5rem) 0; }
.section-muted { background: #fff; border-block: 1px solid var(--line); }
.section-head { max-width: 640px; margin-bottom: 2rem; }
.section-head h2 { font-size: clamp(1.7rem, 3.5vw, 2.4rem); }
.kicker { color: var(--cyan); font-weight: 700; font-size: 0.8rem; letter-spacing: 0.08em; text-transform: uppercase; margin-bottom: 0.6rem; }

.grid-3 { display: grid; gap: 1.25rem; grid-template-columns: repeat(3, 1fr); }
.grid-2 { display: grid; gap: 1.5rem; grid-template-columns: repeat(2, 1fr); }
.card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 1.4rem 1.35rem; box-shadow: 0 8px 24px rgba(12,37,69,0.03);
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}
.card:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.card-icon {
  width: 46px; height: 46px; border-radius: 14px; display: grid; place-items: center;
  background: linear-gradient(145deg, rgba(28,97,230,0.12), rgba(21,194,222,0.18));
  color: var(--blue); margin-bottom: 1rem; font-weight: 700;
}
.card h3 { font-size: 1.2rem; margin-bottom: 0.4em; }
.card p { margin-bottom: 0; font-size: 0.98rem; }

.feature-band {
  display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 2rem; align-items: center;
  background: linear-gradient(145deg, var(--navy), #14345f 55%, #0f4f8a);
  color: #fff; border-radius: 28px; padding: clamp(1.5rem, 4vw, 2.5rem);
  overflow: hidden; position: relative;
}
.feature-band::before {
  content: ""; position: absolute; right: -10%; top: -30%; width: 340px; height: 340px;
  background: radial-gradient(circle, rgba(21,194,222,0.35), transparent 65%);
}
.feature-band > * { position: relative; }
.feature-band h2, .feature-band p { color: rgba(255,255,255,0.92); }
.feature-band p { color: rgba(255,255,255,0.78); }
.feature-band .phone {
  width: min(100%, 260px); margin-inline: auto;
  border-radius: 28px; overflow: hidden; border: 3px solid rgba(255,255,255,0.25);
  box-shadow: 0 20px 50px rgba(0,0,0,0.25);
}
.feature-band .phone img { width: 100%; }

/* Steps */
.steps { display: grid; gap: 1rem; }
.step {
  display: grid; grid-template-columns: auto 1fr; gap: 1rem; align-items: start;
  background: #fff; border: 1px solid var(--line); border-radius: 16px; padding: 1.1rem 1.2rem;
}
.step-num {
  width: 42px; height: 42px; border-radius: 12px; display: grid; place-items: center;
  background: linear-gradient(135deg, var(--blue), var(--cyan)); color: #fff; font-weight: 700;
}
.step h3 { font-size: 1.05rem; margin-bottom: 0.2em; }
.step p { margin: 0; font-size: 0.95rem; }

/* Gallery */
.gallery {
  display: grid; gap: 1rem;
  grid-template-columns: repeat(5, 1fr);
}
.gallery figure {
  margin: 0; background: #fff; border: 1px solid var(--line); border-radius: 20px;
  padding: 0.75rem; box-shadow: 0 10px 30px rgba(12,37,69,0.05);
}
.gallery img { border-radius: 14px; width: 100%; aspect-ratio: 9/18; object-fit: cover; background: #e8eef8; }
.gallery figcaption { text-align: center; font-size: 0.82rem; color: var(--slate); margin-top: 0.55rem; }

/* FAQ */
.faq details {
  background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 1rem 1.15rem; margin-bottom: 0.75rem;
}
.faq summary {
  cursor: pointer; font-weight: 600; color: var(--navy); list-style: none;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; float: right; color: var(--blue); font-weight: 700; }
.faq details[open] summary::after { content: "–"; }
.faq details p { margin: 0.75rem 0 0; }

.disclaimer {
  background: rgba(28,97,230,0.06); border: 1px solid rgba(28,97,230,0.15);
  border-radius: 16px; padding: 1.1rem 1.25rem; color: var(--slate); font-size: 0.95rem;
}

/* Forms / contact */
.contact-grid { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 1.5rem; }
.form-card, .info-card {
  background: #fff; border: 1px solid var(--line); border-radius: 20px; padding: 1.5rem;
}
label { display: block; font-weight: 600; font-size: 0.9rem; margin-bottom: 0.35rem; }
input, textarea, select {
  width: 100%; border: 1px solid rgba(12,37,69,0.15); border-radius: 12px;
  padding: 0.8rem 0.9rem; font: inherit; background: var(--cream); color: var(--navy);
  margin-bottom: 1rem;
}
input:focus, textarea:focus { outline: 2px solid rgba(28,97,230,0.35); border-color: var(--blue); background: #fff; }
.field-hint { font-size: 0.82rem; color: var(--slate); margin-top: -0.6rem; margin-bottom: 1rem; }
.info-list { list-style: none; padding: 0; margin: 0; }
.info-list li { padding: 0.7rem 0; border-bottom: 1px solid var(--line); }
.info-list li:last-child { border-bottom: 0; }
.info-list strong { display: block; color: var(--navy); font-size: 0.85rem; margin-bottom: 0.15rem; }
.info-list span, .info-list a { color: var(--slate); text-decoration: none; }

/* Prose */
.prose { max-width: 720px; }
.prose h2 { margin-top: 1.8rem; font-size: 1.45rem; }
.prose ul { color: var(--slate); padding-left: 1.2rem; }
.page-hero {
  padding: clamp(2.5rem, 6vw, 4rem) 0 1rem;
}
.page-hero h1 { font-size: clamp(2rem, 4vw, 3rem); max-width: 16ch; }
.page-hero .lede { max-width: 48ch; font-size: 1.08rem; }

/* Footer */
.site-footer {
  background: var(--navy); color: rgba(255,255,255,0.78); padding: 3rem 0 2rem; margin-top: 2rem;
}
.footer-grid {
  display: grid; gap: 1.5rem; grid-template-columns: 1.4fr 1fr 1fr; margin-bottom: 2rem;
}
.site-footer h3 { color: #fff; font-family: var(--font); font-size: 0.95rem; letter-spacing: 0.04em; text-transform: uppercase; }
.site-footer a { color: rgba(255,255,255,0.82); text-decoration: none; }
.site-footer a:hover { color: #fff; }
.site-footer ul { list-style: none; padding: 0; margin: 0; }
.site-footer li { margin-bottom: 0.45rem; }
.footer-brand { display: flex; gap: 0.75rem; align-items: flex-start; }
.footer-brand img { width: auto; height: 52px; max-width: 160px; object-fit: contain; border-radius: 0; background: #fff; padding: 0.25rem 0.4rem; }
.footer-meta {
  border-top: 1px solid rgba(255,255,255,0.12); padding-top: 1.25rem;
  font-size: 0.85rem; display: flex; flex-wrap: wrap; gap: 0.75rem 1.5rem; justify-content: space-between;
}

/* Utilities */
.stack-sm > * + * { margin-top: 0.75rem; }
.mt-0 { margin-top: 0; }
.mb-0 { margin-bottom: 0; }
.text-center { text-align: center; }
.pill-row { display: flex; flex-wrap: wrap; gap: 0.5rem; margin-top: 1rem; }
.pill {
  font-size: 0.78rem; font-weight: 600; color: var(--navy); background: rgba(255,255,255,0.9);
  border: 1px solid rgba(255,255,255,0.4); border-radius: 999px; padding: 0.35rem 0.7rem;
}
.brand-lockup { display: flex; align-items: center; gap: 1rem; }
.brand-lockup img { width: 72px; height: 72px; border-radius: 18px; }

@media (max-width: 960px) {
  .hero-grid, .feature-band, .contact-grid, .footer-grid, .grid-3, .grid-2 { grid-template-columns: 1fr; }
  .gallery { grid-template-columns: repeat(2, 1fr); }
  .gallery figure:last-child { grid-column: span 2; max-width: 240px; margin-inline: auto; }
}
@media (max-width: 780px) {
  .nav-toggle { display: inline-block; }
  .nav {
    display: none; position: absolute; left: 1rem; right: 1rem; top: 72px;
    background: #fff; border: 1px solid var(--line); border-radius: 16px;
    padding: 1rem; flex-direction: column; align-items: stretch; box-shadow: var(--shadow);
  }
  .nav.is-open { display: flex; }
  .nav .btn { margin-left: 0; width: 100%; }
  .hero h1 { max-width: none; }
}
@media (max-width: 520px) {
  .gallery { grid-template-columns: 1fr 1fr; }
}

/* Phone frames for real screenshots */
.phone-frame {
  position: relative;
  width: min(100%, 280px);
  margin-inline: auto;
  padding: 10px;
  border-radius: 32px;
  background: linear-gradient(160deg, #1a2f4d, #0C2545);
  box-shadow: 0 24px 60px rgba(12, 37, 69, 0.22), inset 0 0 0 1px rgba(255,255,255,0.08);
}
.phone-frame::before {
  content: "";
  position: absolute;
  top: 16px; left: 50%; transform: translateX(-50%);
  width: 72px; height: 8px; border-radius: 999px;
  background: rgba(0,0,0,0.35); z-index: 2;
}
.phone-frame img {
  width: 100%;
  border-radius: 24px;
  display: block;
  background: #0C2545;
  aspect-ratio: 9 / 19.5;
  object-fit: cover;
  object-position: top center;
}
.phone-frame.phone-lg { width: min(100%, 300px); }
.phone-row {
  display: flex; flex-wrap: wrap; gap: 1.25rem; justify-content: center; align-items: flex-end;
}
.phone-row .phone-frame { width: min(100%, 220px); }
.feature-band .phone-frame {
  background: linear-gradient(160deg, rgba(255,255,255,0.18), rgba(255,255,255,0.06));
  box-shadow: 0 24px 50px rgba(0,0,0,0.28);
}
.gallery {
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
}
.gallery figure {
  padding: 0.6rem;
}
.gallery .phone-frame {
  width: 100%;
  max-width: none;
  padding: 8px;
  border-radius: 26px;
}
.gallery .phone-frame img {
  border-radius: 20px;
  aspect-ratio: 9 / 19.5;
}
.gallery figcaption { font-weight: 600; color: var(--navy); }
@media (max-width: 960px) {
  .gallery figure:last-child { grid-column: auto; max-width: none; margin-inline: 0; }
}
