:root {
  color-scheme: light;
  --ink: #0d1f2a;
  --ink-soft: #39515d;
  --teal: #087f8c;
  --teal-bright: #0fa3b1;
  --sky: #dff7fa;
  --amber: #ffc25a;
  --paper: #f8fbfb;
  --line: rgba(13, 31, 42, 0.12);
  --white: #ffffff;
  --shadow: 0 24px 80px rgba(13, 31, 42, 0.12);
}

* { box-sizing: border-box; }

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

body {
  margin: 0;
  color: var(--ink);
  background:
    radial-gradient(circle at 86% 8%, rgba(143, 230, 247, 0.3), transparent 28rem),
    radial-gradient(circle at 8% 42%, rgba(255, 194, 90, 0.13), transparent 22rem),
    var(--paper);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; }

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  border-bottom: 1px solid rgba(13, 31, 42, 0.08);
  background: rgba(248, 251, 251, 0.86);
  backdrop-filter: blur(18px);
}

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

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  font-weight: 720;
  letter-spacing: 0.02em;
}

.brand img { width: 38px; height: 38px; }

.nav-links {
  display: flex;
  align-items: center;
  gap: 22px;
  color: var(--ink-soft);
  font-size: 14px;
}

.nav-links a {
  text-decoration: none;
}

.nav-links a:hover { color: var(--teal); }

.hero {
  min-height: 670px;
  display: grid;
  grid-template-columns: 1.18fr 0.82fr;
  align-items: center;
  gap: 72px;
  padding: 96px 0 72px;
}

.eyebrow {
  margin: 0 0 22px;
  color: var(--teal);
  font-size: 13px;
  font-weight: 760;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

h1 {
  margin: 0;
  max-width: 760px;
  font-size: clamp(48px, 7vw, 82px);
  line-height: 1.04;
  letter-spacing: -0.055em;
}

.hero-lead {
  max-width: 660px;
  margin: 28px 0 0;
  color: var(--ink-soft);
  font-size: clamp(18px, 2.2vw, 22px);
  line-height: 1.75;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 36px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 20px;
  border: 1px solid var(--ink);
  border-radius: 999px;
  background: var(--ink);
  color: var(--white);
  text-decoration: none;
  font-size: 14px;
  font-weight: 700;
}

.button.secondary {
  background: transparent;
  color: var(--ink);
  border-color: var(--line);
}

.hero-mark {
  position: relative;
  display: grid;
  place-items: center;
  aspect-ratio: 1;
  border: 1px solid rgba(13, 31, 42, 0.08);
  border-radius: 36%;
  background: rgba(255, 255, 255, 0.76);
  box-shadow: var(--shadow);
  overflow: hidden;
}

.hero-mark::before,
.hero-mark::after {
  content: "";
  position: absolute;
  border-radius: 50%;
  filter: blur(2px);
}

.hero-mark::before {
  width: 65%; height: 65%;
  top: -24%; right: -16%;
  background: rgba(143, 230, 247, 0.46);
}

.hero-mark::after {
  width: 38%; height: 38%;
  left: -14%; bottom: -12%;
  background: rgba(255, 194, 90, 0.27);
}

.hero-mark img {
  position: relative;
  z-index: 1;
  width: 58%;
  height: 58%;
}

.section { padding: 96px 0; }

.section-heading {
  display: grid;
  grid-template-columns: 0.65fr 1.35fr;
  gap: 56px;
  align-items: start;
  margin-bottom: 54px;
}

.section-heading h2,
.legal h1 {
  margin: 0;
  font-size: clamp(34px, 4.5vw, 54px);
  line-height: 1.12;
  letter-spacing: -0.04em;
}

.section-heading p {
  margin: 0;
  color: var(--ink-soft);
  font-size: 18px;
  line-height: 1.9;
}

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

.card {
  min-height: 280px;
  padding: 30px;
  border: 1px solid var(--line);
  border-radius: 28px;
  background: rgba(255, 255, 255, 0.74);
}

.card-index {
  display: inline-grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: var(--sky);
  color: var(--teal);
  font-size: 12px;
  font-weight: 800;
}

.card h3 {
  margin: 50px 0 14px;
  font-size: 22px;
}

.card p {
  margin: 0;
  color: var(--ink-soft);
  line-height: 1.8;
}

.principles {
  position: relative;
  overflow: hidden;
  padding: 58px;
  border-radius: 36px;
  color: var(--white);
  background: var(--ink);
}

.principles::after {
  content: "";
  position: absolute;
  width: 340px;
  height: 340px;
  right: -110px;
  top: -120px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(143, 230, 247, 0.32), transparent 68%);
}

.principles h2 {
  position: relative;
  z-index: 1;
  max-width: 700px;
  margin: 0 0 34px;
  font-size: clamp(34px, 4.8vw, 58px);
  line-height: 1.16;
  letter-spacing: -0.04em;
}

.principle-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.principle-grid strong { display: block; margin-bottom: 10px; }
.principle-grid p { margin: 0; color: rgba(255,255,255,0.68); line-height: 1.7; }

.identity {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}

.identity-block {
  padding: 34px;
  border-top: 1px solid var(--line);
}

.identity-block small {
  color: var(--teal);
  font-weight: 760;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.identity-block p {
  margin: 18px 0 0;
  font-size: 20px;
  line-height: 1.65;
}

.identity-block p.english {
  font-size: 17px;
  color: var(--ink-soft);
}

.site-footer {
  margin-top: 40px;
  padding: 34px 0 46px;
  border-top: 1px solid var(--line);
  color: var(--ink-soft);
  font-size: 13px;
}

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

.footer-links { display: flex; gap: 18px; }
.footer-links a { text-decoration: none; }

.legal {
  width: min(820px, calc(100% - 40px));
  margin: 0 auto;
  padding: 90px 0 120px;
}

.legal .updated {
  margin: 18px 0 54px;
  color: var(--ink-soft);
}

.legal h2 {
  margin: 42px 0 14px;
  font-size: 23px;
}

.legal p,
.legal li {
  color: var(--ink-soft);
  font-size: 16px;
  line-height: 1.85;
}

.legal-back { display: inline-block; margin-bottom: 44px; color: var(--teal); text-decoration: none; }

@media (max-width: 820px) {
  .nav-links a:not(:last-child) { display: none; }
  .hero { grid-template-columns: 1fr; min-height: auto; padding-top: 72px; gap: 52px; }
  .hero-mark { width: min(430px, 88vw); justify-self: center; }
  .section-heading { grid-template-columns: 1fr; gap: 24px; }
  .cards, .principle-grid { grid-template-columns: 1fr; }
  .card { min-height: auto; }
  .card h3 { margin-top: 30px; }
  .principles { padding: 38px 26px; }
  .identity { grid-template-columns: 1fr; }
  .footer-grid { align-items: flex-start; flex-direction: column; }
}

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