:root {
  color-scheme: light;
  --paper: #f5f5ef;
  --panel: #fff;
  --text: #162231;
  --secondary: #475564;
  --line: #c2c9c9;
  --accent: #9f301c;
}
:root[data-theme="dark"] {
  color-scheme: dark;
  --paper: #111a25;
  --panel: #192737;
  --text: #f3f5ed;
  --secondary: #c4d0da;
  --line: #425365;
  --accent: #ffac87;
}
* { box-sizing: border-box; }
body { margin: 0; color: var(--text); background: var(--paper); font: 16px/1.6 system-ui, sans-serif; }
.wrap { width: min(1192px, calc(100% - 40px)); margin-inline: auto; }
a { color: inherit; text-underline-offset: .22em; }
a:focus-visible, select:focus-visible, .gallery:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; }
header { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding-block: 18px; }
header a { font-weight: 750; text-decoration: none; }
select { min-height: 44px; padding: 6px 10px; background: var(--panel); color: inherit; border: 1px solid var(--line); border-radius: 5px; font: inherit; }
.hero { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 5fr); align-items: center; gap: clamp(24px, 4vw, 64px); padding: 40px 0; border-top: 3px solid var(--accent); }
.hero-icon { width: 64px; height: 64px; border-radius: 12px; }
h1, h2, h3, p { margin: 0; }
.product:lang(ko) {
  word-break: keep-all;
  overflow-wrap: anywhere;
}
h1 { font-size: clamp(30px, 3.4vw, 52px); line-height: 1.12; letter-spacing: -.045em; margin: 12px 0; text-wrap: balance; }
.hero p { font-size: 18px; color: var(--secondary); }
.art { display: block; width: 100%; height: auto; border-radius: 10px; }
.badges { display: flex; align-items: center; flex-wrap: wrap; gap: 12px; margin-top: 16px; }
.badges a { display: inline-flex; align-items: center; min-height: 48px; }
.apple { height: 38px; }
.google { height: 49.5px; }
.google.en { height: 56.6px; margin-inline: -8px; }
.block { padding-block: 32px; border-top: 1px solid var(--line); }
h2 { font-size: clamp(23px, 2.4vw, 34px); margin-bottom: 20px; line-height: 1.2; }
.gallery { display: flex; gap: 16px; overflow-x: auto; scroll-snap-type: x proximity; padding: 4px 4px 16px; }
.gallery a { flex: 0 0 min(67vw, 226px); scroll-snap-align: start; }
.gallery img { display: block; width: 100%; height: auto; border-radius: 6px; }
.features { display: grid; grid-template-columns: repeat(auto-fit,minmax(min(265px,100%),1fr)); gap: 24px 36px; }
.features article { padding-top: 10px; border-top: 2px solid var(--line); }
.features p, .support p { color: var(--secondary); }
.support { max-width: 72ch; }
.support p + p { margin-top: 10px; }
footer { padding: 16px 0 28px; color: var(--secondary); }
@media (max-width: 720px) {
  .hero { grid-template-columns: 1fr; gap: 20px; padding-block: 24px; }
  .hero-icon { width: 50px; height: 50px; }
  .block { padding-block: 24px; }
}
