/* BluRez — palette sampled from the app icon: abyss navy, electric cyan, ice. */
:root {
  --abyss: #030b14;
  --deep: #06182a;
  --navy: #0b2a47;
  --blue: #1b6fb0;
  --cyan: #38c6f4;
  --cyan-lite: #7fdcfb;
  --ice: #d6f4ff;
  --text: #eaf6ff;
  --text-dim: #9fb7c9;
  --paper: #edf2f5;          /* gallery wall */
  --paper-ink: #0a1a28;
  --paper-dim: #4c6273;
  --paper-accent: #0d6aa3;
  --radius: 22px;
  --wrap: 1160px;
  --font-display: "Instrument Serif", "Iowan Old Style", Georgia, serif;
  --font-body: "Sora", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 72px; }
body {
  margin: 0;
  background: var(--abyss);
  color: var(--text);
  font: 400 16px/1.65 var(--font-body);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
h1, h2, h3 { margin: 0; line-height: 1.05; }
h1, h2 { font-family: var(--font-display); font-weight: 400; letter-spacing: -0.01em; }
h2 { font-size: clamp(38px, 5.2vw, 58px); margin-bottom: 36px; text-wrap: balance; }
h2 em, h1 em { font-style: italic; }
h3 { font: 600 19px/1.25 var(--font-body); letter-spacing: -0.01em; }
p { margin: 0; }

.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 16px; }
@media (min-width: 720px) { .wrap { padding: 0 32px; } }

.eyebrow {
  font: 600 12px/1.3 var(--font-body);
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: var(--cyan-lite);
  margin-bottom: 16px;
}
.eyebrow--light { color: var(--paper-accent); }

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

.skip {
  position: absolute; left: 12px; top: -60px; z-index: 50;
  background: var(--cyan); color: var(--abyss); font-weight: 600;
  padding: 10px 16px; border-radius: 10px; text-decoration: none;
}
.skip:focus { top: 12px; }

/* ---------- Nav ---------- */
.nav {
  position: sticky; top: 0; z-index: 20;
  background: rgb(3 11 20 / 0.72);
  backdrop-filter: saturate(160%) blur(14px);
  -webkit-backdrop-filter: saturate(160%) blur(14px);
  border-bottom: 1px solid rgb(127 220 251 / 0.08);
}
.nav__inner { display: flex; align-items: center; gap: 24px; height: 64px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; font: 600 19px/1 var(--font-body); letter-spacing: -0.02em; }
.brand img { border-radius: 9px; box-shadow: 0 0 0 1px rgb(127 220 251 / 0.25); }
.nav__links { display: none; gap: 28px; margin-left: auto; }
.nav__links a { text-decoration: none; color: var(--text-dim); font-size: 14px; font-weight: 500; transition: color .2s; }
.nav__links a:hover { color: var(--text); }
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  background: var(--cyan); color: #02121e; text-decoration: none;
  font: 600 14px/1 var(--font-body);
  border-radius: 999px; padding: 12px 20px;
  transition: background .2s, transform .2s, box-shadow .2s;
  box-shadow: 0 0 24px -6px rgb(56 198 244 / 0.7);
}
.btn:hover { background: var(--cyan-lite); transform: translateY(-1px); }
.btn--small { padding: 10px 16px; margin-left: auto; }
@media (min-width: 760px) {
  .nav__links { display: flex; }
  .btn--small { margin-left: 8px; }
}

/* ---------- Hero ---------- */
.hero {
  position: relative; isolation: isolate;
  padding: 48px 0 72px;
  overflow: hidden;
  background:
    radial-gradient(55% 45% at 85% 60%, rgb(27 111 176 / 0.45), transparent 70%),
    radial-gradient(40% 35% at 10% 10%, rgb(56 198 244 / 0.14), transparent 70%),
    linear-gradient(180deg, var(--abyss) 0%, #051524 55%, #0a2640 100%);
}
/* The icon's own painting, blurred into atmosphere. */
.hero__glow {
  position: absolute; inset: -20%; z-index: -1;
  background: url("assets/print.webp") center / cover;
  filter: blur(80px) saturate(140%);
  opacity: 0.22;
  mask-image: radial-gradient(60% 60% at 70% 55%, #000, transparent 80%);
  -webkit-mask-image: radial-gradient(60% 60% at 70% 55%, #000, transparent 80%);
}
.hero__grid { display: grid; gap: 44px; align-items: center; }
.hero h1 { font-size: clamp(54px, 9vw, 100px); line-height: 0.95; margin-bottom: 24px; text-wrap: balance; }
.shimmer {
  font-style: italic;
  background: linear-gradient(100deg, var(--ice) 0%, var(--cyan) 30%, #2a86d0 55%, var(--cyan-lite) 80%, var(--ice) 100%);
  background-size: 220% 100%;
  -webkit-background-clip: text; background-clip: text; color: transparent;
  animation: shimmer 7s ease-in-out infinite alternate;
  padding-right: 0.08em; /* keep the italic overhang from clipping */
}
@keyframes shimmer { from { background-position: 0% 0; } to { background-position: 100% 0; } }
.lede { font-size: clamp(16px, 1.5vw, 18px); color: var(--text-dim); max-width: 32em; margin-bottom: 32px; text-wrap: pretty; }
.cta-row { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 20px; }
.appstore { display: inline-block; border-radius: 12px; transition: transform .2s; }
.appstore:hover { transform: translateY(-2px); }
.appstore img { height: 56px; width: auto; }
.meta { color: var(--text-dim); font-size: 13px; letter-spacing: .01em; }

.hero__demo { display: flex; flex-direction: column; align-items: center; gap: 18px; min-width: 0; }
@media (min-width: 900px) {
  .hero { padding: 72px 0 96px; }
  .hero__grid { grid-template-columns: 1.05fr 0.95fr; gap: 56px; }
}

/* ---------- Hero stage: a print on a wall, a phone in front ---------- */
.stage {
  position: relative;
  width: min(100%, 470px);
  aspect-ratio: 100 / 118;
  container-type: inline-size;
}
.wall {
  position: absolute; inset: 0 0 0 0;
  border-radius: 6cqw;
  background:
    radial-gradient(60% 40% at 32% 0%, rgb(190 232 255 / 0.2), transparent 70%),
    linear-gradient(180deg, #10283d, #081624 80%);
  box-shadow: inset 0 0 0 1px rgb(127 220 251 / 0.08), 0 30px 60px -30px rgb(0 0 0 / 0.8);
  overflow: hidden;
}
.wall::after { /* baseboard */
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 9cqw;
  background: linear-gradient(180deg, rgb(0 0 0 / 0.35), rgb(0 0 0 / 0.1));
  border-top: 1px solid rgb(127 220 251 / 0.07);
}
.print {
  position: absolute; left: 5cqw; top: 17cqw; width: 50cqw;
  padding: 1.4cqw; background: #070a0e;
  box-shadow: 0 3cqw 6cqw -1.5cqw rgb(0 0 0 / 0.75), 0 0 0 1px rgb(255 255 255 / 0.05);
}
.print__mat { background: #eef2f4; padding: 3.2cqw; }
.print img { width: 100%; aspect-ratio: 1; object-fit: cover; }
.placard {
  position: absolute; left: 5cqw; top: 73cqw; width: 15cqw; padding: 1.4cqw;
  background: #dfe7ec; display: grid; gap: 0.9cqw; opacity: .85;
}
.placard i { display: block; height: 0.8cqw; background: #8ea1ae; border-radius: 1px; }
.placard i:nth-child(1) { width: 70%; background: #43596a; }
.placard i:nth-child(3) { width: 55%; }

.phone {
  position: absolute; right: 3cqw; top: 8cqw; width: 47cqw;
  aspect-ratio: 300 / 620;
  padding: 1.5cqw;
  border-radius: 7.4cqw;
  background: linear-gradient(145deg, #2c323a, #0b0e12 40%, #20262e);
  box-shadow:
    0 0 0 0.35cqw #3c434d inset,
    0 8cqw 14cqw -4cqw rgb(0 0 0 / 0.8),
    0 0 20cqw -4cqw rgb(56 198 244 / 0.55);
  transform: rotate(3.5deg);
}
.phone__screen {
  position: relative; height: 100%;
  border-radius: 6cqw; overflow: hidden;
  background: #081624;
  container-type: inline-size;
}
.phone__screen canvas { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }
.p-status {
  position: absolute; top: 0; left: 0; right: 0; z-index: 2;
  display: flex; align-items: center; justify-content: space-between;
  padding: 4.6cqw 9cqw 0;
  color: #fff; font: 600 5.6cqw/1 -apple-system, BlinkMacSystemFont, system-ui, sans-serif;
}
.p-island { width: 30cqw; height: 8.6cqw; border-radius: 5cqw; background: #000; }
.p-batt { width: 11cqw; height: 4.4cqw; border-radius: 1.4cqw; border: 1px solid rgb(255 255 255 / .7); background: linear-gradient(90deg, #fff 0 70%, transparent 70%); background-clip: content-box; padding: 1px; }
.p-chip {
  position: absolute; left: 50%; bottom: 8cqw; z-index: 2; translate: -50% 0;
  display: flex; align-items: center; gap: 2.8cqw;
  padding: 3.2cqw 5.4cqw; border-radius: 999px;
  background: rgb(4 14 24 / 0.6);
  -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px);
  border: 1px solid rgb(255 255 255 / 0.14);
  color: #fff; font: 500 5cqw/1 var(--font-body); white-space: nowrap;
  transition: background .4s, border-color .4s;
}
.p-chip__dot { width: 2.6cqw; height: 2.6cqw; border-radius: 50%; background: #93a9ba; transition: background .3s; }
.p-chip.is-found { border-color: rgb(255 255 255 / 0.4); }
.p-chip.is-found .p-chip__dot { background: #fff; }
.p-chip.is-live { border-color: rgb(56 198 244 / 0.5); background: rgb(6 30 48 / 0.65); }
.p-chip.is-live .p-chip__dot { background: var(--cyan); animation: pulse 1.4s ease-out infinite; }
@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgb(56 198 244 / 0.8); }
  100% { box-shadow: 0 0 0 3cqw rgb(56 198 244 / 0); }
}

.caption {
  font-size: 14px; color: var(--text-dim);
  background: rgb(127 220 251 / 0.06); border: 1px solid rgb(127 220 251 / 0.14);
  padding: 8px 18px; border-radius: 999px; min-height: 38px;
  transition: border-color .4s, color .4s;
}
.caption b { color: var(--text); font-weight: 600; }
.caption.is-live { border-color: rgb(56 198 244 / 0.45); color: var(--ice); }
.caption.is-live b { color: var(--cyan-lite); }

/* ---------- How it works (gallery wall) ---------- */
.how { background: var(--paper); color: var(--paper-ink); padding: 96px 0; }
.how h2 em { color: var(--paper-accent); }
.steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 20px; }
@media (min-width: 860px) { .steps { grid-template-columns: repeat(3, 1fr); } }
.step {
  position: relative; background: #fff; border-radius: var(--radius); padding: 28px 26px 30px;
  box-shadow: 0 1px 0 rgb(10 26 40 / 0.06), 0 16px 34px -22px rgb(11 42 71 / 0.45);
}
.step__num {
  position: absolute; top: 20px; right: 24px;
  font: italic 400 34px/1 var(--font-display); color: var(--paper-accent);
}
.step h3 { margin-bottom: 8px; }
.step p { color: var(--paper-dim); font-size: 15px; }

.ill { position: relative; height: 112px; margin-bottom: 22px; display: flex; align-items: flex-end; gap: 10px; }
.ill img { width: 100%; height: 100%; object-fit: cover; }
/* 1: a downloaded sheet */
.sheet {
  width: 84px; height: 108px; background: #fff; padding: 9px 9px 26px;
  border-radius: 4px; box-shadow: 0 10px 22px -10px rgb(11 42 71 / 0.5), 0 0 0 1px rgb(10 26 40 / 0.08);
  transform: rotate(-4deg);
}
.ill__badge {
  position: absolute; left: 66px; bottom: 2px;
  width: 38px; height: 38px; border-radius: 50%; display: grid; place-items: center;
  background: var(--cyan); color: #02121e; box-shadow: 0 6px 16px -4px rgb(27 111 176 / 0.6);
}
/* 2 & 3: framed prints */
.fr { display: block; background: #070a0e; padding: 3px; box-shadow: 0 8px 18px -8px rgb(11 42 71 / 0.55); }
.fr img { border: 4px solid #eef2f4; }
.fr--s { width: 42px; height: 42px; }
.fr--m { width: 66px; height: 66px; }
.fr--l { width: 96px; height: 96px; }
.ill--point .fr--lit { box-shadow: 0 0 0 0 rgb(56 198 244 / 0), 0 0 30px 4px rgb(56 198 244 / 0.55); animation: lit 2.6s ease-in-out infinite; }
@keyframes lit { 50% { box-shadow: 0 0 0 0 rgb(56 198 244 / 0), 0 0 44px 10px rgb(56 198 244 / 0.75); } }
.mini-phone {
  position: absolute; left: 80px; bottom: -6px;
  width: 50px; height: 96px; border-radius: 11px; padding: 3px;
  background: #0b0e12; box-shadow: 0 10px 22px -8px rgb(0 0 0 / 0.55);
  transform: rotate(6deg);
}
.mini-phone span {
  display: block; height: 100%; border-radius: 8px;
  background:
    radial-gradient(60% 40% at 50% 45%, rgb(127 220 251 / 0.95), rgb(27 111 176 / 0.6) 60%, transparent 80%),
    linear-gradient(180deg, #0f2a42, #06182a);
}

/* ---------- Compare ---------- */
.see {
  padding: 104px 0;
  background:
    radial-gradient(45% 50% at 100% 50%, rgb(27 111 176 / 0.28), transparent 70%),
    var(--abyss);
}
.see__grid { display: grid; gap: 44px; align-items: center; }
@media (min-width: 900px) { .see__grid { grid-template-columns: 0.9fr 1.1fr; gap: 72px; } }
.see h2 em, .features h2 em, .final h2 em { color: var(--cyan-lite); }
.see__lede { color: var(--text-dim); font-size: 17px; max-width: 30em; margin-bottom: 18px; }
.note { color: #7d95a8; font-size: 13px; max-width: 34em; }

.compare {
  --pos: 50%;
  position: relative; width: min(100%, 540px); aspect-ratio: 1; justify-self: center;
  border: 10px solid #070a0e; outline: 1px solid rgb(127 220 251 / 0.14);
  box-shadow: 0 30px 70px -30px rgb(0 0 0 / 0.9), 0 0 90px -20px rgb(56 198 244 / 0.45);
  overflow: hidden; background: #081624;
  touch-action: pan-y; cursor: ew-resize; user-select: none; -webkit-user-select: none;
}
.compare__live, .compare__static { position: absolute; inset: 0; width: 100%; height: 100%; }
.compare__live { display: block; }
.compare__static { clip-path: inset(0 calc(100% - var(--pos)) 0 0); }
.compare__static img { width: 100%; height: 100%; object-fit: cover; filter: saturate(0.85) brightness(0.92); pointer-events: none; -webkit-user-drag: none; }
.compare__tag {
  position: absolute; top: 14px; z-index: 2;
  font: 600 11px/1 var(--font-body); letter-spacing: .12em; text-transform: uppercase;
  padding: 8px 12px; border-radius: 999px;
  background: rgb(3 11 20 / 0.62); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px);
  border: 1px solid rgb(255 255 255 / 0.14);
  pointer-events: none;
}
.compare__tag--l { left: 14px; }
.compare__tag--r { right: 14px; color: var(--cyan-lite); border-color: rgb(56 198 244 / 0.4); }
.compare__line {
  position: absolute; top: 0; bottom: 0; left: var(--pos); width: 2px; translate: -1px 0; z-index: 3;
  background: #fff; box-shadow: 0 0 14px rgb(56 198 244 / 0.9);
  pointer-events: none;
}
.compare__handle {
  position: absolute; top: 50%; left: 50%; translate: -50% -50%;
  width: 46px; height: 46px; border-radius: 50%; display: grid; place-items: center;
  background: #fff; color: #06182a;
  box-shadow: 0 6px 20px rgb(0 0 0 / 0.45), 0 0 0 6px rgb(56 198 244 / 0.25);
  transition: box-shadow .2s;
}
.compare__range {
  position: absolute; inset: 0; width: 100%; height: 100%; margin: 0;
  opacity: 0; pointer-events: none; /* pointer drags are handled on the container */
}
/* The range sits after the handle in the DOM, so show its focus ring on the handle via :has. */
.compare:has(.compare__range:focus-visible) .compare__handle { box-shadow: 0 0 0 3px #06182a, 0 0 0 7px var(--cyan); }

/* ---------- Features ---------- */
.features {
  padding: 104px 0;
  background:
    radial-gradient(50% 40% at 0% 100%, rgb(56 198 244 / 0.12), transparent 70%),
    linear-gradient(180deg, var(--abyss), var(--deep));
}
.cards { list-style: none; margin: 0; padding: 0; display: grid; gap: 16px; }
@media (min-width: 640px) { .cards { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 980px) { .cards { grid-template-columns: repeat(3, 1fr); } }
.card {
  position: relative; overflow: hidden;
  background: linear-gradient(180deg, rgb(11 42 71 / 0.55), rgb(6 24 42 / 0.55));
  border: 1px solid rgb(127 220 251 / 0.1); border-radius: var(--radius);
  padding: 26px 24px 28px;
  transition: border-color .3s, transform .3s;
}
.card:hover { border-color: rgb(127 220 251 / 0.3); transform: translateY(-2px); }
.card__icon {
  width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; margin-bottom: 20px;
  background: rgb(56 198 244 / 0.12); color: var(--cyan-lite);
  box-shadow: inset 0 0 0 1px rgb(56 198 244 / 0.25);
}
.card__icon svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.card h3 { margin-bottom: 8px; }
.card p { color: var(--text-dim); font-size: 15px; }

/* ---------- Details: museum wall label ---------- */
.details { background: var(--paper); color: var(--paper-ink); padding: 104px 0; }
.details h2 em { color: var(--paper-accent); }
.details__grid { display: grid; gap: 40px; align-items: center; }
@media (min-width: 900px) { .details__grid { grid-template-columns: 1fr 1fr; gap: 72px; } }
.details__lede { color: var(--paper-dim); font-size: 17px; max-width: 26em; margin-top: -12px; }
.label {
  background: #fbfcfd; color: var(--paper-ink);
  padding: 30px 28px 26px; max-width: 480px; width: 100%; justify-self: center;
  box-shadow: 0 1px 0 rgb(10 26 40 / 0.08), 0 24px 40px -24px rgb(11 42 71 / 0.45);
  border-left: 4px solid var(--paper-accent);
}
.label h3 { font: italic 400 34px/1 var(--font-display); letter-spacing: 0; margin-bottom: 6px; }
.label__by { font-size: 14px; color: var(--paper-dim); }
.label__medium { font-size: 14px; font-style: italic; color: var(--paper-dim); margin: 4px 0 20px; }
.label__specs { margin: 0; border-top: 1px solid #dbe3e8; }
.label__specs div { display: grid; grid-template-columns: 120px 1fr; gap: 12px; padding: 10px 0; border-bottom: 1px solid #e6ecef; font-size: 14px; }
.label__specs dt { color: var(--paper-dim); }
.label__specs dd { margin: 0; font-weight: 500; }

/* ---------- Final CTA ---------- */
.final { padding: 96px 0; background: var(--deep); }
.final__card {
  position: relative; overflow: hidden; isolation: isolate;
  text-align: center; border-radius: 32px; padding: 64px 24px;
  background: linear-gradient(160deg, #06182a 0%, var(--navy) 35%, var(--blue) 80%, #2aa6df 100%);
  display: flex; flex-direction: column; align-items: center;
  box-shadow: 0 0 0 1px rgb(127 220 251 / 0.18);
}
.final__card::before {
  content: ""; position: absolute; inset: -30%; z-index: -1;
  background: url("assets/print.webp") center / cover;
  filter: blur(60px); opacity: .35;
}
.final__icon { border-radius: 22px; margin-bottom: 28px; box-shadow: 0 16px 40px -12px rgb(0 0 0 / 0.6), 0 0 0 1px rgb(255 255 255 / 0.2); }
.final__card h2 { margin-bottom: 12px; }
.final__card h2 em { color: var(--ice); }
.final__card p { color: rgb(234 246 255 / 0.88); margin-bottom: 28px; font-size: 17px; max-width: 28em; }

/* ---------- Footer ---------- */
.footer { background: var(--abyss); border-top: 1px solid rgb(127 220 251 / 0.08); padding: 28px 0; font-size: 14px; color: var(--text-dim); }
.footer__inner { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px 24px; }
.footer nav { display: flex; gap: 22px; }
.footer a { text-decoration: none; }
.footer a:hover { color: var(--text); }

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

@media (max-width: 719px) {
  .how, .see, .features, .details { padding: 72px 0; }
  .final { padding: 64px 0 72px; }
  .final__card { padding: 52px 20px; }
  h2 { margin-bottom: 28px; }
}
