@font-face {
  font-family: "Bricolage Grotesque";
  src: url("../fonts/bricolage-grotesque.woff2") format("woff2");
  font-weight: 400 800;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Source Serif 4";
  src: url("../fonts/source-serif-4.woff2") format("woff2");
  font-weight: 400 700;
  font-style: normal;
  font-display: swap;
}

:root {
  --canvas: #f4ede3;
  --canvas-deep: #eadfce;
  --surface: #fbf6ee;
  --ink: #3d3129;
  --ink-soft: #53463e;
  --muted: #5f534b;
  --line: #d7cbbd;
  --coral: #ab291a;
  --coral-deep: #8b1f14;
  --coral-soft: #f07a5c;
  --clay: #574637;
  --sage: #6e8f62;
  --sage-text: #3f5a38;
  --sage-pale: #e4eedd;
  --gold: #e3a126;
  --cream-bead: #f7f1e4;
  --shadow: color-mix(in srgb, var(--clay) 14%, transparent);
  --focus: #ab291a;
  --font-ui: "Bricolage Grotesque", "Avenir Next", "Sierra Gothic", "PingFang SC", "Hiragino Sans GB", "Noto Sans SC", "Microsoft YaHei", sans-serif;
  --font-body: "Source Serif 4", "Iowan Old Style", "Palatino Linotype", "Songti SC", "STSong", "Noto Serif SC", "Hiragino Mincho ProN", serif;
  --font-mono: ui-monospace, "SF Mono", "Menlo", "Consolas", monospace;
  --space-1: 4px;
  --space-2: 8px;
  --space-3: 12px;
  --space-4: 16px;
  --space-5: 24px;
  --space-6: 32px;
  --space-7: 48px;
  --space-8: 64px;
  --space-9: 96px;
  --radius: 12px;
  --radius-sm: 8px;
  --measure: 66ch;
  --wrap: min(1180px, calc(100% - 40px));
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --header-h: 72px;
  --z-header: 60;
  --z-overlay: 50;
  --z-drawer: 55;
}

html {
  box-sizing: border-box;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 12px);
  background: var(--canvas);
  overflow-x: clip;
}

*,
*::before,
*::after {
  box-sizing: inherit;
}

body {
  margin: 0;
  min-height: 100dvh;
  color: var(--ink);
  background:
    radial-gradient(circle at 1px 1px, color-mix(in srgb, var(--clay) 16%, transparent) 1px, transparent 1.4px) 0 0 / 22px 22px,
    linear-gradient(180deg, var(--canvas) 0%, var(--canvas-deep) 100%);
  font-family: var(--font-ui);
  font-size: 1rem;
  line-height: 1.55;
  overflow-x: clip;
  overflow-wrap: break-word;
  text-rendering: optimizeLegibility;
}

html.is-nav-open,
body.is-nav-open {
  overflow: hidden;
}

body.is-nav-open {
  position: fixed;
  width: 100%;
}

img,
svg {
  display: block;
  max-width: 100%;
  height: auto;
}

a {
  color: var(--coral);
  text-underline-offset: 0.18em;
}

a:hover {
  color: var(--coral-deep);
}

:focus {
  outline: none;
}

:focus-visible {
  outline: 2px solid var(--focus);
  outline-offset: 3px;
}

.skip-link {
  position: absolute;
  inset-inline-start: 16px;
  top: 12px;
  z-index: calc(var(--z-overlay) + 1);
  transform: translateY(-140%);
  padding: 10px 14px;
  background: var(--ink);
  color: var(--cream-bead);
  border-radius: var(--radius-sm);
}

.skip-link:focus {
  transform: none;
}

.wrap {
  width: var(--wrap);
  margin-inline: auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: var(--z-header);
  background: color-mix(in srgb, var(--canvas) 88%, transparent);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid color-mix(in srgb, var(--line) 80%, transparent);
}

.header-inner {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-4);
  min-height: var(--header-h);
  flex-wrap: nowrap;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  color: inherit;
  text-decoration: none;
  min-width: 0;
  min-height: 44px;
}

.brand-mark {
  width: 36px;
  height: 36px;
  flex: none;
}

.brand-name {
  display: flex;
  flex-direction: column;
  line-height: 1.15;
}

.brand-name strong {
  font-size: 1.05rem;
  font-weight: 700;
}

.brand-name span {
  color: var(--muted);
  font-size: 0.75rem;
}

.header-tools {
  display: flex;
  align-items: center;
  gap: 10px;
  flex: none;
}

.nav-toggle {
  position: relative;
  display: none;
  min-width: 44px;
  min-height: 44px;
  border: 1.5px solid var(--clay);
  background: var(--surface);
  color: var(--ink);
  border-radius: var(--radius-sm);
  font: inherit;
  font-size: 0.88rem;
  font-weight: 700;
}

.nav-toggle-bars,
.nav-toggle-bars::before,
.nav-toggle-bars::after {
  display: block;
  width: 16px;
  height: 2px;
  background: var(--ink);
}

.nav-toggle-bars {
  position: relative;
}

.nav-toggle-bars::before,
.nav-toggle-bars::after {
  content: "";
  position: absolute;
  inset-inline-start: 0;
}

.nav-toggle-bars::before { top: -5px; }
.nav-toggle-bars::after { top: 5px; }

.nav-backdrop {
  display: none;
}

.site-header.is-open .nav-toggle-bars {
  background: transparent;
}

.site-header.is-open .nav-toggle-bars::before {
  top: 0;
  transform: rotate(45deg);
}

.site-header.is-open .nav-toggle-bars::after {
  top: 0;
  transform: rotate(-45deg);
}

.nav-cluster {
  display: flex;
  align-items: center;
  gap: var(--space-5);
  margin-inline-start: auto;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 4px;
}

.site-nav a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 0 12px;
  color: var(--ink);
  text-decoration: none;
  font-weight: 560;
}

.site-nav a[aria-current="page"] {
  color: var(--coral);
  box-shadow: inset 0 -2px 0 var(--coral);
}

.lang-switch {
  display: flex;
  padding: 3px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--surface);
}

.lang-switch button {
  min-height: 38px;
  min-width: 44px;
  padding: 0 12px;
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: var(--ink-soft);
  font: inherit;
  font-size: 0.875rem;
  font-weight: 650;
  cursor: pointer;
}

.lang-switch button[aria-pressed="true"] {
  background: var(--ink);
  color: var(--cream-bead);
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(280px, 0.95fr);
  gap: clamp(32px, 5vw, 72px);
  align-items: center;
  padding: clamp(40px, 7vw, 88px) 0 56px;
}

.hero > * {
  min-width: 0;
}

.hero h1 {
  margin: 0 0 16px;
  max-width: 20ch;
  font-size: clamp(2.4rem, 6vw, 4.4rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.12;
  text-wrap: balance;
  overflow-wrap: normal;
}

:lang(zh-Hans) .hero h1,
:lang(zh-Hans) .section h2,
:lang(zh-Hans) .page-hero h1 {
  letter-spacing: 0;
  max-width: 12em;
}

:lang(zh-Hans) .hero h1,
:lang(zh-Hans) .section h2,
:lang(zh-Hans) .faq-block > h2,
:lang(zh-Hans) .page-hero h1,
:lang(zh-Hans) .lost h1,
:lang(zh-Hans) .cta-close h2 {
  letter-spacing: 0;
  line-height: 1.18;
}

:lang(zh-Hans) .hero h1 {
  max-width: 7.2em;
}

.hero .lede {
  max-width: 44ch;
  margin: 0 0 28px;
  color: var(--ink-soft);
  font-family: var(--font-body);
  font-size: 1.15rem;
  line-height: 1.65;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 28px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 22px;
  border-radius: 999px;
  border: 1px solid transparent;
  font: inherit;
  font-weight: 700;
  text-decoration: none;
  cursor: pointer;
  transition: transform 160ms var(--ease), background-color 160ms var(--ease);
}

.btn:active {
  transform: scale(0.98);
}

.btn-primary {
  background: var(--coral);
  color: #fff8f4;
}

.btn-primary:hover {
  background: var(--coral-deep);
  color: #fff8f4;
}

.btn-ghost {
  background: transparent;
  color: var(--ink);
  border-color: var(--line);
}

.btn-ghost:hover {
  background: var(--surface);
  color: var(--ink);
}

.hero-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 20px;
  color: var(--muted);
  font-size: 0.92rem;
}

.pegboard {
  position: relative;
  aspect-ratio: 1;
  width: min(100%, 520px);
  margin-inline: auto;
  padding: 18px;
  border-radius: 16px;
  background:
    radial-gradient(circle at 50% 50%, #f6efe3 0 40%, transparent 42%) 0 0 / 20px 20px,
    #e6d6c0;
  box-shadow: 0 22px 44px var(--shadow), inset 0 0 0 1px color-mix(in srgb, var(--clay) 14%, transparent);
}

.pegboard svg {
  width: 100%;
  height: 100%;
}

.pegboard--loop,
.pegboard--lost {
  width: 100%;
  max-width: none;
  margin: 0;
  box-shadow: none;
}

.pegboard--lost {
  width: min(100%, 220px);
  margin: 0 auto 24px;
  padding: 12px;
}

.section {
  padding: clamp(56px, 8vw, 104px) 0;
}

.section-kicker {
  margin: 0 0 12px;
  color: var(--coral);
  font-size: 0.95rem;
  font-weight: 700;
}

.section h2 {
  margin: 0 0 16px;
  max-width: 22ch;
  font-size: clamp(1.9rem, 4vw, 3rem);
  letter-spacing: -0.03em;
  line-height: 1.16;
  text-wrap: balance;
}

.section .prose {
  max-width: var(--measure);
  color: var(--ink-soft);
  font-family: var(--font-body);
  font-size: 1.125rem;
  line-height: 1.7;
}

.story-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 48px;
  align-items: end;
}

.story-photo {
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--canvas-deep);
}

.story-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 42%;
  aspect-ratio: 5 / 4;
}

.loop {
  display: grid;
  gap: 0;
}

.loop-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 48px;
  align-items: center;
  padding: 40px 0;
  border-top: 1px solid var(--line);
}

.loop-row:last-child {
  border-bottom: 1px solid var(--line);
}

.loop-row:nth-child(even) .loop-copy {
  order: 2;
}

.loop-visual {
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--surface);
}

.loop-visual img {
  width: 100%;
  aspect-ratio: 5 / 4;
  object-fit: cover;
}

.loop-art {
  display: grid;
  place-items: center;
  min-height: 0;
  aspect-ratio: 5 / 4;
  padding: clamp(16px, 3vw, 28px);
  background:
    linear-gradient(180deg, color-mix(in srgb, var(--surface) 88%, #fff) 0%, var(--canvas-deep) 100%);
}

.crop-frame {
  position: relative;
  width: min(100%, 360px);
  aspect-ratio: 1;
  padding: 18px;
  background:
    radial-gradient(circle at 50% 50%, #f7f1e6 0 42%, transparent 43%) 0 0 / 16px 16px,
    #efe4d4;
  box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--clay) 12%, transparent);
}

.crop-frame::before,
.crop-frame::after {
  content: "";
  position: absolute;
  width: 22px;
  height: 22px;
  border: 2.5px solid var(--coral);
  pointer-events: none;
}

.crop-frame::before {
  top: 8px;
  inset-inline-start: 8px;
  border-right: 0;
  border-bottom: 0;
}

.crop-frame::after {
  inset-inline-end: 8px;
  bottom: 8px;
  border-inline-start: 0;
  border-top: 0;
}

.crop-frame .pegboard {
  width: 100%;
  height: 100%;
  padding: 8px;
  border-radius: 8px;
  box-shadow: none;
}

.loop-copy h3 {
  margin: 0 0 10px;
  font-size: 1.7rem;
  letter-spacing: -0.02em;
}

.loop-copy p {
  margin: 0;
  max-width: 42ch;
  color: var(--ink-soft);
  font-family: var(--font-body);
  font-size: 1.05rem;
  line-height: 1.7;
}

.spec-band {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 40px;
  padding: 36px;
  background: var(--ink);
  color: #f6efe6;
  border-radius: 16px;
}

.spec-band h2 {
  color: #f6efe6;
  max-width: 22ch;
}

.spec-band p {
  margin: 0;
  color: color-mix(in srgb, #f6efe6 74%, #ab7a63);
  font-family: var(--font-body);
}

.spec-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px 24px;
  margin: 0;
}

.spec-list div {
  padding-top: 12px;
  border-top: 1px solid color-mix(in srgb, #f6efe6 16%, transparent);
}

.spec-list dt {
  margin: 0 0 6px;
  color: #f0b09f;
  font-size: 0.85rem;
  font-weight: 700;
}

.spec-list dd {
  margin: 0;
  font-size: 1.2rem;
  font-weight: 650;
  letter-spacing: -0.02em;
}

.spec-list div:last-child {
  grid-column: 1 / -1;
}

.palette-strip {
  display: grid;
  gap: 12px;
  margin-top: 28px;
  padding: 24px 0;
  border-top: 1px solid var(--line);
}

.palette-strip p {
  margin: 8px 0 0;
  color: var(--ink-soft);
}

.swatches {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.swatches i,
.sw {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  box-shadow: inset 0 0 0 4px color-mix(in srgb, var(--canvas) 55%, transparent);
}

.sw-a { background: #f7f5ee; }
.sw-b { background: #ec654f; }
.sw-c { background: #f6c928; }
.sw-d { background: #8acdb7; }
.sw-e { background: #24446f; }
.sw-f { background: #232326; }
.sw-g { background: #f8f7f1; }
.sw-h { background: #d8473e; }
.sw-i { background: #eab0a1; }
.sw-j { background: #b58cc7; }
.sw-k { background: #e9782d; }
.sw-l { background: #f4d63b; }
.sw-m { background: #4a9c62; }
.sw-n { background: #3977b7; }
.sw-o { background: #c84b7a; }
.sw-p { background: #c58a55; }
.sw-q { background: #78529a; }
.sw-r { background: #f4b183; }

.locale-cloud {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 24px;
}

.locale-cloud span {
  display: inline-flex;
  align-items: center;
  min-height: 40px;
  padding: 0 14px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--surface);
  font-size: 0.92rem;
}

.offline-band {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 32px;
  align-items: start;
  padding: 36px;
  background: var(--sage-pale);
  border-radius: 16px;
}

.offline-band h2 {
  max-width: 18ch;
}

.offline-points {
  display: grid;
  gap: 16px;
  margin: 0;
}

.offline-points div {
  padding-bottom: 16px;
  border-bottom: 1px solid color-mix(in srgb, var(--sage-text) 16%, transparent);
}

.offline-points dt {
  margin: 0 0 4px;
  font-weight: 700;
}

.offline-points dd {
  margin: 0;
  color: var(--ink-soft);
  font-family: var(--font-body);
}

.cta-close {
  text-align: center;
  padding: 72px 20px;
}

.cta-close h2 {
  margin-inline: auto;
}

.cta-close .prose {
  margin-inline: auto;
}

.cta-actions,
.lost-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  margin-top: 24px;
}

.site-footer {
  padding: 48px 0 32px;
  border-top: 1px solid var(--line);
  background: color-mix(in srgb, var(--canvas-deep) 70%, var(--canvas));
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 32px;
}

.footer-grid h2 {
  margin: 0 0 12px;
  font-size: 0.85rem;
  color: var(--muted);
}

.footer-grid ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.footer-grid li + li {
  margin-top: 8px;
}

.footer-grid a {
  color: var(--ink);
  text-decoration: none;
}

.footer-grid a:hover {
  color: var(--coral);
}

.legal-note {
  margin-top: 32px;
  color: var(--muted);
  font-size: 0.85rem;
  max-width: 72ch;
}

.page-hero {
  padding: 56px 0 24px;
}

.page-hero h1 {
  margin: 0 0 12px;
  max-width: 18ch;
  font-size: clamp(2.1rem, 5vw, 3.4rem);
  letter-spacing: -0.03em;
  line-height: 1.16;
}

.page-hero p {
  max-width: 58ch;
  margin: 0;
  color: var(--ink-soft);
  font-family: var(--font-body);
  font-size: 1.15rem;
  line-height: 1.65;
}

.privacy-updated {
  margin-top: 16px !important;
  color: var(--muted) !important;
  font-size: 0.95rem !important;
}

.policy {
  display: grid;
  grid-template-columns: 220px minmax(0, 1fr);
  gap: 48px;
  padding-bottom: 80px;
}

.toc {
  position: sticky;
  top: calc(var(--header-h) + 16px);
  align-self: start;
  padding: 4px 0 8px;
  background: color-mix(in srgb, var(--canvas) 92%, transparent);
}

.toc-kicker {
  margin: 0 0 8px;
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.toc ol {
  margin: 0;
  padding: 0;
  list-style: none;
}

.toc a {
  display: flex;
  align-items: center;
  min-height: 40px;
  color: var(--ink-soft);
  text-decoration: none;
  font-size: 0.92rem;
}

.toc a:hover,
.toc a:focus-visible {
  color: var(--coral);
}

.policy-body {
  max-width: 68ch;
}

.policy-body h2 {
  margin: 40px 0 12px;
  max-width: none;
  font-size: 1.45rem;
}

.policy-body p,
.policy-body li {
  max-width: var(--measure);
  color: var(--ink-soft);
  font-family: var(--font-body);
  font-size: 1.08rem;
  line-height: 1.75;
}

.policy-body ul {
  padding-inline-start: 1.2em;
}

.faq-block {
  padding-bottom: 80px;
}

.faq-block > h2 {
  margin: 0 0 20px;
  max-width: 22ch;
  font-size: clamp(1.7rem, 4vw, 2.4rem);
  letter-spacing: -0.03em;
  line-height: 1.18;
}

.support-layout {
  display: grid;
  grid-template-columns: minmax(240px, 0.85fr) minmax(0, 1.15fr);
  gap: 32px;
}

.ask-list {
  display: grid;
  gap: 6px;
}

.ask-item {
  min-width: 0;
}

.ask-list button {
  display: block;
  width: 100%;
  min-height: 48px;
  padding: 12px 14px;
  border: 1px solid transparent;
  border-radius: var(--radius-sm);
  background: transparent;
  color: var(--ink);
  font: inherit;
  font-weight: 650;
  text-align: start;
  cursor: pointer;
}

.ask-list button[aria-pressed="true"] {
  background: var(--surface);
  border-color: var(--line);
  color: var(--coral);
}

.faq-inline {
  display: none;
}

.answer-panel {
  min-height: 220px;
  padding: 28px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  position: sticky;
  top: calc(var(--header-h) + 16px);
}

.answer-panel h2 {
  margin: 0 0 12px;
  font-size: 1.5rem;
}

.answer-panel p,
.answer-panel li {
  color: var(--ink-soft);
  font-family: var(--font-body);
  line-height: 1.7;
}

.contact-card {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  margin: 8px 0 32px;
  padding: 28px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.contact-card h2 {
  margin: 0 0 8px;
  max-width: none;
  font-size: 1.3rem;
}

.contact-card p,
.contact-card li {
  margin: 0;
  color: var(--ink-soft);
  font-family: var(--font-body);
}

.contact-card ol {
  margin: 8px 0 0;
  padding-inline-start: 1.2em;
}

.contact-mail,
.contact-note {
  margin-top: 16px !important;
}

.contact-mail a {
  display: inline-block;
  margin-top: 4px;
  font-size: 1.2rem;
  font-weight: 700;
  word-break: break-all;
}

.workspace-note {
  max-width: var(--measure);
  margin: 0 0 40px;
  color: var(--muted);
  font-family: var(--font-body);
  font-size: 0.98rem;
  line-height: 1.65;
}

.lost {
  min-height: 70dvh;
  display: grid;
  place-items: center;
  text-align: center;
  padding: 80px 20px;
}

.lost h1 {
  margin: 0 0 12px;
  font-size: clamp(2.4rem, 8vw, 4rem);
}

.lost .prose {
  margin-inline: auto;
  color: var(--ink-soft);
  font-family: var(--font-body);
}

.lost-mark {
  width: 72px;
  height: 72px;
  margin: 0 auto 20px;
  border-radius: 16px;
  background:
    radial-gradient(circle at 28% 68%, #ab291a 0 22%, transparent 23%),
    radial-gradient(circle at 50% 38%, #e3a126 0 22%, transparent 23%),
    radial-gradient(circle at 72% 68%, #6e8f62 0 22%, transparent 23%),
    radial-gradient(circle at 50% 50%, #d8cfc3 0 8%, transparent 9%) 0 0 / 18px 18px,
    #efe4d4;
  box-shadow: 0 10px 24px var(--shadow);
}

.lost .pegboard--lost {
  box-shadow: 0 10px 24px var(--shadow);
}

@media (max-width: 900px) {
  :root {
    --wrap: min(1180px, calc(100% - 32px));
  }

  .header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    column-gap: 8px;
  }

  .header-tools {
    display: flex;
    align-items: center;
    gap: 8px;
  }

  .lang-switch {
    width: max-content;
  }

  .nav-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    padding: 0;
    z-index: calc(var(--z-header) + 1);
  }

  .nav-toggle .nav-toggle-text {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0 0 0 0);
  }

  .nav-backdrop {
    display: block;
    position: fixed;
    inset: 0;
    z-index: var(--z-overlay);
    background: color-mix(in srgb, var(--clay) 46%, transparent);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 220ms var(--ease), visibility 220ms var(--ease);
  }

  .site-header.is-open .nav-backdrop,
  body.is-nav-open .nav-backdrop {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
  }

  .nav-cluster {
    display: flex;
    position: fixed;
    top: 0;
    bottom: 0;
    inset-inline-end: 0;
    inset-inline-start: auto;
    z-index: var(--z-drawer);
    width: min(22rem, 88vw);
    max-width: 100%;
    margin: 0;
    padding: calc(var(--header-h) + 20px) 22px max(32px, env(safe-area-inset-bottom));
    background: #fbf6ee;
    border: 0;
    border-inline-start: 1px solid var(--line);
    border-radius: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 8px;
    box-shadow: -18px 0 40px var(--shadow);
    transform: translateX(100%);
    visibility: hidden;
    pointer-events: none;
    transition: transform 280ms var(--ease), visibility 280ms var(--ease);
  }

  .site-header.is-open .nav-cluster,
  body.is-nav-open .nav-cluster {
    transform: translateX(0);
    visibility: visible;
    pointer-events: auto;
  }

  .site-nav {
    flex-direction: column;
    align-items: stretch;
  }

  .site-nav a {
    min-height: 52px;
    padding: 0 12px;
    font-size: 1.15rem;
    border-radius: var(--radius-sm);
  }

  .site-nav a[aria-current="page"] {
    box-shadow: none;
    background: color-mix(in srgb, var(--coral) 9%, #fbf6ee);
  }

  .hero,
  .story-grid,
  .loop-row,
  .spec-band,
  .offline-band,
  .policy,
  .support-layout,
  .footer-grid,
  .contact-card {
    grid-template-columns: 1fr;
  }

  .loop-row:nth-child(even) .loop-copy {
    order: 0;
  }

  .toc {
    position: static;
    padding: 0 0 20px;
    margin-bottom: 8px;
    background: none;
    border-bottom: 1px solid var(--line);
  }

  .toc ol {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
  }

  .toc li {
    margin: 0;
  }

  .toc a {
    min-height: 36px;
    padding: 0 12px;
    border: 1px solid var(--line);
    border-radius: 999px;
    background: var(--surface);
    font-size: 0.82rem;
  }

  .spec-list {
    grid-template-columns: 1fr 1fr;
  }

  .answer-panel {
    display: none;
  }

  .ask-item {
    border-bottom: 1px solid var(--line);
  }

  .faq-inline {
    display: none;
    padding: 0 14px 16px;
    color: var(--ink-soft);
    font-family: var(--font-body);
    line-height: 1.7;
  }

  .ask-item.is-current .faq-inline {
    display: block;
  }

  .faq-inline p {
    margin: 0;
  }
}

@media (min-width: 901px) {
  .faq-inline {
    display: none !important;
  }
}

@media (max-width: 560px) {
  .hero h1,
  .page-hero h1,
  .section h2 {
    max-width: none;
  }

  .spec-list,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .hero-actions,
  .lost-actions,
  .cta-actions {
    width: 100%;
  }

  .hero-actions .btn,
  .lost-actions .btn,
  .cta-actions .btn {
    width: 100%;
  }

  .brand-name span {
    display: none;
  }

  .lang-switch {
    flex: none;
  }

  .lang-switch button {
    min-width: 36px;
    min-height: 36px;
    padding: 0 8px;
    font-size: 0.8rem;
  }

  .nav-toggle .nav-toggle-text {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0 0 0 0);
  }

  .nav-toggle {
    width: 44px;
    padding: 0;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }
}

.live-flag {
  margin: 0 0 14px;
  color: var(--coral);
  font-size: 0.95rem;
  font-weight: 700;
}

.hero-actions .text-link {
  display: inline-flex;
  align-items: center;
  min-height: 48px;
  padding: 0 6px;
  color: var(--ink);
  font-weight: 700;
}

.hero-actions .text-link:hover {
  color: var(--coral);
}

.btn-store {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 40px;
  padding: 0 14px;
  border: 1px solid var(--clay);
  border-radius: 999px;
  background: var(--ink);
  color: var(--cream-bead);
  font: inherit;
  font-size: 0.82rem;
  font-weight: 700;
  text-decoration: none;
}

.btn-store:hover {
  background: var(--coral);
  border-color: var(--coral);
  color: #fff8f4;
}

.locale-picker {
  position: relative;
}

.locale-picker details {
  position: relative;
}

.locale-picker summary {
  display: inline-flex;
  align-items: center;
  min-height: 40px;
  min-width: 44px;
  padding: 0 14px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--surface);
  color: var(--ink);
  font: inherit;
  font-size: 0.82rem;
  font-weight: 650;
  cursor: pointer;
  list-style: none;
}

.locale-picker summary::-webkit-details-marker {
  display: none;
}

.locale-picker ul {
  position: absolute;
  inset-inline-end: 0;
  top: calc(100% + 8px);
  z-index: calc(var(--z-header) + 2);
  display: grid;
  gap: 2px;
  min-width: 12.5rem;
  max-height: min(70vh, 28rem);
  overflow: auto;
  margin: 0;
  padding: 8px;
  list-style: none;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  box-shadow: 0 14px 36px color-mix(in srgb, var(--ink) 14%, transparent);
}

.locale-picker a {
  display: flex;
  align-items: center;
  min-height: 40px;
  padding: 0 10px;
  color: var(--ink);
  text-decoration: none;
  border-radius: 6px;
}

.locale-picker a:hover,
.locale-picker a[aria-current="true"] {
  background: color-mix(in srgb, var(--coral) 9%, var(--surface));
  color: var(--coral);
}

.entity {
  max-width: 68ch;
  padding-top: 8px;
}

.entity h2 {
  max-width: none;
}

.entity p {
  color: var(--ink-soft);
  font-family: var(--font-body);
  font-size: 1.08rem;
  line-height: 1.75;
}

.download-band {
  margin: 0 0 40px;
  padding: 28px;
  background: var(--sage-pale);
  border-radius: var(--radius);
}

.download-band h2 {
  margin: 0 0 8px;
  max-width: none;
  font-size: 1.35rem;
}

.download-band p {
  margin: 0 0 16px;
  max-width: var(--measure);
  color: var(--ink-soft);
  font-family: var(--font-body);
}

.guides {
  display: grid;
  gap: 28px;
  margin-bottom: 56px;
}

.guides > h2,
.qa > h2 {
  margin: 0;
  max-width: 22ch;
  font-size: clamp(1.7rem, 4vw, 2.4rem);
  letter-spacing: -0.03em;
}

.guides article,
.qa-item {
  padding-top: 20px;
  border-top: 1px solid var(--line);
}

.guides h3,
.qa-item h3 {
  margin: 0 0 8px;
  font-size: 1.25rem;
}

.guides p,
.qa-item p {
  margin: 0;
  max-width: var(--measure);
  color: var(--ink-soft);
  font-family: var(--font-body);
  line-height: 1.7;
}

.qa {
  display: grid;
  gap: 8px;
  padding-bottom: 80px;
}

html[lang="ar"] {
  --font-ui: "Bricolage Grotesque", "Avenir Next", "Geeza Pro", "Noto Sans Arabic", "Tahoma", sans-serif;
  --font-body: "Source Serif 4", "Iowan Old Style", "Geeza Pro", "Noto Naskh Arabic", serif;
}

html[lang="hi"] {
  --font-ui: "Bricolage Grotesque", "Kohinoor Devanagari", "Noto Sans Devanagari", "Mangal", sans-serif;
  --font-body: "Source Serif 4", "Kohinoor Devanagari", "Noto Serif Devanagari", serif;
}

html[dir="rtl"] .hero h1,
html[dir="rtl"] .section h2,
html[dir="rtl"] .page-hero h1 {
  letter-spacing: 0;
}

@media (max-width: 900px) {
  .header-tools .btn-store {
    display: none;
  }

  .locale-picker ul {
    position: fixed;
    inset: auto 16px auto 16px;
    top: calc(var(--header-h) + 8px);
    max-height: min(70dvh, 28rem);
    overflow: auto;
  }
}

@media print {
  @page {
    margin: 1.6cm;
  }

  .site-header,
  .site-footer,
  .skip-link,
  .lang-switch,
  .nav-toggle,
  .nav-backdrop,
  .toc,
  .hero-actions,
  .cta-close,
  .pegboard,
  .lost-mark,
  .nav-cluster,
  .hero-meta {
    display: none !important;
  }

  html,
  body {
    background: #fff;
    color: #111;
    overflow: visible;
  }

  body {
    font-size: 11.5pt;
    line-height: 1.5;
    background: #fff;
  }

  .wrap {
    width: auto;
  }

  .page-hero {
    padding-top: 0;
  }

  .page-hero p,
  .policy-body p,
  .policy-body li {
    max-width: none;
    color: #222;
  }

  .privacy-updated {
    color: #333 !important;
  }

  .policy {
    display: block;
    padding-bottom: 0;
  }

  .policy-body {
    max-width: none;
  }

  .policy-body section {
    break-inside: avoid;
  }

  .policy-body a {
    color: inherit;
  }

  a[href^="http"]::after,
  a[href^="mailto"]::after {
    content: " (" attr(href) ")";
    font-size: 0.85em;
  }
}
