:root {
  color-scheme: dark;
  --bg: #07111f;
  --bg-accent: #0d1b2e;
  --surface: rgba(13, 27, 46, 0.84);
  --surface-strong: #10233d;
  --border: rgba(148, 163, 184, 0.2);
  --text: #f8fafc;
  --muted: #cbd5e1;
  --subtle: #94a3b8;
  --blue: #60a5fa;
  --cyan: #22d3ee;
  --shadow: 0 18px 48px rgba(2, 8, 23, 0.32);
  --radius-lg: 28px;
  --radius-md: 20px;
  --radius-sm: 14px;
  --max-width: 1140px;
}

* {
  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;
  background:
    radial-gradient(circle at top, rgba(34, 211, 238, 0.18), transparent 28%),
    linear-gradient(180deg, #091322 0%, #07111f 46%, #040b15 100%);
  color: var(--text);
  min-height: 100vh;
}

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

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

.shell {
  width: min(calc(100% - 32px), var(--max-width));
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  backdrop-filter: blur(18px);
  background: rgba(7, 17, 31, 0.72);
  border-bottom: 1px solid rgba(148, 163, 184, 0.12);
}

.site-header__inner,
.site-footer__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 76px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.brand img {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  box-shadow: var(--shadow);
}

.brand__eyebrow {
  display: block;
  color: var(--subtle);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 14px;
}

.nav a,
.link-inline {
  color: var(--muted);
  transition: color 0.2s ease;
}

.nav a:hover,
.link-inline:hover {
  color: var(--text);
}

.hero {
  padding: 84px 0 44px;
}

.hero__grid,
.page-hero__grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 28px;
  align-items: center;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 18px;
  padding: 8px 14px;
  border: 1px solid rgba(96, 165, 250, 0.3);
  border-radius: 999px;
  color: #bfdbfe;
  background: rgba(96, 165, 250, 0.08);
  font-size: 0.84rem;
  font-weight: 600;
}

.hero h1,
.page-hero h1,
.section-heading h2,
.card h3,
.review-card h3 {
  letter-spacing: -0.04em;
}

.hero h1,
.page-hero h1 {
  margin: 0;
  font-size: clamp(2.8rem, 7vw, 5.2rem);
  line-height: 0.96;
}

.hero p,
.page-hero p,
.section-heading p,
.card p,
.review-card p,
.stat p,
.mini-card p,
.notice,
.back-link {
  color: var(--muted);
}

.hero p,
.page-hero p {
  max-width: 640px;
  margin: 22px 0 0;
  font-size: 1.08rem;
  line-height: 1.7;
}

.hero__actions,
.card__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 28px;
}

.button,
.button-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  padding: 0 20px;
  border-radius: 999px;
  border: 1px solid transparent;
  font-weight: 700;
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.button {
  background: linear-gradient(135deg, var(--blue), var(--cyan));
  color: #04111f;
  box-shadow: 0 14px 34px rgba(34, 211, 238, 0.22);
}

.button-secondary {
  background: rgba(15, 23, 42, 0.4);
  border-color: rgba(148, 163, 184, 0.24);
  color: var(--text);
}

.button:hover,
.button-secondary:hover {
  transform: translateY(-1px);
}

.hero-card,
.card,
.mini-card,
.review-card,
.stat,
.notice {
  background: var(--surface);
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
}

.hero-card {
  padding: 28px;
  border-radius: var(--radius-lg);
}

.hero-card h1 {
  margin: 0;
  font-size: clamp(2rem, 5vw, 3.4rem);
  line-height: 1.02;
  letter-spacing: -0.04em;
}

.hero-card p {
  margin: 16px 0 0;
  color: var(--muted);
  line-height: 1.7;
}

.hero-card img {
  border-radius: 22px;
}

.hero-card__caption {
  margin-top: 16px;
  font-size: 0.95rem;
  color: var(--muted);
}

.section {
  padding: 34px 0;
}

.section-heading {
  max-width: 720px;
  margin-bottom: 24px;
}

.section-heading h2 {
  margin: 0;
  font-size: clamp(2rem, 5vw, 3.2rem);
}

.section-heading p {
  margin: 12px 0 0;
  line-height: 1.7;
}

.grid {
  display: grid;
  gap: 22px;
}

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

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

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

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

.card,
.mini-card,
.review-card,
.stat {
  border-radius: var(--radius-md);
  overflow: hidden;
}

.card__visual {
  aspect-ratio: 1.25 / 1;
  background: linear-gradient(180deg, rgba(15, 23, 42, 0.2), rgba(15, 23, 42, 0.72));
}

.card__visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.card__content,
.mini-card,
.review-card,
.stat {
  padding: 22px;
}

.tag {
  display: inline-block;
  margin-bottom: 12px;
  color: #bfdbfe;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.card h3,
.mini-card h3,
.review-card h3,
.stat h3 {
  margin: 0;
  font-size: 1.35rem;
}

.card p,
.mini-card p,
.review-card p,
.stat p {
  margin: 12px 0 0;
  line-height: 1.65;
}

.mini-card .button-secondary {
  margin-top: 18px;
}

.stat__value {
  display: block;
  margin-bottom: 10px;
  color: #e0f2fe;
  font-size: 2rem;
  font-weight: 800;
  letter-spacing: -0.04em;
}

.notice {
  margin-top: 28px;
  padding: 18px 20px;
  border-radius: var(--radius-sm);
  line-height: 1.6;
}

.page-hero {
  padding: 64px 0 34px;
}

.legal-page {
  padding: 64px 0 48px;
}

.legal-page .hero-card {
  margin-bottom: 24px;
}

.legal-meta {
  margin-top: 12px;
  color: var(--subtle);
  font-size: 0.95rem;
}

.legal-content {
  padding: 28px;
  border-radius: var(--radius-lg);
}

.legal-content h2,
.legal-content h3 {
  margin: 0;
  letter-spacing: -0.03em;
}

.legal-content h2 {
  font-size: clamp(1.6rem, 4vw, 2.2rem);
}

.legal-content h3 {
  margin-top: 22px;
  font-size: 1.12rem;
}

.legal-content p,
.legal-content li {
  color: var(--muted);
  line-height: 1.72;
}

.legal-content p {
  margin: 14px 0 0;
}

.legal-content ul {
  margin: 14px 0 0;
  padding-left: 20px;
}

.legal-content section + section {
  margin-top: 28px;
  padding-top: 28px;
  border-top: 1px solid rgba(148, 163, 184, 0.12);
}

.page-hero__visual {
  display: grid;
  gap: 18px;
}

.page-hero__visual img {
  border-radius: 26px;
  box-shadow: var(--shadow);
}

.back-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 18px;
  font-weight: 600;
}

.site-footer {
  margin-top: 52px;
  border-top: 1px solid rgba(148, 163, 184, 0.12);
}

.site-footer__inner {
  padding: 18px 0;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 14px;
  color: var(--subtle);
}

@media (max-width: 980px) {
  .hero__grid,
  .page-hero__grid,
  .grid.apps,
  .grid.reviews,
  .grid.stats {
    grid-template-columns: 1fr;
  }

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

@media (max-width: 720px) {
  .site-header__inner,
  .site-footer__inner {
    padding: 14px 0;
    align-items: flex-start;
    flex-direction: column;
  }

  .nav,
  .footer-links {
    justify-content: flex-start;
  }

  .hero {
    padding-top: 44px;
  }

  .hero-card {
    padding: 18px;
  }

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