:root {
  --bg: #fff;
  --surface: #fff;
  --fg: #2b2438;
  --muted: #625a70;
  --border: #e7e0ef;
  --accent: #7651b8;
  --soft: #f7f4fc;
  --gutter: clamp(20px, 5vw, 56px);
  --font-body: -apple-system, BlinkMacSystemFont, "Segoe UI", "Apple SD Gothic Neo", "Malgun Gothic", system-ui, sans-serif;
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 100px; }
body { margin: 0; background: var(--bg); color: var(--fg); font: 16px/1.65 var(--font-body); overflow-wrap: anywhere; }
a { color: var(--accent); text-underline-offset: 5px; }
a:hover { text-decoration-thickness: 2px; }
a:focus-visible, main:focus-visible { outline: 3px solid var(--accent); outline-offset: 5px; }
img { display: block; max-width: 100%; height: auto; }
.container { max-width: 1240px; margin-inline: auto; padding-inline: var(--gutter); }
.site-header { position: sticky; top: 0; z-index: 10; border-bottom: 1px solid var(--border); background: var(--bg); }
.site-header-inner { max-width: 1240px; margin-inline: auto; padding: 12px var(--gutter); display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.brand { display: inline-flex; align-items: center; gap: 10px; min-height: 44px; color: var(--fg); font-size: 22px; font-weight: 700; text-decoration: none; }
.brand img { width: 36px; height: 36px; }
.site-links { display: flex; flex-wrap: wrap; align-items: center; gap: clamp(16px, 3vw, 32px); padding: 0; border: 0; font-size: 14px; }
.site-links a { display: block; align-content: center; min-height: 44px; }
.site-links span[lang] { white-space: nowrap; }
.site-links [aria-current] { color: var(--fg); font-weight: 700; }
.language-menu { position: relative; margin-inline-start: auto; font-size: 14px; }
.language-menu summary { min-height: 44px; display: flex; align-items: center; gap: 8px; cursor: pointer; padding-inline: 8px; color: var(--accent); text-decoration: underline; text-underline-offset: 5px; }
.language-menu summary::after { content: "⌄"; }
.language-menu summary:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; }
.language-options { position: absolute; inset-inline-end: 0; top: 100%; width: min(84vw, 24rem); max-height: 60svh; overflow-y: auto; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 4px 12px; padding: 16px; background: var(--bg); border: 1px solid var(--border); }
.language-options a { min-height: 44px; display: flex; align-items: center; padding: 6px; overflow-wrap: anywhere; }
.language-options [aria-current] { color: var(--fg); font-weight: 700; text-decoration-thickness: 3px; }
html:not([lang="en"]) .home h1, html:not([lang="en"]) .home h2, html:not([lang="en"]) .home h3 { letter-spacing: normal; }
.skip-link { position: fixed; top: 12px; left: 12px; z-index: 20; padding: 10px 16px; background: var(--surface); transform: translateY(-200%); }
.skip-link:focus { transform: translateY(0); }
.home h1, .home h2, .home h3 { margin: 0; line-height: 1.12; text-wrap: balance; }
.home h1 { font-size: clamp(48px, 7.4vw, 92px); letter-spacing: -.055em; }
.home h2 { font-size: clamp(32px, 4.2vw, 54px); letter-spacing: -.045em; }
.home h3 { font-size: 21px; line-height: 1.3; letter-spacing: -.02em; }
.home p { margin: 16px 0 0; }
.home .eyebrow { margin: 0 0 18px; color: var(--muted); font-size: 14px; font-weight: 600; }
.home .hero { padding-block: clamp(48px, 8vw, 100px) 72px; text-align: center; }
.hero-icon { margin: 0 auto 24px; }
.home .hero-lead { margin: 24px auto 28px; max-width: 34em; font-size: clamp(18px, 2vw, 22px); color: var(--muted); }
.store-link { display: inline-flex; justify-content: center; align-items: center; gap: 16px; min-height: 52px; padding: 14px 24px; background: var(--accent); color: #fff; border-radius: 6px; font-weight: 600; text-decoration: none; }
.store-link:hover { background: #63419e; }
.home .hero-note { margin-top: 14px; color: var(--muted); font-size: 13px; }
.section-heading { padding-top: 36px; }
.section-heading p { color: var(--muted); }
.screen-story { padding-block: 36px 88px; }
.story-stage { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; }
.story-slide { min-width: 0; margin: 0; }
.story-slide img { width: 100%; border: 1px solid var(--border); border-radius: 8px; background: var(--soft); }
.story-slide figcaption { padding-top: 20px; }
.screen-number { display: block; margin-bottom: 10px; color: var(--muted); font-size: 12px; font-variant-numeric: tabular-nums; }
.home .story-slide p { margin-top: 10px; color: var(--muted); font-size: 15px; }
.everyday { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; padding-block: 72px 88px; border-top: 1px solid var(--border); }
.feature-list { margin: 0; }
.feature-list > div { padding-block: 24px; border-bottom: 1px solid var(--border); }
.feature-list > div:first-child { padding-top: 0; }
.feature-list dt { font-weight: 700; font-size: 20px; }
.feature-list dd { margin: 8px 0 0; color: var(--muted); }
.data-section { background: var(--soft); }
.data-inner { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; padding-block: 80px; }
.data-copy > p:first-child { margin-top: 0; }
.data-copy p { color: var(--muted); }
.text-link { display: inline-block; min-height: 44px; margin-top: 12px; padding-block: 10px; }
.closing { padding-block: 88px; text-align: center; }
.closing p { color: var(--muted); }
.closing .store-link { margin-top: 28px; }
.site-footer { display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; padding-block: 24px; border-top: 1px solid var(--border); color: var(--muted); font-size: 14px; }
.home .site-footer p { margin: 0; }
.site-footer a { display: inline-block; min-height: 44px; padding-block: 10px; }
.legacy-link { display: none; }
.legacy-link:target { display: block; min-height: 44px; padding-block: 16px; }
@media (max-width: 900px) and (min-width: 601px) {
  .story-stage { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 40px; }
  .story-slide img { max-width: 280px; margin-inline: auto; }
}
@media (max-width: 600px) {
  .site-header-inner { gap: 8px; }
  .site-links { gap: 16px; }
  .brand { font-size: 20px; }
  .brand img { width: 30px; height: 30px; }
  .home .hero { padding-block: 48px; }
  .hero-icon { width: 80px; height: 80px; }
  .section-heading { padding-top: 24px; }
  .screen-story { padding-top: 24px; padding-bottom: 56px; }
  .story-stage { display: grid; grid-template-columns: 1fr; gap: 40px; }
  .story-slide { max-width: 340px; margin-inline: auto; }
  .story-slide img { max-width: 300px; margin-inline: auto; }
  .story-slide figcaption { padding-top: 16px; }
  .everyday, .data-inner { grid-template-columns: 1fr; gap: 32px; padding-block: 56px; }
  .closing { padding-block: 64px; }
  .screen-story.is-pinned { position: relative; height: var(--story-height); padding-block: 0; }
  .is-pinned .story-stage { position: sticky; top: var(--header-height); display: block; height: calc(100vh - var(--header-height)); height: calc(100svh - var(--header-height)); }
  .is-pinned .story-slide { position: absolute; inset: 24px 0 auto; width: 100%; max-width: 340px; opacity: 0; visibility: hidden; }
  .is-pinned .story-slide.is-active { opacity: 1; visibility: visible; }
  .is-pinned .story-slide img { width: auto; max-width: 100%; max-height: none; height: var(--image-height); }
  .is-pinned .story-slide figcaption { padding-top: 16px; }
}
@media (prefers-reduced-motion: no-preference) {
  .is-pinned .story-slide { transition: opacity 140ms ease-out; }
}
@media print {
  .site-header { position: static; }
  .screen-story.is-pinned { height: auto; }
  .is-pinned .story-stage { position: static; height: auto; display: grid; }
  .is-pinned .story-slide { position: static; opacity: 1; visibility: visible; }
  .skip-link { display: none; }
}
