:root {
  color-scheme: light dark;
  --page: #f2f5f7;
  --surface: rgba(255, 255, 255, 0.78);
  --surface-solid: #ffffff;
  --surface-soft: #eaf6fa;
  --text: #17262c;
  --muted: #52666e;
  --faint: #74878f;
  --line: rgba(31, 76, 91, 0.14);
  --accent: #087fa3;
  --accent-strong: #046882;
  --accent-soft: rgba(32, 159, 194, 0.13);
  --success: #16714f;
  --shadow: 0 20px 60px rgba(25, 86, 105, 0.12);
  --radius-card: 22px;
  --radius-control: 14px;
  --content: 1120px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-width: 320px;
  background:
    radial-gradient(circle at 88% 8%, rgba(66, 187, 218, 0.18), transparent 34rem),
    radial-gradient(circle at 10% 44%, rgba(111, 206, 219, 0.11), transparent 28rem),
    var(--page);
  color: var(--text);
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Text", "PingFang SC", "Helvetica Neue", sans-serif;
  line-height: 1.72;
  -webkit-font-smoothing: antialiased;
}

a {
  color: var(--accent-strong);
  text-decoration-thickness: 1px;
  text-underline-offset: 0.18em;
}

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

a:focus-visible,
button:focus-visible,
summary:focus-visible {
  outline: 3px solid rgba(8, 127, 163, 0.34);
  outline-offset: 4px;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  border-bottom: 1px solid var(--line);
  background: rgba(242, 245, 247, 0.78);
  -webkit-backdrop-filter: saturate(140%) blur(22px);
  backdrop-filter: saturate(140%) blur(22px);
}

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

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

.brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  color: var(--text);
  font-size: 17px;
  font-weight: 720;
  text-decoration: none;
  letter-spacing: -0.01em;
}

.brand img {
  width: 38px;
  height: 38px;
  border-radius: 11px;
  box-shadow: 0 7px 18px rgba(15, 112, 143, 0.17);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 8px;
}

.nav-link {
  min-height: 42px;
  display: inline-flex;
  align-items: center;
  padding: 0 14px;
  border-radius: 999px;
  color: var(--muted);
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
}

.nav-link:hover,
.nav-link[aria-current="page"] {
  background: var(--accent-soft);
  color: var(--accent-strong);
}

.hero {
  min-height: min(690px, calc(100dvh - 68px));
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(260px, 0.75fr);
  align-items: center;
  gap: clamp(44px, 8vw, 108px);
  padding-block: clamp(68px, 10vw, 112px);
}

.hero-copy {
  max-width: 680px;
}

.hero-label {
  margin: 0 0 14px;
  color: var(--accent-strong);
  font-size: 14px;
  font-weight: 700;
}

.hero h1 {
  margin: 0;
  max-width: 12ch;
  font-size: clamp(42px, 7vw, 72px);
  line-height: 1.05;
  letter-spacing: -0.055em;
}

.hero-text {
  max-width: 31em;
  margin: 24px 0 0;
  color: var(--muted);
  font-size: clamp(17px, 2vw, 20px);
  line-height: 1.65;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 30px;
}

.button {
  min-height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 20px;
  border: 1px solid transparent;
  border-radius: 999px;
  font-weight: 700;
  text-decoration: none;
  white-space: nowrap;
  transition: transform 160ms ease, background-color 160ms ease, border-color 160ms ease;
}

.button:active {
  transform: scale(0.98);
}

.button-primary {
  background: var(--accent-strong);
  color: #f7fcfd;
  box-shadow: 0 10px 24px rgba(4, 104, 130, 0.2);
}

.button-primary:hover {
  background: var(--accent);
  color: #f7fcfd;
}

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

.hero-visual {
  position: relative;
  display: grid;
  place-items: center;
  min-height: 360px;
}

.hero-visual::before,
.hero-visual::after {
  position: absolute;
  content: "";
  border-radius: 50%;
}

.hero-visual::before {
  width: min(34vw, 380px);
  aspect-ratio: 1;
  background: rgba(75, 183, 212, 0.16);
  filter: blur(1px);
}

.hero-visual::after {
  width: min(27vw, 300px);
  aspect-ratio: 1;
  border: 1px solid rgba(255, 255, 255, 0.72);
  background: rgba(255, 255, 255, 0.24);
  -webkit-backdrop-filter: blur(18px);
  backdrop-filter: blur(18px);
  box-shadow: inset 0 1px rgba(255, 255, 255, 0.68), var(--shadow);
}

.hero-icon {
  position: relative;
  z-index: 1;
  width: min(58vw, 238px);
  height: auto;
  border-radius: 25%;
  box-shadow: 0 25px 70px rgba(16, 103, 130, 0.25);
}

.section {
  padding-block: clamp(62px, 9vw, 104px);
}

.section-compact {
  padding-block: clamp(48px, 7vw, 76px);
}

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

.section-heading h2,
.legal-title {
  margin: 0;
  font-size: clamp(30px, 4.4vw, 48px);
  line-height: 1.15;
  letter-spacing: -0.035em;
}

.section-heading p {
  max-width: 55ch;
  margin: 14px 0 0;
  color: var(--muted);
  font-size: 17px;
}

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

.feature-card,
.contact-panel,
.privacy-promise,
.legal-section,
.policy-summary {
  border: 1px solid var(--line);
  border-radius: var(--radius-card);
  background: var(--surface);
  box-shadow: inset 0 1px rgba(255, 255, 255, 0.64);
}

.feature-card {
  min-height: 210px;
  padding: clamp(24px, 4vw, 34px);
}

.feature-card:nth-child(2),
.feature-card:nth-child(3) {
  background: linear-gradient(145deg, var(--surface), var(--surface-soft));
}

.feature-icon {
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  margin-bottom: 22px;
  border-radius: var(--radius-control);
  background: var(--accent-soft);
  color: var(--accent-strong);
  font-size: 20px;
  font-weight: 800;
}

.feature-card h3,
.legal-section h2,
.policy-summary h2 {
  margin: 0;
  color: var(--text);
}

.feature-card h3 {
  font-size: 20px;
  letter-spacing: -0.018em;
}

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

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

.help-list details {
  border-bottom: 1px solid var(--line);
}

.help-list summary {
  min-height: 76px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  cursor: pointer;
  list-style: none;
  color: var(--text);
  font-size: 18px;
  font-weight: 700;
}

.help-list summary::-webkit-details-marker {
  display: none;
}

.help-list summary::after {
  content: "+";
  flex: 0 0 auto;
  color: var(--accent-strong);
  font-size: 24px;
  font-weight: 500;
}

.help-list details[open] summary::after {
  content: "−";
}

.help-answer {
  max-width: 72ch;
  padding: 0 52px 26px 0;
  color: var(--muted);
}

.help-answer p,
.help-answer ol,
.help-answer ul {
  margin-top: 0;
}

.contact-panel,
.privacy-promise {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 30px;
  padding: clamp(26px, 5vw, 46px);
}

.contact-panel h2,
.privacy-promise h2 {
  margin: 0;
  font-size: clamp(26px, 3.6vw, 38px);
  line-height: 1.2;
  letter-spacing: -0.025em;
}

.contact-panel p,
.privacy-promise p {
  max-width: 58ch;
  margin: 12px 0 0;
  color: var(--muted);
}

.privacy-promise {
  background: linear-gradient(140deg, rgba(229, 247, 250, 0.86), rgba(255, 255, 255, 0.7));
}

.legal-hero {
  padding-block: clamp(70px, 10vw, 116px) clamp(46px, 7vw, 76px);
}

.legal-hero .hero-label {
  margin-bottom: 16px;
}

.legal-hero h1 {
  max-width: 15ch;
  margin: 0;
  font-size: clamp(40px, 6.4vw, 68px);
  line-height: 1.08;
  letter-spacing: -0.05em;
}

.legal-intro {
  max-width: 62ch;
  margin: 22px 0 0;
  color: var(--muted);
  font-size: 18px;
}

.policy-summary {
  margin-top: 38px;
  padding: clamp(24px, 4vw, 36px);
  background: linear-gradient(145deg, var(--surface), var(--surface-soft));
}

.policy-summary h2 {
  font-size: 20px;
}

.policy-summary ul {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  margin: 20px 0 0;
  padding: 0;
  list-style: none;
}

.policy-summary li {
  padding-top: 16px;
  border-top: 2px solid rgba(8, 127, 163, 0.3);
  color: var(--muted);
}

.policy-summary strong {
  display: block;
  margin-bottom: 5px;
  color: var(--text);
}

.legal-layout {
  display: grid;
  grid-template-columns: 220px minmax(0, 1fr);
  align-items: start;
  gap: clamp(34px, 7vw, 84px);
}

.legal-toc {
  position: sticky;
  top: 96px;
  display: grid;
  gap: 5px;
}

.legal-toc a {
  padding: 8px 12px;
  border-radius: 10px;
  color: var(--muted);
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
}

.legal-toc a:hover {
  background: var(--accent-soft);
  color: var(--accent-strong);
}

.legal-content {
  display: grid;
  gap: 16px;
}

.legal-section {
  scroll-margin-top: 96px;
  padding: clamp(24px, 4vw, 38px);
}

.legal-section h2 {
  font-size: 23px;
  letter-spacing: -0.02em;
}

.legal-section h3 {
  margin: 26px 0 8px;
  font-size: 17px;
}

.legal-section p,
.legal-section li {
  color: var(--muted);
}

.legal-section p:last-child,
.legal-section ul:last-child,
.legal-section ol:last-child {
  margin-bottom: 0;
}

.legal-section table {
  width: 100%;
  margin-top: 22px;
  border-collapse: collapse;
  font-size: 15px;
}

.legal-section th,
.legal-section td {
  padding: 15px 12px;
  border-bottom: 1px solid var(--line);
  text-align: left;
  vertical-align: top;
}

.legal-section th {
  color: var(--text);
  font-weight: 700;
}

.legal-section td {
  color: var(--muted);
}

.legal-note {
  margin-top: 22px;
  padding: 18px 20px;
  border-left: 3px solid var(--accent);
  border-radius: 0 var(--radius-control) var(--radius-control) 0;
  background: var(--accent-soft);
  color: var(--muted);
}

.site-footer {
  margin-top: clamp(66px, 10vw, 110px);
  border-top: 1px solid var(--line);
  background: rgba(236, 242, 244, 0.7);
}

.footer-inner {
  padding-block: 38px 30px;
}

.footer-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}

.footer-brand {
  color: var(--muted);
  font-size: 14px;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 14px 20px;
  font-size: 14px;
}

.site-registration {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 8px 22px;
  margin-top: 26px;
  padding-top: 22px;
  border-top: 1px solid var(--line);
  color: var(--faint);
  font-size: 13px;
}

.site-registration a {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: var(--faint);
  text-decoration: none;
}

.site-registration a:hover {
  color: var(--accent-strong);
}

.site-registration img {
  width: 18px;
  height: 18px;
}

@media (max-width: 760px) {
  .site-nav,
  .site-shell {
    width: min(calc(100% - 28px), var(--content));
  }

  .site-nav {
    min-height: 64px;
  }

  .brand span {
    display: none;
  }

  .nav-link {
    padding-inline: 11px;
    font-size: 13px;
  }

  .hero {
    min-height: auto;
    grid-template-columns: 1fr;
    gap: 34px;
    padding-block: 58px 70px;
  }

  .hero h1,
  .legal-hero h1 {
    max-width: none;
  }

  .hero-visual {
    min-height: 250px;
    order: -1;
  }

  .hero-visual::before {
    width: min(78vw, 320px);
  }

  .hero-visual::after {
    width: min(64vw, 260px);
  }

  .hero-icon {
    width: min(46vw, 190px);
  }

  .feature-grid,
  .policy-summary ul,
  .legal-layout {
    grid-template-columns: 1fr;
  }

  .feature-card {
    min-height: auto;
  }

  .contact-panel,
  .privacy-promise {
    grid-template-columns: 1fr;
  }

  .legal-toc {
    position: static;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    padding-bottom: 12px;
    border-bottom: 1px solid var(--line);
  }

  .legal-section {
    overflow-x: auto;
  }

  .legal-section table {
    min-width: 620px;
  }

  .footer-row {
    align-items: flex-start;
    flex-direction: column;
  }

  .site-registration {
    justify-content: flex-start;
    gap: 8px;
    font-size: 12px;
  }
}

@media (prefers-color-scheme: dark) {
  :root {
    --page: #11191d;
    --surface: rgba(31, 43, 49, 0.82);
    --surface-solid: #202c31;
    --surface-soft: #19333c;
    --text: #e9f1f3;
    --muted: #b6c5ca;
    --faint: #8da0a7;
    --line: rgba(195, 227, 236, 0.13);
    --accent: #65c4de;
    --accent-strong: #8dd5e8;
    --accent-soft: rgba(71, 178, 208, 0.16);
    --success: #7ccaa6;
    --shadow: 0 22px 64px rgba(0, 0, 0, 0.25);
  }

  body {
    background:
      radial-gradient(circle at 88% 8%, rgba(38, 140, 170, 0.18), transparent 34rem),
      radial-gradient(circle at 10% 44%, rgba(46, 124, 140, 0.11), transparent 28rem),
      var(--page);
  }

  .site-header {
    background: rgba(17, 25, 29, 0.8);
  }

  .feature-card,
  .contact-panel,
  .privacy-promise,
  .legal-section,
  .policy-summary {
    box-shadow: inset 0 1px rgba(255, 255, 255, 0.05);
  }

  .privacy-promise,
  .policy-summary {
    background: linear-gradient(140deg, rgba(29, 53, 61, 0.9), rgba(30, 43, 49, 0.82));
  }

  .site-footer {
    background: rgba(14, 21, 25, 0.76);
  }
}

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

  *,
  *::before,
  *::after {
    transition-duration: 0.01ms !important;
  }
}

@media (prefers-reduced-transparency: reduce) {
  .site-header,
  .feature-card,
  .contact-panel,
  .privacy-promise,
  .legal-section,
  .policy-summary,
  .button-secondary {
    background: var(--surface-solid);
    -webkit-backdrop-filter: none;
    backdrop-filter: none;
  }
}
