:root {
  color-scheme: light;
  --page: #f5f8fa;
  --surface: #ffffff;
  --surface-muted: #eef5f6;
  --text: #172126;
  --text-secondary: #56636a;
  --border: #cbd8dc;
  --border-strong: #9db5bc;
  --accent: #087f96;
  --accent-dark: #056579;
  --accent-soft: #dff2f5;
  --success: #187753;
  --warning: #8a5a12;
  --warning-soft: #fff6df;
  --focus: #005fcc;
  --radius: 8px;
  --content: 760px;
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Text", "PingFang SC",
    "Helvetica Neue", Arial, sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  background: var(--page);
  scroll-behavior: smooth;
}

body {
  min-width: 320px;
  margin: 0;
  color: var(--text);
  background: var(--page);
  font-size: 17px;
  line-height: 1.7;
  letter-spacing: 0;
  -webkit-font-smoothing: antialiased;
}

a {
  color: var(--accent-dark);
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

a:hover {
  color: var(--accent);
}

a:focus-visible,
summary:focus-visible {
  outline: 3px solid color-mix(in srgb, var(--focus) 55%, transparent);
  outline-offset: 3px;
  border-radius: 4px;
}

.skip-link {
  position: fixed;
  z-index: 20;
  top: 10px;
  left: 10px;
  padding: 8px 12px;
  color: #ffffff;
  background: var(--focus);
  border-radius: 6px;
  transform: translateY(-160%);
}

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

.site-header {
  position: sticky;
  z-index: 10;
  top: 0;
  border-bottom: 1px solid var(--border);
  background: rgba(245, 248, 250, 0.94);
  backdrop-filter: saturate(160%) blur(18px);
}

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

.brand-link {
  display: inline-flex;
  min-width: max-content;
  align-items: center;
  gap: 10px;
  color: var(--text);
  font-weight: 700;
  text-decoration: none;
}

.brand-link img {
  width: 34px;
  height: 34px;
  border: 1px solid var(--border);
  border-radius: 7px;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 22px;
  font-size: 15px;
}

.site-nav a {
  color: var(--text-secondary);
  font-weight: 600;
  text-decoration: none;
}

.site-nav a[aria-current="page"] {
  color: var(--accent-dark);
}

main {
  width: min(calc(100% - 40px), var(--content));
  margin: 0 auto;
  padding: 64px 0 88px;
}

.hero {
  padding: 24px 0 44px;
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--accent-dark);
  font-size: 14px;
  font-weight: 700;
}

h1,
h2,
h3 {
  letter-spacing: 0;
  text-wrap: balance;
}

h1 {
  max-width: 680px;
  margin: 0;
  font-size: clamp(38px, 8vw, 62px);
  line-height: 1.08;
}

h2 {
  margin: 52px 0 18px;
  font-size: 27px;
  line-height: 1.25;
}

h3 {
  margin: 0 0 6px;
  font-size: 19px;
  line-height: 1.35;
}

.hero-copy {
  max-width: 650px;
  margin: 20px 0 0;
  color: var(--text-secondary);
  font-size: 20px;
  line-height: 1.65;
}

.trust-list {
  display: grid;
  margin: 34px 0 0;
  padding: 0;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border: 1px solid var(--border-strong);
  border-radius: var(--radius);
  background: var(--surface);
  list-style: none;
}

.trust-list li {
  min-width: 0;
  padding: 18px 20px;
  color: var(--text-secondary);
  font-size: 14px;
}

.trust-list li + li {
  border-left: 1px solid var(--border);
}

.trust-list strong {
  display: block;
  margin-bottom: 2px;
  color: var(--success);
  font-size: 16px;
}

.link-list {
  border: 1px solid var(--border-strong);
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--surface);
}

.link-row {
  display: grid;
  padding: 22px 24px;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 20px;
  color: var(--text);
  text-decoration: none;
}

.link-row + .link-row {
  border-top: 1px solid var(--border);
}

.link-row:hover {
  background: var(--surface-muted);
}

.link-row p {
  margin: 4px 0 0;
  color: var(--text-secondary);
}

.link-row .arrow {
  color: var(--accent-dark);
  font-size: 24px;
  line-height: 1;
}

.notice {
  margin: 32px 0;
  padding: 18px 20px;
  border: 1px solid #ddc98f;
  border-radius: var(--radius);
  color: #63420d;
  background: var(--warning-soft);
}

.notice strong {
  color: var(--warning);
}

.meta {
  display: flex;
  margin: 18px 0 0;
  flex-wrap: wrap;
  gap: 8px 18px;
  color: var(--text-secondary);
  font-size: 14px;
}

.section {
  padding-top: 4px;
}

.section p {
  margin: 0 0 14px;
}

.section ul,
.section ol {
  padding-left: 24px;
}

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

.faq-list {
  border-top: 1px solid var(--border-strong);
}

details {
  border-bottom: 1px solid var(--border);
}

summary {
  padding: 20px 4px;
  cursor: pointer;
  color: var(--text);
  font-weight: 650;
}

details p,
details ul {
  margin-top: 0;
  color: var(--text-secondary);
}

details > :not(summary) {
  margin-right: 4px;
  margin-left: 4px;
}

.primary-action {
  display: inline-flex;
  min-height: 46px;
  padding: 10px 18px;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  border: 1px solid var(--accent-dark);
  border-radius: 7px;
  background: var(--accent-dark);
  font-weight: 700;
  text-decoration: none;
}

.primary-action:hover {
  color: #ffffff;
  background: var(--accent);
}

.primary-action:active {
  transform: translateY(1px);
}

.contact-panel {
  margin-top: 24px;
  padding: 24px;
  border: 1px solid var(--border-strong);
  border-radius: var(--radius);
  background: var(--surface);
}

.contact-panel p {
  color: var(--text-secondary);
}

.privacy-index {
  margin: 24px 0 42px;
  padding: 20px 22px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--surface);
}

.privacy-index strong {
  display: block;
  margin-bottom: 8px;
}

.privacy-index ol {
  margin: 0;
  padding-left: 22px;
  columns: 2;
  column-gap: 36px;
}

.privacy-index li {
  break-inside: avoid;
}

.site-footer {
  border-top: 1px solid var(--border);
}

.footer-shell {
  display: flex;
  width: min(calc(100% - 40px), 1040px);
  min-height: 90px;
  margin: 0 auto;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  color: var(--text-secondary);
  font-size: 14px;
}

.footer-shell p {
  margin: 0;
}

.footer-links {
  display: flex;
  gap: 18px;
}

@media (max-width: 640px) {
  body {
    font-size: 16px;
  }

  .nav-shell,
  main,
  .footer-shell {
    width: min(calc(100% - 28px), var(--content));
  }

  .nav-shell {
    min-height: 58px;
  }

  .brand-link span {
    display: none;
  }

  .site-nav {
    gap: 16px;
    font-size: 14px;
  }

  main {
    padding: 40px 0 64px;
  }

  .hero {
    padding-top: 10px;
  }

  .hero-copy {
    font-size: 18px;
  }

  .trust-list {
    grid-template-columns: 1fr;
  }

  .trust-list li + li {
    border-top: 1px solid var(--border);
    border-left: 0;
  }

  .link-row {
    padding: 18px;
  }

  .privacy-index ol {
    columns: 1;
  }

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

@media (prefers-reduced-transparency: reduce) {
  .site-header {
    background: var(--page);
    backdrop-filter: none;
  }
}

@media print {
  .site-header,
  .site-footer,
  .skip-link,
  .primary-action {
    display: none;
  }

  body,
  html {
    color: #000000;
    background: #ffffff;
  }

  main {
    width: 100%;
    padding: 0;
  }

  a {
    color: #000000;
  }
}
