:root {
  --bg: #fff7f0;
  --bg-deep: #1a120c;
  --white: #ffffff;
  --orange: #ff6a00;
  --orange-dark: #e25500;
  --orange-soft: rgba(255, 106, 0, 0.12);
  --text: #1c1410;
  --muted: #6a5e55;
  --line: rgba(28, 20, 16, 0.08);
  --radius: 20px;
  --font: "Manrope", "PingFang SC", "Hiragino Sans GB", sans-serif;
  --display: "Sora", "Manrope", sans-serif;
  --max: 1120px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

* { box-sizing: border-box; }
.mirror-landing-root { scroll-behavior: smooth; }
.mirror-landing-root {
  margin: 0;
  font-family: var(--font);
  background:
    radial-gradient(1200px 600px at 10% -10%, rgba(255, 140, 60, 0.28), transparent 55%),
    radial-gradient(900px 500px at 100% 20%, rgba(255, 106, 0, 0.12), transparent 50%),
    linear-gradient(180deg, #fff9f4 0%, #fff3e9 40%, #fff7f0 100%);
  color: var(--text);
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }

.page {
  min-height: 100vh;
  overflow-x: hidden;
}

/* Topbar */
.topbar {
  position: sticky;
  top: 0;
  z-index: 30;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 14px 22px;
  background: rgba(255, 249, 244, 0.78);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.35);
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--display);
  font-weight: 700;
  font-size: 18px;
  letter-spacing: -0.03em;
}
.brand img {
  width: 36px;
  height: 36px;
  border-radius: 11px;
  object-fit: cover;
}
.topbar-actions {
  display: flex;
  align-items: center;
  gap: 14px;
}
.link-quiet {
  font-size: 14px;
  font-weight: 600;
  color: var(--muted);
}
.link-quiet:hover { color: var(--text); }

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border: 0;
  border-radius: 14px;
  padding: 14px 22px;
  font: inherit;
  font-weight: 700;
  font-size: 15px;
  cursor: pointer;
  transition: transform 0.2s var(--ease), filter 0.2s ease, background 0.2s ease;
}
.btn:hover { transform: translateY(-2px); }
.btn-primary {
  background: linear-gradient(135deg, #ff8a2b 0%, #ff6a00 55%, #ef5400 100%);
  color: #fff;
  box-shadow: 0 12px 28px rgba(255, 106, 0, 0.32);
}
.btn-ghost {
  background: rgba(255, 255, 255, 0.72);
  color: var(--text);
  border: 1px solid rgba(28, 20, 16, 0.1);
}
.btn-ghost.light {
  background: rgba(255, 255, 255, 0.14);
  color: #fff;
  border-color: rgba(255, 255, 255, 0.28);
}
.btn-sm { padding: 9px 14px; font-size: 13px; border-radius: 12px; }

/* Hero — full-bleed composition */
.hero {
  position: relative;
  min-height: min(100vh, 920px);
  display: grid;
  align-items: stretch;
  overflow: hidden;
}
.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 30%;
  transform: scale(1.04);
  animation: heroDrift 18s ease-in-out infinite alternate;
}
@keyframes heroDrift {
  from { transform: scale(1.04) translate3d(0, 0, 0); }
  to { transform: scale(1.1) translate3d(-1.5%, -1%, 0); }
}
.hero-wash {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(105deg, rgba(255, 248, 242, 0.94) 0%, rgba(255, 248, 242, 0.82) 38%, rgba(255, 120, 40, 0.28) 100%),
    linear-gradient(180deg, rgba(26, 18, 12, 0.08) 0%, transparent 35%, rgba(255, 247, 240, 0.55) 100%);
}
.hero-inner {
  position: relative;
  z-index: 1;
  max-width: var(--max);
  width: 100%;
  margin: 0 auto;
  padding: 48px 22px 56px;
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 28px;
  align-items: center;
}
.brand-mark {
  margin: 0 0 14px;
  font-family: var(--display);
  font-size: clamp(28px, 4vw, 40px);
  font-weight: 800;
  letter-spacing: -0.04em;
  color: var(--orange);
  line-height: 1;
}
.hero h1 {
  margin: 0;
  font-family: var(--display);
  font-size: clamp(36px, 5.4vw, 58px);
  font-weight: 700;
  line-height: 1.05;
  letter-spacing: -0.04em;
  color: var(--text);
}
.lead {
  margin: 18px 0 0;
  max-width: 34ch;
  color: var(--muted);
  font-size: 17px;
  line-height: 1.55;
  font-weight: 500;
}
.cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 28px;
}

.hero-phones {
  position: relative;
  min-height: 480px;
  display: grid;
  place-items: center;
}
.phone {
  width: min(240px, 56vw);
  border-radius: 32px;
  overflow: hidden;
  background: #121212;
  border: 9px solid #1a1a1a;
  box-shadow: 0 30px 60px rgba(40, 20, 8, 0.28);
}
.phone-back {
  position: absolute;
  left: 50%;
  top: 50%;
  opacity: 0.92;
  animation: floatBack 7s 0.4s var(--ease) infinite;
}
.phone-front {
  position: relative;
  z-index: 2;
  animation: floatFront 5.5s var(--ease) infinite;
}
@keyframes floatFront {
  0%, 100% { transform: translate(12%, 2%) rotate(3.5deg); }
  50% { transform: translate(12%, calc(2% - 14px)) rotate(3.5deg); }
}
@keyframes floatBack {
  0%, 100% { transform: translate(-72%, -48%) rotate(-9deg) scale(0.9); }
  50% { transform: translate(-72%, calc(-48% - 10px)) rotate(-9deg) scale(0.9); }
}

/* In-phone UI */
.screen {
  aspect-ratio: 9 / 19;
  background: #fff8f2;
  padding: 12px 10px 10px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  font-size: 10px;
  color: #1a1a1a;
}
.sc-bar {
  display: grid;
  grid-template-columns: 18px 1fr 18px;
  align-items: center;
  font-weight: 700;
  font-size: 12px;
}
.sc-bar b { text-align: center; font-family: var(--display); }
.sc-nav {
  margin-top: auto;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 4px;
  background: #fff;
  border-radius: 12px;
  padding: 8px 6px;
  border: 1px solid #f0e6dc;
}
.sc-nav i {
  height: 8px;
  width: 8px;
  margin: 0 auto;
  border-radius: 50%;
  background: #d9cfc5;
  display: block;
}
.sc-nav i.on { background: var(--orange); }

.screen-home .home-hero {
  background: linear-gradient(145deg, #ff8a3d, #ff6a00 62%, #e85d00);
  border-radius: 16px;
  padding: 14px 12px;
  color: #fff;
  text-align: center;
}
.home-logo {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  margin: 0 auto 6px;
  object-fit: cover;
}
.home-hero p { margin: 0; opacity: 0.9; font-size: 10px; }
.home-hero strong {
  display: block;
  margin-top: 2px;
  font-family: var(--display);
  font-size: 15px;
}
.invite-card {
  background: linear-gradient(160deg, #ff7a1a, #ff5600);
  border-radius: 14px;
  padding: 10px;
  color: #fff;
}
.invite-card small { opacity: 0.9; font-size: 9px; }
.invite-card .code {
  margin-top: 4px;
  background: rgba(255, 255, 255, 0.18);
  border: 1px dashed rgba(255, 255, 255, 0.55);
  border-radius: 8px;
  padding: 7px;
  text-align: center;
  font-weight: 800;
  letter-spacing: 0.04em;
  font-family: var(--display);
}
.steps-card {
  background: #fff;
  border-radius: 14px;
  padding: 10px;
  border: 1px solid #f0e6dc;
}
.steps-card span { color: #6b7280; font-size: 9px; }
.steps-card b {
  display: block;
  margin: 2px 0 8px;
  font-size: 22px;
  font-family: var(--display);
  color: var(--orange);
}
.track-btn {
  background: var(--orange);
  color: #fff;
  border-radius: 999px;
  text-align: center;
  padding: 7px;
  font-weight: 700;
}
.card-block {
  background: #fff;
  border-radius: 14px;
  padding: 10px;
  border: 1px solid #f0e6dc;
}
.card-block small { color: #6b7280; font-weight: 600; }
.card-block .amt {
  margin: 6px 0 10px;
  font-size: 18px;
  font-weight: 800;
  font-family: var(--display);
}
.primary-btn {
  background: linear-gradient(145deg, #ff7a1a, #ff6a00);
  color: #fff;
  border-radius: 999px;
  text-align: center;
  padding: 9px;
  font-weight: 700;
}
.vip-pill {
  background: linear-gradient(90deg, #ff7a1a, #ff9a3c);
  color: #fff;
  border-radius: 12px;
  padding: 10px;
  font-weight: 700;
  text-align: center;
}
.vip-row {
  background: #fff;
  border: 1px solid #f0e6dc;
  border-radius: 12px;
  padding: 9px 10px;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 2px 8px;
}
.vip-row strong { font-size: 11px; }
.vip-row em { grid-column: 1; color: #6b7280; font-style: normal; font-size: 9px; }
.vip-row i {
  grid-row: 1 / span 2;
  align-self: center;
  font-style: normal;
  color: var(--orange);
  font-weight: 800;
  font-size: 11px;
}
.vip-row.on { border-color: var(--orange); }
.bal-row {
  background: #fff1e4;
  border-radius: 12px;
  padding: 10px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.bal-row span { color: #6b7280; font-size: 10px; }
.bal-row strong { color: var(--orange); font-size: 16px; font-family: var(--display); }
.formish label {
  display: flex;
  justify-content: space-between;
  gap: 8px;
  padding: 7px 0;
  border-bottom: 1px solid #f5eee7;
  color: #6b7280;
  font-size: 9px;
}
.formish label em {
  font-style: normal;
  color: #1a1a1a;
  font-weight: 600;
  font-size: 10px;
}
.formish .primary-btn { margin-top: 8px; }

/* Sections */
.section {
  max-width: var(--max);
  margin: 0 auto;
  padding: 72px 22px 20px;
}
.section-head { max-width: 40rem; }
.section-kicker {
  margin: 0 0 8px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--orange);
}
.section h2 {
  margin: 0;
  font-family: var(--display);
  font-size: clamp(28px, 4vw, 40px);
  letter-spacing: -0.035em;
  line-height: 1.1;
}
.section-sub {
  margin: 12px 0 0;
  color: var(--muted);
  max-width: 44ch;
  line-height: 1.55;
  font-size: 16px;
}
.accent { color: var(--orange); font-family: var(--display); }

.rate {
  text-align: center;
  padding-top: 64px;
  padding-bottom: 12px;
}
.rate .section-sub {
  margin-left: auto;
  margin-right: auto;
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  margin-top: 28px;
}
.feature {
  padding: 8px 4px 0;
  border: 0;
  background: transparent;
  box-shadow: none;
}
.feature-ico {
  width: 48px;
  height: 48px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  margin-bottom: 14px;
  background: var(--orange-soft);
  color: var(--orange);
}
.feature-ico svg { width: 22px; height: 22px; }
.feature h3 {
  margin: 0 0 8px;
  font-size: 20px;
  font-family: var(--display);
  letter-spacing: -0.02em;
}
.feature p {
  margin: 0;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.55;
}

/* Install flow */
.install-steps {
  list-style: none;
  margin: 28px 0 0;
  padding: 0;
  display: grid;
  gap: 14px;
}
.install-step {
  display: grid;
  grid-template-columns: 48px 1fr;
  gap: 16px;
  align-items: start;
  padding: 18px 18px 18px 16px;
  border-radius: var(--radius);
  background: var(--white);
  border: 1px solid var(--line);
  box-shadow: 0 10px 28px rgba(28, 20, 16, 0.04);
}
.install-num {
  width: 48px;
  height: 48px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  font-family: var(--display);
  font-weight: 800;
  font-size: 18px;
  color: var(--orange);
  background: var(--orange-soft);
}
.install-step h3,
.install-title {
  margin: 2px 0 8px;
  font-size: 18px;
  font-family: var(--display);
  letter-spacing: -0.02em;
}
.install-step h3 em {
  font-style: normal;
  color: var(--orange);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  margin-left: 6px;
}
.install-step p,
.install-copy {
  margin: 0;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.55;
}
.install-why {
  margin-top: 10px !important;
  padding: 10px 12px;
  border-radius: 12px;
  background: rgba(255, 106, 0, 0.08);
  color: var(--text) !important;
  font-weight: 600;
  font-size: 14px !important;
}
.install-step--critical {
  border-color: rgba(255, 106, 0, 0.35);
  background:
    linear-gradient(135deg, rgba(255, 106, 0, 0.08), transparent 55%),
    var(--white);
  box-shadow: 0 14px 32px rgba(226, 85, 0, 0.1);
}
.install-step--critical .install-num {
  background: linear-gradient(145deg, #ff8a2b, #ff6a00);
  color: #fff;
}
.install-step--critical .install-title {
  color: var(--text);
}
.install-alert {
  margin-top: 18px;
  display: grid;
  gap: 6px;
  padding: 16px 18px;
  border-radius: 16px;
  border: 1px dashed rgba(255, 106, 0, 0.45);
  background: rgba(255, 106, 0, 0.07);
}
.install-alert-title,
.install-alert strong {
  margin: 0;
  color: var(--orange-dark);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.install-alert-copy,
.install-alert span {
  margin: 0;
  color: var(--text);
  font-size: 15px;
  line-height: 1.5;
  font-weight: 600;
}

/* Shots */
.shot-rail {
  display: flex;
  gap: 20px;
  overflow-x: auto;
  padding: 28px 4px 18px;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}
.shot-rail::-webkit-scrollbar { display: none; }
.shot {
  margin: 0;
  flex: 0 0 220px;
  scroll-snap-align: center;
  text-align: center;
}
.shot-phone { width: 100%; margin: 0 auto; }
.shot figcaption {
  margin-top: 12px;
  font-size: 13px;
  font-weight: 700;
  color: var(--muted);
  font-family: var(--display);
}

/* Reviews */
.review-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  margin-top: 28px;
}
.review-card {
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 18px;
  backdrop-filter: blur(8px);
}
.review-card header {
  display: grid;
  grid-template-columns: 42px 1fr auto;
  gap: 10px;
  align-items: center;
  margin-bottom: 12px;
}
.review-card header img {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: #eee;
}
.review-card header strong {
  display: block;
  font-size: 14px;
  line-height: 1.2;
}
.review-card header span {
  display: block;
  margin-top: 3px;
  font-size: 11px;
  color: var(--muted);
}
.review-card header .stars {
  color: #e8a317;
  font-style: normal;
  font-size: 12px;
  letter-spacing: 0.5px;
}
.review-card p {
  margin: 0;
  font-size: 14px;
  line-height: 1.55;
  color: #3d342e;
}

/* Bottom CTA */
.cta-band {
  margin: 56px 22px 0;
}
.cta-band-inner {
  max-width: var(--max);
  margin: 0 auto;
  padding: 48px 28px;
  border-radius: 28px;
  text-align: center;
  color: #fff;
  background:
    radial-gradient(800px 300px at 20% 0%, rgba(255, 255, 255, 0.18), transparent 55%),
    linear-gradient(135deg, #ff8a2b 0%, #ff6a00 48%, #d94800 100%);
  box-shadow: 0 24px 50px rgba(255, 106, 0, 0.28);
}
.cta-band h2 {
  margin: 0;
  font-family: var(--display);
  font-size: clamp(26px, 4vw, 36px);
  letter-spacing: -0.03em;
}
.cta-band p {
  margin: 10px auto 0;
  max-width: 40ch;
  opacity: 0.92;
  line-height: 1.5;
}
.cta-band .cta-row {
  justify-content: center;
  margin-top: 22px;
}

/* Footer */
.footer {
  max-width: var(--max);
  margin: 36px auto 0;
  padding: 28px 22px 48px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}
.footer-brand {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--display);
  font-weight: 700;
}
.footer-brand img {
  width: 28px;
  height: 28px;
  border-radius: 8px;
}
.footer p {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
}

/* Reveal motion */
.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
}
.reveal.in {
  opacity: 1;
  transform: none;
}
.reveal.delay { transition-delay: 0.1s; }
.reveal.delay2 { transition-delay: 0.2s; }

/* Toast */
.toast {
  position: fixed;
  left: 50%;
  bottom: 24px;
  transform: translateX(-50%) translateY(12px);
  background: #1a120c;
  color: #fff;
  padding: 12px 16px;
  border-radius: 12px;
  font-size: 13px;
  font-weight: 600;
  opacity: 0;
  pointer-events: none;
  transition: 0.22s ease;
  z-index: 50;
  max-width: min(92vw, 360px);
  text-align: center;
}
.toast.show {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}

@media (max-width: 900px) {
  .hero-inner {
    grid-template-columns: 1fr;
    padding-top: 28px;
    gap: 18px;
  }
  .hero { min-height: auto; }
  .hero-phones { min-height: 400px; order: -1; }
  .hero-copy { text-align: left; }
  .feature-grid { grid-template-columns: 1fr; gap: 22px; }
  .review-grid { grid-template-columns: 1fr 1fr; }
  .phone-back { animation-name: floatBackMobile; }
  .phone-front { animation-name: floatFrontMobile; }
}

@keyframes floatFrontMobile {
  0%, 100% { transform: translate(10%, 0) rotate(3deg); }
  50% { transform: translate(10%, -12px) rotate(3deg); }
}
@keyframes floatBackMobile {
  0%, 100% { transform: translate(-68%, -46%) rotate(-8deg) scale(0.86); }
  50% { transform: translate(-68%, calc(-46% - 10px)) rotate(-8deg) scale(0.86); }
}

@media (max-width: 560px) {
  .topbar { padding: 10px 14px; }
  .hero-inner { padding-left: 16px; padding-right: 16px; }
  .section { padding-left: 16px; padding-right: 16px; }
  .cta-row .btn { width: 100%; }
  .review-grid { grid-template-columns: 1fr; }
  .cta-band { margin-left: 16px; margin-right: 16px; }
  .link-quiet { display: none; }
  .hero-phones { min-height: 360px; }
  .install-step { grid-template-columns: 40px 1fr; gap: 12px; padding: 14px; }
  .install-num { width: 40px; height: 40px; font-size: 16px; border-radius: 12px; }
}
