@font-face {
  font-family: "Poppins";
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("/assets/fonts/poppins-latin-500.woff2") format("woff2");
}

@font-face {
  font-family: "Poppins";
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("/assets/fonts/poppins-latin-600.woff2") format("woff2");
}

@font-face {
  font-family: "Poppins";
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("/assets/fonts/poppins-latin-700.woff2") format("woff2");
}

@font-face {
  font-family: "Poppins";
  font-style: normal;
  font-weight: 800;
  font-display: swap;
  src: url("/assets/fonts/poppins-latin-800.woff2") format("woff2");
}

@font-face {
  font-family: "Poppins";
  font-style: normal;
  font-weight: 900;
  font-display: swap;
  src: url("/assets/fonts/poppins-latin-900.woff2") format("woff2");
}

:root {
  color-scheme: light;
  font-family: "Poppins", "Avenir Next", "Segoe UI", system-ui, sans-serif;
  background: #fffaf7;
  color: #111118;
  --navy: #171b4b;
  --ink: #17151c;
  --muted: #665f68;
  --pink: #f72ea8;
  --coral: #f74a74;
  --orange: #ff681f;
  --pink-soft: #fce7f3;
  --orange-soft: #ffedd5;
  --violet-soft: #ede9fe;
}

* {
  box-sizing: border-box;
}

[hidden] {
  display: none !important;
}

html {
  min-width: 280px;
  min-height: 100%;
  background: #fffaf7;
}

body {
  min-width: 280px;
  min-height: 100vh;
  margin: 0;
  background:
    radial-gradient(circle at 4% 8%, #fce7f3 0, transparent 29rem),
    radial-gradient(circle at 96% 88%, #ffedd5 0, transparent 32rem),
    linear-gradient(135deg, #fff 0%, #fffaf7 48%, #f8f4ff 100%);
  color: var(--ink);
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

.page-shell {
  min-height: 100vh;
  display: grid;
  align-content: center;
  gap: 1rem;
  padding: clamp(1rem, 3vw, 2.5rem);
}

.link-card {
  position: relative;
  width: min(100%, 72rem);
  min-height: min(47rem, calc(100vh - 7rem));
  margin: 0 auto;
  overflow: hidden;
  border: 1px solid #ffffff;
  border-radius: clamp(1.5rem, 3vw, 2.35rem);
  background: #fffffff2;
  box-shadow: 0 2rem 5rem #29203a1a, 0 0.35rem 1.4rem #30253c12;
}

.link-card::before {
  position: absolute;
  inset: 0 0 auto;
  height: 0.38rem;
  background: linear-gradient(112deg, var(--pink), var(--coral) 48%, var(--orange));
  content: "";
}

.brand-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: clamp(1.4rem, 3vw, 2.2rem) clamp(1.35rem, 4vw, 3.6rem) 0;
}

.wordmark {
  display: block;
  width: clamp(9.5rem, 18vw, 12.75rem);
  height: auto;
  object-fit: contain;
}

.bridge-label {
  padding: 0.55rem 0.9rem;
  border: 1px solid #ebe1e7;
  border-radius: 999px;
  background: #fff;
  color: #453d48;
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.045em;
  text-transform: uppercase;
}

.state-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.04fr) minmax(21rem, 0.96fr);
  gap: clamp(2rem, 5vw, 5rem);
  align-items: center;
  min-height: 38rem;
  padding: clamp(2.3rem, 5vw, 4.6rem) clamp(1.35rem, 5vw, 4.6rem) clamp(2.4rem, 5vw, 4.5rem);
}

.copy-panel {
  min-width: 0;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  margin: 0 0 1.35rem;
  padding: 0.55rem 0.85rem;
  border: 1px solid #eadfe5;
  border-radius: 999px;
  background: #fff;
  box-shadow: 0 0.25rem 0.8rem #2e24350a;
  color: #252027;
  font-size: clamp(0.72rem, 1.5vw, 0.82rem);
  font-weight: 800;
  letter-spacing: 0.015em;
}

.eyebrow-icon {
  color: var(--pink);
  font-size: 0.68rem;
  text-shadow: 0 0 0.7rem #f72ea899;
}

h1 {
  max-width: 12.5ch;
  margin: 0;
  color: #07070a;
  font-size: clamp(2.45rem, 5.1vw, 4.55rem);
  font-weight: 900;
  line-height: 0.98;
  letter-spacing: -0.058em;
}

.gradient-text {
  display: block;
  background: linear-gradient(112deg, var(--pink), var(--coral) 48%, var(--orange));
  background-clip: text;
  -webkit-background-clip: text;
  color: transparent;
}

.lead {
  max-width: 37rem;
  margin: 1.45rem 0 1.7rem;
  color: var(--muted);
  font-size: clamp(1rem, 1.7vw, 1.15rem);
  font-weight: 500;
  line-height: 1.65;
}

.button {
  display: inline-flex;
  min-height: 3.65rem;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  padding: 0.9rem 1.15rem;
  border-radius: 1rem;
  font-weight: 900;
  line-height: 1.2;
  text-decoration: none;
  transition: transform 160ms ease, box-shadow 160ms ease, opacity 160ms ease;
}

.button:hover,
.button:focus-visible {
  transform: translateY(-0.13rem);
}

.primary {
  width: min(100%, 24rem);
  background: linear-gradient(112deg, var(--pink), var(--coral) 48%, var(--orange));
  box-shadow: 0 0.9rem 1.8rem #f74a7433;
  color: #fff;
}

.primary:hover,
.primary:focus-visible {
  box-shadow: 0 1rem 2.2rem #f74a7447;
}

.button-mark {
  display: grid;
  width: 1.9rem;
  height: 1.9rem;
  place-items: center;
  border-radius: 0.62rem;
  background: #ffffff26;
}

.button-mark img {
  display: block;
  width: 1.35rem;
  height: 1.35rem;
  object-fit: contain;
}

.button-arrow {
  margin-left: auto;
  font-size: 1.45rem;
  line-height: 1;
}

.store-block {
  margin-top: 1.65rem;
}

.store-heading {
  margin: 0 0 0.7rem;
  color: #5e5761;
  font-size: 0.82rem;
  font-weight: 700;
}

.store-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.65rem;
}

.store-badge-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 0.7rem;
  transition: transform 160ms ease, opacity 160ms ease;
}

.store-badge-link:hover,
.store-badge-link:focus-visible {
  transform: translateY(-0.13rem);
}

.store-badge-link img {
  display: block;
  height: auto;
}

.app-store-badge {
  width: 10.25rem;
}

.google-play-badge {
  width: 12rem;
}

.button[aria-disabled="true"],
.store-badge-link[aria-disabled="true"] {
  cursor: not-allowed;
  opacity: 0.48;
  transform: none;
}

.return-note,
.configuration-note,
.privacy-note {
  font-size: 0.84rem;
  line-height: 1.5;
}

.return-note {
  max-width: 34rem;
  margin: 1.2rem 0 0;
  color: #7a727c;
}

.configuration-note {
  margin: 0.85rem 0 0;
  color: #9b3e28;
  font-weight: 700;
}

.privacy-note {
  width: min(100%, 48rem);
  margin: 0 auto;
  color: #746d77;
  text-align: center;
}

.privacy-note span {
  color: var(--pink);
  font-weight: 900;
}

.bridge-panel {
  position: relative;
  min-width: 0;
  overflow: hidden;
  padding: clamp(1.5rem, 3vw, 2.3rem);
  border: 1px solid #ffffff;
  border-radius: 2rem;
  background:
    linear-gradient(#ffffff9c, #ffffff9c) padding-box,
    linear-gradient(145deg, var(--pink-soft), var(--orange-soft), var(--violet-soft)) border-box;
  box-shadow: 0 1.6rem 4rem #3d29451a;
  text-align: center;
}

.bridge-panel::before {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 15% 18%, #f72ea824, transparent 36%),
    radial-gradient(circle at 88% 82%, #ff681f24, transparent 37%);
  content: "";
}

.bridge-panel > * {
  position: relative;
}

.bridge-orbit {
  position: relative;
  min-height: 24rem;
}

.orbit-glow {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 17rem;
  height: 17rem;
  border-radius: 50%;
  background: linear-gradient(145deg, #f7a5d2, #ffbd91 60%, #b7acf4);
  filter: blur(0.25rem);
  opacity: 0.58;
  transform: translate(-50%, -50%);
}

.phone-shell {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 12.5rem;
  height: 23.5rem;
  padding: 0.65rem;
  border: 0.3rem solid #222451;
  border-radius: 2.3rem;
  background: var(--navy);
  box-shadow: 0 1.6rem 2.4rem #1a174142;
  transform: translate(-50%, -50%) rotate(2deg);
}

.phone-speaker {
  position: absolute;
  z-index: 2;
  top: 0.45rem;
  left: 50%;
  width: 4rem;
  height: 0.36rem;
  border-radius: 999px;
  background: #343665;
  transform: translateX(-50%);
}

.phone-screen {
  display: flex;
  height: 100%;
  flex-direction: column;
  align-items: center;
  padding: 3rem 1rem 1.2rem;
  border-radius: 1.55rem;
  background: linear-gradient(160deg, #fff 0%, #fff8f5 55%, #f7f3ff 100%);
}

.phone-screen > img {
  width: 7rem;
  height: auto;
}

.screen-card {
  width: 100%;
  margin-top: 2.5rem;
  padding: 1.2rem 1rem;
  border: 1px solid #eee2e8;
  border-radius: 1.2rem;
  background: #fff;
  box-shadow: 0 0.75rem 1.5rem #291d3312;
}

.screen-mark {
  display: block;
  width: 2.65rem;
  height: 2.65rem;
  margin-bottom: 1rem;
  object-fit: contain;
}

.screen-line,
.screen-button {
  display: block;
  height: 0.45rem;
  margin-top: 0.55rem;
  border-radius: 999px;
  background: #ddd5df;
}

.screen-line {
  width: 62%;
}

.screen-line.wide {
  width: 88%;
  background: #beb4c3;
}

.screen-button {
  width: 100%;
  height: 1.75rem;
  margin-top: 1.25rem;
  background: linear-gradient(112deg, var(--pink), var(--orange));
}

.link-chip {
  position: absolute;
  z-index: 3;
  display: flex;
  align-items: center;
  gap: 0.55rem;
  padding: 0.72rem 0.85rem;
  border: 1px solid #eee5ea;
  border-radius: 1rem;
  background: #fffffff2;
  box-shadow: 0 0.75rem 1.8rem #30243c21;
  color: #26212a;
  font-size: 0.76rem;
  font-weight: 800;
}

.chip-left {
  top: 3.3rem;
  left: 0;
}

.chip-right {
  right: 0;
  bottom: 3.25rem;
}

.chip-icon {
  display: grid;
  width: 1.85rem;
  height: 1.85rem;
  place-items: center;
  border-radius: 0.62rem;
  background: var(--pink-soft);
  color: var(--pink);
  font-size: 0.95rem;
}

.chip-right .chip-icon {
  background: #e6f7ef;
  color: #16805e;
}

.bridge-copy {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  color: #8a818d;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.bridge-step {
  padding: 0.42rem 0.62rem;
  border-radius: 999px;
  background: #f3edf2;
}

.bridge-step.active {
  background: var(--navy);
  color: #fff;
}

.bridge-panel > p {
  max-width: 25rem;
  margin: 1rem auto 0;
  color: #716a74;
  font-size: 0.82rem;
  font-weight: 600;
  line-height: 1.55;
}

.invalid-layout {
  min-height: 35rem;
}

.invalid-guidance {
  display: flex;
  align-items: flex-start;
  gap: 0.9rem;
  max-width: 32rem;
  padding: 1rem;
  border: 1px solid #eadfe5;
  border-radius: 1rem;
  background: #fff;
  box-shadow: 0 0.6rem 1.5rem #291e320d;
}

.guidance-icon {
  display: grid;
  flex: 0 0 auto;
  width: 2.35rem;
  height: 2.35rem;
  place-items: center;
  border-radius: 0.75rem;
  background: var(--orange-soft);
  color: var(--orange);
  font-size: 1.3rem;
  font-weight: 900;
}

.invalid-guidance strong,
.invalid-guidance span {
  display: block;
}

.invalid-guidance strong {
  color: #2a232c;
  font-size: 0.9rem;
}

.invalid-guidance span {
  margin-top: 0.22rem;
  color: #756d77;
  font-size: 0.8rem;
  line-height: 1.45;
}

.invalid-panel {
  padding-block: 3.5rem;
}

.invalid-illustration {
  position: relative;
  width: 11rem;
  height: 11rem;
  margin: 0 auto 1.6rem;
  border-radius: 50%;
  background: linear-gradient(145deg, var(--pink-soft), var(--orange-soft));
}

.broken-link,
.refresh-mark {
  position: absolute;
  display: grid;
  place-items: center;
  border-radius: 1.35rem;
  font-weight: 900;
}

.broken-link {
  top: 2.25rem;
  left: 2rem;
  width: 5rem;
  height: 5rem;
  background: var(--navy);
  box-shadow: 0 0.9rem 1.8rem #171b4b33;
  color: #fff;
  font-size: 2.2rem;
  transform: rotate(-8deg);
}

.refresh-mark {
  right: 1.65rem;
  bottom: 1.8rem;
  width: 3.7rem;
  height: 3.7rem;
  border: 0.3rem solid #fff;
  background: linear-gradient(145deg, var(--pink), var(--orange));
  color: #fff;
  font-size: 1.75rem;
}

.invalid-panel h2 {
  margin: 0;
  color: #211b25;
  font-size: 1.3rem;
  font-weight: 900;
}

@media (max-width: 58rem) {
  .link-card {
    min-height: auto;
  }

  .state-layout {
    grid-template-columns: 1fr;
    gap: 2.25rem;
    padding-top: 3.2rem;
  }

  .copy-panel {
    text-align: center;
  }

  h1,
  .lead,
  .return-note,
  .invalid-guidance {
    margin-right: auto;
    margin-left: auto;
  }

  .store-block {
    width: min(100%, 34rem);
    margin-right: auto;
    margin-left: auto;
  }

  .bridge-panel {
    width: min(100%, 34rem);
    margin: 0 auto;
  }
}

@media (max-width: 38rem) {
  .page-shell {
    padding: 0;
  }

  .link-card {
    border: 0;
    border-radius: 0;
    box-shadow: none;
  }

  .brand-row {
    padding-top: 1.65rem;
  }

  .bridge-label {
    padding: 0.45rem 0.7rem;
    font-size: 0.65rem;
  }

  .state-layout {
    padding-top: 2.6rem;
  }

  .store-actions {
    justify-content: center;
  }

  .primary {
    width: 100%;
  }

  .bridge-panel {
    padding: 1.25rem;
    border-radius: 1.6rem;
  }

  .bridge-orbit {
    min-height: 21rem;
    transform: scale(0.9);
  }

  .chip-left {
    left: -0.8rem;
  }

  .chip-right {
    right: -0.8rem;
  }

  .privacy-note {
    padding: 1rem 1.35rem 1.6rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  .button,
  .store-badge-link {
    transition: none;
  }
}
