:root {
  --ink: #0e1c22;
  --muted: #62747a;
  --line: #dce8e5;
  --surface: #f7fbfa;
  --card: #ffffff;
  --blue: #0878d1;
  --blue-deep: #07519a;
  --mint: #23c99c;
  --mint-soft: #dff7ee;
  --danger: #c64848;
  --danger-soft: #fff0ee;
  --shadow: 0 18px 50px rgba(18, 66, 73, .09);
  --radius: 24px;
  --measure: 760px;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--ink);
  background: var(--surface);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; line-height: 1.65; background: var(--surface); }
a { color: var(--blue-deep); text-underline-offset: 3px; }
a:hover { color: var(--blue); }
:focus-visible { outline: 3px solid #83d9c1; outline-offset: 4px; }

.site-header { position: sticky; top: 0; z-index: 10; background: rgba(247, 251, 250, .94); border-bottom: 1px solid rgba(220, 232, 229, .8); backdrop-filter: blur(16px); }
.nav-wrap, .page-shell, .footer-wrap { width: min(1120px, calc(100% - 40px)); margin-inline: auto; }
.nav-wrap { min-height: 76px; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand { display: inline-flex; align-items: center; gap: 11px; color: var(--ink); text-decoration: none; font-weight: 800; letter-spacing: -.03em; }
img.brand-logo { width: 38px; height: 38px; max-width: 38px; max-height: 38px; flex: 0 0 38px; display: block; object-fit: contain; border-radius: 11px; }
.site-nav { display: flex; align-items: center; gap: 22px; }
.site-nav a { color: var(--muted); text-decoration: none; font-size: .92rem; font-weight: 650; }
.site-nav a:hover, .site-nav a[aria-current="page"] { color: var(--ink); }
.menu-toggle { display: none; border: 1px solid var(--line); background: var(--card); color: var(--ink); border-radius: 12px; padding: 8px 11px; font: inherit; }

.hero { padding: 92px 0 76px; position: relative; overflow: hidden; }
.hero::before { content: ""; position: absolute; width: 520px; height: 520px; right: -150px; top: -120px; background: radial-gradient(circle, rgba(35, 201, 156, .26), rgba(8, 120, 209, .12) 42%, transparent 70%); pointer-events: none; }
.eyebrow { color: var(--blue-deep); font-size: .77rem; font-weight: 800; letter-spacing: .13em; text-transform: uppercase; }
h1, h2, h3 { line-height: 1.12; letter-spacing: -.045em; }
h1 { font-size: clamp(2.8rem, 7vw, 5.8rem); max-width: 850px; margin: 17px 0 20px; }
h2 { font-size: clamp(1.65rem, 3vw, 2.35rem); margin: 0 0 16px; }
h3 { font-size: 1.15rem; margin: 0 0 8px; }
.hero p { max-width: 650px; color: var(--muted); font-size: 1.2rem; }
.hero-actions { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 30px; }
.button { display: inline-flex; align-items: center; justify-content: center; min-height: 46px; padding: 10px 18px; border-radius: 999px; border: 1px solid var(--blue); background: var(--blue); color: white; text-decoration: none; font-weight: 750; }
.button:hover { background: var(--blue-deep); color: white; }
.button.secondary { color: var(--ink); background: transparent; border-color: var(--line); }
.button.secondary:hover { background: var(--card); }

.section { padding: 66px 0; }
.section-head { max-width: 660px; margin-bottom: 28px; }
.section-head p, .lede { color: var(--muted); }
.grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.card { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; box-shadow: var(--shadow); }
.card p { color: var(--muted); margin: 0; }
.card-link { display: block; color: inherit; text-decoration: none; height: 100%; }
.card-link:hover h3 { color: var(--blue-deep); }
.icon-disc { width: 44px; height: 44px; display: grid; place-items: center; border-radius: 15px; margin-bottom: 22px; background: var(--mint-soft); color: var(--blue-deep); font-size: 1.3rem; }
.callout { border-left: 4px solid var(--mint); background: #ecfaf5; padding: 18px 20px; border-radius: 0 18px 18px 0; }
.callout p { margin: 0; }
.callout.warning { border-color: #e29647; background: #fff8eb; }

.page-hero { padding: 68px 0 30px; }
.page-hero h1 { font-size: clamp(2.4rem, 5vw, 4.3rem); margin: 14px 0; }
.page-hero p { color: var(--muted); max-width: 680px; }
.legal-layout { display: grid; grid-template-columns: 210px minmax(0, var(--measure)); gap: 58px; align-items: start; padding-bottom: 90px; }
.toc { position: sticky; top: 105px; border-left: 1px solid var(--line); padding-left: 18px; }
.toc a { display: block; color: var(--muted); font-size: .88rem; text-decoration: none; margin: 7px 0; }
.toc a:hover { color: var(--ink); }
.legal-content { min-width: 0; }
.legal-content section { scroll-margin-top: 105px; border-top: 1px solid var(--line); padding: 34px 0 8px; }
.legal-content section:first-child { border-top: 0; padding-top: 0; }
.legal-content p, .legal-content li { color: #3f5359; }
.legal-content li { margin: 8px 0; }
.meta { color: var(--muted); font-size: .9rem; }
.faq-list { display: grid; gap: 12px; }
details { background: var(--card); border: 1px solid var(--line); border-radius: 18px; padding: 18px 20px; }
summary { cursor: pointer; font-weight: 750; }
details p { color: var(--muted); margin: 12px 0 0; }
.form-card { max-width: 720px; }
label { display: block; font-weight: 700; margin: 17px 0 6px; }
input, textarea { width: 100%; border: 1px solid var(--line); border-radius: 12px; background: white; color: var(--ink); padding: 13px 14px; font: inherit; }
textarea { min-height: 150px; resize: vertical; }
.danger-panel { background: var(--danger-soft); border: 1px solid #f5c8c3; }
.danger-panel h2, .danger-panel a { color: var(--danger); }

.site-footer { border-top: 1px solid var(--line); padding: 44px 0 30px; background: #eef7f4; }
.footer-wrap { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 30px; }
.footer-wrap p, .footer-wrap a { color: var(--muted); font-size: .9rem; }
.footer-wrap a { display: block; margin: 6px 0; }
.footer-bottom { width: min(1120px, calc(100% - 40px)); margin: 34px auto 0; padding-top: 18px; border-top: 1px solid var(--line); color: var(--muted); font-size: .8rem; }

@media (max-width: 760px) {
  .nav-wrap, .page-shell, .footer-wrap, .footer-bottom { width: min(100% - 28px, 1120px); }
  .menu-toggle { display: inline-flex; }
  .site-nav { display: none; position: absolute; left: 14px; right: 14px; top: 68px; padding: 14px; flex-direction: column; align-items: stretch; background: white; border: 1px solid var(--line); border-radius: 16px; box-shadow: var(--shadow); }
  .site-nav.is-open { display: flex; }
  .site-nav a { padding: 8px; }
  .hero { padding: 64px 0 52px; }
  .grid, .footer-wrap { grid-template-columns: 1fr; }
  .legal-layout { display: block; }
  .toc { position: static; margin-bottom: 36px; }
}

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