@font-face {
  font-family: Prompt;
  src: url('prompt-bold.ttf') format('truetype');
  font-weight: 700;
  font-display: swap;
}

:root {
  color-scheme: light;
  --navy: #0b1530;
  --ink: #101a37;
  --muted: #4d5a73;
  --paper: #f3f5fc;
  --white: #fff;
  --line: #dce2f2;
  --accent: #ff6257;
  --accent-hover: #ff7b72;
  --purple: #393b9e;
  --hero-muted: #c4cdec;
  --heading: Prompt, Tahoma, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-padding-top: 1rem; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font: 1rem/1.75 Tahoma, 'Leelawadee UI', system-ui, sans-serif;
  overflow-wrap: break-word;
}

h1, h2, h3 { margin: 0; font-family: var(--heading); line-height: 1.32; }
p { margin: 0; }
a { color: var(--purple); text-underline-offset: .22em; }
a:focus-visible { outline: 3px solid #8278fc; outline-offset: 5px; border-radius: 3px; }
img { display: block; max-width: 100%; }
.wrap { width: min(100% - 3.5rem, 74rem); margin-inline: auto; }
.skip { position: absolute; z-index: 2; left: 1rem; top: 1rem; padding: .5rem 1rem; background: var(--white); transform: translateY(-200%); }
.skip:focus { transform: none; }

.site-header { position: relative; background: var(--navy); border-bottom: 1px solid #242e49; color: var(--white); }
.nav-shell { min-height: 4.65rem; display: flex; align-items: center; justify-content: space-between; gap: 1rem; }
.brand { display: inline-flex; align-items: center; flex: none; }
.brand img { width: 146px; height: auto; }
.nav-links { display: flex; align-items: center; gap: clamp(1rem, 3.2vw, 2.3rem); }
.nav-links a { text-decoration: none; color: var(--hero-muted); white-space: nowrap; font-size: .95rem; }
.nav-links a:hover, .nav-links a[aria-current] { color: var(--white); }

.button {
  min-height: 2.95rem;
  display: inline-flex;
  justify-content: center;
  align-items: center;
  padding: .64rem 1.25rem;
  border: 1px solid transparent;
  border-radius: .72rem;
  font-weight: 700;
  text-align: center;
  text-decoration: none;
  line-height: 1.45;
}
.nav-links .nav-button { color: var(--white); border-color: #566084; padding-block: .48rem; min-height: 2.55rem; }
.nav-links .nav-button:hover, .nav-links .nav-button[aria-current] { background: #293755; }
.primary { background: var(--accent); color: var(--navy); }
.primary:hover { background: var(--accent-hover); }
.outline { color: var(--white); border-color: #59648f; }
.outline:hover { background: #293755; }

.hero {
  color: var(--white);
  background: radial-gradient(ellipse at 81% 75%, #303471 0%, transparent 52%), linear-gradient(120deg, #0b1530 38%, #171e49 100%);
}
.hero-layout { display: grid; grid-template-columns: 1.04fr 1fr; align-items: center; gap: clamp(2rem, 5vw, 4.4rem); padding-block: clamp(3rem, 6vw, 5.2rem); }
.eyebrow { font-size: .875rem; font-weight: 700; letter-spacing: .1em; }
.hero-copy .eyebrow { color: #bfbaff; margin-bottom: 1rem; }
.hero h1 { font-size: clamp(2.15rem, 3.7vw, 3.25rem); letter-spacing: -.022em; }
.hero h1 span { color: #b9b5ff; }
.hero-copy > p:not(.eyebrow) { max-width: 33rem; margin-top: 1.12rem; color: var(--hero-muted); font-size: 1.08rem; }
.actions { display: flex; gap: .74rem; flex-wrap: wrap; margin-top: 1.6rem; }

.studio-preview { margin: 0; min-width: 0; background: #101938; border: 1px solid #55608c; border-radius: 1.25rem; box-shadow: 0 24px 60px #080f2d80; overflow: hidden; }
.studio-top, .studio-bottom { display: flex; justify-content: space-between; align-items: center; min-height: 2.84rem; padding: .48rem 1.05rem; gap: .75rem; }
.studio-top { color: var(--white); font-size: .9rem; font-weight: 700; }
.studio-top i { display: inline-block; vertical-align: .09em; width: .55rem; height: .55rem; margin-right: .38rem; border-radius: 50%; background: var(--accent); }
.studio-dots { color: #909ecd; letter-spacing: .18em; }
.studio-img { background: #201e45; }
.studio-img img { width: 100%; height: auto; aspect-ratio: 16 / 10; object-fit: cover; }
.studio-caption { color: var(--hero-muted); font-size: .88rem; }
.meter { display: flex; height: 1.3rem; gap: 3px; align-items: center; }
.meter i, .voice-icon i { display: block; width: 3px; height: 35%; border-radius: 2px; background: #a8a1ff; }
.meter i:nth-child(3n + 2) { height: 65%; }
.meter i:nth-child(4n + 3) { height: 90%; background: #da9aed; }
.meter i:nth-child(4n) { height: 50%; }

.section { padding-block: clamp(2.65rem, 5vw, 4rem); }
.section-title { margin-bottom: 1.65rem; }
.section-title h2 { font-size: clamp(1.65rem, 3vw, 2.1rem); }
.program-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1.15rem; }
.program { padding: clamp(1.35rem, 3vw, 2rem); display: flex; flex-direction: column; align-items: flex-start; gap: .92rem; background: var(--white); border: 1px solid var(--line); border-radius: 1rem; }
.program h3 { font-size: 1.42rem; }
.program p { color: var(--muted); margin-top: .38rem; }
.program-icon { width: 3.1rem; height: 3.1rem; display: flex; justify-content: center; align-items: center; border-radius: .82rem; background: #e8e6ff; color: #4644aa; }
.live-icon i { position: relative; margin-right: .42rem; display: inline-block; width: 1.18rem; height: .90rem; border: 2px solid currentColor; border-radius: .24rem; }
.live-icon i::after { content: ''; position: absolute; top: .13rem; left: .93rem; width: .48rem; height: .42rem; background: currentColor; clip-path: polygon(0 28%, 100% 0, 100% 100%, 0 72%); }
.voice-icon { gap: 3px; align-items: center; background: #ffe9e8; }
.voice-icon i { background: #b33331; height: .5rem; }
.voice-icon i:nth-child(even) { height: .9rem; }
.voice-icon i:nth-child(3) { height: 1.32rem; }
.topics { display: flex; flex-wrap: wrap; gap: .4rem; padding: 0; margin: 0 0 .24rem; list-style: none; }
.topics li { border-radius: 99px; padding: .19rem .64rem; background: #edf0fa; color: #3d4870; font-size: .875rem; }
.text-link { font-weight: 700; text-decoration-thickness: 1px; }
.text-link:hover { text-decoration-thickness: 2px; }
.program .text-link { margin-top: auto; }

.page-intro { padding-block: 2.65rem 2.85rem; background: linear-gradient(110deg, #0b1530 20%, #24275c); color: var(--white); }
.page-intro h1 { font-size: clamp(2rem, 4.2vw, 3rem); }
.page-intro p { margin-top: .65rem; color: var(--hero-muted); font-size: 1.05rem; }
.back-link { display: inline-block; margin-bottom: .55rem; color: #d3ceff; font-size: .95rem; }
.guide-layout { display: grid; grid-template-columns: minmax(14rem, 17rem) minmax(0, 1fr); align-items: start; gap: clamp(1.4rem, 4vw, 3rem); }
.guide-aside { display: grid; position: sticky; top: 1rem; gap: 1rem; min-width: 0; }
.guide-nav { display: grid; gap: .18rem; padding: 1.2rem; background: #e7ebfb; border-radius: .95rem; }
.guide-nav h2 { font-size: 1.08rem; margin: .2rem .49rem .44rem; }
.guide-nav a { display: block; padding: .4rem .5rem; border-radius: .3rem; text-decoration: none; color: #2b3870; font-size: .94rem; }
.guide-nav a:hover { background: #f9f9ff; text-decoration: underline; }
.guide-aside > a { padding-inline: 1.15rem; }
.guide-content { display: grid; gap: .95rem; min-width: 0; }
.content-block, .requirements, .download-card { padding: clamp(1.35rem, 3.3vw, 2.1rem); border: 1px solid var(--line); border-radius: 1rem; background: var(--white); }
.content-block:target { border-color: #8482d1; }
.content-block h2, .requirements h2, .download-card h2 { font-size: clamp(1.25rem, 2.5vw, 1.65rem); }
.content-block ol, .content-block ul, .requirements ul { margin: .7rem 0 0; padding-left: 1.45rem; color: #2e3955; }
.content-block li + li, .requirements li + li { margin-top: .42rem; }
.content-block p:not(.tip), .download-card h2 + p { margin-top: .65rem; color: #2e3955; }
.content-block li::marker, .requirements li::marker { color: var(--purple); font-weight: 700; }
.tip { margin-top: 1rem; padding: .7rem .85rem; border-radius: .45rem; background: #f0efff; color: #37347b; }
kbd { border: 1px solid var(--line); border-radius: .24rem; background: var(--paper); font: inherit; padding-inline: .22rem; }

.download-layout { display: grid; grid-template-columns: 1.12fr 1fr; gap: 1.1rem; }
.download-card .eyebrow { margin-bottom: .6rem; color: var(--purple); }
.download-card .button { margin-block: 1rem .65rem; }
.download-meta { margin-bottom: .9rem; color: var(--muted); font-size: .9rem; }
.download-card > .text-link { display: block; }
.full { grid-column: 1 / -1; }
.guide-links { display: flex; flex-wrap: wrap; gap: .45rem 1.3rem; margin-top: 1.1rem; }

.footer { background: var(--white); border-top: 1px solid var(--line); }
.footer-inner { display: flex; min-height: 4.4rem; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: .55rem 1.12rem; padding-block: .7rem; font-size: .9rem; }
.footer-inner > span, .footer-inner > a:first-child { color: var(--ink); font-family: var(--heading); font-weight: 700; }
.footer-inner div { display: flex; gap: 1rem; }

@media (max-width: 800px) {
  .hero-layout { grid-template-columns: 1fr; }
  .studio-preview { width: min(100%, 35rem); }
  .guide-layout { grid-template-columns: 1fr; }
  .guide-aside { position: static; }
  .guide-nav { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .guide-nav h2 { grid-column: 1 / -1; }
}

@media (max-width: 560px) {
  .wrap { width: calc(100% - 2rem); }
  .nav-shell { flex-wrap: wrap; justify-content: space-between; gap: .65rem; padding-block: .7rem; }
  .brand img { width: 116px; }
  .nav-links { gap: .54rem; }
  .nav-links a { font-size: .875rem; }
  .nav-links .nav-button { padding-inline: .53rem; }
  .hero-layout { gap: 1.9rem; }
  .program-grid, .download-layout, .guide-nav { grid-template-columns: 1fr; }
}

@media (max-width: 370px) {
  .nav-shell { justify-content: flex-start; }
}
