/* Hallmark · macrostructure: Split Studio · tone: friendly · anchor hue: orange
 * theme: AlarmCrew brand · paper: oklch(17% 0.006 55) · accent: oklch(77% 0.16 60)
 * display: existing Avenir Next / Korean native · body: existing native stack
 * axes: dark / geometric-sans / warm · nav: N1 two destinations · footer: Ft5
 * pre-emit critique: P4 H5 E4 S5 R5 V4
 * contrast: pass (40–41) · honest: pass · chrome: pass · tokens: pass · mobile: pass
 * generated: built-in Imagegen; optimized WebP with preserved alpha */
@import url('/tokens.css');

* { box-sizing: border-box; }
html { overflow-x: clip; scroll-behavior: smooth; scroll-padding-top: var(--ac-space-xl); }
body { margin: 0; overflow-x: clip; background: var(--ac-color-night); color: var(--ac-color-light); font-family: var(--ac-font-body); font-size: var(--ac-text-body); line-height: 1.65; -webkit-font-smoothing: antialiased; }
h1, h2, h3, p, figure, ul, ol { margin: 0; }
h1, h2, h3 { font-family: var(--ac-font-display); font-style: normal; font-weight: 750; letter-spacing: -0.045em; line-height: 1.2; overflow-wrap: anywhere; min-width: 0; text-wrap: balance; }
h1 { font-size: var(--ac-text-display); }
h2 { font-size: var(--ac-text-heading); }
h3 { font-size: var(--ac-text-lead); }
a { color: inherit; text-decoration: none; }
a:active, summary:active { opacity: 0.8; }
a[aria-disabled="true"] { color: var(--ac-color-muted); cursor: not-allowed; pointer-events: none; }
img { display: block; max-width: 100%; height: auto; }
summary { cursor: pointer; list-style: none; }
summary::-webkit-details-marker { display: none; }
a:focus-visible, summary:focus-visible { outline: 3px solid var(--ac-color-focus); outline-offset: 5px; }
::selection { color: var(--ac-color-night); background: var(--ac-color-orange); }
.container { width: min(100% - var(--ac-space-xl), 1200px); margin-inline: auto; }
.skip-link { position: absolute; inset-block-start: -100px; inset-inline-start: var(--ac-space-md); padding: var(--ac-space-md); color: var(--ac-color-night); background: var(--ac-color-orange); z-index: var(--ac-z-menu); white-space: nowrap; }
.skip-link:focus { inset-block-start: var(--ac-space-md); }
.header-inner { display: flex; justify-content: space-between; align-items: center; gap: var(--ac-space-md); min-height: 88px; }
.brand { display: inline-flex; align-items: center; gap: var(--ac-space-sm); font-family: var(--ac-font-display); font-size: 1.375rem; font-weight: 750; letter-spacing: -0.045em; min-height: 44px; white-space: nowrap; }
.brand img { width: 36px; height: 36px; border-radius: var(--ac-radius-small); }
.header-nav { display: none; }
.language-menu { position: relative; }
.language-menu > summary { display: flex; align-items: center; gap: var(--ac-space-sm); min-height: 44px; padding-inline: var(--ac-space-sm); font-size: var(--ac-text-small); white-space: nowrap; }
.chevron { display: inline-block; }
.language-menu[open] .chevron { transform: rotate(180deg); }
.language-panel { position: absolute; inset-inline-end: 0; inset-block-start: 52px; z-index: var(--ac-z-menu); width: 172px; background: var(--ac-color-surface); border: 1px solid var(--ac-color-rule); border-radius: var(--ac-radius-small); padding: var(--ac-space-sm); }
.language-panel a { display: flex; justify-content: space-between; align-items: center; min-height: 44px; padding-inline: var(--ac-space-sm); white-space: nowrap; }
.language-panel a[aria-current] { color: var(--ac-color-orange); }
.language-panel a:hover { text-decoration: underline; text-underline-offset: 4px; }
.hero { padding-block: var(--ac-space-2xl) var(--ac-space-section); }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: var(--ac-space-2xl); align-items: center; }
.hero-copy > p { max-width: 45ch; margin-top: var(--ac-space-lg); color: var(--ac-color-muted); font-size: var(--ac-text-lead); word-break: keep-all; }
.hero h1 span { display: block; }
.hero h1 .accent { color: var(--ac-color-orange); }
.actions { display: flex; align-items: center; flex-wrap: wrap; gap: var(--ac-space-md) var(--ac-space-lg); margin-block: var(--ac-space-xl) var(--ac-space-lg); }
.button { display: inline-flex; align-items: center; justify-content: center; gap: var(--ac-space-lg); min-height: 52px; padding-inline: var(--ac-space-lg); background: var(--ac-color-orange); color: var(--ac-color-accent-ink); border-radius: var(--ac-radius-small); font-weight: 700; font-size: var(--ac-text-small); white-space: nowrap; transition: transform var(--ac-duration-press) var(--ac-ease-out); }
.button:hover { background: var(--ac-color-orange-hover); }
.button:active { transform: translateY(1px); }
.text-link { display: inline-flex; align-items: center; min-height: 44px; gap: var(--ac-space-sm); font-size: var(--ac-text-small); font-weight: 600; white-space: nowrap; text-decoration: underline; text-underline-offset: 6px; text-decoration-thickness: 1px; }
.text-link:hover { text-decoration-thickness: 2px; }
.release-note { display: flex; align-items: center; flex-wrap: wrap; gap: var(--ac-space-sm); color: var(--ac-color-muted); font-size: var(--ac-text-small); }
.release-note span { white-space: nowrap; }
.hero-art { width: min(100%, 470px); margin-inline: auto; }
.hero-art img { width: 100%; border-radius: var(--ac-radius-panel); }
.hero-caption { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: var(--ac-space-sm); padding-top: var(--ac-space-md); color: var(--ac-color-muted); font-size: var(--ac-text-small); }
.hero-caption strong { color: var(--ac-color-light); font-family: var(--ac-font-display); font-size: 1.75rem; font-weight: 600; font-variant-numeric: tabular-nums; letter-spacing: -0.04em; }
.hero-bottom { margin-top: var(--ac-space-2xl); padding-top: var(--ac-space-lg); border-top: 1px solid var(--ac-color-rule); color: var(--ac-color-muted); font-size: var(--ac-text-small); display: flex; justify-content: space-between; gap: var(--ac-space-md); }
.hero-bottom .down { font-size: 1.5rem; color: var(--ac-color-orange); }
.crew-section { background: var(--ac-color-paper); color: var(--ac-color-ink); padding-block: var(--ac-space-3xl); }
.crew-section a:focus-visible { outline-color: var(--ac-color-orange-ink); }
.split { display: grid; grid-template-columns: minmax(0, 1fr); align-items: center; gap: var(--ac-space-2xl); }
.split > *, .hero-grid > * { min-width: 0; }
.story-copy > p { margin-top: var(--ac-space-lg); max-width: 52ch; font-size: var(--ac-text-lead); color: var(--ac-color-muted); word-break: keep-all; }
.crew-section .story-copy > p { color: var(--ac-color-secondary); }
.story-copy h2 span { display: block; }
.story-list { list-style: none; padding: 0; display: grid; gap: var(--ac-space-lg); margin-top: var(--ac-space-xl); }
.story-list li { display: grid; gap: var(--ac-space-xs); }
.story-list p { color: var(--ac-color-secondary); font-size: var(--ac-text-body); max-width: 52ch; }
.screen-figure { width: min(100%, 294px); margin-inline: auto; }
.screen-figure > a { display: block; border-radius: var(--ac-radius-panel); }
.screen-figure img { width: 100%; border-radius: var(--ac-radius-panel); }
figcaption { margin-top: var(--ac-space-md); font-size: var(--ac-text-small); color: var(--ac-color-muted); line-height: 1.55; }
.crew-section figcaption { color: var(--ac-color-secondary); }
.screen-figure .text-link { font-size: var(--ac-text-small); }
.alarm-section { padding-block: var(--ac-space-section) var(--ac-space-3xl); }
.alarm-section .story-list p { color: var(--ac-color-muted); }
.friends-section { padding-block: var(--ac-space-xl) var(--ac-space-section); }
.friends-section .split { padding-block: var(--ac-space-2xl); border-block-start: 1px solid var(--ac-color-rule); }
.friends-section .screen-figure { width: min(100%, 262px); }
.friends-section .text-link { margin-top: var(--ac-space-lg); }
.friend-note { margin-top: var(--ac-space-lg); color: var(--ac-color-muted); font-size: var(--ac-text-small); max-width: 46ch; }
.faq-section { background: var(--ac-color-surface); padding-block: var(--ac-space-3xl); }
.faq-layout { display: grid; grid-template-columns: minmax(0, 1fr); gap: var(--ac-space-xl); }
.faq-intro p { color: var(--ac-color-muted); margin-top: var(--ac-space-md); }
.faq-list details { border-bottom: 1px solid var(--ac-color-rule); }
.faq-list details:first-child { border-top: 1px solid var(--ac-color-rule); }
.faq-list summary { min-height: 64px; display: flex; gap: var(--ac-space-lg); justify-content: space-between; align-items: center; padding-block: var(--ac-space-lg); font-weight: 600; line-height: 1.5; }
.faq-list summary::after { content: '+'; color: var(--ac-color-orange); font-size: 1.5rem; flex-shrink: 0; font-weight: 400; }
.faq-list details[open] summary::after { content: '−'; }
.faq-list details > p { padding-bottom: var(--ac-space-lg); color: var(--ac-color-muted); max-width: 62ch; }
.faq-list details > p a { text-decoration: underline; text-underline-offset: 4px; }
.launch-section { padding-block: var(--ac-space-section) var(--ac-space-3xl); }
.launch-heading { max-width: 720px; }
.launch-heading p { color: var(--ac-color-muted); font-size: var(--ac-text-lead); margin-top: var(--ac-space-lg); }
.platforms { display: grid; gap: var(--ac-space-xl); margin-top: var(--ac-space-2xl); }
.platform { border-top: 1px solid var(--ac-color-rule); padding-top: var(--ac-space-lg); }
.platform-top { display: flex; flex-wrap: wrap; gap: var(--ac-space-sm) var(--ac-space-md); align-items: center; justify-content: space-between; }
.platform-top h3 { font-size: 1.5rem; }
.platform-status { color: var(--ac-color-orange); font-size: var(--ac-text-small); white-space: nowrap; }
.platform p { margin-top: var(--ac-space-sm); color: var(--ac-color-muted); }
.platform .compatibility { font-size: var(--ac-text-small); }
.launch-meta { color: var(--ac-color-muted); font-size: var(--ac-text-small); margin-block: var(--ac-space-xl); }
.site-footer { padding-bottom: max(var(--ac-space-lg), env(safe-area-inset-bottom)); }
.footer-inner { border-top: 1px solid var(--ac-color-rule); padding-top: var(--ac-space-lg); display: flex; flex-wrap: wrap; justify-content: space-between; gap: var(--ac-space-md) var(--ac-space-xl); color: var(--ac-color-muted); font-size: var(--ac-text-small); }
.footer-links { display: flex; flex-wrap: wrap; gap: 0 var(--ac-space-lg); }
.footer-links a, .footer-credit a { display: inline-flex; align-items: center; min-height: 44px; white-space: nowrap; }
.footer-links a:hover, .footer-credit a:hover { text-decoration: underline; text-underline-offset: 4px; }
.footer-credit { display: flex; flex-wrap: wrap; align-items: center; gap: var(--ac-space-md); }
@media (min-width: 40rem) {
  .container { width: min(100% - var(--ac-space-3xl), 1200px); }
  .header-nav { display: flex; align-items: center; gap: var(--ac-space-xl); margin-inline-start: auto; font-size: var(--ac-text-small); }
  .header-nav a { display: inline-flex; min-height: 44px; align-items: center; white-space: nowrap; }
  .header-nav a:hover { color: var(--ac-color-orange); }
  .language-menu { margin-inline-start: var(--ac-space-lg); }
  .hero { padding-top: var(--ac-space-3xl); }
  .platforms { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--ac-space-2xl); }
}
@media (min-width: 60rem) {
  .hero-grid { grid-template-columns: minmax(0, 1.22fr) minmax(0, 1fr); gap: var(--ac-space-2xl); }
  .hero-art { margin-inline-end: 0; }
  .hero-bottom { margin-top: var(--ac-space-3xl); }
  .split { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: var(--ac-space-section); }
  .crew-section .story-copy, .friends-section .story-copy { grid-column: 2; grid-row: 1; }
  .crew-section .screen-figure, .friends-section .screen-figure { grid-column: 1; grid-row: 1; }
  .crew-section { padding-block: var(--ac-space-section); }
  .alarm-section { padding-top: var(--ac-space-section); }
  .friends-section .screen-figure { margin-inline-start: var(--ac-space-section); }
  .faq-layout { grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); gap: var(--ac-space-section); }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; animation: none !important; }
}
