:root {
  color-scheme: light;
  --ink: #14213d;
  --muted: #5f6f89;
  --soft: #f4f7fb;
  --line: #dde6f0;
  --panel: rgba(255, 255, 255, 0.86);
  --accent: #0a84ff;
  --accent-dark: #055fb8;
  --gold: #f5b942;
  --coral: #ef6f6c;
  --green: #2aa876;
  --shadow: 0 20px 60px rgba(20, 33, 61, 0.14);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--ink);
  background: #fbfcff;
  line-height: 1.6;
}

a {
  color: var(--accent-dark);
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

.skip-link {
  position: absolute;
  left: 16px;
  top: -48px;
  z-index: 20;
  padding: 10px 14px;
  border-radius: 8px;
  background: var(--ink);
  color: white;
  transition: top 0.2s ease;
}

.skip-link:focus {
  top: 16px;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  border-bottom: 1px solid rgba(221, 230, 240, 0.7);
  background: rgba(251, 252, 255, 0.84);
  backdrop-filter: blur(18px);
}

.nav {
  width: min(1120px, calc(100% - 32px));
  min-height: 72px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--ink);
  font-weight: 800;
  letter-spacing: 0;
}

.brand-mark {
  width: 38px;
  height: 38px;
  border-radius: 9px;
  display: block;
  object-fit: cover;
  box-shadow: 0 10px 26px rgba(10, 132, 255, 0.25);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 18px;
  font-size: 0.96rem;
  font-weight: 650;
}

.nav-links a {
  color: var(--ink);
}

.nav-cta,
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 18px;
  border-radius: 999px;
  border: 1px solid transparent;
  background: var(--accent);
  color: white;
  font-weight: 750;
  box-shadow: 0 10px 24px rgba(10, 132, 255, 0.24);
}

.nav-cta:hover,
.button:hover {
  background: var(--accent-dark);
  color: white;
  text-decoration: none;
}

.button.secondary {
  background: white;
  color: var(--ink);
  border-color: var(--line);
  box-shadow: none;
}

.hero {
  position: relative;
  overflow: hidden;
  min-height: calc(100vh - 72px);
  display: flex;
  align-items: center;
  border-bottom: 1px solid var(--line);
  background:
    radial-gradient(circle at 82% 18%, rgba(245, 185, 66, 0.28) 0 12%, transparent 13%),
    radial-gradient(circle at 72% 76%, rgba(42, 168, 118, 0.18) 0 11%, transparent 12%),
    linear-gradient(120deg, rgba(255, 255, 255, 0.94) 0%, rgba(244, 247, 251, 0.88) 44%, rgba(232, 243, 255, 0.9) 100%);
}

.hero-inner {
  width: min(1120px, calc(100% - 32px));
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(300px, 0.78fr);
  align-items: center;
  gap: 42px;
  padding: 72px 0 64px;
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--accent-dark);
  font-size: 0.88rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

h1,
h2,
h3 {
  line-height: 1.08;
  letter-spacing: 0;
}

h1 {
  margin: 0;
  max-width: 720px;
  font-size: clamp(3.2rem, 7vw, 6.4rem);
}

h2 {
  margin: 0 0 18px;
  font-size: clamp(2rem, 4vw, 3.25rem);
}

h3 {
  margin: 0 0 8px;
  font-size: 1.18rem;
}

.lead {
  max-width: 670px;
  margin: 20px 0 0;
  color: var(--muted);
  font-size: clamp(1.08rem, 2vw, 1.35rem);
}

.hero-actions,
.section-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

.trust-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 28px;
}

.pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 34px;
  padding: 0 12px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid var(--line);
  color: #40506a;
  font-size: 0.92rem;
  font-weight: 650;
}

.phone {
  width: min(100%, 360px);
  justify-self: center;
  aspect-ratio: 0.52;
  border-radius: 42px;
  padding: 16px;
  background: #101828;
  box-shadow: var(--shadow);
  border: 1px solid rgba(255, 255, 255, 0.6);
}

.screenshot-hero {
  margin: 0;
  overflow: hidden;
  background: #05010a;
}

.screenshot-hero img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.phone-screen {
  height: 100%;
  border-radius: 30px;
  overflow: hidden;
  background: linear-gradient(180deg, #f7fbff 0%, #e9f3ff 100%);
  display: flex;
  flex-direction: column;
}

.status {
  height: 34px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #8090a8;
  font-size: 0.72rem;
  font-weight: 800;
}

.app-preview {
  padding: 18px;
  display: flex;
  flex: 1;
  flex-direction: column;
  gap: 14px;
}

.score-panel {
  border-radius: 20px;
  background: white;
  box-shadow: 0 12px 32px rgba(20, 33, 61, 0.1);
  padding: 18px;
}

.score-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-top: 14px;
}

.score {
  border-radius: 14px;
  padding: 12px;
  background: var(--soft);
}

.score strong {
  display: block;
  font-size: 1.45rem;
}

.card-fan {
  margin-top: auto;
  min-height: 220px;
  position: relative;
}

.playing-card {
  position: absolute;
  width: 122px;
  height: 174px;
  left: 50%;
  bottom: 18px;
  border-radius: 13px;
  background: white;
  border: 1px solid #ccd8e7;
  box-shadow: 0 12px 28px rgba(20, 33, 61, 0.18);
  transform-origin: bottom center;
}

.playing-card::before,
.playing-card::after {
  position: absolute;
  font-weight: 900;
  color: var(--ink);
}

.playing-card::before {
  content: attr(data-rank);
  top: 12px;
  left: 12px;
  font-size: 1.4rem;
}

.playing-card::after {
  content: attr(data-suit);
  inset: 0;
  display: grid;
  place-items: center;
  font-size: 3.4rem;
}

.card-one {
  transform: translateX(-98px) rotate(-17deg);
}

.card-two {
  transform: translateX(-50%) rotate(0deg);
}

.card-three {
  transform: translateX(-22px) rotate(17deg);
}

.screenshots-section {
  background: #ffffff;
}

.screenshots-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(160px, 1fr));
  gap: 16px;
  align-items: start;
}

.screenshot-card {
  margin: 0;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: white;
  box-shadow: 0 18px 42px rgba(20, 33, 61, 0.1);
  overflow: hidden;
}

.screenshot-card img {
  display: block;
  width: 100%;
  aspect-ratio: 9 / 19.5;
  object-fit: cover;
  object-position: top center;
  background: #f2f4fa;
}

.screenshot-card figcaption {
  padding: 12px 14px 14px;
  color: var(--ink);
  font-size: 0.95rem;
  font-weight: 750;
  text-align: center;
}

.section {
  padding: 82px 0;
}

.section.alt {
  background: var(--soft);
}

.container {
  width: min(1120px, calc(100% - 32px));
  margin: 0 auto;
}

.section-intro {
  max-width: 760px;
  margin-bottom: 34px;
}

.section-intro p {
  margin: 0;
  color: var(--muted);
  font-size: 1.08rem;
}

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

.feature,
.info-card,
.contact-card,
.policy-card {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: white;
  padding: 22px;
}

.feature-icon {
  width: 42px;
  height: 42px;
  border-radius: 8px;
  display: grid;
  place-items: center;
  margin-bottom: 16px;
  background: #eaf4ff;
  color: var(--accent-dark);
  font-size: 1.35rem;
}

.feature p,
.info-card p,
.contact-card p,
.policy-card p,
.policy-card li {
  color: var(--muted);
}

.split {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(320px, 1.1fr);
  gap: 24px;
  align-items: start;
}

.info-list {
  display: grid;
  gap: 14px;
}

.check-list {
  padding: 0;
  margin: 0;
  list-style: none;
  display: grid;
  gap: 10px;
}

.check-list li {
  position: relative;
  padding-left: 28px;
}

.check-list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: 0;
  color: var(--green);
  font-weight: 900;
}

.page-hero {
  padding: 70px 0 46px;
  background:
    radial-gradient(circle at 82% 22%, rgba(245, 185, 66, 0.22) 0 12%, transparent 13%),
    radial-gradient(circle at 72% 82%, rgba(10, 132, 255, 0.18) 0 10%, transparent 11%),
    linear-gradient(135deg, rgba(255, 255, 255, 0.94), rgba(232, 243, 255, 0.86));
  border-bottom: 1px solid var(--line);
}

.page-hero h1 {
  font-size: clamp(2.7rem, 6vw, 5rem);
}

.content-grid {
  display: grid;
  grid-template-columns: minmax(220px, 0.35fr) minmax(0, 1fr);
  gap: 28px;
  align-items: start;
}

.toc {
  position: sticky;
  top: 96px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: white;
  padding: 18px;
}

.toc strong {
  display: block;
  margin-bottom: 10px;
}

.toc a {
  display: block;
  padding: 7px 0;
  color: var(--muted);
  font-weight: 650;
}

.policy-stack {
  display: grid;
  gap: 16px;
}

.policy-card h2 {
  font-size: 1.7rem;
}

.placeholder {
  display: inline-block;
  padding: 2px 7px;
  border-radius: 6px;
  background: #fff4d6;
  color: #7a5200;
  font-weight: 800;
}

.legal-note {
  border-left: 4px solid var(--gold);
  background: #fff8e8;
  padding: 16px 18px;
  border-radius: 8px;
  color: #604513;
}

.site-footer {
  border-top: 1px solid var(--line);
  background: #111827;
  color: #d6deeb;
  padding: 34px 0;
}

.footer-inner {
  width: min(1120px, calc(100% - 32px));
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.site-footer a {
  color: white;
}

@media (max-width: 840px) {
  .nav {
    align-items: flex-start;
    flex-direction: column;
    padding: 14px 0;
    gap: 12px;
  }

  .nav-links {
    width: 100%;
    overflow-x: auto;
    padding-bottom: 2px;
  }

  .hero {
    min-height: auto;
  }

  .hero-inner,
  .split,
  .content-grid {
    grid-template-columns: 1fr;
  }

  .hero-inner {
    padding-top: 48px;
  }

  .phone {
    max-width: 330px;
  }

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

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

  .toc {
    position: static;
  }
}

@media (max-width: 520px) {
  .nav-links {
    gap: 12px;
    font-size: 0.9rem;
  }

  .nav-cta {
    display: none;
  }

  .section {
    padding: 58px 0;
  }

  .hero-actions,
  .section-actions {
    flex-direction: column;
  }

  .button {
    width: 100%;
  }

  .screenshots-grid {
    display: flex;
    gap: 14px;
    margin-inline: -16px;
    padding: 0 16px 10px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
  }

  .screenshot-card {
    flex: 0 0 min(78vw, 310px);
    scroll-snap-align: center;
  }
}
