:root {
  --navy-950: #050d19;
  --navy-900: #071426;
  --navy-850: #0b1b31;
  --navy-800: #10233e;
  --slate-100: #f5f7fb;
  --slate-300: #b8c4d9;
  --slate-500: #73829a;
  --orange: #ff7a1a;
  --orange-light: #ffae70;
  --line: rgba(188, 204, 229, 0.16);
  --font-geist-sans: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --font-geist-mono: "SFMono-Regular", Consolas, "Liberation Mono", monospace;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  background: var(--navy-950);
}

body {
  margin: 0;
  background:
    radial-gradient(circle at 78% 9%, rgba(30, 70, 124, 0.27), transparent 34rem),
    var(--navy-950);
  color: var(--slate-100);
  font-family: var(--font-geist-sans), system-ui, sans-serif;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}

a {
  color: inherit;
  text-decoration: none;
}

a:focus-visible {
  outline: 3px solid var(--orange);
  outline-offset: 5px;
  border-radius: 4px;
}

.site-frame {
  min-height: 100vh;
  overflow: hidden;
}

.hub-hero {
  min-height: 610px;
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(320px, 0.7fr);
  align-items: center;
  gap: clamp(48px, 8vw, 108px);
  padding-block: 94px 110px;
}

.hub-hero h1 {
  max-width: 790px;
}

.hub-card {
  display: block;
  padding: 30px;
  border: 1px solid rgba(171, 195, 230, 0.2);
  border-radius: 28px;
  background: linear-gradient(145deg, rgba(20, 44, 77, 0.94), rgba(8, 23, 43, 0.96));
  box-shadow: 0 42px 90px rgba(0, 0, 0, 0.34);
  transition: transform 180ms ease, border-color 180ms ease;
}

.hub-card:hover {
  transform: translateY(-4px);
  border-color: rgba(255, 122, 26, 0.45);
}

.hub-card-header {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 28px;
}

.hub-card-header img {
  width: 64px;
  height: 64px;
  border-radius: 15px;
}

.hub-card-header h2 {
  margin: 0;
  font-size: 1.8rem;
}

.hub-card-header p,
.hub-card > p {
  margin: 4px 0 0;
  color: var(--slate-300);
}

.hub-card-link {
  display: inline-block;
  margin-top: 24px;
  color: var(--orange-light);
  font-weight: 750;
}

.hub-apps {
  display: grid;
  gap: 18px;
}

.ripple-card {
  background: linear-gradient(145deg, rgba(42, 29, 91, 0.96), rgba(8, 29, 61, 0.98));
}

.ripple-card:hover {
  border-color: rgba(66, 224, 207, 0.56);
}

.ripple-card .hub-card-link {
  color: #6cf0df;
}

.ripplehop {
  --orange: #42e0cf;
  --orange-light: #9a72ef;
  background:
    radial-gradient(circle at 78% 9%, rgba(129, 83, 225, 0.24), transparent 34rem),
    linear-gradient(180deg, #0f0725, #071a3a 66%, #050d19);
}

.ripplehop .site-header {
  background: rgba(13, 7, 35, 0.78);
}

.game-preview {
  transform: rotate(1deg);
  overflow: hidden;
  background:
    radial-gradient(circle at 70% 32%, rgba(154, 114, 239, 0.22), transparent 12rem),
    linear-gradient(180deg, #13072d, #08224b);
}

.game-score {
  display: flex;
  justify-content: space-between;
  color: #dce4f3;
  font-family: var(--font-geist-mono), monospace;
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.11em;
  text-transform: uppercase;
}

.game-score strong {
  color: #ffd96b;
  font-size: 1.1rem;
}

.hop-field {
  position: relative;
  min-height: 350px;
  margin-top: 30px;
}

.hop-pad {
  position: absolute;
  width: 48%;
  height: 28px;
  border: 2px solid rgba(255, 255, 255, 0.48);
  border-radius: 999px;
  background: #42e0cf;
  box-shadow: 0 12px 0 rgba(0, 0, 0, 0.2), 0 0 24px rgba(66, 224, 207, 0.14);
}

.hop-pad::after {
  content: "";
  position: absolute;
  width: 28px;
  height: 28px;
  left: 50%;
  top: 50%;
  border-radius: 50%;
  background: #e5d65a;
  transform: translate(-50%, -50%);
}

.hop-pad.one {
  left: 2%;
  bottom: 36px;
}

.hop-pad.two {
  right: 2%;
  top: 145px;
  background: #9a72ef;
}

.hop-pad.three {
  left: 8%;
  top: 18px;
  background: #ff6f74;
}

.hopper {
  position: absolute;
  left: 54%;
  top: 92px;
  display: grid;
  width: 58px;
  height: 58px;
  place-items: center;
  background: #fff4c7;
  color: #27194c;
  font-size: 1rem;
  font-weight: 900;
  clip-path: polygon(50% 0, 94% 24%, 94% 76%, 50% 100%, 6% 76%, 6% 24%);
  filter: drop-shadow(0 0 18px rgba(255, 217, 107, 0.52));
}

.ripple-ring {
  position: absolute;
  right: -12px;
  top: 126px;
  width: 230px;
  height: 78px;
  border: 2px solid rgba(66, 224, 207, 0.28);
  border-radius: 50%;
}

.back-link {
  display: inline-flex;
  margin-bottom: 22px;
  color: var(--slate-300);
  font-size: 0.88rem;
  font-weight: 650;
}

.back-link:hover {
  color: var(--orange-light);
}

.shell {
  width: min(1160px, calc(100% - 40px));
  margin-inline: auto;
}

.site-header {
  border-bottom: 1px solid var(--line);
  background: rgba(5, 13, 25, 0.76);
  backdrop-filter: blur(18px);
}

.header-inner {
  min-height: 78px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  font-size: 1.04rem;
  font-weight: 750;
  letter-spacing: -0.02em;
}

.brand img {
  border-radius: 9px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.24);
}

nav {
  display: flex;
  gap: 30px;
  color: var(--slate-300);
  font-size: 0.9rem;
  font-weight: 600;
}

nav a,
.footer-links a {
  transition: color 160ms ease;
}

nav a:hover,
.footer-links a:hover {
  color: var(--orange-light);
}

.hero {
  min-height: 690px;
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(360px, 0.72fr);
  align-items: center;
  gap: clamp(56px, 8vw, 112px);
  padding-block: 92px 104px;
}

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

.kicker,
.feature-eyebrow {
  margin: 0 0 18px;
  color: var(--orange);
  font-family: var(--font-geist-mono), monospace;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  margin-bottom: 30px;
  font-size: clamp(3.7rem, 7vw, 6.9rem);
  line-height: 0.93;
  letter-spacing: -0.075em;
}

h1 span {
  color: var(--orange);
}

.hero-lede {
  max-width: 665px;
  margin-bottom: 34px;
  color: var(--slate-300);
  font-size: clamp(1.06rem, 1.6vw, 1.28rem);
  line-height: 1.72;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 26px;
}

.store-pill {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 48px;
  padding: 0 18px;
  border: 1px solid rgba(255, 122, 26, 0.38);
  border-radius: 999px;
  background: rgba(255, 122, 26, 0.09);
  font-size: 0.92rem;
  font-weight: 700;
}

.store-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--orange);
  box-shadow: 0 0 0 5px rgba(255, 122, 26, 0.12);
}

.text-link {
  color: var(--slate-100);
  font-weight: 700;
  text-decoration: underline;
  text-decoration-color: rgba(255, 122, 26, 0.72);
  text-underline-offset: 6px;
}

.hero-card {
  position: relative;
  padding: 30px;
  border: 1px solid rgba(171, 195, 230, 0.2);
  border-radius: 28px;
  background: linear-gradient(145deg, rgba(20, 44, 77, 0.94), rgba(8, 23, 43, 0.96));
  box-shadow: 0 42px 90px rgba(0, 0, 0, 0.34);
  transform: rotate(1.5deg);
}

.hero-card::before {
  content: "";
  position: absolute;
  inset: -18px 24px 18px -18px;
  z-index: -1;
  border: 1px solid rgba(255, 122, 26, 0.15);
  border-radius: 32px;
  transform: rotate(-4deg);
}

.card-topline,
.streak-line {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.card-topline {
  color: var(--orange-light);
  font-family: var(--font-geist-mono), monospace;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.status {
  color: #8ce7b4;
}

.status span {
  margin-right: 5px;
}

.card-prompt {
  margin: 46px 0 22px;
  font-size: 1.8rem;
  font-weight: 750;
  letter-spacing: -0.04em;
}

.shipment-preview {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 17px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 17px;
  background: rgba(4, 14, 28, 0.42);
}

.check {
  display: grid;
  width: 40px;
  height: 40px;
  flex: 0 0 auto;
  place-items: center;
  border-radius: 12px;
  background: var(--orange);
  color: var(--navy-950);
  font-size: 1.25rem;
  font-weight: 900;
}

.shipment-preview strong {
  display: block;
  font-size: 0.98rem;
}

.shipment-preview p {
  margin: 3px 0 0;
  color: var(--slate-500);
  font-size: 0.78rem;
}

blockquote {
  margin: 20px 0 30px;
  padding: 18px 0 18px 18px;
  border-left: 2px solid var(--orange);
  color: var(--slate-300);
  font-size: 0.95rem;
  line-height: 1.6;
}

.streak-line {
  padding-top: 20px;
  border-top: 1px solid var(--line);
  color: var(--slate-500);
  font-size: 0.82rem;
}

.streak-line strong {
  color: var(--orange-light);
  font-size: 1rem;
}

.principles {
  border-block: 1px solid var(--line);
  background: rgba(10, 27, 49, 0.55);
}

.principles-grid {
  min-height: 92px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  align-items: center;
}

.principles-grid p {
  margin: 0;
  padding: 8px 24px;
  border-right: 1px solid var(--line);
  color: var(--slate-300);
  font-size: 0.84rem;
  font-weight: 700;
  text-align: center;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.principles-grid p:first-child {
  border-left: 1px solid var(--line);
}

.feature-section {
  padding-block: 130px;
}

.section-heading {
  max-width: 745px;
  margin-bottom: 58px;
}

.section-heading.compact {
  margin-bottom: 40px;
}

h2 {
  margin-bottom: 20px;
  font-size: clamp(2.25rem, 4.2vw, 4.2rem);
  line-height: 1.02;
  letter-spacing: -0.055em;
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.feature-card {
  min-height: 300px;
  padding: 30px;
  border: 1px solid var(--line);
  border-radius: 22px;
  background: rgba(11, 27, 49, 0.55);
}

.feature-card h3 {
  margin-bottom: 18px;
  font-size: 1.55rem;
  line-height: 1.15;
  letter-spacing: -0.035em;
}

.feature-card > p:last-child {
  color: var(--slate-300);
  line-height: 1.7;
}

.feature-eyebrow {
  margin-bottom: 62px;
  color: var(--slate-500);
}

.privacy-band,
.support-note {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 30px;
  margin-bottom: 130px;
  padding: 42px;
  border: 1px solid rgba(255, 122, 26, 0.28);
  border-radius: 24px;
  background: rgba(255, 122, 26, 0.07);
}

.privacy-band h2,
.support-note h2 {
  margin-bottom: 10px;
  font-size: clamp(1.7rem, 3vw, 2.7rem);
}

.privacy-band p:last-child,
.support-note p {
  max-width: 700px;
  margin-bottom: 0;
  color: var(--slate-300);
}

.privacy-mark {
  display: grid;
  width: 62px;
  height: 62px;
  place-items: center;
  border-radius: 18px;
  background: var(--orange);
  color: var(--navy-950);
  font-size: 1.75rem;
  font-weight: 900;
}

.button-link {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  padding: 0 19px;
  border-radius: 12px;
  background: var(--orange);
  color: var(--navy-950);
  font-size: 0.9rem;
  font-weight: 800;
  transition: transform 160ms ease, background 160ms ease;
}

.button-link:hover {
  background: #ff984f;
  transform: translateY(-2px);
}

.site-footer {
  border-top: 1px solid var(--line);
  background: rgba(3, 9, 17, 0.75);
}

.footer-inner {
  min-height: 205px;
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 20px 48px;
}

.footer-inner > div:first-child > p {
  margin: 15px 0 0;
  color: var(--slate-500);
  font-size: 0.88rem;
}

.footer-links {
  display: flex;
  gap: 24px;
  color: var(--slate-300);
  font-size: 0.86rem;
  font-weight: 650;
}

.copyright {
  grid-column: 1 / -1;
  margin: -35px 0 0;
  color: var(--slate-500);
  font-size: 0.75rem;
}

.legal-main {
  padding-block: 92px 130px;
}

.legal-heading {
  max-width: 800px;
  margin-bottom: 76px;
}

.legal-heading h1,
.support-hero h1 {
  margin-bottom: 20px;
  font-size: clamp(3.4rem, 7vw, 6.4rem);
}

.legal-heading > p:last-child {
  color: var(--slate-500);
  font-family: var(--font-geist-mono), monospace;
  font-size: 0.8rem;
}

.legal-layout {
  display: grid;
  grid-template-columns: minmax(220px, 0.65fr) minmax(0, 1.35fr);
  gap: clamp(50px, 9vw, 120px);
  align-items: start;
}

.legal-layout aside {
  position: sticky;
  top: 30px;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: rgba(11, 27, 49, 0.55);
}

.legal-summary {
  color: var(--orange-light);
  font-size: 1.12rem;
  font-weight: 700;
  line-height: 1.55;
}

.legal-layout aside a {
  color: var(--slate-300);
  font-size: 0.82rem;
  text-decoration: underline;
  text-underline-offset: 5px;
}

.legal-copy {
  max-width: 760px;
}

.legal-copy section {
  padding-bottom: 38px;
  margin-bottom: 38px;
  border-bottom: 1px solid var(--line);
}

.legal-copy section:last-child {
  margin-bottom: 0;
}

.legal-copy h2 {
  margin-bottom: 16px;
  font-size: clamp(1.45rem, 3vw, 2.05rem);
  letter-spacing: -0.035em;
}

.legal-copy p,
.legal-copy li {
  color: var(--slate-300);
  font-size: 1.02rem;
  line-height: 1.8;
}

.legal-copy a {
  color: var(--orange-light);
  text-decoration: underline;
  text-underline-offset: 5px;
}

.legal-copy ul {
  padding-left: 22px;
}

.legal-copy li + li {
  margin-top: 9px;
}

.support-hero {
  max-width: 850px;
  margin-inline: auto;
  padding-block: 110px 120px;
  text-align: center;
}

.support-hero > p:not(.kicker) {
  max-width: 680px;
  margin: 0 auto 32px;
  color: var(--slate-300);
  font-size: 1.12rem;
  line-height: 1.75;
}

.faq-section {
  padding-block: 20px 110px;
}

.faq-list {
  border-top: 1px solid var(--line);
}

.faq-list article {
  display: grid;
  grid-template-columns: minmax(240px, 0.7fr) minmax(0, 1.3fr);
  gap: 48px;
  padding-block: 32px;
  border-bottom: 1px solid var(--line);
}

.faq-list h3 {
  margin: 0;
  font-size: 1.15rem;
}

.faq-list p {
  margin: 0;
  color: var(--slate-300);
  line-height: 1.7;
}

.support-note {
  grid-template-columns: 1fr auto;
}

@media (max-width: 820px) {
  .hub-hero {
    min-height: auto;
    grid-template-columns: 1fr;
    padding-block: 70px 90px;
  }

  .hero {
    min-height: auto;
    grid-template-columns: minmax(0, 1fr);
    padding-block: 70px 90px;
  }

  .hero-card {
    max-width: 520px;
    transform: none;
  }

  .principles-grid {
    grid-template-columns: repeat(2, 1fr);
    padding-block: 14px;
  }

  .principles-grid p {
    min-height: 54px;
    display: grid;
    place-items: center;
    border: 0;
  }

  .principles-grid p:first-child {
    border: 0;
  }

  .feature-grid {
    grid-template-columns: 1fr;
  }

  .feature-card {
    min-height: 250px;
  }

  .privacy-band {
    grid-template-columns: auto 1fr;
  }

  .privacy-band .button-link {
    grid-column: 1 / -1;
    justify-self: start;
  }

  .legal-layout {
    grid-template-columns: 1fr;
  }

  .legal-layout aside {
    position: static;
  }
}

@media (max-width: 620px) {
  html,
  body {
    max-width: 100%;
    overflow-x: hidden;
  }

  .shell {
    width: min(100% - 28px, 1160px);
  }

  .header-inner {
    min-height: 68px;
    gap: 12px;
  }

  .brand {
    flex: 0 1 auto;
    min-width: 0;
  }

  .brand img {
    width: 32px;
    height: 32px;
  }

  nav {
    flex: 0 1 auto;
    gap: 12px;
    font-size: 0.74rem;
  }

  nav a:first-child {
    display: none;
  }

  .brand span {
    font-size: 0.94rem;
  }

  .hero {
    gap: 62px;
    padding-block: 62px 78px;
  }

  h1 {
    max-width: 100%;
    font-size: clamp(2.85rem, 14vw, 4rem);
    overflow-wrap: anywhere;
  }

  .hero-actions {
    max-width: 100%;
    align-items: flex-start;
  }

  .hero-actions > * {
    max-width: 100%;
  }

  .hero-card {
    width: 100%;
    max-width: 100%;
    padding: 23px;
    border-radius: 22px;
  }

  .game-score {
    gap: 12px;
    font-size: 0.66rem;
  }

  .game-score strong {
    font-size: 0.9rem;
  }

  .principles-grid {
    grid-template-columns: 1fr 1fr;
  }

  .principles-grid p {
    padding-inline: 8px;
    font-size: 0.68rem;
  }

  .feature-section {
    padding-block: 92px;
  }

  .privacy-band,
  .support-note {
    grid-template-columns: 1fr;
    margin-bottom: 92px;
    padding: 28px;
  }

  .privacy-band .button-link {
    grid-column: auto;
  }

  .footer-inner {
    min-height: 250px;
    grid-template-columns: 1fr;
    padding-block: 42px;
  }

  .footer-links {
    flex-wrap: wrap;
  }

  .copyright {
    grid-column: auto;
    margin: 0;
  }

  .legal-main {
    padding-block: 68px 96px;
  }

  .legal-heading {
    margin-bottom: 52px;
  }

  .faq-list article {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .support-hero {
    padding-block: 78px 88px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    transition-duration: 0.001ms !important;
  }
}

/* Roomerang ----------------------------------------------------------- */

.roomerang-card {
  background: linear-gradient(145deg, rgba(28, 30, 38, 0.96), rgba(12, 14, 20, 0.98));
}

.roomerang-card:hover {
  border-color: rgba(240, 90, 90, 0.56);
}

.roomerang-card .hub-card-link {
  color: #ff7a7a;
}

.roomerang {
  --orange: #f05a5a;
  --orange-light: #ff9a9a;
  background:
    radial-gradient(circle at 76% 10%, rgba(240, 90, 90, 0.16), transparent 34rem),
    linear-gradient(180deg, #14161d, #0d0f15 62%, #08090d);
}

.roomerang .site-header {
  background: rgba(15, 17, 23, 0.78);
}

/* A flat nod to the room itself: grid, ledges, spikes, a door on the right. */
.room-preview {
  transform: rotate(-1deg);
  overflow: hidden;
  background: linear-gradient(180deg, #191c24, #101219);
}

.room-field {
  position: relative;
  height: 15rem;
  border-radius: 12px;
  margin: 14px 0 12px;
  background-color: rgba(236, 238, 243, 0.06);
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.05) 1px, transparent 1px);
  background-size: 2rem 2rem;
}

.room-number {
  position: absolute;
  top: 1.4rem;
  left: 50%;
  transform: translateX(-50%);
  font: 700 4.2rem/1 ui-monospace, SFMono-Regular, Menlo, monospace;
  color: rgba(255, 255, 255, 0.07);
  letter-spacing: 0.08em;
}

.room-ledge {
  position: absolute;
  height: 0.42rem;
  border-radius: 3px;
  background: rgba(255, 255, 255, 0.22);
}

.room-ledge.one { left: 12%; bottom: 5.4rem; width: 26%; }
.room-ledge.two { left: 52%; bottom: 8.2rem; width: 26%; }

.room-figure {
  position: absolute;
  left: 7%;
  bottom: 0.9rem;
  width: 1.5rem;
  height: 2.1rem;
  border-radius: 0.55rem;
  background: #11131a;
  color: rgba(255, 255, 255, 0.92);
  font-size: 0.6rem;
  letter-spacing: 0.16em;
  display: flex;
  align-items: center;
  justify-content: center;
  padding-bottom: 0.5rem;
}

.room-spikes {
  position: absolute;
  left: 44%;
  bottom: 0.9rem;
  width: 3rem;
  height: 0.9rem;
  background: repeating-linear-gradient(90deg, transparent 0 0.12rem, #f05a5a 0.12rem 0.36rem, transparent 0.36rem 0.6rem);
  clip-path: polygon(0 100%, 8% 0, 16% 100%, 24% 0, 32% 100%, 40% 0, 48% 100%, 56% 0, 64% 100%, 72% 0, 80% 100%, 88% 0, 96% 100%);
}

.room-door {
  position: absolute;
  right: 7%;
  bottom: 0.9rem;
  width: 2.2rem;
  height: 3.4rem;
  border-radius: 1.1rem 1.1rem 0 0;
  background: #f05a5a;
  box-shadow: 0 0 1.6rem rgba(240, 90, 90, 0.42);
}

.room-premise {
  margin: 0;
  text-align: center;
  font-size: 0.92rem;
  color: rgba(255, 255, 255, 0.62);
}

/* A store pill that is a real link, not a status badge. */
.store-pill-live {
  text-decoration: none;
  color: inherit;
  transition: border-color 0.18s ease, background 0.18s ease, transform 0.18s ease;
}

.store-pill-live:hover,
.store-pill-live:focus-visible {
  border-color: var(--orange);
  background: rgba(255, 122, 26, 0.16);
  transform: translateY(-1px);
}
