/* 取件一站 · download site */

@font-face {
  font-family: "Smiley Sans";
  src: url("fonts/smiley-subset.woff2?v=2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

:root {
  --bg: #faf3e8;
  --bg-soft: #f5ebdb;
  --surface: #fffdf9;
  --surface-2: #ffffff;
  --ink: #221a16;
  --ink-soft: #4c4039;
  --muted: #7c6e63;
  --accent: #e5533d;
  --accent-strong: #c9422d;
  --accent-soft: #fbe4dd;
  --line: rgba(34, 26, 22, 0.1);
  --line-strong: rgba(34, 26, 22, 0.18);
  --header-bg: rgba(250, 243, 232, 0.82);
  --panel: #241b16;
  --panel-ink: #fff7ee;
  --panel-muted: rgba(255, 247, 238, 0.7);
  --shadow-sm: 0 2px 10px rgba(60, 38, 25, 0.06);
  --shadow-md: 0 24px 60px -28px rgba(60, 38, 25, 0.35);
  --shadow-phone: 0 40px 80px -32px rgba(50, 28, 16, 0.5);
  --radius: 26px;
  --font-ui: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC",
    "Hiragino Sans GB", "Microsoft YaHei", "Noto Sans SC", sans-serif;
  --font-display: "Smiley Sans", "PingFang SC", "Microsoft YaHei", sans-serif;
  --font-mono: ui-monospace, SFMono-Regular, "SF Mono", Consolas, "Liberation Mono", monospace;
  color-scheme: light;
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #151110;
    --bg-soft: #1b1614;
    --surface: #1f1a17;
    --surface-2: #26201c;
    --ink: #f7efe6;
    --ink-soft: #d9cdc3;
    --muted: #a99a8e;
    --accent: #ff6b52;
    --accent-strong: #ff826c;
    --accent-soft: #3a221d;
    --line: rgba(255, 246, 236, 0.1);
    --line-strong: rgba(255, 246, 236, 0.2);
    --header-bg: rgba(21, 17, 16, 0.82);
    --panel: #211a16;
    --panel-ink: #fff7ee;
    --panel-muted: rgba(255, 247, 238, 0.7);
    --shadow-sm: 0 2px 10px rgba(0, 0, 0, 0.25);
    --shadow-md: 0 24px 60px -28px rgba(0, 0, 0, 0.6);
    --shadow-phone: 0 40px 80px -32px rgba(0, 0, 0, 0.75);
    color-scheme: dark;
  }
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  font-family: var(--font-ui);
  font-size: 16px;
  line-height: 1.65;
  color: var(--ink);
  background-color: var(--bg);
  background-image:
    radial-gradient(60rem 40rem at 88% -10%, rgba(229, 83, 61, 0.09), transparent 60%),
    radial-gradient(48rem 32rem at -12% 22%, rgba(240, 178, 120, 0.12), transparent 60%);
  background-repeat: no-repeat;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img,
svg {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
  text-decoration: none;
}

button {
  font: inherit;
  color: inherit;
}

::selection {
  background: var(--accent);
  color: #fff;
}

:focus-visible {
  outline: 3px solid var(--accent);
  outline-offset: 3px;
  border-radius: 6px;
}

.wrap {
  width: min(1120px, calc(100% - 40px));
  margin-inline: auto;
}

.skip-link {
  position: absolute;
  top: -100px;
  left: 16px;
  z-index: 100;
  padding: 10px 16px;
  border-radius: 999px;
  background: var(--accent);
  color: #fff;
  font-size: 14px;
  font-weight: 600;
  transition: top 0.2s ease;
}

.skip-link:focus {
  top: 12px;
}

.icon {
  width: 20px;
  height: 20px;
  flex: none;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

/* ---------- buttons ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  border: 1px solid transparent;
  border-radius: 999px;
  padding: 12px 20px;
  font-size: 14px;
  font-weight: 600;
  line-height: 1;
  white-space: nowrap;
  cursor: pointer;
  text-decoration: none;
  transition: transform 0.18s ease, background-color 0.18s ease, box-shadow 0.18s ease,
    border-color 0.18s ease;
}

.btn:hover {
  transform: translateY(-1px);
}

.btn:active {
  transform: translateY(0);
}

.btn-primary {
  background: var(--accent);
  color: #fff;
  box-shadow: 0 12px 28px -12px rgba(229, 83, 61, 0.8);
}

.btn-primary:hover {
  background: var(--accent-strong);
}

.btn-lg {
  padding: 17px 26px;
  font-size: 15.5px;
}

.btn-lg .icon {
  width: 19px;
  height: 19px;
}

.btn-header {
  padding: 10px 18px;
  font-size: 13px;
}

.btn-ghost {
  background: transparent;
  border-color: var(--line-strong);
  color: var(--ink);
}

.btn-ghost:hover {
  background: var(--surface);
}

.btn-outline-light {
  background: transparent;
  border-color: rgba(255, 247, 238, 0.28);
  color: var(--panel-ink);
}

.btn-outline-light:hover {
  background: rgba(255, 247, 238, 0.08);
}

/* ---------- header ---------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: var(--header-bg);
  backdrop-filter: saturate(160%) blur(16px);
  -webkit-backdrop-filter: saturate(160%) blur(16px);
  border-bottom: 1px solid var(--line);
}

.header-inner {
  display: flex;
  align-items: center;
  gap: 26px;
  height: 74px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  min-width: 0;
}

.brand-icon {
  width: 40px;
  height: 40px;
  border-radius: 12px;
  box-shadow: var(--shadow-sm);
}

.brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
}

.brand-text strong {
  font-family: var(--font-display);
  font-size: 19px;
  font-weight: 400;
  letter-spacing: 0.01em;
}

.brand-text span {
  margin-top: 3px;
  font-size: 8.5px;
  font-weight: 600;
  letter-spacing: 0.22em;
  color: var(--muted);
}

.nav {
  display: flex;
  align-items: center;
  gap: 26px;
  margin-left: auto;
}

.nav a {
  font-size: 13.5px;
  color: var(--muted);
  transition: color 0.18s ease;
}

.nav a:hover {
  color: var(--ink);
}

.header-inner > .btn {
  margin-left: 4px;
}

/* ---------- hero ---------- */

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.04fr) minmax(0, 0.96fr);
  align-items: center;
  gap: clamp(36px, 6vw, 88px);
  padding-block: clamp(52px, 7.5vw, 104px) clamp(44px, 6vw, 88px);
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  margin: 0;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.2em;
  color: var(--muted);
}

.eyebrow-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0 4px var(--accent-soft);
}

.hero h1 {
  margin: 20px 0 24px;
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(58px, 8.2vw, 106px);
  line-height: 0.96;
  letter-spacing: 0.005em;
}

.hero h1 em {
  font-style: normal;
  color: var(--accent);
}

.lede {
  max-width: 31em;
  margin: 0;
  font-size: 16.5px;
  color: var(--ink-soft);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
  margin-top: 30px;
}

.meta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 26px 0 0;
  padding: 0;
  list-style: none;
}

.meta-row li {
  display: inline-flex;
  align-items: baseline;
  gap: 6px;
  padding: 7px 12px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--surface);
  font-size: 12.5px;
  box-shadow: var(--shadow-sm);
}

.meta-row span {
  color: var(--muted);
}

.meta-row strong {
  font-weight: 600;
}

.sha-box {
  display: flex;
  align-items: center;
  gap: 10px;
  max-width: 560px;
  margin-top: 18px;
  padding: 9px 10px 9px 14px;
  border: 1px dashed var(--line-strong);
  border-radius: 14px;
  background: var(--surface);
  font-size: 11.5px;
}

.sha-label {
  flex: none;
  font-size: 9.5px;
  font-weight: 700;
  letter-spacing: 0.14em;
  color: var(--accent);
}

.sha-box code {
  flex: 1;
  min-width: 0;
  font-family: var(--font-mono);
  font-size: 10.5px;
  line-height: 1.5;
  color: var(--muted);
  overflow-wrap: anywhere;
}

.copy-btn {
  flex: none;
  padding: 7px 11px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--bg);
  font-size: 11px;
  font-weight: 600;
  cursor: pointer;
  transition: background-color 0.18s ease, color 0.18s ease;
}

.copy-btn:hover {
  background: var(--accent);
  color: #fff;
}

/* ---------- hero art ---------- */

.hero-art {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 560px;
}

.hero-sun {
  position: absolute;
  width: min(430px, 82%);
  aspect-ratio: 1;
  border-radius: 50%;
  background: radial-gradient(circle at 38% 30%, #ffd9c9, #f6b49e 52%, rgba(246, 180, 158, 0) 72%);
  filter: blur(2px);
  opacity: 0.9;
}

.hero-art::before {
  content: "";
  position: absolute;
  top: 4%;
  right: 4%;
  width: 74px;
  height: 74px;
  background: var(--accent);
  opacity: 0.16;
  clip-path: polygon(50% 0, 61% 39%, 100% 50%, 61% 61%, 50% 100%, 39% 61%, 0 50%, 39% 39%);
}

.hero-art::after {
  content: "";
  position: absolute;
  bottom: 8%;
  left: 2%;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  border: 2px solid var(--accent);
  opacity: 0.28;
}

.phone {
  position: relative;
  width: clamp(248px, 23vw, 308px);
  aspect-ratio: 9 / 19.5;
  padding: 10px;
  border-radius: 46px;
  background: #1b1512;
  box-shadow: var(--shadow-phone);
}

.phone::before {
  content: "";
  position: absolute;
  top: 10px;
  left: 50%;
  z-index: 2;
  width: 34%;
  height: 22px;
  transform: translateX(-50%);
  border-radius: 0 0 16px 16px;
  background: #1b1512;
}

.phone-screen {
  height: 100%;
  overflow: hidden;
  border-radius: 36px;
  background: #fdf8f0;
}

.phone-screen img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.phone-hero {
  z-index: 1;
  transform: rotate(-2.5deg);
}

.float-card {
  position: absolute;
  z-index: 3;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 11px 15px;
  border: 1px solid var(--line);
  border-radius: 17px;
  background: var(--surface-2);
  box-shadow: var(--shadow-md);
  font-size: 9.5px;
  line-height: 1.25;
  letter-spacing: 0.04em;
  color: var(--muted);
}

.float-card strong {
  display: block;
  font-size: 13.5px;
  color: var(--ink);
  letter-spacing: 0;
}

.float-card .icon {
  width: 22px;
  height: 22px;
  color: var(--accent);
}

.float-zero {
  bottom: 17%;
  left: -6px;
  transform: rotate(-3deg);
}

.float-version {
  top: 12%;
  right: -4px;
  transform: rotate(3deg);
}

.pulse {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #34b06a;
  box-shadow: 0 0 0 4px rgba(52, 176, 106, 0.16);
}

/* ---------- sections ---------- */

.section {
  padding-block: clamp(56px, 7.5vw, 96px);
}

.section-tint {
  background: var(--bg-soft);
  border-block: 1px solid var(--line);
}

.section-head {
  max-width: 660px;
}

.section-no {
  margin: 0 0 14px;
  font-family: var(--font-mono);
  font-size: 10.5px;
  font-weight: 600;
  letter-spacing: 0.2em;
  color: var(--accent);
}

.section-head h2,
.privacy-head h2 {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(32px, 4.4vw, 52px);
  line-height: 1.1;
  letter-spacing: 0.005em;
}

.section-sub {
  margin: 16px 0 0;
  font-size: 15.5px;
  color: var(--muted);
}

.br-mobile {
  display: none;
}

.swipe-hint {
  display: none;
}

/* ---------- features ---------- */

.feature-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  margin-top: clamp(32px, 4.5vw, 52px);
}

.feature-card {
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  box-shadow: var(--shadow-sm);
  transition: transform 0.22s ease, box-shadow 0.22s ease, border-color 0.22s ease;
}

.feature-card:hover {
  transform: translateY(-3px);
  border-color: var(--line-strong);
  box-shadow: var(--shadow-md);
}

.feature-icon {
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  border-radius: 14px;
  background: var(--accent-soft);
  color: var(--accent);
}

.feature-icon .icon {
  width: 23px;
  height: 23px;
}

.feature-card h3 {
  margin: 20px 0 8px;
  font-size: 18px;
  font-weight: 700;
  letter-spacing: 0.01em;
}

.feature-card p {
  margin: 0;
  font-size: 14px;
  color: var(--muted);
}

/* ---------- screenshots ---------- */

.phone-row {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(20px, 3.5vw, 44px);
  align-items: start;
  margin-top: clamp(36px, 5vw, 60px);
}

.shot {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin: 0;
}

.shot:nth-child(2) {
  margin-top: clamp(20px, 3vw, 40px);
}

.phone-shot {
  width: min(250px, 100%);
  transform: none;
}

.phone-shot::before {
  height: 18px;
}

.shot figcaption {
  margin-top: 18px;
  font-size: 13px;
  color: var(--muted);
  text-align: center;
}

.shot figcaption strong {
  display: block;
  margin-bottom: 2px;
  font-size: 14.5px;
  color: var(--ink);
}

/* ---------- download panel ---------- */

.download-panel {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: clamp(28px, 5vw, 64px);
  overflow: hidden;
  padding: clamp(30px, 5vw, 58px);
  border-radius: 34px;
  background:
    radial-gradient(34rem 20rem at 110% -20%, rgba(229, 83, 61, 0.35), transparent 60%),
    linear-gradient(145deg, #2c211b, #1b1410);
  color: var(--panel-ink);
  box-shadow: var(--shadow-md);
}

.download-panel::after {
  content: "";
  position: absolute;
  right: 26%;
  bottom: -70px;
  width: 180px;
  height: 180px;
  border-radius: 50%;
  border: 1px solid rgba(255, 247, 238, 0.1);
  pointer-events: none;
}

.download-copy {
  position: relative;
  z-index: 1;
}

.section-no.light {
  color: rgba(255, 158, 139, 0.95);
}

.download-panel h2 {
  margin: 0 0 14px;
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(32px, 4.2vw, 48px);
  line-height: 1.08;
}

.download-panel h2 span {
  color: #ff9e8b;
}

.download-panel p {
  max-width: 34em;
  margin: 0;
  font-size: 14.5px;
  color: var(--panel-muted);
}

.download-panel code {
  font-family: var(--font-mono);
  font-size: 0.92em;
  color: #ffc9bc;
}

.download-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 26px;
}

.download-note {
  margin-top: 14px !important;
  font-size: 12px !important;
  color: rgba(255, 247, 238, 0.45) !important;
}

.qr-card {
  position: relative;
  z-index: 1;
  flex: none;
  width: 208px;
  padding: 16px 16px 15px;
  border-radius: 20px;
  background: #fff;
  color: #221a16;
  text-align: center;
  box-shadow: 0 24px 50px -24px rgba(0, 0, 0, 0.6);
}

.qr-card img {
  width: 168px;
  height: 168px;
  margin-inline: auto;
  border-radius: 4px;
}

.qr-card strong {
  display: block;
  margin-top: 6px;
  font-size: 14px;
}

.qr-card span {
  display: block;
  margin-top: 2px;
  font-family: var(--font-mono);
  font-size: 10px;
  color: #7c6e63;
  word-break: break-all;
}

/* ---------- steps ---------- */

.steps {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  margin: clamp(32px, 4.5vw, 52px) 0 0;
  padding: 0;
  list-style: none;
}

.steps li {
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  box-shadow: var(--shadow-sm);
}

.step-no {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: var(--accent);
  color: #fff;
  font-family: var(--font-display);
  font-size: 19px;
  box-shadow: 0 10px 20px -10px rgba(229, 83, 61, 0.9);
}

.steps h3 {
  margin: 20px 0 8px;
  font-size: 17px;
}

.steps p {
  margin: 0;
  font-size: 13.5px;
  color: var(--muted);
}

.steps code,
.lede code,
.faq-list code {
  padding: 1px 5px;
  border-radius: 5px;
  background: var(--accent-soft);
  color: var(--accent-strong);
  font-family: var(--font-mono);
  font-size: 0.88em;
}

/* ---------- privacy ---------- */

.privacy-card {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: clamp(28px, 5vw, 64px);
  padding: clamp(30px, 5vw, 58px);
  border: 1px solid var(--line);
  border-radius: 34px;
  background: var(--surface);
  box-shadow: var(--shadow-sm);
}

.privacy-head h2 {
  margin-top: 0;
}

.privacy-body p {
  margin: 0 0 14px;
  font-size: 14.5px;
  color: var(--muted);
}

.privacy-body code {
  padding: 1px 5px;
  border-radius: 5px;
  background: var(--accent-soft);
  color: var(--accent-strong);
  font-family: var(--font-mono);
  font-size: 0.88em;
}

.chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 22px 0 0;
  padding: 0;
  list-style: none;
}

.chips li {
  padding: 7px 13px;
  border-radius: 999px;
  background: var(--accent-soft);
  color: var(--accent-strong);
  font-size: 12px;
  font-weight: 600;
}

/* ---------- history ---------- */

.history-list {
  margin: clamp(26px, 4vw, 44px) 0 0;
  padding: 0;
  list-style: none;
}

.history-list li {
  display: grid;
  grid-template-columns: 130px minmax(0, 1fr) auto;
  gap: 22px;
  align-items: start;
  padding: 22px 0;
  border-top: 1px solid var(--line);
}

.history-list li:last-child {
  border-bottom: 1px solid var(--line);
}

.history-version {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.history-version strong {
  font-family: var(--font-display);
  font-size: 25px;
  font-weight: 400;
  line-height: 1;
}

.badge {
  align-self: flex-start;
  padding: 2px 8px;
  border-radius: 999px;
  background: var(--accent);
  color: #fff;
  font-size: 9.5px;
  font-weight: 700;
  letter-spacing: 0.08em;
}

.history-main h3 {
  margin: 0 0 4px;
  font-size: 15.5px;
}

.history-main p {
  margin: 0;
  font-size: 13.5px;
  color: var(--muted);
}

.history-list time {
  font-family: var(--font-mono);
  font-size: 11.5px;
  color: var(--muted);
  white-space: nowrap;
  padding-top: 5px;
}

.history-list li.current .history-main h3 {
  color: var(--accent-strong);
}

/* ---------- FAQ ---------- */

.faq-list {
  max-width: 780px;
  margin-top: clamp(22px, 3.5vw, 38px);
}

.faq-list details {
  border-bottom: 1px solid var(--line);
}

.faq-list details:first-child {
  border-top: 1px solid var(--line);
}

.faq-list summary {
  position: relative;
  padding: 19px 44px 19px 0;
  font-size: 15.5px;
  font-weight: 600;
  cursor: pointer;
  list-style: none;
}

.faq-list summary::-webkit-details-marker {
  display: none;
}

.faq-list summary::after {
  content: "+";
  position: absolute;
  top: 50%;
  right: 6px;
  transform: translateY(-50%);
  font-size: 22px;
  font-weight: 300;
  color: var(--accent);
  transition: transform 0.2s ease;
}

.faq-list details[open] summary::after {
  transform: translateY(-50%) rotate(45deg);
}

.faq-list details p {
  max-width: 66ch;
  margin: 0;
  padding: 0 0 20px;
  font-size: 14px;
  color: var(--muted);
}

/* ---------- footer ---------- */

.site-footer {
  margin-top: clamp(20px, 4vw, 40px);
  padding-block: 46px 44px;
  border-top: 1px solid var(--line);
  background: var(--bg-soft);
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  gap: 40px;
}

.footer-brand {
  display: flex;
  align-items: flex-start;
  gap: 12px;
}

.footer-brand img {
  border-radius: 10px;
  box-shadow: var(--shadow-sm);
}

.footer-brand strong {
  display: block;
  font-family: var(--font-display);
  font-size: 16px;
  font-weight: 400;
}

.footer-brand span {
  display: block;
  margin-top: 3px;
  font-size: 12px;
  color: var(--muted);
}

.footer-legal {
  max-width: 540px;
  text-align: right;
}

.footer-legal p {
  margin: 0 0 6px;
  font-size: 11.5px;
  line-height: 1.6;
  color: var(--muted);
}

.footer-legal a {
  text-decoration: underline;
  text-underline-offset: 2px;
}

/* ---------- mobile download bar ---------- */

.mobile-bar {
  display: none;
  position: fixed;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: 60;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 10px 16px calc(10px + env(safe-area-inset-bottom));
  background: var(--header-bg);
  backdrop-filter: saturate(160%) blur(16px);
  -webkit-backdrop-filter: saturate(160%) blur(16px);
  border-top: 1px solid var(--line);
}

.mobile-bar-text {
  display: flex;
  flex-direction: column;
  line-height: 1.3;
  min-width: 0;
}

.mobile-bar-text strong {
  font-size: 13.5px;
}

.mobile-bar-text span {
  font-size: 11px;
  color: var(--muted);
}

/* ---------- responsive ---------- */

@media (max-width: 1024px) {
  .hero {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .hero-copy {
    max-width: 640px;
  }

  .hero-art {
    min-height: 520px;
    padding-top: 8px;
  }

  .nav {
    gap: 18px;
  }
}

@media (max-width: 860px) {
  .nav {
    display: none;
  }

  .header-inner > .btn {
    margin-left: auto;
  }

  .feature-grid {
    grid-template-columns: 1fr;
  }

  .steps {
    grid-template-columns: 1fr;
  }

  .privacy-card {
    grid-template-columns: 1fr;
  }

  .footer-inner {
    flex-direction: column;
    gap: 24px;
  }

  .footer-legal {
    text-align: left;
  }
}

@media (max-width: 720px) {
  .wrap {
    width: min(1120px, calc(100% - 36px));
  }

  .site-header .brand-text span {
    display: none;
  }

  .header-inner {
    height: 66px;
    gap: 14px;
  }

  .brand-text strong {
    font-size: 17px;
  }

  .hero {
    padding-block: 38px 44px;
  }

  .hero h1 {
    font-size: clamp(52px, 15vw, 76px);
    margin-top: 16px;
  }

  .lede {
    font-size: 15.5px;
  }

  .hero-actions {
    flex-direction: column;
    align-items: stretch;
    margin-top: 24px;
  }

  .hero-actions .btn {
    width: 100%;
  }

  .meta-row {
    margin-top: 20px;
  }

  .sha-box {
    align-items: flex-start;
    flex-wrap: wrap;
  }

  .sha-box code {
    flex-basis: calc(100% - 50px);
    order: 3;
  }

  .copy-btn {
    margin-left: auto;
  }

  .hero-art {
    min-height: 440px;
  }

  .phone {
    width: min(268px, 74vw);
  }

  .float-zero {
    bottom: 8%;
    left: 0;
  }

  .float-version {
    top: 6%;
    right: 0;
  }

  .section {
    padding-block: 52px;
  }

  .section-head h2,
  .privacy-head h2 {
    font-size: clamp(30px, 9vw, 40px);
  }

  .br-mobile {
    display: inline;
  }

  .swipe-hint {
    display: block;
    margin: 18px 0 -14px;
    font-size: 12px;
    color: var(--muted);
    letter-spacing: 0.04em;
  }

  .phone-row {
    display: flex;
    gap: 16px;
    overflow-x: auto;
    margin-inline: -18px;
    padding: 6px 18px 18px;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
  }

  .phone-row::-webkit-scrollbar {
    display: none;
  }

  .shot {
    flex: 0 0 70vw;
    scroll-snap-align: center;
  }

  .shot:nth-child(2) {
    margin-top: 0;
  }

  .phone-shot {
    width: min(260px, 100%);
  }

  .download-panel {
    grid-template-columns: 1fr;
    border-radius: 28px;
  }

  .qr-card {
    width: 100%;
    max-width: 300px;
    justify-self: start;
  }

  .history-list li {
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 8px 16px;
  }

  .history-version {
    grid-column: 1;
    flex-direction: row;
    align-items: center;
    gap: 8px;
  }

  .history-list time {
    grid-column: 2;
    grid-row: 1;
  }

  .history-main {
    grid-column: 1 / -1;
  }

  .site-footer {
    padding-bottom: 96px;
  }

  .mobile-bar {
    display: flex;
  }
}

@media (max-width: 480px) {
  .hero-art {
    min-height: 400px;
  }

  .float-card {
    padding: 9px 12px;
  }

  .float-card strong {
    font-size: 12.5px;
  }

  .float-card .icon {
    width: 19px;
    height: 19px;
  }

  .feature-card,
  .steps li {
    padding: 22px;
  }

  .privacy-card,
  .download-panel {
    padding: 24px;
  }

  .download-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .download-actions .btn {
    width: 100%;
  }

  .qr-card {
    max-width: none;
  }
}

/* ---------- 404 ---------- */

.error-page {
  min-height: 70vh;
  display: grid;
  place-content: center;
  text-align: center;
}

.error-title {
  margin: 18px 0 12px;
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(44px, 9vw, 84px);
  line-height: 1;
}

.error-page .lede {
  margin-inline: auto;
}

.error-action {
  margin-top: 28px;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }
}

/* ============================================================
   v2 · motion & polish
   ============================================================ */

:root {
  --accent-2: #f0a05a;
  --accent-3: #ff8e6e;
}

/* ---------- scroll progress ---------- */

.scroll-progress {
  position: fixed;
  inset: 0 0 auto;
  z-index: 120;
  height: 3px;
  pointer-events: none;
}

.scroll-progress span {
  display: block;
  width: 100%;
  height: 100%;
  transform: scaleX(0);
  transform-origin: 0 50%;
  background: linear-gradient(90deg, var(--accent), var(--accent-2));
  box-shadow: 0 0 14px rgba(229, 83, 61, 0.45);
  transition: transform 0.1s linear;
}

/* ---------- header ---------- */

.site-header {
  transition: box-shadow 0.3s ease, border-color 0.3s ease;
}

.site-header.is-scrolled {
  border-bottom-color: var(--line-strong);
  box-shadow: 0 18px 44px -34px rgba(60, 38, 25, 0.6);
}

.nav a {
  position: relative;
  padding-bottom: 5px;
}

.nav a::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  height: 2px;
  border-radius: 2px;
  background: var(--accent);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.25s cubic-bezier(0.2, 0.7, 0.2, 1);
}

.nav a:hover::after,
.nav a.active::after {
  transform: scaleX(1);
}

.nav a.active {
  color: var(--ink);
}

/* ---------- hero headline ---------- */

@supports ((-webkit-background-clip: text) or (background-clip: text)) {
  .hero h1 em {
    background-image: linear-gradient(110deg, var(--accent) 10%, #f07a4f 55%, #d9422d 90%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    color: transparent;
  }
}

.hero-title .title-line {
  display: block;
  overflow: hidden;
  padding-bottom: 0.05em;
}

.hero-title .title-line > * {
  display: inline-block;
  transform: translateY(112%);
  animation: title-rise 0.95s cubic-bezier(0.16, 0.8, 0.24, 1) forwards;
}

.hero-title .title-line:nth-child(2) > * {
  animation-delay: 0.12s;
}

@keyframes title-rise {
  to {
    transform: translateY(0);
  }
}

.eyebrow,
.lede,
.hero-actions,
.meta-row,
.sha-box,
.hero-cue {
  animation: hero-fade 0.9s cubic-bezier(0.16, 0.8, 0.24, 1) both;
}

.eyebrow {
  animation-delay: 0.05s;
}

.lede {
  animation-delay: 0.2s;
}

.hero-actions {
  animation-delay: 0.3s;
}

.meta-row {
  animation-delay: 0.38s;
}

.sha-box {
  animation-delay: 0.46s;
}

.hero-cue {
  animation-delay: 0.55s;
}

@keyframes hero-fade {
  from {
    opacity: 0;
    transform: translateY(14px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

/* ---------- hero scroll cue ---------- */

.hero-cue {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-top: 30px;
  font-size: 10.5px;
  font-weight: 600;
  letter-spacing: 0.2em;
  color: var(--muted);
  transition: color 0.2s ease;
}

.hero-cue:hover {
  color: var(--accent);
}

.hero-cue-line {
  position: relative;
  width: 1px;
  height: 30px;
  overflow: hidden;
  background: var(--line-strong);
}

.hero-cue-line::after {
  content: "";
  position: absolute;
  top: -60%;
  left: 0;
  width: 100%;
  height: 55%;
  background: var(--accent);
  animation: cue-run 2.2s ease-in-out infinite;
}

@keyframes cue-run {
  0% {
    top: -60%;
  }
  70%,
  100% {
    top: 110%;
  }
}

/* ---------- hero art ---------- */

.hero-art {
  --px: 0px;
  --py: 0px;
  --rx: 0deg;
  --ry: 0deg;
  perspective: 1400px;
  animation: hero-art-in 1s cubic-bezier(0.16, 0.8, 0.24, 1) 0.15s both;
}

@keyframes hero-art-in {
  from {
    opacity: 0;
    transform: translateY(20px) scale(0.97);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

.hero-sun {
  animation: sun-breathe 9s ease-in-out infinite;
}

@keyframes sun-breathe {
  0%,
  100% {
    transform: scale(1);
    opacity: 0.85;
  }
  50% {
    transform: scale(1.06);
    opacity: 1;
  }
}

.hero-art::before {
  transform-origin: center;
  animation: sparkle-spin 24s linear infinite;
}

@keyframes sparkle-spin {
  to {
    transform: rotate(360deg);
  }
}

.phone-hero {
  transform: rotate(-2.5deg) rotateX(var(--rx)) rotateY(var(--ry))
    translate3d(var(--px), var(--py), 0);
  transition: transform 0.3s ease-out;
  animation: hero-float 7s ease-in-out infinite;
  will-change: transform;
}

@keyframes hero-float {
  0%,
  100% {
    translate: 0 0;
  }
  50% {
    translate: 0 -9px;
  }
}

.float-zero {
  transform: rotate(-3deg)
    translate3d(calc(var(--px) * 0.45), calc(var(--py) * 0.45), 0);
  animation: float-bob 6s ease-in-out infinite;
}

.float-version {
  transform: rotate(3deg)
    translate3d(calc(var(--px) * -0.35), calc(var(--py) * -0.35), 0);
  animation: float-bob 7.5s ease-in-out infinite 0.6s;
}

@keyframes float-bob {
  0%,
  100% {
    translate: 0 0;
  }
  50% {
    translate: 0 -6px;
  }
}

/* ---------- platform marquee ---------- */

.marquee-band {
  overflow: hidden;
  padding-block: 15px;
  border-block: 1px solid var(--line);
  background: linear-gradient(180deg, var(--surface), var(--bg));
}

.marquee {
  overflow: hidden;
  mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent);
  -webkit-mask-image: linear-gradient(
    90deg,
    transparent,
    #000 12%,
    #000 88%,
    transparent
  );
}

.marquee-track {
  display: flex;
  align-items: center;
  gap: 30px;
  width: max-content;
  animation: marquee-scroll 38s linear infinite;
}

.marquee-band:hover .marquee-track {
  animation-play-state: paused;
}

.marquee-item {
  font-family: var(--font-display);
  font-size: 15px;
  letter-spacing: 0.05em;
  color: var(--ink-soft);
  white-space: nowrap;
}

.marquee-dot {
  width: 5px;
  height: 5px;
  flex: none;
  border-radius: 50%;
  background: var(--accent);
  opacity: 0.55;
}

@keyframes marquee-scroll {
  to {
    transform: translateX(-50%);
  }
}

/* ---------- reveal on scroll ---------- */

.reveal-armed {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.8s cubic-bezier(0.16, 0.8, 0.24, 1),
    transform 0.8s cubic-bezier(0.16, 0.8, 0.24, 1);
  transition-delay: var(--reveal-delay, 0s);
}

.reveal-armed.is-revealed {
  opacity: 1;
  transform: none;
}

.feature-grid .feature-card:nth-child(2),
.steps li:nth-child(2),
.history-list li:nth-child(2),
.phone-row .shot:nth-child(2) {
  --reveal-delay: 0.08s;
}

.feature-grid .feature-card:nth-child(3),
.steps li:nth-child(3),
.history-list li:nth-child(3),
.phone-row .shot:nth-child(3) {
  --reveal-delay: 0.16s;
}

.feature-grid .feature-card:nth-child(4),
.history-list li:nth-child(4) {
  --reveal-delay: 0.24s;
}

/* ---------- feature cards ---------- */

.feature-card {
  position: relative;
  overflow: hidden;
  isolation: isolate;
}

.feature-card::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: radial-gradient(
    240px circle at var(--mx, 50%) var(--my, 50%),
    rgba(229, 83, 61, 0.1),
    transparent 68%
  );
  opacity: 0;
  transition: opacity 0.35s ease;
}

.feature-card:hover::before {
  opacity: 1;
}

.feature-card::after {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--accent), transparent);
  opacity: 0;
  transition: opacity 0.35s ease;
}

.feature-card:hover::after {
  opacity: 0.55;
}

.feature-icon {
  transition: transform 0.35s cubic-bezier(0.2, 0.8, 0.2, 1),
    background-color 0.35s ease;
}

.feature-card:hover .feature-icon {
  transform: rotate(-6deg) scale(1.08);
}

/* ---------- buttons ---------- */

.btn-primary {
  position: relative;
  overflow: hidden;
  background-image: linear-gradient(135deg, var(--accent) 0%, #f06a4a 100%);
}

.btn-primary::after {
  content: "";
  position: absolute;
  inset: -20% -40%;
  background: linear-gradient(
    105deg,
    transparent 35%,
    rgba(255, 255, 255, 0.35) 48%,
    transparent 62%
  );
  transform: translateX(-70%) rotate(2deg);
  transition: transform 0.65s cubic-bezier(0.2, 0.7, 0.2, 1);
  pointer-events: none;
}

.btn-primary:hover::after {
  transform: translateX(70%) rotate(2deg);
}

.btn-primary:hover {
  background-color: var(--accent-strong);
  background-image: linear-gradient(135deg, var(--accent-strong) 0%, #e85f3f 100%);
  box-shadow: 0 16px 36px -14px rgba(229, 83, 61, 0.85);
}

/* ---------- section depth ---------- */

.section-tint {
  position: relative;
  overflow: hidden;
}

.section-tint::before {
  content: "";
  position: absolute;
  top: -220px;
  right: -140px;
  width: 560px;
  height: 560px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(229, 83, 61, 0.1), transparent 65%);
  pointer-events: none;
}

.section-tint > .wrap {
  position: relative;
  z-index: 1;
}

section[id] {
  scroll-margin-top: 96px;
}

.section-head h2,
.privacy-head h2,
.download-panel h2 {
  text-wrap: balance;
}

/* ---------- screenshots ---------- */

.shot-link {
  position: relative;
  display: block;
  border-radius: 46px;
  outline-offset: 8px;
}

.phone-shot {
  transition: transform 0.45s cubic-bezier(0.2, 0.8, 0.2, 1),
    box-shadow 0.45s ease;
}

.shot-link:hover .phone-shot {
  transform: translateY(-8px) rotateX(2.5deg) rotateY(-1.5deg) scale(1.015);
  box-shadow: 0 50px 90px -34px rgba(50, 28, 16, 0.55);
}

.shot-zoom {
  position: absolute;
  bottom: 14px;
  left: 50%;
  padding: 6px 12px;
  border-radius: 999px;
  background: rgba(24, 17, 13, 0.78);
  color: #fff7ee;
  font-size: 10.5px;
  letter-spacing: 0.06em;
  white-space: nowrap;
  opacity: 0;
  pointer-events: none;
  transform: translate(-50%, 8px);
  transition: opacity 0.25s ease, transform 0.25s ease;
}

.shot-link:hover .shot-zoom {
  opacity: 1;
  transform: translate(-50%, 0);
}

/* ---------- download panel ---------- */

.download-panel::before {
  content: "";
  position: absolute;
  inset: -45%;
  background: conic-gradient(
    from 0deg,
    transparent 0 32%,
    rgba(255, 158, 139, 0.16) 42%,
    transparent 52% 100%
  );
  animation: panel-spin 16s linear infinite;
  pointer-events: none;
}

@keyframes panel-spin {
  to {
    transform: rotate(360deg);
  }
}

.qr-card {
  transition: transform 0.35s cubic-bezier(0.2, 0.8, 0.2, 1),
    box-shadow 0.35s ease;
}

.qr-card:hover {
  transform: translateY(-5px) rotate(-1deg);
  box-shadow: 0 32px 60px -26px rgba(0, 0, 0, 0.65);
}

/* ---------- screenshot lightbox ---------- */

body.dialog-open {
  overflow: hidden;
}

.shot-dialog {
  width: auto;
  max-width: min(92vw, 520px);
  padding: 0;
  overflow: hidden;
  border: 0;
  border-radius: 24px;
  background: var(--surface);
  color: var(--ink);
  box-shadow: 0 40px 100px -30px rgba(0, 0, 0, 0.65);
}

.shot-dialog[open] {
  animation: dialog-pop 0.28s cubic-bezier(0.2, 0.8, 0.2, 1);
}

@keyframes dialog-pop {
  from {
    opacity: 0;
    transform: scale(0.96) translateY(8px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

.shot-dialog::backdrop {
  background: rgba(20, 14, 11, 0.72);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.shot-dialog-img {
  display: block;
  width: auto;
  max-width: 100%;
  max-height: 78vh;
  margin-inline: auto;
  background: var(--bg);
}

.shot-dialog-caption {
  margin: 0;
  padding: 14px 20px 18px;
  font-size: 13px;
  color: var(--muted);
  text-align: center;
}

.shot-dialog-close {
  position: absolute;
  top: 10px;
  right: 10px;
  z-index: 2;
  width: 36px;
  height: 36px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: rgba(24, 17, 13, 0.6);
  color: #fff;
  font-size: 22px;
  line-height: 1;
  cursor: pointer;
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  transition: background-color 0.2s ease, transform 0.2s ease;
}

.shot-dialog-close:hover {
  background: var(--accent);
  transform: rotate(90deg);
}

.shot-dialog-close:focus-visible {
  outline: 2px solid rgba(255, 247, 238, 0.95);
  outline-offset: 2px;
}

/* ---------- back to top ---------- */

.to-top {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 70;
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  padding: 0;
  border: 1px solid var(--line-strong);
  border-radius: 50%;
  background: var(--surface);
  color: var(--ink);
  box-shadow: var(--shadow-md);
  cursor: pointer;
  opacity: 0;
  pointer-events: none;
  transform: translateY(12px) scale(0.94);
  transition: opacity 0.3s ease, transform 0.3s ease,
    background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.to-top.is-visible {
  opacity: 1;
  pointer-events: auto;
  transform: none;
}

.to-top:hover {
  border-color: transparent;
  background: var(--accent);
  color: #fff;
}

.to-top .icon {
  width: 19px;
  height: 19px;
}

/* ---------- responsive polish ---------- */

@media (max-width: 720px) {
  .hero-cue {
    margin-top: 24px;
  }

  .marquee-track {
    gap: 22px;
  }

  .marquee-item {
    font-size: 14px;
  }

  .shot-zoom {
    opacity: 0.92;
    transform: translate(-50%, 0);
  }

  .shot-link:hover .phone-shot {
    transform: none;
  }

  .to-top {
    right: 16px;
    bottom: 92px;
    width: 42px;
    height: 42px;
  }

  .shot-dialog-img {
    max-height: 72vh;
  }
}

@media (hover: none) {
  .shot-zoom {
    opacity: 0.92;
    transform: translate(-50%, 0);
  }
}

/* ---------- dark polish ---------- */

@media (prefers-color-scheme: dark) {
  .hero h1 em {
    background-image: linear-gradient(110deg, #ff8064 10%, #ffa06b 55%, #ff5c42 90%);
  }

  .feature-card::before {
    background: radial-gradient(
      240px circle at var(--mx, 50%) var(--my, 50%),
      rgba(255, 107, 82, 0.14),
      transparent 68%
    );
  }

  .btn-primary {
    background-image: linear-gradient(135deg, #ff6b52 0%, #f07a4f 100%);
  }
}

/* ---------- reduced motion polish ---------- */

@media (prefers-reduced-motion: reduce) {
  .marquee-track {
    animation: none;
  }

  .phone-hero,
  .float-zero,
  .float-version,
  .hero-sun,
  .hero-art::before,
  .hero-art,
  .hero-title .title-line > * {
    animation: none !important;
    transform: none;
  }

  .phone-hero {
    transform: rotate(-2.5deg);
  }

  .float-zero {
    transform: rotate(-3deg);
  }

  .float-version {
    transform: rotate(3deg);
  }

  .reveal-armed {
    opacity: 1;
    transform: none;
  }
}
