:root {
  --story-bg: #f2f8e9;
  --story-paper: #fffdf5;
  --story-ink: #11180d;
  --story-muted: #596453;
  --story-green: #08703a;
  --story-lime: #a8f13d;
  --story-orange: #ff8040;
  --story-line: rgba(17, 24, 13, .2);
  --story-content: min(1400px, calc(100vw - 72px));
}

.story-page { margin: 0; color: var(--story-ink); background-color: var(--story-bg); background-image: radial-gradient(rgba(17,24,13,.13) .8px, transparent .8px); background-size: 22px 22px; font-family: -apple-system, BlinkMacSystemFont, "SF Pro Display", "PingFang SC", "Microsoft YaHei", sans-serif; }
html:has(.story-page) { scrollbar-width: none; }
html:has(.story-page)::-webkit-scrollbar { display: none; }
.story-page em { color: var(--story-green); font-style: normal; }
.story-header { width: var(--story-content); height: 96px; margin: 0 auto; display: flex; align-items: center; justify-content: space-between; border-bottom: 1px solid var(--story-line); }
.story-header nav { display: flex; align-items: center; gap: 42px; font-size: 15px; font-weight: 720; }
.story-header nav a { transition: transform .18s ease, color .18s ease; }
.story-header nav a:hover { color: var(--story-green); transform: translateY(-1px); }
.header-download { min-height: 48px; padding: 0 25px; display: inline-flex; align-items: center; border: 2px solid var(--story-ink); border-radius: 999px; background: var(--story-lime); box-shadow: 3px 4px 0 var(--story-ink); }
.header-download:hover { color: var(--story-ink) !important; }

.story-hero { width: var(--story-content); min-height: 740px; margin: 0 auto; display: grid; grid-template-columns: .9fr 1.1fr; align-items: center; gap: 20px; overflow: hidden; }
.story-hero-copy { z-index: 2; padding: 76px 0 120px; }
.story-hero h1 { max-width: 690px; margin: 0; font-size: clamp(62px, 6vw, 104px); line-height: .98; letter-spacing: -.085em; font-weight: 880; }
.story-hero-copy > p { max-width: 670px; margin: 38px 0 32px; color: var(--story-muted); font-size: clamp(18px, 1.55vw, 24px); line-height: 1.7; font-weight: 590; }
.story-actions { display: flex; align-items: center; gap: 20px; }
.story-button { min-height: 64px; padding: 0 clamp(20px, 2vw, 31px); display: inline-flex; align-items: center; justify-content: center; gap: 20px; border: 3px solid var(--story-ink); border-radius: 999px; font-size: clamp(14px, 1.15vw, 17px); font-weight: 820; white-space: nowrap; transition: transform .18s ease, box-shadow .18s ease; }
.story-button:hover { transform: translateY(-3px); }
.story-button.lime { background: var(--story-lime); box-shadow: 5px 6px 0 var(--story-ink); }
.story-button.paper { background: var(--story-paper); }
.story-hero-scene { min-height: 660px; position: relative; align-self: stretch; }
.pixel-farm { width: 94%; max-width: none; position: absolute; left: -13%; bottom: 18px; filter: drop-shadow(0 22px 24px rgba(17,24,13,.13)); }
.harvest-receipt { width: min(620px, 78%); position: absolute; right: 1%; bottom: 55px; border: 4px solid var(--story-ink); border-radius: 26px; background: var(--story-paper); box-shadow: 14px 16px 0 var(--story-ink); transform: rotate(-1.4deg); }
.receipt-top { min-height: 66px; padding: 0 25px; display: flex; align-items: center; justify-content: space-between; border-bottom: 2px dashed rgba(17,24,13,.35); font-size: 15px; }
.receipt-top span { font-size: 13px; font-weight: 800; }
.receipt-grid { display: grid; grid-template-columns: repeat(3, 1fr); }
.receipt-grid > div { min-height: 162px; padding: 25px 22px; display: flex; align-items: flex-start; flex-direction: column; gap: 7px; }
.receipt-grid > div:not(:last-child) { border-right: 1px dashed rgba(17,24,13,.32); }
.receipt-grid svg { width: 30px; height: 30px; margin-bottom: 4px; fill: none; stroke: var(--story-ink); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.receipt-grid strong { font-size: 15px; }
.receipt-grid span { color: var(--story-muted); font-size: 12px; }

.memory-line { width: var(--story-content); min-height: 176px; margin: 0 auto; display: grid; grid-template-columns: 1fr 1fr; align-items: center; gap: 80px; border-top: 1px solid var(--story-line); border-bottom: 1px solid var(--story-line); background: var(--story-paper); box-shadow: 0 0 0 100vmax var(--story-paper); clip-path: inset(0 -100vmax); }
.memory-line strong { padding-left: 150px; font-size: 36px; letter-spacing: -.045em; }
.memory-action { padding: 32px 0; }
.memory-line p { margin: 0; color: var(--story-muted); font-size: 18px; font-weight: 600; line-height: 1.75; }
.story-share { min-height: 48px; margin-top: 18px; padding: 0 21px; display: inline-flex; align-items: center; gap: 10px; border: 2px solid var(--story-ink); border-radius: 999px; background: var(--story-paper); box-shadow: 3px 4px 0 var(--story-ink); color: var(--story-ink); font: 780 14px/1.2 inherit; cursor: pointer; transition: transform .18s ease, background .18s ease; }
.story-share:hover { transform: translateY(-2px); background: var(--story-lime); }
.story-share svg { width: 19px; height: 19px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.story-share-note { margin-top: 10px; display: block; color: var(--story-muted); font-size: 11px; }
.story-share.is-done { background: var(--story-lime); }

.story-proof { width: var(--story-content); padding: 126px 0 114px; margin: 0 auto; display: grid; grid-template-columns: .85fr 1.15fr; gap: 68px; align-items: center; }
.proof-copy h2, .story-close h2 { margin: 0; font-size: clamp(50px, 4.4vw, 72px); line-height: 1.04; letter-spacing: -.072em; }
.proof-copy h2 { white-space: nowrap; }
.proof-copy p { max-width: 520px; margin: 34px 0 0; color: var(--story-muted); font-size: 20px; line-height: 1.85; font-weight: 590; }
.evidence-window { margin: 0; padding: 0; overflow: hidden; border: 4px solid var(--story-ink); border-radius: 27px; background: var(--story-paper); box-shadow: 14px 15px 0 var(--story-ink); transform: rotate(.5deg); }
.window-bar { min-height: 66px; padding: 0 20px; display: grid; grid-template-columns: 14px 14px 14px 1fr auto; gap: 9px; align-items: center; }
.window-bar i { width: 14px; height: 14px; border-radius: 50%; background: #ff6258; }
.window-bar i:nth-child(2) { background: #f5bd38; }
.window-bar i:nth-child(3) { background: #31bd54; }
.window-bar strong { text-align: center; font-size: 14px; }
.window-bar span { padding: 7px 13px; border-radius: 999px; background: var(--story-lime); font-size: 12px; font-weight: 800; }
.evidence-tabs { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--story-line); border-bottom: 1px solid var(--story-line); }
.evidence-tabs b { min-height: 58px; padding: 0 16px; display: flex; align-items: center; justify-content: space-between; font-size: 13px; }
.evidence-tabs b:first-child { background: rgba(168,241,61,.24); box-shadow: inset 0 -3px var(--story-green); }
.evidence-tabs b:not(:last-child) { border-right: 1px solid var(--story-line); }
.evidence-tabs span { color: var(--story-muted); font-size: 10px; }
.evidence-window img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; object-position: center; }
.story-steps { grid-column: 1 / -1; margin: 32px 0 0; padding: 36px 46px 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 70px; border-top: 1px solid var(--story-line); list-style: none; }
.story-steps li { display: grid; grid-template-columns: 54px 1fr; align-items: center; gap: 18px; position: relative; }
.story-steps li:not(:last-child)::after { content: "→"; position: absolute; right: -43px; font-size: 29px; }
.story-steps b { width: 50px; height: 50px; display: grid; place-items: center; border: 3px solid var(--story-ink); border-radius: 50%; background: var(--story-lime); font-size: 18px; }
.story-steps span { display: grid; }
.story-steps strong { font-size: 19px; }
.story-steps small { margin-top: 3px; color: var(--story-muted); font-size: 12px; }
.proof-cta { grid-column: 1 / -1; justify-self: center; margin-top: -6px; }

.story-close { padding: 118px max(36px, calc((100vw - 1400px) / 2)) 56px; background: var(--story-bg); border-top: 1px solid var(--story-line); }
.close-copy { display: grid; grid-template-columns: 1.15fr .85fr; align-items: end; gap: 70px; }
.close-copy p { margin: 0 0 7px; color: var(--story-muted); font-size: 18px; line-height: 1.8; font-weight: 590; }
.seed-strip { margin: 56px 0 42px; padding: 0; display: grid; grid-template-columns: repeat(6, 1fr); gap: 16px; list-style: none; }
.seed-strip li { min-height: 46px; display: grid; place-items: center; border: 1px solid rgba(17,24,13,.28); border-radius: 999px; background: rgba(255,255,255,.72); font-size: 14px; font-weight: 720; }
.seed-strip li::before { content: ""; width: 11px; height: 16px; margin-right: 8px; display: inline-block; border-radius: 70% 30% 70% 30%; background: var(--story-green); transform: rotate(28deg); vertical-align: -3px; }
.closing-actions { display: grid; grid-template-columns: 1.2fr .8fr; gap: 56px; }
.persona-ticket, .download-receipt { min-height: 210px; position: relative; display: grid; align-content: center; border: 4px solid var(--story-ink); color: var(--story-ink); transition: transform .18s ease; }
.persona-ticket:hover, .download-receipt:hover { transform: translateY(-4px); }
.persona-ticket { grid-template: "icon title arrow" auto "icon note arrow" auto / 110px minmax(0, 1fr) 58px; column-gap: 24px; padding: 32px 36px; border-radius: 26px 10px 10px 26px; background: var(--story-lime); box-shadow: 14px 15px 0 var(--story-ink); }
.persona-ticket::before, .persona-ticket::after { content: ""; width: 30px; height: 30px; position: absolute; right: -17px; border: 4px solid var(--story-ink); border-radius: 50%; background: var(--story-bg); }
.persona-ticket::before { top: -19px; }
.persona-ticket::after { bottom: -19px; }
.persona-ticket > span { grid-area: icon; width: 100px; height: 100px; display: grid; place-items: center; border: 4px solid var(--story-ink); border-radius: 50%; background: rgba(255,255,255,.34); font-size: 47px; }
.persona-ticket strong, .download-receipt strong { font-size: clamp(30px, 3vw, 46px); line-height: 1.1; letter-spacing: -.045em; }
.persona-ticket strong, .download-receipt strong { grid-area: title; align-self: end; }
.persona-ticket small, .download-receipt small { grid-area: note; margin-top: 12px; color: rgba(17,24,13,.68); font-size: 15px; font-weight: 620; }
.persona-ticket > b { grid-area: arrow; align-self: center; width: 56px; height: 56px; display: grid; place-items: center; border-radius: 50%; color: #fff; background: var(--story-ink); font-size: 25px; }
.download-receipt { grid-template: "icon title arrow" auto "icon note arrow" auto / 92px minmax(0, 1fr) 58px; column-gap: 22px; padding: 32px; border-radius: 22px; background: var(--story-paper); box-shadow: 13px 14px 0 var(--story-ink); }
.download-receipt .download-sprout { grid-area: icon; width: 78px; height: 78px; position: relative; border-radius: 50%; background: rgba(168,241,61,.26); }
.download-sprout::before, .download-sprout::after { content: ""; width: 24px; height: 34px; position: absolute; top: 18px; border-radius: 70% 30% 70% 30%; background: var(--story-green); }
.download-sprout::before { left: 17px; transform: rotate(-35deg); }
.download-sprout::after { right: 15px; transform: rotate(35deg) scaleX(-1); }
.download-receipt svg { grid-area: arrow; align-self: center; width: 54px; height: 54px; padding: 12px; border-radius: 50%; fill: none; stroke: #fff; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; background: var(--story-ink); }

.story-footer { width: var(--story-content); min-height: 114px; margin: 0 auto; display: flex; align-items: center; justify-content: space-between; gap: 40px; border-top: 1px solid var(--story-line); }
.story-footer p { max-width: 720px; margin: 0; color: var(--story-muted); font-size: 12px; }
.story-footer nav { display: flex; gap: 28px; color: var(--story-muted); font-size: 12px; font-weight: 650; }
.story-footer a:hover { color: var(--story-green); }
.story-page a:focus-visible { outline: 4px solid rgba(8,112,58,.3); outline-offset: 5px; }

@media (max-width: 1050px) {
  :root { --story-content: min(100% - 40px, 820px); }
  .story-header nav { gap: 22px; }
  .story-hero { min-height: auto; grid-template-columns: 1fr; }
  .story-hero-copy { padding: 76px 0 16px; }
  .story-hero-scene { min-height: 620px; }
  .pixel-farm { width: 80%; left: -8%; }
  .story-proof { grid-template-columns: 1fr; }
  .proof-copy p { max-width: 700px; }
  .close-copy { grid-template-columns: 1fr; align-items: start; gap: 26px; }
  .seed-strip { grid-template-columns: repeat(3, 1fr); }
  .closing-actions { grid-template-columns: 1fr; }
  .story-close { padding-inline: max(20px, calc((100vw - 820px) / 2)); }
}

@media (max-width: 640px) {
  :root { --story-content: calc(100% - 28px); }
  .story-header { height: 72px; }
  .story-header nav a:not(.header-download) { display: none; }
  .header-download { min-height: 42px; padding-inline: 17px; box-shadow: 2px 3px 0 var(--story-ink); font-size: 12px; }
  .story-hero-copy { padding-top: 55px; }
  .story-hero h1 { font-size: 50px; }
  .story-hero-copy > p { margin-top: 28px; font-size: 17px; }
  .story-actions { align-items: stretch; flex-direction: column; }
  .story-button { min-height: 58px; padding-inline: 20px; font-size: 14px; }
  .story-hero-scene { min-height: 420px; }
  .pixel-farm { width: 124%; left: -34%; bottom: 44px; }
  .harvest-receipt { width: 86%; right: 2px; bottom: 42px; border-width: 3px; border-radius: 17px; box-shadow: 8px 9px 0 var(--story-ink); }
  .receipt-top { min-height: 48px; padding-inline: 14px; font-size: 10px; }
  .receipt-top span { font-size: 9px; }
  .receipt-grid > div { min-height: 116px; padding: 16px 11px; }
  .receipt-grid svg { width: 22px; height: 22px; }
  .receipt-grid strong { font-size: 10px; }
  .receipt-grid span { font-size: 8px; }
  .memory-line { min-height: 230px; grid-template-columns: 1fr; gap: 10px; padding: 40px 0; }
  .memory-line strong { padding-left: 0; font-size: 28px; }
  .memory-action { padding: 0; }
  .memory-line p { font-size: 15px; }
  .story-share { width: 100%; justify-content: center; margin-top: 18px; padding-inline: 15px; font-size: 13px; }
  .story-proof { padding-block: 86px 78px; gap: 36px; }
  .proof-copy h2, .story-close h2 { font-size: 45px; }
  .proof-copy h2 { white-space: normal; }
  .proof-copy p { margin-top: 24px; font-size: 16px; }
  .evidence-window { border-width: 3px; border-radius: 18px; box-shadow: 8px 9px 0 var(--story-ink); }
  .window-bar { min-height: 46px; grid-template-columns: 9px 9px 9px 1fr auto; gap: 6px; padding: 0 10px; }
  .window-bar i { width: 9px; height: 9px; }
  .window-bar strong { font-size: 9px; }
  .window-bar span { padding: 4px 7px; font-size: 8px; }
  .evidence-tabs b { min-height: 44px; padding-inline: 8px; font-size: 9px; }
  .evidence-tabs span { display: none; }
  .story-steps { padding: 26px 0 0; grid-template-columns: 1fr; gap: 24px; }
  .story-steps li:not(:last-child)::after { display: none; }
  .proof-cta { width: 100%; margin-top: 4px; }
  .story-close { padding-block: 80px 45px; }
  .close-copy p { font-size: 15px; }
  .seed-strip { margin-block: 38px 30px; grid-template-columns: repeat(2, 1fr); gap: 10px; }
  .seed-strip li { min-height: 42px; font-size: 12px; }
  .persona-ticket, .download-receipt { min-height: 180px; grid-template-columns: 66px 1fr 42px; gap: 13px; padding: 24px 18px; border-width: 3px; box-shadow: 8px 9px 0 var(--story-ink); }
  .persona-ticket > span { width: 60px; height: 60px; border-width: 3px; font-size: 28px; }
  .persona-ticket strong, .download-receipt strong { font-size: 27px; }
  .persona-ticket small, .download-receipt small { font-size: 11px; }
  .persona-ticket > b { width: 40px; height: 40px; font-size: 18px; }
  .download-receipt .download-sprout { width: 60px; height: 60px; }
  .download-sprout::before, .download-sprout::after { width: 18px; height: 27px; top: 14px; }
  .download-sprout::before { left: 13px; }
  .download-sprout::after { right: 11px; }
  .download-receipt svg { width: 40px; height: 40px; padding: 9px; }
  .story-footer { min-height: 170px; padding: 34px 0; align-items: flex-start; flex-direction: column; gap: 22px; }
  .story-footer nav { flex-wrap: wrap; gap: 16px 24px; }
}

@media (prefers-reduced-motion: reduce) {
  .story-page *, .story-page *::before, .story-page *::after { transition-duration: .01ms !important; }
}
