:root {
  color-scheme: light dark;
  --bg: #faf9fc;
  --surface: #fff;
  --text: #26232d;
  --muted: #716b7c;
  --line: #e9e5ef;
  --accent: #7650ae;
  --tint: #f0eaf9;
  --shadow: 0 8px 40px #30204706;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Noto Sans", sans-serif;
  font-synthesis: none;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 130px; }
body { margin: 0; background: var(--bg); color: var(--text); line-height: 1.75; }
a { color: var(--accent); text-underline-offset: .2em; }
a:hover { text-decoration-thickness: 2px; }
button, select { font: inherit; }
button, a, select, summary { -webkit-tap-highlight-color: transparent; }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 4px; }
[hidden] { display: none !important; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.skip-link { position: fixed; z-index: 10; top: -80px; left: 16px; padding: 10px 20px; background: var(--surface); }
.skip-link:focus { top: 10px; }
.site-header { border-bottom: 1px solid var(--line); background: var(--surface); }
.header-inner { max-width: 1160px; margin: auto; padding: 22px 28px; display: flex; align-items: center; gap: 30px; }
.brand { color: var(--text); display: inline-flex; align-items: center; gap: 12px; flex-shrink: 0; text-decoration: none; font-size: 19px; font-weight: 750; letter-spacing: -.5px; line-height: 1.3; }
.brand-mark { display: block; width: 42px; height: 42px; background: #000; border-radius: 10px; object-fit: contain; flex-shrink: 0; }
.brand small { display: block; font-size: 10px; font-weight: 500; letter-spacing: .1em; color: var(--muted); margin-top: 3px; }
.site-nav { display: flex; align-items: center; gap: 22px; margin-left: auto; }
.site-nav a { color: var(--muted); font-size: 13px; font-weight: 600; text-decoration: none; white-space: nowrap; padding: 8px 0; }
.site-nav a:hover, .site-nav a[aria-current="page"] { color: var(--accent); }
.language-select { background: var(--surface); color: var(--text); border: 1px solid var(--line); padding: 8px 10px; border-radius: 9px; font-size: 13px; max-width: 150px; }
.page { max-width: 1104px; margin: auto; padding: 56px 28px 84px; }
.eyebrow { color: var(--accent); font-size: 11px; font-weight: 750; letter-spacing: .13em; text-transform: uppercase; margin: 0 0 12px; }
h1 { font-size: clamp(28px, 4vw, 43px); line-height: 1.25; letter-spacing: -.035em; margin: 0 0 15px; font-weight: 750; overflow-wrap: anywhere; }
.subtitle { color: var(--muted); font-size: 16px; max-width: 650px; margin: 0; }
.intro { margin-bottom: 38px; }
.document-layout { display: grid; grid-template-columns: minmax(0, 1fr); gap: 34px; align-items: start; }
.document-layout.has-outline { grid-template-columns: 218px minmax(0, 1fr); }
.document-sidebar { position: sticky; top: 24px; }
.toc { border: 1px solid var(--line); border-radius: 14px; background: var(--surface); padding: 17px 15px; font-size: 12px; }
.toc summary { cursor: pointer; font-size: 13px; font-weight: 700; }
.toc nav { margin-top: 12px; max-height: 65vh; overflow-y: auto; padding-right: 4px; }
.toc a { display: block; color: var(--muted); line-height: 1.5; padding: 6px 0 6px 11px; border-left: 2px solid var(--line); text-decoration: none; overflow-wrap: anywhere; }
.toc a:hover, .toc a[aria-current="location"] { color: var(--accent); border-left-color: var(--accent); }
.document-article { min-width: 0; background: var(--surface); border: 1px solid var(--line); border-radius: 18px; padding: 32px 38px; box-shadow: var(--shadow); }
.prose { font-size: 16px; overflow-wrap: anywhere; }
.prose > :first-child { margin-top: 0; }
.prose > :last-child { margin-bottom: 0; }
.prose h2 { font-size: 23px; line-height: 1.4; margin: 2.1em 0 .9em; padding-top: .6em; border-top: 1px solid var(--line); letter-spacing: -.025em; }
.prose h3 { font-size: 18px; line-height: 1.5; margin: 2em 0 .8em; letter-spacing: -.015em; }
.prose h4 { font-size: 16px; margin: 1.8em 0 .7em; }
.prose p { margin: 1em 0; }
.prose ol, .prose ul { padding-left: 1.45em; }
.prose li { margin: .5em 0; padding-left: .15em; }
.prose li > ul, .prose li > ol { margin: .5em 0; }
.prose blockquote { margin: 1.3em 0; border-left: 3px solid var(--accent); padding: 5px 18px; background: var(--tint); }
.prose code { padding: .1em .3em; border-radius: 4px; background: var(--tint); }
.prose pre { overflow: auto; padding: 16px; background: var(--tint); border-radius: 10px; }
.prose img { max-width: 100%; height: auto; }
.table-scroll { max-width: 100%; overflow-x: auto; margin: 22px 0; border: 1px solid var(--line); border-radius: 10px; }
.prose table { width: 100%; border-collapse: collapse; font-size: 13px; line-height: 1.65; }
.prose th { background: var(--tint); font-weight: 650; }
.prose th, .prose td { min-width: 110px; padding: 13px 14px; text-align: left; vertical-align: top; border-bottom: 1px solid var(--line); }
.prose td:last-child { min-width: 230px; }
.prose tr:last-child td { border-bottom: 0; }
.document-tools { display: flex; gap: 18px; margin-top: 24px; font-size: 12px; }
.document-tools a { color: var(--muted); }
.document-status { background: var(--surface); border: 1px solid var(--line); border-radius: 16px; padding: 32px; color: var(--muted); }
.document-status[data-state="error"] { border-color: var(--accent); }
.button { display: inline-block; border: 1px solid var(--line); border-radius: 9px; padding: 10px 17px; background: var(--surface); color: var(--text); font-weight: 600; cursor: pointer; text-decoration: none; font-size: 14px; }
.button.primary { background: var(--accent); border-color: var(--accent); color: #fff; }
.button:hover { filter: brightness(.95); }
.support-page { max-width: 820px; }
.support-sections { display: grid; gap: 16px; }
.support-sections section, .resource-section { background: var(--surface); border: 1px solid var(--line); border-radius: 16px; padding: 25px 28px; box-shadow: var(--shadow); }
.support-sections h2 { font-size: 18px; margin: 0 0 10px; letter-spacing: -.015em; }
.support-sections p { margin: 8px 0; font-size: 15px; }
.support-sections ul { padding-left: 22px; font-size: 14px; }
.support-sections .email { font-size: 20px; font-weight: 650; }
.resource-section { margin-top: 28px; background: var(--tint); }
.resource-section h2 { font-size: 16px; margin: 0 0 16px; }
.resource-links { display: grid; gap: 10px; }
.resource-links a { display: flex; justify-content: space-between; align-items: center; gap: 16px; color: var(--text); background: var(--surface); border: 1px solid var(--line); padding: 14px 17px; border-radius: 9px; text-decoration: none; font-size: 14px; font-weight: 600; }
.resource-links a::after { content: "↗"; color: var(--accent); }
.resource-links a:hover { border-color: var(--accent); }
.home-hero { padding: 35px 0 48px; max-width: 730px; }
.home-hero h1 { font-size: clamp(37px, 7vw, 65px); }
.home-hero .subtitle { font-size: 19px; margin: 20px 0 27px; }
.home-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.home-grid section { border: 1px solid var(--line); border-radius: 17px; background: var(--surface); padding: 28px; }
.home-grid h2 { font-size: 20px; margin-top: 0; }
.home-grid p { font-size: 15px; color: var(--muted); }
.site-footer { max-width: 1048px; margin: 0 auto; padding: 25px 0 36px; border-top: 1px solid var(--line); display: flex; justify-content: space-between; align-items: center; gap: 20px; color: var(--muted); font-size: 12px; }
.site-footer a { color: var(--muted); }
@media (max-width: 900px) {
  .header-inner { flex-wrap: wrap; gap: 18px; }
  .site-nav { order: 3; width: 100%; margin: 0; justify-content: space-between; gap: 12px; }
  .language-control { margin-left: auto; }
  .document-layout { display: block; }
  .document-sidebar { position: static; margin-bottom: 20px; }
  .toc nav { max-height: 280px; }
  .page { padding-top: 36px; }
  .site-footer { margin: 0 28px; }
}
@media (max-width: 520px) {
  .header-inner { padding: 17px 20px; }
  .site-nav a { font-size: 11px; }
  .page { padding: 30px 18px 52px; }
  .intro { margin-bottom: 25px; }
  .document-article { padding: 24px 20px; border-radius: 13px; }
  .prose { font-size: 15px; }
  .language-select { font-size: 16px; }
  .prose h2 { font-size: 20px; }
  .prose h3 { font-size: 17px; }
  .support-sections section, .resource-section { padding: 22px; }
  .home-grid { grid-template-columns: 1fr; }
  .site-footer { margin: 0 20px; align-items: flex-start; flex-direction: column; gap: 8px; }
}
@media (prefers-color-scheme: dark) {
  :root { --bg: #17141d; --surface: #211c29; --text: #f0eaf6; --muted: #b0a6be; --line: #37303f; --accent: #c7a4f5; --tint: #30243e; --shadow: none; }
  .button.primary { background: #8c61c5; color: #fff; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
@media print {
  .site-header, .site-footer, .document-sidebar, .document-tools, .skip-link { display: none; }
  .document-layout { display: block; }
  .document-article { border: 0; padding: 0; box-shadow: none; }
  .page { max-width: none; padding: 0; }
  .table-scroll { overflow: visible; }
  body { background: #fff; color: #000; }
}
/* The homepage follows the app's warm lavender illustrations and quiet typography. */
.home-page { max-width: 1160px; padding-top: 20px; }
.home-hero { display: grid; grid-template-columns: 1.15fr 1fr; gap: 40px; align-items: center; max-width: none; padding: 56px 0 72px; }
.home-hero h1 { font-size: clamp(38px, 4.3vw, 59px); line-height: 1.17; letter-spacing: -.05em; word-break: keep-all; overflow-wrap: normal; }
.home-hero h1 span { display: block; }
.hero-accent { color: var(--accent); }
.home-hero .subtitle { font-size: 17px; line-height: 1.9; margin: 24px 0 30px; max-width: 520px; word-break: keep-all; }
.hero-copy .eyebrow { font-size: 10px; letter-spacing: .12em; margin-bottom: 22px; }
.download-links { display: flex; flex-wrap: wrap; gap: 10px; }
.store-link { display: inline-flex; align-items: center; justify-content: space-between; gap: 13px; background: var(--text); color: var(--surface); border: 1px solid transparent; padding: 11px 15px; border-radius: 12px; min-width: 172px; text-decoration: none; line-height: 1.25; }
.store-link span:nth-child(2) { flex: 1; }
.store-link small { display: block; font-size: 10px; opacity: .8; margin-bottom: 2px; }
.store-link strong { font-size: 17px; font-weight: 650; white-space: nowrap; }
.store-link:hover { background: var(--accent); color: var(--surface); }
.hero-help { display: inline-block; margin-top: 20px; color: var(--muted); font-size: 12px; text-decoration: none; }
.hero-help:hover { color: var(--accent); text-decoration: underline; }
.hero-art { position: relative; isolation: isolate; min-height: 435px; display: flex; flex-direction: column; align-items: center; justify-content: center; background: #eee7f6; border-radius: 48% 48% 42% 42%; color: #493460; }
.hero-art img { width: 85%; max-width: 350px; height: auto; z-index: 1; }
.art-caption { font-size: 11px; font-weight: 750; letter-spacing: .16em; margin-top: 15px; }
.art-note { font-size: 13px; padding: 0 0 24px; }
.art-orbit { position: absolute; border-radius: 50%; z-index: -1; }
.orbit-one { width: 55px; height: 55px; background: #e6ddf1; right: -8px; top: 35px; }
.orbit-two { width: 22px; height: 22px; background: #d4b9ef; left: -4px; bottom: 75px; }
.how-section { padding: 48px 0 60px; border-top: 1px solid var(--line); }
.section-heading h2 { font-size: clamp(24px, 3vw, 32px); font-weight: 700; line-height: 1.4; letter-spacing: -.035em; margin: 0; word-break: keep-all; }
.connection-steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 38px; list-style: none; padding: 0; margin: 36px 0 0; counter-reset: none; }
.step-number { display: inline-block; color: var(--accent); font-size: 13px; font-weight: 650; border-bottom: 2px solid var(--accent); padding-bottom: 8px; margin-bottom: 18px; }
.connection-steps h3 { font-size: 18px; line-height: 1.5; letter-spacing: -.025em; margin: 0 0 10px; word-break: keep-all; }
.connection-steps p { color: var(--muted); margin: 0; font-size: 14px; line-height: 1.9; word-break: keep-all; }
.home-help { display: grid; grid-template-columns: 1fr 1.15fr; gap: 65px; padding: 48px 0 0; border-top: 1px solid var(--line); }
.home-help .section-heading p:not(.eyebrow) { color: var(--muted); font-size: 14px; margin: 18px 0; max-width: 350px; word-break: keep-all; }
.home-help .section-heading > a { font-size: 14px; font-weight: 600; }
.help-links a { display: flex; align-items: center; justify-content: space-between; gap: 18px; padding: 18px 0; text-decoration: none; color: var(--text); border-bottom: 1px solid var(--line); }
.help-links a:first-child { padding-top: 0; }
.help-links a:last-child { border-bottom: none; }
.help-links strong { display: block; font-size: 15px; font-weight: 650; }
.help-links small { display: block; color: var(--muted); font-size: 12px; margin-top: 4px; }
.help-links a > span:last-child { color: var(--accent); }
.help-links a:hover strong { color: var(--accent); text-decoration: underline; }
@media (max-width: 900px) {
  .home-hero { gap: 30px; padding-top: 40px; }
  .home-hero h1 { font-size: 40px; }
  .hero-art { min-height: 350px; }
  .download-links { gap: 8px; }
  .store-link { min-width: 158px; padding: 10px 12px; }
  .home-help { gap: 35px; }
}
@media (max-width: 640px) {
  .home-page { padding-top: 0; }
  .home-hero { grid-template-columns: 1fr; gap: 35px; padding: 40px 0; }
  .home-hero h1 { font-size: clamp(35px, 8.5vw, 48px); }
  .home-hero .subtitle { font-size: 16px; margin: 20px 0 24px; }
  .hero-copy .eyebrow { margin-bottom: 18px; }
  .hero-art { min-height: 290px; max-width: 390px; width: 92%; margin: 0 auto; }
  .hero-art img { max-width: 260px; }
  .connection-steps { grid-template-columns: 1fr; gap: 28px; margin-top: 28px; }
  .connection-steps li { padding-left: 45px; position: relative; }
  .step-number { position: absolute; top: 0; left: 0; padding-bottom: 5px; }
  .how-section { padding: 34px 0 40px; }
  .home-help { grid-template-columns: 1fr; gap: 30px; padding-top: 34px; }
  .home-help .section-heading p:not(.eyebrow) { max-width: none; }
  .store-link { min-width: 0; flex: 1; gap: 8px; }
  .store-link strong { font-size: 15px; }
  .store-link > span:last-child { display: none; }
}
@media (max-width: 520px) {
  .site-nav { flex-wrap: wrap; justify-content: flex-start; column-gap: 18px; row-gap: 0; }
}
@media (max-width: 640px) {
  .connection-steps { grid-template-columns: minmax(0, 1fr); }
}
.home-page :is(h1, h2, h3, p) { overflow-wrap: anywhere; }
html:lang(ja) .home-page :is(h1, h2, h3, p),
html:lang(zh) .home-page :is(h1, h2, h3, p) { word-break: normal; }
@media (max-width: 360px) {
  .header-inner { column-gap: 10px; }
  .brand { gap: 8px; font-size: 17px; }
  .brand small { font-size: 8px; }
  .language-select { padding: 8px 6px; max-width: 105px; }
}
.language-links { max-width: 1048px; margin: -14px auto 32px; display: flex; flex-wrap: wrap; gap: 10px; color: var(--muted); font-size: 12px; }
.language-links a { color: var(--muted); text-decoration: none; }
.language-links a:hover, .language-links a[aria-current="true"] { color: var(--accent); text-decoration: underline; }
@media (max-width: 1104px) { .language-links { margin-left: 28px; margin-right: 28px; } }
@media (max-width: 520px) { .language-links { margin-left: 20px; margin-right: 20px; } }
