:root {
  --blue: #1f4f75;
  --blue-dark: #143650;
  --orange: #ff6b35;
  --ink: #1b1f24;
  --muted: #5b6672;
  --line: #e3e7ec;
  --bg: #ffffff;
  --bg-soft: #f4f6f8;
  --radius: 14px;
  --max: 1120px;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  color: var(--ink);
  background: var(--bg);
  line-height: 1.6;
  font-size: 17px;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--blue); }
a:hover { color: var(--orange); }

.wrap { max-width: var(--max); margin: 0 auto; padding: 0 24px; }

/* Header */
.site-header {
  position: sticky; top: 0; z-index: 10;
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: saturate(160%) blur(8px);
  border-bottom: 1px solid var(--line);
}
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; height: 64px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; }
.brand img.icon { width: 34px; height: 34px; border-radius: 8px; }
.brand img.word { height: 18px; width: auto; }
.nav { display: flex; gap: 22px; align-items: center; }
.nav a { color: var(--ink); text-decoration: none; font-weight: 600; font-size: 15px; }
.nav a:hover { color: var(--orange); }
.nav .btn { color: #fff; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  background: var(--orange); color: #fff; text-decoration: none; font-weight: 700;
  padding: 12px 20px; border-radius: 999px; border: 0; cursor: pointer; font-size: 16px;
}
.btn:hover { background: #e85a26; color: #fff; }
.btn.secondary { background: transparent; color: #fff; border: 2px solid rgba(255,255,255,.85); }
.btn.secondary:hover { background: rgba(255,255,255,.12); }
.btn.small { padding: 8px 14px; font-size: 14px; }

/* Hero */
.hero {
  position: relative; color: #fff;
  background: linear-gradient(180deg, rgba(10,25,38,.35) 0%, rgba(10,25,38,.75) 100%), url("hero.jpg") center/cover no-repeat;
  min-height: 78vh; display: flex; align-items: flex-end;
}
.hero .wrap { padding-top: 120px; padding-bottom: 72px; }
.hero h1 { font-size: clamp(38px, 6vw, 64px); line-height: 1.05; margin: 0 0 16px; letter-spacing: -0.02em; max-width: 14ch; }
.hero p.lead { font-size: clamp(18px, 2.2vw, 22px); max-width: 38ch; margin: 0 0 28px; color: rgba(255,255,255,.92); }
.hero .actions { display: flex; flex-wrap: wrap; gap: 12px; }
.store-note { margin-top: 14px; font-size: 14px; color: rgba(255,255,255,.8); }

/* Sections */
section { padding: 84px 0; }
section.soft { background: var(--bg-soft); }
.eyebrow { color: var(--orange); font-weight: 800; letter-spacing: .08em; text-transform: uppercase; font-size: 13px; margin: 0 0 8px; }
h2 { font-size: clamp(28px, 3.6vw, 40px); line-height: 1.15; margin: 0 0 16px; letter-spacing: -0.01em; }
h3 { font-size: 20px; margin: 0 0 8px; }
.sub { color: var(--muted); max-width: 60ch; margin: 0 0 40px; }

.grid { display: grid; gap: 22px; }
.grid.features { grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); }
.card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; }
.card .dot { width: 40px; height: 40px; border-radius: 10px; background: var(--blue); color: #fff; display: grid; place-items: center; font-weight: 800; margin-bottom: 14px; }
.card p { color: var(--muted); margin: 0; }

.split { display: grid; grid-template-columns: 1.1fr 1fr; gap: 48px; align-items: center; }
.split img { border-radius: var(--radius); width: 100%; height: auto; object-fit: cover; aspect-ratio: 4 / 3; }
.split.reverse { grid-template-columns: 1fr 1.1fr; }
.split.reverse .media { order: -1; }
ul.checks { list-style: none; padding: 0; margin: 18px 0 0; }
ul.checks li { padding-left: 30px; position: relative; margin: 10px 0; }
ul.checks li::before { content: ""; position: absolute; left: 0; top: 7px; width: 16px; height: 16px; border-radius: 50%; background: var(--blue); box-shadow: inset 0 0 0 4px #cfe0ee; }

.photos { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.photos img { border-radius: var(--radius); aspect-ratio: 4 / 3; object-fit: cover; width: 100%; height: auto; }

.cta { background: var(--blue); color: #fff; border-radius: 22px; padding: 56px 40px; text-align: center; }
.cta h2 { color: #fff; }
.cta p { color: rgba(255,255,255,.85); max-width: 52ch; margin: 0 auto 26px; }

/* Long-form pages (legal, support) */
.page-head { background: var(--blue); color: #fff; padding: 64px 0 40px; }
.page-head h1 { margin: 0 0 6px; font-size: clamp(32px, 4.5vw, 46px); line-height: 1.1; }
.page-head p { margin: 0; color: rgba(255,255,255,.85); }
.prose { max-width: 760px; padding: 48px 24px 80px; margin: 0 auto; }
.prose h2 { font-size: 24px; margin: 40px 0 10px; }
.prose h3 { font-size: 18px; margin: 26px 0 8px; }
.prose table { width: 100%; border-collapse: collapse; margin: 16px 0; font-size: 15px; }
.prose th, .prose td { text-align: left; vertical-align: top; padding: 10px 12px; border-bottom: 1px solid var(--line); }
.prose th { background: var(--bg-soft); }
.prose .callout { background: var(--bg-soft); border-left: 4px solid var(--orange); padding: 16px 18px; border-radius: 8px; margin: 20px 0; }
.prose details { border: 1px solid var(--line); border-radius: 10px; padding: 14px 18px; margin: 12px 0; background: #fff; }
.prose summary { font-weight: 700; cursor: pointer; }
.prose details p { margin: 10px 0 0; color: var(--muted); }
.prose ol li, .prose ul li { margin: 6px 0; }

/* Footer */
.site-footer { border-top: 1px solid var(--line); padding: 40px 0; color: var(--muted); font-size: 15px; }
.site-footer .wrap { display: flex; flex-wrap: wrap; gap: 18px; justify-content: space-between; align-items: center; }
.site-footer nav { display: flex; flex-wrap: wrap; gap: 18px; }
.site-footer a { color: var(--muted); text-decoration: none; }
.site-footer a:hover { color: var(--orange); }

@media (max-width: 820px) {
  .nav a:not(.btn) { display: none; }
  .split, .split.reverse { grid-template-columns: 1fr; gap: 28px; }
  .split.reverse .media { order: 0; }
  section { padding: 64px 0; }
  .photos { grid-template-columns: 1fr 1fr; }
  .photos img:last-child { display: none; }
  .cta { padding: 44px 22px; }
}

/* Narrow phones: keep the header on one line */
.nav .btn { white-space: nowrap; }
@media (max-width: 420px) {
  .brand img.word { height: 14px; }
  .brand img.icon { width: 30px; height: 30px; }
  .nav .btn.small { padding: 7px 12px; font-size: 13px; }
}
