:root {
  --paper: #fff8e9;
  --paper-deep: #ffefc9;
  --paper-light: #fffdf7;
  --ink: #181714;
  --muted: #6e695e;
  --coral: #ff4934;
  --coral-dark: #e93d2a;
  --tape: #f4bd46;
  --line: rgba(58, 48, 30, .13);
  --shadow: 0 18px 42px rgba(93, 66, 20, .14);
  --serif: "Songti SC", "STSong", "Noto Serif SC", Georgia, serif;
  --sans: -apple-system, BlinkMacSystemFont, "PingFang SC", "Noto Sans SC", sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; color: var(--ink); background: var(--paper); font-family: var(--sans); line-height: 1.65; -webkit-font-smoothing: antialiased; overflow-x: hidden; }
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button, a { -webkit-tap-highlight-color: transparent; }
.skip-link { position: fixed; left: 12px; top: -80px; z-index: 100; padding: 10px 16px; background: var(--ink); color: white; border-radius: 8px; }
.skip-link:focus { top: 12px; }

.site-header { width: min(1180px, calc(100% - 48px)); height: 96px; margin: 0 auto; display: flex; align-items: center; justify-content: space-between; position: relative; z-index: 20; }
.brand { display: inline-flex; align-items: center; gap: 12px; font-size: 27px; font-weight: 850; letter-spacing: .02em; }
.brand img { border-radius: 11px; box-shadow: 0 5px 14px rgba(80, 52, 10, .13); }
.site-nav { display: flex; align-items: center; gap: 44px; font-size: 15px; font-weight: 600; }
.site-nav a { padding: 12px 0; position: relative; }
.site-nav a::after { content: ""; position: absolute; left: 0; right: 100%; bottom: 8px; height: 2px; background: var(--coral); transition: right .2s ease; }
.site-nav a:hover::after, .site-nav a:focus-visible::after { right: 0; }
.nav-toggle { display: none; border: 0; background: transparent; font: 700 15px var(--sans); padding: 12px; }
.store-button, .primary-button { display: inline-flex; justify-content: center; align-items: center; min-height: 54px; padding: 0 30px; border-radius: 16px; background: var(--coral); color: white; font-weight: 750; box-shadow: 0 9px 22px rgba(255, 73, 52, .19); }
.store-button.muted { min-height: 50px; font-size: 15px; cursor: default; }
.store-button.light { color: var(--coral); background: white; box-shadow: none; }

.hero { width: min(1180px, calc(100% - 48px)); min-height: 680px; margin: 0 auto; display: grid; grid-template-columns: .9fr 1.1fr; align-items: center; gap: 56px; padding: 34px 0 76px; }
.hero-copy { padding-left: 18px; z-index: 2; }
.hero h1, .privacy-copy h2, .final-cta h2 { margin: 0; font-family: var(--serif); font-weight: 900; letter-spacing: -.035em; line-height: 1.2; }
.hero h1 { font-size: clamp(52px, 5.1vw, 76px); }
.scribble { display: block; width: min(380px, 90%); height: 12px; margin: 7px 0 25px; border-top: 4px solid var(--coral); transform: rotate(-1.5deg); position: relative; }
.scribble::after { content: ""; position: absolute; width: 47%; right: 8%; top: -5px; border-top: 3px solid var(--coral); transform: rotate(3deg); }
.scribble.short { width: 230px; margin-bottom: 21px; }
.hero-copy > p:not(.trust-line) { max-width: 490px; margin: 0 0 28px; font-size: 18px; color: #38342d; }
.primary-button { gap: 40px; min-width: 242px; transition: transform .2s ease, background .2s ease; }
.primary-button:hover { transform: translateY(-2px); background: var(--coral-dark); }
.trust-line { margin: 25px 0 0; color: var(--muted); font-size: 13px; }
.hero-art { position: relative; min-height: 555px; }
.phone { position: absolute; width: 370px; height: 555px; right: 32px; top: 0; padding: 13px; background: #161616; border: 4px solid #777; border-radius: 61px; box-shadow: 14px 24px 46px rgba(42, 31, 14, .24); transform: rotate(7deg); overflow: hidden; }
.phone::after { content: ""; position: absolute; inset: 14px; border: 1px solid rgba(255,255,255,.5); border-radius: 48px; pointer-events: none; }
.phone img { width: 100%; height: 100%; object-fit: cover; border-radius: 46px; }
.phone-island { position: absolute; z-index: 2; width: 105px; height: 29px; left: 50%; top: 22px; transform: translateX(-50%); background: #0b0b0b; border-radius: 20px; }
.polaroid { position: absolute; z-index: 3; width: 248px; padding: 13px 13px 42px; background: #fffef9; box-shadow: var(--shadow); }
.polaroid-one { left: 10px; top: 92px; transform: rotate(-7deg); }
.polaroid img { width: 100%; aspect-ratio: 1 / 1.16; object-fit: cover; }
.tape { position: absolute; width: 112px; height: 36px; background: color-mix(in srgb, var(--tape) 84%, transparent); opacity: .9; transform: rotate(-10deg); clip-path: polygon(2% 4%, 98% 0, 96% 100%, 3% 94%); background-image: radial-gradient(rgba(255,255,255,.8) 18%, transparent 20%); background-size: 13px 13px; }
.tape-yellow { left: 36px; top: 68px; z-index: 4; }

.paper-edge { height: 36px; background: var(--paper-deep); clip-path: polygon(0 35%, 3% 44%, 6% 25%, 9% 48%, 12% 31%, 16% 55%, 20% 34%, 24% 49%, 28% 27%, 32% 51%, 37% 30%, 42% 56%, 47% 35%, 52% 48%, 58% 25%, 63% 52%, 68% 32%, 74% 50%, 79% 28%, 84% 46%, 89% 31%, 94% 54%, 100% 37%, 100% 100%, 0 100%); filter: drop-shadow(0 -4px 3px rgba(68,42,9,.08)); }
.section-shell { width: min(1180px, calc(100% - 48px)); margin: 0 auto; }
.play-section { padding: 75px 0 110px; }
.section-title { margin: 0; text-align: center; font-family: var(--serif); font-size: clamp(35px, 4vw, 52px); line-height: 1.25; letter-spacing: -.03em; }
.title-underline { width: 300px; max-width: 64%; height: 16px; margin: 5px auto 42px; border-top: 4px solid var(--coral); transform: rotate(-1deg); }
.play-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; }
.play-label { display: flex; align-items: center; gap: 12px; margin: 0 0 15px; }
.play-label span, .step-number { display: inline-grid; place-items: center; width: 39px; height: 39px; flex: 0 0 39px; border-radius: 50%; background: var(--coral); color: white; font-weight: 800; }
.play-label h3, .step h3 { font: 800 22px var(--sans); margin: 0; }
.paper-card { height: 415px; margin: 0; padding: 25px; background: #fffdf8; border: 1px solid rgba(80,55,20,.08); box-shadow: 0 14px 29px rgba(78,54,16,.13); position: relative; transform: rotate(-1deg); overflow: hidden; }
.play-item:nth-child(2) .paper-card { transform: rotate(.8deg); }
.play-item:nth-child(3) .paper-card { transform: rotate(-.5deg); }
.paper-card::before, .step-image::before { content: ""; position: absolute; inset: 0; pointer-events: none; opacity: .3; background-image: radial-gradient(#c5b78e 1px, transparent 1.2px); background-size: 14px 14px; }
.person-cutout { height: 96%; margin: 6% auto 0; object-fit: contain; filter: drop-shadow(0 8px 5px rgba(48,40,25,.16)); position: relative; z-index: 1; }
.tape-corner { top: -4px; right: -22px; }
.collage-card { display: grid; place-items: center; }
.collage-card img { width: 100%; position: relative; z-index: 1; border: 10px solid white; box-shadow: 0 7px 16px rgba(50,35,12,.12); }
.cover-card { display: grid; place-items: center; }
.magazine { width: 82%; height: 95%; padding: 14px; background: white; position: relative; z-index: 1; box-shadow: 0 8px 18px rgba(44,31,12,.14); }
.magazine strong { display: block; color: var(--coral); font: 500 36px Georgia, serif; letter-spacing: .03em; text-align: center; line-height: 1; }
.magazine img { width: 100%; height: calc(100% - 40px); margin-top: 7px; object-fit: cover; }
.magazine span { position: absolute; left: 22px; top: 76px; font: 700 11px/1.1 var(--sans); }
.tape-bottom { z-index: 2; bottom: 4px; right: -4px; transform: rotate(12deg); }
.play-item > p { margin: 20px 10px 0; color: var(--muted); font-size: 15px; }

.steps-section { padding: 96px 0 105px; background: var(--paper-deep); border-block: 1px solid rgba(116,82,21,.08); }
.steps-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 44px; margin-top: 55px; }
.step { display: grid; grid-template-columns: auto 1fr; gap: 10px 13px; align-items: center; }
.step-image { grid-column: 1 / -1; aspect-ratio: 1 / .9; padding: 25px; margin-top: 5px; background: var(--paper-light); position: relative; box-shadow: var(--shadow); transform: rotate(-1deg); overflow: hidden; }
.step:nth-child(2) .step-image { transform: rotate(1deg); }
.step-image img { width: 100%; height: 100%; object-fit: cover; position: relative; z-index: 1; border: 10px solid white; box-shadow: 0 8px 18px rgba(50,35,12,.12); }
.step-subject img { object-fit: contain; border: 0; box-shadow: none; filter: drop-shadow(0 8px 6px rgba(54,40,20,.15)); }
.local-note { text-align: center; margin: 45px 0 0; color: var(--muted); }

.privacy-section { display: grid; grid-template-columns: 1fr 1fr; align-items: center; gap: 80px; padding-block: 120px; }
.privacy-copy h2 { font-size: clamp(46px, 5vw, 68px); }
.privacy-copy p { max-width: 520px; }
.privacy-points { font-weight: 750; font-size: 17px; margin-bottom: 18px; }
.text-link { display: inline-block; margin-top: 14px; color: var(--coral-dark); font-weight: 750; border-bottom: 2px solid currentColor; }
.privacy-visual { min-height: 440px; position: relative; display: grid; place-items: center; }
.privacy-paper { width: 390px; max-width: 88%; aspect-ratio: 1 / 1.05; display: flex; flex-direction: column; justify-content: center; align-items: center; gap: 12px; background: #fffdf8; box-shadow: var(--shadow); transform: rotate(2deg); position: relative; }
.privacy-paper::before { content: ""; position: absolute; inset: 0; opacity: .28; background-image: radial-gradient(#c5b78e 1px, transparent 1.2px); background-size: 14px 14px; }
.privacy-paper > * { z-index: 1; }
.privacy-paper img { width: 90px; border-radius: 21px; box-shadow: 0 8px 18px rgba(70,43,8,.15); }
.privacy-paper strong { font-size: 28px; }
.privacy-symbols { font-size: 30px; letter-spacing: .08em; }
.privacy-paper p { margin: 6px 0 0; font-weight: 650; }
.tape-privacy { z-index: 2; right: 3%; top: 9%; transform: rotate(13deg); }

.final-cta { padding: 90px 24px 100px; text-align: center; color: white; background: var(--coral); position: relative; overflow: hidden; }
.final-cta::before { content: ""; position: absolute; inset: 0; opacity: .08; background-image: radial-gradient(#fff 1.1px, transparent 1.2px); background-size: 15px 15px; }
.final-cta h2 { position: relative; font-size: clamp(40px, 5vw, 64px); margin-bottom: 34px; }
.final-cta .store-button { position: relative; }
.site-footer { min-height: 110px; width: min(1180px, calc(100% - 48px)); margin: 0 auto; display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 32px; }
.site-footer .brand { font-size: 22px; }
.site-footer nav { display: flex; gap: 34px; font-size: 14px; }
.site-footer p { justify-self: end; color: var(--muted); font-size: 13px; }

.legal-main { width: min(800px, calc(100% - 40px)); margin: 0 auto; padding: 64px 0 110px; }
.legal-main h1 { font: 900 clamp(42px, 7vw, 64px)/1.2 var(--serif); margin: 0 0 12px; }
.legal-main .updated { color: var(--muted); margin-bottom: 48px; }
.legal-main h2 { font-size: 24px; margin: 43px 0 12px; }
.legal-main p, .legal-main li { color: #403c34; }
.legal-main a { color: var(--coral-dark); text-decoration: underline; text-underline-offset: 3px; }
.support-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; margin-top: 35px; }
.support-item { padding: 24px; background: var(--paper-light); border: 1px solid var(--line); border-radius: 18px; }
.support-item h2 { margin: 0 0 8px; font-size: 19px; }
.support-item p { margin: 0; font-size: 14px; }

.reveal { opacity: 0; transform: translateY(18px); transition: opacity .65s ease, transform .65s ease; }
.reveal.visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } .reveal { opacity: 1; transform: none; transition: none; } }

@media (max-width: 850px) {
  .site-header { height: 78px; width: min(100% - 32px, 720px); }
  .nav-toggle { display: block; }
  .site-nav { display: none; position: absolute; top: 70px; left: 0; right: 0; padding: 18px; background: rgba(255,253,247,.97); border: 1px solid var(--line); border-radius: 18px; box-shadow: var(--shadow); flex-direction: column; gap: 8px; align-items: stretch; text-align: center; }
  .site-nav.open { display: flex; }
  .hero { grid-template-columns: 1fr; gap: 25px; padding-top: 38px; overflow: hidden; }
  .hero-copy { text-align: center; padding: 0; }
  .hero-copy > p:not(.trust-line) { margin-inline: auto; }
  .scribble { margin-inline: auto; }
  .hero-art { min-height: 520px; transform: scale(.9); transform-origin: top center; }
  .play-grid, .steps-grid { grid-template-columns: 1fr; max-width: 520px; margin-inline: auto; }
  .play-grid { gap: 54px; }
  .paper-card { height: 460px; }
  .privacy-section { grid-template-columns: minmax(0, 1fr); gap: 45px; padding-block: 85px; text-align: center; }
  .privacy-copy, .privacy-visual { min-width: 0; }
  .privacy-copy p { margin-inline: auto; }
  .privacy-visual { min-height: 390px; }
  .site-footer { grid-template-columns: 1fr; justify-items: center; padding: 35px 0; gap: 22px; }
  .site-footer p { justify-self: center; margin: 0; }
}

@media (max-width: 560px) {
  .brand { font-size: 23px; }
  .hero, .section-shell { width: min(100% - 32px, 520px); }
  .hero { min-height: auto; padding-bottom: 5px; }
  .hero h1 { font-size: 46px; }
  .hero-copy > p:not(.trust-line) { font-size: 16px; }
  .hero-art { min-height: 415px; transform: scale(.72); width: 138%; margin-left: -19%; }
  .phone { right: 6%; }
  .polaroid-one { left: 4%; }
  .play-section { padding-top: 58px; }
  .section-title { font-size: 34px; }
  .paper-card { height: 390px; }
  .steps-section { padding-block: 72px; }
  .steps-grid { gap: 38px; }
  .privacy-section { padding-block: 78px; }
  .privacy-copy h2 { font-size: 45px; }
  .privacy-visual { min-height: 340px; }
  .final-cta { padding-block: 75px; }
  .site-footer nav { flex-wrap: wrap; justify-content: center; gap: 20px; }
  .support-grid { grid-template-columns: 1fr; }
}
