:root {
  color-scheme: dark;
  font-family: "Pretendard", "Malgun Gothic", "Apple SD Gothic Neo", system-ui, sans-serif;
  --bg: #080e16;
  --panel: #0d1925;
  --text: #eff5fa;
  --muted: #a4b3c4;
  --line: #253546;
  --accent: #c7fa79;
  --ink: #15240f;
  scroll-behavior: smooth;
  scroll-padding-top: 5rem;
}
*, *::before, *::after { box-sizing: border-box; }
body { margin: 0; background: var(--bg); color: var(--text); }
a { color: inherit; text-decoration: none; }
button { font: inherit; }
button, [href] { -webkit-tap-highlight-color: transparent; }
button:focus-visible, a:focus-visible, [tabindex]:focus-visible { outline: 2px solid var(--accent); outline-offset: 4px; }
img { display: block; max-width: 100%; }
[hidden] { display: none !important; }
.shell { width: min(100% - 5rem, 77rem); margin-inline: auto; }
.icons { position: absolute; width: 0; height: 0; overflow: hidden; }
.icon { width: 1.2em; height: 1.2em; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; flex: 0 0 auto; }
.skip { position: fixed; top: -4rem; left: 1rem; z-index: 9; background: var(--accent); color: var(--ink); padding: .7rem 1rem; }
.skip:focus { top: .75rem; }
.topbar { position: relative; z-index: 2; background: #0a111a; border-bottom: 1px solid #1d2b3a; }
.topbar-inner { min-height: 4.375rem; display: grid; grid-template-columns: 1fr auto 1fr; gap: 1.75rem; align-items: center; }
.brand { display: inline-flex; align-items: center; justify-self: start; gap: .55rem; font: 850 1.42rem/1 system-ui, sans-serif; letter-spacing: .08em; }
.brand img { flex: 0 0 auto; border-radius: .3rem; }
.topbar nav { display: flex; gap: 2rem; color: var(--muted); font-size: .94rem; font-weight: 650; white-space: nowrap; }
.topbar nav a { padding-block: .4rem; }
.topbar nav a:hover { color: var(--accent); }
.button { display: inline-flex; align-items: center; justify-content: center; gap: .55rem; min-height: 3.45rem; padding: .75rem 1.15rem; border-radius: .46rem; border: 1px solid transparent; font-weight: 800; line-height: 1.3; transition: background-color .16s, border-color .16s; }
.button-small { justify-self: end; min-height: 2.3rem; padding: .48rem .75rem; border-color: #3b4f44; color: var(--accent); background: #141f22; font-size: .875rem; white-space: nowrap; }
.button-small:hover { background: #1f3028; border-color: #6d8a62; }
.button-primary { background: var(--accent); color: var(--ink); }
.button-primary:hover { background: #ddffa6; border-color: #eeffcc; }
.hero { position: relative; isolation: isolate; overflow: clip; border-bottom: 1px solid #1c2a39; background: radial-gradient(ellipse at 74% 49%, #243b477a, transparent 54%), linear-gradient(122deg, #0d1824 0%, #0c1521 50%, #111f2b); }
.hero::before { content: ""; position: absolute; pointer-events: none; z-index: -1; inset: 0; background: repeating-linear-gradient(116deg, transparent 0 94px, #a9d2e512 95px 96px, transparent 97px 164px); mask-image: linear-gradient(90deg, transparent 9%, #000 83%); }
.hero-layout { min-height: 39rem; display: grid; grid-template-columns: .78fr 1.32fr; align-items: center; gap: clamp(1.5rem, 4vw, 4.75rem); padding-block: 4.25rem 3.8rem; }
.descriptor { color: var(--accent); font-size: .94rem; font-weight: 750; letter-spacing: .075em; margin: 0 0 1rem; }
h1, h2, h3, p, figure { margin: 0; }
h1, h2, h3 { word-break: keep-all; overflow-wrap: anywhere; }
h1 { font-size: clamp(2.75rem, 4.2vw, 4.45rem); font-weight: 900; letter-spacing: -.085em; line-height: 1.145; }
h1 em { font-style: normal; color: var(--accent); }
.hero-description { margin: 1.45rem 0 1.9rem; max-width: 23rem; color: #c1cfdb; font-size: 1.07rem; line-height: 1.72; word-break: keep-all; }
.release-meta { display: flex; gap: .45rem; align-items: center; margin-top: .78rem; color: var(--muted); font-size: .875rem; font-variant-numeric: tabular-nums; }
.release-meta span { color: #a1b3c6; }
.hero-figure { min-width: 0; }
.app-shot { width: 100%; height: auto; aspect-ratio: 8 / 5; object-fit: contain; border: 1px solid #476078; border-radius: .65rem; background: #111c28; }
.hero-figure .app-shot { box-shadow: 0 2.25rem 5rem #030910bd, 0 0 2.4rem #718b9e26; }
figcaption { color: var(--muted); text-align: right; font-size: .875rem; margin-top: .8rem; }
figcaption span { padding-inline: .2rem; }
.features { padding-block: 5rem 4.5rem; }
.section-heading { margin-bottom: 2rem; }
h2 { font-size: clamp(2rem, 3vw, 3.1rem); line-height: 1.2; font-weight: 850; letter-spacing: -.075em; }
.section-heading p { margin-top: .7rem; color: var(--muted); line-height: 1.55; word-break: keep-all; }
.showcase { border: 1px solid var(--line); border-radius: .75rem; overflow: hidden; background: #0e1823; }
.tabs { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); background: #0b141e; border-bottom: 1px solid var(--line); }
.tabs button { min-height: 3.55rem; padding: .65rem .3rem; border: 0; border-bottom: 2px solid transparent; background: transparent; color: var(--muted); font-weight: 750; word-break: keep-all; cursor: pointer; }
.tabs button:not(:last-child) { border-inline-end: 1px solid var(--line); }
.tabs button:hover { color: var(--text); background: #142131; }
.tabs button[aria-selected="true"] { color: var(--accent); border-bottom-color: var(--accent); background: #142323; }
.tabs button:focus-visible, .feature-panel:focus-visible { outline-offset: -4px; }
.feature-panel { display: grid; grid-template-columns: 1fr minmax(0, 2.45fr); align-items: center; gap: clamp(1.4rem, 4vw, 3.75rem); padding: clamp(1.3rem, 3.5vw, 3.125rem); }
.feature-copy h3 { font-size: clamp(1.7rem, 2.5vw, 2.6rem); line-height: 1.18; font-weight: 850; letter-spacing: -.06em; }
.feature-copy p { color: var(--muted); margin-top: 1rem; max-width: 25ch; line-height: 1.72; word-break: keep-all; }
.shot-button { position: relative; border: 0; background: transparent; padding: 0; min-width: 0; cursor: zoom-in; border-radius: .65rem; }
.shot-button:hover .app-shot { border-color: #8ba1ae; }
.expand { position: absolute; bottom: .65rem; right: .65rem; width: 2.15rem; height: 2.15rem; border-radius: .35rem; padding: .45rem; background: #0c1520; color: var(--text); border: 1px solid #677e8a; }
.download { padding-bottom: 5rem; }
.download-card { display: flex; justify-content: space-between; align-items: center; gap: 2rem; padding: clamp(1.4rem, 4.6vw, 4rem); border-radius: .75rem; border: 1px solid #40534b; background: radial-gradient(ellipse at top right, #283c2c, transparent 80%), #111f26; }
.download-card h2 { font-size: clamp(1.85rem, 3vw, 2.7rem); }
.download-card h2 + p { margin-top: .9rem; color: #c1cfdb; line-height: 1.65; word-break: keep-all; }
code { color: var(--text); font-size: .95em; }
.requirements { display: flex; align-items: center; gap: .55rem; margin-top: .8rem; font-size: .875rem; line-height: 1.5; color: var(--muted); }
.download-action { flex: 0 0 auto; }
.download-action .release-meta { justify-content: center; }
.footer { border-top: 1px solid #1c2a39; }
.footer-inner { min-height: 5rem; display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 1rem; padding-block: 1.05rem; }
.footer .brand { font-size: 1.12rem; }
.footer p { font-size: .875rem; color: var(--muted); }
.lightbox { position: fixed; inset: 0; width: fit-content; max-width: min(96vw, 85rem); max-height: 94vh; padding: 0; border: 1px solid #72859c; border-radius: .6rem; background: #101a26; }
.lightbox::backdrop { background: #03070bea; }
.lightbox img { width: auto; max-width: 100%; max-height: calc(94vh - 2.95rem); object-fit: contain; }
.lightbox form { display: flex; justify-content: flex-end; border-bottom: 1px solid var(--line); padding: .3rem; }
.close-button { border: 1px solid #566983; border-radius: .3rem; color: var(--text); background: #152334; display: grid; place-items: center; cursor: pointer; width: 2.2rem; height: 2.2rem; }
@media (max-width: 64rem) {
  .shell { width: min(100% - 3rem, 77rem); }
  .hero-layout { min-height: 31rem; }
}
@media (max-width: 54rem) {
  .hero-layout { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 47rem) {
  .shell { width: min(100% - 2.5rem, 38rem); }
  .topbar-inner { grid-template-columns: 1fr auto; gap: 1rem; min-height: 3.7rem; }
  .topbar nav { display: none; }
  .hero-layout { grid-template-columns: minmax(0, 1fr); padding-block: 3.6rem 2.4rem; gap: 2rem; }
  .hero-description { margin-bottom: 1.4rem; }
  .features { padding-block: 3.35rem 2.5rem; }
  .feature-panel { grid-template-columns: minmax(0,1fr); }
  .feature-copy h3 br { display: none; }
  .feature-copy p { max-width: 45ch; margin-top: .6rem; }
  .download { padding-bottom: 3rem; }
  .download-card { align-items: flex-start; flex-direction: column; gap: 1.4rem; }
  .download-action .release-meta { justify-content: flex-start; }
}
@media (max-width: 25rem) {
  .shell { width: calc(100% - 1.75rem); }
  h1 { font-size: clamp(2.15rem, 9.2vw, 2.65rem); }
  .tabs button { font-size: .875rem; }
  .requirements { align-items: flex-start; }
}
@media (prefers-reduced-motion: reduce) {
  :root { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; }
}
