:root {
  color-scheme: light;
  --ink: #102a43;
  --ink-soft: #486581;
  --blue: #176b87;
  --mint: #8be0c1;
  --paper: #f7faf9;
  --line: #d9e5e2;
  --white: #fff;
  --font-heading: ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-family: ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-synthesis: none;
  text-rendering: optimizeLegibility;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  line-height: 1.65;
}

a { color: var(--blue); }

a:focus-visible {
  outline: 3px solid #e39b54;
  outline-offset: 4px;
  border-radius: 3px;
}

.site-header {
  width: min(1160px, calc(100% - 48px));
  height: 82px;
  margin: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--ink);
  text-decoration: none;
  font-family: var(--font-heading);
  font-size: 17px;
  font-weight: 800;
}

.brand-logo {
  display: block;
  width: 36px;
  height: 36px;
  flex: 0 0 36px;
  border-radius: 11px;
  object-fit: cover;
}

.site-nav { display: flex; align-items: center; gap: 34px; }
.site-nav a, .site-footer > a:not(.brand) {
  color: var(--ink-soft);
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
}
.site-nav a:hover, .site-footer a:hover { color: var(--blue); }
.site-nav a[aria-current="page"] { color: var(--blue); }

.hero {
  position: relative;
  overflow: hidden;
  display: grid;
  grid-template-columns: 1.1fr .9fr;
  align-items: center;
  gap: 50px;
  min-height: 560px;
  padding: 66px max(24px, calc((100vw - 1160px) / 2));
  background: #eaf5f1;
}

.hero-copy { max-width: 610px; }
.eyebrow {
  margin: 0 0 14px;
  color: var(--blue);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
}

h1, h2, h3, p { margin-top: 0; }
h1, h2, h3 { font-family: var(--font-heading); line-height: 1.17; }

.hero h1 {
  margin-bottom: 22px;
  font-size: clamp(42px, 5.2vw, 68px);
  letter-spacing: -.055em;
}
.hero h1 span { color: var(--blue); }
.hero-description {
  max-width: 510px;
  margin-bottom: 28px;
  color: var(--ink-soft);
  font-size: 17px;
}

.button {
  display: inline-flex;
  align-items: center;
  gap: 18px;
  min-height: 50px;
  padding: 0 21px;
  border: 0;
  border-radius: 8px;
  background: var(--ink);
  color: var(--white);
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
  transition: transform .18s ease, background .18s ease;
}
.button:hover { transform: translateY(-2px); background: var(--blue); }
.button span { color: var(--mint); font-size: 19px; }
.hero-note { margin: 13px 0 0; color: var(--ink-soft); font-size: 12px; }

.hero-art {
  position: relative;
  display: grid;
  min-height: 390px;
  place-items: center;
}
.orbit {
  position: absolute;
  width: 340px;
  height: 340px;
  border: 1px solid rgba(23, 107, 135, .16);
  border-radius: 50%;
}
.orbit-two { width: 430px; height: 430px; }
.calc-card {
  position: relative;
  z-index: 1;
  width: 238px;
  padding: 18px;
  border: 1px solid rgba(16, 42, 67, .1);
  border-radius: 24px;
  background: #fff;
  box-shadow: 0 30px 65px rgba(16, 42, 67, .18);
  transform: rotate(-7deg);
}
.calc-top { display: flex; gap: 5px; margin-bottom: 20px; }
.calc-top span { width: 6px; height: 6px; border-radius: 50%; background: #c9d8d5; }
.calc-screen {
  display: grid;
  height: 62px;
  margin-bottom: 14px;
  padding: 0 12px;
  place-items: center end;
  border-radius: 10px;
  background: #eaf5f1;
  color: var(--blue);
  font-size: 22px;
  letter-spacing: .2em;
}
.calc-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; }
.calc-grid i {
  height: 34px;
  border-radius: 8px;
  background: #eff3f2;
}
.calc-grid i.calc-accent { background: #c5efdf; }
.calc-grid i.calc-wide { grid-column: span 2; }
.art-caption {
  position: absolute;
  right: 2%;
  bottom: 14%;
  color: var(--ink-soft);
  font-family: var(--font-heading);
  font-size: 13px;
  font-weight: 700;
  line-height: 1.45;
}
.art-spark { position: absolute; color: var(--blue); }
.spark-one { top: 12%; right: 23%; font-size: 30px; }
.spark-two { bottom: 15%; left: 7%; color: #4ca78d; font-size: 25px; }

.trust-strip {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  width: min(1000px, calc(100% - 48px));
  margin: -1px auto 0;
  padding: 27px 0;
  border-bottom: 1px solid var(--line);
}
.trust-strip div { display: grid; gap: 2px; padding: 0 25px; border-right: 1px solid var(--line); }
.trust-strip div:first-child { padding-left: 0; }
.trust-strip div:last-child { border: 0; }
.trust-strip strong { font-family: var(--font-heading); font-size: 15px; }
.trust-strip span { color: var(--ink-soft); font-size: 12px; }

.section { width: min(1040px, calc(100% - 48px)); margin: auto; padding: 100px 0; }
.section-heading { max-width: 680px; margin-bottom: 38px; }
.section-heading h2, .closing h2 {
  margin-bottom: 16px;
  font-size: clamp(32px, 4vw, 47px);
  letter-spacing: -.045em;
}
.section-intro { max-width: 560px; margin-bottom: 0; color: var(--ink-soft); }
.feature-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
.feature-card {
  min-height: 210px;
  padding: 27px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--white);
}
.feature-icon {
  display: grid;
  width: 38px;
  height: 38px;
  margin-bottom: 18px;
  place-items: center;
  border-radius: 10px;
  background: #eaf5f1;
  color: var(--blue);
  font-size: 20px;
}
.feature-card h3 { margin-bottom: 8px; font-size: 18px; }
.feature-card p { margin-bottom: 0; color: var(--ink-soft); font-size: 14px; }

.calculator-section {
  display: grid;
  grid-template-columns: .85fr 1.15fr;
  gap: 65px;
  width: 100%;
  padding-right: max(24px, calc((100vw - 1040px) / 2));
  padding-left: max(24px, calc((100vw - 1040px) / 2));
  background: #edf4f6;
}
.calculator-section .section-heading { margin: 0; }
.calculator-list { border-top: 1px solid #ccdadd; }
.calculator-list > div {
  display: grid;
  grid-template-columns: 44px 1fr;
  gap: 14px;
  padding: 17px 0;
  border-bottom: 1px solid #ccdadd;
}
.calculator-list > div > span { padding-top: 2px; color: var(--blue); font-size: 12px; font-weight: 700; }
.calculator-list p { margin: 0; color: var(--ink-soft); font-size: 13px; }
.calculator-list strong { display: block; margin-bottom: 3px; color: var(--ink); font-size: 15px; }

.steps-section { padding-bottom: 80px; }
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; margin: 0; padding: 0; list-style: none; }
.steps li { display: flex; align-items: flex-start; gap: 14px; }
.steps li > span {
  flex: 0 0 34px;
  display: grid;
  width: 34px;
  height: 34px;
  place-items: center;
  border-radius: 50%;
  background: var(--ink);
  color: var(--mint);
  font-size: 13px;
  font-weight: 700;
}
.steps h3 { margin: 5px 0 7px; font-size: 16px; }
.steps p { margin: 0; color: var(--ink-soft); font-size: 13px; }
.disclaimer { margin: 42px 0 0; padding-top: 18px; border-top: 1px solid var(--line); color: var(--ink-soft); font-size: 12px; }

.closing { padding: 72px 24px; background: var(--ink); color: var(--white); text-align: center; }
.closing .eyebrow { color: var(--mint); }
.closing h2 { margin: 0 auto 25px; }
.button-light { background: var(--mint); color: var(--ink); }
.button-light span { color: var(--ink); }
.button-light:hover { background: var(--white); color: var(--ink); }

.site-footer {
  display: grid;
  grid-template-columns: 1fr 1fr auto auto;
  align-items: center;
  gap: 22px;
  width: min(1160px, calc(100% - 48px));
  min-height: 105px;
  margin: auto;
}
.site-footer p { margin: 0; color: var(--ink-soft); font-size: 12px; }
.site-footer small { color: var(--ink-soft); font-size: 11px; }

.policy-main { width: min(900px, calc(100% - 48px)); margin: auto; padding: 65px 0 100px; }
.policy-header { max-width: 760px; margin-bottom: 38px; }
.policy-header h1 { margin: 0 0 14px; font-size: clamp(38px, 6vw, 58px); letter-spacing: -.05em; }
.policy-header > p:not(.eyebrow) { color: var(--ink-soft); }
.policy-date { margin: 20px 0 0; font-size: 12px; }
.policy-toc {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px 20px;
  margin: 0 0 42px;
  padding: 18px 20px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--white);
  font-size: 12px;
}
.policy-toc strong { width: 100%; font-size: 13px; }
.policy-toc a { text-decoration: none; }
.policy-content section { padding: 0 0 25px; margin: 0 0 27px; border-bottom: 1px solid var(--line); scroll-margin-top: 25px; }
.policy-content h2 { margin-bottom: 12px; font-size: 21px; letter-spacing: -.02em; }
.policy-content p, .policy-content li { color: #40596e; font-size: 14px; }
.policy-content ul { padding-left: 22px; }
.policy-content li { margin-bottom: 7px; }
.policy-content a { text-underline-offset: 3px; }
.policy-disclaimer { margin-top: 36px; font-size: 12px !important; }

@media (max-width: 760px) {
  .site-header { width: min(100% - 36px, 600px); height: 72px; }
  .site-nav { gap: 15px; }
  .site-nav a { font-size: 12px; }
  .site-nav a:first-child { display: none; }
  .hero { grid-template-columns: 1fr; gap: 5px; min-height: unset; padding: 60px 24px 30px; }
  .hero-copy { margin: auto; }
  .hero-art { min-height: 330px; }
  .orbit { width: 270px; height: 270px; }
  .orbit-two { width: 340px; height: 340px; }
  .calc-card { width: 205px; }
  .art-caption { right: 3%; bottom: 10%; }
  .trust-strip { width: calc(100% - 40px); gap: 12px; padding: 22px 0; }
  .trust-strip div { padding: 0 12px; }
  .trust-strip strong { font-size: 13px; }
  .trust-strip span { font-size: 10px; }
  .section { width: calc(100% - 40px); padding: 72px 0; }
  .feature-grid { gap: 11px; }
  .feature-card { min-height: 0; padding: 20px; }
  .calculator-section { grid-template-columns: 1fr; gap: 30px; width: 100%; padding-right: 20px; padding-left: 20px; }
  .steps { grid-template-columns: 1fr; gap: 22px; }
  .site-footer { grid-template-columns: 1fr 1fr; width: calc(100% - 40px); gap: 14px; padding: 22px 0; }
  .site-footer p { text-align: right; }
  .site-footer small { text-align: right; }
  .policy-main { width: calc(100% - 40px); padding: 48px 0 70px; }
  .policy-toc { gap: 9px 14px; }
}

@media (max-width: 420px) {
  .brand { gap: 7px; font-size: 14px; }
  .brand-logo { width: 32px; height: 32px; flex-basis: 32px; }
  .site-nav { gap: 12px; }
  .site-nav a { font-size: 11px; }
  .hero { padding-right: 20px; padding-left: 20px; }
  .hero h1 { font-size: 42px; }
  .hero-description { font-size: 15px; }
  .trust-strip { grid-template-columns: 1fr; gap: 14px; }
  .trust-strip div, .trust-strip div:first-child { padding: 0; border: 0; }
  .trust-strip span { font-size: 11px; }
  .feature-grid { grid-template-columns: 1fr; }
  .feature-card { padding: 22px; }
  .policy-content p, .policy-content li { font-size: 13px; }
}

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