:root {
  color-scheme: light;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
  color: #262821;
  background: #f7f5f0;
  font-synthesis: none;
  --ink: #262821;
  --muted: #77796e;
  --line: #e8e6de;
  --orange: #dc693e;
  --orange-dark: #c4532b;
}

* { box-sizing: border-box; }
[hidden] { display: none !important; }
body { margin: 0; min-width: 280px; }
button, a { -webkit-tap-highlight-color: transparent; }
button { font: inherit; }
a { color: inherit; }
button:focus-visible, a:focus-visible, summary:focus-visible {
  outline: 3px solid #dc693e80;
  outline-offset: 4px;
}
button:disabled { cursor: not-allowed; }
.page-shell { max-width: 1080px; padding: 0 48px; margin: 0 auto; }
.site-header { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 32px 0; border-bottom: 1px solid var(--line); }
.brand { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; font-size: 15px; font-weight: 650; letter-spacing: .02em; }
.brand-mark { display: inline-flex; align-items: center; justify-content: center; width: 33px; height: 33px; padding-bottom: 5px; border-radius: 9px; color: #fff; background: var(--ink); font-size: 24px; font-family: Georgia, serif; font-weight: 600; }
.mode-badge { display: inline-flex; align-items: center; gap: 7px; color: #796850; font-size: 12px; line-height: 1; padding: 8px 11px; border: 1px solid #e8dfcf; border-radius: 999px; background: #f4f0e6; white-space: nowrap; }
.mode-badge > span { width: 5px; height: 5px; border-radius: 50%; background: #a48c63; }
.intro { padding: 55px 0 35px; }
.eyebrow { margin: 0 0 18px; color: var(--orange); font-size: 10px; letter-spacing: .19em; font-weight: 700; }
h1 { margin: 0; font-size: clamp(34px, 4.4vw, 46px); font-weight: 620; letter-spacing: -.045em; line-height: 1.3; }
.intro-copy { margin: 19px 0 0; color: var(--muted); font-size: 14px; line-height: 1.95; }
.steps { display: flex; gap: 26px; padding: 0; margin: 29px 0 0; list-style: none; color: #63665d; font-size: 11px; }
.steps li { display: flex; gap: 8px; align-items: center; white-space: nowrap; }
.steps li + li::before { content: ""; width: 18px; height: 1px; background: #d7d7cc; margin-right: 16px; }
.steps span { color: #a3a396; font-size: 10px; font-variant-numeric: tabular-nums; }
.payment-grid { display: grid; grid-template-columns: 1.05fr 1fr; gap: 20px; align-items: stretch; }
.card { min-width: 0; border: 1px solid var(--line); border-radius: 18px; background: #fffefa; padding: 29px; }
.product-card { display: flex; flex-direction: column; }
.card-topline { display: flex; align-items: center; justify-content: space-between; gap: 10px; min-height: 24px; }
.section-label { margin: 0; color: #6b6e61; font-size: 12px; font-weight: 500; }
.subtle-badge { color: #838376; font-size: 10px; padding: 5px 8px; background: #f3f2ed; border-radius: 5px; }
.product-copy { margin-top: 31px; }
.product-copy h2 { font-size: 21px; line-height: 1.5; letter-spacing: -.02em; font-weight: 620; margin: 0; overflow-wrap: anywhere; }
.product-copy > p { min-height: 42px; margin: 10px 0 0; color: var(--muted); font-size: 12px; line-height: 1.8; overflow-wrap: anywhere; }
.price { display: flex; align-items: baseline; flex-wrap: wrap; gap: 9px; margin-top: 25px; }
.price-amount { font-size: 49px; line-height: 1.1; letter-spacing: -.05em; font-weight: 530; font-variant-numeric: tabular-nums; overflow-wrap: anywhere; }
.price-currency { color: #7c7f72; font-size: 13px; letter-spacing: .05em; }
.tax-note { margin: 13px 0 26px; color: #86887d; font-size: 10px; line-height: 1.8; }
.product-actions { margin-top: auto; }
.button { min-height: 46px; display: inline-flex; align-items: center; justify-content: center; gap: 9px; border: 1px solid transparent; border-radius: 9px; padding: 12px 17px; font-size: 12px; line-height: 1.5; font-weight: 600; text-decoration: none; cursor: pointer; transition: background .15s ease, border-color .15s ease; }
.button-primary { color: #fff; background: var(--orange); }
.button-primary:hover { background: var(--orange-dark); }
.button-primary:disabled { background: #ecebe5; color: #989a90; }
.product-actions > .button { width: 100%; }
.button-secondary { border-color: #dddfd3; background: transparent; color: #51584b; }
.button-secondary:hover { background: #f1f3eb; border-color: #c9cdbe; }
.button-secondary:disabled { color: #969b90; background: #f0f2eb; border-color: #e1e4d9; }
.action-note { margin: 11px 0 0; color: #8a8c80; font-size: 10px; line-height: 1.8; text-align: center; min-height: 18px; }
.order-card { background: #eff1e9; border-color: #e2e5d9; display: flex; flex-direction: column; }
.status-badge { border: 1px solid #dadecf; color: #7d8573; border-radius: 999px; padding: 5px 8px; font-size: 10px; line-height: 1; white-space: nowrap; }
.order-summary { display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; flex: 1; padding: 31px 0; min-height: 254px; }
.status-indicator { position: relative; display: flex; align-items: center; justify-content: center; width: 52px; height: 52px; border: 1px solid #d5dacb; border-radius: 50%; color: #929b82; background: #e9ede2; margin-bottom: 20px; }
.status-indicator > span { width: 14px; height: 17px; border: 1.5px solid currentColor; border-radius: 3px; position: relative; }
.status-indicator > span::after { content: ""; position: absolute; top: 5px; left: 3px; right: 3px; height: 1px; background: currentColor; box-shadow: 0 4px 0 currentColor; }
.order-summary h3 { font-size: 19px; line-height: 1.5; letter-spacing: -.015em; font-weight: 580; margin: 0; }
.order-summary p { margin: 11px 0 0; max-width: 260px; color: #7c8370; font-size: 12px; line-height: 1.8; overflow-wrap: anywhere; }
.order-card[data-status="pending"] .status-indicator, .order-card[data-status="creating"] .status-indicator { color: #a78343; border-color: #e1d6bd; background: #f0eadc; }
.order-card[data-status="pending"] .status-indicator > span, .order-card[data-status="creating"] .status-indicator > span { width: 17px; height: 17px; border-radius: 50%; }
.order-card[data-status="pending"] .status-indicator > span::after, .order-card[data-status="creating"] .status-indicator > span::after { top: 3px; left: 7px; width: 4px; height: 6px; background: none; box-shadow: none; border-left: 1.5px solid currentColor; border-bottom: 1.5px solid currentColor; }
.order-card[data-status="paid"] .status-indicator { color: #48744f; border-color: #cbd9c6; background: #e1eadc; }
.order-card[data-status="paid"] .status-indicator > span { width: 16px; height: 9px; border: none; border-left: 2px solid currentColor; border-bottom: 2px solid currentColor; border-radius: 0; transform: translateY(-2px) rotate(-45deg); }
.order-card[data-status="paid"] .status-indicator > span::after { display: none; }
.order-card[data-status="paid"] .status-badge { color: #48744f; border-color: #c7d5c2; }
.order-card[data-status="review"] .status-indicator { color: #a55c3e; border-color: #dfcebc; background: #eee4d7; }
.order-card[data-status="review"] .status-indicator > span { width: 2px; height: 10px; border: none; border-radius: 0; background: currentColor; transform: translateY(-3px); }
.order-card[data-status="review"] .status-indicator > span::after { top: 14px; left: 0; width: 2px; height: 2px; box-shadow: none; }
.order-message, .polling-note { margin: 0 0 14px; color: #7d6b4c; font-size: 11px; line-height: 1.8; overflow-wrap: anywhere; }
.polling-note { color: #79806c; }
.order-actions { display: flex; align-items: center; justify-content: space-between; gap: 13px; margin-top: auto; }
.order-actions .button { flex: 1; }
.text-button { border: none; padding: 9px 0; background: transparent; color: #626b56; font-size: 11px; line-height: 1.6; text-decoration: underline; text-underline-offset: 3px; cursor: pointer; white-space: nowrap; }
.text-button:hover { color: var(--ink); }
.text-button:disabled { color: #989c91; }
.order-details { border-top: 1px solid #dfe3d5; margin-top: 20px; padding-top: 15px; }
.order-details > summary { display: flex; align-items: center; justify-content: space-between; color: #808774; font-size: 10px; list-style: none; cursor: pointer; }
.order-details > summary::-webkit-details-marker { display: none; }
.order-details > summary span { font-size: 14px; transition: transform .15s; }
.order-details[open] > summary span { transform: rotate(45deg); }
.order-details dl { margin: 18px 0 0; }
.order-details dl > div { display: grid; grid-template-columns: 85px minmax(0, 1fr); gap: 10px; margin-top: 10px; font-size: 10px; line-height: 1.75; }
.order-details dt { color: #8b9180; }
.order-details dd { margin: 0; color: #626b57; overflow-wrap: anywhere; text-align: right; }
.monospace { font-family: ui-monospace, "SFMono-Regular", Consolas, monospace; font-size: 9px; }
.notice { display: flex; align-items: center; justify-content: space-between; gap: 18px; border: 1px solid; padding: 12px 16px; border-radius: 10px; margin: 0 0 18px; }
.notice p { margin: 0; font-size: 12px; line-height: 1.8; overflow-wrap: anywhere; }
.error-notice { color: #9a452e; background: #fbede7; border-color: #edcec1; }
.error-notice .text-button { color: #9a452e; }
.setup-notice { color: #7c694b; background: #f3efdf; border-color: #e7dfc6; }
.site-footer { display: flex; justify-content: space-between; gap: 20px; color: #a1a193; font-size: 10px; line-height: 1.8; padding: 25px 0 35px; }
.reset-dialog { max-width: 420px; width: calc(100% - 40px); border: 1px solid var(--line); border-radius: 16px; background: #fffefa; color: var(--ink); padding: 26px; box-shadow: 0 18px 80px #26282125; }
.reset-dialog::backdrop { background: #26282165; backdrop-filter: blur(3px); }
.reset-dialog h2 { font-size: 20px; font-weight: 600; margin: 0 0 14px; }
.reset-dialog p { color: var(--muted); font-size: 13px; line-height: 1.9; margin: 0; }
.dialog-actions { display: flex; gap: 10px; margin-top: 25px; }
.dialog-actions .button { flex: 1; }

@media (max-width: 700px) {
  .page-shell { padding: 0 25px; max-width: 520px; }
  .site-header { padding: 23px 0; }
  .intro { padding: 38px 0 28px; }
  h1 { font-size: 36px; }
  .intro-copy { font-size: 13px; }
  .eyebrow { margin-bottom: 15px; }
  .steps { gap: 13px; font-size: 10px; margin-top: 24px; }
  .steps li { gap: 6px; }
  .steps li + li::before { width: 10px; margin-right: 7px; }
  .payment-grid { grid-template-columns: 1fr; gap: 15px; }
  .card { padding: 25px; border-radius: 15px; }
  .product-copy { margin-top: 24px; }
  .product-copy > p { min-height: 0; }
  .price { margin-top: 24px; }
  .price-amount { font-size: 44px; }
  .order-summary { min-height: 225px; padding: 27px 0; }
  .order-actions { margin-top: 0; }
  .site-footer { flex-direction: column; align-items: center; gap: 4px; padding: 23px 0 28px; }
  .notice { align-items: flex-start; gap: 12px; }
}

@media (max-width: 359px) {
  .page-shell { padding: 0 17px; }
  .card { padding: 22px; }
  h1 { font-size: 32px; }
  .steps { gap: 10px; }
  .steps li + li::before { display: none; }
  .desktop-break { display: none; }
  .dialog-actions { flex-direction: column; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; }
}

/* Digital Store storefront and public information pages. */
html { scroll-behavior: smooth; scroll-padding-top: 24px; }
:root { --orange: #cf6036; --orange-dark: #b74e27; }
.page-shell { max-width: 1192px; }
.site-header { padding: 29px 0; }
.brand { font-size: 17px; letter-spacing: -.025em; }
.brand-mark { background: var(--orange); }
.header-nav { display: flex; gap: 28px; color: #686c60; font-size: 12px; }
.header-nav a { text-decoration: none; }
.header-nav a:hover { color: var(--orange); }
.hero { display: grid; grid-template-columns: .92fr 1.15fr; gap: 45px; align-items: center; padding: 68px 0 55px; }
.hero h1 { font-size: clamp(36px, 4.2vw, 48px); }
.hero .intro-copy { margin-top: 22px; }
.hero-button { min-width: 137px; margin-top: 26px; }
.hero-caption { font-size: 10px; color: #868e7b; margin: 13px 0 0; }
.button-dark { background: var(--ink); color: #fff; }
.button-dark:hover { background: #414637; }
.button-dark:disabled { background: #e7e8df; color: #959a89; }
.preview-panel { margin: 0; min-width: 0; padding: 20px; background: #eaece2; border: 1px solid #dddcd1; border-radius: 17px; box-shadow: 0 16px 40px #47493708; transform: rotate(-1deg); }
.preview-heading { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 15px; font-size: 9px; letter-spacing: .1em; color: #7a806d; }
.file-badge { border: 1px solid #cbd3bd; background: #f5f7ef; border-radius: 4px; padding: 4px 6px; font-size: 9px; letter-spacing: .03em; }
.preview-panel img { display: block; width: 100%; height: auto; border-radius: 5px; border: 1px solid #d9dcd0; background: #fff; }
.preview-panel figcaption { font-size: 10px; color: #7c876c; text-align: center; margin-top: 12px; }
.feature-strip { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 26px; padding: 22px 0 30px; border-bottom: 1px solid var(--line); }
.feature-strip > div { position: relative; padding-left: 35px; }
.feature-number { position: absolute; left: 0; top: 3px; color: #a0ab91; font-size: 11px; font-variant-numeric: tabular-nums; }
.feature-strip h2 { font-size: 13px; font-weight: 600; margin: 0 0 8px; }
.feature-strip p { font-size: 11px; color: #7b886a; line-height: 1.8; margin: 0; }
.section-heading { display: flex; align-items: center; justify-content: space-between; gap: 18px; margin: 49px 0 24px; }
.section-heading .eyebrow { font-size: 9px; margin-bottom: 9px; }
.section-heading h2 { font-size: 25px; font-weight: 600; letter-spacing: -.03em; margin: 0; }
.mode-badge { font-size: 10px; line-height: 1.5; padding: 6px 10px; }
.test-mode-note { color: #927c50; font-size: 12px; line-height: 1.8; padding: 12px 16px; background: #f0eadb; border-radius: 9px; margin: 0 0 16px; }
.product-copy { margin-top: 25px; }
.product-copy > p { min-height: 0; }
.product-includes { margin: 20px 0 0; padding: 0; list-style: none; font-size: 11px; line-height: 1.9; color: #6c7d59; }
.product-includes li { position: relative; padding-left: 14px; margin: 6px 0; }
.product-includes li::before { content: ""; position: absolute; width: 4px; height: 4px; left: 0; top: 8px; border-radius: 50%; background: #98aa81; }
.price { margin-top: 24px; }
.purchase-terms { margin: 18px 0 0; padding-top: 17px; border-top: 1px solid #efeee7; color: #828d72; font-size: 10px; line-height: 1.95; }
.purchase-terms a, .history-note a { color: #687c50; text-underline-offset: 3px; }
.order-summary { min-height: 269px; }
.download-button { width: 100%; margin-bottom: 14px; }
.download-message { font-size: 11px; line-height: 1.8; color: #527242; margin: 0 0 14px; overflow-wrap: anywhere; }
.access-link-actions { margin: 12px 0 0; }
.access-link-actions p { font-size: 10px; color: #788968; line-height: 1.8; margin: 0; }
.order-details .order-message { margin: 14px 0 0; }
.inline-details { margin-top: 4px; font-size: 10px; }
.inline-details summary { cursor: pointer; text-decoration: underline; text-underline-offset: 3px; }
.inline-details p { font-size: 11px; margin-top: 8px; }
.history-section { margin-top: 26px; border: 1px solid var(--line); border-radius: 13px; padding: 22px 26px; background: #ffffff45; }
.history-heading { display: flex; align-items: center; justify-content: space-between; gap: 15px; }
.history-heading h2 { font-size: 14px; font-weight: 600; margin: 0; }
.history-heading > span { font-size: 10px; color: #869774; }
.history-empty { font-size: 12px; color: #7c8c6c; margin: 24px 0; }
.history-row { display: flex; align-items: center; justify-content: space-between; gap: 18px; padding: 17px 0; border-bottom: 1px solid var(--line); }
.history-row:last-child { border-bottom: 0; }
.history-row > div { min-width: 0; }
.history-row h3 { font-size: 12px; font-weight: 500; line-height: 1.6; margin: 0 0 5px; overflow-wrap: anywhere; }
.history-row p { font-size: 10px; color: #82966d; margin: 0; line-height: 1.7; overflow-wrap: anywhere; }
.history-row .button { min-width: 94px; min-height: 38px; padding: 8px 11px; font-size: 10px; flex-shrink: 0; }
.history-note { font-size: 10px; line-height: 1.9; color: #839370; margin: 15px 0 0; }
.help-strip { display: flex; justify-content: space-between; align-items: center; gap: 20px; padding: 30px 0 40px; }
.help-strip h2 { font-size: 14px; font-weight: 550; margin: 0 0 7px; }
.help-strip p { color: #80916e; font-size: 11px; margin: 0; line-height: 1.8; }
.text-link { font-size: 12px; color: #627650; text-underline-offset: 4px; white-space: nowrap; }
.site-footer { flex-wrap: wrap; border-top: 1px solid var(--line); padding: 28px 0 25px; color: #84996c; }
.footer-brand { font-size: 13px; font-weight: 600; color: #61704f; text-decoration: none; }
.site-footer p { margin: 6px 0 0; }
.footer-links { display: flex; flex-wrap: wrap; gap: 23px; align-items: flex-start; }
.footer-links a { text-decoration: none; }
.footer-links a:hover { color: var(--orange); }
.footer-bottom { width: 100%; display: flex; justify-content: space-between; padding-top: 14px; border-top: 1px solid #ecece3; }
.seller-line { font-size: 10px; color: #879775; overflow-wrap: anywhere; }
.document-shell { max-width: 870px; }
.document-main { padding: 44px 0 48px; }
.document-main .eyebrow { margin-bottom: 12px; }
.document-main h1 { font-size: 35px; }
.document-meta { font-size: 11px; color: #849874; line-height: 1.9; margin: 15px 0 26px; }
.document-main h2 { font-size: 19px; font-weight: 600; line-height: 1.6; margin: 32px 0 12px; }
.document-main h3 { font-size: 15px; font-weight: 600; margin: 24px 0 10px; }
.document-main p, .document-main li { font-size: 13px; color: #617452; line-height: 1.95; overflow-wrap: anywhere; }
.document-main p { margin: 10px 0; }
.document-main ul, .document-main ol { padding-left: 22px; }
.document-main li { margin: 5px 0; }
.document-main a { color: #506e3e; text-underline-offset: 3px; }
.document-main .notice p { color: inherit; font-size: 12px; margin: 0; }
.identity-card { background: #eef1e6; border: 1px solid #dce3cf; border-radius: 12px; padding: 18px 22px; margin: 24px 0; }
.identity-card p { font-size: 12px; margin: 5px 0; }
.document-callout { padding: 15px 20px; border-left: 3px solid var(--orange); background: #f1efe4; margin: 23px 0; }
.document-callout p { font-size: 12px; margin: 0; }
.document-main .guide-preview { display: block; width: 100%; height: auto; margin: 25px 0; border: 1px solid var(--line); border-radius: 10px; }
.document-main .button { margin-top: 18px; color: #fff; }
.document-main .legal-source { font-size: 10px; color: #80956d; margin-top: 35px; }
.document-main .legal-source a { color: inherit; }
.document-table-wrap { overflow-x: auto; }
.document-table { border-collapse: collapse; width: 100%; font-size: 12px; line-height: 1.9; color: #617a4f; margin: 15px 0; }
.document-table th, .document-table td { text-align: left; vertical-align: top; border-bottom: 1px solid var(--line); padding: 12px 9px; }
.document-table th { font-weight: 600; color: #536646; white-space: nowrap; }
@media (max-width: 900px) {
  .page-shell { padding: 0 30px; }
  .hero { gap: 30px; padding: 50px 0 38px; }
  .hero h1 { font-size: 37px; }
  .hero .intro-copy { font-size: 12px; }
  .preview-panel { padding: 14px; }
  .feature-strip { gap: 20px; }
  .feature-strip > div { padding-left: 27px; }
  .footer-links { gap: 15px; }
}
@media (max-width: 700px) {
  .page-shell { padding: 0 24px; max-width: 560px; }
  .site-header { padding: 23px 0; gap: 15px; }
  .brand { font-size: 15px; }
  .brand-mark { width: 30px; height: 30px; font-size: 22px; }
  .header-nav { gap: 15px; font-size: 11px; }
  .header-nav a:first-child { display: none; }
  .hero { grid-template-columns: 1fr; gap: 30px; padding: 38px 0 25px; }
  .hero h1 { font-size: 39px; }
  .hero .intro-copy { font-size: 13px; margin-top: 18px; }
  .hero .eyebrow { font-size: 9px; margin-bottom: 15px; }
  .hero-button { margin-top: 22px; }
  .preview-panel { transform: none; padding: 16px; }
  .feature-strip { grid-template-columns: 1fr; gap: 21px; padding: 24px 0 30px; }
  .feature-strip > div { padding-left: 33px; }
  .feature-strip h2 { margin-bottom: 4px; }
  .section-heading { margin: 34px 0 22px; }
  .section-heading .eyebrow { font-size: 8px; letter-spacing: .07em; }
  .section-heading h2 { font-size: 23px; }
  .mode-badge { font-size: 9px; padding: 5px 8px; }
  .order-summary { min-height: 225px; padding: 28px 0; }
  .history-section { padding: 20px; margin-top: 20px; }
  .history-row { gap: 10px; }
  .history-row .button { min-width: 84px; }
  .help-strip { align-items: flex-start; padding: 28px 0 32px; gap: 13px; }
  .help-strip h2 { font-size: 13px; }
  .text-link { font-size: 11px; }
  .site-footer { align-items: stretch; gap: 20px; padding: 26px 0 22px; }
  .footer-links { width: 100%; gap: 17px; font-size: 10px; }
  .footer-bottom { font-size: 9px; padding-top: 12px; }
  .document-main { padding: 33px 0; }
  .document-main h1 { font-size: 30px; }
  .document-main h2 { font-size: 18px; }
  .identity-card { padding: 16px 18px; }
  .document-table { font-size: 11px; min-width: 430px; }
}
@media (max-width: 359px) {
  .page-shell { padding: 0 17px; }
  .header-nav { gap: 12px; font-size: 10px; }
  .brand { gap: 7px; font-size: 14px; }
  .hero h1 { font-size: 34px; }
  .section-heading h2 { font-size: 21px; }
  .section-heading .eyebrow { max-width: 185px; }
  .history-section { padding: 18px; }
  .history-row { align-items: flex-start; flex-direction: column; }
  .history-row .button { width: 100%; }
  .help-strip { flex-direction: column; gap: 15px; }
  .footer-links { gap: 12px; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
