:root {
  --ink: #171717;
  --muted: #5f5f5f;
  --paper: #f6f4ef;
  --card: #ffffff;
  --line: #dedbd2;
  --yellow: #f6c900;
  --yellow-soft: #fff7c8;
  --red: #df334a;
  --green: #087e61;
  --shadow: 0 18px 50px rgba(15, 15, 15, 0.08);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: -apple-system, BlinkMacSystemFont, "Hiragino Sans", "Yu Gothic", sans-serif;
  font-size: 17px;
  line-height: 1.8;
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; }

a:focus-visible {
  outline: 4px solid #4d9fff;
  outline-offset: 4px;
}

.hero {
  position: relative;
  overflow: hidden;
  color: #fff;
  background: #101010;
  border-bottom: 8px solid var(--yellow);
}

.hero::before,
.hero::after {
  position: absolute;
  content: "";
  border: 2px solid rgba(246, 201, 0, 0.22);
  border-radius: 50%;
}

.hero::before { width: 560px; height: 560px; right: -170px; top: -280px; }
.hero::after { width: 360px; height: 360px; right: 80px; top: -210px; }

.hero__inner {
  position: relative;
  z-index: 1;
  width: min(900px, calc(100% - 40px));
  margin: 0 auto;
  padding: 76px 0 62px;
}

.eyebrow,
.section-number {
  margin: 0 0 10px;
  color: var(--yellow);
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.12em;
}

h1 {
  max-width: 760px;
  margin: 0;
  font-size: clamp(2.5rem, 8vw, 5.3rem);
  line-height: 1.05;
  letter-spacing: -0.045em;
}

h1 span { color: var(--yellow); }

.lead {
  max-width: 660px;
  margin: 28px 0 0;
  color: #e6e6e6;
  font-size: clamp(1.05rem, 2vw, 1.28rem);
}

.deadline {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  margin-top: 30px;
  padding: 12px 18px;
  color: var(--ink);
  background: var(--yellow);
  border-radius: 10px;
}

.deadline span { font-size: 0.82rem; font-weight: 800; }
.deadline strong { font-size: 1.05rem; }

.hero__note {
  max-width: 700px;
  margin: 18px 0 0;
  color: #cfcfcf;
  font-size: 0.94rem;
}

main {
  width: min(980px, calc(100% - 40px));
  margin: 0 auto;
}

.section { padding: 88px 0 22px; }

.section-heading { margin-bottom: 30px; }
.section-heading h2 {
  margin: 0;
  font-size: clamp(1.8rem, 4vw, 2.7rem);
  line-height: 1.25;
  letter-spacing: -0.03em;
}

.section-number { color: #7c6500; }

.check-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.check-card {
  display: flex;
  gap: 18px;
  padding: 24px;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 18px;
}

.check-mark {
  display: grid;
  flex: 0 0 38px;
  width: 38px;
  height: 38px;
  place-items: center;
  color: var(--ink);
  background: var(--yellow);
  border-radius: 50%;
  font-weight: 900;
}

.check-card h3,
.step-card h3 { margin: 0 0 7px; font-size: 1.15rem; line-height: 1.45; }
.check-card p,
.step-card p { margin: 0; color: var(--muted); }
.check-card--wide { grid-column: 1 / -1; }
.prep-alert {
  margin-top: 18px;
  padding: 18px 22px;
  color: var(--ink);
  background: var(--yellow-soft);
  border-left: 5px solid var(--yellow);
  border-radius: 10px;
}
.prep-alert strong { display: block; }
.prep-alert p { margin: 4px 0 0; }

.store-links { display: flex; gap: 10px; margin-top: 14px !important; }
.store-links a {
  padding: 6px 12px;
  color: var(--ink);
  background: #f0eee8;
  border-radius: 8px;
  font-size: 0.9rem;
  font-weight: 700;
  text-decoration: none;
}

.steps {
  display: grid;
  gap: 22px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.step-card {
  padding: 28px;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 20px;
  box-shadow: var(--shadow);
}

.step-copy { display: flex; gap: 18px; align-items: flex-start; }

.step-no {
  display: grid;
  flex: 0 0 44px;
  width: 44px;
  height: 44px;
  place-items: center;
  color: var(--ink);
  background: var(--yellow);
  border-radius: 12px;
  font-size: 1.25rem;
  font-weight: 900;
}

figure { margin: 24px 0 0; }
figure img {
  display: block;
  width: 100%;
  height: auto;
  background: #171717;
  border: 1px solid #333;
  border-radius: 12px;
}

.figure-narrow { max-width: 540px; margin-left: auto; margin-right: auto; }
figcaption { margin-top: 10px; color: var(--muted); font-size: 0.86rem; text-align: center; }

.code-step { background: #1b1b1b; border-color: #1b1b1b; }
.code-step h3 { color: #fff; }
.code-step .step-copy p { color: #cfcfcf; }
.code-box { display: flex; justify-content: center; gap: 10px; margin: 28px auto 22px; }
.code-box span { width: 48px; height: 58px; background: #fff; border: 3px solid var(--yellow); border-radius: 8px; }
.auth-notes {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin: 0 0 14px;
}
.auth-notes > div {
  padding: 16px;
  color: #fff;
  background: #292929;
  border: 1px solid #454545;
  border-radius: 10px;
}
.auth-notes strong { display: block; margin-bottom: 5px; color: var(--yellow); }
.auth-notes p { color: #dedede; font-size: 0.94rem; }
.watch-card {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
  gap: 30px;
  align-items: center;
  padding: 32px;
  color: #fff;
  background: #171717;
  border-radius: 22px;
  box-shadow: var(--shadow);
}

.watch-copy ol { margin: 0 0 24px; padding-left: 1.4em; }
.watch-copy li + li { margin-top: 7px; }
.watch-card figure { margin: 0; }
.watch-card figcaption { color: #bdbdbd; }

.primary-button {
  display: block;
  padding: 15px 18px;
  color: var(--ink);
  background: var(--yellow);
  border-radius: 10px;
  font-weight: 900;
  text-align: center;
  text-decoration: none;
  box-shadow: 0 5px 0 #a88800;
}

.primary-button:hover { transform: translateY(1px); box-shadow: 0 4px 0 #a88800; }
.button-note { margin: 15px 0 0; color: #cfcfcf; font-size: 0.88rem; text-align: center; }

.screen-note {
  margin: 26px 2px 70px;
  color: var(--muted);
  font-size: 0.9rem;
}

@media (max-width: 720px) {
  body { font-size: 16px; }
  .hero__inner { width: min(100% - 30px, 900px); padding: 55px 0 44px; }
  main { width: min(100% - 24px, 980px); }
  .hero::before { right: -330px; }
  .deadline { display: flex; flex-direction: column; align-items: flex-start; gap: 0; width: 100%; }
  .deadline strong { font-size: 1rem; }
  .section { padding-top: 62px; }
  .check-grid,
  .watch-card { grid-template-columns: 1fr; }
  .check-card { padding: 20px; }
  .check-card--wide { grid-column: auto; }
  .step-card { padding: 20px 16px; border-radius: 15px; }
  .step-copy { gap: 13px; }
  .step-no { flex-basis: 38px; width: 38px; height: 38px; }
  .code-box { gap: 6px; }
  .code-box span { width: calc((100vw - 104px) / 6); max-width: 42px; height: 52px; }
  .auth-notes { grid-template-columns: 1fr; }
  .watch-card { padding: 22px 16px; }
  .watch-card figure { order: -1; }
  .store-links { flex-wrap: wrap; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: 0.01ms !important; animation-duration: 0.01ms !important; }
}
