:root {
  --teal-900: #124e4b;
  --teal-800: #0f625d;
  --teal-700: #0f766e;
  --teal-100: #dff3f0;
  --blue-700: #356581;
  --blue-100: #eaf2f7;
  --ink: #183033;
  --muted: #5d7073;
  --line: #d8e3e3;
  --surface: #f5f8f8;
  --white: #ffffff;
  --shadow: 0 18px 45px rgba(18, 78, 75, 0.10);
  --radius-lg: 24px;
  --radius-md: 16px;
  --radius-sm: 10px;
  --max-width: 1120px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

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

a {
  color: var(--teal-700);
  text-underline-offset: 0.18em;
}

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

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

button,
a {
  -webkit-tap-highlight-color: transparent;
}

.skip-link {
  position: fixed;
  left: 16px;
  top: -80px;
  z-index: 1000;
  padding: 10px 14px;
  color: var(--white);
  background: var(--teal-900);
  border-radius: var(--radius-sm);
}

.skip-link:focus {
  top: 16px;
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  border-bottom: 1px solid rgba(216, 227, 227, 0.9);
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(14px);
}

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

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

.brand-mark {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  color: var(--white);
  background: linear-gradient(145deg, var(--teal-700), var(--blue-700));
  border-radius: 13px;
  box-shadow: 0 10px 22px rgba(15, 118, 110, 0.24);
  font-size: 0.86rem;
  line-height: 1;
}

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

.nav-links a {
  padding: 9px 12px;
  color: var(--muted);
  border-radius: 10px;
  font-size: 0.95rem;
  font-weight: 650;
  text-decoration: none;
}

.nav-links a:hover,
.nav-links a[aria-current="page"] {
  color: var(--teal-900);
  background: var(--teal-100);
}

.hero {
  position: relative;
  overflow: hidden;
  padding: 92px 0 72px;
  background:
    radial-gradient(circle at 90% 10%, rgba(53, 101, 129, 0.16), transparent 34%),
    radial-gradient(circle at 8% 4%, rgba(15, 118, 110, 0.16), transparent 30%),
    linear-gradient(180deg, #f6fbfa 0%, #ffffff 100%);
}

.hero::after {
  content: "";
  position: absolute;
  right: -120px;
  bottom: -180px;
  width: 420px;
  height: 420px;
  border: 1px solid rgba(15, 118, 110, 0.14);
  border-radius: 50%;
  box-shadow:
    0 0 0 44px rgba(15, 118, 110, 0.035),
    0 0 0 88px rgba(53, 101, 129, 0.025);
  pointer-events: none;
}

.hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(280px, 0.65fr);
  align-items: center;
  gap: 64px;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 18px;
  padding: 7px 11px;
  color: var(--teal-900);
  background: var(--teal-100);
  border: 1px solid #c9e7e3;
  border-radius: 999px;
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.eyebrow::before {
  content: "";
  width: 8px;
  height: 8px;
  background: var(--teal-700);
  border-radius: 50%;
}

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

h1 {
  max-width: 760px;
  margin-bottom: 22px;
  font-size: clamp(2.55rem, 6vw, 5.2rem);
}

h2 {
  margin-bottom: 18px;
  font-size: clamp(1.8rem, 4vw, 3rem);
}

h3 {
  margin-bottom: 10px;
  font-size: 1.22rem;
}

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

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

.button {
  min-height: 46px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 11px 17px;
  border: 1px solid transparent;
  border-radius: 12px;
  font-weight: 800;
  text-decoration: none;
}

.button-primary {
  color: var(--white);
  background: var(--teal-700);
  box-shadow: 0 10px 24px rgba(15, 118, 110, 0.22);
}

.button-primary:hover {
  color: var(--white);
  background: var(--teal-900);
}

.button-secondary {
  color: var(--teal-900);
  background: var(--white);
  border-color: var(--line);
}

.button-secondary:hover {
  background: var(--surface);
}

.app-card {
  padding: 26px;
  background: rgba(255, 255, 255, 0.88);
  border: 1px solid rgba(216, 227, 227, 0.96);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
}

.app-card-top {
  display: flex;
  align-items: center;
  gap: 15px;
  margin-bottom: 22px;
}

.app-icon {
  width: 66px;
  height: 66px;
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  color: var(--white);
  background: linear-gradient(145deg, var(--teal-700), var(--blue-700));
  border-radius: 20px;
  font-size: 1.1rem;
  font-weight: 900;
  box-shadow: 0 16px 26px rgba(15, 118, 110, 0.24);
}

.app-card p {
  margin: 3px 0 0;
  color: var(--muted);
}

.check-list {
  display: grid;
  gap: 13px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.check-list li {
  position: relative;
  padding-left: 28px;
  color: #3b5356;
}

.check-list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: 0;
  color: var(--teal-700);
  font-weight: 900;
}

.section {
  padding: 82px 0;
}

.section-soft {
  background: var(--surface);
  border-block: 1px solid #e6eeee;
}

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

.section-heading p,
.card p,
.notice p {
  color: var(--muted);
}

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

.card {
  padding: 26px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  box-shadow: 0 12px 30px rgba(18, 78, 75, 0.055);
}

.card-icon {
  width: 43px;
  height: 43px;
  display: grid;
  place-items: center;
  margin-bottom: 19px;
  color: var(--teal-900);
  background: var(--teal-100);
  border-radius: 13px;
  font-weight: 900;
}

.notice {
  padding: 28px;
  background: var(--blue-100);
  border: 1px solid #d4e5ef;
  border-left: 5px solid var(--blue-700);
  border-radius: var(--radius-md);
}

.notice h2,
.notice h3 {
  letter-spacing: -0.025em;
}

.notice p:last-child {
  margin-bottom: 0;
}

.contact-box {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 28px;
  padding: 34px;
  background: linear-gradient(145deg, var(--teal-900), #174e66);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
}

.contact-box h2,
.contact-box p {
  color: var(--white);
}

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

.contact-box p {
  margin: 0;
  color: rgba(255, 255, 255, 0.78);
}

.contact-box .button {
  color: var(--teal-900);
  background: var(--white);
  white-space: nowrap;
}

.contact-box .button:hover {
  background: #eef7f6;
}

.legal-hero {
  padding: 70px 0 38px;
  background: linear-gradient(180deg, #f2f8f7, #ffffff);
}

.legal-hero h1 {
  max-width: 860px;
  font-size: clamp(2.25rem, 5vw, 4.3rem);
}

.meta {
  margin: 0;
  color: var(--muted);
  font-size: 0.96rem;
}

.legal-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 270px;
  align-items: start;
  gap: 60px;
}

.legal-content {
  max-width: 790px;
}

.legal-content section {
  scroll-margin-top: 105px;
  margin-bottom: 42px;
}

.legal-content h2 {
  margin-bottom: 12px;
  font-size: 1.48rem;
  letter-spacing: -0.025em;
}

.legal-content p,
.legal-content li {
  color: #425b5e;
}

.legal-content ul {
  padding-left: 1.25rem;
}

.legal-content li + li {
  margin-top: 7px;
}

.toc {
  position: sticky;
  top: 106px;
  padding: 22px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
}

.toc strong {
  display: block;
  margin-bottom: 10px;
}

.toc a {
  display: block;
  padding: 6px 0;
  color: var(--muted);
  font-size: 0.91rem;
  text-decoration: none;
}

.toc a:hover {
  color: var(--teal-900);
}

.callout {
  margin: 26px 0 34px;
  padding: 20px 22px;
  background: var(--teal-100);
  border: 1px solid #cce7e3;
  border-radius: var(--radius-md);
}

.callout p {
  margin: 0;
  color: var(--teal-900);
}

.site-footer {
  padding: 34px 0;
  background: #102e31;
}

.footer-grid {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 28px;
}

.site-footer strong,
.site-footer p,
.site-footer a {
  color: var(--white);
}

.site-footer p {
  margin: 5px 0 0;
  color: rgba(255, 255, 255, 0.68);
  font-size: 0.9rem;
}

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

.footer-links a {
  font-size: 0.9rem;
  text-decoration: none;
}

.placeholder-note {
  margin-top: 16px;
  padding: 12px 14px;
  color: #634f12;
  background: #fff8d9;
  border: 1px solid #f0df93;
  border-radius: 10px;
  font-size: 0.9rem;
}

:focus-visible {
  outline: 3px solid rgba(53, 101, 129, 0.55);
  outline-offset: 3px;
}

@media (max-width: 860px) {
  .nav {
    padding: 14px 0;
    align-items: flex-start;
    flex-direction: column;
    gap: 10px;
  }

  .nav-links {
    width: 100%;
    justify-content: flex-start;
  }

  .hero {
    padding-top: 66px;
  }

  .hero-grid,
  .legal-layout {
    grid-template-columns: 1fr;
    gap: 38px;
  }

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

  .toc {
    position: static;
    order: -1;
  }

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

  .contact-box .button {
    justify-self: start;
  }
}

@media (max-width: 560px) {
  .container {
    width: min(calc(100% - 28px), var(--max-width));
  }

  .nav-links a {
    padding: 8px 9px;
    font-size: 0.89rem;
  }

  .hero {
    padding: 52px 0 58px;
  }

  .section {
    padding: 62px 0;
  }

  .app-card,
  .card,
  .contact-box,
  .notice {
    padding: 22px;
  }

  .actions {
    align-items: stretch;
    flex-direction: column;
  }

  .button {
    width: 100%;
  }

  .footer-grid {
    flex-direction: column;
  }

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

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