:root {
  --navy: #0b1e4a;
  --navy-2: #122a63;
  --navy-3: #1c3d8f;
  --gold: #c9a227;
  --gold-2: #e0bc4e;
  --gold-d: #8d6f12;
  --ink: #152033;
  --muted: #5c677a;
  --paper: #f6f3ea;
  --paper-2: #efe8d6;
  --white: #fffcf7;
  --line: rgba(11, 30, 74, 0.12);
  --shadow: 0 18px 50px rgba(11, 30, 74, 0.12);
  --radius: 18px;
  --max: 1160px;
  --font: "Outfit", system-ui, sans-serif;
  --display: "Barlow Condensed", "Oswald", sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
html, body { margin: 0; padding: 0; }
body {
  font-family: var(--font);
  color: var(--ink);
  background: var(--white);
  line-height: 1.6;
  font-size: 17px;
}
img { max-width: 100%; height: auto; display: block; }
.book-frame {
  display: block;
  width: 100%;
  min-height: 820px;
  border: 0;
  border-radius: 16px;
  background: #fff;
  box-shadow: var(--shadow);
}
.frame,
.two-col aside > img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  object-position: center 18%;
  border-radius: 18px;
  margin-bottom: 18px;
  box-shadow: var(--shadow);
}
.two-col aside > img.product {
  object-fit: contain;
  object-position: center;
  background: #fff;
  aspect-ratio: 1 / 1;
}
a { color: var(--navy-3); }
a:hover { color: var(--gold-d); }
.skip {
  position: absolute; left: -999px; top: 0;
  background: var(--gold); color: var(--navy); padding: 8px 14px; z-index: 100;
}
.skip:focus { left: 8px; top: 8px; }
.wrap { width: min(var(--max), calc(100% - 40px)); margin: 0 auto; }
.kicker {
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--gold-d);
  margin: 0 0 10px;
}
h1, h2, h3 { font-family: var(--display); letter-spacing: 0.01em; line-height: 1.12; margin: 0 0 12px; color: var(--navy); }
h1 { font-size: clamp(2.3rem, 5vw, 3.7rem); font-weight: 700; }
h2 { font-size: clamp(1.8rem, 3.4vw, 2.6rem); }
h3 { font-size: 1.35rem; }
p { margin: 0 0 1rem; }
.lede { font-size: 1.15rem; color: var(--muted); max-width: 62ch; }

/* Topbar + header */
.topbar {
  background: var(--navy);
  color: #dce4f5;
  font-size: 0.86rem;
  padding: 8px 0;
}
.topbar .wrap { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.topbar a { color: var(--gold-2); text-decoration: none; font-weight: 600; }
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255, 252, 247, 0.94);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
}
.site-header .wrap {
  display: flex; align-items: center; justify-content: space-between;
  gap: 20px; min-height: 76px;
}
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--navy); }
.brand img { height: 46px; width: auto; }
.brand span {
  font-family: var(--display);
  font-size: 1.35rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  line-height: 1;
}
.brand small { display: block; font-family: var(--font); font-size: 0.68rem; letter-spacing: 0.12em; color: var(--muted); font-weight: 600; }
.nav { display: flex; align-items: center; gap: 4px; }
.nav a {
  text-decoration: none; color: var(--navy);
  font-weight: 600; font-size: 0.95rem;
  padding: 10px 12px; border-radius: 999px;
}
.nav a:hover, .nav a[aria-current="page"] { background: var(--paper); color: var(--navy); }
.header-cta { display: flex; gap: 8px; align-items: center; }
.menu-btn {
  display: none; background: none; border: 1px solid var(--line);
  border-radius: 10px; padding: 8px 10px; font: inherit; color: var(--navy);
}

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  text-decoration: none; font-weight: 700; border-radius: 999px;
  padding: 12px 20px; border: 2px solid transparent; cursor: pointer;
  transition: transform .15s ease, background .15s ease, box-shadow .15s ease;
  font-family: inherit; font-size: 0.95rem;
}
.btn:hover { transform: translateY(-1px); }
.btn-gold { background: var(--gold); color: var(--navy); }
.btn-gold:hover { background: var(--gold-2); color: var(--navy); }
.btn-navy { background: var(--navy); color: #fff; }
.btn-navy:hover { background: var(--navy-2); color: #fff; }
.btn-outline { background: transparent; border-color: var(--navy); color: var(--navy); }
.btn-outline-light { background: transparent; border-color: #fff; color: #fff; }
.btn-outline-light:hover { background: #fff; color: var(--navy); }

/* Hero */
.hero {
  position: relative;
  background: linear-gradient(120deg, #091633 0%, #12306e 55%, #1b3f8a 100%);
  color: #fff;
  overflow: hidden;
}
.hero .wrap {
  display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 40px;
  align-items: center; padding: 56px 0 64px;
}
.hero h1 { color: #fff; }
.hero p { color: #dbe4f6; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 10px; margin: 22px 0 18px; }
.hero-meta { display: flex; flex-wrap: wrap; gap: 10px 18px; color: #c9d4ea; font-size: 0.92rem; }
.hero-meta strong { color: var(--gold-2); font-weight: 700; }
.hero-photos { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 12px; }
.hero-photos img {
  width: 100%; height: 100%; object-fit: cover;
  border-radius: 18px; box-shadow: 0 20px 40px rgba(0,0,0,.25);
}
.hero-photos img:first-child { grid-row: span 2; min-height: 420px; }
.chip {
  display: inline-flex; align-items: center; gap: 8px;
  background: rgba(201,162,39,.16); color: var(--gold-2);
  border: 1px solid rgba(201,162,39,.35);
  padding: 6px 12px; border-radius: 999px; font-size: 0.82rem; font-weight: 700;
  letter-spacing: 0.04em; text-transform: uppercase; margin-bottom: 14px;
}

.trust {
  background: var(--paper);
  border-bottom: 1px solid var(--line);
}
.trust .wrap {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px;
  padding: 22px 0;
}
.trust div { font-size: 0.92rem; color: var(--muted); }
.trust strong { display: block; color: var(--navy); font-size: 1.02rem; }

section { padding: 72px 0; }
.section-dark { background: var(--navy); color: #e7edf8; }
.section-dark h2, .section-dark h3 { color: #fff; }
.section-paper { background: var(--paper); }
.center { text-align: center; }
.center .lede { margin-inline: auto; }

.intent-grid, .card-grid, .team-grid, .tech-grid {
  display: grid; gap: 18px; margin-top: 28px;
}
.intent-grid { grid-template-columns: repeat(3, 1fr); }
.card-grid { grid-template-columns: repeat(3, 1fr); }
.team-grid { grid-template-columns: repeat(3, 1fr); }
.tech-grid { grid-template-columns: repeat(3, 1fr); }

.intent, .card, .person, .device {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  text-decoration: none;
  color: inherit;
  display: flex; flex-direction: column;
}
a.intent:hover, a.card:hover { transform: translateY(-3px); transition: transform .18s ease; }
.intent { padding: 22px; min-height: 170px; }
.intent h3 { margin-bottom: 8px; }
.intent p { color: var(--muted); margin: 0; font-size: 0.95rem; }
.intent .go { margin-top: auto; padding-top: 14px; color: var(--navy-3); font-weight: 700; font-size: 0.9rem; }
.card img, .person img, .device img { width: 100%; height: 210px; object-fit: cover; }
.card .body, .person .body, .device .body { padding: 18px 18px 22px; }
.person img { height: 280px; object-position: top; }

.split {
  display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: center;
}
.split img {
  width: 100%; height: 520px; object-fit: cover; object-position: center 18%;
  border-radius: 20px; box-shadow: var(--shadow);
}
.checklist { list-style: none; padding: 0; margin: 0 0 18px; }
.checklist li {
  position: relative; padding: 8px 0 8px 28px;
  border-bottom: 1px solid var(--line);
}
.checklist li:before {
  content: ""; position: absolute; left: 0; top: 16px;
  width: 12px; height: 12px; border-radius: 50%;
  background: var(--gold);
}
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-top: 28px; }
.step {
  background: #fff; border-radius: var(--radius); padding: 20px;
  border: 1px solid var(--line);
}
.step b {
  display: inline-flex; width: 32px; height: 32px; align-items: center; justify-content: center;
  border-radius: 50%; background: var(--navy); color: #fff; margin-bottom: 10px;
}

.price-banner {
  background: linear-gradient(135deg, var(--navy), var(--navy-3));
  color: #fff; border-radius: 24px; padding: 36px;
  display: grid; grid-template-columns: 1.3fr auto; gap: 20px; align-items: center;
}
.price-banner h2 { color: #fff; }
.price-banner p { color: #d7e0f3; margin: 0; }
.price-tag {
  font-family: var(--display); font-size: 4rem; line-height: 1; color: var(--gold-2);
  text-align: center;
}
.price-tag small { display: block; font-size: 1rem; letter-spacing: 0.08em; color: #fff; }

.lead {
  display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 28px; align-items: start;
}
.lead-card, .form-card {
  background: #fff; border-radius: 22px; padding: 28px;
  border: 1px solid var(--line); box-shadow: var(--shadow);
}
form { display: grid; gap: 12px; }
label { font-size: 0.85rem; font-weight: 700; color: var(--navy); }
input, select, textarea {
  width: 100%; padding: 12px 12px; border-radius: 12px;
  border: 1px solid #cfd6e4; font: inherit; background: #fff;
}
input:focus, select:focus, textarea:focus {
  outline: 2px solid var(--gold); border-color: var(--gold);
}
.hp { position: absolute; left: -9999px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.form-note { font-size: 0.82rem; color: var(--muted); margin: 0; }
.form-success {
  display: none; background: #eef8ee; border: 1px solid #b7dfb8;
  color: #1b5e20; padding: 14px 16px; border-radius: 12px;
}
.form-error {
  display: none; background: #fdecea; border: 1px solid #f5c2c0;
  color: #8a1f16; padding: 14px 16px; border-radius: 12px;
}

.faq details {
  background: #fff; border: 1px solid var(--line); border-radius: 14px;
  padding: 14px 18px; margin-bottom: 10px;
}
.faq summary { cursor: pointer; font-weight: 700; color: var(--navy); }
.faq p { margin: 10px 0 0; color: var(--muted); }

.map-frame {
  width: 100%; height: 320px; border: 0; border-radius: 18px; margin-top: 12px;
}

.site-footer {
  background: #07142f; color: #c9d3e8; padding: 48px 0 24px;
}
.foot-grid { display: grid; grid-template-columns: 1.3fr 1fr 1fr 1fr; gap: 28px; }
.site-footer h3 { color: #fff; font-size: 1.1rem; }
.site-footer a { color: #e8eefc; text-decoration: none; }
.site-footer a:hover { color: var(--gold-2); }
.site-footer ul { list-style: none; padding: 0; margin: 0; }
.site-footer li { margin: 0 0 8px; }
.legal { border-top: 1px solid rgba(255,255,255,.1); margin-top: 28px; padding-top: 16px; font-size: 0.82rem; color: #93a0bb; }

.mobile-cta {
  display: none;
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 60;
  background: #fff; border-top: 1px solid var(--line);
  padding: 10px 12px calc(10px + env(safe-area-inset-bottom));
  gap: 8px;
}
.mobile-cta .btn { flex: 1; }

.breadcrumbs { font-size: 0.88rem; color: var(--muted); margin-bottom: 18px; }
.breadcrumbs a { color: var(--navy-3); text-decoration: none; }
.page-hero { padding: 36px 0 10px; }
.two-col { display: grid; grid-template-columns: 1.2fr 0.8fr; gap: 28px; }
.prose h2 { margin-top: 28px; }
.notice {
  background: var(--paper); border-left: 4px solid var(--gold);
  padding: 14px 16px; border-radius: 8px; color: var(--muted); font-size: 0.92rem;
}

@media (max-width: 980px) {
  .hero .wrap, .split, .lead, .price-banner, .two-col, .foot-grid { grid-template-columns: 1fr; }
  .intent-grid, .card-grid, .team-grid, .tech-grid, .trust .wrap, .steps { grid-template-columns: 1fr 1fr; }
  .hero-photos img:first-child { min-height: 280px; }
  .nav, .header-cta .btn-outline { display: none; }
  .menu-btn { display: inline-flex; }
  .nav.open {
    display: flex; flex-direction: column; position: absolute;
    top: 100%; left: 0; right: 0; background: #fff; padding: 12px 20px 20px;
    border-bottom: 1px solid var(--line);
  }
  .mobile-cta { display: flex; }
  body { padding-bottom: 76px; }
  .brand span { display: none; }
}
@media (max-width: 640px) {
  .intent-grid, .card-grid, .team-grid, .tech-grid, .trust .wrap, .steps, .form-row, .hero-photos {
    grid-template-columns: 1fr;
  }
  .wrap { width: min(var(--max), calc(100% - 28px)); }
  section { padding: 52px 0; }
}
