:root {
  color-scheme: light;
  --ink: #111827;
  --muted: #5f6b7c;
  --paper: #ffffff;
  --bg: #f7f7f5;
  --line: #e3e6ec;
  --violet: #6d28d9;
  --violet-dark: #4c1d95;
  --violet-soft: #ede9fe;
  --green: #059669;
  --shadow: 0 18px 50px rgba(15, 23, 42, 0.08);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  overflow-x: hidden;
  background:
    radial-gradient(circle at 8% 5%, rgba(196, 181, 253, .38), transparent 25rem),
    radial-gradient(circle at 92% 15%, rgba(186, 230, 253, .42), transparent 27rem),
    var(--bg);
  color: var(--ink);
  font: 16px/1.65 Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

a { color: var(--violet); text-underline-offset: 4px; }
a:hover { color: var(--violet-dark); }
a:focus-visible, button:focus-visible {
  outline: 3px solid var(--violet);
  outline-offset: 4px;
  border-radius: 8px;
}

.skip {
  position: fixed;
  left: 20px;
  top: -100px;
  z-index: 100;
  padding: 12px 16px;
  border-radius: 12px;
  background: var(--paper);
  box-shadow: var(--shadow);
  font-weight: 800;
}
.skip:focus { top: 16px; }
.wrap { width: min(1120px, calc(100% - 40px)); margin: 0 auto; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  border-bottom: 1px solid rgba(255, 255, 255, .7);
  background: rgba(255, 255, 255, .82);
  backdrop-filter: blur(20px);
}
.site-header .wrap {
  min-height: 76px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}
.brand {
  min-width: 0;
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--ink);
  text-decoration: none;
  font-weight: 900;
  letter-spacing: -.02em;
}
.brand > span:last-child { min-width: 0; }
.brand-mark {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border-radius: 15px;
  background: var(--ink);
  color: white;
}
.brand small { display: block; color: var(--muted); font-size: 12px; letter-spacing: .04em; }
.header-links { display: flex; align-items: center; gap: 18px; font-weight: 750; }
.header-links a { color: var(--muted); text-decoration: none; }
.header-links a:hover { color: var(--ink); }

.hero {
  padding: 72px 0 52px;
  display: grid;
  grid-template-columns: 1fr .7fr;
  gap: 54px;
  align-items: center;
}
.hero > * { min-width: 0; }
.eyebrow {
  margin: 0;
  color: var(--violet);
  font-size: 13px;
  font-weight: 900;
  letter-spacing: .16em;
  text-transform: uppercase;
}
h1 {
  max-width: 780px;
  margin: 16px 0 22px;
  font-size: clamp(42px, 7vw, 70px);
  line-height: 1.02;
  letter-spacing: -.055em;
}
.lead { max-width: 720px; margin: 0; color: var(--muted); font-size: 19px; line-height: 1.7; }
.hero-card {
  padding: 28px;
  border-radius: 30px;
  background: var(--ink);
  color: white;
  box-shadow: 0 28px 90px rgba(109, 40, 217, .22);
}
.hero-card p { margin: 0; color: rgba(255,255,255,.68); }
.hero-card strong { display: block; margin-top: 8px; font-size: 26px; line-height: 1.25; }
.hero-card strong, .hero-card p { overflow-wrap: anywhere; }
.hero-card a {
  display: inline-flex;
  margin-top: 22px;
  padding: 12px 18px;
  border-radius: 999px;
  background: white;
  color: var(--ink);
  text-decoration: none;
  font-weight: 850;
}

.layout {
  display: grid;
  grid-template-columns: 240px minmax(0, 1fr);
  gap: 34px;
  align-items: start;
  padding-bottom: 72px;
}
.contents {
  position: sticky;
  top: 102px;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 22px;
  background: rgba(255,255,255,.88);
  box-shadow: var(--shadow);
}
.contents p { margin: 0 0 12px; font-size: 13px; font-weight: 900; letter-spacing: .1em; text-transform: uppercase; }
.contents a { display: block; padding: 7px 0; color: var(--muted); text-decoration: none; font-weight: 700; }
.contents a:hover { color: var(--violet); }

.steps { display: grid; gap: 18px; }
.step {
  scroll-margin-top: 104px;
  display: grid;
  grid-template-columns: 54px minmax(0, 1fr);
  gap: 20px;
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: 26px;
  background: var(--paper);
  box-shadow: var(--shadow);
}
.step-number {
  width: 54px;
  height: 54px;
  display: grid;
  place-items: center;
  border-radius: 18px;
  background: var(--violet-soft);
  color: var(--violet-dark);
  font-weight: 950;
}
.step h2 { margin: 1px 0 8px; font-size: 24px; line-height: 1.25; letter-spacing: -.025em; }
.step p { margin: 0; color: var(--muted); }
.step ul { margin: 14px 0 0; padding-left: 20px; color: var(--muted); }
.step li + li { margin-top: 8px; }
.path {
  display: inline-block;
  margin-top: 14px;
  padding: 9px 13px;
  border-radius: 12px;
  background: #f4f3f8;
  color: #363047;
  font-size: 14px;
  font-weight: 800;
}

.note {
  margin-top: 18px;
  padding: 24px 26px;
  border-radius: 24px;
  background: #ecfdf5;
  border: 1px solid #a7f3d0;
}
.note h2 { margin: 0 0 8px; font-size: 21px; }
.note p { margin: 0; color: #356055; }

.next {
  margin: 20px 0 74px;
  padding: 34px;
  border-radius: 30px;
  background: linear-gradient(135deg, #6d28d9, #312e81 56%, #111827);
  color: white;
  box-shadow: 0 28px 90px rgba(109, 40, 217, .2);
}
.next h2 { margin: 0; font-size: 30px; letter-spacing: -.03em; }
.next p { margin: 10px 0 20px; color: rgba(255,255,255,.74); }
.next-links { display: flex; flex-wrap: wrap; gap: 10px; }
.button {
  display: inline-flex;
  padding: 12px 18px;
  border-radius: 999px;
  background: white;
  color: var(--ink);
  text-decoration: none;
  font-weight: 850;
}
.button.secondary { color: white; background: rgba(255,255,255,.12); border: 1px solid rgba(255,255,255,.2); }

footer { border-top: 1px solid var(--line); background: rgba(255,255,255,.56); }
footer .wrap { padding: 30px 0 42px; }
footer nav { display: flex; flex-wrap: wrap; gap: 12px 22px; }
footer nav a { color: var(--muted); font-weight: 700; }
footer p { margin: 18px 0 0; color: var(--muted); font-size: 14px; }

@media (max-width: 820px) {
  .hero { grid-template-columns: 1fr; gap: 28px; padding-top: 52px; }
  .layout { grid-template-columns: 1fr; }
  .contents { position: static; }
  .contents nav { display: flex; flex-wrap: wrap; gap: 2px 16px; }
}
@media (max-width: 560px) {
  .wrap { width: min(1120px, calc(100% - 28px)); }
  .site-header .wrap { min-height: 68px; }
  .brand span:last-child { max-width: 220px; line-height: 1.2; }
  .header-links { display: none; }
  .hero { padding: 42px 0 36px; }
  h1 { font-size: clamp(36px, 10.8vw, 42px); overflow-wrap: anywhere; }
  .lead { font-size: 17px; }
  .hero-card { padding: 22px; border-radius: 24px; }
  .step { grid-template-columns: 1fr; padding: 22px 18px; border-radius: 22px; }
  .next { padding: 26px 20px; border-radius: 24px; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
