:root {
  color-scheme: light;
  --night: #101a31;
  --ink: #152039;
  --muted: #4e5c72;
  --paper: #f3f5f8;
  --line: #dce2ec;
  --lime: #d7f86d;
  font-family: "Segoe UI", system-ui, sans-serif;
  color: var(--ink);
  background: var(--paper);
}

*, *::before, *::after { box-sizing: border-box; }
body { margin: 0; }
h1, h2, h3, p { margin: 0; }
a { color: inherit; }
button { font: inherit; }
[hidden] { display: none !important; }
:focus-visible { outline: 3px solid #5176eb; outline-offset: 4px; }
.wrap { width: min(1100px, calc(100% - 2rem)); margin-inline: auto; }
.header, .footer { display: flex; align-items: center; justify-content: space-between; gap: 1.25rem; padding-block: 1.4rem; }
.wordmark { font-size: 1.25rem; font-weight: 850; letter-spacing: -.06em; text-decoration: none; white-space: nowrap; }
.wordmark span { color: #3153b7; }
.header nav { display: flex; flex-wrap: wrap; gap: .5rem 1.35rem; font-size: .95rem; font-weight: 650; }
.header nav a { text-decoration: none; }
.header nav a:hover, .tutorial-link:hover { text-decoration-thickness: 2px; text-decoration-line: underline; }
.hero {
  display: grid;
  grid-template-columns: 1.2fr .8fr;
  align-items: center;
  gap: clamp(1.7rem, 5vw, 4.75rem);
  padding: clamp(1.5rem, 6vw, 5.75rem);
  border-radius: 1.8rem;
  background: radial-gradient(ellipse at 95% 85%, #273e78, transparent 65%), var(--night);
  color: white;
}
.eyebrow { font-size: .9rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--lime); }
h1 { margin-top: .45rem; font-size: clamp(3.25rem, 8vw, 6.25rem); line-height: .95; letter-spacing: -.073em; }
h1 em { color: var(--lime); font-style: normal; }
.lead { margin-top: 1.3rem; max-width: 32rem; color: #e0e7f8; font-size: clamp(1rem, 2vw, 1.2rem); line-height: 1.55; }
.actions { display: flex; flex-wrap: wrap; align-items: center; gap: .65rem; }
.hero .actions { margin-top: 1.55rem; }
.button, .promo button { display: inline-flex; justify-content: center; align-items: center; min-height: 44px; padding: .65rem 1rem; border: 1px solid transparent; border-radius: .75rem; font-weight: 700; text-decoration: none; text-align: center; cursor: pointer; }
.primary { color: var(--night); background: var(--lime); }
.primary:hover { background: #e7ffaf; }
.outline { border-color: currentColor; }
.outline:hover { background: rgb(104 129 189 / .16); }
.promo { padding: clamp(1rem, 3vw, 1.7rem); border-radius: 1.3rem; background: #e8efff; color: var(--ink); }
#promo-title { font-weight: 650; }
#promo-code { display: block; margin: .25rem 0 .55rem; font-size: clamp(3.5rem, 7vw, 5.55rem); line-height: 1.05; letter-spacing: -.08em; }
.promo-footer { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: .6rem; padding-top: .8rem; border-top: 1px dashed #8392ad; }
.promo-footer span { color: var(--muted); }
.promo button { background: var(--night); color: white; }
.promo button:hover { background: #2c4275; }
#copy-status { margin-top: .55rem; font-size: .9rem; }
#copy-status:empty { display: none; }
.section { margin-block: clamp(2rem, 6vw, 4rem); scroll-margin-top: 1rem; }
.section h2 { margin-bottom: 1rem; font-size: clamp(2rem, 4.2vw, 3rem); letter-spacing: -.05em; line-height: 1.1; }
.audio-card { display: flex; align-items: center; gap: 1rem; margin-top: 1.1rem; padding: 1rem 1.3rem; border-radius: 1rem; border: 1px solid var(--line); background: white; }
.audio-copy { flex: 1; min-width: 0; }
.audio-copy h2 { font-size: 1.1rem; }
.audio-copy p { margin-top: .2rem; color: var(--muted); }
.audio-copy audio { display: block; width: min(100%, 28rem); margin-top: .5rem; }
.audio-icon { display: flex; align-items: center; justify-content: center; flex: 0 0 3rem; height: 3rem; gap: 3px; border-radius: .75rem; background: #e8efff; }
.audio-icon i { width: 3px; height: 20px; background: #3153b7; border-radius: 2px; }
.audio-icon i:is(:first-child, :last-child) { height: 8px; }
.audio-icon i:nth-child(3) { height: 29px; }
.tutorial-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem; }
.tutorial { display: flex; flex-direction: column; align-items: flex-start; padding: 1.2rem; border: 1px solid var(--line); border-radius: 1.1rem; background: white; }
.tutorial h3 { font-size: 1.3rem; }
.tutorial-copy { flex: 1; }
.tutorial p, .community p { margin-top: .35rem; line-height: 1.5; color: var(--muted); }
.tutorial video { display: block; width: 100%; height: clamp(18rem, 48vw, 30rem); background: var(--night); border-radius: .75rem; object-fit: contain; margin: 1rem 0 0; }
.tutorial-link { display: inline-block; margin-top: .45rem; color: #2549a4; font-weight: 650; text-underline-offset: .16em; }
.community { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 1rem 2rem; padding: clamp(1.2rem, 4vw, 2rem); border-radius: 1.1rem; background: #e8efff; }
.community h2 { margin-bottom: .25rem; }
.footer { border-top: 1px solid var(--line); }
.footer p { color: var(--muted); font-size: .9rem; line-height: 1.5; }

@media (max-width: 720px) {
  .hero { grid-template-columns: 1fr; }
  .promo { width: min(100%, 27rem); }
  .tutorial-grid { grid-template-columns: 1fr; }
}
@media (max-width: 420px) {
  .header, .footer { align-items: flex-start; flex-direction: column; gap: .65rem; }
  .hero { border-radius: 1.1rem; }
  .hero .button, .community .button { flex: 1 0 100%; }
}
