:root {
  color-scheme: dark;
  --page: var(--ide-bg-canvas);
  --panel: var(--ide-bg-chassis);
  --ink: var(--ide-ink-primary);
  --muted: var(--ide-ink-secondary);
  --line: color-mix(in srgb, var(--muted) 20%, transparent);
  --accent: var(--ide-signal-azure);
  --action: var(--ide-signal-emerald);
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 32px; }
body { margin: 0; background: var(--page); color: var(--ink); font-family: var(--ide-font-sans); -webkit-font-smoothing: antialiased; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; }
button, a { -webkit-tap-highlight-color: transparent; }
button:focus-visible, a:focus-visible { outline: 2px solid var(--accent); outline-offset: 5px; }
button:active, .button:active { transform: scale(.97); }
a:hover { color: var(--accent); }
.wrap { max-width: 1200px; margin-inline: auto; padding-inline: 48px; }
.header { display: flex; align-items: center; justify-content: space-between; min-height: 100px; gap: 24px; }
.identity { display: inline-flex; align-items: center; gap: 10px; font-weight: 650; font-size: 19px; letter-spacing: -.5px; }
.identity img { border-radius: 8px; }
.header nav, .footer > div { display: flex; align-items: center; gap: 32px; font-size: 14px; }
.header nav a, .footer a { display: inline-flex; align-items: center; min-height: 44px; }
.header nav a { color: var(--muted); }
.header nav a:hover { color: var(--ink); }
.header nav .source-link { color: var(--ink); gap: 12px; }
.hero { display: grid; grid-template-columns: 1.2fr 1fr; align-items: center; gap: 60px; padding-top: 58px; padding-bottom: 65px; }
.eyebrow { color: var(--muted); font-size: 14px; line-height: 1.5; margin: 0 0 24px; }
h1 { margin: 0 0 28px; font-size: clamp(52px, 6.3vw, 82px); line-height: 1.04; letter-spacing: -.06em; font-weight: 650; }
h1 span { color: var(--muted); }
.hero-description { max-width: 445px; font-size: 18px; line-height: 1.65; color: var(--muted); }
.hero-actions { display: flex; align-items: center; gap: 24px; flex-wrap: wrap; margin-top: 32px; }
.button { display: inline-flex; align-items: center; justify-content: center; gap: 24px; min-height: 50px; border-radius: 8px; padding: 0 20px; font-size: 14px; font-weight: 650; transition: transform 120ms; }
.primary { color: var(--page); background: var(--action); }
.primary:hover { color: var(--page); background: color-mix(in srgb, var(--action) 80%, var(--ink)); }
.text-link { font-size: 14px; display: inline-flex; align-items: center; gap: 10px; min-height: 44px; }
.availability { font-size: 12px; color: var(--muted); margin-top: 18px; line-height: 1.6; }
.hero-footnote { display: flex; gap: 14px; align-items: center; margin-top: 58px; color: var(--muted); font-size: 13px; line-height: 1.65; }
.mini-rule { height: 36px; width: 2px; background: var(--accent); }
.product-stage { display: flex; align-items: center; flex-direction: column; min-width: 0; }
.phone { width: 340px; max-width: 100%; background: var(--panel); border: 1px solid color-mix(in srgb, var(--muted) 38%, transparent); border-radius: 36px; padding: 14px 10px 0; overflow: hidden; box-shadow: 0 0 0 6px var(--page), 0 0 0 7px var(--line); }
.phone-top { display: flex; align-items: center; justify-content: space-between; padding: 8px 13px 22px; font-size: 11px; color: var(--muted); }
.preview-indicator { border: 1px solid var(--line); border-radius: 4px; padding: 3px 6px; }
.workspace-strip { display: flex; align-items: center; gap: 9px; font-size: 13px; padding: 0 10px 15px; }
.file-symbol { color: var(--accent); font-size: 18px; }
.workspace-kind { margin-left: auto; color: var(--muted); font-size: 11px; }
.file-tabs { display: flex; gap: 6px; border-bottom: 1px solid var(--line); }
.file-tab { color: var(--muted); border: 0; border-bottom: 2px solid transparent; background: transparent; min-height: 44px; padding: 0 13px; font: 11px var(--ide-font-mono); }
.file-tab.active { border-bottom-color: var(--accent); color: var(--ink); }
.code-surface { display: flex; gap: 16px; height: 335px; background: var(--ide-bg-oled-true); padding: 20px 12px; overflow: auto; }
.line-numbers { color: var(--muted); text-align: right; user-select: none; }
.line-numbers, pre { font-family: var(--ide-font-mono); font-weight: 400; font-size: 11px; line-height: 19px; }
.code-column { min-width: 0; }
pre { margin: 0; white-space: pre; }
.syntax-keyword, .syntax-number { color: var(--accent); }
.syntax-type { color: var(--ink); }
.syntax-string { color: var(--action); }
.syntax-comment { color: var(--muted); }
.cursor { display: inline-block; height: 14px; width: 2px; background: var(--ide-signal-cyan); }
.editor-position { display: flex; justify-content: space-between; border-top: 1px solid var(--line); padding: 10px; font: 10px var(--ide-font-mono); color: var(--muted); }
.coding-bar { display: grid; grid-template-columns: repeat(4, 1fr) 1.45fr; gap: 8px; padding: 8px 0; }
.coding-bar button { min-width: 0; min-height: 48px; color: var(--ink); border: 1px solid var(--line); background: var(--ide-bg-elevated); border-radius: 8px; font: 13px var(--ide-font-mono); }
.coding-bar .run-key { color: var(--page); background: var(--action); border-color: var(--action); }
.preview-console { padding: 12px; background: var(--ide-bg-oled-true); border-top: 1px solid var(--line); color: var(--action); font: 11px/1.6 var(--ide-font-mono); }
.home-indicator { margin: 12px auto 10px; width: 94px; height: 4px; border-radius: 4px; background: var(--muted); }
.preview-caption { color: var(--muted); font-size: 12px; margin: 22px 0 0; }
.platforms { display: flex; align-items: center; gap: 48px; padding-block: 32px; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); color: var(--muted); font-size: 13px; }
.platforms > p { white-space: nowrap; }
.platforms ul { display: flex; flex-wrap: wrap; justify-content: space-between; flex: 1; list-style: none; padding: 0; gap: 20px; color: var(--ink); }
.experience, .development { display: grid; grid-template-columns: 1fr 1.2fr; gap: 90px; padding-block: 110px; }
h2 { font-size: clamp(32px, 3.5vw, 44px); font-weight: 600; letter-spacing: -.045em; line-height: 1.12; margin: 0 0 22px; }
.section-heading > p:last-child, .studio-inner > div > p:not(.eyebrow) { max-width: 390px; color: var(--muted); font-size: 16px; line-height: 1.7; }
.feature-list article { display: flex; align-items: flex-start; gap: 24px; padding-bottom: 30px; margin-bottom: 30px; border-bottom: 1px solid var(--line); }
.feature-list article:last-child { padding-bottom: 0; margin-bottom: 0; border: 0; }
.feature-symbol { color: var(--accent); font: 22px var(--ide-font-mono); width: 34px; flex-shrink: 0; white-space: nowrap; }
.external-arrow { display: inline-block; transform: rotate(-45deg); }
h3 { font-weight: 600; font-size: 18px; letter-spacing: -.3px; margin: 0 0 10px; }
.feature-list p { color: var(--muted); font-size: 14px; line-height: 1.7; margin: 0 0 13px; }
.feature-list a { font-size: 13px; display: inline-flex; align-items: center; gap: 8px; min-height: 44px; }
.studio-section { border-block: 1px solid var(--line); background: var(--panel); }
.studio-inner { display: grid; grid-template-columns: 1fr 1fr; align-items: center; gap: 100px; padding-block: 76px; }
.secondary { border: 1px solid var(--muted); margin-top: 16px; }
.secondary:hover { border-color: var(--ink); background: color-mix(in srgb, var(--muted) 12%, transparent); }
.studio-details > div { display: flex; justify-content: space-between; gap: 16px; padding-block: 21px; border-bottom: 1px solid var(--line); font-size: 14px; }
.studio-details > div span:last-child { color: var(--muted); }
.studio-details > p { color: var(--muted); font-size: 12px; line-height: 1.7; margin-top: 22px; }
.resource-list > a { display: flex; justify-content: space-between; align-items: center; gap: 20px; padding: 24px 0; border-bottom: 1px solid var(--line); }
.resource-list > a:first-child { padding-top: 0; }
.resource-list p { color: var(--muted); font-size: 13px; line-height: 1.6; margin: 0; }
.resource-list > a > span { color: var(--muted); font-size: 20px; }
.footer { display: flex; align-items: center; justify-content: space-between; gap: 24px; border-top: 1px solid var(--line); padding-block: 32px; }
.footer .identity { font-size: 15px; }
.footer p { color: var(--muted); font-size: 12px; }
.footer > div { font-size: 13px; }
.skip-link { position: absolute; top: -80px; left: 20px; padding: 14px 20px; background: var(--ink); color: var(--page); z-index: 1; }
.skip-link:focus { top: 10px; }
@media (max-width: 1000px) {
  .wrap { padding-inline: 32px; }
  .hero { gap: 35px; }
  .hero-footnote { margin-top: 32px; }
  .hero-actions { gap: 12px; }
  .platforms { gap: 24px; }
  .platforms ul { justify-content: flex-start; gap: 14px 24px; }
  .experience, .development { gap: 45px; }
  .studio-inner { gap: 50px; }
}
@media (max-width: 760px) {
  .header { min-height: 84px; flex-wrap: wrap; padding-block: 10px; gap: 8px 16px; }
  .header nav { width: 100%; gap: 8px 16px; flex-wrap: wrap; }
  .header nav a:not(.source-link) { display: inline-flex; }
  .header nav a { font-size: 13px; }
  .hero { grid-template-columns: 1fr; gap: 48px; padding-top: 36px; }
  .hero-copy { max-width: 530px; }
  h1 { font-size: clamp(50px, 10vw, 72px); }
  .hero-description { font-size: 17px; }
  .hero-footnote { display: none; }
  .product-stage { padding-top: 8px; }
  .platforms { display: block; padding-block: 24px; }
  .platforms ul { margin-top: 24px; gap: 20px 28px; }
  .experience, .development, .studio-inner { grid-template-columns: 1fr; gap: 40px; padding-block: 64px; }
  .section-heading > p:last-child { max-width: 500px; }
  .studio-details { max-width: 500px; }
  .footer { flex-wrap: wrap; gap: 12px 24px; }
  .footer p { order: 3; width: 100%; margin: 0; }
}
@media (max-width: 390px) {
  .wrap { padding-inline: 20px; }
  .phone { padding-inline: 7px; border-radius: 28px; }
  .line-numbers, pre { font-size: 10px; }
  .code-surface { gap: 9px; padding-inline: 9px; }
  .coding-bar { grid-template-columns: repeat(4, minmax(44px, 1fr)) minmax(56px, 1.3fr); }
  .feature-list article { gap: 14px; }
  .hero-actions { align-items: flex-start; flex-direction: column; }
  .studio-details > div { font-size: 12px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; }
}
