/* Sqeez Studio site styles. Hand-written, mobile-first, no framework.
   Dark navy base with glass surfaces. Blue is the primary accent; violet and the logo's amber support it.
   Every app has its own accent ("tone"), set with a .tone-* class and read through --tone / --tone-rgb. */

:root {
  --bg: #060a14;
  --bg-2: #0b1220;
  --bg-3: #111a2e;
  --card-a: rgba(30, 41, 59, 0.62);
  --card-b: rgba(15, 23, 42, 0.7);
  --glass: rgba(255, 255, 255, 0.045);
  --line: rgba(148, 163, 184, 0.15);
  --line-strong: rgba(148, 163, 184, 0.28);
  --text: #e6eaf2;
  --text-2: #a9b4c7;
  --text-3: #7f8ba1;
  --blue: #60a5fa;
  --blue-2: #93c5fd;
  --violet: #a78bfa;
  --amber: #fbbf24;
  --ink: #06101f;
  --tone: #60a5fa;
  --tone-rgb: 96, 165, 250;
  --radius: 22px;
  --radius-md: 16px;
  --radius-sm: 12px;
  --shadow: 0 24px 60px rgba(2, 6, 23, 0.55);
  --shadow-sm: 0 10px 30px rgba(2, 6, 23, 0.35);
  --ease: cubic-bezier(0.2, 0.7, 0.2, 1);
  --container: 1180px;
  --gutter: 1.1rem;
  --font-display: "Plus Jakarta Sans", "Inter", system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --font-body: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  color-scheme: dark;
}

.tone-blue { --tone: #60a5fa; --tone-rgb: 96, 165, 250; }
.tone-sky { --tone: #38bdf8; --tone-rgb: 56, 189, 248; }
.tone-violet { --tone: #a78bfa; --tone-rgb: 167, 139, 250; }
.tone-amber { --tone: #fbbf24; --tone-rgb: 251, 191, 36; }
.tone-teal { --tone: #2dd4bf; --tone-rgb: 45, 212, 191; }
.tone-emerald { --tone: #34d399; --tone-rgb: 52, 211, 153; }
.tone-pink { --tone: #f472b6; --tone-rgb: 244, 114, 182; }

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

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: 6.5rem;
}

body {
  margin: 0;
  min-height: 100vh;
  background:
    radial-gradient(1100px 620px at 12% -8%, rgba(96, 165, 250, 0.13), transparent 62%),
    radial-gradient(900px 560px at 96% -4%, rgba(167, 139, 250, 0.12), transparent 58%),
    var(--bg);
  background-color: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.65;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

@supports (overflow: clip) {
  body {
    overflow-x: clip;
  }
}

/* Fine dot grid that fades out down the page. */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background-image: radial-gradient(rgba(148, 163, 184, 0.13) 1px, transparent 1px);
  background-size: 30px 30px;
  -webkit-mask-image: linear-gradient(180deg, #000 0%, transparent 78%);
  mask-image: linear-gradient(180deg, #000 0%, transparent 78%);
}

::selection {
  background: rgba(96, 165, 250, 0.35);
  color: #fff;
}

img,
picture,
svg {
  display: block;
  max-width: 100%;
}

img {
  height: auto;
}

a {
  color: var(--blue);
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
  overflow-wrap: anywhere;
}

a:hover {
  color: var(--blue-2);
}

h1,
h2,
h3 {
  margin: 0 0 0.6em;
  color: #f8fafc;
  font-family: var(--font-display);
  line-height: 1.15;
  overflow-wrap: anywhere;
}

h1 {
  font-size: clamp(2.15rem, 1.25rem + 4.2vw, 4rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.06;
}

h2 {
  font-size: clamp(1.7rem, 1.15rem + 2.3vw, 2.7rem);
  font-weight: 800;
  letter-spacing: -0.025em;
}

h3 {
  font-size: 1.2rem;
  font-weight: 700;
  letter-spacing: -0.01em;
}

p {
  margin: 0 0 1em;
}

ul,
ol {
  margin: 0;
  padding: 0;
}

:focus-visible {
  outline: 3px solid var(--blue-2);
  outline-offset: 3px;
  border-radius: 8px;
}

.container {
  width: min(100% - 2 * var(--gutter), var(--container));
  margin-inline: auto;
}

.visually-hidden,
.sr-only {
  position: absolute !important;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

.skip-link {
  position: absolute;
  left: 1rem;
  top: -5rem;
  z-index: 100;
  padding: 0.6rem 1rem;
  border-radius: var(--radius-sm);
  background: var(--blue);
  color: var(--ink);
  font-weight: 700;
  text-decoration: none;
}

.skip-link:focus {
  top: 1rem;
}

.icon {
  width: 1.25em;
  height: 1.25em;
  flex: none;
}

/* Header ------------------------------------------------------------------ */

.site-header {
  position: sticky;
  top: 0;
  z-index: 60;
  padding: 0.7rem 0 0.4rem;
}

.header-bar {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  padding: 0.5rem 0.55rem 0.5rem 0.65rem;
  border-radius: 20px;
  border: 1px solid var(--line);
  background: rgba(11, 18, 32, 0.72);
  -webkit-backdrop-filter: saturate(150%) blur(16px);
  backdrop-filter: saturate(150%) blur(16px);
  box-shadow: 0 12px 34px rgba(2, 6, 23, 0.32);
  transition: background-color 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
}

.site-header.is-scrolled .header-bar,
body.nav-open .header-bar {
  background: rgba(8, 13, 25, 0.92);
  border-color: var(--line-strong);
  box-shadow: 0 16px 40px rgba(2, 6, 23, 0.55);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  min-width: 0;
  color: #f8fafc;
  text-decoration: none;
}

.brand:hover {
  color: #fff;
}

.brand img {
  width: 42px;
  height: 42px;
  flex: none;
  border-radius: 13px;
  box-shadow: 0 8px 22px rgba(96, 165, 250, 0.28);
}

.brand-text {
  display: flex;
  flex-direction: column;
  min-width: 0;
  line-height: 1.15;
}

.brand-text strong {
  font-family: var(--font-display);
  font-size: 1.02rem;
  font-weight: 800;
  letter-spacing: -0.01em;
  white-space: nowrap;
}

.brand-text small {
  color: var(--text-3);
  font-size: 0.75rem;
  white-space: nowrap;
}

.header-tools {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.nav-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 14px;
  border: 1px solid var(--line-strong);
  background: var(--glass);
  color: var(--text);
  cursor: pointer;
}

.nav-toggle .icon {
  width: 22px;
  height: 22px;
}

.nav-toggle .icon-close,
body.nav-open .nav-toggle .icon-menu {
  display: none;
}

body.nav-open .nav-toggle .icon-close {
  display: block;
}

.site-nav {
  display: none;
  position: absolute;
  top: calc(100% + 0.5rem);
  left: 0;
  right: 0;
  max-height: calc(100vh - 6.5rem);
  max-height: calc(100dvh - 6.5rem);
  overflow: auto;
  padding: 0.6rem;
  border-radius: 20px;
  border: 1px solid var(--line-strong);
  background: #080d19;
  box-shadow: var(--shadow);
}

body.nav-open .site-nav {
  display: block;
}

.nav-links {
  list-style: none;
  display: grid;
  gap: 0.15rem;
}

.nav-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.35rem;
  width: 100%;
  padding: 0.8rem 0.9rem;
  border: 0;
  border-radius: var(--radius-sm);
  background: none;
  color: var(--text);
  font: inherit;
  font-weight: 600;
  text-align: left;
  text-decoration: none;
  cursor: pointer;
  transition: background-color 0.2s ease, color 0.2s ease;
}

.nav-link:hover,
.nav-link[aria-current="page"],
.nav-link.is-current,
.has-menu.is-open > .nav-link {
  background: rgba(255, 255, 255, 0.07);
  color: #fff;
}

.menu-toggle .icon {
  width: 1em;
  height: 1em;
  transition: transform 0.25s ease;
}

.has-menu.is-open .menu-toggle .icon {
  transform: rotate(180deg);
}

.menu {
  display: none;
}

.has-menu.is-open .menu {
  display: block;
}

.menu-panel {
  padding: 0.25rem 0 0.4rem;
}

.menu-list {
  list-style: none;
  display: grid;
  gap: 0.1rem;
}

.menu-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.55rem 0.65rem;
  border-radius: 14px;
  color: var(--text);
  text-decoration: none;
  transition: background-color 0.2s ease;
}

.menu-item:hover,
.menu-item[aria-current="page"] {
  background: rgba(var(--tone-rgb), 0.12);
  color: #fff;
}

.menu-icon {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  flex: none;
  border-radius: 11px;
  border: 1px solid rgba(var(--tone-rgb), 0.35);
  background: linear-gradient(135deg, rgba(var(--tone-rgb), 0.24), rgba(var(--tone-rgb), 0.06));
  color: var(--tone);
}

.menu-icon .icon {
  width: 19px;
  height: 19px;
}

.menu-text {
  display: flex;
  flex-direction: column;
  min-width: 0;
  line-height: 1.25;
}

.menu-text strong {
  font-size: 0.95rem;
  font-weight: 650;
}

.menu-text small {
  color: var(--text-3);
  font-size: 0.76rem;
  overflow-wrap: normal;
}

.menu-all {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  margin-top: 0.4rem;
  padding: 0.65rem;
  border-radius: 14px;
  border: 1px solid var(--line);
  color: var(--text);
  font-size: 0.9rem;
  font-weight: 650;
  text-decoration: none;
}

.menu-all:hover {
  border-color: var(--blue);
  color: #fff;
}

.lang-switch {
  display: inline-flex;
  align-items: center;
  gap: 0.15rem;
  padding: 0.25rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--glass);
}

.lang-link {
  padding: 0.32rem 0.7rem;
  border-radius: 999px;
  color: var(--text-2);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  text-decoration: none;
}

.lang-link:hover {
  color: #fff;
}

.lang-link.is-current {
  background: linear-gradient(135deg, var(--blue), var(--blue-2));
  color: var(--ink);
}

@media (max-width: 420px) {
  .brand-text small {
    display: none;
  }

  .lang-link {
    padding: 0.32rem 0.55rem;
  }
}

@media (min-width: 960px) {
  .header-bar {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    padding: 0.55rem 0.7rem;
  }

  .nav-toggle {
    display: none;
  }

  .header-tools {
    justify-self: end;
  }

  .site-nav {
    display: block;
    position: static;
    max-height: none;
    overflow: visible;
    padding: 0;
    border: 0;
    border-radius: 0;
    background: none;
    box-shadow: none;
  }

  .nav-links {
    display: flex;
    gap: 0.15rem;
    padding: 0.3rem;
    border-radius: 999px;
    border: 1px solid var(--line);
    background: var(--glass);
  }

  .nav-link {
    width: auto;
    padding: 0.5rem 0.95rem;
    border-radius: 999px;
    color: var(--text-2);
    font-size: 0.93rem;
  }

  .has-menu {
    position: relative;
  }

  .menu {
    position: absolute;
    top: 100%;
    left: 50%;
    width: 22.5rem;
    padding-top: 0.85rem;
    transform: translateX(-50%);
  }

  .has-menu:hover .menu {
    display: block;
  }

  .has-menu:hover .menu-toggle .icon {
    transform: rotate(180deg);
  }

  .menu-panel {
    padding: 0.5rem;
    border-radius: 22px;
    border: 1px solid var(--line-strong);
    background: rgba(9, 14, 27, 0.98);
    box-shadow: var(--shadow);
  }
}

/* Buttons ----------------------------------------------------------------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  min-height: 3rem;
  padding: 0.75rem 1.4rem;
  border-radius: 14px;
  border: 1px solid transparent;
  font: inherit;
  font-weight: 650;
  line-height: 1.2;
  text-decoration: none;
  cursor: pointer;
  transition: transform 0.2s ease, background-color 0.2s ease, border-color 0.2s ease, color 0.2s ease, box-shadow 0.2s ease;
}

.btn .icon {
  width: 1.1em;
  height: 1.1em;
  transition: transform 0.2s ease;
}

.btn:hover .icon {
  transform: translateX(3px);
}

.btn:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

.btn-primary {
  background: linear-gradient(135deg, #4f9cf9 0%, #7cb9ff 55%, #a5c8ff 100%);
  color: var(--ink);
  box-shadow: 0 10px 28px rgba(96, 165, 250, 0.32), inset 0 1px 0 rgba(255, 255, 255, 0.35);
}

.btn-primary:hover {
  color: var(--ink);
  transform: translateY(-2px);
  box-shadow: 0 16px 38px rgba(96, 165, 250, 0.45), inset 0 1px 0 rgba(255, 255, 255, 0.35);
}

.btn-ghost {
  background: var(--glass);
  color: var(--text);
  border-color: var(--line-strong);
}

.btn-ghost:hover {
  background: rgba(255, 255, 255, 0.09);
  color: #fff;
  border-color: rgba(255, 255, 255, 0.4);
  transform: translateY(-2px);
}

.btn-lg {
  min-height: 3.4rem;
  padding: 0.9rem 1.7rem;
  font-size: 1.05rem;
}

.btn-lg span {
  overflow-wrap: anywhere;
}

.actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.75rem;
  margin-top: 1.75rem;
}

.actions-sub {
  margin-top: 0.75rem;
}

.actions-sub .btn {
  min-height: 2.5rem;
  padding: 0.45rem 1rem;
  font-size: 0.9rem;
}

.store-badge {
  display: inline-flex;
  line-height: 0;
  border-radius: 9px;
  transition: transform 0.2s ease, filter 0.2s ease;
}

.store-badge:hover {
  transform: translateY(-2px);
  filter: brightness(1.15);
}

.store-badge img {
  height: 48px;
  width: auto;
}

.store-badge-sm img {
  height: 36px;
}

.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  color: var(--tone);
  font-weight: 650;
  text-decoration: none;
  overflow-wrap: normal;
}

.link-arrow:hover {
  color: #fff;
}

.link-arrow .icon {
  width: 1.05em;
  height: 1.05em;
  transition: transform 0.2s ease;
}

.link-arrow:hover .icon {
  transform: translateX(4px);
}

/* Decorative glows -------------------------------------------------------- */

.aurora {
  position: absolute;
  inset: -7rem 0 0;
  z-index: -1;
  overflow: hidden;
  pointer-events: none;
  -webkit-mask-image: linear-gradient(180deg, #000 62%, transparent);
  mask-image: linear-gradient(180deg, #000 62%, transparent);
}

.aurora span {
  position: absolute;
  border-radius: 50%;
}

.aurora .a1 {
  width: 44rem;
  height: 44rem;
  left: -14rem;
  top: -12rem;
  background: radial-gradient(closest-side, rgba(var(--tone-rgb), 0.24), transparent);
  animation: drift-a 20s ease-in-out infinite;
}

.aurora .a2 {
  width: 40rem;
  height: 40rem;
  right: -13rem;
  top: -2rem;
  background: radial-gradient(closest-side, rgba(167, 139, 250, 0.2), transparent);
  animation: drift-b 24s ease-in-out infinite;
}

.aurora .a3 {
  width: 30rem;
  height: 30rem;
  left: 34%;
  bottom: -16rem;
  background: radial-gradient(closest-side, rgba(251, 191, 36, 0.09), transparent);
  animation: drift-a 28s ease-in-out infinite reverse;
}

.aurora-soft {
  inset: 0;
  -webkit-mask-image: none;
  mask-image: none;
}

.aurora-soft .a1 {
  width: 30rem;
  height: 30rem;
  left: -10rem;
  top: -14rem;
}

.aurora-soft .a2 {
  width: 28rem;
  height: 28rem;
  right: -10rem;
  top: auto;
  bottom: -14rem;
}

.aurora-soft .a3 {
  display: none;
}

@keyframes drift-a {
  50% {
    transform: translate(3rem, 2rem) scale(1.08);
  }
}

@keyframes drift-b {
  50% {
    transform: translate(-3rem, 2.5rem) scale(1.1);
  }
}

@keyframes bob {
  50% {
    translate: 0 -10px;
  }
}

@keyframes bob-alt {
  50% {
    translate: 0 9px;
  }
}

@keyframes pulse {
  0% {
    box-shadow: 0 0 0 0 rgba(var(--tone-rgb), 0.55);
  }

  70%,
  100% {
    box-shadow: 0 0 0 9px rgba(var(--tone-rgb), 0);
  }
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

/* Hero -------------------------------------------------------------------- */

.hero {
  position: relative;
  isolation: isolate;
  padding: 2.25rem 0 3rem;
}

.hero-home {
  padding-top: 2.75rem;
}

.hero-compact {
  padding-bottom: 1.5rem;
}

.hero-grid {
  display: grid;
  gap: 3rem;
  align-items: center;
}

.hero-copy {
  position: relative;
  z-index: 2;
  min-width: 0;
}

.hero-center {
  display: grid;
  justify-items: center;
  text-align: center;
}

.hero-center .hero-lead {
  margin-inline: auto;
}

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

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  margin-bottom: 1.25rem;
  padding: 0.42rem 0.9rem 0.42rem 0.75rem;
  border-radius: 999px;
  border: 1px solid rgba(var(--tone-rgb), 0.38);
  background: rgba(var(--tone-rgb), 0.1);
  color: #dbeafe;
  font-size: 0.82rem;
  font-weight: 650;
  letter-spacing: 0.02em;
}

.pulse-dot {
  width: 8px;
  height: 8px;
  flex: none;
  border-radius: 50%;
  background: var(--tone);
  animation: pulse 2.4s ease-out infinite;
}

.hero h1 {
  margin-bottom: 0.5em;
}

.grad,
.hero-app h1,
.page-hero h1,
.page-dice .hero h1 {
  background: linear-gradient(100deg, #f1f6ff 0%, #a8d0ff 34%, #60a5fa 58%, #a78bfa 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
}

.grad {
  /* Padding keeps descenders inside the clipped gradient. */
  display: inline-block;
  padding-bottom: 0.08em;
}

.hero-app h1,
.page-dice .hero h1 {
  font-size: clamp(2rem, 1.2rem + 3.4vw, 3.4rem);
  padding-bottom: 0.08em;
  background-image: linear-gradient(105deg, #ffffff 0%, #e8f0ff 45%, var(--tone) 100%);
}

.hero-lead {
  max-width: 60ch;
  margin-bottom: 0;
  color: var(--text-2);
  font-size: clamp(1.03rem, 0.96rem + 0.4vw, 1.2rem);
}

.trust {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem 1.5rem;
  margin-top: 2rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--line);
}

.trust li {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--text-2);
  font-size: 0.9rem;
  font-weight: 550;
}

.trust .icon {
  color: var(--tone);
}

.hero-stats {
  display: grid;
  gap: 1rem;
  margin: 3rem 0 0;
}

.hero-stats div,
.stat {
  position: relative;
  min-width: 0;
  padding: 1.3rem 1.4rem;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background: var(--glass);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
  transition: transform 0.3s var(--ease), border-color 0.3s ease, background-color 0.3s ease;
}

.hero-stats div::before,
.stat::before {
  content: "";
  position: absolute;
  left: 0;
  top: 18%;
  bottom: 18%;
  width: 3px;
  border-radius: 0 3px 3px 0;
  background: var(--tone);
  box-shadow: 0 0 18px rgba(var(--tone-rgb), 0.8);
}

.hero-stats div:hover,
.stat:hover {
  transform: translateY(-4px);
  border-color: rgba(var(--tone-rgb), 0.45);
  background: rgba(255, 255, 255, 0.07);
}

.hero-stats dt,
.stat-title {
  margin: 0 0 0.3rem;
  color: var(--tone);
  font-family: var(--font-display);
  font-size: clamp(1.25rem, 1.05rem + 0.8vw, 1.6rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.2;
  overflow-wrap: anywhere;
}

.stat-title {
  color: #fff;
  font-size: 1.15rem;
}

.hero-stats dd,
.stat-desc {
  margin: 0;
  color: var(--text-2);
  font-size: 0.93rem;
  line-height: 1.45;
}

.stat-grid {
  display: grid;
  gap: 1rem;
}

.crumb-wrap {
  padding-top: 1rem;
}

.breadcrumb ol {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.3rem 0.55rem;
  color: var(--text-3);
  font-size: 0.86rem;
}

.breadcrumb li + li::before {
  content: "›";
  margin-right: 0.55rem;
  color: var(--text-3);
}

.breadcrumb a {
  color: var(--text-2);
  text-decoration: none;
}

.breadcrumb a:hover {
  color: #fff;
  text-decoration: underline;
}

/* Hero visuals: posters, carousel, floating labels ----------------------- */

.hero-visual {
  position: relative;
  display: grid;
  place-items: center;
  margin: 0;
  min-width: 0;
}

.hero-showcase,
.hero-fan,
.hero-watch {
  width: 100%;
  max-width: 500px;
  margin-inline: auto;
}

.visual-glow {
  position: absolute;
  inset: 6% 2%;
  z-index: 0;
  border-radius: 50%;
  background: radial-gradient(closest-side, rgba(var(--tone-rgb), 0.42), transparent 74%);
  filter: blur(34px);
}

.orbit {
  position: absolute;
  z-index: 0;
  width: min(118%, 560px);
  aspect-ratio: 1;
  border-radius: 50%;
  border: 1px dashed rgba(148, 163, 184, 0.2);
  animation: spin 80s linear infinite;
}

.poster {
  border-radius: 28px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.16);
  background: var(--bg-2);
  box-shadow: var(--shadow);
}

.poster picture,
.poster img {
  display: block;
  width: 100%;
}

.poster-main,
.carousel {
  position: relative;
  z-index: 2;
  width: min(62vw, 270px);
}

.poster-main {
  box-shadow: var(--shadow), 0 0 0 7px rgba(255, 255, 255, 0.035), 0 30px 90px rgba(var(--tone-rgb), 0.28);
}

.poster-side {
  position: absolute;
  top: 50%;
  left: 50%;
  z-index: 1;
  width: min(46vw, 205px);
  border-radius: 22px;
  opacity: 0.6;
  filter: saturate(0.85) brightness(0.72);
}

.poster-left {
  transform: translate(-114%, -50%) rotate(-8deg);
  animation: bob 9s ease-in-out infinite;
}

.poster-right {
  transform: translate(14%, -50%) rotate(8deg);
  animation: bob-alt 11s ease-in-out infinite;
}

.hero-fan.is-pair .poster-main {
  translate: 14% 0;
}

.hero-fan.is-pair .poster-left {
  transform: translate(-104%, -50%) rotate(-8deg);
}

.shot-trigger {
  cursor: zoom-in;
}

.slides {
  position: relative;
  aspect-ratio: 1320 / 2868;
  box-shadow: var(--shadow), 0 0 0 7px rgba(255, 255, 255, 0.035), 0 30px 90px rgba(96, 165, 250, 0.3);
}

.slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.7s ease, visibility 0s linear 0.7s;
}

.slide.is-active {
  opacity: 1;
  visibility: visible;
  transition-delay: 0s;
}

.slide picture,
.slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.carousel-caption {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: center;
  gap: 0.2rem 0.6rem;
  margin: 1.1rem 0 0;
}

.slide-tag {
  color: var(--blue-2);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

.slide-name {
  color: #fff;
  font-size: 0.95rem;
  font-weight: 650;
}

.dots {
  display: flex;
  justify-content: center;
  gap: 0.15rem;
  margin-top: 0.6rem;
}

.dot {
  display: grid;
  place-items: center;
  width: 26px;
  height: 26px;
  padding: 0;
  border: 0;
  background: none;
  cursor: pointer;
}

.dot::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: var(--line-strong);
  transition: width 0.3s var(--ease), background-color 0.3s ease;
}

.dot.is-active::before {
  width: 22px;
  background: var(--blue);
}

.float-badge {
  position: absolute;
  z-index: 3;
  display: none;
  align-items: center;
  gap: 0.65rem;
  padding: 0.55rem 0.95rem 0.55rem 0.55rem;
  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(13, 20, 36, 0.86);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  box-shadow: var(--shadow-sm);
  color: #fff;
  text-decoration: none;
  transition: border-color 0.4s ease, box-shadow 0.4s ease;
}

.float-badge:hover,
.float-badge.is-active {
  border-color: rgba(var(--tone-rgb), 0.7);
  box-shadow: var(--shadow-sm), 0 0 26px rgba(var(--tone-rgb), 0.3);
  color: #fff;
}

.float-icon {
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  flex: none;
  border-radius: 11px;
  background: rgba(var(--tone-rgb), 0.16);
  color: var(--tone);
}

.float-icon .icon {
  width: 18px;
  height: 18px;
}

.float-text {
  display: flex;
  flex-direction: column;
  line-height: 1.25;
}

.float-text small {
  color: var(--text-3);
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  white-space: nowrap;
}

.float-text strong {
  font-size: 0.86rem;
  font-weight: 700;
  white-space: nowrap;
}

.fb-1 {
  top: -3%;
  right: -2%;
  animation: bob 7s ease-in-out infinite;
}

.fb-2 {
  bottom: 20%;
  left: -3%;
  animation: bob-alt 8s ease-in-out infinite;
}

.fb-3 {
  bottom: 44%;
  right: -3%;
  animation: bob 10s ease-in-out infinite;
}

/* Desktop window frame (AppSqeez screenshots) */

.window {
  display: block;
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.15);
  background: var(--bg-2);
  box-shadow: var(--shadow);
}

.window-bar {
  display: flex;
  align-items: center;
  gap: 6px;
  height: 28px;
  padding: 0 12px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  background: #141d31;
}

.window-bar i {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: #f87171;
}

.window-bar i:nth-child(2) {
  background: #fbbf24;
}

.window-bar i:nth-child(3) {
  background: #34d399;
}

.window picture,
.window img {
  display: block;
  width: 100%;
}

.hero-window .window {
  position: relative;
  z-index: 2;
  width: 100%;
  box-shadow: var(--shadow), 0 0 0 7px rgba(255, 255, 255, 0.03), 0 30px 90px rgba(var(--tone-rgb), 0.25);
}

/* Round watch bezel (Namedays) */

.watch {
  position: relative;
  z-index: 2;
  border-radius: 50%;
  overflow: hidden;
  border: 9px solid #04060c;
  outline: 1px solid rgba(255, 255, 255, 0.2);
  background: #000;
  box-shadow: var(--shadow), 0 30px 90px rgba(var(--tone-rgb), 0.3);
}

.watch picture,
.watch img {
  display: block;
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
}

.hero-watch {
  padding: 1.5rem 0 3.5rem;
}

.watch-main {
  width: min(62vw, 290px);
}

.watch-side {
  position: absolute;
  right: 4%;
  bottom: 0;
  z-index: 3;
  width: min(36vw, 160px);
  border-width: 7px;
  animation: bob 9s ease-in-out infinite;
}

/* Sections ---------------------------------------------------------------- */

.section {
  padding: 4rem 0;
}

.section-tight {
  padding: 1.75rem 0;
}

.section-band {
  background: linear-gradient(180deg, transparent, rgba(148, 163, 184, 0.04) 18%, rgba(148, 163, 184, 0.04) 82%, transparent);
}

.section-head {
  max-width: 780px;
  margin: 0 auto 2.75rem;
  text-align: center;
}

.section-head.is-left {
  margin: 0 0 2rem;
  text-align: left;
}

.section-head h2 {
  margin-bottom: 0.45em;
}

.kicker {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  margin: 0 0 1.1rem;
  padding: 0.38rem 0.9rem 0.38rem 0.75rem;
  border-radius: 999px;
  border: 1px solid rgba(96, 165, 250, 0.32);
  background: rgba(96, 165, 250, 0.09);
  color: #cfe3ff;
  font-size: 0.8rem;
  font-weight: 650;
  letter-spacing: 0.03em;
}

.kicker-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--amber);
  box-shadow: 0 0 10px rgba(251, 191, 36, 0.8);
}

.kicker-plain {
  display: block;
  margin-bottom: 0.5rem;
  padding: 0;
  border: 0;
  background: none;
  color: var(--tone);
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.section-intro {
  margin: 0;
  color: var(--text-2);
  font-size: 1.07rem;
}

/* Cards ------------------------------------------------------------------- */

.card-grid {
  display: grid;
  gap: 1.15rem;
}

.card,
.panel,
.score-card {
  position: relative;
  min-width: 0;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background: linear-gradient(180deg, var(--card-a), var(--card-b));
  box-shadow: var(--shadow-sm);
}

.card {
  padding: 1.6rem;
  overflow: hidden;
  transition: transform 0.3s var(--ease), border-color 0.3s ease, box-shadow 0.3s ease;
}

/* Thin accent line along the top edge, revealed on hover. */
.card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 14%;
  right: 14%;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(var(--tone-rgb), 0.9), transparent);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.card:hover {
  transform: translateY(-5px);
  border-color: rgba(var(--tone-rgb), 0.45);
  box-shadow: 0 22px 50px rgba(2, 6, 23, 0.5), 0 0 40px rgba(var(--tone-rgb), 0.07);
}

.card:hover::before {
  opacity: 1;
}

.card h3 {
  margin-bottom: 0.5rem;
}

.card p {
  margin: 0;
  color: var(--text-2);
}

.card-num {
  position: absolute;
  top: 0.9rem;
  right: 1.2rem;
  color: rgba(148, 163, 184, 0.16);
  font-family: var(--font-display);
  font-size: 2.6rem;
  font-weight: 800;
  line-height: 1;
}

.card-icon {
  display: inline-grid;
  place-items: center;
  width: 48px;
  height: 48px;
  margin-bottom: 1.1rem;
  border-radius: 14px;
  border: 1px solid rgba(var(--tone-rgb), 0.38);
  background: linear-gradient(135deg, rgba(var(--tone-rgb), 0.26), rgba(var(--tone-rgb), 0.06));
  color: var(--tone);
  box-shadow: 0 8px 22px rgba(var(--tone-rgb), 0.14);
}

.card-icon .icon {
  width: 23px;
  height: 23px;
}

.card-wide {
  max-width: 820px;
  margin-inline: auto;
  text-align: center;
}

.card-wide p {
  font-size: 1.02rem;
}

.card-detail {
  padding: 1.8rem;
}

.card-detail p + p {
  margin-top: 0.8rem;
}

.check-list {
  list-style: none;
  display: grid;
  gap: 0.7rem;
  margin: 0.8rem 0 0;
}

.check-list li {
  display: flex;
  align-items: flex-start;
  gap: 0.7rem;
  color: var(--text-2);
}

.check-list .icon {
  width: 22px;
  height: 22px;
  margin-top: 0.12rem;
  padding: 4px;
  border-radius: 50%;
  background: rgba(var(--tone-rgb), 0.16);
  color: var(--tone);
  stroke-width: 2.6;
}

.badge {
  display: inline-flex;
  padding: 0.3rem 0.75rem;
  border-radius: 999px;
  border: 1px solid rgba(var(--tone-rgb), 0.34);
  background: rgba(var(--tone-rgb), 0.1);
  color: #e2ecff;
  font-size: 0.76rem;
  font-weight: 650;
  line-height: 1.35;
}

/* Home: app showcase ------------------------------------------------------- */

.app-meta {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  margin-bottom: 0.95rem;
}

.app-meta .card-icon {
  width: 38px;
  height: 38px;
  flex: none;
  margin: 0;
  border-radius: 11px;
}

.app-meta .card-icon .icon {
  width: 19px;
  height: 19px;
}

.feature-app {
  position: relative;
  display: grid;
  gap: 1.75rem;
  overflow: hidden;
  border-radius: 28px;
  border: 1px solid rgba(var(--tone-rgb), 0.3);
  background:
    radial-gradient(90% 130% at 100% 0%, rgba(var(--tone-rgb), 0.18), transparent 62%),
    radial-gradient(70% 90% at 0% 100%, rgba(167, 139, 250, 0.12), transparent 60%),
    linear-gradient(180deg, var(--card-a), var(--card-b));
  box-shadow: var(--shadow-sm);
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.feature-app:hover {
  border-color: rgba(var(--tone-rgb), 0.55);
  box-shadow: var(--shadow);
}

.feature-copy {
  padding: 1.7rem 1.5rem 0;
}

.feature-copy h3 {
  font-size: clamp(1.7rem, 1.3rem + 1.6vw, 2.3rem);
  font-weight: 800;
  letter-spacing: -0.025em;
}

.feature-copy h3 a,
.app-body h3 a {
  color: #fff;
  text-decoration: none;
}

.feature-copy h3 a:hover,
.app-body h3 a:hover {
  color: var(--tone);
}

.feature-copy p {
  max-width: 52ch;
  margin: 0;
  color: var(--text-2);
  font-size: 1.04rem;
}

.app-card-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  margin-top: 1.5rem;
}

.feature-media {
  display: block;
  padding: 0 1.5rem;
}

.feature-media .window {
  border-bottom: 0;
  border-radius: 14px 14px 0 0;
  transition: transform 0.5s var(--ease);
}

.feature-app:hover .feature-media .window {
  transform: translateY(-6px);
}

.app-grid {
  display: grid;
  gap: 1.25rem;
  margin-top: 1.25rem;
}

.app-card {
  display: flex;
  flex-direction: column;
  min-width: 0;
  overflow: hidden;
  border-radius: 24px;
  border: 1px solid var(--line);
  background: linear-gradient(180deg, var(--card-a), var(--card-b));
  box-shadow: var(--shadow-sm);
  transition: transform 0.35s var(--ease), border-color 0.3s ease, box-shadow 0.3s ease;
}

.app-card:hover {
  transform: translateY(-6px);
  border-color: rgba(var(--tone-rgb), 0.5);
  box-shadow: 0 26px 60px rgba(2, 6, 23, 0.55), 0 0 44px rgba(var(--tone-rgb), 0.1);
}

.app-media {
  position: relative;
  display: flex;
  justify-content: center;
  height: 212px;
  overflow: hidden;
  border-bottom: 1px solid var(--line);
  background:
    radial-gradient(120% 95% at 50% 0%, rgba(var(--tone-rgb), 0.32), rgba(var(--tone-rgb), 0.05) 62%, transparent),
    #0b1323;
}

.app-media.is-poster picture {
  align-self: flex-start;
  width: min(54%, 200px);
  margin-top: 28px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-bottom: 0;
  border-radius: 20px 20px 0 0;
  box-shadow: 0 18px 40px rgba(2, 6, 23, 0.6);
  transition: transform 0.5s var(--ease);
}

.app-media.is-poster img {
  width: 100%;
}

.app-card:hover .is-poster picture {
  transform: translateY(-12px) scale(1.03);
}

.app-media.is-watch,
.app-media.is-icon {
  align-items: center;
}

.app-media.is-watch picture {
  width: 158px;
  height: 158px;
  overflow: hidden;
  border-radius: 50%;
  border: 7px solid #04060c;
  outline: 1px solid rgba(255, 255, 255, 0.2);
  box-shadow: 0 18px 40px rgba(2, 6, 23, 0.6), 0 0 50px rgba(var(--tone-rgb), 0.3);
  transition: transform 0.5s var(--ease);
}

.app-media.is-watch img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.app-card:hover .is-watch picture {
  transform: scale(1.06) rotate(-3deg);
}

.app-media-icon {
  display: grid;
  place-items: center;
  width: 112px;
  height: 112px;
  border-radius: 30px;
  border: 1px solid rgba(var(--tone-rgb), 0.55);
  background: linear-gradient(135deg, rgba(var(--tone-rgb), 0.38), rgba(var(--tone-rgb), 0.08));
  color: var(--tone);
  box-shadow: 0 20px 50px rgba(var(--tone-rgb), 0.24);
  transform: rotate(-8deg);
  transition: transform 0.5s var(--ease);
}

.app-media-icon .icon {
  width: 62px;
  height: 62px;
  stroke-width: 1.4;
}

.app-card:hover .app-media-icon {
  transform: rotate(6deg) scale(1.06);
}

.app-body {
  display: flex;
  flex: 1;
  flex-direction: column;
  padding: 1.35rem 1.4rem 1.4rem;
}

.app-body h3 {
  margin-bottom: 0.45rem;
  font-size: 1.32rem;
}

.app-body p {
  margin: 0 0 1.25rem;
  color: var(--text-2);
}

.app-foot {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.8rem;
  margin-top: auto;
  padding-top: 1.05rem;
  border-top: 1px solid var(--line);
}

.app-stores {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
}

/* Home: guide panels ------------------------------------------------------- */

.split {
  display: grid;
  gap: 1.25rem;
}

.panel {
  padding: clamp(1.5rem, 3.2vw, 2.4rem);
  border-radius: 26px;
}

.panel h2 {
  font-size: clamp(1.4rem, 1.1rem + 1.1vw, 1.8rem);
}

.panel-intro {
  color: var(--text-2);
}

.panel-accent {
  border-color: rgba(96, 165, 250, 0.3);
  background:
    radial-gradient(90% 70% at 100% 0%, rgba(96, 165, 250, 0.14), transparent 65%),
    linear-gradient(180deg, var(--card-a), var(--card-b));
}

.link-list {
  list-style: none;
  margin-top: 1.25rem;
}

.link-list li {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  padding: 0.85rem 0;
  border-top: 1px solid var(--line);
  color: var(--text-2);
}

.link-list .icon {
  margin-top: 0.22rem;
  color: var(--blue);
}

.link-list a {
  color: #dbeafe;
  font-weight: 650;
}

.link-list a:hover {
  color: #fff;
}

.panel .check-list {
  margin-top: 1.25rem;
}

/* Gallery and lightbox ----------------------------------------------------- */

.gallery {
  display: flex;
  gap: 1.25rem;
}

.shot-item {
  display: grid;
  gap: 0.75rem;
  justify-items: center;
  align-content: start;
  min-width: 0;
  margin: 0;
}

.shot {
  display: block;
  width: 100%;
  padding: 0;
  border: 0;
  border-radius: 24px;
  background: none;
  cursor: zoom-in;
  transition: transform 0.35s var(--ease);
}

.shot:hover {
  transform: translateY(-6px);
}

.shot > picture img {
  width: 100%;
  border-radius: 24px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  background: var(--bg-2);
  box-shadow: var(--shadow);
}

.shot-item figcaption {
  max-width: 38ch;
  color: var(--text-2);
  font-size: 0.93rem;
  text-align: center;
}

/* Phone screenshots: a swipeable rail on small screens, a centred row on large ones. */
.gallery-phones {
  justify-content: flex-start;
  justify-content: safe center;
  margin-inline: calc(-1 * var(--gutter));
  padding: 0.75rem var(--gutter) 1.5rem;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scrollbar-width: thin;
  scrollbar-color: var(--line-strong) transparent;
}

.gallery-phones .shot-item {
  flex: 0 0 min(64vw, 250px);
  scroll-snap-align: center;
}

.gallery-round {
  flex-wrap: wrap;
  justify-content: center;
  gap: 2rem;
}

.gallery-round .shot-item {
  flex: 0 0 min(60vw, 240px);
}

.gallery-round .shot,
.gallery-round .shot > picture img {
  border-radius: 50%;
}

.gallery-round .shot > picture img {
  border: 8px solid #04060c;
  outline: 1px solid rgba(255, 255, 255, 0.2);
}

.gallery-wide {
  display: grid;
  gap: 1.75rem 1.4rem;
}

.gallery-wide .shot {
  border-radius: 14px;
}

.lightbox {
  width: 100vw;
  max-width: 100vw;
  height: 100vh;
  height: 100dvh;
  max-height: 100dvh;
  margin: 0;
  padding: 1.5rem;
  border: 0;
  background: rgba(4, 7, 14, 0.94);
  color: var(--text);
  display: none;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.lightbox[open] {
  display: flex;
}

.lightbox::backdrop {
  background: rgba(4, 7, 14, 0.94);
}

.lightbox picture {
  display: flex;
  justify-content: center;
  max-width: 100%;
  max-height: 88dvh;
}

.lightbox img {
  width: auto;
  height: auto;
  max-width: 100%;
  max-height: 88dvh;
  object-fit: contain;
  border-radius: 14px;
}

.lightbox-close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  display: inline-grid;
  place-items: center;
  width: 46px;
  height: 46px;
  border-radius: 999px;
  border: 1px solid var(--line-strong);
  background: rgba(15, 23, 42, 0.9);
  color: #fff;
  cursor: pointer;
}

.lightbox-close .icon {
  width: 22px;
  height: 22px;
}

.lightbox-hint {
  margin: 1rem 0 0;
  color: var(--text-3);
  font-size: 0.85rem;
  text-align: center;
}

/* Score loader (Dice Score) ------------------------------------------------- */

.dice-deco {
  display: flex;
  gap: 0.9rem;
  margin-bottom: 1.6rem;
}

.dice-deco span {
  display: grid;
  place-items: center;
  width: 58px;
  height: 58px;
  border-radius: 16px;
  border: 1px solid rgba(var(--tone-rgb), 0.5);
  background: linear-gradient(135deg, rgba(var(--tone-rgb), 0.32), rgba(var(--tone-rgb), 0.07));
  color: var(--tone);
  box-shadow: 0 14px 34px rgba(var(--tone-rgb), 0.2);
  transform: rotate(-10deg);
  animation: bob 7s ease-in-out infinite;
}

.dice-deco span:nth-child(2) {
  width: 72px;
  height: 72px;
  border-radius: 20px;
  transform: rotate(6deg) translateY(-8px);
  animation: bob-alt 8s ease-in-out infinite;
}

.dice-deco span:nth-child(3) {
  transform: rotate(14deg);
  animation-duration: 9s;
}

.dice-deco .icon {
  width: 60%;
  height: 60%;
}

.score-card {
  max-width: 780px;
  margin-inline: auto;
  padding: clamp(1.4rem, 3.5vw, 2.4rem);
  border-color: rgba(var(--tone-rgb), 0.3);
  box-shadow: var(--shadow), 0 0 70px rgba(var(--tone-rgb), 0.1);
  text-align: center;
}

.score-card h2 {
  font-size: clamp(1.4rem, 1.05rem + 1.4vw, 1.9rem);
}

.code-form {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  max-width: 540px;
  margin: 1.4rem auto 0;
}

.code-form input {
  width: 100%;
  min-height: 3.1rem;
  padding: 0.75rem 1.1rem;
  border-radius: 14px;
  border: 1px solid var(--line-strong);
  background: rgba(4, 7, 14, 0.6);
  color: var(--text);
  font: inherit;
  font-size: 1rem;
}

.code-form input::placeholder {
  color: var(--text-3);
}

.code-form input:focus-visible {
  outline-offset: 2px;
  border-color: var(--blue);
}

.score-list {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 6rem;
  margin-top: 1.5rem;
  text-align: left;
}

.score-empty,
.score-error {
  width: 100%;
  margin: 0;
  padding: 0.95rem 1rem;
  border-radius: 14px;
  text-align: center;
}

.score-empty {
  border: 1px dashed var(--line-strong);
  background: rgba(4, 7, 14, 0.4);
  color: var(--text-2);
}

.score-error {
  border: 1px solid rgba(248, 113, 113, 0.5);
  background: rgba(127, 29, 29, 0.35);
  color: #fecaca;
}

.score-loading {
  display: grid;
  justify-items: center;
  gap: 0.75rem;
  color: var(--text-2);
}

.spinner {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 3px solid var(--line-strong);
  border-top-color: var(--tone);
  animation: spin 0.9s linear infinite;
}

.score-result {
  width: 100%;
  text-align: left;
}

.score-head {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  margin-bottom: 0.9rem;
  padding-bottom: 0.9rem;
  border-bottom: 1px solid var(--line);
}

.score-head h3 {
  margin: 0;
}

.score-code {
  padding: 0.35rem 0.8rem;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: rgba(4, 7, 14, 0.5);
  color: var(--text-2);
  font-size: 0.88rem;
}

.table-wrap {
  width: 100%;
  overflow-x: auto;
  border-radius: 14px;
  border: 1px solid var(--line);
}

.score-table {
  width: 100%;
  min-width: 320px;
  border-collapse: collapse;
}

.score-table caption {
  caption-side: bottom;
  padding: 0.6rem;
  color: var(--text-3);
  font-size: 0.82rem;
  text-align: left;
}

.score-table th,
.score-table td {
  padding: 0.85rem 1rem;
  border-bottom: 1px solid var(--line);
  text-align: left;
}

.score-table th {
  background: rgba(4, 7, 14, 0.5);
  color: var(--text-2);
  font-size: 0.85rem;
  font-weight: 650;
}

.score-table tbody tr:hover {
  background: rgba(var(--tone-rgb), 0.07);
}

.score-table .rank-1 {
  color: #4ade80;
  font-weight: 750;
}

.score-table .rank-3 {
  color: #facc15;
}

.score-updated {
  margin: 0.75rem 0 0;
  color: var(--text-3);
  font-size: 0.85rem;
  text-align: right;
}

/* FAQ ----------------------------------------------------------------------- */

.faq-layout {
  display: grid;
  gap: 0.5rem;
}

.faq {
  display: grid;
  gap: 0.75rem;
  align-content: start;
}

.faq-item {
  border-radius: 18px;
  border: 1px solid var(--line);
  background: linear-gradient(180deg, var(--card-a), var(--card-b));
  overflow: hidden;
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.faq-item:hover {
  border-color: var(--line-strong);
}

.faq-item[open] {
  border-color: rgba(var(--tone-rgb), 0.45);
  box-shadow: var(--shadow-sm);
}

.faq-item summary {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.1rem 1.25rem;
  color: #fff;
  font-weight: 650;
  cursor: pointer;
  list-style: none;
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

/* Plus sign that turns into a minus when the item is open. */
.faq-item summary::after {
  content: "";
  width: 30px;
  height: 30px;
  flex: none;
  border-radius: 50%;
  border: 1px solid rgba(var(--tone-rgb), 0.4);
  background:
    linear-gradient(var(--tone), var(--tone)) center / 12px 2px no-repeat,
    linear-gradient(var(--tone), var(--tone)) center / 2px 12px no-repeat,
    rgba(var(--tone-rgb), 0.1);
  transition: transform 0.3s var(--ease), background-size 0.3s ease;
}

.faq-item[open] summary::after {
  transform: rotate(180deg);
  background-size: 12px 2px, 2px 0, auto;
}

.faq-answer {
  padding: 0 1.25rem 1.25rem;
  color: var(--text-2);
}

.faq-answer a {
  color: #cfe3ff;
}

/* Contact ----------------------------------------------------------------- */

.contact-panel {
  position: relative;
  isolation: isolate;
  display: grid;
  justify-items: center;
  overflow: hidden;
  padding: clamp(2.25rem, 6vw, 4.25rem) clamp(1.2rem, 4vw, 3rem);
  border-radius: 32px;
  border: 1px solid rgba(96, 165, 250, 0.28);
  background: linear-gradient(180deg, rgba(30, 41, 59, 0.55), rgba(15, 23, 42, 0.7));
  box-shadow: var(--shadow);
  text-align: center;
}

.contact-panel .section-head {
  margin-bottom: 2rem;
}

.contact-or {
  margin: 2rem 0 0.9rem;
  color: var(--text-2);
}

.social-list {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
}

.social-lg {
  justify-content: center;
  gap: 0.85rem;
}

.social-btn {
  --brand: var(--blue);
  --brand-ink: #fff;
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid var(--line-strong);
  background: var(--glass);
  color: var(--text);
  transition: transform 0.25s var(--ease), background 0.25s ease, color 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
}

.social-btn .icon {
  width: 19px;
  height: 19px;
}

.social-lg .social-btn {
  width: 58px;
  height: 58px;
}

.social-lg .social-btn .icon {
  width: 24px;
  height: 24px;
}

.social-btn:hover,
.social-btn:focus-visible {
  transform: translateY(-4px);
  border-color: transparent;
  background: var(--brand);
  color: var(--brand-ink);
  box-shadow: 0 12px 28px rgba(2, 6, 23, 0.5);
}

.social-googleplay { --brand: linear-gradient(135deg, #00d2ff, #34a853); --brand-ink: #04121f; }
.social-facebook { --brand: #1877f2; }
.social-instagram { --brand: linear-gradient(45deg, #f58529, #dd2a7b 55%, #8134af); }
.social-tiktok { --brand: linear-gradient(135deg, #25f4ee, #fe2c55); --brand-ink: #05070d; }
.social-x { --brand: #f8fafc; --brand-ink: #05070d; }
.social-discord { --brand: #5865f2; }

.email-chip {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  max-width: 100%;
  padding: 0.6rem 0.95rem;
  border-radius: 14px;
  border: 1px solid var(--line-strong);
  background: var(--glass);
  color: #fff;
  font-size: 0.92rem;
  font-weight: 600;
  text-decoration: none;
}

.email-chip:hover {
  border-color: var(--blue);
  color: #fff;
}

.email-chip .icon {
  color: var(--blue);
}

/* CTA band ---------------------------------------------------------------- */

.cta-band {
  padding: 3rem 0 2rem;
}

.cta-inner {
  position: relative;
  isolation: isolate;
  display: grid;
  justify-items: center;
  gap: 1.1rem;
  overflow: hidden;
  padding: clamp(2rem, 5vw, 3.5rem) clamp(1.2rem, 4vw, 3rem);
  border-radius: 32px;
  border: 1px solid rgba(var(--tone-rgb), 0.32);
  background: linear-gradient(180deg, rgba(30, 41, 59, 0.55), rgba(15, 23, 42, 0.7));
  box-shadow: var(--shadow);
  text-align: center;
}

.cta-icon {
  display: grid;
  place-items: center;
  width: 62px;
  height: 62px;
  border-radius: 20px;
  border: 1px solid rgba(var(--tone-rgb), 0.5);
  background: linear-gradient(135deg, rgba(var(--tone-rgb), 0.34), rgba(var(--tone-rgb), 0.08));
  color: var(--tone);
  box-shadow: 0 16px 40px rgba(var(--tone-rgb), 0.22);
}

.cta-icon .icon {
  width: 30px;
  height: 30px;
}

.cta-title {
  margin: 0;
}

.cta-text {
  max-width: 56ch;
  margin: 0;
  color: var(--text-2);
  font-size: 1.08rem;
}

.cta-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
}

.legal-actions .btn {
  min-height: 2.6rem;
  padding: 0.5rem 1.05rem;
  font-size: 0.92rem;
}

/* Legal -------------------------------------------------------------------- */

.legal-wrap {
  max-width: 860px;
  padding: 1.5rem 0 2rem;
}

.legal {
  padding: clamp(1.4rem, 4vw, 3rem);
  border-radius: 28px;
  border: 1px solid var(--line);
  background: linear-gradient(180deg, var(--card-a), var(--card-b));
  box-shadow: var(--shadow-sm);
}

.legal-app {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  margin-bottom: 1.4rem;
  color: var(--text-2);
  font-weight: 650;
}

.legal-app .card-icon {
  width: 40px;
  height: 40px;
  margin: 0;
  border-radius: 12px;
}

.legal-app .card-icon .icon {
  width: 20px;
  height: 20px;
}

.legal h1 {
  font-size: clamp(1.9rem, 1.3rem + 2.4vw, 2.8rem);
}

.legal h2 {
  margin-top: 2.2rem;
  padding-top: 1.6rem;
  border-top: 1px solid var(--line);
  font-size: clamp(1.25rem, 1.05rem + 0.8vw, 1.55rem);
}

.legal h3 {
  margin-top: 1.5rem;
  font-size: 1.1rem;
}

.legal p,
.legal li {
  color: var(--text-2);
}

.legal p strong,
.legal li strong {
  color: #fff;
}

.legal ul {
  display: grid;
  gap: 0.45rem;
  margin: 0 0 1.2rem;
  padding-left: 1.3rem;
}

.legal ul li::marker {
  color: var(--tone);
}

.legal a {
  color: #cfe3ff;
}

.legal-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1.5rem;
}

/* Sitemap and 404 ----------------------------------------------------------- */

.page-hero h1 {
  padding-bottom: 0.08em;
}

.sitemap-title {
  margin: 2rem 0 1rem;
  font-size: 1.35rem;
}

.sitemap-title:first-child {
  margin-top: 0;
}

.sitemap-pills {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
}

.sitemap-pills a {
  display: inline-flex;
  padding: 0.55rem 1.05rem;
  border-radius: 999px;
  border: 1px solid var(--line-strong);
  background: var(--glass);
  color: var(--text);
  font-weight: 600;
  text-decoration: none;
}

.sitemap-pills a:hover {
  border-color: var(--blue);
  color: #fff;
}

.sitemap-card h3 {
  margin-bottom: 0.2rem;
  font-size: 1.2rem;
}

.sitemap-card h3 a {
  color: #fff;
  text-decoration: none;
}

.sitemap-card h3 a:hover {
  color: var(--tone);
}

.sitemap-note {
  font-size: 0.86rem;
}

.sitemap-list {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 0.3rem 1.1rem;
  margin-top: 1rem;
  padding-top: 0.9rem;
  border-top: 1px solid var(--line);
  font-size: 0.92rem;
}

.notfound .page-hero {
  padding: 4rem 0 5rem;
}

.big-404 {
  margin: 0 0 0.5rem;
  background: linear-gradient(120deg, #60a5fa, #a78bfa 55%, #fbbf24);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
  font-family: var(--font-display);
  font-size: clamp(5.5rem, 3rem + 16vw, 12rem);
  font-weight: 800;
  letter-spacing: -0.05em;
  line-height: 1;
}

/* Footer -------------------------------------------------------------------- */

.site-footer {
  padding: 3rem 0 2rem;
}

.footer-card {
  display: grid;
  gap: 2rem;
  padding: clamp(1.5rem, 4vw, 2.75rem);
  border-radius: 28px;
  border: 1px solid var(--line);
  background: linear-gradient(180deg, rgba(30, 41, 59, 0.5), rgba(15, 23, 42, 0.65));
  box-shadow: var(--shadow-sm);
}

.footer-brand p {
  max-width: 38ch;
  margin: 1.1rem 0 1.5rem;
  color: var(--text-2);
}

.footer-col p {
  margin: 0 0 0.75rem;
  color: var(--text-2);
  font-size: 0.95rem;
}

.footer-col ul {
  list-style: none;
  display: grid;
  gap: 0.55rem;
}

.footer-col ul a {
  color: var(--text-2);
  font-size: 0.95rem;
  text-decoration: none;
  transition: color 0.2s ease;
}

.footer-col ul a:hover {
  color: #fff;
}

.footer-title {
  margin: 0 0 0.9rem;
  color: var(--text-3);
  font-family: var(--font-body);
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 0.4rem 1.5rem;
  padding: 1.4rem 0.5rem 0;
}

.footer-bottom p {
  margin: 0;
  color: var(--text-3);
  font-size: 0.87rem;
}

/* Scroll reveal (classes are added by site.js, so content stays visible without JavaScript) --- */

.reveal-pending {
  opacity: 0;
  transform: translateY(24px);
}

.reveal-in {
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease) !important;
  transition-delay: var(--reveal-delay, 0ms) !important;
}

/* Layout breakpoints ------------------------------------------------------- */

@media (min-width: 560px) {
  .card-grid,
  .app-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .stat-grid,
  .hero-stats {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .footer-card {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .footer-brand {
    grid-column: 1 / -1;
  }
}

@media (min-width: 640px) {
  .float-badge {
    display: flex;
  }

  .carousel-caption {
    display: none;
  }

  .dots {
    margin-top: 1.1rem;
  }
}

@media (min-width: 900px) {
  .section {
    padding: 5.5rem 0;
  }

  .section-tight {
    padding: 2rem 0;
  }

  .card-grid,
  .app-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .card-grid-2 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  /* An odd last card spans the full row instead of leaving a gap. */
  .card-grid-2 > :last-child:nth-child(odd) {
    grid-column: 1 / -1;
  }

  .split {
    grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
    align-items: start;
  }

  .split .panel-accent {
    position: sticky;
    top: 7rem;
  }

  .faq-layout {
    grid-template-columns: minmax(0, 0.72fr) minmax(0, 1.28fr);
    gap: 3.5rem;
    align-items: start;
  }

  .faq-layout .section-head {
    position: sticky;
    top: 7rem;
  }

  .feature-app {
    grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
    align-items: end;
    gap: 2.5rem;
  }

  .feature-copy {
    align-self: center;
    padding: 2.6rem 0 2.6rem 2.6rem;
  }

  .feature-media {
    margin-right: -3.5rem;
    padding: 2.6rem 0 0;
  }

  .gallery-phones {
    flex-wrap: wrap;
    justify-content: center;
    gap: 1.75rem;
    margin-inline: 0;
    padding: 0;
    overflow: visible;
  }

  .gallery-phones .shot-item {
    flex-basis: 240px;
  }

  .gallery-wide {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .footer-card {
    grid-template-columns: 1.5fr 1fr 0.8fr 1.3fr;
  }

  .footer-brand {
    grid-column: auto;
  }
}

@media (min-width: 960px) {
  .hero {
    padding: 3.5rem 0 4rem;
  }

  .hero-home {
    padding-top: 4.5rem;
  }

  .hero-compact {
    padding-bottom: 2rem;
  }

  .hero-grid {
    grid-template-columns: minmax(0, 1.12fr) minmax(0, 0.88fr);
    gap: 2.5rem;
  }

  .hero-grid:has(.hero-window) {
    grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
    gap: 3rem;
  }

  .hero-stats {
    margin-top: 4rem;
  }
}

@media (max-width: 380px) {
  .btn {
    width: 100%;
  }

  .actions .store-badge,
  .cta-actions .store-badge {
    width: 100%;
    justify-content: center;
  }
}

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

  *,
  *::before,
  *::after {
    transition-duration: 0.01ms !important;
    transition-delay: 0ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }

  .card:hover,
  .app-card:hover,
  .btn:hover,
  .shot:hover,
  .store-badge:hover,
  .social-btn:hover,
  .hero-stats div:hover,
  .stat:hover {
    transform: none;
  }
}
