:root {
  color-scheme: dark;
  --ink: #f8fafc;
  --muted: #b9c4d0;
  --paper: #ffffff;
  --night: #101114;
  --panel: #191b20;
  --line: rgba(255, 255, 255, 0.14);
  --yellow: #ffcf32;
  --pink: #ff4f84;
  --teal: #20d3bd;
  --green: #61e786;
  --blue: #4aa8ff;
  --shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

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

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

a {
  color: inherit;
}

.skip-link {
  position: absolute;
  left: 16px;
  top: -48px;
  z-index: 30;
  background: var(--yellow);
  color: #15120a;
  padding: 10px 12px;
  border-radius: 6px;
  font-weight: 800;
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  border-bottom: 1px solid var(--line);
  background: rgba(16, 17, 20, 0.86);
  backdrop-filter: blur(14px);
}

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

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  font-weight: 900;
  letter-spacing: 0;
}

.brand img {
  width: 44px;
  height: 44px;
  border-radius: 8px;
  box-shadow: 0 10px 24px rgba(255, 207, 50, 0.2);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 18px;
  color: var(--muted);
  font-size: 0.95rem;
}

.nav-links a {
  text-decoration: none;
}

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

.button,
.text-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  border-radius: 8px;
  padding: 0 16px;
  text-decoration: none;
  font-weight: 900;
  white-space: nowrap;
}

.button {
  background: var(--yellow);
  color: #171104;
  box-shadow: 0 12px 26px rgba(255, 207, 50, 0.24);
}

.button.secondary {
  background: transparent;
  color: var(--ink);
  border: 1px solid var(--line);
  box-shadow: none;
}

.text-button {
  color: var(--yellow);
  padding-inline: 0;
}

.hero {
  position: relative;
  min-height: min(760px, calc(100svh - 18px));
  display: grid;
  align-items: end;
  overflow: hidden;
  isolation: isolate;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(9, 10, 12, 0.95) 0%, rgba(9, 10, 12, 0.78) 42%, rgba(9, 10, 12, 0.18) 100%),
    linear-gradient(0deg, rgba(16, 17, 20, 1) 0%, rgba(16, 17, 20, 0.02) 35%),
    url("assets/feature_graphic_1024x500.png") center / cover no-repeat;
  z-index: -2;
}

.hero::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 12px;
  background: linear-gradient(90deg, var(--yellow), var(--pink), var(--teal), var(--green));
  z-index: -1;
}

.hero-inner {
  width: min(1160px, calc(100% - 32px));
  margin: 0 auto;
  padding: 92px 0 84px;
}

.kicker {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 18px;
  color: #15120a;
  background: var(--yellow);
  border-radius: 8px;
  padding: 7px 10px;
  font-size: 0.78rem;
  font-weight: 950;
  text-transform: uppercase;
  letter-spacing: 0;
}

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

h1 {
  max-width: 740px;
  font-size: clamp(3rem, 9vw, 6.8rem);
  font-weight: 1000;
}

h2 {
  font-size: clamp(2rem, 5vw, 4.4rem);
  font-weight: 1000;
}

h3 {
  font-size: 1.2rem;
  font-weight: 950;
}

.hero-copy {
  max-width: 620px;
  margin: 22px 0 0;
  color: #ecf7ff;
  font-size: clamp(1.1rem, 2.2vw, 1.45rem);
}

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

.hero-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 30px;
  color: var(--muted);
}

.pill {
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.08);
  border-radius: 8px;
  padding: 8px 10px;
  font-weight: 800;
}

.section {
  width: min(1160px, calc(100% - 32px));
  margin: 0 auto;
  padding: 82px 0;
}

.section.compact {
  padding: 54px 0;
}

.section-header {
  display: flex;
  justify-content: space-between;
  gap: 28px;
  align-items: end;
  margin-bottom: 28px;
}

.section-header p {
  max-width: 520px;
  color: var(--muted);
  margin: 0;
}

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

.feature-card,
.mini-card,
.legal-card,
.policy-card,
.support-card {
  border: 1px solid var(--line);
  background: var(--panel);
  border-radius: 8px;
  padding: 22px;
  box-shadow: var(--shadow);
}

.feature-card p,
.mini-card p,
.legal-card p,
.policy-card p,
.support-card p,
.page-lead,
.muted {
  color: var(--muted);
}

.feature-mark {
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  border-radius: 8px;
  margin-bottom: 18px;
  color: #111;
  font-weight: 1000;
}

.mark-yellow {
  background: var(--yellow);
}

.mark-pink {
  background: var(--pink);
}

.mark-teal {
  background: var(--teal);
}

.showcase {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
  gap: 28px;
  align-items: center;
}

.phone-stack {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  align-items: center;
}

.phone-stack img {
  border-radius: 8px;
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}

.phone-stack img:nth-child(2) {
  transform: translateY(-20px);
}

.mini-card {
  min-height: 170px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.mini-card:nth-child(1) {
  border-top: 5px solid var(--green);
}

.mini-card:nth-child(2) {
  border-top: 5px solid var(--blue);
}

.mini-card:nth-child(3) {
  border-top: 5px solid var(--yellow);
}

.mini-card:nth-child(4) {
  border-top: 5px solid var(--pink);
}

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

.gallery {
  display: grid;
  grid-template-columns: repeat(5, minmax(180px, 1fr));
  gap: 14px;
  overflow-x: auto;
  padding-bottom: 8px;
}

.gallery img {
  width: 100%;
  min-width: 180px;
  border-radius: 8px;
  border: 1px solid var(--line);
}

.cta-band {
  background: var(--paper);
  color: #151515;
}

.cta-band .section {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 24px;
  align-items: center;
}

.cta-band p {
  color: #4d5560;
  margin-bottom: 0;
}

.cta-band .button.secondary {
  color: #151515;
  border-color: rgba(0, 0, 0, 0.16);
}

.site-footer {
  border-top: 1px solid var(--line);
  color: var(--muted);
}

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

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

.footer-links a {
  text-decoration: none;
}

.page-hero {
  width: min(920px, calc(100% - 32px));
  margin: 0 auto;
  padding: 78px 0 42px;
}

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

.content {
  width: min(920px, calc(100% - 32px));
  margin: 0 auto;
  padding: 0 0 82px;
}

.policy-card,
.support-card {
  margin-bottom: 16px;
}

.policy-card h2,
.support-card h2 {
  font-size: clamp(1.4rem, 3vw, 2rem);
  margin-bottom: 14px;
}

.policy-card ul,
.support-card ul {
  padding-left: 1.2rem;
  color: var(--muted);
}

.notice {
  border-left: 5px solid var(--yellow);
}

.contact-line {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 16px;
  background: rgba(255, 255, 255, 0.05);
}

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

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

  .hero {
    min-height: 760px;
  }

  .hero::before {
    background:
      linear-gradient(0deg, rgba(9, 10, 12, 0.98) 0%, rgba(9, 10, 12, 0.82) 58%, rgba(9, 10, 12, 0.28) 100%),
      url("assets/feature_graphic_1024x500.png") center top / cover no-repeat;
  }

  .section-header,
  .showcase,
  .cta-band .section {
    grid-template-columns: 1fr;
    display: grid;
    align-items: start;
  }

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

@media (max-width: 620px) {
  .nav-links {
    flex-wrap: wrap;
    gap: 14px;
    font-size: 0.88rem;
    overflow-x: visible;
  }

  .brand span {
    max-width: 180px;
    overflow-wrap: anywhere;
  }

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

  .hero-actions,
  .contact-line {
    align-items: stretch;
    flex-direction: column;
  }

  .button,
  .text-button {
    width: 100%;
  }

  .feature-grid,
  .legal-grid,
  .mini-grid,
  .phone-stack {
    grid-template-columns: 1fr;
  }

  .phone-stack img:nth-child(2) {
    transform: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition: none !important;
    animation: none !important;
  }
}
