:root {
  color-scheme: light;
  --ink: #071b42;
  --muted: #59677d;
  --line: #dce5f1;
  --paper: #ffffff;
  --wash: #f5f8fc;
  --blue: #1764f5;
  --cyan: #00bfd7;
  --red: #f24f57;
  --shadow: 0 24px 70px rgba(7, 27, 66, 0.12);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background:
    radial-gradient(circle at 82% 6%, rgba(0, 191, 215, 0.08), transparent 24rem),
    linear-gradient(180deg, #fff 0%, #f8fbff 72%, #fff 100%);
  color: var(--ink);
  font-family: -apple-system, BlinkMacSystemFont, "Hiragino Sans", "Yu Gothic", sans-serif;
  line-height: 1.7;
}

a { color: inherit; }
img { display: block; max-width: 100%; }

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

.site-header {
  position: sticky;
  z-index: 20;
  top: 0;
  border-bottom: 1px solid rgba(220, 229, 241, 0.8);
  background: rgba(255, 255, 255, 0.86);
  backdrop-filter: blur(18px);
}

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

.brand { display: flex; align-items: center; gap: 11px; font-weight: 800; text-decoration: none; }
.brand img { width: 40px; height: 40px; border-radius: 10px; box-shadow: 0 4px 16px rgba(7, 27, 66, 0.12); }
.nav-links { display: flex; gap: 18px; color: var(--muted); font-size: 14px; }
.nav-links a { text-decoration: none; }
.nav-links a:hover { color: var(--blue); }

.hero {
  min-height: 690px;
  display: grid;
  grid-template-columns: 1.02fr 0.98fr;
  align-items: center;
  gap: 68px;
  padding: 74px 0 64px;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 16px;
  color: var(--blue);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.eyebrow::before { content: ""; width: 9px; height: 9px; border-radius: 50%; background: var(--red); box-shadow: 0 0 0 5px rgba(242, 79, 87, .12); }

h1 { margin: 0; font-size: clamp(42px, 6.4vw, 78px); line-height: 1.02; letter-spacing: -.055em; }
.lead { margin: 24px 0 0; max-width: 620px; color: var(--muted); font-size: clamp(17px, 2vw, 21px); }
.actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 20px;
  border-radius: 15px;
  background: var(--ink);
  color: #fff;
  font-weight: 750;
  text-decoration: none;
  box-shadow: 0 12px 30px rgba(7, 27, 66, .18);
}

.button.secondary { border: 1px solid var(--line); background: #fff; color: var(--ink); box-shadow: none; }
.facts { display: flex; flex-wrap: wrap; gap: 9px; margin-top: 24px; }
.fact { padding: 7px 11px; border: 1px solid var(--line); border-radius: 999px; background: rgba(255,255,255,.75); color: var(--muted); font-size: 12px; font-weight: 700; }

.hero-art { position: relative; min-height: 540px; }
.icon-card { position: absolute; top: 14px; right: 18px; width: min(340px, 72%); border-radius: 29%; box-shadow: var(--shadow); transform: rotate(2deg); }
.phone { position: absolute; overflow: hidden; width: 226px; border: 7px solid #0a1428; border-radius: 42px; background: #0a1428; box-shadow: 0 28px 70px rgba(7, 27, 66, .24); }
.phone img { width: 100%; border-radius: 34px; }
.phone.one { left: 4%; bottom: 0; transform: rotate(-4deg); }
.phone.two { right: 3%; bottom: -18px; transform: rotate(3deg); }
.wire { position: absolute; z-index: -1; left: 34%; top: 47%; width: 49%; height: 5px; background: linear-gradient(90deg, var(--blue), var(--cyan), var(--red)); }

.section { padding: 78px 0; }
.section-head { display: flex; align-items: end; justify-content: space-between; gap: 30px; margin-bottom: 28px; }
h2 { margin: 0; font-size: clamp(28px, 4vw, 46px); line-height: 1.15; letter-spacing: -.035em; }
.section-head p { max-width: 470px; margin: 0; color: var(--muted); }
.grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.card { padding: 25px; border: 1px solid var(--line); border-radius: 24px; background: rgba(255,255,255,.88); box-shadow: 0 14px 40px rgba(7,27,66,.06); }
.card .number { display: grid; place-items: center; width: 34px; height: 34px; margin-bottom: 22px; border-radius: 11px; background: #eaf1ff; color: var(--blue); font: 800 13px/1 ui-monospace, monospace; }
.card:nth-child(2) .number { background: #e7fbfd; color: #008aa0; }
.card:nth-child(3) .number { background: #fff0f1; color: var(--red); }
.card h3 { margin: 0 0 8px; font-size: 20px; }
.card p { margin: 0; color: var(--muted); }

.showcase { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; align-items: end; }
.shot { padding: 9px; border: 1px solid var(--line); border-radius: 34px; background: #fff; box-shadow: var(--shadow); }
.shot img { width: 100%; border-radius: 27px; }
.shot:nth-child(2) { transform: translateY(-24px); }

.privacy-band { display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 28px; padding: 34px; border-radius: 28px; background: var(--ink); color: #fff; }
.privacy-band p { margin: 8px 0 0; color: #cbd6e8; }
.privacy-band .button { background: #fff; color: var(--ink); box-shadow: none; }

.page-main { min-height: calc(100vh - 154px); padding: 62px 0 84px; }
.page-title { max-width: 780px; margin-bottom: 34px; }
.page-title h1 { font-size: clamp(36px, 6vw, 62px); }
.page-title p { color: var(--muted); }
.prose { max-width: 820px; padding: 32px; border: 1px solid var(--line); border-radius: 26px; background: #fff; box-shadow: 0 15px 50px rgba(7,27,66,.06); }
.prose h2 { margin-top: 34px; font-size: 24px; }
.prose h2:first-child { margin-top: 0; }
.prose h3 { margin-top: 24px; }
.prose p, .prose li { color: #384861; }
.prose code { padding: 2px 6px; border-radius: 7px; background: var(--wash); font-family: ui-monospace, SFMono-Regular, Menlo, monospace; }
.prose a { color: var(--blue); }
.notice { padding: 16px 18px; border-left: 4px solid var(--cyan); border-radius: 12px; background: #effbfd; }

.site-footer { padding: 28px 0 38px; border-top: 1px solid var(--line); color: var(--muted); font-size: 12px; }
.footer-row { display: flex; justify-content: space-between; gap: 24px; }
.footer-links { display: flex; flex-wrap: wrap; gap: 14px; }

@media (max-width: 820px) {
  .nav-links { display: none; }
  .hero { grid-template-columns: 1fr; gap: 34px; min-height: auto; padding-top: 48px; }
  .hero-art { min-height: 480px; }
  .icon-card { width: 280px; }
  .grid, .showcase { grid-template-columns: 1fr; }
  .showcase { width: min(390px, 92%); margin: 0 auto; }
  .shot:nth-child(2) { transform: none; }
  .section-head, .privacy-band { align-items: start; grid-template-columns: 1fr; flex-direction: column; }
}

@media (max-width: 480px) {
  .shell { width: min(100% - 28px, 1120px); }
  .hero-art { min-height: 410px; }
  .icon-card { right: 0; width: 230px; }
  .phone { width: 178px; border-width: 5px; border-radius: 34px; }
  .phone img { border-radius: 28px; }
  .phone.two { right: 0; }
  .section { padding: 56px 0; }
  .card, .prose { padding: 22px; border-radius: 21px; }
  .footer-row { flex-direction: column; }
}

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