:root {
  --dark: #101a14;
  --paper: #f1f2e8;
  --ink: #182219;
  --acid: #d5fa7c;
  --muted: #b9c5ba;
  --font: Inter, -apple-system, BlinkMacSystemFont, "PingFang SC", "Microsoft YaHei", sans-serif;
  font-family: var(--font);
  background: var(--dark);
  color: var(--paper);
  scroll-behavior: smooth;
}

*, *::before, *::after { box-sizing: border-box; }
body, h1, h2, h3, p, figure { margin: 0; }
body { min-width: 0; line-height: 1.55; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; cursor: pointer; }
img { display: block; max-width: 100%; object-fit: cover; }
[hidden] { display: none !important; }
:focus-visible { outline: 3px solid #81a842; outline-offset: 5px; }
main:focus { outline: none; }
.wrap { width: min(1216px, calc(100% - 104px)); margin-inline: auto; }
.sr-only, .skip:not(:focus) { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.skip { position: absolute; top: 12px; left: 12px; z-index: 10; padding: 10px 14px; background: var(--acid); color: var(--ink); border-radius: 8px; }

.header { background: var(--dark); border-bottom: 1px solid #ffffff17; }
.header-inner, .footer-inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.header-inner { min-height: 80px; }
.brand { display: inline-flex; align-items: center; gap: 10px; min-height: 44px; font-size: 17px; font-weight: 750; white-space: nowrap; }
.brand img { border-radius: 25%; }
.brand span { display: grid; line-height: 1.15; gap: 3px; }
.brand small { color: var(--muted); font-size: 11px; font-weight: 600; letter-spacing: .025em; }
.header nav { display: flex; align-items: center; gap: 32px; }
.header nav a, .footer a:not(.brand) { display: inline-flex; align-items: center; min-height: 44px; color: var(--muted); font-size: 14px; }
.header nav a:hover, .footer a:not(.brand):hover { color: var(--acid); }
.pill { display: inline-flex; width: fit-content; min-height: 52px; justify-content: center; align-items: center; gap: 20px; padding: 10px 21px; border-radius: 999px; border: 1px solid transparent; font-size: 15px; font-weight: 750; transition: background-color .2s, color .2s, border-color .2s, transform .2s; }
.pill span { font-size: 20px; line-height: 1; }
.pill:active, .demo-button:active { transform: scale(.97); }
.header-download { min-height: 44px; gap: 10px; padding: 8px 15px; border-color: #ffffff42; }
.header-download:hover { border-color: var(--acid); color: var(--acid); }
.pill-primary { background: var(--acid); color: var(--dark); }
.pill-primary:hover { background: #e5ffa7; }
.pill-dark { background: var(--dark); color: var(--paper); }
.pill-dark:hover { background: #304530; }

.hero { position: relative; isolation: isolate; overflow: hidden; background: radial-gradient(ellipse at 77% 45%, #2b4428 0%, #1a2c1d 31%, transparent 63%), var(--dark); }
.hero-inner { display: grid; grid-template-columns: 1fr 1fr; align-items: center; min-height: 665px; gap: 28px; padding-block: 65px 71px; }
.hero-platform { margin-bottom: 22px; color: #c5d2c4; font-size: 15px; font-weight: 650; }
.hero h1 { color: #f8f8ed; font-size: clamp(64px, 7.4vw, 112px); line-height: 1.055; letter-spacing: -.085em; font-weight: 900; white-space: nowrap; }
.hero h1 em { color: var(--acid); font-style: normal; }
.hero-description { margin: 26px 0 30px; color: #d3dfd2; font-size: clamp(16px, 1.5vw, 20px); line-height: 1.7; }
.demo { display: grid; justify-items: center; min-width: 0; padding-top: 6px; }
.deck { --card-width: min(53%, 304px); position: relative; isolation: isolate; width: 100%; max-width: 580px; height: clamp(270px, 30vw, 424px); display: grid; place-items: center; }
.deck::before { content: ""; position: absolute; inset: 9% 9% 5%; border: 1px solid #d4fa7a24; border-radius: 50%; transform: rotate(-19deg); pointer-events: none; }
.deck::after { content: ""; position: absolute; inset: 13% 6% 11%; border: 1px solid #d4fa7a1c; border-radius: 50%; transform: rotate(17deg); pointer-events: none; }
.photo-card, .back-card, .demo-result { position: absolute; z-index: 1; width: var(--card-width); aspect-ratio: 720 / 870; border-radius: clamp(16px, 2vw, 28px); }
.back-card, .photo-card { background: #213225; overflow: hidden; border: 1px solid #ffffff69; box-shadow: 0 22px 50px #080e0ba1; }
.back-card img, .photo-card img { width: 100%; height: 100%; user-select: none; }
.back-card img { filter: saturate(.75) brightness(.82); }
.back-card-left { z-index: 3; transform: translateX(calc(-42% + 42% * var(--reveal, 0))) rotate(calc(-16deg + 13deg * var(--reveal, 0))) scale(calc(.85 + .15 * var(--reveal, 0))); }
.back-card-left img { filter: saturate(calc(.75 + .25 * var(--reveal, 0))) brightness(calc(.82 + .18 * var(--reveal, 0))); }
.back-card-right { z-index: 2; transform: translateX(calc(42% - 84% * var(--advance, 0))) rotate(calc(15deg - 31deg * var(--advance, 0))) scale(.85); }
.back-card-spare { opacity: var(--advance, 0); transform: translateX(calc(27% + 15% * var(--advance, 0))) rotate(15deg) scale(calc(.78 + .07 * var(--advance, 0))); }
.photo-card { z-index: 4; display: grid; transform: translate3d(var(--card-x, 0px), var(--card-y, 0px), 0) rotate(calc(-3deg + var(--card-angle, 0deg))); }
.photo-card > * { grid-area: 1 / 1; }
.photo-card::after, .back-card-left::after { content: ""; position: absolute; inset: 0; z-index: 1; pointer-events: none; background: linear-gradient(180deg, #0e161653, transparent 26%, transparent 61%, #0c150dbb); }
.back-card-left::after { opacity: var(--reveal, 0); }
.demo.is-ready .photo-card { cursor: grab; touch-action: pan-y pinch-zoom; }
.demo .photo-card.is-dragging { cursor: grabbing; }
.photo-count, .photo-location, .swipe-label { position: relative; z-index: 2; pointer-events: none; }
.photo-count { align-self: start; justify-self: start; margin: 15px; padding: 3px 8px; border-radius: 999px; background: #111a16d9; font-size: 11px; font-variant-numeric: tabular-nums; letter-spacing: .05em; }
.photo-location { align-self: end; margin: 17px; color: #fff; font-size: clamp(13px, 1.3vw, 18px); font-weight: 750; }
.swipe-label { align-self: start; justify-self: end; margin: 46px 13px 0; padding: 4px 9px; border-radius: 7px; background: var(--acid); color: var(--ink); font-size: 14px; font-weight: 850; opacity: 0; transform: rotate(7deg); }
.photo-card[data-direction] .swipe-label { opacity: var(--feedback, 0); }
.photo-card[data-direction="remove"] .swipe-label { background: #ffd7ce; color: #7a2c21; transform: rotate(-7deg); }
.demo-result { z-index: 4; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 14px; padding: 12px; text-align: center; background: #273a24; border: 1px solid #d5fa7c70; box-shadow: 0 22px 50px #080e0b99; }
.demo-result strong { font-size: clamp(20px, 3vw, 34px); line-height: 1.2; }
.demo-result p { font-size: 14px; color: #e0ebda; }
.demo-result .pill { min-height: 44px; padding-inline: 13px; gap: 7px; font-size: 14px; }
.demo-controls { display: flex; gap: 10px; margin-top: 8px; }
.demo-button { display: inline-flex; align-items: center; justify-content: center; min-width: 112px; min-height: 46px; gap: 9px; padding: 7px 14px; background: #ffffff0b; border: 1px solid #ffffff2e; border-radius: 999px; font-size: 14px; font-weight: 700; transition: background-color .2s, border-color .2s, transform .2s; }
.demo-button span { font-size: 18px; }
.demo-button.remove { color: #ffcabf; }
.demo-button.keep { color: var(--acid); }
.demo-button:hover { background: #ffffff16; border-color: currentColor; }
.demo-hint { min-height: 20px; margin-top: 11px; color: #c2d1c1; font-size: 12px; text-align: center; visibility: hidden; }
.demo.is-ready .demo-hint { visibility: visible; }
.demo.is-complete .demo-controls { visibility: hidden; }

.light { background: var(--paper); color: var(--ink); }
.features { padding-block: 96px 54px; }
.section-heading { display: grid; grid-template-columns: 1fr minmax(255px, 350px); align-items: end; gap: 32px; margin-bottom: 43px; }
.section-label { margin-bottom: 12px; font-size: 14px; font-weight: 750; letter-spacing: .07em; color: #4b633a; }
h2 { font-size: clamp(38px, 5.5vw, 76px); letter-spacing: -.07em; line-height: 1.09; font-weight: 850; }
.section-heading > p { max-width: 19em; padding-bottom: 5px; color: #455347; font-size: clamp(16px, 1.6vw, 19px); line-height: 1.75; }
.feature-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.feature { position: relative; min-width: 0; overflow: hidden; isolation: isolate; border-radius: 29px; color: #f8f8ed; }
.feature-copy { position: relative; z-index: 1; padding: clamp(27px, 3.7vw, 56px); }
.feature-label { margin-bottom: 12px; color: var(--feature-accent); font-size: 14px; font-weight: 750; }
.feature h3 { font-size: clamp(28px, 3.45vw, 47px); line-height: 1.2; letter-spacing: -.045em; }
.feature-copy > p:last-child { max-width: 18em; margin-top: 15px; color: #e0e8e0; font-size: 16px; line-height: 1.7; }
.feature-similar { --feature-accent: #ffc3a6; grid-column: 1 / -1; display: grid; grid-template-columns: 1fr 1.14fr; align-items: center; min-height: 398px; background: radial-gradient(ellipse at 80% 100%, #764734, transparent 68%), #2b1b1b; }
.feature-footprints { --feature-accent: #c0ebff; display: grid; grid-template-rows: auto 1fr; background: radial-gradient(ellipse at 70% 92%, #365d7e, transparent 75%), #172c3c; }
.feature-albums { --feature-accent: #c7f7a9; display: grid; grid-template-rows: auto 1fr; background: radial-gradient(ellipse at 50% 94%, #4c6d37, transparent 73%), #223323; }
.feature-art { position: relative; min-height: clamp(224px, 25vw, 352px); }
.feature-art img { position: absolute; max-width: none; height: auto; mix-blend-mode: lighten; mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent), linear-gradient(180deg, transparent, #000 8%); mask-composite: intersect; }
.feature-similar .feature-art { height: 100%; }
.feature-similar img { width: min(76%, 390px); top: 10%; left: 10%; transform: rotate(8deg); }
.feature-footprints img { width: 52%; top: 0; }
.footprint-screen { left: 7%; transform: rotate(-10deg); }
.map-screen { right: 5%; transform: translateY(13%) rotate(9deg); }
.feature-albums img { top: 0; width: 68%; left: 16%; transform: rotate(-8deg); }

.privacy { padding-block: 22px 54px; }
.privacy-panel { display: grid; grid-template-columns: 1.25fr 1fr; align-items: center; gap: 30px; padding: clamp(29px, 5vw, 76px); border-radius: 29px; background: #dee9cd; }
.privacy h2 { font-size: clamp(34px, 4.1vw, 58px); }
.privacy-panel > div:last-child p { max-width: 21em; margin-bottom: 13px; color: #354835; font-size: 17px; line-height: 1.75; }
.text-link { display: inline-flex; min-height: 44px; align-items: center; gap: 10px; font-weight: 750; text-decoration: underline; text-underline-offset: 4px; }
.text-link:hover { color: #4b633a; }
.faq { padding-block: 37px 100px; }
.faq-inner { display: grid; grid-template-columns: 1fr 1.4fr; gap: 34px; }
.faq h2 { font-size: clamp(35px, 4.5vw, 63px); }
.faq details { border-bottom: 1px solid #b8c0af; }
.faq details:first-child { border-top: 1px solid #b8c0af; }
.faq summary { display: flex; align-items: center; justify-content: space-between; min-height: 66px; gap: 12px; padding-block: 12px; list-style: none; cursor: pointer; font-size: 17px; font-weight: 720; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; flex: 0 0 28px; text-align: center; font-size: 23px; line-height: 1; color: #46633b; }
.faq details[open] summary::after { content: "−"; }
.faq details p { max-width: 32em; padding: 0 28px 20px 0; color: #455347; }
.download { background: radial-gradient(ellipse at 58% 96%, #b9e77b, transparent 73%), var(--acid); color: var(--ink); }
.download-inner { display: grid; justify-items: center; text-align: center; padding-block: 77px 83px; gap: 23px; }
.download img { border-radius: 26%; box-shadow: 0 12px 24px #2e562b30; }
.footer-inner { min-height: 98px; padding-block: 16px; }
.footer-inner > div { display: flex; gap: 24px; }
.footer-inner > small { color: var(--muted); white-space: nowrap; }

.policy { max-width: 790px; padding-block: 68px 86px; overflow-wrap: anywhere; }
.policy h1 { font-size: clamp(38px, 6vw, 66px); letter-spacing: -.06em; line-height: 1.1; }
.policy h2 { margin: 38px 0 14px; font-size: 31px; letter-spacing: -.035em; }
.policy h3 { margin: 24px 0 9px; font-size: 20px; }
.policy p { margin-top: 12px; }
.policy li { margin-block: 7px; }
.policy hr { margin-block: 34px; border: 0; border-top: 1px solid #c3cabb; }
.policy a { text-decoration: underline; text-underline-offset: 3px; }

@media (max-width: 1050px) {
  .wrap { width: calc(100% - 72px); }
  .hero-inner { min-height: 595px; }
  .hero h1 { font-size: clamp(53px, 8vw, 86px); }
  .deck { --card-width: 57%; height: clamp(270px, 34vw, 370px); }
}

@media (max-width: 760px) {
  .wrap { width: calc(100% - 40px); }
  .header-inner { min-height: 66px; gap: 12px; }
  .header nav { display: none; }
  .hero { background: radial-gradient(ellipse at 55% 75%, #2b4428, transparent 63%), var(--dark); }
  .hero-inner { grid-template-columns: 1fr; min-height: 0; gap: 20px; padding-block: 50px 39px; }
  .hero-copy { text-align: center; }
  .hero-platform { margin-bottom: 13px; }
  .hero h1 { font-size: clamp(44px, 12.5vw, 78px); }
  .hero-description { margin: 19px 0 21px; }
  .deck { --card-width: min(57%, 271px); max-width: 505px; height: clamp(245px, 66vw, 355px); }
  .photo-count { margin: 10px; }
  .photo-location { margin: 12px; }
  .demo-controls { margin-top: 0; }
  .features { padding-block: 58px 32px; }
  .section-heading { grid-template-columns: 1fr; gap: 14px; margin-bottom: 28px; }
  .section-label { margin-bottom: 9px; }
  .feature-grid { grid-template-columns: 1fr; gap: 14px; }
  .feature { border-radius: 23px; }
  .feature-similar { grid-template-columns: 1fr; min-height: 0; }
  .feature-art { min-height: clamp(235px, 58vw, 380px); }
  .feature-similar img { width: min(78%, 365px); top: 1%; left: 50%; transform: translateX(-50%) rotate(8deg); }
  .feature-footprints img { width: min(54%, 290px); }
  .feature-albums img { width: min(70%, 360px); left: 50%; transform: translateX(-50%) rotate(-8deg); }
  .privacy { padding-block: 12px 40px; }
  .privacy-panel, .faq-inner { grid-template-columns: 1fr; gap: 20px; }
  .privacy-panel { border-radius: 23px; }
  .faq { padding-block: 16px 56px; }
  .faq summary { font-size: 16px; }
  .download-inner { padding-block: 56px 61px; }
  .download img { width: 76px; height: 76px; }
  .footer-inner { flex-wrap: wrap; justify-content: space-between; gap: 8px 16px; }
  .footer-inner > div { gap: 13px; }
  .footer-inner > small { flex-basis: 100%; }
  .policy { padding-block: 45px 60px; }
}

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