:root {
  color-scheme: light;
  --ink: #172438;
  --muted: #56657a;
  --paper: #f7f9fc;
  --surface: #ffffff;
  --line: #dbe2ea;
  --blue: #2f67ba;
  --blue-deep: #1e4b8d;
  --teal: #3f7e78;
  --coral: #d96252;
  --coral-wash: #fff0ec;
  --teal-wash: #eaf5f2;
  --blue-wash: #eef4ff;
  --shadow: 0 18px 44px rgba(23, 36, 56, 0.1);
  --content: 1120px;
  --radius: 8px;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-synthesis: none;
  letter-spacing: 0;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-width: 320px;
  background: var(--paper);
  color: var(--ink);
  font-size: 16px;
  line-height: 1.6;
}

a {
  color: inherit;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

button,
input,
textarea,
select {
  font: inherit;
}

button {
  cursor: pointer;
}

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

.skip-link {
  position: fixed;
  z-index: 100;
  top: 12px;
  left: 12px;
  transform: translateY(-160%);
  padding: 8px 12px;
  background: var(--ink);
  color: #fff;
  border-radius: 4px;
}

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

.site-header {
  position: sticky;
  z-index: 30;
  top: 0;
  border-bottom: 1px solid rgba(219, 226, 234, 0.86);
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(12px);
}

.nav-shell {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: min(var(--content), calc(100% - 40px));
  min-height: 68px;
  margin: 0 auto;
  gap: 20px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  flex: none;
  font-weight: 760;
  text-decoration: none;
}

.brand img {
  width: 31px;
  height: 31px;
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(47, 103, 186, 0.22);
}

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

.site-nav a {
  padding: 8px 10px;
  border-radius: 5px;
  color: var(--muted);
  font-size: 14px;
  font-weight: 650;
  text-decoration: none;
}

.site-nav a:hover,
.site-nav a:focus-visible,
.site-nav a[aria-current="page"] {
  color: var(--ink);
  background: var(--blue-wash);
}

.menu-button {
  display: none;
  width: 40px;
  height: 40px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: var(--surface);
}

.menu-button span,
.menu-button::before,
.menu-button::after {
  display: block;
  width: 17px;
  height: 2px;
  margin: 4px auto;
  background: var(--ink);
  content: "";
}

.hero {
  position: relative;
  overflow: hidden;
  min-height: min(700px, calc(100svh - 124px));
  border-bottom: 1px solid var(--line);
  background: #f2f7ff;
}

.hero::before,
.hero::after {
  position: absolute;
  border: 1px solid rgba(47, 103, 186, 0.15);
  border-radius: 50%;
  content: "";
}

.hero::before {
  width: 550px;
  height: 550px;
  top: -280px;
  right: -160px;
}

.hero::after {
  width: 740px;
  height: 740px;
  bottom: -560px;
  left: -240px;
}

.hero-inner {
  position: relative;
  z-index: 1;
  width: min(var(--content), calc(100% - 40px));
  padding: 76px 0 58px;
  margin: 0 auto;
  text-align: center;
}

.hero-kicker,
.eyebrow {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 3px 10px;
  border: 1px solid rgba(63, 126, 120, 0.25);
  border-radius: 999px;
  background: rgba(234, 245, 242, 0.8);
  color: #28665f;
  font-size: 13px;
  font-weight: 760;
}

.hero-app-icon {
  width: 96px;
  height: 96px;
  margin: 26px auto 20px;
  border-radius: 25px;
  box-shadow: 0 22px 42px rgba(30, 75, 141, 0.2);
}

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

h1,
h2,
h3 {
  font-family: Georgia, "Times New Roman", serif;
  line-height: 1.12;
  letter-spacing: 0;
}

h1 {
  max-width: 830px;
  margin: 0 auto;
  font-size: clamp(43px, 6vw, 72px);
  font-weight: 650;
}

.hero h1 span {
  color: var(--blue);
}

.hero-copy {
  max-width: 660px;
  margin: 20px auto 0;
  color: var(--muted);
  font-size: 18px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  margin-top: 30px;
}

.hero-actions-start {
  justify-content: flex-start;
  margin-top: 24px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 10px 17px;
  border: 1px solid transparent;
  border-radius: 6px;
  font-size: 15px;
  font-weight: 760;
  text-decoration: none;
}

.button-primary {
  background: var(--ink);
  color: #fff;
}

.button-primary:hover,
.button-primary:focus-visible {
  background: var(--blue-deep);
}

.button-secondary {
  border-color: var(--line);
  background: var(--surface);
  color: var(--ink);
}

.button-secondary:hover,
.button-secondary:focus-visible {
  border-color: var(--blue);
  background: var(--blue-wash);
}

.memory-ribbon {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  max-width: 750px;
  margin: 58px auto 0;
  overflow: hidden;
  border: 1px solid rgba(23, 36, 56, 0.12);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.78);
  box-shadow: var(--shadow);
}

.memory-ribbon div {
  position: relative;
  padding: 17px 12px;
  text-align: left;
}

.memory-ribbon div + div {
  border-left: 1px solid var(--line);
}

.memory-ribbon strong,
.memory-ribbon span {
  display: block;
}

.memory-ribbon strong {
  font-size: 14px;
}

.memory-ribbon span {
  margin-top: 2px;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.35;
}

.memory-ribbon .day-marker {
  color: var(--coral);
}

.section {
  padding: 88px 0;
}

.section-alt {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: var(--surface);
}

.section-shell {
  width: min(var(--content), calc(100% - 40px));
  margin: 0 auto;
}

.section-heading {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
  gap: 42px;
  align-items: end;
  max-width: 940px;
}

.section-heading h2 {
  margin-bottom: 0;
  font-size: 42px;
  font-weight: 620;
}

.section-heading p {
  margin-bottom: 0;
  color: var(--muted);
  font-size: 17px;
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
  margin-top: 38px;
}

.feature {
  min-height: 228px;
  padding: 28px;
  border-top: 3px solid var(--blue);
  background: var(--surface);
}

.feature:nth-child(2) {
  border-top-color: var(--teal);
}

.feature:nth-child(3) {
  border-top-color: var(--coral);
}

.feature-number {
  color: var(--blue);
  font-size: 13px;
  font-weight: 820;
}

.feature:nth-child(2) .feature-number {
  color: var(--teal);
}

.feature:nth-child(3) .feature-number {
  color: var(--coral);
}

.feature h3 {
  margin: 14px 0 10px;
  font-size: 26px;
  font-weight: 620;
}

.feature p {
  margin-bottom: 0;
  color: var(--muted);
}

.privacy-map {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 56px;
  align-items: center;
}

.privacy-map h2,
.contact-callout h2 {
  margin-bottom: 16px;
  font-size: 42px;
  font-weight: 620;
}

.privacy-map p,
.contact-callout p {
  color: var(--muted);
  font-size: 17px;
}

.data-list {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  box-shadow: 0 12px 26px rgba(23, 36, 56, 0.06);
}

.data-list article {
  display: grid;
  grid-template-columns: 115px 1fr;
  gap: 16px;
  padding: 20px;
}

.data-list article + article {
  border-top: 1px solid var(--line);
}

.data-list strong {
  color: var(--blue-deep);
  font-size: 14px;
}

.data-list p {
  margin-bottom: 0;
  color: var(--muted);
  font-size: 14px;
}

.legal-links {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  margin-top: 36px;
}

.legal-link {
  min-height: 174px;
  padding: 26px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  text-decoration: none;
}

.legal-link:hover,
.legal-link:focus-visible {
  border-color: var(--blue);
  box-shadow: 0 12px 30px rgba(47, 103, 186, 0.12);
}

.legal-link h3 {
  margin: 12px 0 8px;
  font-size: 28px;
  font-weight: 620;
}

.legal-link p {
  margin-bottom: 0;
  color: var(--muted);
}

.legal-link .arrow {
  display: inline-block;
  margin-top: 17px;
  color: var(--blue);
  font-size: 14px;
  font-weight: 760;
}

.contact-callout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 30px;
  align-items: center;
  padding: 0;
}

.contact-callout h2 {
  margin-bottom: 10px;
}

.contact-callout p {
  max-width: 710px;
  margin-bottom: 0;
}

.page-hero {
  border-bottom: 1px solid var(--line);
  background: #f2f7ff;
}

.page-hero-inner {
  width: min(var(--content), calc(100% - 40px));
  padding: 68px 0 55px;
  margin: 0 auto;
}

.not-found-shell {
  display: grid;
  min-height: calc(100svh - 110px);
  place-items: center;
}

.page-hero-inner-centered {
  text-align: center;
}

.page-hero-inner-centered > p {
  margin-right: auto;
  margin-left: auto;
}

.page-hero h1 {
  max-width: 900px;
  margin: 18px 0 0;
  font-size: 55px;
}

.page-hero p {
  max-width: 710px;
  margin: 18px 0 0;
  color: var(--muted);
  font-size: 18px;
}

.meta-line {
  display: flex;
  flex-wrap: wrap;
  gap: 9px 20px;
  margin-top: 20px;
  color: var(--muted);
  font-size: 14px;
}

.meta-line strong {
  color: var(--ink);
}

.legal-section {
  padding: 64px 0 88px;
}

.legal-layout {
  display: grid;
  grid-template-columns: 230px minmax(0, 760px);
  gap: 66px;
  width: min(var(--content), calc(100% - 40px));
  margin: 0 auto;
}

.legal-toc {
  position: sticky;
  top: 94px;
  align-self: start;
  padding: 3px 0;
}

.legal-toc p {
  margin-bottom: 10px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 760;
}

.legal-toc a {
  display: block;
  padding: 7px 0;
  color: var(--muted);
  font-size: 14px;
  text-decoration: none;
}

.legal-toc a:hover,
.legal-toc a:focus-visible {
  color: var(--blue);
  text-decoration: underline;
}

.legal-copy {
  max-width: 760px;
}

.legal-copy .legal-intro {
  margin-bottom: 44px;
  padding: 20px 22px;
  border-left: 3px solid var(--teal);
  background: var(--teal-wash);
  color: #254b47;
}

.legal-copy section {
  scroll-margin-top: 96px;
  padding: 26px 0 28px;
  border-top: 1px solid var(--line);
}

.legal-copy h2 {
  margin-bottom: 15px;
  font-size: 31px;
  font-weight: 620;
}

.legal-copy h3 {
  margin: 22px 0 8px;
  font-size: 21px;
  font-weight: 620;
}

.legal-copy p,
.legal-copy li {
  color: #435166;
}

.legal-copy ul {
  padding-left: 22px;
}

.legal-copy li + li {
  margin-top: 8px;
}

.legal-copy a {
  color: var(--blue-deep);
  font-weight: 700;
}

.notice {
  padding: 17px 18px;
  border-left: 3px solid var(--coral);
  background: var(--coral-wash);
  color: #754136;
  font-size: 15px;
}

.contact-section {
  padding: 64px 0 88px;
}

.contact-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.78fr) minmax(0, 1.22fr);
  gap: 70px;
  width: min(var(--content), calc(100% - 40px));
  margin: 0 auto;
}

.contact-intro h2 {
  margin: 16px 0;
  font-size: 40px;
  font-weight: 620;
}

.contact-intro p {
  color: var(--muted);
  font-size: 17px;
}

.contact-points {
  margin: 30px 0 0;
  padding: 0;
  list-style: none;
}

.contact-points li {
  display: grid;
  grid-template-columns: 25px 1fr;
  gap: 10px;
  padding: 14px 0;
  border-top: 1px solid var(--line);
  color: var(--muted);
}

.contact-points li::before {
  color: var(--teal);
  font-weight: 900;
  content: "01";
}

.contact-points li:nth-child(2)::before {
  color: var(--blue);
  content: "02";
}

.contact-points li:nth-child(3)::before {
  color: var(--coral);
  content: "03";
}

.form-panel {
  padding: 32px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  box-shadow: var(--shadow);
}

.form-panel h2 {
  margin-bottom: 5px;
  font-size: 31px;
  font-weight: 620;
}

.form-panel > p {
  margin-bottom: 25px;
  color: var(--muted);
  font-size: 14px;
}

.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}

.field {
  display: grid;
  gap: 7px;
}

.field-full {
  grid-column: 1 / -1;
}

.field label {
  color: var(--ink);
  font-size: 14px;
  font-weight: 760;
}

.field input,
.field select,
.field textarea {
  width: 100%;
  min-height: 45px;
  padding: 10px 11px;
  border: 1px solid #b9c5d2;
  border-radius: 5px;
  outline: none;
  background: #fff;
  color: var(--ink);
}

.field textarea {
  min-height: 140px;
  resize: vertical;
}

.field input:focus,
.field select:focus,
.field textarea:focus {
  border-color: var(--blue);
  box-shadow: 0 0 0 3px rgba(47, 103, 186, 0.14);
}

.honeypot {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

.form-actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 24px;
}

.form-actions .button {
  border: 0;
}

.form-status {
  min-height: 24px;
  margin: 16px 0 0;
  color: var(--muted);
  font-size: 14px;
}

.form-status[data-state="success"] {
  color: #24645d;
  font-weight: 700;
}

.form-status[data-state="error"] {
  color: #a13e32;
  font-weight: 700;
}

.form-note {
  margin: 20px 0 0;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.5;
}

.site-footer {
  border-top: 1px solid var(--line);
  background: var(--ink);
  color: #e9eff8;
}

.footer-shell {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: min(var(--content), calc(100% - 40px));
  min-height: 110px;
  margin: 0 auto;
  gap: 20px;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  color: #fff;
  font-weight: 760;
}

.footer-brand img {
  width: 28px;
  height: 28px;
  border-radius: 7px;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 16px;
}

.footer-links a {
  color: #cbd6e6;
  font-size: 14px;
}

.footer-links a:hover,
.footer-links a:focus-visible {
  color: #fff;
}

.footer-copy {
  color: #aebfd6;
  font-size: 13px;
}

:focus-visible {
  outline: 3px solid rgba(47, 103, 186, 0.45);
  outline-offset: 3px;
}

@media (max-width: 820px) {
  .site-nav {
    position: absolute;
    top: 68px;
    right: 20px;
    left: 20px;
    display: none;
    align-items: stretch;
    padding: 8px;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: #fff;
    box-shadow: var(--shadow);
  }

  .site-nav[data-open="true"] {
    display: grid;
  }

  .site-nav a {
    padding: 11px 12px;
  }

  .menu-button {
    display: block;
  }

  .section-heading,
  .privacy-map,
  .contact-layout {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .feature-grid {
    grid-template-columns: 1fr;
  }

  .feature {
    min-height: 0;
  }

  .legal-layout {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .legal-toc {
    position: static;
    display: flex;
    flex-wrap: wrap;
    gap: 0 16px;
    padding: 14px 0;
    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
  }

  .legal-toc p {
    width: 100%;
  }

  .legal-toc a {
    padding: 5px 0;
  }
}

@media (max-width: 620px) {
  .nav-shell,
  .hero-inner,
  .section-shell,
  .page-hero-inner,
  .legal-layout,
  .contact-layout,
  .footer-shell {
    width: min(100% - 28px, var(--content));
  }

  .hero-inner {
    padding: 50px 0 38px;
  }

  .hero-app-icon {
    width: 80px;
    height: 80px;
    margin: 22px auto 17px;
    border-radius: 21px;
  }

  h1 {
    font-size: 43px;
  }

  .hero-copy,
  .page-hero p {
    font-size: 16px;
  }

  .memory-ribbon {
    grid-template-columns: 1fr;
    margin-top: 40px;
  }

  .memory-ribbon div + div {
    border-top: 1px solid var(--line);
    border-left: 0;
  }

  .section,
  .legal-section,
  .contact-section {
    padding: 58px 0;
  }

  .section-heading h2,
  .privacy-map h2,
  .contact-callout h2,
  .contact-intro h2 {
    font-size: 34px;
  }

  .legal-links,
  .form-grid {
    grid-template-columns: 1fr;
  }

  .field-full {
    grid-column: auto;
  }

  .contact-callout {
    grid-template-columns: 1fr;
  }

  .page-hero-inner {
    padding: 48px 0 40px;
  }

  .page-hero h1 {
    font-size: 43px;
  }

  .legal-copy h2 {
    font-size: 29px;
  }

  .data-list article {
    grid-template-columns: 1fr;
    gap: 4px;
  }

  .form-panel {
    padding: 23px 18px;
  }

  .footer-shell {
    align-items: flex-start;
    flex-direction: column;
    justify-content: center;
    padding: 25px 0;
  }

  .footer-links {
    justify-content: flex-start;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
}
