:root {
  color-scheme: light dark;
  --bg: #f7f4ee;
  --page-wash: linear-gradient(180deg, #fdfbf7 0px, #f7f4ee 720px);
  --surface: #fffdfa;
  --ink: #2b292b;
  --muted: #666166;
  --border: #e3ded8;
  --accent: #57335d;
  --accent-ink: #ffffff;
  --accent-soft: #f0ebe2;
  --header: rgba(253, 251, 247, .90);
  --focus: #7560ad;
  --shadow: 0 12px 42px rgba(54, 40, 26, .05);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Noto Sans", sans-serif;
}
* { box-sizing: border-box; }
html { scroll-padding-top: 100px; }
body { margin: 0; color: var(--ink); background: var(--bg); background-image: var(--page-wash); background-repeat: no-repeat; font-size: 16px; line-height: 1.8; -webkit-text-size-adjust: 100%; }
a { color: var(--accent); text-underline-offset: .23em; text-decoration-thickness: 1px; }
a:hover { text-decoration: underline; }
img { display: block; max-width: 100%; }
h1, h2, h3, p { margin: 0; }
h1, h2, h3 { line-height: 1.35; text-wrap: balance; }
h1 { font-size: clamp(34px, 4.5vw, 56px); font-weight: 680; letter-spacing: -.035em; }
h2 { font-size: 24px; font-weight: 650; letter-spacing: -.015em; }
h3 { font-size: 19px; font-weight: 650; }
p { overflow-wrap: anywhere; }
a, summary { -webkit-tap-highlight-color: transparent; }
a:focus-visible, summary:focus-visible, main:focus-visible { outline: 3px solid var(--focus); outline-offset: 5px; border-radius: 6px; }
.skip-link { position: fixed; top: -100px; left: 20px; z-index: 10; background: var(--surface); padding: 12px 18px; box-shadow: var(--shadow); }
.skip-link:focus { top: 12px; }
.site-header { position: sticky; top: 0; z-index: 3; background: var(--header); border-bottom: 1px solid var(--border); backdrop-filter: blur(18px); -webkit-backdrop-filter: blur(18px); }
.header-inner { max-width: 1128px; padding: 20px 28px; margin: auto; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand { display: flex; align-items: center; gap: 12px; color: var(--ink); text-decoration: none; font-size: 20px; font-weight: 650; white-space: nowrap; letter-spacing: -.025em; }
.brand img { border-radius: 11px; border: 1px solid rgba(87, 51, 93, .08); image-rendering: pixelated; }
.main-nav { display: flex; align-items: center; gap: 8px; }
.main-nav a { display: block; padding: 7px 13px; color: var(--muted); border-radius: 100px; text-decoration: none; font-size: 14px; line-height: 1.7; }
.main-nav a[aria-current="page"] { color: var(--ink); background: var(--surface); box-shadow: 0 2px 10px rgba(54, 40, 26, .04); }
.main-nav a:hover { color: var(--ink); }
.language-bar { max-width: 1128px; margin: auto; padding: 16px 28px 0; }
.language-bar nav { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 4px 16px; }
.language-bar a { color: var(--muted); font-size: 12px; text-decoration: none; padding: 5px 0; }
.language-bar a[aria-current="true"] { color: var(--accent); font-weight: 650; }
.language-bar a:hover { text-decoration: underline; }
.container { max-width: 1128px; padding: 54px 28px 72px; margin: auto; }
.eyebrow { color: var(--accent); font-size: 13px; letter-spacing: .035em; font-weight: 650; margin-bottom: 16px; }
.lead { color: var(--muted); margin-top: 24px; max-width: 720px; font-size: 18px; line-height: 1.85; }
.page-heading { margin-bottom: 36px; }
.updated { color: var(--muted); margin-top: 22px; font-size: 13px; }
.updated time { margin-left: 10px; font-variant-numeric: tabular-nums; }
.actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; margin-top: 30px; }
.button { display: inline-flex; align-items: center; justify-content: center; gap: 16px; min-height: 48px; padding: 11px 22px; border-radius: 100px; font-weight: 600; font-size: 14px; text-decoration: none; border: 1px solid transparent; }
.button:hover { text-decoration: none; filter: brightness(.95); }
.button.primary { color: var(--accent-ink); background: var(--accent); box-shadow: 0 5px 16px rgba(87, 51, 93, .14); }
.button.secondary { color: var(--ink); background: var(--surface); border-color: var(--border); }
.button span { font-size: 18px; line-height: 1; }
.note { padding: 26px 30px; background: var(--accent-soft); border-radius: 22px; }
.note h2 { font-size: 18px; margin-bottom: 10px; }
.note p { font-size: 15px; color: var(--muted); }
.text-link { display: inline-block; margin-top: 16px; font-size: 14px; font-weight: 600; }
.contact-card { display: flex; gap: 32px; align-items: center; justify-content: space-between; padding: 30px; background: var(--surface); border: 1px solid var(--border); border-radius: 24px; box-shadow: var(--shadow); }
.contact-card > div { max-width: 730px; }
.contact-card h2 { font-size: 22px; }
.contact-card p { color: var(--muted); font-size: 15px; margin-top: 14px; }
.email-address { display: inline-block; font-size: 15px; margin-top: 12px; }
.contact-card .button { white-space: nowrap; flex-shrink: 0; }
.faq-section { margin: 44px 0; }
.faq-section > h2 { margin-bottom: 22px; }
.faq { border-top: 1px solid var(--border); }
.faq:last-of-type { border-bottom: 1px solid var(--border); }
.faq summary { cursor: pointer; list-style: none; padding: 21px 4px; display: flex; justify-content: space-between; gap: 24px; align-items: center; font-weight: 600; }
.faq summary::-webkit-details-marker { display: none; }
.toggle { width: 16px; height: 16px; position: relative; flex: 0 0 16px; color: var(--accent); }
.toggle::before, .toggle::after { content: ""; background: currentColor; position: absolute; top: 7px; left: 0; height: 2px; width: 16px; border-radius: 2px; }
.toggle::after { transform: rotate(90deg); }
.faq[open] .toggle::after { transform: rotate(0); }
.faq[open] summary { color: var(--accent); }
.answer { padding: 0 44px 24px 4px; color: var(--muted); max-width: 880px; font-size: 15px; }
.answer p + p { margin-top: 12px; }
/* Privacy is a reading page: show the policy directly below a compact header. */
.page-privacy .container { padding-top: 30px; }
.page-privacy .page-heading { margin-bottom: 28px; }
.page-privacy .page-heading .eyebrow { display: none; }
.page-privacy h1 { font-size: clamp(30px, 3.2vw, 40px); }
.page-privacy .lead { font-size: 16px; margin-top: 16px; max-width: 820px; }
.page-privacy .updated { margin-top: 14px; }
.toc-mobile { display: none; }
.policy-layout { display: grid; grid-template-columns: 220px minmax(0, 1fr); gap: 58px; }
.toc { align-self: start; position: sticky; top: 115px; }
.toc h2 { font-size: 13px; color: var(--muted); font-weight: 500; margin-bottom: 14px; }
.toc ol { margin: 0; padding: 0; list-style: none; }
.toc a { display: block; color: var(--muted); text-decoration: none; padding: 6px 0; font-size: 13px; line-height: 1.6; }
.toc a:hover { color: var(--accent); }
.policy-section { border-top: 1px solid var(--border); padding: 28px 0 32px; scroll-margin-top: 104px; }
.policy-section:last-child { padding-bottom: 0; }
.section-number { color: var(--accent); font-size: 12px; font-weight: 650; font-variant-numeric: tabular-nums; margin-bottom: 10px; }
.policy-section h2 { font-size: 22px; margin-bottom: 18px; }
.policy-section > p:not(.section-number) { color: var(--muted); font-size: 15px; margin-top: 14px; }
.site-footer { max-width: 1072px; border-top: 1px solid var(--border); margin: 0 auto; padding: 30px 0 38px; display: flex; justify-content: space-between; gap: 24px; font-size: 12px; color: var(--muted); }
.site-footer > div { display: flex; flex-direction: column; gap: 4px; }
.site-footer { flex-wrap: wrap; row-gap: 16px; }
.footer-name-note { width: 100%; flex: 0 0 auto; font-size: 11px; line-height: 1.7; }
.site-footer nav { display: flex; flex-wrap: wrap; gap: 10px 20px; }
.site-footer a { color: var(--muted); text-decoration: none; }
.site-footer a:hover { color: var(--accent); text-decoration: underline; }
@media (prefers-color-scheme: dark) {
  :root { --bg: #201f1e; --page-wash: linear-gradient(180deg, #282521 0px, #201f1e 720px); --surface: #2b2927; --ink: #f2efeb; --muted: #c2bdb6; --border: #45413c; --accent: #d5b6df; --accent-ink: #302035; --accent-soft: #34302b; --header: rgba(32, 31, 30, .92); --focus: #c7aee9; --shadow: 0 12px 42px rgba(0, 0, 0, .12); }
  .brand img { border-color: transparent; }
}
@media (max-width: 1140px) { .site-footer { margin-left: 28px; margin-right: 28px; } }
@media (max-width: 800px) {
  .policy-layout { grid-template-columns: 1fr; gap: 28px; }
  .toc { position: static; }
  .toc-desktop { display: none; }
  .toc-mobile { display: block; border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
  .toc-mobile summary { display: flex; align-items: center; justify-content: space-between; cursor: pointer; list-style: none; gap: 20px; font-size: 14px; padding: 12px 0; }
  .toc-mobile summary::-webkit-details-marker { display: none; }
  .toc-mobile[open] .toggle::after { transform: rotate(0); }
  .toc-mobile nav { padding: 0 0 14px; }
  .page-privacy .policy-layout { gap: 22px; }
  .toc ol { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); column-gap: 20px; }
  .contact-card { align-items: flex-start; flex-direction: column; gap: 20px; }
}
@media (max-width: 560px) {
  .header-inner { padding: 15px 20px; flex-wrap: wrap; gap: 12px; }
  .brand { font-size: 19px; }
  .brand img { width: 36px; height: 36px; }
  .main-nav { gap: 0; width: 100%; margin-left: -10px; }
  .main-nav a { padding: 5px 11px; font-size: 13px; }
  .language-bar { padding: 12px 20px 0; }
  .language-bar nav { justify-content: flex-start; gap: 4px 14px; }
  .language-bar a { font-size: 11px; }
  .container { padding: 36px 20px 46px; }
  .eyebrow { margin-bottom: 12px; }
  .lead { font-size: 16px; margin-top: 18px; }
  .page-heading { margin-bottom: 26px; }
  .actions { gap: 10px; margin-top: 24px; }
  .button { padding: 10px 18px; font-size: 13px; }
  h2 { font-size: 22px; }
  .note, .contact-card { padding: 24px; border-radius: 20px; }
  .contact-card h2 { font-size: 20px; }
  .faq-section { margin: 32px 0; }
  .faq summary { font-size: 15px; padding: 19px 0; }
  .answer { padding: 0 16px 22px 0; }
  .toc a { font-size: 12px; }
  .policy-section { padding: 24px 0 28px; scroll-margin-top: 132px; }
  .policy-section h2 { font-size: 21px; }
  .site-footer { margin-left: 20px; margin-right: 20px; padding: 24px 0 30px; flex-direction: column; gap: 18px; }
}
@media (prefers-reduced-motion: reduce) { * { scroll-behavior: auto !important; } }
@media (forced-colors: active) {
  .brand img { border: 1px solid CanvasText; }
  .button { border: 1px solid ButtonText; }
  .toggle::before, .toggle::after { background: CanvasText; }
}
@media print {
  :root { --bg: white; --page-wash: none; --surface: white; --ink: black; --muted: #333; --border: #ccc; --accent: #222; --accent-soft: #f6f6f6; }
  .site-header, .language-bar, .toc, .site-footer, .skip-link { display: none; }
  .container { padding: 0; max-width: none; }
  .policy-layout { display: block; }
  .policy-section { break-inside: avoid; }
  .faq:not([open]) .answer { display: block; }
  .contact-card, .feature { box-shadow: none; }
}

/* A full-width product story, composed from editable App Store assets. */
.page-home .container { max-width: none; padding: 0; overflow: clip; }
.page-home .language-bar { max-width: 1360px; }
.page-home .header-inner { max-width: 1360px; }
.page-home .main-nav a[aria-current="page"] { background: none; box-shadow: none; color: var(--accent); }
.home-hero { display: grid; grid-template-columns: minmax(0, 1.06fr) minmax(0, 1fr); align-items: center; gap: 24px; max-width: 1360px; margin: auto; padding: 40px 42px 46px; min-height: 660px; }
.hero-copy { position: relative; z-index: 2; }
.hero-title { font-size: clamp(60px, 6.9vw, 98px); line-height: 1.08; font-weight: 720; letter-spacing: -.055em; }
.hero-title span { display: block; }
.hero-title span:last-child { color: var(--accent); }
.hero-copy .lead { max-width: 520px; margin-top: 30px; font-size: 17px; }
.hero-copy .actions { margin-top: 30px; }
.hero-visual { min-width: 0; margin: 0; }
.hero-stage { position: relative; width: 100%; aspect-ratio: 1 / 1.05; }
.hero-visual figcaption { margin-top: 24px; padding-right: 10px; color: var(--muted); font-size: 12px; text-align: right; }
.promo-device { position: relative; aspect-ratio: 1000 / 1257.199; }
.promo-shell { display: block; width: 100%; height: 100%; filter: drop-shadow(0 12px 18px rgba(54, 40, 26, .10)); }
.promo-screen { position: absolute; left: 23.9903%; top: 28.4654%; width: 51.2173%; height: auto; border: 3px solid #fffdf6; border-radius: 7px; box-shadow: 0 2px 4px rgba(0, 0, 0, .14); }
.shell-honey { color: #efc783; }
.shell-peach { color: #efbe9d; }
.shell-blue { color: #adc8d7; }
.shell-lilac { color: #ccb4df; }
.shell-rose { color: #ddb2c2; }
.hero-stage .promo-device { position: absolute; }
.hero-device-main { width: 66%; left: 4%; top: 2%; transform: rotate(-12deg); z-index: 2; }
.hero-device-secondary { width: 39%; right: -1%; bottom: 0; transform: rotate(12deg); z-index: 1; }
.home-facts { display: flex; flex-wrap: wrap; justify-content: center; gap: 16px 54px; list-style: none; padding: 24px 28px; margin: 0; font-size: 14px; font-weight: 550; color: var(--muted); }
.home-facts li { display: flex; gap: 12px; align-items: center; }
.home-facts li::before { content: ''; width: 5px; height: 5px; border-radius: 50%; background: var(--accent); }
.product-scene { padding: 70px 42px; }
.scene-inner { display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr); gap: 70px; align-items: center; max-width: 1250px; margin: auto; }
.scene-copy h2 { font-size: clamp(34px, 4.2vw, 58px); line-height: 1.2; font-weight: 680; letter-spacing: -.045em; }
.scene-copy h2 span { display: block; }
.scene-copy > p:last-child { color: var(--muted); font-size: 17px; line-height: 1.9; margin-top: 26px; max-width: 470px; }
.product-art { width: 100%; position: relative; }
.multi-section { padding-top: 80px; padding-bottom: 100px; }
.multi-scene { aspect-ratio: 1.2; }
.multi-scene .promo-device { position: absolute; }
.multi-scene .promo-device:nth-child(1) { width: 36%; left: 0; top: 0; transform: rotate(-10deg); z-index: 1; }
.multi-scene .promo-device:nth-child(2) { width: 34%; left: 46%; top: 6%; transform: rotate(8deg); z-index: 1; }
.multi-scene .promo-device:nth-child(3) { width: 34%; left: 19%; bottom: 1%; transform: rotate(5deg); z-index: 2; }
.multi-scene .promo-device:nth-child(4) { width: 32%; right: 0; bottom: 0; transform: rotate(-7deg); z-index: 3; }
.face-section { background: #eee5da; padding-top: 85px; padding-bottom: 85px; }
.face-section .scene-inner { grid-template-columns: minmax(0, .92fr) minmax(0, 1.25fr); }
.facing-scene { aspect-ratio: 1.16; }
.facing-scene .promo-device { position: absolute; width: 42%; }
.facing-scene .promo-device:first-child { left: 0; top: 0; transform: rotate(-8deg); }
.facing-scene .promo-device:nth-child(2) { right: 0; bottom: 0; transform: rotate(8deg); }
.device-inverted .promo-shell { transform: rotate(180deg); }
.device-inverted .promo-screen { left: 24.7924%; top: 29.5821%; }
.facing-angle { position: absolute; top: 2%; right: 4%; font-size: clamp(42px, 6vw, 76px); line-height: 1; font-weight: 650; letter-spacing: -.04em; color: var(--accent); }
.turn-arc { position: absolute; width: 24%; left: 29%; bottom: 5%; color: var(--accent); transform: rotate(-14deg); }
.lcd-section { background: #24211f; padding-top: 105px; padding-bottom: 105px; color: #fff8ee; }
.lcd-section .scene-inner { grid-template-columns: minmax(0, 1.12fr) minmax(0, 1fr); gap: 100px; }
.lcd-section .eyebrow { color: #efc783; }
.lcd-section .scene-copy > p:last-child { color: #c9c0b7; }
.lcd-art { padding: 18px 35px; }
.lcd-art img { width: 100%; max-width: 405px; height: auto; margin: auto; border-radius: 26px; transform: rotate(-8deg); image-rendering: pixelated; box-shadow: 0 22px 60px rgba(0, 0, 0, .24); border: 4px solid #f1e6d4; }
.getting-started { max-width: 1250px; margin: auto; padding: 105px 42px 75px; }
.tutorial-intro { display: grid; grid-template-columns: 88px minmax(0, 1fr); gap: 28px; max-width: 900px; }
.tutorial-mascot { width: 80px; height: 80px; image-rendering: pixelated; transform: rotate(-4deg); }
.tutorial-intro h2, .records-section h2 { font-size: clamp(28px, 3.4vw, 42px); font-weight: 650; letter-spacing: -.035em; }
.tutorial-intro p { color: var(--muted); margin-top: 20px; font-size: 17px; max-width: 770px; }
.start-steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 34px; list-style: none; padding: 0; margin: 50px 0 0; }
.start-steps li { display: flex; flex-direction: column; gap: 14px; border-top: 1px solid var(--border); padding-top: 20px; font-size: 17px; font-weight: 600; }
.start-steps span { color: var(--accent); font-size: 13px; font-weight: 500; font-variant-numeric: tabular-nums; }
.records-section { max-width: 1250px; margin: auto; padding: 40px 42px 75px; }
.records-section > p:last-child { color: var(--muted); max-width: 770px; font-size: 17px; margin-top: 20px; }
.firmware-footnote { max-width: 1250px; margin: auto; padding: 0 42px 75px; }
.firmware-footnote h2 { font-size: 15px; margin-bottom: 10px; }
.firmware-footnote p { color: var(--muted); font-size: 13px; max-width: 960px; }
html[lang="en-US"] .hero-title { font-size: clamp(58px, 6.3vw, 88px); }
@media (prefers-color-scheme: dark) {
  .face-section { background: #302a24; }
  .lcd-section { background: #171614; }
}
@media (max-width: 950px) {
  .home-hero { grid-template-columns: 1fr; gap: 32px; min-height: 0; padding: 35px 28px 45px; }
  .hero-title { font-size: clamp(54px, 10.5vw, 86px); }
  html[lang="en-US"] .hero-title { font-size: clamp(46px, 9.4vw, 78px); }
  .hero-copy .lead { max-width: 620px; }
  .hero-visual { width: 100%; max-width: 560px; justify-self: center; }
  .hero-stage { aspect-ratio: 1.1; }
  .hero-device-main { width: 61%; left: 8%; top: 3%; }
  .hero-device-secondary { width: 37%; right: 2%; bottom: 0; }
  .scene-inner, .face-section .scene-inner, .lcd-section .scene-inner { grid-template-columns: 1fr; gap: 52px; }
  .product-scene { padding: 70px 28px; }
  .product-art { max-width: 680px; margin: auto; }
  .multi-section .scene-copy { order: -1; }
  .scene-copy h2 { font-size: clamp(38px, 6vw, 52px); }
  .scene-copy > p:last-child { max-width: 640px; }
  .facing-scene { max-width: 590px; }
  .lcd-art { order: 2; padding: 20px 25px; }
  .lcd-art img { max-width: 380px; }
  .getting-started { padding: 70px 28px 55px; }
  .records-section { padding: 30px 28px 55px; }
  .firmware-footnote { padding: 0 28px 55px; }
}
@media (max-width: 560px) {
  .home-hero { padding: 28px 20px 32px; gap: 30px; }
  .hero-title { font-size: clamp(46px, 14.5vw, 72px); }
  html[lang="en-US"] .hero-title { font-size: clamp(42px, 12vw, 65px); }
  .hero-copy .lead { font-size: 16px; margin-top: 24px; }
  .hero-visual figcaption { margin-top: 18px; font-size: 11px; text-align: center; padding: 0; }
  .home-facts { gap: 12px 20px; padding: 22px 20px; font-size: 12px; }
  .home-facts li { gap: 8px; }
  .product-scene { padding: 55px 20px; }
  .scene-inner, .face-section .scene-inner, .lcd-section .scene-inner { gap: 38px; }
  .scene-copy h2 { font-size: 38px; }
  .scene-copy > p:last-child { font-size: 16px; margin-top: 22px; }
  .facing-angle { font-size: 42px; }
  .promo-screen { border-width: 2px; border-radius: 5px; }
  .lcd-art { padding: 15px 15px; }
  .lcd-art img { border-radius: 20px; }
  .getting-started { padding: 60px 20px 40px; }
  .tutorial-intro { grid-template-columns: 1fr; gap: 22px; }
  .tutorial-mascot { width: 64px; height: 64px; }
  .tutorial-intro p, .records-section > p:last-child { font-size: 16px; }
  .start-steps { gap: 14px; margin-top: 36px; }
  .start-steps li { font-size: 14px; gap: 12px; }
  .records-section { padding: 30px 20px 45px; }
  .firmware-footnote { padding: 0 20px 45px; }
}
