/* ==========================================================================
   Fineshot — shared stylesheet
   Palette: navy #0A1A44, deep navy #061033, electric blue #1A7CF0,
   ice #EDF4F7, muted-on-dark #9DB0CC, ink #0B1A33, muted-on-light #5B6B85,
   annotation red #E5322D, highlight yellow rgba(255,214,0,.55)
   ========================================================================== */

/* ---------- Tokens ---------- */
:root {
  --navy: #0A1A44;
  --navy-deep: #061033;
  --blue: #1A7CF0;
  --ice: #EDF4F7;
  --white: #ffffff;
  --muted-dark: #9DB0CC;
  --ink: #0B1A33;
  --muted-light: #5B6B85;
  --red: #E5322D;
  --hl: rgba(255, 214, 0, .55);
  --font: -apple-system, BlinkMacSystemFont, "SF Pro Display", "Inter", "Helvetica Neue", sans-serif;
  --mono: ui-monospace, "SF Mono", "Menlo", monospace;
}

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

html {
  scroll-behavior: smooth;
  overflow-x: clip;
}

body {
  margin: 0;
  background: var(--navy);
  color: var(--white);
  font: 17px/1.6 var(--font);
  -webkit-text-size-adjust: 100%;
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}

h1, h2, h3 { letter-spacing: -0.03em; font-weight: 700; }
img { max-width: 100%; }
a { color: inherit; }

:focus-visible {
  outline: 2px solid var(--blue);
  outline-offset: 3px;
  border-radius: 4px;
}

.container {
  width: 100%;
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 28px;
}

/* ---------- Shared bits: eyebrow, badges, buttons, chips ---------- */
.eyebrow {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 18px;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--muted-dark);
}

.badge-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 22px;
  height: 22px;
  flex: 0 0 22px;
  border-radius: 50%;
  background: var(--red);
  color: var(--white);
  font-size: 12px;
  font-weight: 700;
  line-height: 1;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 26px;
  border-radius: 999px;
  font-size: 16px;
  font-weight: 600;
  text-decoration: none;
  border: 1px solid transparent;
  transition: transform .2s ease, background-color .2s ease, border-color .2s ease;
}
.btn:hover { transform: translateY(-1px); }
.btn-light { background: var(--white); color: var(--navy); }
.btn-ghost { border-color: rgba(255, 255, 255, .35); color: var(--white); }
.btn-ghost:hover { border-color: rgba(255, 255, 255, .7); }
.btn-navy { background: var(--navy); color: var(--white); }
.btn-outline-dark { border-color: rgba(11, 26, 51, .3); color: var(--ink); }
.btn-small { padding: 8px 16px; font-size: 14px; }

.chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 22px 0 0;
  padding: 0;
  list-style: none;
}
.chips li {
  padding: 6px 14px;
  border: 1px solid rgba(157, 176, 204, .4);
  border-radius: 999px;
  font-size: 13px;
  font-weight: 500;
  color: var(--muted-dark);
}

.section-title {
  margin: 0 0 16px;
  font-size: clamp(34px, 4.5vw, 56px);
  line-height: 1.05;
}

/* ---------- Nav ---------- */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 50;
  transition: background-color .3s ease, border-color .3s ease;
  border-bottom: 1px solid transparent;
}
.nav.scrolled {
  background: rgba(10, 26, 68, .92);
  -webkit-backdrop-filter: blur(18px);
  backdrop-filter: blur(18px);
  border-bottom-color: rgba(157, 176, 204, .14);
}
.nav.nav-solid {
  background: var(--navy);
  border-bottom-color: rgba(157, 176, 204, .14);
}
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--white);
  font-weight: 700;
  font-size: 17px;
  letter-spacing: -0.01em;
  text-decoration: none;
}
.brand img { border-radius: 7px; display: block; }
.nav-links {
  display: flex;
  align-items: center;
  gap: 26px;
}
.nav-links > a:not(.btn) {
  font-size: 15px;
  font-weight: 500;
  color: var(--muted-dark);
  text-decoration: none;
  transition: color .2s ease;
}
.nav-links > a:not(.btn):hover { color: var(--white); }

/* ---------- Texture overlays: grain + aurora ---------- */
.grain { position: relative; }
.grain::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 3;
  pointer-events: none;
  opacity: .07;
  mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='200' height='200'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix type='saturate' values='0'/%3E%3C/filter%3E%3Crect width='200' height='200' filter='url(%23n)'/%3E%3C/svg%3E");
  background-size: 200px 200px;
}

.aurora {
  position: absolute;
  inset: 0;
  overflow: hidden;
}
.aurora i {
  position: absolute;
  border-radius: 50%;
  filter: blur(60px);
  animation: aurora-drift 18s ease-in-out infinite alternate;
}
.aurora .a1 {
  width: 56vw;
  height: 56vw;
  right: -6%;
  top: -15%;
  background: radial-gradient(circle, rgba(26, 124, 240, .48), rgba(26, 124, 240, 0) 66%);
}
.aurora .a2 {
  width: 40vw;
  height: 40vw;
  right: 2%;
  bottom: -24%;
  background: radial-gradient(circle, rgba(255, 138, 92, .26), rgba(255, 138, 92, 0) 66%);
  animation-duration: 23s;
  animation-delay: -6s;
}
.aurora .a3 {
  width: 42vw;
  height: 42vw;
  left: -14%;
  bottom: -18%;
  background: radial-gradient(circle, rgba(26, 124, 240, .2), rgba(26, 124, 240, 0) 66%);
  animation-duration: 27s;
  animation-delay: -12s;
}
@keyframes aurora-drift {
  from { transform: translate(-1.5%, 1.5%); }
  to { transform: translate(3%, -3%); }
}
html.reduced .aurora i { animation: none; }

/* ---------- Hero ---------- */
.hero {
  min-height: 90vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  background: var(--navy);
  padding: 140px 0 80px;
}
.hero h1 {
  margin: 0 0 22px;
  font-size: clamp(44px, 7vw, 96px);
  line-height: 1.0;
  max-width: 13ch;
}
.lead {
  margin: 0 0 36px;
  font-size: clamp(18px, 2vw, 22px);
  line-height: 1.5;
  color: var(--muted-dark);
  max-width: 34em;
}
.cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}
.scroll-hint {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 72px 0 0;
  font-size: 14px;
  color: var(--muted-dark);
}
.hero-inner { position: relative; }
.hero-arrow {
  position: absolute;
  left: 0;
  bottom: -44px;
  width: 800px;
  height: 270px;
  opacity: .9;
  pointer-events: none;
}
.hero-arrow path {
  stroke: var(--red);
  stroke-width: 2.5;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-dasharray: 1;
  stroke-dashoffset: 0;
  animation: hero-draw .9s ease .4s backwards;
}
.hero-arrow .ha-head { animation-delay: 1.05s; }
@keyframes hero-draw {
  from { stroke-dashoffset: 1; }
  to { stroke-dashoffset: 0; }
}
.hint-arrow { animation: hint-bounce 1.8s ease-in-out infinite; }
@keyframes hint-bounce {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(5px); }
}

/* ---------- Scroll story layout ---------- */
.story {
  position: relative;
  background: var(--navy);
  border-top: 1px solid rgba(157, 176, 204, .12);
}
.story::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image: radial-gradient(rgba(157, 176, 204, .16) 1px, transparent 1px);
  background-size: 24px 24px;
  -webkit-mask-image: linear-gradient(to bottom, transparent, #000 6%, #000 94%, transparent);
  mask-image: linear-gradient(to bottom, transparent, #000 6%, #000 94%, transparent);
}
/* Soft blue glow pinned behind the sticky stage/phone */
.stage-glow {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 34vw;
  height: 34vw;
  transform: translate(-50%, -50%);
  border-radius: 50%;
  background: radial-gradient(circle, rgba(26, 124, 240, .25), rgba(26, 124, 240, 0) 70%);
  filter: blur(80px);
}
.story-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr);
  column-gap: 48px;
}

.step {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.step-eyebrow {
  margin: 0 0 14px;
  font-family: var(--mono);
  font-size: 13px;
  letter-spacing: .14em;
  color: var(--muted-dark);
}
.step h2 {
  margin: 0 0 12px;
  font-size: clamp(36px, 4.2vw, 60px);
  line-height: 1.05;
}
.step-line {
  margin: 0;
  font-size: 18px;
  color: var(--muted-dark);
}

/* ---------- Stage (sticky phone) ---------- */
.stage {
  position: sticky;
  top: 0;
  height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
}

.wallpaper {
  position: absolute;
  width: min(52vh, 460px, 94vw);
  height: min(88vh, 800px);
  border-radius: 40px;
  background: linear-gradient(150deg, var(--navy) 0%, var(--blue) 58%, #FF8A5C 125%);
  opacity: 0;
  transform: scale(1.06);
  transition: opacity .6s ease, transform .6s ease;
}

/* ---------- Mock phone + screenshot ----------
   Everything inside .phone is sized in container-query units (cqh/cqw)
   so the whole mock scales proportionally with the card — annotation
   coordinates stay correct at every viewport. */
.phone {
  position: relative;
  container-type: size;
  height: min(78vh, 780px);
  aspect-ratio: 9 / 19.5;
  background: var(--white);
  border-radius: 32px;
  overflow: hidden;
  color: var(--ink);
  box-shadow: 0 24px 60px rgba(0, 0, 0, .35);
  transition: transform .6s cubic-bezier(.3, .8, .3, 1), box-shadow .6s ease, border-radius .6s ease;
}

.statusbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 4.36cqh;
  padding: 0 5.6cqw;
  font-size: 1.54cqh;
  font-weight: 600;
  color: var(--ink);
}
.sb-icons {
  display: inline-flex;
  align-items: center;
  gap: 1.7cqw;
  color: var(--ink);
}
.sb-icons svg { height: 1.5cqh; width: auto; }

.screen { padding: 1.28cqh 6.1cqw 0; }
.s-title {
  margin: 0.5cqh 0 0.26cqh;
  font-size: 2.56cqh;
  font-weight: 700;
  letter-spacing: -0.02em;
}
.s-sub {
  margin: 0 0 1.8cqh;
  font-size: 1.6cqh;
  color: var(--muted-light);
}
.s-img {
  position: relative;
  height: 21.8cqh;
  border-radius: 3.9cqw;
  margin-bottom: 1.03cqh;
  overflow: hidden;
  background: linear-gradient(135deg, #BFD9F2 0%, #8FB6EA 55%, #6E9BDF 100%);
}
.s-shape {
  position: absolute;
  right: -12%;
  bottom: -30%;
  width: 62%;
  height: 85%;
  border-radius: 46% 54% 0 58%;
  background: linear-gradient(160deg, #FF9E7D, #F2705A);
}
.s-shape-2 {
  right: auto;
  left: -8%;
  top: -40%;
  bottom: auto;
  width: 40%;
  height: 70%;
  border-radius: 50%;
  background: rgba(255, 255, 255, .35);
}

.s-item {
  display: flex;
  align-items: center;
  gap: 2.8cqw;
  padding: 1.15cqh 0;
  border-bottom: 1px solid rgba(11, 26, 51, .08);
}
.s-thumb {
  width: 9.4cqw;
  height: 4.36cqh;
  flex: 0 0 auto;
  border-radius: 2.5cqw;
}
.s-thumb.th1 { background: linear-gradient(135deg, #9CC3E8, #4E7FB8); }
.s-thumb.th2 { background: linear-gradient(135deg, #E8CAA0, #C08B55); }
.s-item-info {
  display: flex;
  flex-direction: column;
  min-width: 0;
}
.s-item-name {
  font-size: 1.54cqh;
  font-weight: 600;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.s-item-qty { font-size: 1.35cqh; color: var(--muted-light); }
.s-item-price {
  margin-left: auto;
  font-size: 1.6cqh;
  font-weight: 600;
}

.s-track { padding: 1.8cqh 0 0.5cqh; }
.s-track-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.28cqh 0;
  border: 1px solid rgba(11, 26, 51, .16);
  border-radius: 2.8cqw;
  font-size: 1.6cqh;
  font-weight: 600;
  color: var(--muted-light);
}

.s-row {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 4.4cqw;
  padding: 1.41cqh 0;
  font-size: 1.73cqh;
  border-bottom: 1px solid rgba(11, 26, 51, .08);
}
.s-row:last-child { border-bottom: 0; }
.s-label { color: var(--muted-light); white-space: nowrap; flex-shrink: 0; }
.s-val { position: relative; font-weight: 500; text-align: right; }
.s-val .t { position: relative; z-index: 1; }
.s-val .strong { font-weight: 700; }
.s-order { justify-content: flex-start; }
.mono {
  font-family: var(--mono);
  font-size: 1.54cqh;
  letter-spacing: .02em;
  color: var(--muted-light);
}

/* ---------- Annotation layers (inside .phone so they scale with it) ---------- */
.anno-arrow {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
}
.anno-arrow path {
  stroke: var(--red);
  stroke-width: 5;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-dasharray: 1;
  stroke-dashoffset: 1;
  transition: stroke-dashoffset .6s ease 1.1s;
}
.anno-arrow .arrow-head { transition-delay: 1.55s; }

.anno-badge {
  position: absolute;
  left: 13%;
  top: 17.5%;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 6.7cqw;
  height: 6.7cqw;
  border-radius: 50%;
  background: var(--red);
  color: var(--white);
  font-size: 1.67cqh;
  font-weight: 700;
  transform: scale(0);
  transition: transform .45s cubic-bezier(.34, 1.56, .64, 1) 1.35s;
}

.hl {
  position: absolute;
  inset: -0.28cqh -1.94cqw;
  border-radius: 1.1cqw;
  background: var(--hl);
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform .4s ease .85s;
}

/* Sloppy finger stroke for Snap to Text (step 1) */
.stroke {
  position: absolute;
  left: -6%;
  top: -140%;
  width: 112%;
  height: 380%;
  opacity: .45;
  pointer-events: none;
  transition: opacity .15s ease .75s;
}
.stroke path {
  stroke: #FFD600;
  stroke-width: 2.1cqh;
  stroke-linecap: round;
  stroke-dasharray: 1;
  stroke-dashoffset: 1;
  transition: stroke-dashoffset .5s ease;
}

.bar {
  position: absolute;
  inset: 0 -1.4cqw;
  z-index: 2;
  border-radius: 1.1cqw;
  background: #111418;
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform .35s ease;
}
.bar.b2 { transition-delay: .12s; }

.lens {
  position: absolute;
  left: 9%;
  top: 63%;
  width: 18.8cqh;
  height: 18.8cqh;
  border-radius: 50%;
  border: 0.43cqh solid var(--blue);
  background: var(--white);
  box-shadow: 0 12px 32px rgba(0, 0, 0, .3), inset 0 0 0 1px rgba(11, 26, 51, .06);
  overflow: hidden;
  opacity: 0;
  transform: scale(.6);
  transition: opacity .45s ease, transform .45s cubic-bezier(.34, 1.3, .64, 1);
}
.lens-zoom {
  position: absolute;
  left: 0;
  top: 0;
  padding: 1.57cqh 0;
  white-space: nowrap;
  transform: translate(-10.9cqh, 5cqh) scale(1.8);
  transform-origin: 0 0;
}
.lens-zoom .mono { color: var(--ink); }

/* ---------- Stage pills + dots ---------- */
.share-pill, .saved-pill {
  position: absolute;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 9px 16px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 600;
  background: var(--white);
  color: var(--ink);
  box-shadow: 0 8px 24px rgba(0, 0, 0, .35);
  opacity: 0;
  transition: opacity .4s ease, transform .4s cubic-bezier(.34, 1.3, .64, 1);
}
.share-pill {
  top: 84px;
  right: 26px;
  color: var(--blue);
  transform: translateY(-8px);
}
.saved-pill {
  bottom: 26px;
  left: 50%;
  color: #127A3D;
  transform: translate(-50%, 8px);
}
.saved-pill svg { color: #127A3D; }

.dots {
  position: absolute;
  left: 26px;
  bottom: 30px;
  display: flex;
  gap: 7px;
}
.dots i {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: rgba(157, 176, 204, .35);
  transition: background-color .3s ease, transform .3s ease;
}
.dots i.on {
  background: var(--blue);
  transform: scale(1.35);
}

/* ---------- Step states (cumulative via .reach-N on #stage) ---------- */
.stage.reach-1 .arrow-shaft,
.stage.reach-1 .arrow-head { stroke-dashoffset: 0; }
.stage.reach-1 .anno-badge { transform: scale(1); }
.stage.reach-1 .stroke { opacity: 0; }
.stage.reach-1 .stroke path { stroke-dashoffset: 0; }
.stage.reach-1 .hl { transform: scaleX(1); }
.stage.reach-2 .bar { transform: scaleX(1); }
.stage.reach-3 .lens { opacity: 1; transform: scale(1); }
.stage.reach-4 .wallpaper { opacity: 1; transform: scale(1); }
.stage.reach-4 .phone {
  transform: scale(.8);
  border-radius: 24px;
  box-shadow: 0 40px 80px rgba(0, 0, 0, .45);
}
.stage.reach-5 .share-pill,
.stage.reach-5 .saved-pill { opacity: 1; }
.stage.reach-5 .share-pill { transform: translateY(0); }
.stage.reach-5 .saved-pill { transform: translate(-50%, 0); }

/* ---------- Wallpaper flipbook ---------- */
.wallpapers {
  position: relative;
  overflow: hidden;
  background: var(--navy-deep);
  padding: 64px 0;
}
/* Ambient bleed: the current wallpaper blurred behind the section */
.wp-amb {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  filter: blur(40px) saturate(1.2);
  transform: scale(1.15);
  opacity: 0;
  transition: opacity .18s linear;
}
.wp-amb.on { opacity: 1; }
.wp-veil {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(6, 16, 51, .78), rgba(6, 16, 51, 0) 62%),
    rgba(6, 16, 51, .68);
}
.wp-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, auto);
  gap: 64px;
  align-items: center;
}
.wp-copy .lead-section { max-width: 46ch; }

.wp-stage {
  position: relative;
  height: min(650px, calc(100vh - 220px));
  aspect-ratio: 4 / 5;
  width: auto;
  max-width: 100%;
  border-radius: 24px;
  overflow: hidden;
  background: var(--navy);
  border: 1px solid rgba(157, 176, 204, .2);
  box-shadow: 0 40px 90px rgba(0, 0, 0, .45);
  cursor: pointer;
}
.wp-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
}

/* Mini receipt card: sized to content, all internals in cqw so it
   scales with the stage. Highlight + redaction show the finished export. */
.wp-card {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  width: 58%;
  container-type: inline-size;
  background: var(--white);
  border-radius: 18px;
  overflow: hidden;
  color: var(--ink);
  box-shadow: 0 24px 60px rgba(0, 0, 0, .4);
}
.wp-card .statusbar {
  height: 8cqw;
  padding: 0 5.6cqw;
  font-size: 3.1cqw;
}
.wp-card .sb-icons { gap: 1.7cqw; }
.wp-card .sb-icons svg { height: 3cqw; width: auto; }
.wp-card .screen { padding: 1cqw 6cqw 4.5cqw; }
.wp-card .s-title { margin: 1.2cqw 0 0.6cqw; font-size: 5.2cqw; }
.wp-card .s-sub { margin: 0 0 2.6cqw; font-size: 3.2cqw; }
.wp-card .s-row { gap: 4.4cqw; padding: 2.9cqw 0; font-size: 3.4cqw; }
.wp-card .mono { font-size: 3cqw; }
.wp-card .hl {
  inset: -0.7cqw -1.9cqw;
  border-radius: 1.1cqw;
  transform: none;
  transition: none;
}
.wp-card .bar {
  inset: 0 -1.4cqw;
  border-radius: 1.1cqw;
  transform: none;
  transition: none;
}
.wp-card .s-track { padding: 3.4cqw 0 0; }
.wp-card .s-track-btn {
  padding: 2.4cqw 0;
  border-radius: 2.4cqw;
  font-size: 3.2cqw;
}

.wp-own {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  width: 58%;
  aspect-ratio: 13 / 10;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 14px;
  border: 2px dashed rgba(237, 244, 247, .55);
  border-radius: 20px;
  color: var(--ice);
  font-size: 15px;
  font-weight: 600;
  background: rgba(10, 26, 68, .55);
}
.wp-stage.own-on .wp-card { visibility: hidden; }
.wp-own[hidden],
.wp-paused[hidden],
.wp-static[hidden] { display: none; }
.wp-paused {
  position: absolute;
  top: 14px;
  right: 14px;
  padding: 5px 11px;
  border-radius: 999px;
  background: rgba(6, 16, 51, .72);
  color: var(--ice);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .08em;
  text-transform: uppercase;
}
.wp-meta {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 18px;
  font-size: 14px;
}
.wp-counter {
  font-family: ui-monospace, "SF Mono", Menlo, monospace;
  color: var(--muted);
  font-size: 13px;
  letter-spacing: .04em;
}
.wp-name { color: var(--white); font-weight: 600; }
.wp-chip {
  padding: 3px 10px;
  border-radius: 999px;
  border: 1px solid rgba(157, 176, 204, .4);
  color: var(--muted);
  font-size: 12px;
  font-weight: 600;
}
.wp-note {
  margin-top: 6px;
  font-size: 12.5px;
  color: var(--muted);
}
.wp-static {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
  width: 520px;
  max-width: 100%;
  margin-top: 22px;
}
.wp-static img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  border-radius: 10px;
}
.wallpapers.wp-static-on .wp-stage { display: none; }
.wallpapers.wp-static-on .wp-name,
.wallpapers.wp-static-on .wp-chip { display: none; }

@media (max-width: 899px) {
  .wallpapers { padding: 80px 0; }
  .wp-grid {
    grid-template-columns: 1fr;
    gap: 36px;
  }
  .wp-stage {
    width: 100%;
    height: auto;
  }
}

/* ---------- Also in the box ---------- */
.more {
  background: var(--ice);
  color: var(--ink);
  padding: 110px 0;
}
.more .section-title { color: var(--ink); }
.cards {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
  margin-top: 44px;
}
.card {
  position: relative;
  padding: 26px 24px 24px;
  background: var(--white);
  border-radius: 18px;
  box-shadow: 0 2px 12px rgba(11, 26, 51, .06);
}
.card-badge {
  position: absolute;
  top: 18px;
  right: 18px;
}
.glyph {
  width: 30px;
  height: 30px;
  color: var(--blue);
  margin-bottom: 14px;
}
.card h3 {
  margin: 0 0 6px;
  font-size: 18px;
  letter-spacing: -0.02em;
}
.card p {
  margin: 0;
  font-size: 14.5px;
  line-height: 1.5;
  color: var(--muted-light);
}

/* ---------- Pro ---------- */
.pro {
  position: relative;
  overflow: hidden;
  background-color: var(--navy-deep);
  background-image:
    linear-gradient(rgba(6, 16, 51, .72), rgba(6, 16, 51, .72)),
    url("assets/pro-bg.webp");
  background-size: cover;
  background-position: center;
  padding: 110px 0;
}
.lead-section { max-width: 40em; }
.pro-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  margin-top: 48px;
}
.pro-col {
  padding: 30px 28px;
  background: rgba(10, 26, 68, .55);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(157, 176, 204, .22);
  border-radius: 20px;
}
.pro-col-pro {
  border-color: rgba(26, 124, 240, .65);
  box-shadow: 0 0 0 1px rgba(26, 124, 240, .3), 0 0 44px rgba(26, 124, 240, .18);
}
.pro-col h3 {
  margin: 0 0 16px;
  font-size: 20px;
}
.pro-col ul {
  margin: 0;
  padding: 0;
  list-style: none;
}
.pro-col li {
  position: relative;
  padding: 7px 0 7px 24px;
  font-size: 15.5px;
  color: var(--muted-dark);
  border-bottom: 1px solid rgba(157, 176, 204, .12);
}
.pro-col li:last-child { border-bottom: 0; }
.pro-col li::before {
  content: "";
  position: absolute;
  left: 2px;
  top: 14px;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--blue);
}
.pro-col:not(.pro-col-pro) li::before { background: var(--muted-dark); }
.pro-note {
  margin: 18px 0 0;
  padding-top: 14px;
  border-top: 1px solid rgba(157, 176, 204, .12);
  font-size: 13.5px;
  color: var(--muted-dark);
}

/* ---------- Privacy strip ---------- */
.privacy {
  background: #fff;
  color: var(--ink);
  padding: 100px 0;
}
.privacy .section-title { color: var(--ink); }
.privacy-lead {
  margin: 0;
  max-width: 40em;
  font-size: 18px;
  color: var(--muted-light);
}
.facts {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 30px 0 26px;
  padding: 0;
  list-style: none;
}
.facts li {
  padding: 9px 18px;
  border-radius: 6px;
  background: var(--ink);
  color: var(--white);
  font-family: var(--mono);
  font-size: 13px;
  letter-spacing: .02em;
}
.privacy-link { margin: 0; }
.privacy-link a {
  font-weight: 600;
  color: var(--blue);
  text-decoration: none;
}
.privacy-link a:hover { text-decoration: underline; }

/* ---------- Final CTA ---------- */
.final {
  overflow: hidden;
  background: var(--navy-deep);
  padding: 120px 0;
  text-align: center;
}
.final-inner { position: relative; }
.final-icon {
  border-radius: 28px;
  margin-bottom: 30px;
  filter: drop-shadow(0 0 55px rgba(26, 124, 240, .45));
}
.final .section-title { margin-bottom: 34px; }
.final-note {
  margin: 22px 0 0;
  font-size: 14px;
  color: var(--muted-dark);
}

/* ---------- Footer ---------- */
.footer {
  background: var(--navy-deep);
  border-top: 1px solid rgba(157, 176, 204, .14);
  padding: 34px 0;
}
.footer-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 18px 28px;
  font-size: 14px;
  color: var(--muted-dark);
}
.footer-brand { font-weight: 700; color: var(--white); }
.footer-links {
  display: flex;
  gap: 22px;
  margin-right: auto;
}
.footer-links a {
  color: var(--muted-dark);
  text-decoration: none;
}
.footer-links a:hover { color: var(--white); }

/* ---------- Content pages (support / privacy) ---------- */
.page-body {
  background: var(--white);
  color: var(--ink);
}
.page-body .nav { position: fixed; }
.page-main {
  max-width: 44rem;
  margin: 0 auto;
  padding: 9rem 1.5rem 6rem;
}
.page-main .crumb {
  margin: 0 0 2.5rem;
  font-size: 14px;
  color: var(--muted-light);
}
.page-main .crumb a {
  color: var(--muted-light);
  text-decoration: none;
}
.page-main .crumb a:hover { color: var(--blue); }
.page-main h1 {
  margin: 0 0 .5rem;
  font-size: clamp(34px, 5vw, 44px);
  line-height: 1.1;
}
.page-main h2 {
  margin: 2.75rem 0 .6rem;
  font-size: 1.5rem;
  letter-spacing: -0.02em;
}
.page-main h3 {
  margin: 1.9rem 0 .3rem;
  font-size: 1.08rem;
  letter-spacing: -0.01em;
}
.page-main p, .page-main li { margin: .55rem 0; }
.page-main a {
  color: var(--blue);
  text-decoration: none;
}
.page-main a:hover { text-decoration: underline; }
.page-main .meta { color: var(--muted-light); font-size: .95rem; }
.page-main .summary { font-size: 1.15rem; }
.page-main .footer-note {
  margin-top: 3.5rem;
  color: var(--muted-light);
  font-size: .95rem;
}
.page-body .footer { background: var(--white); border-top-color: rgba(11, 26, 51, .12); }
.page-body .footer-inner { color: var(--muted-light); }
.page-body .footer-brand { color: var(--ink); }
.page-body .footer-links a { color: var(--muted-light); }
.page-body .footer-links a:hover { color: var(--ink); }

/* ---------- Responsive: < 1100px ---------- */
@media (max-width: 1100px) {
  .cards { grid-template-columns: repeat(2, 1fr); }
}

/* ---------- Responsive: < 900px — story stacks, stage sticks to top ---------- */
@media (max-width: 900px) {
  .container { padding: 0 20px; }

  .nav-inner { height: 56px; }
  .nav-links { gap: 18px; }
  .nav-links > a:not(.btn) { font-size: 14px; }

  .hero { min-height: 88vh; padding: 120px 0 60px; }
  .scroll-hint { margin-top: 48px; }
  .hero-arrow { display: none; }

  .story-grid {
    display: flex;
    flex-direction: column;
  }
  .stage-wrap { display: contents; }
  .stage {
    order: -1;
    height: 54vh;
    padding-top: 56px;
    background: var(--navy);
    z-index: 5;
  }
  .phone { height: 46vh; }
  .share-pill { top: 70px; right: 14px; padding: 6px 12px; font-size: 11px; }
  .saved-pill { bottom: 14px; padding: 6px 12px; font-size: 11px; }
  .dots { left: 16px; bottom: 18px; }
  .wallpaper { width: min(46vh, 94vw); height: 50vh; border-radius: 26px; }

  .step {
    min-height: 75vh;
    justify-content: flex-end;
    padding-bottom: 4vh;
  }

  .pro-grid { grid-template-columns: 1fr; }
  .more, .pro, .privacy { padding: 80px 0; }
  .final { padding: 90px 0; }
}

/* ---------- Responsive: < 600px ---------- */
@media (max-width: 600px) {
  .cards { grid-template-columns: 1fr; }
}

/* ---------- Responsive: < 560px ---------- */
@media (max-width: 560px) {
  .nav-links { gap: 16px; }
  .nav-links > a:not(.btn) { display: none; }
  .nav-links > a[href="support.html"] { display: inline; }
  .facts li { font-size: 12px; }
}

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    transition-duration: .01ms !important;
    transition-delay: 0ms !important;
    animation: none !important;
  }
}
html.reduced *, html.reduced *::before, html.reduced *::after {
  transition-duration: .01ms !important;
  transition-delay: 0ms !important;
  animation: none !important;
}
