:root {
  --ink: #10202d;
  --muted: #52626f;
  --paper: #f7f8f5;
  --white: #ffffff;
  --line: #dfe4e3;
  --teal: #0d6763;
  --teal-dark: #084b49;
  --amber: #ffb02e;
  --amber-soft: #fff2d6;
  --shadow: 0 24px 64px rgba(16, 32, 45, 0.09);
  --radius: 22px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 1rem;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

a { color: var(--teal); }
a:hover { color: var(--teal-dark); }

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(247, 248, 245, 0.94);
  border-bottom: 1px solid rgba(16, 32, 45, 0.08);
  backdrop-filter: blur(14px);
}

.nav-wrap,
.shell,
.footer-wrap {
  width: min(1120px, calc(100% - 40px));
  margin: 0 auto;
}

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

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--ink);
  font-weight: 800;
  font-size: 1.15rem;
  letter-spacing: -0.03em;
  text-decoration: none;
}

.brand-mark {
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  color: var(--ink);
  background: var(--amber);
  border-radius: 50% 50% 50% 12px;
  box-shadow: 0 6px 16px rgba(255, 176, 46, 0.28);
}

.brand-mark svg { width: 20px; height: 20px; }

.main-nav {
  display: flex;
  align-items: center;
  gap: 28px;
}

.main-nav a {
  color: var(--muted);
  font-size: 0.93rem;
  font-weight: 650;
  text-decoration: none;
}
.main-nav a:hover,
.main-nav a[aria-current="page"] { color: var(--ink); }

.hero {
  position: relative;
  overflow: hidden;
  padding: 100px 0 86px;
}

.hero::before {
  content: "";
  position: absolute;
  width: 480px;
  height: 480px;
  right: -180px;
  top: -190px;
  border: 80px solid rgba(255, 176, 46, 0.13);
  border-radius: 50%;
}

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

.eyebrow {
  margin: 0 0 18px;
  color: var(--teal);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

h1, h2, h3 {
  margin-top: 0;
  color: var(--ink);
  line-height: 1.12;
  letter-spacing: -0.04em;
}

h1 {
  max-width: 780px;
  margin-bottom: 24px;
  font-size: clamp(2.8rem, 7vw, 5.9rem);
  font-weight: 790;
}

.page-hero h1 { font-size: clamp(2.45rem, 5vw, 4.7rem); }

h2 { font-size: clamp(1.85rem, 3.5vw, 3rem); }
h3 { font-size: 1.18rem; letter-spacing: -0.02em; }

.lead {
  max-width: 680px;
  margin: 0;
  color: var(--muted);
  font-size: clamp(1.08rem, 2vw, 1.28rem);
}

.hero-card {
  padding: 30px;
  background: var(--ink);
  color: #dce8ec;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  transform: rotate(2deg);
}

.hero-card .beam {
  width: 48px;
  height: 8px;
  margin-bottom: 24px;
  background: var(--amber);
  border-radius: 99px;
  box-shadow: 18px -14px 0 -2px rgba(255,176,46,.45), 18px 14px 0 -2px rgba(255,176,46,.45);
}
.hero-card strong { display: block; margin-bottom: 10px; color: var(--white); font-size: 1.15rem; }
.hero-card p { margin: 0; }

.section { padding: 80px 0; }
.section-white { background: var(--white); }
.section-dark { background: var(--ink); color: #dce8ec; }
.section-dark h2, .section-dark h3 { color: var(--white); }
.section-dark .eyebrow { color: var(--amber); }

.section-head { max-width: 720px; margin-bottom: 42px; }
.section-head p { color: var(--muted); }
.section-dark .section-head p { color: #aebdc4; }

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

.info-card {
  min-height: 240px;
  padding: 28px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 18px;
}

.card-number {
  display: inline-flex;
  margin-bottom: 42px;
  color: var(--teal);
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.14em;
}

.info-card p { margin: 0; color: var(--muted); }

.principles {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px 52px;
}

.principle {
  padding: 22px 0;
  border-top: 1px solid rgba(255,255,255,.15);
}
.principle p { margin: 8px 0 0; color: #aebdc4; }

.notice {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 30px;
  align-items: center;
  padding: 34px 38px;
  background: var(--amber-soft);
  border: 1px solid #efd292;
  border-radius: var(--radius);
}
.notice h2 { margin-bottom: 10px; font-size: 1.6rem; }
.notice p { max-width: 720px; margin: 0; color: #5f5643; }

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 12px 20px;
  color: var(--white);
  background: var(--teal);
  border-radius: 10px;
  font-weight: 750;
  text-decoration: none;
  white-space: nowrap;
}
.button:hover { color: var(--white); background: var(--teal-dark); }

.legal-wrap {
  display: grid;
  grid-template-columns: 240px minmax(0, 760px);
  gap: 70px;
  align-items: start;
}

.legal-index {
  position: sticky;
  top: 106px;
  padding: 22px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 16px;
}
.legal-index strong { display: block; margin-bottom: 10px; }
.legal-index a { display: block; padding: 6px 0; color: var(--muted); font-size: .9rem; text-decoration: none; }
.legal-index a:hover { color: var(--teal); }

.legal-content section {
  padding: 0 0 30px;
  margin: 0 0 30px;
  border-bottom: 1px solid var(--line);
  scroll-margin-top: 110px;
}
.legal-content section:last-child { border-bottom: 0; }
.legal-content h2 { font-size: 1.55rem; }
.legal-content p, .legal-content li { color: var(--muted); }
.legal-content ul { padding-left: 22px; }
.legal-content .updated { color: var(--teal); font-weight: 700; }

.contact-grid {
  display: grid;
  grid-template-columns: 1.1fr .9fr;
  gap: 24px;
  align-items: stretch;
}
.contact-panel {
  padding: 36px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}
.contact-panel.accent { background: var(--ink); border-color: var(--ink); color: #dce8ec; }
.contact-panel.accent h2 { color: var(--white); }
.contact-panel p { color: var(--muted); }
.contact-panel.accent p { color: #afbdc3; }
.email-link { display: inline-block; margin: 10px 0 16px; font-size: clamp(1.15rem, 2.4vw, 1.65rem); font-weight: 780; }
.contact-panel.accent .email-link { color: var(--amber); }

.site-footer {
  padding: 48px 0 30px;
  color: #aebdc4;
  background: #0a1720;
}
.footer-top {
  display: flex;
  justify-content: space-between;
  gap: 40px;
  padding-bottom: 36px;
  border-bottom: 1px solid rgba(255,255,255,.12);
}
.site-footer .brand { color: var(--white); }
.footer-copy { max-width: 480px; margin-top: 16px; font-size: .92rem; }
.footer-links { display: flex; flex-wrap: wrap; align-content: flex-start; gap: 16px 24px; }
.footer-links a { color: #dce8ec; font-size: .9rem; text-decoration: none; }
.footer-bottom { display: flex; justify-content: space-between; gap: 24px; padding-top: 24px; font-size: .82rem; }

@media (max-width: 820px) {
  .nav-wrap { min-height: 68px; align-items: flex-start; padding: 16px 0; }
  .main-nav { justify-content: flex-end; gap: 12px 18px; flex-wrap: wrap; }
  .main-nav a { font-size: .82rem; }
  .hero { padding: 70px 0 62px; }
  .hero-grid, .contact-grid { grid-template-columns: 1fr; gap: 34px; }
  .hero-card { max-width: 480px; transform: none; }
  .grid-3 { grid-template-columns: 1fr; }
  .info-card { min-height: auto; }
  .card-number { margin-bottom: 22px; }
  .principles { grid-template-columns: 1fr; }
  .notice { grid-template-columns: 1fr; padding: 28px; }
  .legal-wrap { grid-template-columns: 1fr; gap: 36px; }
  .legal-index { position: static; }
  .footer-top, .footer-bottom { flex-direction: column; }
}

@media (max-width: 560px) {
  .nav-wrap, .shell, .footer-wrap { width: min(100% - 28px, 1120px); }
  .nav-wrap { display: block; }
  .main-nav { justify-content: flex-start; margin-top: 14px; }
  .hero { padding-top: 54px; }
  h1 { font-size: 2.65rem; }
  .section { padding: 62px 0; }
  .contact-panel { padding: 26px; }
}

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