:root {
  color-scheme: light;
  --ink: #171c34;
  --muted: #4f596f;
  --accent: #394edc;
  --accent-dark: #2739ba;
  --line: #dce1ef;
  --surface: #f6f8ff;
  --radius: 18px;
  font-family: -apple-system, BlinkMacSystemFont, "Hiragino Sans", "Yu Gothic", Meiryo, sans-serif;
  font-synthesis: none;
  line-height: 1.72;
  color: var(--ink);
  background: #fff;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; }
a { color: inherit; text-decoration: none; }
button { font: inherit; }
img { display: block; max-width: 100%; height: auto; }
h1, h2, h3, p, figure { margin: 0; }
[id] { scroll-margin-top: 24px; }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 4px; }
.wrap { width: min(1200px, calc(100% - 80px)); margin-inline: auto; }
.skip { position: fixed; z-index: 10; top: 10px; left: 10px; transform: translateY(-150%); padding: 8px 14px; background: #fff; }
.skip:focus { transform: none; }

.header { border-bottom: 1px solid var(--line); background: #fff; }
.header-inner { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; min-height: 72px; gap: 24px; }
.brand { display: inline-flex; align-items: center; gap: 10px; justify-self: start; width: fit-content; font-size: 24px; font-weight: 800; letter-spacing: -.04em; line-height: 1; }
.header nav { display: flex; align-items: center; gap: 32px; font-size: 14px; font-weight: 650; color: var(--muted); }
.header nav a { padding-block: 10px; }
.header nav a:hover, .footer a:hover { color: var(--accent-dark); }
.header .button { justify-self: end; }
.button { min-height: 48px; display: inline-flex; align-items: center; justify-content: center; gap: 10px; width: fit-content; padding: 10px 18px; border: 1px solid transparent; border-radius: 9px; font-weight: 700; font-size: 14px; line-height: 1.45; white-space: nowrap; transition: background .18s ease, border-color .18s ease; }
.button-small { min-height: 38px; padding: 7px 14px; font-size: 13px; }
.button-primary { background: var(--accent); color: #fff; }
.button-primary:hover { background: var(--accent-dark); }
.button-outline { color: var(--ink); background: #fff; border-color: #cdd4e7; }
.button-outline:hover { background: #f1f3ff; border-color: #a4afea; }
.play-icon { width: 0; height: 0; display: block; border-top: 6px solid transparent; border-bottom: 6px solid transparent; border-left: 9px solid currentColor; }

.hero {
  background: radial-gradient(ellipse at 79% 37%, #dfe6ff 0, transparent 57%), linear-gradient(110deg, #f7f8ff, #edf2ff);
  border-bottom: 1px solid var(--line);
}
.hero-grid { display: grid; grid-template-columns: minmax(0, 0.86fr) minmax(0, 1.14fr); gap: clamp(28px, 4.6vw, 68px); align-items: center; padding-block: clamp(56px, 7vw, 105px); }
.hero h1 { font-size: clamp(36px, 4.55vw, 66px); letter-spacing: -.064em; line-height: 1.15; font-weight: 850; }
.hero h1 em { font-style: normal; color: var(--accent-dark); }
.hero-copy > p { max-width: 37ch; margin-block: 22px 25px; font-size: clamp(15px, 1.32vw, 17px); color: var(--muted); }
.actions { display: flex; flex-wrap: wrap; gap: 10px; }
.hero-visual a {
  display: block;
  overflow: hidden;
  padding: 8px;
  border: 1px solid #3c456c;
  border-radius: 16px;
  background: #171c2c;
  box-shadow: 0 24px 72px #25357737, 0 7px 24px #2535772b;
}
.hero-visual img { width: 100%; border-radius: 9px; }
.hero-visual figcaption { margin-top: 12px; text-align: right; color: var(--muted); font-size: 12px; }

h2 { font-size: clamp(23px, 3vw, 38px); line-height: 1.3; letter-spacing: -.04em; }
.features { padding-block: 66px 74px; }
.feature-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); margin-top: 25px; border: 1px solid var(--line); border-radius: var(--radius); }
.feature-grid article { padding: 24px clamp(17px, 2.25vw, 34px) 26px; }
.feature-grid article + article { border-left: 1px solid var(--line); }
.feature-grid .phase { display: inline-block; padding: 2px 9px; border-radius: 6px; color: var(--accent-dark); background: #edf0ff; font-size: 12px; font-weight: 750; }
.feature-grid h3 { margin-block: 9px 6px; font-size: clamp(16px, 1.7vw, 20px); line-height: 1.45; letter-spacing: -.035em; }
.feature-grid article > p:last-child { font-size: 14px; color: var(--muted); }

.watch-section { color: #f6f8ff; background: #13182b; padding-block: 58px 60px; }
.watch-section :focus-visible { outline-color: #b4c1ff; }
.video-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px; margin-top: 25px; }
.video-card { min-width: 0; display: flex; flex-direction: column; padding: 21px; background: #1b223b; border: 1px solid #343f5f; border-radius: var(--radius); }
.video-card:target { border-color: #afbbff; box-shadow: 0 0 0 3px #aebcff46; }
.video-heading { display: flex; justify-content: space-between; align-items: baseline; gap: 10px; }
.video-heading h3 { font-size: clamp(16px, 1.8vw, 23px); line-height: 1.45; }
.duration { color: #b9c5e1; font-size: 12px; white-space: nowrap; }
.video-card > p { margin-block: 6px 17px; flex: 1; font-size: 14px; color: #c8d1e8; }
.player { position: relative; background: #0f1320; border: 1px solid #3a435d; border-radius: 10px; }
video { display: block; width: 100%; aspect-ratio: 16 / 10; object-fit: contain; border-radius: 9px; color: #fff; }
.video-play { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); display: grid; place-items: center; width: 64px; height: 64px; padding: 0; color: #fff; background: #3b4edf; border: 1px solid #b5bfff; border-radius: 50%; cursor: pointer; box-shadow: 0 0 0 7px #0d162657; }
.video-play[hidden] { display: none; }
.video-play:hover { background: #283bc0; }
.video-play .play-icon { border-top-width: 9px; border-bottom-width: 9px; border-left-width: 14px; margin-left: 3px; }
.video-note { margin-top: 16px; color: #b9c5e1; font-size: 12px; }

.pricing { padding-top: 76px; }
.price-panel { display: grid; grid-template-columns: 1fr 0.9fr; align-items: center; gap: 36px; padding: clamp(24px, 4.6vw, 62px); border: 1px solid #cbd4f5; background: linear-gradient(130deg, #f1f4ff 0%, #fbfcff 80%); border-radius: var(--radius); }
.price { margin-block: 9px 12px; font-size: clamp(39px, 5.2vw, 68px); line-height: 1.1; letter-spacing: -.055em; font-variant-numeric: tabular-nums; font-weight: 800; }
.price span { font-size: clamp(15px, 1.7vw, 22px); letter-spacing: -.02em; }
.price-contact { margin-bottom: 16px; color: var(--muted); font-size: 14px; }
.included { display: grid; gap: 14px; margin: 0; padding: 0; list-style: none; }
.included li { position: relative; padding-left: 24px; }
.included li::before { content: "✓"; position: absolute; left: 0; color: var(--accent-dark); font-weight: 800; }
.included strong, .included span { display: block; }
.included strong { font-size: 15px; }
.included span { font-size: 13px; color: var(--muted); }

.faq { display: grid; grid-template-columns: 1fr 1.8fr; align-items: baseline; gap: 25px; padding-block: 66px; }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { padding: 13px 0; font-size: 15px; font-weight: 700; cursor: pointer; }
.faq details p { padding: 0 0 14px 18px; font-size: 14px; color: var(--muted); }
.footer { background: var(--surface); border-top: 1px solid var(--line); }
.footer-inner { min-height: 84px; padding-block: 16px; display: flex; flex-wrap: wrap; align-items: center; gap: 15px 24px; color: var(--muted); font-size: 13px; }
.footer .brand { font-size: 19px; color: var(--ink); margin-right: auto; }
.footer small { font-size: inherit; }

@media (max-width: 950px) {
  .wrap { width: calc(100% - 48px); }
  .hero-grid { gap: 25px; }
  .video-card { padding: 15px; }
}

@media (max-width: 700px) {
  .wrap { width: calc(100% - 34px); }
  .header-inner { min-height: 60px; gap: 8px; }
  .brand { font-size: 21px; gap: 6px; }
  .header .brand img { width: 28px; }
  .header nav { gap: clamp(7px, 2vw, 14px); font-size: 12px; }
  .button-small { min-height: 34px; padding-inline: 8px; font-size: 11px; }
  .hero-grid { grid-template-columns: 1fr; gap: 25px; padding-block: 40px 30px; }
  .hero h1 { font-size: clamp(39px, 8vw, 54px); }
  .hero-copy > p { margin-block: 14px 18px; }
  .hero-visual a { padding: 5px; border-radius: 12px; }
  .hero-visual figcaption { margin-top: 8px; }
  .features, .faq { padding-block: 43px; }
  .feature-grid, .video-grid, .price-panel, .faq { grid-template-columns: 1fr; }
  .feature-grid article { padding: 17px 18px; }
  .feature-grid article + article { border-left: 0; border-top: 1px solid var(--line); }
  .watch-section { padding-block: 43px; }
  .video-grid { margin-top: 18px; gap: 14px; }
  .video-card > p { margin-bottom: 10px; }
  .pricing { padding-top: 43px; }
  .price-panel { gap: 23px; }
  .faq { gap: 11px; }
  .footer-inner { gap: 10px 16px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition: none !important; }
}
