:root {
  --paper: #f4ecde;
  --paper-deep: #eadcc7;
  --ink: #29231c;
  --muted: #746858;
  --vermillion: #d6532d;
  --vermillion-dark: #a83b21;
  --bamboo: #415b49;
  --gold: #e6a63b;
  --line: rgba(41, 35, 28, .16);
  --soft-radius: 18px;
  --shadow: 0 24px 70px rgba(104, 65, 30, .14);
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; max-width: 100%; overflow-x: hidden; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: var(--font-text);
  line-height: 1.6;
  overflow-x: hidden;
}
button, a { font: inherit; }
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
.hero-title-line { display: block; white-space: nowrap; }
.paper-noise {
  position: fixed; inset: 0; pointer-events: none; opacity: .24; z-index: 20;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 180 180' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url("/%23n")' opacity='.08'/%3E%3C/svg%3E");
}
.nav {
  width: min(1280px, calc(100% - 48px)); height: 82px; margin: 0 auto;
  display: flex; align-items: center; justify-content: space-between;
  border-bottom: 1px solid var(--line); position: relative; z-index: 30;
}
.brand { display: inline-flex; align-items: center; gap: 12px; font-weight: 700; letter-spacing: .04em; }
.brand-seal {
  width: 34px; height: 34px; display: grid; place-items: center; color: #fff;
  background: var(--vermillion); border-radius: 9px 9px 11px 8px;
  font-family: var(--font-title); font-size:20px;
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.28);
}
.nav nav { display: flex; align-items: center; gap: 28px; font-size:14px; }
.nav nav a { color: var(--muted); transition: color .2s ease; }
.nav nav a:hover { color: var(--vermillion); }
.nav nav .nav-creator { display: inline-flex; align-items: center; justify-content: center; min-height: 40px; padding: 9px 16px; border: 1px solid var(--vermillion); border-radius: 999px; color: var(--vermillion); font-weight: 700; white-space: nowrap; }
.nav nav .nav-creator:hover { background: var(--vermillion); color: #fffaf1; }
.creator-discovery { display: flex; align-items: center; justify-content: space-between; gap: 24px; margin-bottom: 32px; padding: 24px 28px; border: 1px solid var(--line); border-radius: 20px; background: rgba(65,91,73,.08); }
.creator-discovery h3 { margin: 0 0 7px; color: var(--ink); font-size:20px; }
.creator-discovery p { margin: 0; color: var(--muted); line-height: 1.7; }
.creator-discovery .hero-actions { flex-shrink: 0; flex-wrap: wrap; gap: 14px; margin: 0; }
.creator-outline { border: 1px solid var(--line); background: transparent; color: var(--ink); }
.creator-outline:hover { border-color: var(--vermillion); color: var(--vermillion); }
.creator-invite { display: grid; grid-template-columns: minmax(0,1.1fr) minmax(0,.9fr); align-items: start; gap: 64px; }
.creator-invite-copy h2 { margin: 0 0 24px; font-size: clamp(34px,4.6vw,60px); line-height: 1.2; }
.creator-invite-copy > p:not(.eyebrow) { max-width: 46ch; color: var(--muted); line-height: 1.8; }
.creator-invite-copy .hero-actions { flex-wrap: wrap; gap: 20px; margin-top: 26px; }
.creator-invite-copy .creator-invite-note { margin-top: 22px; font-size:12px; }
.creator-invite-steps { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); }
.creator-invite-steps li { display: grid; grid-template-columns: 48px minmax(0,1fr); gap: 18px; padding: 25px 0; border-bottom: 1px solid var(--line); }
.creator-step-number { color: var(--vermillion); font-size:24px; font-weight: 700; }
.creator-invite-steps h3 { margin: 0 0 9px; font-size:20px; }
.creator-invite-steps p { margin: 0; color: var(--muted); line-height: 1.7; }
@media (max-width: 1040px) {
  .creator-discovery { align-items: flex-start; flex-direction: column; }
  .creator-invite { gap: 32px; }
}
@media (max-width: 820px) {
  .creator-invite { grid-template-columns: 1fr; }
}
@media (max-width: 540px) {
  .nav { flex-wrap: wrap; gap: 12px; }
  .nav nav .nav-creator { min-height: 36px; padding: 7px 12px; font-size:12px; }
  .creator-discovery { padding: 20px; }
  .creator-discovery .hero-actions { width: 100%; }
  .creator-discovery .button { flex: 1 1 auto; }
}
.language {
  border: 1px solid var(--line); background: rgba(255,255,255,.28);
  border-radius: 999px; padding: 7px 13px; cursor: pointer; color: var(--ink);
}
.hero {
  width: min(1280px, calc(100% - 48px)); min-height: min(680px, calc(100dvh - 82px)); margin: 0 auto;
  display: grid; grid-template-columns: 1.02fr .98fr; align-items: center; gap: 40px;
  min-width: 0;
}
.hero-copy { padding: 48px 0 56px 4vw; position: relative; z-index: 2; }
.eyebrow {
  color: var(--vermillion); font-size:12px; font-weight: 700;
  letter-spacing: .18em; text-transform: uppercase; margin: 0 0 20px;
}
h1, h2 {
  font-family: var(--font-title);
  font-weight: 700; letter-spacing: -.04em; line-height: 1.08; margin: 0;
}
h1 { font-size: clamp(64px, 7vw, 108px); }
h2 { font-size: clamp(42px, 5.2vw, 76px); }
.hero-copy h1 { max-width: 720px; font-size: clamp(42px, 4.8vw, 78px); text-wrap: normal; }
html[lang="en"] .hero-copy h1 { font-size: clamp(24px, 3.7vw, 60px); }
.lead { max-width: 610px; font-size:16px; color: var(--muted); margin: 22px 0 18px; text-wrap: pretty; }
.hero-facts {
  width: fit-content; display: flex; align-items: center; gap: 12px; margin: 0 0 24px;
  padding: 10px 14px; border-left: 3px solid var(--vermillion);
  background: rgba(255,255,255,.24); color: var(--ink); font-size:14px; font-weight: 600;
}
.hero-facts b { color: var(--vermillion); }
.hero-actions { display: flex; gap: 18px; align-items: center; }
.button {
  min-height: 50px; display: inline-flex; align-items: center; justify-content: center;
  border-radius: 999px; padding: 0 26px; font-weight: 700;
}
.button:active, .strike-button:active, .small-download:active { transform: translateY(1px); }
.primary { color: #fff; background: var(--vermillion); box-shadow: 0 12px 30px rgba(180,67,34,.22); }
.primary:hover { background: var(--vermillion-dark); }
.text-button { border-bottom: 1px solid var(--ink); border-radius: 0; padding-inline: 2px; min-height: 38px; }
.microcopy { font-size:12px; color: var(--muted); margin-top: 18px; }
.desktop-stage {
  min-height: 540px; position: relative; display: grid; place-items: center;
  isolation: isolate; margin-right: -4vw; min-width: 0;
}
.counter-demo {
  width: 260px; height: 300px; position: relative; transform: scale(1.18);
}
.counter-demo strong {
  position: absolute; width: 100%; top: -31px; text-align: center; color: #ef8a25;
  font: 500 30px/1 var(--font-num);
}
#demo-plus {
  position: absolute; opacity: 0; width: 80px; left: 20px; top: 52px; text-align: center;
  color: #ef8a25; font-size:24px; font-weight: 700;
}
.hero-pack-preview {
  position: absolute; width: 240px; height: 170px; left: 10px; bottom: 18px;
  overflow: hidden;
}
.pack-preview canvas { display: block; width: 240px; height: 170px; }
.pack-preview[data-preview-state="error"] { display: grid; place-items: center; font-size:12px; color: #b04424; }
.counter-demo.striking #demo-plus { animation: meritPlus .5s ease-out; }
@keyframes meritPlus { 0% { opacity: 0; transform: translateY(10px); } 35% { opacity: 1; } 100% { opacity: 0; transform: translateY(-10px); } }
.strike-button {
  position: absolute; bottom: 40px; border: 1px solid rgba(255,255,255,.35);
  background: rgba(244,236,222,.92); color: var(--ink); border-radius: 999px;
  padding: 11px 20px; cursor: pointer; box-shadow: var(--shadow);
}
.promise-strip {
  border-block: 1px solid var(--line); display: grid; grid-template-columns: repeat(4,1fr);
  width: min(1280px, calc(100% - 48px)); margin: 0 auto;
}
.promise-strip div { padding: 25px; display: flex; gap: 14px; justify-content: center; border-right: 1px solid var(--line); }
.promise-strip div:last-child { border-right: 0; }
.promise-strip b { color: var(--vermillion); font-size:11px; }
.section { width: min(1180px, calc(100% - 48px)); margin: 0 auto; padding: 140px 0; }
.section-heading { display: grid; grid-template-columns: 1.2fr .8fr; column-gap: 60px; align-items: end; margin-bottom: 58px; }
.section-heading .eyebrow { grid-column: 1 / -1; }
.section-heading p:last-child { color: var(--muted); margin: 0 0 8px; max-width: 470px; }
.character-rail {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(155px, 1fr)); gap: 12px;
}
.character-card {
  min-width: 0; min-height: 270px; border: 1px solid var(--line);
  border-radius: 14px; padding: 15px; position: relative; overflow: hidden;
  background: rgba(255,255,255,.22); display: flex; flex-direction: column;
}
.character-card.large { grid-column: auto; }
.character-card.paid-pack { grid-column: auto; background: var(--bamboo); color: #fff; }
.character-preview {
  width: 240px; height: 170px; position: relative; align-self: center; flex: 0 0 auto;
  margin-block: -11px; overflow: hidden;
  transform: scale(.84);
  transform-origin: 50% 100%;
}
.preview-layer { position: absolute; object-fit: fill; pointer-events: none; }
.pack-preview[data-preview-state="loading"]::after {
  content: ""; position: absolute; inset: 46px 78px; border-radius: 50%;
  background: rgba(255,255,255,.12);
}
.character-card h3 { margin: 8px 0 2px; font-size:20px; }
.character-card p { margin: 0; color: var(--muted); font-size:14px; line-height: 1.45; }
.paid-pack p { color: rgba(255,255,255,.7); }
.tag {
  position: absolute; top: 18px; left: 18px; z-index: 2; border: 1px solid var(--line);
  border-radius: 999px; padding: 5px 10px; font-size:11px; background: rgba(244,236,222,.8);
}
.tag.accent { background: var(--gold); color: var(--ink); border-color: transparent; }
.small-download {
  align-self: flex-start; margin-top: auto; border-radius: 999px; padding: 7px 12px;
  border: 0; background: var(--vermillion); color: #fff; font-size:12px; font-weight: 700; cursor: pointer;
}
.manual-link {
  display: inline-flex; width: fit-content; margin-top: 18px; padding: 10px 16px;
  border: 1px solid var(--ink); border-radius: 999px; color: var(--ink);
  font-size:14px; font-weight: 700; text-decoration: none;
}
.manual-link:hover { background: var(--ink); color: var(--paper); }
.pack-choice { display: flex; align-items: center; gap: 7px; margin-top: auto; color: #fff; font-size:12px; font-weight: 700; cursor: pointer; }
.pack-choice input { width: 18px; height: 18px; accent-color: var(--gold); }
.pack-purchase-bar { display: flex; justify-content: space-between; align-items: center; gap: 18px; margin-top: 18px; padding: 16px 18px; border: 1px solid var(--line); border-radius: 16px; background: rgba(255,255,255,.26); }
.pack-purchase-bar strong { color: var(--vermillion); font-size:24px; }
.selection-feedback { display: block; color: var(--vermillion); font-size:12px; margin-top: 5px; }
.selected-pack-summary { padding: 14px 16px; border: 1px solid var(--line); border-radius: 14px; background: rgba(255,255,255,.3); }
.selected-pack-summary strong { color: var(--vermillion); }
.selected-pack-summary ul { margin: 8px 0 0; padding-left: 20px; color: var(--muted); font-size:14px; }
.payment-modal { position: fixed; inset: 0; z-index: 100; display: grid; place-items: center; padding: 22px; }
.payment-modal[hidden] { display: none; }
.payment-backdrop { position: absolute; inset: 0; background: rgba(30, 25, 19, .58); backdrop-filter: blur(8px); }
.payment-sheet {
  width: min(540px, 100%); position: relative; z-index: 1; border-radius: 26px; padding: 34px;
  background: var(--paper); box-shadow: 0 32px 90px rgba(25, 18, 11, .28);
}
.payment-sheet h2 { font-size: clamp(34px, 6vw, 52px); }
.payment-copy { color: var(--muted); margin: 18px 0 24px; }
.phone-verification { display: grid; grid-template-columns: 1fr auto; gap: 10px; margin-bottom: 14px; }
.phone-verification label { display: grid; gap: 5px; font-size:12px; color: var(--muted); }
.phone-verification input { min-height: 44px; border: 1px solid var(--line); border-radius: 12px; padding: 0 13px; background: rgba(255,255,255,.48); color: var(--ink); font: inherit; }
.sms-send, .sms-verify { align-self: end; min-height: 44px; border: 1px solid var(--line); border-radius: 12px; padding: 0 14px; background: rgba(255,255,255,.42); color: var(--ink); font-weight: 700; cursor: pointer; }
.price-rules { display: grid; gap: 8px; margin: 16px 0; }
.price-rules div { display: grid; grid-template-columns: 62px 1fr; align-items: center; gap: 8px; font-size:12px; color: var(--muted); }
.price-rules strong { color: var(--vermillion); font-size:16px; }
.payment-close { position: absolute; right: 18px; top: 14px; border: 0; background: transparent; font-size:30px; cursor: pointer; }
.purchase-modes, .payment-channels { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.purchase-modes { margin-bottom: 12px; }
.purchase-mode, .payment-channel {
  display: grid; gap: 2px; text-align: left; border: 1px solid var(--line); border-radius: 14px;
  padding: 14px 16px; background: rgba(255,255,255,.35); cursor: pointer;
}
.purchase-mode small, .payment-channel small { color: var(--muted); line-height: 1.4; }
.purchase-mode.selected, .payment-channel.selected { border-color: var(--vermillion); box-shadow: inset 0 0 0 1px var(--vermillion); }
.payment-channel:disabled { cursor: not-allowed; opacity: .42; }
.payment-summary { display: flex; justify-content: space-between; align-items: center; margin: 24px 0 12px; }
.payment-summary strong { color: var(--vermillion); font-size:30px; }
.payment-submit { width: 100%; min-height: 50px; border: 0; border-radius: 999px; background: var(--vermillion); color: #fff; font-weight: 700; }
.payment-submit:disabled { opacity: .48; }
.payment-status { min-height: 24px; margin: 10px 0 0; color: var(--muted); font-size:14px; text-align: center; }
.modal-open { overflow: hidden; }
.support { display: grid; grid-template-columns: 1.2fr .8fr; gap: 8vw; align-items: center; }
.support-copy > p:last-child { max-width: 650px; color: var(--muted); line-height: 1.8; }
.support-card { border: 1px solid var(--line); border-radius: 24px; padding: 34px; background: rgba(255,255,255,.24); }
.support-card > strong { font-size:30px; }
.support-card p { color: var(--muted); margin: 10px 0 24px; }
.support-modal { position: fixed; inset: 0; z-index: 101; display: grid; place-items: center; padding: 22px; }
.support-modal[hidden] { display: none; }
.support-amounts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin-bottom: 14px; }
.support-amounts button { min-height: 48px; border: 1px solid var(--line); border-radius: 14px; background: rgba(255,255,255,.35); color: var(--ink); font-size:20px; font-weight: 700; cursor: pointer; }
.support-amounts button.selected { border-color: var(--vermillion); box-shadow: inset 0 0 0 1px var(--vermillion); }
.privacy {
  width: 100%; max-width: none; padding-inline: max(24px, calc((100vw - 1180px)/2));
  display: grid; grid-template-columns: 1fr 1fr; gap: 9vw; align-items: center;
  background: var(--ink); color: var(--paper);
}
.privacy-diagram { min-height: 360px; display: flex; align-items: center; justify-content: center; gap: 16px; position: relative; }
.flow-item {
  width: 132px; aspect-ratio: 1; border: 1px solid rgba(255,255,255,.2);
  border-radius: 50%; display: grid; place-content: center; text-align: center; gap: 8px;
}
.flow-item span { color: var(--gold); font-size:38px; }
.flow-item b { font-size:12px; }
.flow-item.active { background: var(--vermillion); border-color: var(--vermillion); }
.flow-item.active span { color: #fff; }
.privacy-diagram i { color: rgba(255,255,255,.3); font-style: normal; }
.no-cloud {
  position: absolute; bottom: 5px; border-bottom: 1px solid var(--vermillion);
  color: rgba(255,255,255,.68); font-size:14px; letter-spacing: .12em;
}
.privacy-copy p:not(.eyebrow) { color: rgba(255,255,255,.62); max-width: 580px; margin: 30px 0; }
.privacy-copy a { color: var(--gold); border-bottom: 1px solid currentColor; }
.download {
  display: grid; grid-template-columns: .8fr 1.2fr;
  column-gap: 8vw; row-gap: 18px; align-items: start;
}
.download-intro { grid-row: 1 / span 3; }
.download-intro p:last-child { color: var(--muted); max-width: 470px; }
.download-options { grid-column: 2; border-top: 1px solid var(--line); }
.download-row {
  display: grid; grid-template-columns: 1fr 1.2fr auto; gap: 20px; align-items: center;
  padding: 28px 4px; border-bottom: 1px solid var(--line); transition: padding .2s ease, color .2s ease;
}
.download-row:hover { padding-left: 12px; color: var(--vermillion); }
.platform { font-size:24px; font-weight: 700; }
.download-row b { font-size:14px; }
.community { padding-top: 20px; display: grid; gap: 32px; }
.community-heading { display: grid; grid-template-columns: 1.1fr .9fr; align-items: end; gap: 8vw; }
.community-heading h2 { font-size: clamp(38px, 5vw, 68px); line-height: 1.12; }
.community-heading > p { max-width: 390px; margin: 0 0 8px; color: var(--muted); line-height: 1.8; }
.community-quotes { display: flex; gap: 18px; overflow-x: auto; overscroll-behavior-inline: contain; scroll-snap-type: x proximity; padding: 14px 4px 28px; scrollbar-color: var(--vermillion) transparent; }
.community-quotes figure { flex: 0 0 clamp(270px, 30vw, 340px); min-height: 190px; margin: 0; padding: 27px 30px; border: 1px solid var(--line); border-radius: 22px; background: rgba(255,250,241,.78); box-shadow: 0 18px 36px rgba(100,70,40,.06); scroll-snap-align: start; animation: community-float 7s ease-in-out infinite; }
.community-quotes figure:nth-child(3n+2) { background: rgba(65,91,73,.1); animation-delay: -3.5s; }
.community-quotes figure:nth-child(3n) { animation-delay: -1.8s; }
.community-quotes blockquote { margin: 0; font-size: clamp(19px, 2.2vw, 28px); font-weight: 700; line-height: 1.45; }
.community-quotes figure > p { margin: 0; font-size: clamp(17px, 1.8vw, 22px); font-weight: 700; line-height: 1.5; }
.community-quotes blockquote::before { content: '“'; color: var(--vermillion); }
.community-quotes blockquote::after { content: '”'; color: var(--vermillion); }
.community-quotes figcaption { margin-top: 20px; color: var(--muted); font-size:12px; }
@keyframes community-float { 50% { transform: translateY(-7px); } }
@media (max-width: 760px) {
  .community-heading { grid-template-columns: 1fr; gap: 20px; }
  .community-quotes figure { flex-basis: min(80vw, 340px); }
}
@media (prefers-reduced-motion: reduce) {
  .community-quotes figure { animation: none; }
}
.checksum-panel {
  grid-column: 2; padding: 0 20px; overflow: hidden;
  border: 1px solid var(--line); border-radius: 18px; background: rgba(255,255,255,.24);
}
.checksum-heading {
  display: flex; justify-content: space-between; align-items: center; gap: 18px;
  padding: 17px 0; cursor: pointer; list-style: none;
}
.checksum-heading::-webkit-details-marker { display: none; }
.checksum-heading span { color: var(--muted); font-size:12px; font-weight: 700; }
.checksum-heading span::after { content: "＋"; margin-left: 8px; color: var(--vermillion); }
.checksum-panel[open] .checksum-heading span::after { content: "−"; }
.checksum-content { display: grid; gap: 12px; padding: 0 0 18px; }
.checksum-full-link { justify-self: end; color: var(--vermillion); font-size:12px; font-weight: 700; }
.checksum-item { display: grid; grid-template-columns: minmax(180px,.8fr) minmax(0,1.7fr) auto; gap: 14px; align-items: center; padding-top: 12px; border-top: 1px solid var(--line); }
.checksum-item div { display: grid; gap: 2px; }
.checksum-item span { color: var(--muted); font-size:11px; }
.checksum-item code { overflow-wrap: anywhere; color: var(--muted); font-size:11px; line-height: 1.5; }
.checksum-item button { border: 1px solid var(--line); border-radius: 999px; padding: 8px 12px; background: transparent; color: var(--ink); font-size:11px; font-weight: 700; cursor: pointer; }
.checksum-item button:hover { border-color: var(--vermillion); color: var(--vermillion); }
.install-note {
  grid-column: 2; border-left: 3px solid var(--vermillion); padding: 4px 0 4px 20px; margin-top: 4px;
}
.install-note p { margin: 5px 0 0; color: var(--muted); font-size:14px; }
footer {
  width: min(1280px, calc(100% - 48px)); margin: 0 auto; padding: 46px 0;
  border-top: 1px solid var(--line); display: grid; grid-template-columns: 1fr 1fr auto;
  align-items: center; gap: 30px; color: var(--muted); font-size:14px;
}
footer > div:last-child { display: flex; gap: 20px; }
.footer-brand { color: var(--ink); }
.legal-page { min-height: 100vh; padding: 72px 24px; }
.legal-shell { width: min(760px, 100%); margin: 0 auto; }
.legal-shell .brand { margin-bottom: 64px; }
.legal-shell h1 { font-size: clamp(48px, 7vw, 76px); }
.legal-shell h2 { margin-top: 44px; font-size:30px; }
.legal-shell p, .legal-shell li { color: var(--muted); }
.legal-shell a { color: var(--vermillion); border-bottom: 1px solid currentColor; }
.legal-shell .back { display: inline-flex; margin-top: 42px; }
.legal-footer { margin-top: 72px; padding-top: 24px; border-top: 1px solid var(--line); font-size:14px; color: var(--muted); }
.reveal { opacity: 0; transform: translateY(22px); transition: opacity .7s ease, transform .7s ease; }
.reveal.visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; animation-duration: .001ms !important; transition-duration: .001ms !important; }
  .reveal { opacity: 1; transform: none; }
}
@media (max-width: 820px) {
  .nav { width: min(100% - 28px, 1280px); }
  .nav nav a { display: none; }
  .hero { width: min(100% - 28px, 1280px); grid-template-columns: 1fr; min-height: auto; }
  .hero-copy { padding: 24px 0 6px; }
  h1 { font-size: clamp(58px, 18vw, 78px); }
  .hero-copy h1 { font-size: clamp(36px, 11vw, 44px); }
  html[lang="en"] .hero-copy h1 { font-size: clamp(20px, 6.4vw, 28px); }
  .lead { font-size:16px; margin-block: 18px 14px; }
  .hero-facts { align-items: flex-start; font-size:12px; }
  .hero-actions { align-items: flex-start; flex-direction: column; gap: 8px; }
  .desktop-stage { min-height: 338px; margin: 0; overflow: clip; }
  .counter-demo { transform: scale(.72); }
  .strike-button { bottom: 10px; padding: 8px 14px; }
  .promise-strip { width: 100%; grid-template-columns: repeat(2,1fr); }
  .promise-strip div:nth-child(2) { border-right: 0; }
  .promise-strip div:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
  .section { width: min(100% - 28px, 1180px); padding: 90px 0; }
  .section-heading, .privacy, .download, .support { grid-template-columns: 1fr; }
  .section-heading { gap: 24px; }
  .character-rail { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  .character-card, .character-card.large, .character-card.paid-pack { min-height: 248px; padding: 13px; }
  .character-preview { margin-block: -11px; }
  .character-card h3 { font-size:16px; }
  .character-card p { font-size:12px; }
  .privacy { width: 100%; padding-inline: 20px; gap: 30px; }
  .privacy-diagram { transform: scale(.8); margin-inline: -45px; }
  .download { column-gap: 0; row-gap: 24px; }
  .download-intro { grid-row: auto; }
  .download-options, .checksum-panel, .install-note { grid-column: 1; }
  .checksum-heading { align-items: flex-start; flex-direction: column; gap: 6px; }
  .checksum-item { grid-template-columns: 1fr; }
  .checksum-item button { justify-self: start; }
  .download-row { grid-template-columns: 1fr auto; }
  .download-row span:nth-child(2) { display: none; }
  footer { width: min(100% - 28px, 1280px); grid-template-columns: 1fr; }
  .payment-sheet { padding: 28px 20px 22px; }
  .purchase-modes, .payment-channels { grid-template-columns: 1fr; }
  .phone-verification { grid-template-columns: 1fr; }
  .pack-purchase-bar { align-items: stretch; flex-direction: column; }
}

/* 0.8 visual system: warm desktop companion store */
:root {
  --paper: #f7f0e4;
  --paper-deep: #eadfce;
  --ink: #29231c;
  --muted: #746858;
  --vermillion: #d6532d;
  --forest: #415b49;
  --gold: #e6a72f;
  --line: rgba(71, 57, 42, .18);
  --card-radius: 18px;
}

.button,
.primary-button,
.download-button,
button {
  border-radius: 999px;
}

.card,
.character-card,
.download-card,
.checksum-panel {
  border-radius: var(--card-radius);
}

.download .checksum-panel {
  display: none;
}

.guide-page {
  margin: 0;
  min-height: 100vh;
  color: var(--ink);
  background:
    radial-gradient(circle at 86% 8%, rgba(230, 167, 47, .14), transparent 28rem),
    radial-gradient(circle at 8% 40%, rgba(214, 83, 45, .08), transparent 30rem),
    var(--paper);
  font-family: var(--font-text);
}

.guide-page * {
  box-sizing: border-box;
}

.guide-nav {
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
  min-height: 74px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--line);
}

.guide-brand,
.guide-page a {
  color: inherit;
  text-decoration: none;
}

.guide-brand {
  font-weight: 700;
  letter-spacing: .08em;
}

.guide-page .text-link {
  font-size:14px;
  border-bottom: 1px solid currentColor;
}

.guide-shell {
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
  padding: 76px 0 110px;
}

.guide-hero {
  max-width: 760px;
}

.guide-page .eyebrow {
  margin: 0 0 14px;
  color: var(--vermillion);
  font-size:14px;
  font-weight: 700;
  letter-spacing: .15em;
}

.guide-hero h1 {
  margin: 0;
  font-family: var(--font-title);
  font-size: clamp(58px, 8vw, 108px);
  line-height: .94;
  font-weight: 700;
  letter-spacing: -.04em;
}

.guide-hero > p:last-child {
  max-width: 610px;
  margin: 30px 0 0;
  color: var(--muted);
  font-size:20px;
  line-height: 1.8;
}

.official-warning {
  margin: 52px 0 28px;
  padding: 20px 24px;
  display: flex;
  gap: 18px;
  align-items: baseline;
  border: 1px solid rgba(214, 83, 45, .26);
  border-left: 5px solid var(--vermillion);
  border-radius: 14px;
  background: rgba(255, 250, 241, .72);
}

.official-warning strong {
  flex: 0 0 auto;
  color: var(--vermillion);
}

.official-warning span {
  color: var(--muted);
  line-height: 1.7;
}

.os-switch {
  display: inline-flex;
  gap: 5px;
  padding: 5px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 250, 241, .7);
}

.os-tab {
  appearance: none;
  border: 0;
  padding: 12px 22px;
  color: var(--muted);
  background: transparent;
  font: inherit;
  font-weight: 700;
  cursor: pointer;
}

.os-tab.is-active {
  color: #fff;
  background: var(--ink);
}

.os-guide[hidden] {
  display: none;
}

.os-guide {
  padding-top: 54px;
}

.guide-heading {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 440px);
  gap: 52px;
  align-items: end;
  margin-bottom: 30px;
}

.guide-heading h2,
.autostart-note h2 {
  margin: 0;
  font-size: clamp(28px, 4vw, 48px);
  line-height: 1.1;
  letter-spacing: -.03em;
}

.guide-heading > p,
.autostart-note > p {
  margin: 0;
  color: var(--muted);
  line-height: 1.8;
}

.step-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
}

.step-card {
  position: relative;
  min-width: 0;
  padding: 28px;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: rgba(255, 250, 241, .55);
}

.step-number {
  position: absolute;
  z-index: 1;
  top: 42px;
  left: 42px;
  min-width: 40px;
  padding: 8px 10px;
  color: #fff;
  background: var(--vermillion);
  border-radius: 999px;
  font-size:12px;
  font-weight: 700;
  text-align: center;
}

.step-card svg {
  display: block;
  width: 100%;
  height: auto;
}

.step-copy {
  padding: 18px 10px 4px;
}

.step-copy h3 {
  margin: 0 0 10px;
  font-size:20px;
}

.step-copy p {
  margin: 0;
  color: var(--muted);
  line-height: 1.75;
}

.autostart-note {
  margin-top: 64px;
  padding: 34px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 440px);
  gap: 52px;
  align-items: center;
  color: #fff;
  background: var(--forest);
  border-radius: var(--card-radius);
}

.batch-import-note {
  margin-top: 64px;
  padding: 28px 32px;
  border: 1px solid var(--line);
  border-left: 5px solid var(--vermillion);
  border-radius: var(--card-radius);
  background: rgba(255, 250, 241, .72);
}

.batch-import-note h2 { margin: 0 0 14px; font-size: clamp(28px, 4vw, 44px); }
.batch-import-note p:not(.eyebrow) { max-width: 850px; color: var(--muted); line-height: 1.8; }

.autostart-note .eyebrow {
  color: #f4bf55;
}

.autostart-note > p {
  color: rgba(255, 255, 255, .76);
}

.advanced-help {
  margin-top: 22px;
  padding: 18px 22px;
  border: 1px solid var(--line);
  border-radius: 14px;
  color: var(--muted);
  background: rgba(255, 250, 241, .5);
}

.advanced-help summary {
  color: var(--ink);
  font-weight: 700;
  cursor: pointer;
}

.advanced-help p {
  margin: 14px 0 0;
  line-height: 1.7;
}

.advanced-help a {
  color: var(--vermillion);
  border-bottom: 1px solid currentColor;
}

@media (max-width: 760px) {
  .guide-nav,
  .guide-shell {
    width: min(100% - 28px, 1180px);
  }

  .guide-shell {
    padding-top: 48px;
  }

  .guide-hero h1 {
    font-size: clamp(50px, 17vw, 76px);
  }

  .official-warning,
  .guide-heading,
  .autostart-note {
    grid-template-columns: 1fr;
  }

  .official-warning {
    align-items: flex-start;
    flex-direction: column;
    gap: 6px;
  }

  .os-switch {
    width: 100%;
  }

  .os-tab {
    flex: 1;
    padding-inline: 12px;
  }

  .guide-heading {
    gap: 18px;
  }

  .step-grid {
    grid-template-columns: 1fr;
  }

  .step-card {
    padding: 18px;
  }

  .step-number {
    top: 31px;
    left: 31px;
  }

  .autostart-note {
    gap: 20px;
    padding: 26px;
  }
}

/* Desktop-first checkout: the document scrolls naturally, with no payment overlay. */
.payment-modal, .support-modal { overflow-y: auto; align-items: start; }
.payment-sheet, .support-modal .payment-sheet { margin: auto 0; }
.checkout-page {
  min-height: 100vh;
  background: radial-gradient(circle at 7% 10%, rgba(230,167,47,.13), transparent 29rem),
    radial-gradient(circle at 95% 88%, rgba(65,91,73,.11), transparent 30rem), var(--paper);
}
.checkout-page [hidden] { display: none !important; }
.checkout-nav { height: 74px; }
.checkout-shell { width: min(1120px, calc(100% - 48px)); margin: 0 auto; padding: 46px 0 78px; }
.checkout-intro { display: grid; grid-template-columns: minmax(0,1fr) 350px; gap: 52px; align-items: end; margin-bottom: 30px; }
.checkout-intro .eyebrow { margin-bottom: 10px; }
.checkout-intro h1 { font-size: clamp(38px, 4.5vw, 62px); line-height: 1.12; }
.checkout-intro > p { margin: 0 0 4px; color: var(--muted); font-size:14px; line-height: 1.75; }
.checkout-layout { display: grid; grid-template-columns: minmax(0,1fr) minmax(350px,420px); gap: 22px; align-items: start; }
.checkout-selection, .checkout-card, .checkout-empty { min-width: 0; border: 1px solid var(--line); border-radius: 20px; background: rgba(255,250,241,.76); box-shadow: 0 18px 54px rgba(100,70,40,.07); }
.checkout-selection { padding: 28px; }
.checkout-card { padding: 26px; }
.checkout-section-head { display: flex; align-items: end; justify-content: space-between; gap: 16px; border-bottom: 1px solid var(--line); padding-bottom: 20px; }
.checkout-section-head .eyebrow, .checkout-card .eyebrow { margin-bottom: 8px; }
.checkout-section-head h2 { font-size:30px; }
.checkout-count { color: var(--vermillion); font-size:14px; font-weight: 700; white-space: nowrap; }
.checkout-pack-list { list-style: none; margin: 0; padding: 0; }
.checkout-pack-list li { display: flex; align-items: baseline; gap: 18px; min-height: 64px; padding: 17px 4px; border-bottom: 1px solid var(--line); }
.checkout-pack-list li span { color: var(--vermillion); font-size:12px; font-weight: 700; }
.checkout-pack-list li strong { font-size:16px; }
.checkout-edit { display: inline-flex; margin-top: 18px; color: var(--vermillion); font-size:14px; font-weight: 700; }
.checkout-delivery-note { margin-top: 34px; padding: 20px 22px; border-radius: 14px; border-left: 4px solid var(--vermillion); background: rgba(230,167,47,.1); }
.checkout-delivery-note strong { font-size:16px; }
.checkout-delivery-note p { margin: 8px 0; color: var(--muted); font-size:14px; line-height: 1.75; }
.checkout-delivery-note a { color: var(--vermillion); font-size:14px; font-weight: 700; }
.checkout-card h2 { font-size:30px; margin-bottom: 20px; }
.checkout-modes { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.checkout-mode { min-width: 0; display: grid; gap: 4px; text-align: left; padding: 12px 14px; border: 1px solid var(--line); background: rgba(255,255,255,.44); color: var(--ink); cursor: pointer; }
.checkout-mode strong { font-size:14px; }
.checkout-mode small { color: var(--muted); font-size:11px; line-height: 1.4; }
.checkout-mode.is-active { border-color: var(--vermillion); background: rgba(214,83,45,.07); box-shadow: inset 0 0 0 1px var(--vermillion); }
.checkout-mode:disabled { cursor: default; }
.checkout-access-panel { margin-top: 16px; }
.checkout-access-panel label { display: block; margin-bottom: 7px; color: var(--muted); font-size:12px; font-weight: 700; }
.checkout-access-row { display: grid; grid-template-columns: minmax(0,1fr) auto; gap: 8px; }
.checkout-access-row input { min-width: 0; min-height: 42px; padding: 0 12px; border: 1px solid var(--line); border-radius: 10px; background: #fffaf1; font: inherit; font-size:12px; }
.checkout-access-row button, .checkout-history button, .checkout-code-row button { padding: 0 15px; border: 1px solid var(--line); background: #fffaf1; color: var(--ink); cursor: pointer; font-weight: 700; }
.checkout-quiet-button { margin-top: 12px; padding: 0; border: 0; background: none; color: var(--vermillion); font-size:12px; font-weight: 700; cursor: pointer; }
.checkout-history { margin-top: 10px; padding: 10px; border: 1px solid var(--line); border-radius: 10px; font-size:12px; color: var(--muted); }
.checkout-history > div { display: flex; justify-content: space-between; gap: 8px; align-items: center; padding: 5px 0; }
.checkout-history button { min-height: 32px; border-radius: 8px; white-space: nowrap; }
.checkout-divider { height: 1px; margin: 20px 0; background: var(--line); }
.checkout-channels .payment-channel { padding: 12px; }
.checkout-channels .payment-channel span { font-weight: 700; font-size:14px; }
.checkout-channels .payment-channel small { font-size:11px; }
.checkout-total { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; margin-top: 20px; }
.checkout-total span { color: var(--muted); font-size:14px; }
.checkout-total strong { color: var(--vermillion); font-size:30px; line-height: 1; }
.checkout-price-note { margin: 10px 0 16px; color: var(--muted); font-size:12px; line-height: 1.65; }
.checkout-submit { width: 100%; min-height: 48px; border: 0; background: var(--vermillion); color: white; font-weight: 700; cursor: pointer; }
.checkout-submit:disabled { opacity: .46; cursor: not-allowed; }
.checkout-submit.is-working:disabled { opacity: 1; cursor: progress; }
.checkout-download-feedback { display: flex; align-items: flex-start; gap: 12px; flex: 0 0 100%; width: 100%; margin-top: 14px; padding: 16px 18px; border-left: 3px solid var(--bamboo); background: rgba(65,91,73,.07); border-radius: 0 10px 10px 0; }
.checkout-download-feedback > div { min-width: 0; }
.checkout-download-feedback strong { font-size:16px; color: var(--ink); }
.checkout-download-feedback p { margin: 5px 0 7px; font-size:14px; line-height: 1.65; }
.checkout-download-feedback small { color: var(--bamboo); font-variant-numeric: tabular-nums; }
.checkout-download-indicator { flex: 0 0 18px; width: 18px; height: 18px; margin-top: 4px; border: 2px solid var(--bamboo); border-radius: 50%; }
.checkout-download-feedback[data-state="requesting"] .checkout-download-indicator, .checkout-download-feedback[data-state="receiving"] .checkout-download-indicator { border-right-color: transparent; animation: checkout-download-spin .8s linear infinite; }
.checkout-download-feedback[data-state="launched"] .checkout-download-indicator { background: var(--bamboo); box-shadow: inset 0 0 0 4px var(--paper); }
.checkout-download-feedback[data-state="error"] { border-color: var(--vermillion); background: rgba(214,83,45,.07); }
.checkout-download-feedback[data-state="error"] .checkout-download-indicator { border-color: var(--vermillion); }
.checkout-download-feedback progress { display: block; width: min(320px,100%); height: 6px; margin-top: 10px; accent-color: var(--bamboo); }
.checkout-download-feedback progress[hidden] { display: none; }
.checkout-history > div { flex-wrap: wrap; }
@keyframes checkout-download-spin { to { transform: rotate(360deg); } }
@media (prefers-reduced-motion: reduce) { .checkout-download-feedback .checkout-download-indicator { animation: none; } }
.checkout-status { min-height: 24px; margin: 12px 0 0; color: var(--muted); font-size:12px; line-height: 1.6; }
.checkout-status.is-error { color: var(--vermillion-dark); }
.checkout-order, .checkout-result { margin-top: 20px; padding-top: 18px; border-top: 1px solid var(--line); font-size:14px; }
.checkout-order > strong, .checkout-result > strong { font-size:16px; }
.checkout-order p, .checkout-result p { color: var(--muted); line-height: 1.65; }
.checkout-order code { overflow-wrap: anywhere; color: var(--ink); }
.checkout-order img { display: block; width: min(230px,100%); height: auto; margin: 16px auto; padding: 9px; background: white; border-radius: 10px; }
.checkout-code-row { display: flex; min-width: 0; align-items: stretch; gap: 8px; margin: 12px 0 16px; }
.checkout-code-row code { flex: 1; min-width: 0; overflow-wrap: anywhere; padding: 12px; border: 1px solid var(--line); border-radius: 10px; background: white; }
.checkout-code-row button { border-radius: 10px; }
.checkout-empty { padding: 38px; }
.checkout-empty h2 { font-size:38px; }
.checkout-empty p { color: var(--muted); }
.checkout-footer-note { margin-top: 24px; color: var(--muted); font-size:14px; }
.checkout-footer-note a { color: var(--vermillion); font-weight: 700; }
.support-shell { width: min(720px, calc(100% - 48px)); margin: 0 auto; padding: 48px 0 86px; }
.support-shell h1 { max-width: 670px; font-size: clamp(40px, 5.1vw, 64px); line-height: 1.15; }
.support-count { display: inline-flex; margin: 18px 0 0; padding: 8px 14px; border: 1px solid var(--line); border-radius: 999px; background: rgba(214,81,44,.08); color: var(--vermillion); font-size:14px; font-weight: 700; }
.support-lead { max-width: 660px; margin: 18px 0 28px; color: var(--muted); font-size:14px; line-height: 1.8; }
.support-payment-card { padding: 30px; border: 1px solid var(--line); border-radius: 20px; background: rgba(255,250,241,.8); box-shadow: 0 18px 54px rgba(100,70,40,.07); }
.support-payment-card h2 { margin-bottom: 20px; font-size:30px; }
.support-page-channels { margin-bottom: 24px; }
.support-result { display: grid; gap: 10px; margin-top: 20px; padding: 22px; border-radius: 14px; background: rgba(65,91,73,.1); }
.support-result strong { color: var(--bamboo); font-size:20px; }
.support-result a { color: var(--vermillion); font-size:14px; font-weight: 700; }
@media (max-width: 920px) {
  .checkout-intro, .checkout-layout { grid-template-columns: 1fr; }
  .checkout-intro { gap: 12px; }
  .checkout-intro > p { max-width: 680px; }
}
@media (max-width: 620px) {
  .checkout-shell { width: min(100% - 28px, 1120px); padding-top: 30px; }
  .checkout-selection, .checkout-card { padding: 20px; }
  .checkout-modes, .checkout-channels { grid-template-columns: 1fr; }
  .support-shell { width: min(100% - 28px, 720px); padding-top: 30px; }
  .support-payment-card { padding: 20px; }
  .support-page-channels { grid-template-columns: 1fr; }
}

/* Compact desktop gallery; preserve the surrounding paper-and-ink system. */
.characters.section { padding-top: 56px; padding-bottom: 88px; }
.characters .section-heading { display: block; margin-bottom: 18px; }
.characters .section-heading .eyebrow { margin: 0 0 10px; }
.characters .section-heading h2 { font-size: clamp(36px, 3.3vw, 48px); line-height: 1.2; margin: 0 0 12px; }
.characters .section-heading > p:last-child { max-width: 880px; margin: 0; font-size:16px; line-height: 1.6; }
.characters .creator-discovery { gap: 16px; justify-content: space-between; padding: 12px 16px; margin-bottom: 16px; border-radius: 12px; }
.characters .creator-discovery p { margin: 0; font-size:14px; line-height: 1.5; }
.characters .creator-discovery a { flex: 0 0 auto; font-weight: 700; color: var(--vermillion-dark); white-space: nowrap; }
.hero .primary:focus-visible, .nav a:focus-visible { outline: 3px solid var(--bamboo); outline-offset: 4px; }
