:root {
  --bg: #050505;
  --bg-elev: #121214;
  --ink: #f4efe6;
  --muted: #a39a8c;
  --copper: #c47a3a;
  --amber: #e8a84a;
  --line: rgba(244, 239, 230, 0.12);
  --glow: rgba(196, 122, 58, 0.35);
  --font-display: "Fraunces", Georgia, serif;
  --font-body: "Sora", system-ui, sans-serif;
  --radius: 18px;
  --shell: min(1120px, calc(100% - 2.5rem));
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: var(--amber);
  text-decoration: none;
}
a:hover {
  color: #ffd28a;
}

.shell {
  width: var(--shell);
  margin-inline: auto;
}

.narrow {
  max-width: 720px;
}

.skip {
  position: absolute;
  left: -999px;
  top: 0;
}
.skip:focus {
  left: 1rem;
  top: 1rem;
  z-index: 99;
  background: var(--amber);
  color: #111;
  padding: 0.5rem 1rem;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  backdrop-filter: blur(16px);
  background: rgba(5, 5, 5, 0.72);
  border-bottom: 1px solid transparent;
}
.has-hero .site-header {
  position: absolute;
  inset-inline: 0;
  background: linear-gradient(to bottom, rgba(0, 0, 0, 0.55), transparent);
  border: 0;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 0;
  gap: 1rem;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  color: inherit;
}
.brand img {
  border-radius: 10px;
  box-shadow: 0 0 0 1px var(--line);
}
.brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
}
.brand-text strong {
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 700;
}
.brand-text em {
  font-style: normal;
  font-size: 0.7rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
}

.nav {
  display: flex;
  align-items: center;
  gap: 1.1rem;
  font-size: 0.9rem;
  font-weight: 500;
}
.nav a {
  color: var(--ink);
  opacity: 0.85;
}
.nav a:hover {
  opacity: 1;
  color: var(--amber);
}
.nav-cta {
  background: linear-gradient(135deg, var(--copper), var(--amber));
  color: #140e08 !important;
  padding: 0.55rem 0.95rem;
  border-radius: 999px;
  font-weight: 700;
  opacity: 1 !important;
}

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

/* Hero */
.hero {
  position: relative;
  min-height: 100svh;
  display: grid;
  align-items: end;
  overflow: hidden;
}
.hero-media {
  position: absolute;
  inset: 0;
}
.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 30%;
  transform: scale(1.02);
  animation: heroDrift 18s ease-in-out infinite alternate;
}
.hero-veil {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(100deg, rgba(5, 5, 5, 0.97) 0%, rgba(5, 5, 5, 0.88) 34%, rgba(5, 5, 5, 0.35) 58%, rgba(5, 5, 5, 0.2) 100%),
    linear-gradient(to top, rgba(5, 5, 5, 0.98) 0%, rgba(5, 5, 5, 0.2) 48%, rgba(5, 5, 5, 0.15) 100%);
}
.hero-copy {
  position: relative;
  z-index: 1;
  padding: 8rem 0 5.5rem;
  max-width: 640px;
  margin-left: max(calc((100% - var(--shell)) / 2), 1.25rem);
  margin-right: auto;
  animation: fadeUp 1s ease both;
}
.hero-copy::before {
  content: "";
  position: absolute;
  inset: 5.5rem -1.5rem 2.5rem -1.75rem;
  background: radial-gradient(ellipse at left center, rgba(5, 5, 5, 0.75), transparent 72%);
  z-index: -1;
  pointer-events: none;
}
.eyebrow {
  font-size: 0.78rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--amber);
  font-weight: 600;
  margin: 0 0 0.85rem;
}
.hero h1,
.page-hero h1 {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(2.8rem, 7vw, 5rem);
  line-height: 0.98;
  letter-spacing: -0.02em;
  margin: 0 0 1rem;
  color: #fff8ee;
}
.hero h1 {
  text-shadow:
    0 1px 0 rgba(255, 248, 238, 0.12),
    0 12px 40px rgba(0, 0, 0, 0.75);
}
.lede {
  font-size: 1.1rem;
  color: #efe6d8;
  max-width: 38rem;
  margin: 0 0 1.75rem;
}
.answer-first {
  font-size: 1.12rem;
  color: #e9e2d6;
  max-width: 42rem;
}

.cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.9rem 1.35rem;
  border-radius: 999px;
  font-weight: 700;
  font-size: 0.95rem;
  border: 1px solid transparent;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.btn:hover {
  transform: translateY(-1px);
}
.btn-primary {
  background: linear-gradient(135deg, var(--copper), var(--amber));
  color: #140e08;
  box-shadow: 0 10px 40px var(--glow);
}
.btn-ghost {
  border-color: var(--line);
  color: var(--ink);
  background: rgba(255, 255, 255, 0.03);
}

/* Sections */
.section {
  padding: 5rem 0;
}
.section.alt {
  background:
    radial-gradient(ellipse at top, rgba(196, 122, 58, 0.08), transparent 55%),
    linear-gradient(180deg, #0a0a0b, #050505);
}
.section-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1.5rem;
}
.section h2,
.page-hero h1 + .lede {
  font-family: var(--font-display);
}
.section h2 {
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  margin: 0 0 1rem;
  letter-spacing: -0.01em;
}

.page-hero {
  padding: 6rem 0 2rem;
}
.has-hero .page-hero {
  padding-top: 7rem;
}

.muted {
  color: var(--muted);
}
.center {
  text-align: center;
}
.text-link {
  font-weight: 600;
}

.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.reveal.in {
  opacity: 1;
  transform: none;
}

/* Product */
.product-split {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 3rem;
  align-items: center;
}
@media (max-width: 900px) {
  .product-split {
    grid-template-columns: 1fr;
  }
}
.feature-list {
  padding-left: 1.1rem;
  color: #d7cfc3;
}
.feature-list li {
  margin-bottom: 0.85rem;
}

.phone-stage {
  position: relative;
  min-height: 520px;
  display: grid;
  place-items: center;
}
.phone {
  width: min(260px, 42vw);
  filter: drop-shadow(0 30px 60px rgba(0, 0, 0, 0.65));
  animation: floatY 5.5s ease-in-out infinite;
}
.phone-a {
  position: absolute;
  left: 8%;
  transform: rotate(-6deg);
}
.phone-b {
  position: relative;
  margin-left: 22%;
  animation-delay: -1.8s;
}

/* Grids */
.tile-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
}
.tile-grid.dense {
  grid-template-columns: repeat(6, 1fr);
}
@media (max-width: 900px) {
  .tile-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .tile-grid.dense {
    grid-template-columns: repeat(3, 1fr);
  }
}
.tile {
  background: var(--bg-elev);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1rem 0.85rem 1.1rem;
  color: inherit;
  text-align: center;
  transition: border-color 0.2s ease, transform 0.2s ease;
}
.tile:hover {
  border-color: rgba(232, 168, 74, 0.45);
  transform: translateY(-3px);
  color: inherit;
}
.tile img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: contain;
  margin-bottom: 0.65rem;
}
.tile span {
  font-size: 0.9rem;
  font-weight: 600;
}

.cat-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.9rem;
}
@media (min-width: 800px) {
  .cat-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}
.cat-card {
  display: flex;
  gap: 0.85rem;
  align-items: center;
  padding: 0.9rem;
  background: rgba(18, 18, 20, 0.9);
  border: 1px solid var(--line);
  border-radius: 16px;
  color: inherit;
}
.cat-card:hover {
  border-color: rgba(196, 122, 58, 0.5);
  color: inherit;
}
.cat-card img {
  width: 64px;
  height: 64px;
  object-fit: cover;
  border-radius: 12px;
}
.cat-card strong {
  display: block;
  font-size: 0.95rem;
}
.cat-card span {
  color: var(--muted);
  font-size: 0.8rem;
}

.card-strip {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}
@media (max-width: 800px) {
  .card-strip {
    grid-template-columns: 1fr;
  }
}
.card-strip a {
  display: block;
  padding: 1.4rem 1.3rem;
  border-radius: 18px;
  border: 1px solid var(--line);
  background: linear-gradient(160deg, rgba(196, 122, 58, 0.12), transparent 60%);
  color: inherit;
}
.card-strip strong {
  display: block;
  font-family: var(--font-display);
  font-size: 1.35rem;
  margin-bottom: 0.35rem;
}
.card-strip span {
  color: var(--muted);
  font-size: 0.92rem;
}

/* FAQ / forms */
.faq details {
  border-top: 1px solid var(--line);
  padding: 1rem 0;
}
.faq details:last-child {
  border-bottom: 1px solid var(--line);
}
.faq summary {
  cursor: pointer;
  font-weight: 600;
  list-style: none;
}
.faq summary::-webkit-details-marker {
  display: none;
}
.faq p {
  color: #d5cdc0;
  margin: 0.65rem 0 0;
}

.search {
  display: flex;
  gap: 0.6rem;
  margin-top: 1.5rem;
  max-width: 560px;
}
.search input {
  flex: 1;
  background: var(--bg-elev);
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--ink);
  padding: 0.9rem 1.1rem;
  font: inherit;
}

/* Specimen */
.specimen-hero {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 2.5rem;
  align-items: center;
  margin-top: 1.5rem;
}
@media (max-width: 800px) {
  .specimen-hero {
    grid-template-columns: 1fr;
  }
}
.specimen-visual {
  background:
    radial-gradient(circle at 30% 20%, rgba(232, 168, 74, 0.18), transparent 50%),
    var(--bg-elev);
  border: 1px solid var(--line);
  border-radius: 28px;
  padding: 1.5rem;
}
.sci {
  color: var(--muted);
  margin-top: -0.4rem;
}
.chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin: 1rem 0;
}
.chip {
  font-size: 0.72rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 0.3rem 0.65rem;
  color: var(--muted);
}
.props {
  width: 100%;
  border-collapse: collapse;
}
.props th,
.props td {
  text-align: left;
  padding: 0.85rem 0.5rem;
  border-bottom: 1px solid var(--line);
  vertical-align: top;
}
.props th {
  width: 38%;
  color: var(--muted);
  font-weight: 500;
}
.two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
}
@media (max-width: 800px) {
  .two-col {
    grid-template-columns: 1fr;
  }
}
.rich-list {
  padding-left: 1.15rem;
  color: #d7cfc3;
}
.value-note {
  margin-top: 1.25rem;
  padding: 1rem 1.1rem;
  border-left: 3px solid var(--copper);
  background: rgba(196, 122, 58, 0.08);
}
.crumbs {
  color: var(--muted);
  font-size: 0.88rem;
  margin-bottom: 1rem;
}
.crumbs a {
  color: var(--muted);
}

.guide-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 1rem;
}
.guide-card {
  border: 1px solid var(--line);
  border-radius: 18px;
  overflow: hidden;
  background: var(--bg-elev);
  color: inherit;
  padding-bottom: 1rem;
}
.guide-card:hover {
  color: inherit;
  border-color: rgba(232, 168, 74, 0.4);
}
.guide-imgs {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2px;
  margin-bottom: 0.85rem;
}
.guide-imgs img {
  aspect-ratio: 5/4;
  object-fit: cover;
  width: 100%;
}
.guide-card strong,
.guide-card span {
  display: block;
  padding: 0 1rem;
}
.guide-card span {
  color: var(--muted);
  font-size: 0.88rem;
  margin-top: 0.35rem;
}
.compare {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
}
@media (max-width: 800px) {
  .compare {
    grid-template-columns: 1fr;
  }
}
.compare figure {
  margin: 0;
  background: var(--bg-elev);
  border: 1px solid var(--line);
  border-radius: 18px;
  overflow: hidden;
  padding-bottom: 1rem;
}
.compare img {
  width: 100%;
  aspect-ratio: 5/4;
  object-fit: cover;
}
.compare figcaption {
  font-family: var(--font-display);
  font-size: 1.25rem;
  padding: 0.9rem 1rem 0.3rem;
}
.compare ul {
  margin: 0;
  padding: 0 1.4rem 0 2rem;
  color: #d5cdc0;
}

.steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
}
@media (max-width: 900px) {
  .steps {
    grid-template-columns: 1fr 1fr;
  }
}
.steps article {
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 1.25rem;
  background: rgba(18, 18, 20, 0.75);
}
.steps h2 {
  font-size: 1.2rem;
}

.download-panel {
  display: flex;
  justify-content: space-between;
  gap: 2rem;
  align-items: center;
  padding: 2rem;
  border-radius: 28px;
  border: 1px solid rgba(232, 168, 74, 0.28);
  background:
    radial-gradient(circle at 10% 20%, rgba(232, 168, 74, 0.16), transparent 40%),
    var(--bg-elev);
}
.download-actions {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  min-width: 240px;
}
@media (max-width: 800px) {
  .download-panel {
    flex-direction: column;
    align-items: stretch;
  }
}

/* Footer */
.site-footer {
  border-top: 1px solid var(--line);
  padding: 3.5rem 0 2rem;
  margin-top: 2rem;
  background: #070707;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 2rem;
}
@media (max-width: 800px) {
  .footer-grid {
    grid-template-columns: 1fr;
  }
}
.footer-brand {
  font-family: var(--font-display);
  font-size: 1.5rem;
  margin: 0 0 0.6rem;
}
.footer-label {
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 0.72rem;
  color: var(--muted);
}
.footer-links {
  list-style: none;
  padding: 0;
  margin: 0.5rem 0 0;
}
.footer-links a {
  color: #d8d0c4;
  display: inline-block;
  padding: 0.25rem 0;
}
.footer-base {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  margin-top: 2.5rem;
  padding-top: 1.25rem;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.85rem;
}

@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(22px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}
@keyframes heroDrift {
  from {
    transform: scale(1.02) translateY(0);
  }
  to {
    transform: scale(1.06) translateY(-1.5%);
  }
}
@keyframes floatY {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-10px);
  }
}

.prose p {
  color: #d7cfc3;
  max-width: 48rem;
}
.legal-doc h2 {
  font-family: var(--font-display);
  font-size: 1.25rem;
  margin: 2rem 0 0.75rem;
  color: var(--ink);
}
.legal-doc h2:first-child { margin-top: 0; }
.legal-doc p,
.legal-doc li {
  color: #d7cfc3;
  line-height: 1.65;
  max-width: 48rem;
}
.legal-doc ul {
  padding-left: 1.25rem;
  margin: 0.5rem 0 1rem;
}
.legal-doc a {
  color: var(--amber);
  text-decoration: underline;
  text-underline-offset: 2px;
}

/* Hero with real phone */
.hero-with-phone { align-items: center; }
.hero-layout {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 2rem;
  align-items: center;
  width: var(--shell);
  margin: 0 auto;
  padding: 6.5rem 0 4rem;
}
@media (max-width: 900px) {
  .hero-layout { grid-template-columns: 1fr; padding-top: 5.5rem; }
  .hero-phone { order: -1; justify-self: center; }
}
.hero-layout .hero-copy {
  margin: 0;
  padding: 0;
  max-width: none;
}
.device-frame {
  width: min(280px, 70vw);
  border-radius: 36px;
  padding: 10px;
  background: linear-gradient(160deg, #2a2a2e, #0c0c0e);
  border: 1px solid rgba(255,255,255,0.14);
  box-shadow:
    0 30px 80px rgba(0,0,0,0.55),
    0 0 0 1px rgba(0,0,0,0.4),
    inset 0 0 0 1px rgba(255,255,255,0.06);
  animation: floatY 6s ease-in-out infinite;
}
.device-frame img {
  width: 100%;
  border-radius: 28px;
  display: block;
}
.device-tilt { transform: rotate(4deg); animation: floatTilt 7s ease-in-out infinite; }

/* Three-phone showcase — upright real-device mockups, depth via layering only */
.phone-showcase {
  position: relative;
  width: min(760px, 100%);
  margin: 0 auto;
  padding: 0.5rem 0 1.5rem;
  perspective: 1800px;
  perspective-origin: 50% 55%;
}
.phone-showcase-glow {
  position: absolute;
  inset: 10% 8% 8%;
  border-radius: 50%;
  background:
    radial-gradient(ellipse at center, rgba(196,181,253,0.2), transparent 68%),
    radial-gradient(ellipse at 35% 45%, rgba(232,168,74,0.1), transparent 55%);
  filter: blur(22px);
  pointer-events: none;
}
.phone-showcase-stack {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  min-height: 470px;
  transform-style: preserve-3d;
}
.phone-card {
  position: relative;
  flex: 0 0 auto;
  margin: 0 -34px;
  transform-style: preserve-3d;
  transition: transform 0.45s ease, opacity 0.45s ease;
}
.phone-left {
  transform: translateZ(-90px) scale(0.86);
  z-index: 1;
  opacity: 0.9;
}
.phone-center {
  transform: translateZ(90px) scale(1);
  z-index: 3;
  margin: 0 -18px;
  animation: phoneLift 6.5s ease-in-out infinite;
}
.phone-right {
  transform: translateZ(-45px) scale(0.9);
  z-index: 2;
  opacity: 0.94;
}

/* Realistic iPhone shell */
.iphone {
  position: relative;
  width: min(228px, 31vw);
}
.phone-left .iphone { width: min(196px, 27vw); }
.phone-right .iphone { width: min(206px, 28vw); }
.iphone-shell {
  position: relative;
  border-radius: 54px;
  padding: 11px 10px 14px;
  background:
    linear-gradient(160deg, #52525a 0%, #2a2a2e 14%, #101012 42%, #1c1c1f 72%, #45454b 100%);
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,0.22),
    inset 0 -1px 0 rgba(0,0,0,0.5),
    inset 2px 0 6px rgba(255,255,255,0.04),
    inset -2px 0 6px rgba(0,0,0,0.28),
    0 2px 0 #070708,
    0 24px 48px rgba(0,0,0,0.52),
    0 56px 90px rgba(0,0,0,0.38);
}
.iphone-screen-wrap {
  position: relative;
  overflow: hidden;
  border-radius: 42px;
  background: #000;
  box-shadow:
    inset 0 0 0 1px rgba(255,255,255,0.07),
    inset 0 0 24px rgba(0,0,0,0.35);
}
.iphone-island {
  position: absolute;
  top: 11px;
  left: 50%;
  transform: translateX(-50%);
  width: 31%;
  height: 27px;
  border-radius: 18px;
  background: #000;
  z-index: 2;
  box-shadow:
    0 0 0 1px rgba(255,255,255,0.05),
    inset 0 -1px 2px rgba(255,255,255,0.06);
}
.iphone-screen-img {
  width: 100%;
  display: block;
  aspect-ratio: 390 / 844;
  object-fit: cover;
  object-position: top center;
}
.iphone-shine {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    125deg,
    rgba(255,255,255,0.16) 0%,
    rgba(255,255,255,0.04) 16%,
    transparent 42%,
    transparent 68%,
    rgba(255,255,255,0.05) 100%
  );
  pointer-events: none;
  z-index: 3;
}
.iphone-btn {
  position: absolute;
  border-radius: 2px;
  background: linear-gradient(180deg, #66666c, #2a2a2e 55%, #141416);
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.12);
}
.iphone-btn-silent,
.iphone-btn-vol-up,
.iphone-btn-vol-down {
  left: -3px;
  width: 3px;
}
.iphone-btn-silent { top: 18%; height: 26px; }
.iphone-btn-vol-up { top: 28%; height: 44px; }
.iphone-btn-vol-down { top: 42%; height: 44px; }
.iphone-btn-power {
  right: -3px;
  top: 30%;
  width: 3px;
  height: 64px;
}
.iphone-floor-shadow {
  position: absolute;
  left: 8%;
  right: 8%;
  bottom: -20px;
  height: 28px;
  background: radial-gradient(ellipse at center, rgba(0,0,0,0.62), transparent 72%);
  filter: blur(10px);
  z-index: -1;
}

.phone-showcase-hero .phone-showcase-stack { min-height: 500px; }
.phone-showcase-hero .iphone { width: min(236px, 32vw); }
.phone-showcase-hero .phone-left .iphone { width: min(204px, 28vw); }
.phone-showcase-hero .phone-right .iphone { width: min(214px, 29vw); }

.phone-showcase-product {
  width: min(640px, 100%);
}
.phone-showcase-product .phone-showcase-stack { min-height: 420px; }
.phone-showcase-product .iphone { width: min(210px, 29vw); }
.phone-showcase-product .phone-left .iphone { width: min(182px, 25vw); }
.phone-showcase-product .phone-right .iphone { width: min(192px, 26vw); }
.phone-showcase-product .phone-card { margin: 0 -30px; }

.phone-showcase-wide {
  width: min(820px, 100%);
}
.phone-showcase-wide .phone-showcase-stack { min-height: 540px; }
.phone-showcase-wide .iphone { width: min(248px, 30vw); }
.phone-showcase-wide .phone-left .iphone { width: min(214px, 26vw); }
.phone-showcase-wide .phone-right .iphone { width: min(224px, 27vw); }
.phone-showcase-wide .phone-card { margin: 0 -38px; }

@media (max-width: 900px) {
  .phone-showcase-stack {
    min-height: 380px;
    transform: scale(0.78);
    transform-origin: center bottom;
  }
  .phone-card { margin: 0 -40px; }
}
@media (max-width: 560px) {
  .phone-showcase-stack {
    transform: scale(0.62);
  }
}
@media (prefers-reduced-motion: reduce) {
  .phone-center { animation: none; }
}

.app-screens-head {
  text-align: center;
  max-width: 640px;
  margin-bottom: 1.5rem;
}
.app-screens-head h2 {
  margin: 0.35rem 0 0.75rem;
}
.app-screens-stage {
  display: flex;
  justify-content: center;
  padding-bottom: 1rem;
}

@keyframes phoneLift {
  0%, 100% { transform: translateZ(90px) scale(1) translateY(0); }
  50% { transform: translateZ(90px) scale(1) translateY(-10px); }
}

/* Scan + properties section (below hero) */
.scan-props {
  padding-top: 3.5rem;
  padding-bottom: 3.5rem;
}
.scan-props-layout {
  display: grid;
  grid-template-columns: minmax(200px, 280px) 1fr;
  gap: 3rem;
  align-items: center;
}
.scan-props-phone {
  display: flex;
  justify-content: center;
}
.scan-props-device {
  width: min(248px, 58vw);
  filter: drop-shadow(0 32px 64px rgba(0, 0, 0, 0.55));
}
.scan-props-copy .eyebrow {
  margin-bottom: 0.5rem;
}
.scan-props-copy h2 {
  margin: 0 0 0.75rem;
  max-width: 18ch;
}
.scan-props-copy > .muted {
  margin: 0 0 1.75rem;
  max-width: 42ch;
}
.prop-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}
.prop-grid .prop-chip {
  width: 100%;
  position: static;
  animation: none;
  min-height: 88px;
  justify-content: center;
  transition: border-color 0.2s ease, transform 0.2s ease;
}
.prop-grid .prop-chip:hover {
  border-color: rgba(232, 168, 74, 0.4);
  transform: translateY(-2px);
}

@media (max-width: 900px) {
  .scan-props-layout {
    grid-template-columns: 1fr;
    gap: 2rem;
    text-align: center;
  }
  .scan-props-copy h2,
  .scan-props-copy > .muted {
    margin-left: auto;
    margin-right: auto;
  }
  .prop-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    text-align: left;
  }
}
@media (max-width: 480px) {
  .prop-grid {
    grid-template-columns: 1fr 1fr;
  }
}

/* Property chips (shared) */
.prop-chip {
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding: 12px 14px;
  border-radius: 16px;
  background: rgba(12, 12, 14, 0.82);
  border: 1px solid rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  box-shadow:
    0 14px 32px rgba(0, 0, 0, 0.35),
    inset 0 1px 0 rgba(255, 255, 255, 0.08);
}
.prop-chip-label {
  font-size: 0.62rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(232, 168, 74, 0.9);
}
.prop-chip-value {
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 700;
  color: #f6f1e8;
  line-height: 1.1;
}
.prop-chip-hint {
  font-size: 0.68rem;
  color: var(--muted);
}

.store-badge img { height: 49px; width: auto; display: block; filter: drop-shadow(0 8px 20px rgba(0,0,0,0.35)); }
.store-badge:hover { opacity: 0.92; }

.float-in { opacity: 0; animation: fadeUp 0.9s ease forwards; }
.delay-1 { animation-delay: 0.12s; }
.delay-2 { animation-delay: 0.24s; }
.delay-3 { animation-delay: 0.36s; }

@keyframes floatTilt {
  0%, 100% { transform: rotate(4deg) translateY(0); }
  50% { transform: rotate(2deg) translateY(-12px); }
}

/* Web app */
.webapp-shell { width: var(--shell); margin: 0 auto; padding: 5.5rem 0 4rem; }
.webapp-head { max-width: 640px; margin-bottom: 2rem; }
.webapp-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
  margin-bottom: 2rem;
}
@media (max-width: 860px) {
  .webapp-grid { grid-template-columns: 1fr; }
}
.liquid-panel {
  background: rgba(18,18,20,0.88);
  border: 1px solid var(--line);
  border-radius: 24px;
  padding: 1.35rem;
}
.drop {
  border: 1.5px dashed rgba(232,168,74,0.35);
  border-radius: 18px;
  padding: 2.5rem 1.25rem;
  text-align: center;
  transition: border-color 0.2s ease, background 0.2s ease;
}
.drop.drag { border-color: var(--amber); background: rgba(232,168,74,0.06); }
.drop-title { font-family: var(--font-display); font-size: 1.35rem; margin: 0 0 0.4rem; }
.preview img { width: 100%; max-height: 320px; object-fit: contain; border-radius: 14px; margin-bottom: 1rem; }
.preview-actions { display: flex; gap: 0.6rem; margin-bottom: 0.85rem; }
.hint-label { display: grid; gap: 0.35rem; font-size: 0.85rem; color: var(--muted); }
.hint-label input {
  background: #0a0a0b; border: 1px solid var(--line); border-radius: 12px;
  color: var(--ink); padding: 0.75rem 0.9rem; font: inherit;
}
.hidden { display: none !important; }
.banner { padding: 0.85rem 1.1rem; border-radius: 14px; margin: 1rem auto 0; width: var(--shell); }
.banner.ok { background: rgba(53,200,120,0.12); border: 1px solid rgba(53,200,120,0.35); }
.banner.warn { background: rgba(232,168,74,0.12); border: 1px solid rgba(232,168,74,0.35); }
.price-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0.75rem; margin-top: 1rem; }
@media (max-width: 700px) { .price-grid { grid-template-columns: 1fr; } }
.price-card {
  background: #0a0a0b; border: 1px solid var(--line); border-radius: 16px;
  padding: 1.1rem; color: inherit; cursor: pointer; text-align: left;
  transition: border-color 0.2s ease, transform 0.2s ease;
}
.price-card:hover { border-color: rgba(232,168,74,0.5); transform: translateY(-2px); }
.price-card.featured { border-color: rgba(232,168,74,0.55); box-shadow: 0 0 0 1px rgba(232,168,74,0.15); }
.price-card strong { display: block; font-family: var(--font-display); font-size: 1.5rem; }
.price-card span { color: var(--muted); }
.status { min-height: 1.25rem; margin-top: 0.75rem; }

/* Immersive homepage — WebGL canvas + glass sections */
.immersive-home {
  background: #050505;
}
#home-canvas {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  pointer-events: none;
  opacity: 0.72;
  filter: saturate(0.85) blur(0.2px);
}
@media (prefers-reduced-motion: reduce) {
  #home-canvas {
    opacity: 0.55;
    filter: saturate(0.7);
  }
}
.immersive-home .site-header,
.immersive-home main,
.immersive-home .site-footer {
  position: relative;
  z-index: 1;
}
.immersive-home .hero-with-phone .hero-media {
  opacity: 0.35;
}
.immersive-home .section.reveal {
  view-timeline-name: --sect;
  view-timeline-axis: block;
}
.immersive-home .section .shell,
.immersive-home .download-panel {
  background: rgba(8, 8, 12, 0.55);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: calc(var(--radius) + 6px);
  backdrop-filter: blur(20px) saturate(1.35);
  -webkit-backdrop-filter: blur(20px) saturate(1.35);
  box-shadow:
    0 24px 80px rgba(0, 0, 0, 0.45),
    inset 0 1px 0 rgba(255, 255, 255, 0.06);
  padding: clamp(1.5rem, 3vw, 2.5rem);
}
.immersive-home .section.alt .shell {
  background: rgba(12, 10, 18, 0.62);
}
.immersive-home .tile,
.immersive-home .cat-card,
.immersive-home .card-strip a {
  transition: transform 0.35s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.35s ease;
}
.immersive-home .tile:hover,
.immersive-home .cat-card:hover,
.immersive-home .card-strip a:hover {
  transform: translateY(-4px) scale(1.01);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.35);
}
.immersive-home .reveal.in .shell {
  animation: glassRise 0.9s cubic-bezier(0.22, 1, 0.36, 1) both;
}
@keyframes glassRise {
  from {
    opacity: 0;
    transform: translateY(28px) scale(0.98);
    filter: blur(6px);
  }
  to {
    opacity: 1;
    transform: none;
    filter: none;
  }
}
.immersive-home .hero-copy h1 {
  text-wrap: balance;
  background: linear-gradient(120deg, #fff 0%, #c4b5fd 45%, #e8a84a 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.immersive-home .eyebrow {
  background: linear-gradient(90deg, var(--amber), #c4b5fd);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
@media (prefers-reduced-motion: reduce) {
  .immersive-home .reveal.in .shell {
    animation: none;
  }
}
