:root {
  color-scheme: light;
  --paper: #eeeee9;
  --ink: #1b2322;
  --muted: #4e5956;
  --line: #ccd1c9;
  --white: #fcfcf8;
  --dark: #1d2926;
  --light-accent: #dcf290;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Microsoft YaHei", sans-serif;
  font-synthesis: none;
  background: var(--paper);
  color: var(--ink);
}
*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-padding: 1.25rem; }
body { margin: 0; }
button, input, select { font: inherit; }
a { color: inherit; text-underline-offset: .2em; }
a:hover { color: #355343; }
:focus-visible { outline: 2px solid #6553d5; outline-offset: 4px; }
.wrap { width: min(100% - 3rem, 66rem); margin-inline: auto; }
.sr-only, .skip:not(:focus) {
  position: absolute; width: 1px; height: 1px; margin: -1px;
  overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap;
}
.skip:focus { position: absolute; top: 1rem; left: 1rem; z-index: 2; padding: .75rem; background: var(--white); }
.site-header {
  display: flex; align-items: center; justify-content: space-between;
  gap: 1rem; padding-block: 1.5rem; border-bottom: 1px solid var(--line);
}
.brand { font-size: 1.21rem; font-weight: 760; letter-spacing: -.045em; text-decoration: none; }
.brand span { margin-inline-start: .28rem; font-size: .85rem; font-weight: 560; letter-spacing: 0; color: var(--muted); }
.site-nav { display: flex; align-items: center; gap: 1rem; font-size: .875rem; }
.site-nav a { font-weight: 600; text-decoration: none; }
.site-nav a:hover { text-decoration: underline; }
.language select {
  padding: .45rem .5rem; border: 1px solid #9ea7a0; border-radius: .5rem; color: var(--ink); background: var(--paper);
}
.hero {
  display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(2rem, 6vw, 5rem); align-items: center;
  padding-block: clamp(2.5rem, 6vw, 4.75rem) 2.25rem;
}
.app-icon { display: block; border-radius: 20%; object-fit: contain; }
h1, h2, p, figure { margin: 0; }
.product h1 { margin-top: .65rem; font-size: clamp(4rem, 9vw, 6.8rem); line-height: .94; letter-spacing: -.095em; }
.subtitle { max-width: 15em; margin-top: 1.2rem; font-size: clamp(1.3rem, 3.1vw, 2.05rem); letter-spacing: -.04em; font-weight: 665; line-height: 1.15; }
.description { max-width: 33rem; margin-top: .9rem; color: var(--muted); font-size: .97rem; line-height: 1.62; }
.system { margin-top: 1rem; font-weight: 610; font-size: .81rem; line-height: 1.4; }
.product-preview {
  display: grid; justify-items: center; padding: clamp(1rem, 3vw, 1.6rem);
  background: #e2e8dd; border: 1px solid #d4dacf; border-radius: 1.25rem;
}
.product-preview img {
  display: block; max-width: min(100%, 17rem); height: auto; border-radius: .7rem;
  border: 1px solid #d3d8d1; box-shadow: 0 10px 22px #22382b1b;
}
figcaption { margin-top: .8rem; color: var(--muted); font-size: .77rem; }
.shop-grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: 1.15rem; align-items: start; }
.shop-grid:has(> .recovery[hidden]) { grid-template-columns: 1fr; }
.panel { padding: clamp(1.1rem, 3vw, 1.8rem); border: 1px solid var(--line); border-radius: 1rem; background: var(--white); }
.checkout { background: var(--dark); border-color: var(--dark); color: var(--white); }
.checkout h2, .recovery h2, .policies h2 { font-size: 1.32rem; line-height: 1.25; letter-spacing: -.035em; }
.checkout-heading { display: flex; justify-content: space-between; align-items: flex-start; gap: 1rem; }
#price { flex-shrink: 0; font-size: 1.23rem; line-height: 1.35; white-space: nowrap; }
.text-small { margin-top: .45rem; color: var(--muted); font-size: .875rem; line-height: 1.5; }
.checkout .text-small, .checkout .field-help { color: #d0d9d4; }
.checkout a:hover { color: var(--light-accent); }
form { margin-top: 1.15rem; }
form > label { display: block; margin-bottom: .35rem; font-weight: 630; font-size: .9rem; }
input {
  display: block; width: 100%; min-height: 2.65rem; padding: .57rem .7rem;
  background: #fff; color: var(--ink); border: 1px solid #9ea7a0; border-radius: .55rem;
}
.field-help { margin-top: .4rem; font-size: .8rem; }
button, .button {
  display: inline-flex; align-items: center; justify-content: center; min-height: 2.65rem; padding: .55rem .85rem;
  border: 1px solid var(--dark); border-radius: .55rem; background: var(--dark); color: var(--white);
  font-weight: 650; font-size: .9rem; cursor: pointer; text-decoration: none; text-align: center;
}
button:disabled { opacity: .6; cursor: default; }
button:not(:disabled):hover, .button:hover { filter: brightness(1.18); color: var(--white); }
.checkout button { width: 100%; margin-top: .9rem; background: var(--light-accent); color: var(--ink); border-color: var(--light-accent); }
.checkout button:hover { color: var(--ink); }
.recovery button { margin-top: .85rem; }
button.secondary, .button.secondary { background: transparent; border-color: #929e95; color: var(--ink); }
button.secondary:not(:disabled):hover, .button.secondary:hover { background: #edf1e8; color: var(--ink); }
.links, .actions { display: flex; flex-wrap: wrap; align-items: center; gap: .6rem .9rem; }
.status { margin-top: .55rem; font-size: .85rem; line-height: 1.45; }
.status:empty { display: none; }
[data-tone="error"] { color: #9d3028; }
.checkout [data-tone="error"] { color: #ffcabf; }
.notice { padding: .65rem .75rem; margin-top: .8rem; background: #f2eedc; color: #46380c; border-radius: .4rem; font-size: .85rem; line-height: 1.45; }
.site-footer {
  margin-top: 2.1rem; padding-block: 1.25rem 2rem; border-top: 1px solid var(--line);
  display: flex; flex-wrap: wrap; gap: .6rem 1.5rem; color: var(--muted); font-size: .78rem;
}
.single { padding-block: 2.5rem 0; }
.single .panel { max-width: 43rem; margin-inline: auto; }
.single h1 { font-size: clamp(1.9rem, 4.5vw, 3rem); line-height: 1.05; letter-spacing: -.05em; }
.order h1 { margin-top: .8rem; }
.order-state { margin-top: .9rem; color: var(--muted); line-height: 1.55; }
.order dl { margin: 1.25rem 0; padding-block: .55rem; border-block: 1px solid var(--line); }
.order dl div { display: grid; grid-template-columns: 7.5rem 1fr; gap: .6rem; padding-block: .35rem; font-size: .88rem; }
.order dt { color: var(--muted); }
.order dd { margin: 0; overflow-wrap: anywhere; }
.order .actions { margin-top: 1rem; }
.order .actions a:not(.button) { font-size: .88rem; }
.policies section { margin-top: 1.45rem; }
.policies section p { margin-top: .4rem; line-height: 1.6; color: var(--muted); }
.policies section a { display: inline-block; margin-top: .4rem; }
@media (max-width: 43rem) {
  .wrap { width: min(100% - 2rem, 66rem); }
  .site-header { padding-block: 1rem; gap: .7rem; }
  .site-nav { gap: .5rem; }
  .hero, .shop-grid { grid-template-columns: 1fr; }
  .hero { gap: 1.5rem; padding-block: 2rem 1.35rem; }
  .product-preview img { max-width: min(100%, 13rem); }
  .single { padding-block: 1.4rem 0; }
}
@media (max-width: 25rem) {
  .brand span { display: none; }
  .site-nav { font-size: .78rem; }
  .checkout-heading { flex-wrap: wrap; gap: .5rem; }
}
