:root {
  color-scheme: light;
  --navy-950: #07142f;
  --navy-900: #0b1f47;
  --navy-800: #123263;
  --blue-700: #1855d8;
  --blue-600: #2469f6;
  --blue-500: #3984ff;
  --teal-500: #12c8c3;
  --teal-100: #d9fbf8;
  --coral-500: #ff6548;
  --coral-100: #fff0eb;
  --gold-400: #ffc84d;
  --ink: #11213d;
  --muted: #61708a;
  --line: #dce5f1;
  --canvas: #f4f7fb;
  --surface: #ffffff;
  --surface-soft: #edf4ff;
  --success: #16865f;
  --warning: #a55700;
  --radius-sm: 14px;
  --radius: 22px;
  --radius-lg: 32px;
  --shadow-sm: 0 10px 28px rgba(11, 31, 71, 0.08);
  --shadow: 0 22px 64px rgba(11, 31, 71, 0.13);
  --shadow-blue: 0 22px 60px rgba(36, 105, 246, 0.3);
  --page-width: 1180px;
}

*, *::before, *::after { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  min-width: 320px;
  background:
    radial-gradient(circle at 10% 0%, rgba(18, 200, 195, 0.12), transparent 28rem),
    radial-gradient(circle at 95% 14%, rgba(57, 132, 255, 0.14), transparent 30rem),
    var(--canvas);
  color: var(--ink);
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Segoe UI", sans-serif;
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

img, svg { display: block; max-width: 100%; }
a { color: inherit; }
button, input, textarea { font: inherit; }

:focus-visible {
  outline: 3px solid var(--gold-400);
  outline-offset: 3px;
}

.skip-link {
  position: fixed;
  top: 8px;
  left: 8px;
  z-index: 1000;
  transform: translateY(-160%);
  border-radius: 10px;
  padding: 10px 14px;
  background: var(--surface);
  color: var(--navy-900);
  font-weight: 900;
}

.skip-link:focus { transform: translateY(0); }

.container {
  width: min(var(--page-width), calc(100% - 40px));
  margin-inline: auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  border-bottom: 1px solid rgba(220, 229, 241, 0.82);
  background: rgba(244, 247, 251, 0.9);
  backdrop-filter: blur(18px);
}

.nav-shell {
  display: flex;
  min-height: 76px;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: var(--navy-900);
  text-decoration: none;
}

.brand img {
  width: 48px;
  height: 48px;
  border-radius: 14px;
  box-shadow: 0 10px 24px rgba(7, 20, 47, 0.2);
}

.brand-copy { display: grid; line-height: 1.06; }
.brand-name { font-size: 18px; font-weight: 1000; letter-spacing: -0.02em; }
.brand-byline { margin-top: 4px; color: var(--muted); font-size: 11px; font-weight: 900; letter-spacing: 0.08em; text-transform: uppercase; }

.nav-links {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 6px;
}

.nav-links a {
  border-radius: 999px;
  padding: 10px 13px;
  color: #43516a;
  font-size: 14px;
  font-weight: 900;
  text-decoration: none;
}

.nav-links a:hover, .nav-links a[aria-current="page"] {
  background: var(--surface);
  color: var(--blue-700);
  box-shadow: var(--shadow-sm);
}

.nav-links .kingdom-link {
  margin-left: 6px;
  border: 1px solid var(--line);
}

.hero {
  position: relative;
  overflow: hidden;
  padding: 78px 0 88px;
  background:
    radial-gradient(circle at 78% 32%, rgba(18, 200, 195, 0.22), transparent 18rem),
    radial-gradient(circle at 42% 110%, rgba(36, 105, 246, 0.46), transparent 29rem),
    linear-gradient(135deg, var(--navy-950), var(--navy-900) 58%, #102f68);
  color: white;
}

.hero::after {
  content: "";
  position: absolute;
  right: -160px;
  bottom: -250px;
  width: 620px;
  height: 620px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  box-shadow: 0 0 0 60px rgba(255, 255, 255, 0.025), 0 0 0 120px rgba(255, 255, 255, 0.018);
}

.hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1.03fr) minmax(340px, 0.97fr);
  align-items: center;
  gap: clamp(40px, 7vw, 90px);
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  border: 1px solid rgba(255, 255, 255, 0.17);
  border-radius: 999px;
  padding: 8px 13px;
  background: rgba(255, 255, 255, 0.08);
  color: #b8fff8;
  font-size: 12px;
  font-weight: 1000;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

.eyebrow::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--teal-500);
  box-shadow: 0 0 0 5px rgba(18, 200, 195, 0.15);
}

h1, h2, h3, p { margin-top: 0; }

.hero h1 {
  max-width: 720px;
  margin: 22px 0 20px;
  font-size: clamp(45px, 7vw, 79px);
  font-weight: 1000;
  letter-spacing: -0.055em;
  line-height: 0.99;
}

.hero h1 span {
  background: linear-gradient(90deg, #77e9ff, var(--teal-500) 52%, var(--gold-400));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero-lede {
  max-width: 640px;
  margin-bottom: 27px;
  color: rgba(255, 255, 255, 0.76);
  font-size: clamp(18px, 2.2vw, 22px);
  line-height: 1.55;
}

.hero-actions, .button-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
}

.button-row.centered {
  justify-content: center;
  margin-top: 28px;
}

.button {
  display: inline-flex;
  min-height: 50px;
  align-items: center;
  justify-content: center;
  gap: 9px;
  border: 0;
  border-radius: 15px;
  padding: 13px 19px;
  text-decoration: none;
  font-weight: 1000;
  line-height: 1.2;
  transition: transform 160ms ease, box-shadow 160ms ease, background 160ms ease;
}

.button:hover { transform: translateY(-2px); }
.button.primary { background: linear-gradient(135deg, var(--blue-500), var(--blue-600)); color: white; box-shadow: var(--shadow-blue); }
.button.light { border: 1px solid rgba(255,255,255,.18); background: rgba(255,255,255,.09); color: white; }
.button.secondary { border: 1px solid #c8d8ed; background: white; color: var(--blue-700); box-shadow: var(--shadow-sm); }

.launch-note {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 18px;
  color: rgba(255,255,255,.62);
  font-size: 13px;
  font-weight: 800;
}

.launch-note::before { content: "●"; color: var(--gold-400); }

.app-preview {
  position: relative;
  max-width: 470px;
  margin-inline: auto;
}

.app-icon {
  position: absolute;
  top: -38px;
  right: -18px;
  z-index: 4;
  width: 110px;
  height: 110px;
  border: 7px solid rgba(255,255,255,.18);
  border-radius: 29px;
  box-shadow: 0 28px 60px rgba(0,0,0,.35);
}

.phone {
  position: relative;
  border: 8px solid #14254a;
  border-radius: 42px;
  padding: 18px 14px 16px;
  background: #f2f6fb;
  box-shadow: 0 40px 90px rgba(0,0,0,.42), inset 0 0 0 1px rgba(255,255,255,.25);
}

.phone::before {
  content: "";
  display: block;
  width: 90px;
  height: 20px;
  margin: -11px auto 12px;
  border-radius: 0 0 15px 15px;
  background: #14254a;
}

.phone-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 12px; color: var(--navy-900); }
.phone-head strong { font-size: 20px; font-weight: 1000; }
.phone-head span { border-radius: 999px; padding: 5px 9px; background: var(--teal-100); color: #087770; font-size: 10px; font-weight: 1000; }

.metric-strip { display: grid; grid-template-columns: repeat(3, 1fr); gap: 7px; margin-bottom: 10px; }
.metric { border: 1px solid #dce7f5; border-radius: 12px; padding: 9px; background: white; }
.metric b { display: block; color: var(--navy-900); font-size: 18px; line-height: 1; }
.metric small { color: var(--muted); font-size: 8px; font-weight: 900; text-transform: uppercase; }

.calendar-card { overflow: hidden; border: 1px solid #dce7f5; border-radius: 18px; background: white; box-shadow: 0 12px 30px rgba(11,31,71,.08); }
.calendar-title { display: flex; align-items: center; justify-content: space-between; padding: 13px 13px 9px; color: var(--navy-900); font-size: 13px; font-weight: 1000; }
.calendar-title span { color: var(--blue-600); }
.calendar-grid { display: grid; grid-template-columns: repeat(7, 1fr); border-top: 1px solid #e3eaf4; }
.day-name { padding: 6px 2px; color: #748199; font-size: 7px; font-weight: 1000; text-align: center; text-transform: uppercase; }
.calendar-day { min-height: 72px; border-top: 1px solid #e9eef6; border-right: 1px solid #e9eef6; padding: 5px 4px; }
.calendar-day:nth-child(7n) { border-right: 0; }
.date { display: flex; align-items: center; justify-content: space-between; color: var(--navy-900); font-size: 8px; font-weight: 1000; }
.count { border-radius: 999px; padding: 1px 4px; background: #e6f1ff; color: var(--blue-700); font-size: 6px; }
.stay { margin-top: 4px; border-radius: 5px; padding: 4px; background: #fff3c7; color: #724b00; font-size: 6px; font-weight: 1000; line-height: 1.15; }
.stay.in { background: var(--teal-100); color: #087770; }
.stay.out { background: var(--coral-100); color: #b33118; }
.trust-strip { border-bottom: 1px solid var(--line); background: var(--surface); }
.trust-grid { display: grid; grid-template-columns: repeat(4, 1fr); }
.trust-item { padding: 24px 18px; text-align: center; }
.trust-item + .trust-item { border-left: 1px solid var(--line); }
.trust-item strong { display: block; color: var(--navy-900); font-size: 15px; }
.trust-item span { color: var(--muted); font-size: 12px; font-weight: 700; }

.section { padding: 92px 0; }
.section.compact { padding: 64px 0; }
.section.white { background: var(--surface); }
.section.navy { background: var(--navy-950); color: white; }
.section-heading { max-width: 720px; margin-bottom: 38px; }
.section-heading.center { margin-inline: auto; text-align: center; }
.section-kicker { margin-bottom: 8px; color: var(--blue-600); font-size: 12px; font-weight: 1000; letter-spacing: .12em; text-transform: uppercase; }
.navy .section-kicker { color: #70e7e2; }
.section h2 { margin-bottom: 14px; color: var(--navy-900); font-size: clamp(32px, 5vw, 54px); font-weight: 1000; letter-spacing: -.04em; line-height: 1.04; }
.navy h2 { color: white; }
.section-heading p { margin-bottom: 0; color: var(--muted); font-size: 18px; }
.navy .section-heading p { color: rgba(255,255,255,.7); }

.feature-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.feature-card { border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; background: var(--surface); box-shadow: var(--shadow-sm); }
.feature-card .icon { display: grid; width: 48px; height: 48px; place-items: center; margin-bottom: 20px; border-radius: 15px; background: var(--surface-soft); color: var(--blue-600); font-size: 23px; }
.feature-card.teal .icon { background: var(--teal-100); color: #087770; }
.feature-card.coral .icon { background: var(--coral-100); color: var(--coral-500); }
.feature-card h3 { margin-bottom: 8px; color: var(--navy-900); font-size: 20px; line-height: 1.2; }
.feature-card p { margin-bottom: 0; color: var(--muted); }

.workflow { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; counter-reset: step; }
.workflow-card { position: relative; overflow: hidden; border: 1px solid rgba(255,255,255,.12); border-radius: var(--radius); padding: 28px; background: rgba(255,255,255,.055); counter-increment: step; }
.workflow-card::before { content: "0" counter(step); display: block; margin-bottom: 30px; color: var(--teal-500); font-size: 13px; font-weight: 1000; letter-spacing: .12em; }
.workflow-card h3 { margin-bottom: 9px; color: white; font-size: 21px; }
.workflow-card p { margin: 0; color: rgba(255,255,255,.65); }

.pricing-wrap { display: grid; grid-template-columns: minmax(0, 1fr) minmax(320px, .72fr); align-items: stretch; gap: 22px; }
.pricing-story, .price-card { border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 34px; background: white; box-shadow: var(--shadow-sm); }
.pricing-story h2 { font-size: clamp(34px, 5vw, 50px); }
.pricing-list { display: grid; gap: 13px; margin-top: 26px; }
.pricing-list span { display: flex; gap: 10px; color: var(--ink); font-weight: 800; }
.pricing-list span::before { content: "✓"; display: grid; width: 23px; height: 23px; flex: 0 0 23px; place-items: center; border-radius: 50%; background: var(--teal-100); color: #087770; font-size: 12px; font-weight: 1000; }
.price-card { display: flex; flex-direction: column; justify-content: space-between; background: linear-gradient(145deg, var(--navy-900), #173b78); color: white; }
.price-label { color: #97a9c8; font-size: 12px; font-weight: 1000; letter-spacing: .12em; text-transform: uppercase; }
.price { margin: 16px 0 5px; font-size: 62px; font-weight: 1000; letter-spacing: -.06em; line-height: 1; }
.price small { color: rgba(255,255,255,.64); font-size: 15px; letter-spacing: 0; }
.price-card p { color: rgba(255,255,255,.68); }
.price-card .button { width: 100%; margin-top: 22px; }
.fine-print { margin: 13px 0 0; color: rgba(255,255,255,.49) !important; font-size: 11px; line-height: 1.45; text-align: center; }

.cta-panel { display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 30px; border-radius: var(--radius-lg); padding: clamp(30px, 6vw, 58px); background: linear-gradient(135deg, var(--blue-700), var(--blue-600) 55%, #1bb9b5); color: white; box-shadow: var(--shadow-blue); }
.cta-panel h2 { margin-bottom: 8px; color: white; }
.cta-panel p { margin: 0; color: rgba(255,255,255,.76); font-size: 17px; }

.site-footer { border-top: 1px solid var(--line); background: var(--surface); }
.footer-main { display: grid; grid-template-columns: 1.3fr repeat(3, 1fr); gap: 36px; padding: 54px 0 38px; }
.footer-blurb { max-width: 340px; margin-top: 15px; color: var(--muted); font-size: 14px; }
.footer-column h2 { margin: 0 0 12px; color: var(--navy-900); font-size: 13px; font-weight: 1000; letter-spacing: .08em; text-transform: uppercase; }
.footer-column a { display: block; padding: 5px 0; color: var(--muted); font-size: 14px; font-weight: 800; text-decoration: none; }
.footer-column a:hover { color: var(--blue-700); text-decoration: underline; }
.footer-bottom { display: flex; align-items: center; justify-content: space-between; gap: 20px; border-top: 1px solid var(--line); padding: 22px 0 30px; color: #7a879c; font-size: 12px; font-weight: 700; }

/* Legal and support pages */
.document-main { padding: 54px 0 82px; }
.document-hero { position: relative; overflow: hidden; border-radius: var(--radius-lg); padding: clamp(30px, 6vw, 58px); background: linear-gradient(135deg, var(--navy-950), #123368 65%, #106b88); color: white; box-shadow: var(--shadow); }
.document-hero::after { content: ""; position: absolute; right: -70px; bottom: -120px; width: 300px; height: 300px; border-radius: 50%; background: rgba(18,200,195,.18); }
.document-hero > * { position: relative; z-index: 1; }
.document-hero h1 { max-width: 820px; margin: 12px 0 14px; font-size: clamp(36px, 6vw, 60px); font-weight: 1000; letter-spacing: -.045em; line-height: 1.03; }
.document-hero p { max-width: 760px; margin-bottom: 0; color: rgba(255,255,255,.75); font-size: 17px; }
.meta-pills { display: flex; flex-wrap: wrap; gap: 9px; margin-top: 20px; }
.meta-pill { border: 1px solid rgba(255,255,255,.16); border-radius: 999px; padding: 7px 11px; background: rgba(255,255,255,.08); color: white; font-size: 12px; font-weight: 900; }
.document-layout { display: grid; grid-template-columns: minmax(0, 1fr) 250px; align-items: start; gap: 28px; margin-top: 28px; }
.document-cards { display: grid; gap: 16px; }
.document-card { scroll-margin-top: 100px; border: 1px solid var(--line); border-radius: var(--radius); padding: clamp(23px, 4vw, 34px); background: rgba(255,255,255,.94); box-shadow: var(--shadow-sm); }
.document-card h2 { margin-bottom: 12px; color: var(--navy-900); font-size: 23px; line-height: 1.2; }
.document-card h3 { margin: 23px 0 8px; color: var(--navy-800); font-size: 17px; }
.document-card p, .document-card li { color: #52627a; }
.document-card p:last-child, .document-card ul:last-child { margin-bottom: 0; }
.document-card ul, .document-card ol { padding-left: 21px; }
.document-card li + li { margin-top: 8px; }
.document-card a { color: var(--blue-700); font-weight: 900; }
.notice { border-left: 4px solid var(--teal-500); border-radius: 10px; padding: 14px 16px; margin-top: 18px; background: var(--teal-100); color: #12665f; font-weight: 800; }
.notice.warning { border-left-color: var(--gold-400); background: #fff7dc; color: #714b00; }
.document-nav { position: sticky; top: 96px; border: 1px solid var(--line); border-radius: var(--radius); padding: 20px; background: rgba(255,255,255,.94); box-shadow: var(--shadow-sm); }
.document-nav strong { display: block; margin-bottom: 9px; color: var(--navy-900); font-size: 13px; letter-spacing: .06em; text-transform: uppercase; }
.document-nav a { display: block; border-radius: 8px; padding: 6px 8px; color: var(--muted); font-size: 13px; font-weight: 800; text-decoration: none; }
.document-nav a:hover { background: var(--surface-soft); color: var(--blue-700); }

.support-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.support-card { border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; background: white; box-shadow: var(--shadow-sm); }
.support-card h2 { margin-bottom: 8px; color: var(--navy-900); font-size: 20px; }
.support-card p { margin-bottom: 15px; color: var(--muted); }
.support-card a { color: var(--blue-700); font-weight: 1000; }
.faq { border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); padding: 17px 0; }
.faq summary { color: var(--navy-900); font-weight: 1000; cursor: pointer; }
.faq details p { margin: 10px 0 0; color: var(--muted); }

@media (max-width: 900px) {
  .hero-grid, .pricing-wrap, .document-layout { grid-template-columns: 1fr; }
  .app-preview { width: min(470px, 94%); margin-top: 30px; }
  .feature-grid, .workflow { grid-template-columns: repeat(2, 1fr); }
  .trust-grid { grid-template-columns: repeat(2, 1fr); }
  .trust-item:nth-child(3) { border-left: 0; border-top: 1px solid var(--line); }
  .trust-item:nth-child(4) { border-top: 1px solid var(--line); }
  .document-nav { display: none; }
  .footer-main { grid-template-columns: 1.4fr 1fr 1fr; }
  .footer-column:last-child { grid-column: 2 / -1; }
}

@media (max-width: 680px) {
  .container { width: min(100% - 28px, var(--page-width)); }
  .nav-shell { min-height: 68px; }
  .brand img { width: 42px; height: 42px; border-radius: 12px; }
  .brand-byline, .nav-links a:not(.kingdom-link) { display: none; }
  .nav-links .kingdom-link { margin-left: 0; padding: 8px 10px; font-size: 12px; }
  .hero { padding: 56px 0 68px; }
  .hero h1 { font-size: clamp(43px, 14vw, 64px); }
  .app-icon { right: -5px; width: 84px; height: 84px; border-radius: 23px; }
  .feature-grid, .workflow, .support-grid, .footer-main { grid-template-columns: 1fr; }
  .trust-grid { grid-template-columns: 1fr; }
  .trust-item + .trust-item { border-top: 1px solid var(--line); border-left: 0; }
  .cta-panel { grid-template-columns: 1fr; }
  .footer-column:last-child { grid-column: auto; }
  .footer-bottom { align-items: flex-start; flex-direction: column; }
  .section { padding: 72px 0; }
  .document-main { padding-top: 28px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; }
}

@media print {
  .site-header, .site-footer, .document-nav, .button-row { display: none !important; }
  body { background: white; color: black; }
  .container { width: 100%; }
  .document-main { padding: 0; }
  .document-hero { border: 0; padding: 0 0 24px; background: white; color: black; box-shadow: none; }
  .document-hero p, .meta-pill { color: black; }
  .meta-pill { border-color: #aaa; }
  .document-layout { display: block; }
  .document-card { break-inside: avoid; border-color: #bbb; box-shadow: none; }
}
