:root {
  --ink: #121b33;
  --ink-soft: #384158;
  --muted: #5b667d;
  --blue: #2457d6;
  --blue-dark: #173a9e;
  --blue-soft: #eaf0ff;
  --coral: #ff6b4a;
  --coral-soft: #ffeae5;
  --lemon: #ffc62f;
  --lemon-soft: #fff5cf;
  --green: #168363;
  --green-soft: #e2f5ee;
  --surface: #f4f6fa;
  --border: #e0e5ef;
  --white: #fff;
  --max: 1160px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  color: var(--ink);
  background: var(--white);
  font-family: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

img { display: block; max-width: 100%; }
a { color: inherit; }

.skip-link {
  position: fixed;
  top: 10px;
  left: 10px;
  z-index: 100;
  padding: 10px 14px;
  border-radius: 10px;
  color: var(--white);
  background: var(--ink);
  transform: translateY(-150%);
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  border-bottom: 1px solid rgba(224, 229, 239, .75);
  background: rgba(255, 255, 255, .92);
  backdrop-filter: blur(16px);
}

.nav,
.section,
.footer-inner {
  width: min(calc(100% - 40px), var(--max));
  margin-inline: auto;
}

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

.brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  text-decoration: none;
  font-size: 19px;
  font-weight: 850;
  letter-spacing: -.35px;
}

.brand-mark {
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  border-radius: 11px;
  color: var(--white);
  background: var(--blue);
  font-size: 18px;
  font-weight: 950;
  box-shadow: inset -4px -4px 0 rgba(23, 58, 158, .22);
}

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

.nav-links a {
  padding: 10px 12px;
  border-radius: 10px;
  color: var(--ink-soft);
  text-decoration: none;
  font-size: 14px;
  font-weight: 700;
}

.nav-links a:hover,
.nav-links a:focus-visible,
.nav-links a[aria-current="page"] {
  color: var(--blue-dark);
  background: var(--blue-soft);
  outline: none;
}

.hero {
  position: relative;
  overflow: hidden;
  padding: 82px 0 88px;
}

.hero::before {
  content: "";
  position: absolute;
  width: 360px;
  height: 360px;
  top: 8%;
  right: -160px;
  border-radius: 50%;
  background: var(--lemon);
  opacity: .2;
}

.hero-grid {
  position: relative;
  display: grid;
  grid-template-columns: 1.1fr .9fr;
  align-items: center;
  gap: 70px;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 18px;
  padding: 7px 11px;
  border-radius: 999px;
  color: var(--green);
  background: var(--green-soft);
  font-size: 13px;
  font-weight: 800;
}

.eyebrow::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: currentColor;
}

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

h1 {
  max-width: 700px;
  margin-bottom: 22px;
  font-size: clamp(3rem, 7vw, 5.8rem);
  line-height: .96;
  letter-spacing: -.065em;
  font-weight: 900;
}

.accent { color: var(--blue); }

.hero-copy > p:not(.eyebrow) {
  max-width: 590px;
  margin-bottom: 30px;
  color: var(--ink-soft);
  font-size: clamp(1.05rem, 2vw, 1.25rem);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.button {
  min-height: 52px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 13px 20px;
  border: 1px solid var(--border);
  border-radius: 14px;
  color: var(--ink);
  background: var(--white);
  text-decoration: none;
  font-size: 15px;
  font-weight: 800;
  transition: transform .18s ease, background .18s ease;
}

.button.primary {
  border-color: var(--blue);
  color: var(--white);
  background: var(--blue);
}

.button:hover { transform: translateY(-2px); }
.button.primary:hover { background: var(--blue-dark); }
.button:focus-visible { outline: 3px solid rgba(36, 87, 214, .28); outline-offset: 3px; }

.privacy-note {
  margin: 20px 0 0;
  display: flex;
  align-items: center;
  gap: 9px;
  color: var(--muted);
  font-size: 14px;
  font-weight: 650;
}

.privacy-note span {
  width: 30px;
  height: 30px;
  display: grid;
  place-items: center;
  border-radius: 9px;
  color: var(--green);
  background: var(--green-soft);
}

.phone-stage {
  position: relative;
  min-height: 650px;
  display: grid;
  place-items: center;
}

.phone-stage::before {
  content: "";
  position: absolute;
  width: 86%;
  aspect-ratio: 1;
  border-radius: 50%;
  background: var(--blue-soft);
}

.phone {
  position: relative;
  width: min(320px, 76vw);
  height: 650px;
  overflow: hidden;
  border: 9px solid var(--ink);
  border-radius: 48px;
  background: var(--white);
  box-shadow: 0 28px 70px rgba(18, 27, 51, .22);
  transform: rotate(3deg);
}

.phone::before {
  content: "";
  position: absolute;
  top: 11px;
  left: 50%;
  z-index: 2;
  width: 88px;
  height: 24px;
  border-radius: 999px;
  background: var(--ink);
  transform: translateX(-50%);
}

.mock-screen {
  min-height: 100%;
  padding: 58px 20px 24px;
  color: var(--ink);
  background: var(--white);
}

.mock-greeting { display: flex; align-items: center; justify-content: space-between; color: var(--muted); font-size: 13px; font-weight: 700; }
.mock-greeting b { width: 34px; height: 34px; display: grid; place-items: center; border-radius: 10px; background: var(--blue); font-size: 16px; }
.mock-screen h3 { margin: 2px 0 18px; font-size: 23px; line-height: 1.1; letter-spacing: -.7px; }
.mock-total { display: flex; flex-direction: column; min-height: 148px; padding: 18px; border-radius: 16px; color: var(--white); background: var(--blue); }
.mock-total small { font-size: 12px; font-weight: 800; opacity: .86; }
.mock-total strong { margin: 4px 0 auto; font-size: 35px; line-height: 1.05; letter-spacing: -1.2px; }
.mock-total span { padding-top: 9px; border-top: 5px solid var(--lemon); font-size: 12px; font-weight: 800; }
.mock-insight { display: flex; align-items: center; gap: 9px; margin: 13px 0 20px; padding: 12px; border-radius: 13px; background: var(--lemon-soft); font-size: 11px; line-height: 1.3; }
.mock-insight i { width: 30px; height: 30px; display: grid; place-items: center; border-radius: 9px; background: var(--lemon); font-style: normal; }
.mock-list h4 { margin: 0 0 8px; font-size: 16px; }
.mock-list div { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 10px 0; border-bottom: 1px solid var(--border); font-size: 11px; }
.mock-list div b { font-size: 11px; }

.floating-chip {
  position: absolute;
  z-index: 3;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 15px;
  border: 1px solid var(--border);
  border-radius: 14px;
  background: var(--white);
  box-shadow: 0 12px 32px rgba(18, 27, 51, .13);
  font-size: 13px;
  font-weight: 800;
}

.floating-chip.top { top: 95px; left: 0; }
.floating-chip.bottom { right: 0; bottom: 110px; }
.floating-chip b { color: var(--blue); }

.section { padding-block: 86px; }
.section.soft { width: 100%; max-width: none; padding-inline: max(20px, calc((100% - var(--max)) / 2)); background: var(--surface); }

.section-heading {
  max-width: 700px;
  margin-bottom: 36px;
}

.section-heading h2 {
  margin-bottom: 12px;
  font-size: clamp(2rem, 5vw, 3.4rem);
  line-height: 1.05;
  letter-spacing: -.045em;
}

.section-heading p { color: var(--muted); font-size: 18px; }

.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.feature-card {
  min-height: 245px;
  padding: 24px;
  border-radius: 16px;
  background: var(--surface);
}

.feature-card:nth-child(2) { background: var(--lemon-soft); }
.feature-card:nth-child(3) { background: var(--coral-soft); }

.feature-icon {
  width: 50px;
  height: 50px;
  margin-bottom: 36px;
  display: grid;
  place-items: center;
  border-radius: 14px;
  color: var(--white);
  background: var(--blue);
  font-size: 23px;
}

.feature-card:nth-child(2) .feature-icon { color: var(--ink); background: var(--lemon); }
.feature-card:nth-child(3) .feature-icon { background: var(--coral); }

.feature-card h3 { margin-bottom: 8px; font-size: 20px; line-height: 1.2; }
.feature-card p { margin: 0; color: var(--ink-soft); }

.offline-panel {
  display: grid;
  grid-template-columns: .9fr 1.1fr;
  gap: 70px;
  align-items: center;
}

.offline-visual {
  position: relative;
  min-height: 440px;
  overflow: hidden;
  display: grid;
  place-items: center;
  border-radius: 18px;
  background: var(--green-soft);
}

.report-card {
  width: min(310px, calc(100% - 44px));
  padding: 25px;
  border-radius: 18px;
  background: var(--white);
  box-shadow: 0 24px 50px rgba(18, 27, 51, .14);
  transform: rotate(-3deg);
}

.report-card > small { color: var(--green); font-size: 12px; font-weight: 850; }
.report-card h3 { margin: 3px 0 20px; font-size: 22px; line-height: 1.15; }
.report-donut { width: 145px; height: 145px; margin: 0 auto 22px; display: grid; place-items: center; border-radius: 50%; background: conic-gradient(var(--blue) 0 52%, var(--coral) 52% 70%, var(--lemon) 70% 84%, var(--green) 84% 100%); }
.report-donut::before { content: ""; grid-area: 1 / 1; width: 88px; height: 88px; border-radius: 50%; background: var(--white); }
.report-donut span { z-index: 1; grid-area: 1 / 1; display: flex; flex-direction: column; align-items: center; font-size: 28px; line-height: 1; font-weight: 900; }
.report-donut small { margin-top: 4px; color: var(--muted); font-size: 10px; font-weight: 700; }
.report-row { display: flex; justify-content: space-between; padding: 9px 0; border-top: 1px solid var(--border); font-size: 13px; }
.report-row b { color: var(--blue); }

.not-found { min-height: 80vh; display: grid; place-items: center; text-align: center; }
.not-found h1 { margin-inline: auto; font-size: clamp(3rem, 10vw, 6rem); }
.not-found > div > p:not(.eyebrow) { color: var(--muted); font-size: 18px; }
.brand-mark-large { width: 88px; height: 88px; margin: 0 auto 24px; border-radius: 20px; font-size: 42px; }
}

.offline-copy h2 {
  margin-bottom: 16px;
  font-size: clamp(2.1rem, 5vw, 3.8rem);
  line-height: 1;
  letter-spacing: -.05em;
}

.offline-copy > p { color: var(--ink-soft); font-size: 18px; }

.check-list { margin: 28px 0 0; padding: 0; list-style: none; }
.check-list li { display: flex; align-items: flex-start; gap: 12px; margin: 14px 0; font-weight: 700; }
.check-list li::before { content: "✓"; flex: 0 0 auto; width: 25px; height: 25px; display: grid; place-items: center; border-radius: 8px; color: var(--green); background: var(--green-soft); }

.link-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.link-card {
  display: flex;
  flex-direction: column;
  min-height: 210px;
  padding: 24px;
  border: 1px solid var(--border);
  border-radius: 16px;
  text-decoration: none;
  transition: border-color .18s ease, transform .18s ease;
}

.link-card:hover { border-color: var(--blue); transform: translateY(-3px); }
.link-card small { margin-bottom: auto; color: var(--blue); font-weight: 800; }
.link-card h3 { margin: 26px 0 7px; font-size: 22px; }
.link-card p { margin: 0; color: var(--muted); }

.site-footer { margin-top: 30px; border-top: 1px solid var(--border); }
.footer-inner { min-height: 120px; display: flex; align-items: center; justify-content: space-between; gap: 24px; color: var(--muted); font-size: 14px; }
.footer-links { display: flex; flex-wrap: wrap; gap: 18px; }
.footer-links a:hover { color: var(--blue); }

.legal-hero { padding: 74px 0 44px; border-bottom: 1px solid var(--border); }
.legal-hero .section { padding-block: 0; }
.legal-hero h1 { max-width: 820px; margin-bottom: 14px; font-size: clamp(2.6rem, 7vw, 5rem); }
.legal-hero p { max-width: 720px; margin-bottom: 0; color: var(--muted); font-size: 18px; }
.updated { display: inline-block; margin-top: 22px; padding: 7px 11px; border-radius: 999px; color: var(--blue-dark); background: var(--blue-soft); font-size: 13px; font-weight: 800; }

.legal-layout {
  display: grid;
  grid-template-columns: 230px minmax(0, 720px);
  gap: 70px;
  justify-content: center;
  padding-block: 60px 90px;
}

.toc { position: sticky; top: 100px; align-self: start; padding: 18px; border-radius: 14px; background: var(--surface); }
.toc strong { display: block; margin-bottom: 9px; font-size: 14px; }
.toc a { display: block; padding: 6px 0; color: var(--muted); text-decoration: none; font-size: 13px; font-weight: 650; }
.toc a:hover { color: var(--blue); }

.prose h2 { margin: 46px 0 12px; scroll-margin-top: 100px; font-size: 26px; line-height: 1.2; letter-spacing: -.025em; }
.prose h2:first-child { margin-top: 0; }
.prose h3 { margin: 28px 0 8px; }
.prose p, .prose li { color: var(--ink-soft); }
.prose ul { padding-left: 22px; }
.prose a { color: var(--blue-dark); font-weight: 700; }
.callout { margin: 28px 0; padding: 20px; border-left: 4px solid var(--green); border-radius: 0 14px 14px 0; background: var(--green-soft); }
.callout strong { display: block; margin-bottom: 4px; }
.callout p { margin: 0; }

.support-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; }
.support-card { padding: 22px; border: 1px solid var(--border); border-radius: 14px; }
.support-card h2 { margin: 0 0 8px; font-size: 19px; }
.support-card p { margin: 0; color: var(--ink-soft); }
.contact-box { margin-top: 40px; padding: 26px; border-radius: 16px; background: var(--blue); color: var(--white); }
.contact-box h2 { margin: 0 0 8px; }
.contact-box p { margin-bottom: 18px; color: rgba(255,255,255,.86); }
.contact-box .button { border-color: var(--white); }

@media (max-width: 850px) {
  .nav-links a:not(.nav-support) { display: none; }
  .hero { padding-top: 58px; }
  .hero-grid, .offline-panel { grid-template-columns: 1fr; gap: 40px; }
  .hero-copy { text-align: center; }
  .hero-copy > p:not(.eyebrow) { margin-inline: auto; }
  .hero-actions, .privacy-note { justify-content: center; }
  .phone-stage { min-height: 590px; }
  .phone { height: 590px; width: 290px; }
  .feature-grid, .link-grid { grid-template-columns: 1fr; }
  .feature-card { min-height: 210px; }
  .offline-panel { max-width: 640px; margin-inline: auto; }
  .legal-layout { grid-template-columns: 1fr; gap: 28px; }
  .toc { position: static; }
}

@media (max-width: 560px) {
  .nav, .section, .footer-inner { width: min(calc(100% - 28px), var(--max)); }
  .section { padding-block: 64px; }
  .section.soft { width: 100%; padding-inline: 14px; }
  .hero { padding-bottom: 58px; }
  h1 { font-size: clamp(2.8rem, 14vw, 4rem); }
  .floating-chip { display: none; }
  .phone-stage { min-height: 540px; }
  .phone { width: 265px; height: 540px; border-radius: 42px; }
  .footer-inner { padding-block: 28px; flex-direction: column; align-items: flex-start; }
  .support-grid { grid-template-columns: 1fr; }
  .legal-hero { padding-top: 52px; }
}

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