:root {
  color-scheme: light;
  --ink: #10203a;
  --muted: #5b687d;
  --blue: #2563eb;
  --blue-dark: #163eaf;
  --green: #14855f;
  --purple: #7657e6;
  --orange: #e77b18;
  --line: #dfe6f1;
  --soft: #f4f7fb;
  --white: #fff;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  color: var(--ink);
  background: var(--white);
  font-family: "Yu Gothic", "Hiragino Kaku Gothic ProN", Meiryo, system-ui, sans-serif;
  line-height: 1.75;
}

a { color: inherit; }

.hero {
  min-height: 650px;
  color: #fff;
  background:
    radial-gradient(circle at 86% 7%, rgba(125, 91, 255, .75) 0 13%, transparent 13.2%),
    radial-gradient(circle at 91% 21%, rgba(89, 67, 220, .55) 0 19%, transparent 19.2%),
    linear-gradient(125deg, #132b54 0%, #203c86 56%, #5033d7 100%);
}

.nav, .hero-inner, .section, footer {
  width: min(1120px, calc(100% - 40px));
  margin-inline: auto;
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 80px;
  border-bottom: 1px solid rgba(255,255,255,.18);
}

.brand { font-weight: 800; text-decoration: none; letter-spacing: .02em; }
.nav-links { display: flex; gap: 28px; }
.nav-links a { color: #fff; text-decoration: none; font-weight: 700; font-size: .95rem; }

.hero-inner { padding: 100px 0 120px; }
.eyebrow { margin: 0 0 14px; color: #86f3cf; font-size: .83rem; font-weight: 900; letter-spacing: .16em; }
.eyebrow.dark { color: var(--blue); }

h1 {
  max-width: 760px;
  margin: 0;
  font-size: clamp(3rem, 7vw, 5.7rem);
  line-height: 1.12;
  letter-spacing: -.045em;
}

.lead { max-width: 700px; margin: 30px 0 0; font-size: 1.15rem; color: #e8edff; }
.hero-actions, .download-row { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 36px; }

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 10px 24px;
  border-radius: 999px;
  font-weight: 800;
  text-decoration: none;
  transition: transform .2s ease, box-shadow .2s ease;
}

.button:hover { transform: translateY(-2px); }
.button.primary { color: #fff; background: var(--blue); box-shadow: 0 12px 28px rgba(19, 53, 142, .25); }
.hero .button.primary { color: #132b54; background: #91f2d3; }
.button.secondary { color: #fff; border: 1px solid rgba(255,255,255,.55); background: rgba(255,255,255,.08); }
.button.outline { color: var(--blue-dark); border: 1px solid #b7c7ec; }

.section { padding: 96px 0; }
.soft { width: 100%; max-width: none; padding-inline: max(20px, calc((100% - 1120px) / 2)); background: var(--soft); }
.section-heading { max-width: 730px; margin-bottom: 42px; }
.section-heading h2, .note h2 { margin: 0; font-size: clamp(2rem, 4vw, 3.1rem); line-height: 1.25; letter-spacing: -.03em; }
.section-heading p:last-child { margin: 16px 0 0; color: var(--muted); }

.video-frame { overflow: hidden; border: 1px solid #20375f; border-radius: 22px; background: #0d1729; box-shadow: 0 24px 60px rgba(16, 32, 58, .2); }
video { display: block; width: 100%; aspect-ratio: 16 / 9; background: #0d1729; }
.caption { margin: 14px 0 0; color: var(--muted); text-align: right; font-size: .88rem; }

.cards { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.card { padding: 28px; border: 1px solid var(--line); border-radius: 18px; background: #fff; box-shadow: 0 8px 25px rgba(25, 47, 87, .05); }
.card.featured { border-color: #aac5ff; box-shadow: 0 12px 35px rgba(37, 99, 235, .12); }
.tag { display: inline-block; padding: 4px 11px; border-radius: 999px; color: #1751bd; background: #e8f0ff; font-size: .76rem; font-weight: 900; }
.tag.green { color: #0c7350; background: #e1f5ed; }
.tag.purple { color: #6043c7; background: #eee9ff; }
.tag.orange { color: #aa5609; background: #fff0df; }
.card h3 { margin: 16px 0 8px; font-size: 1.35rem; line-height: 1.4; }
.card p { margin: 0; color: var(--muted); }
.card .meta { margin: 18px 0 8px; color: #8590a3; font-size: .84rem; }
.text-link { color: var(--blue-dark); font-weight: 850; text-decoration: none; }
.text-link:hover { text-decoration: underline; }

.steps { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; margin: 0; padding: 0; list-style: none; }
.steps li { display: flex; gap: 16px; padding: 22px; border: 1px solid var(--line); border-radius: 16px; }
.steps li > span { display: grid; flex: 0 0 38px; height: 38px; place-items: center; color: #fff; background: var(--blue); border-radius: 50%; font-weight: 900; }
.steps strong { font-size: 1.05rem; }
.steps p { margin: 4px 0 0; color: var(--muted); }
code { padding: 2px 6px; border-radius: 5px; background: #edf1f7; font-family: Consolas, monospace; }

.note-section { padding-top: 20px; }
.note { padding: 42px; color: #fff; border-radius: 24px; background: linear-gradient(130deg, #172c51, #25469e); }
.terms { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; margin-top: 28px; }
.terms p { margin: 0; padding: 18px; border-radius: 13px; background: rgba(255,255,255,.1); }
.terms strong, .terms span { display: block; }
.terms span { margin-top: 3px; color: #dbe5ff; font-size: .92rem; }

footer { display: flex; justify-content: space-between; gap: 30px; padding: 34px 0 50px; border-top: 1px solid var(--line); font-size: .87rem; }
footer p { margin: 0; font-weight: 800; }
.footer-note { max-width: 660px; color: var(--muted); font-weight: 500; text-align: right; }

@media (max-width: 760px) {
  .hero { min-height: 590px; }
  .nav-links { display: none; }
  .hero-inner { padding: 76px 0 100px; }
  .section { padding-block: 72px; }
  .cards, .steps, .terms { grid-template-columns: 1fr; }
  .card { padding: 23px; }
  .note { padding: 28px 22px; }
  footer { flex-direction: column; }
  .footer-note { text-align: left; }
}

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