/* Approved mocks retain the app's font roles, 24px cards and rounded cards/pills. */
:root {
  --ground: #f9f9f7;
  --paper: #fff;
  --strong: #eeeeec;
  --ink: #1a1c1b;
  --muted: #444748;
  --yellow: #ffe247;
  --gutter: max(32px, calc((100vw - 1240px) / 2));
  color: var(--ink);
  background: var(--ground);
  font: 16px/1.65 'Be Vietnam Pro', sans-serif;
  font-synthesis: none;
}
* { box-sizing: border-box; }
body { margin: 0; }
::selection { color: var(--ink); background: var(--yellow); }
a { color: inherit; text-underline-offset: 6px; }
a:hover { text-decoration-thickness: 2px; }
:where(a, summary):focus-visible { outline: 3px solid var(--ink); outline-offset: 5px; }
.skip-link { position: absolute; left: 20px; top: -100px; z-index: 2; background: var(--paper); padding: 16px; }
.skip-link:focus { top: 12px; }
header { display: flex; align-items: center; gap: 32px; padding: 16px var(--gutter); }
header a { min-height: 44px; display: inline-flex; align-items: center; text-decoration: none; }
.wordmark { font-size: 34px; font-weight: 800; letter-spacing: -.04em; }
header nav { margin-left: auto; display: flex; gap: 32px; font-family: 'Be Vietnam Pro', sans-serif; }
header nav [aria-current] { text-decoration: underline; }
.language-switch { display: flex; flex-shrink: 0; border: 1px solid rgb(26 28 27 / .24); border-radius: 999px; padding: 3px; font-size: 14px; font-weight: 600; }
.language-switch a { justify-content: center; min-width: 44px; border-radius: 999px; }
.language-switch [aria-current] { background: var(--ink); color: var(--yellow); }
main { margin: 24px var(--gutter) 0; }
.document-title { padding: 48px 32px; margin-bottom: 64px; background: var(--paper); border-radius: 24px; }
h1, h2, h3, h4 { line-height: 1.2; letter-spacing: -.04em; text-wrap: balance; }
h1 { font-size: clamp(36px, 5vw, 64px); margin: 0 0 24px; }
.document-title p { margin: 0; }
.document-layout { display: grid; grid-template-columns: 240px minmax(0, 1fr); gap: 64px; }
.contents nav { display: flex; flex-direction: column; gap: 4px; }
.contents a { display: flex; align-items: center; min-height: 44px; padding-block: 8px; }
.document-body { min-width: 0; padding: 40px; background: var(--paper); border-radius: 24px; }
.document-body p { max-width: 60ch; }
.document-body > section { margin-bottom: 96px; scroll-margin-top: 24px; }
.document-body > section:last-of-type { margin-bottom: 40px; }
h2 { font-size: 34px; margin: 0 0 28px; }
h3 { font-size: 24px; margin: 0 0 20px; }
h4 { font-size: 20px; margin: 0 0 16px; }
p { max-width: 65ch; margin: 0 0 24px; }
section > p:last-child { margin-bottom: 0; }
.setup-steps { padding-left: 24px; margin-top: 40px; }
.setup-steps > li { padding-left: 12px; margin-bottom: 48px; }
.setup-steps > li::marker { font-weight: 700; }
.quick-guide { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; margin: 32px 0; }
.setup-snippet { margin: 0; padding: 16px; background: var(--strong); border-radius: 24px; }
.setup-snippet img { display: block; width: 100%; height: auto; border-radius: 12px; }
.setup-snippet figcaption { font-size: 14px; line-height: 1.6; margin-top: 16px; }
.manual-guide { background: var(--paper); border-radius: 24px; padding: 20px 24px; }
.manual-guide ol { padding-left: 24px; }
.manual-guide li { margin-block: 32px; padding-left: 8px; }
.manual-guide .setup-snippet { max-width: 560px; }
summary { font-weight: 600; font-size: 20px; line-height: 1.5; cursor: pointer; min-height: 48px; padding-block: 8px; }
.faq { padding: 20px 24px; margin: 16px 0; background: var(--paper); border-radius: 24px; }
.faq p { margin: 16px 0 0; }
.contact-address { font-size: 24px; font-weight: 700; overflow-wrap: anywhere; }
.document-availability { margin-top: 64px; padding: 24px; background: var(--strong); border-radius: 24px; }
.document-availability p { margin: 0; }
.availability { font: 700 20px/1.5 'Be Vietnam Pro', sans-serif; }
footer { margin-top: 64px; padding: 40px var(--gutter) 32px; background: var(--paper); }
.footer-logo { display: block; font-weight: 800; font-size: clamp(64px, 17vw, 240px); letter-spacing: -.04em; line-height: 1.2; }
.footer-bottom { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; margin-top: 32px; }
.footer-bottom nav { display: flex; gap: 24px; }
.footer-bottom a { min-height: 44px; display: inline-flex; align-items: center; }
.footer-bottom p { font-size: 14px; margin: 0; }
@media (max-width: 1050px) {
  .document-layout { grid-template-columns: 180px minmax(0, 1fr); gap: 32px; }
  .document-body { padding: 28px; }
  h2 { font-size: 30px; }
}
@media (max-width: 700px) {
  :root { --gutter: 20px; }
  header { display: grid; grid-template-columns: 1fr auto; gap: 12px 24px; }
  .wordmark { font-size: 28px; }
  header nav { grid-column: 1 / -1; grid-row: 2; margin: 0; gap: 24px; }
  .language-switch { grid-column: 2; grid-row: 1; }
  main { margin-top: 16px; }
  .document-title { padding: 32px 20px; margin-bottom: 40px; }
  h1 { font-size: 34px; }
  .document-layout { display: block; }
  .contents { background: var(--strong); padding: 20px 24px; border-radius: 24px; margin-bottom: 48px; }
  .document-body { padding: 24px 20px; }
  .document-body > section { margin-bottom: 80px; }
  /* Keep two lines of coming-soon text and the future badge at the same height. */
  .document-availability [data-slot="app-store"] { min-height: 60px; }
  h2 { font-size: 28px; }
  h3 { font-size: 22px; }
  .quick-guide { grid-template-columns: 1fr; }
  .setup-steps { padding-left: 20px; }
  .setup-steps > li { padding-left: 4px; }
  .manual-guide, .faq { padding: 16px 20px; }
  summary { font-size: 18px; }
  .footer-bottom { grid-template-columns: 1fr; gap: 24px; }
}
@media (max-width: 360px) {
  h1 { font-size: 30px; }
  h2 { font-size: 26px; }
  .manual-guide { padding-inline: 12px; }
}
[data-slot] { overflow-wrap: anywhere; }
@media (max-width: 700px) {
  header { display: flex; flex-wrap: wrap; }
  header nav { order: 1; flex-basis: 100%; flex-wrap: wrap; }
  .language-switch { margin-left: auto; }
  .footer-bottom nav { flex-wrap: wrap; }
}
.document-body { overflow-wrap: anywhere; }
