:root {
  color-scheme: light dark;
  --bg: #f7fbff;
  --surface: rgba(255, 255, 255, 0.78);
  --surface-solid: #ffffff;
  --text: #12202f;
  --muted: #607083;
  --line: rgba(29, 78, 116, 0.12);
  --brand: #1677c8;
  --brand-deep: #075a9f;
  --water: #ccecff;
  --shadow: 0 24px 70px rgba(24, 80, 120, 0.16);
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #06121d;
    --surface: rgba(15, 31, 45, 0.82);
    --surface-solid: #0f1f2d;
    --text: #f4f9fc;
    --muted: #a7b8c7;
    --line: rgba(210, 237, 255, 0.12);
    --brand: #69bfff;
    --brand-deep: #9bd3ff;
    --water: #123b58;
    --shadow: 0 24px 70px rgba(0, 0, 0, 0.4);
  }
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}
body {
  margin: 0;
  min-height: 100vh;
  font: 17px/1.58 -apple-system, BlinkMacSystemFont, "SF Pro Text", "PingFang SC", "Helvetica Neue", sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at 82% 10%, rgba(76, 181, 242, 0.22), transparent 32rem),
    radial-gradient(circle at 10% 48%, rgba(146, 217, 255, 0.18), transparent 28rem),
    var(--bg);
  -webkit-font-smoothing: antialiased;
}
a { color: var(--brand); text-decoration: none; }
a:hover { text-decoration: underline; }
img { display: block; max-width: 100%; }

.skip-link {
  position: fixed;
  top: 8px;
  left: 8px;
  z-index: 1000;
  padding: 8px 12px;
  border-radius: 10px;
  background: var(--surface-solid);
  transform: translateY(-150%);
}
.skip-link:focus { transform: translateY(0); }

.nav {
  position: sticky;
  top: 0;
  z-index: 20;
  border-bottom: 1px solid var(--line);
  background: color-mix(in srgb, var(--bg) 78%, transparent);
  backdrop-filter: saturate(160%) blur(22px);
  -webkit-backdrop-filter: saturate(160%) blur(22px);
}
.nav-inner {
  width: min(1120px, calc(100% - 36px));
  height: 58px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--text);
  font-weight: 700;
  letter-spacing: -0.02em;
}
.brand:hover { text-decoration: none; }
.brand img { width: 34px; height: 34px; border-radius: 9px; box-shadow: 0 5px 18px rgba(24, 119, 200, 0.2); }
.nav-links { display: flex; align-items: center; gap: 24px; }
.nav-links a { color: var(--muted); font-size: 14px; }
.nav-links a[aria-current="page"] { color: var(--text); font-weight: 650; }

.shell { width: min(1120px, calc(100% - 36px)); margin: 0 auto; }
.hero {
  min-height: calc(100svh - 58px);
  padding: clamp(54px, 7vw, 96px) 0;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 0.78fr);
  gap: clamp(42px, 8vw, 100px);
  align-items: center;
}
.hero-copy { max-width: 650px; }
.eyebrow {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 28px;
  color: var(--muted);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.eyebrow img { width: 62px; height: 62px; border-radius: 16px; box-shadow: var(--shadow); }
h1 {
  margin: 0 0 22px;
  font-size: clamp(48px, 7.3vw, 92px);
  line-height: 0.98;
  letter-spacing: -0.055em;
}
.tagline {
  margin: 0 0 34px;
  max-width: 620px;
  color: var(--muted);
  font-size: clamp(20px, 2.3vw, 29px);
  line-height: 1.4;
  letter-spacing: -0.018em;
}
.actions { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.button {
  display: inline-flex;
  min-height: 48px;
  padding: 0 21px;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  background: var(--brand);
  color: white;
  font-weight: 650;
  box-shadow: 0 10px 28px rgba(22, 119, 200, 0.24);
}
.button:hover { color: white; text-decoration: none; filter: brightness(1.05); }
.button.secondary { background: var(--surface); color: var(--text); border: 1px solid var(--line); box-shadow: none; }
.button.secondary:hover { color: var(--text); }
.microcopy { margin-top: 14px; color: var(--muted); font-size: 13px; }

.phone-wrap { display: grid; place-items: center; position: relative; }
.phone-wrap::before {
  position: absolute;
  width: 86%;
  aspect-ratio: 1;
  border-radius: 50%;
  background: var(--water);
  filter: blur(1px);
  content: "";
}
.phone {
  position: relative;
  width: min(100%, 360px);
  padding: 10px;
  border: 1px solid rgba(255,255,255,0.5);
  border-radius: 48px;
  background: #0d1820;
  box-shadow: var(--shadow);
  transform: rotate(2deg);
}
.phone img { border-radius: 38px; }

.section { padding: 82px 0; }
.section h2, .doc h1 { margin: 0 0 18px; font-size: clamp(34px, 5vw, 56px); line-height: 1.08; letter-spacing: -0.04em; }
.section-lead { max-width: 720px; margin: 0 0 36px; color: var(--muted); font-size: 21px; }
.grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.card {
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: 24px;
  background: var(--surface);
  box-shadow: 0 10px 36px rgba(31, 89, 127, 0.06);
}
.card h2, .card h3 { margin: 0 0 9px; font-size: 21px; letter-spacing: -0.02em; }
.card p { margin: 0; color: var(--muted); }
.note {
  padding: 22px 24px;
  border-radius: 20px;
  border: 1px solid rgba(22, 119, 200, 0.18);
  background: color-mix(in srgb, var(--water) 62%, transparent);
}
.note strong { color: var(--brand-deep); }

.doc { width: min(760px, calc(100% - 36px)); margin: 0 auto; padding: 72px 0 100px; }
.doc .intro { margin: 0 0 38px; color: var(--muted); font-size: 20px; }
.doc h2 { margin: 42px 0 10px; font-size: 26px; letter-spacing: -0.025em; }
.doc h3 { margin: 26px 0 8px; font-size: 20px; }
.doc p, .doc li { color: var(--muted); }
.doc ul { padding-left: 1.25em; }
.doc li + li { margin-top: 8px; }
.doc .meta { margin-top: 50px; padding-top: 22px; border-top: 1px solid var(--line); font-size: 14px; }
.contact-card { margin-top: 26px; }
.contact-card a { font-weight: 650; }

.footer { border-top: 1px solid var(--line); }
.footer-inner {
  width: min(1120px, calc(100% - 36px));
  min-height: 88px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  color: var(--muted);
  font-size: 13px;
}
.footer-links { display: flex; gap: 18px; }

@media (max-width: 800px) {
  .hero { min-height: auto; grid-template-columns: 1fr; }
  .hero-copy { text-align: center; margin: 0 auto; }
  .eyebrow, .actions { justify-content: center; }
  .grid { grid-template-columns: 1fr; }
  .phone { width: min(82vw, 340px); transform: none; }
}

@media (max-width: 560px) {
  .nav-links { gap: 14px; }
  .nav-links a:first-child { display: none; }
  .footer-inner { padding: 24px 0; flex-direction: column; align-items: flex-start; }
}
