﻿:root {
  --bg: #f4f7fb;
  --surface: #ffffff;
  --surface-soft: #f8fbff;
  --text: #13253b;
  --muted: #61758f;
  --line: #d7e1ec;
  --accent: #133f70;
  --accent-soft: #eaf1f9;
  --success-soft: #e8f7f1;
  --success-text: #188c64;
}

:root[data-theme="dark"] {
  --bg: #0f1722;
  --surface: #141f2d;
  --surface-soft: #182638;
  --text: #e5edf7;
  --muted: #9db0c7;
  --line: #26384d;
  --accent: #6fa6e6;
  --accent-soft: #1d3147;
  --success-soft: #183329;
  --success-text: #72d5ae;
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  min-height: 100%;
  font-family: "Outfit", sans-serif;
  color: var(--text);
  background: var(--bg);
}

body {
  padding: 1rem;
}

.topbar {
  max-width: 1080px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.8rem;
  flex-wrap: wrap;
}

.logo {
  text-decoration: none;
  color: var(--text);
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  font-weight: 700;
  letter-spacing: 0.01em;
}

.logo__mark {
  width: 0.72rem;
  height: 0.72rem;
  border-radius: 50%;
  background: var(--accent);
}

.topnav {
  display: flex;
  align-items: center;
  gap: 0.48rem;
  flex-wrap: wrap;
}

.nav-chip {
  text-decoration: none;
  color: var(--muted);
  border: 1px solid var(--line);
  background: var(--surface);
  border-radius: 999px;
  padding: 0.42rem 0.74rem;
  font-size: 0.86rem;
  font-family: "Outfit", sans-serif;
}

.nav-chip--button {
  cursor: pointer;
}

.account-chip--avatar {
  width: 2.06rem;
  height: 2.06rem;
  padding: 0.12rem;
  display: inline-grid;
  place-items: center;
}

.account-chip__avatar,
.account-chip__fallback {
  width: 100%;
  height: 100%;
  border-radius: 999px;
}

.account-chip__avatar {
  display: block;
  object-fit: cover;
  border: 1px solid var(--line);
}

.account-chip__fallback {
  display: grid;
  place-items: center;
  background: var(--accent-soft);
  color: var(--accent);
  font-size: 0.72rem;
  font-weight: 700;
}

.shell {
  max-width: 1080px;
  margin: 1rem auto 0;
  display: grid;
  gap: 0.9rem;
}

.hero,
.tool-card,
.stats-strip article {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 0.95rem;
}

.hero {
  padding: 1.1rem;
}

.hero__eyebrow {
  margin: 0;
  color: var(--muted);
  font-size: 0.74rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.hero h1 {
  margin: 0.45rem 0 0;
  font-family: "Sora", sans-serif;
  font-size: clamp(1.35rem, 3.8vw, 2.2rem);
  line-height: 1.15;
}

.hero__lead {
  margin: 0.8rem 0 0;
  color: var(--muted);
  max-width: 62ch;
}

.hero__note {
  margin: 0.85rem 0 0;
  color: var(--accent);
  max-width: 60ch;
  font-weight: 600;
}

.hero__actions {
  margin-top: 0.92rem;
  display: flex;
  gap: 0.55rem;
  flex-wrap: wrap;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  border: 1px solid var(--line);
  border-radius: 0.65rem;
  padding: 0.58rem 0.84rem;
  font-weight: 700;
  font-size: 0.9rem;
}

.btn--primary {
  border-color: var(--accent);
  background: var(--accent);
  color: #f4f7fc;
}

.btn--ghost {
  background: var(--surface);
  color: var(--text);
}

.stats-strip {
  display: grid;
  gap: 0.7rem;
  grid-template-columns: 1fr;
}

.stats-strip article {
  padding: 0.8rem;
}

.stats-strip p {
  margin: 0;
  color: var(--muted);
  font-size: 0.78rem;
}

.stats-strip strong {
  display: block;
  margin-top: 0.24rem;
  font-family: "Sora", sans-serif;
  font-size: 1.05rem;
}

.premium-panel {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.9rem;
  flex-wrap: wrap;
  background: linear-gradient(135deg, var(--surface) 0%, var(--accent-soft) 100%);
  border: 1px solid var(--line);
  border-radius: 0.95rem;
  padding: 1rem;
}

.premium-panel h2 {
  margin: 0.38rem 0 0;
  font-family: "Sora", sans-serif;
  font-size: 1.15rem;
}

.premium-panel p:last-child {
  margin: 0.45rem 0 0;
  color: var(--muted);
}

.premium-plan-summary {
  margin: 0.72rem 0 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 0.45rem;
}

.premium-plan-summary li {
  color: var(--muted);
  font-size: 0.9rem;
}

.premium-plan-summary strong {
  color: var(--text);
  font-family: "Sora", sans-serif;
}

.tools {
  display: grid;
  gap: 0.8rem;
}

.pricing-panel {
  display: grid;
  gap: 0.8rem;
}

.pricing-board {
  display: grid;
  gap: 0.75rem;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.pricing-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 0.95rem;
  padding: 0.9rem;
}

.pricing-card h3 {
  margin: 0;
  font-family: "Sora", sans-serif;
  font-size: 1rem;
}

.pricing-list {
  margin: 0.72rem 0 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 0.58rem;
}

.pricing-list li {
  margin: 0;
}

.pricing-list span {
  color: var(--muted);
}

.pricing-list strong {
  font-family: "Sora", sans-serif;
}

.pricing-choice {
  width: 100%;
  appearance: none;
  border: 1px solid var(--line);
  border-radius: 0.75rem;
  background: var(--surface-soft);
  color: var(--text);
  font: inherit;
  padding: 0.62rem 0.72rem;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto auto;
  align-items: center;
  gap: 0.8rem;
  text-align: left;
  cursor: pointer;
}

.pricing-choice:hover {
  border-color: var(--accent);
}

.pricing-choice.is-selected {
  border-color: var(--accent);
  background: var(--accent-soft);
}

.pricing-choice__action {
  color: var(--accent);
  font-size: 0.8rem;
  font-weight: 700;
}

.section-head h2 {
  margin: 0;
  font-family: "Sora", sans-serif;
  font-size: 1.15rem;
}

.section-head p {
  margin: 0.3rem 0 0;
  color: var(--muted);
}

.tool-grid {
  display: grid;
  gap: 0.7rem;
  grid-template-columns: 1fr;
}

.tool-grid--live {
  grid-template-columns: 1fr;
}

.tool-card {
  padding: 0.92rem;
}

.tool-card h3 {
  margin: 0.3rem 0 0;
  font-family: "Sora", sans-serif;
  font-size: 1rem;
}

.tool-card p {
  margin: 0.4rem 0 0;
  color: var(--muted);
}

.tool-card__meta {
  color: var(--accent) !important;
  font-weight: 600;
}

.tool-card--live {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 0.9rem;
  flex-wrap: wrap;
}

.badge {
  margin: 0;
  display: inline-block;
  border-radius: 999px;
  padding: 0.18rem 0.5rem;
  font-size: 0.69rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  background: var(--success-soft);
  color: var(--success-text);
}

.badge--muted {
  background: var(--accent-soft);
  color: var(--accent);
}

.reveal {
  animation: fadeUp 420ms ease-out both;
}

.delay-1 {
  animation-delay: 80ms;
}

.delay-2 {
  animation-delay: 120ms;
}

.delay-3 {
  animation-delay: 160ms;
}

@media (max-width: 860px) {
  body {
    padding: 0.85rem;
  }

  .topbar {
    align-items: stretch;
  }

  .logo {
    width: 100%;
    justify-content: center;
  }

  .shell {
    margin-top: 0.85rem;
  }

  .hero {
    padding: 1rem;
  }

  .hero__actions .btn {
    flex: 1 1 15rem;
    text-align: center;
  }

  .pricing-board {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  body {
    padding: 0.65rem;
  }

  .hero,
  .tool-card,
  .stats-strip article {
    border-radius: 0.85rem;
  }

  .hero {
    padding: 0.88rem;
  }

  .hero h1 {
    font-size: clamp(1.22rem, 7vw, 1.58rem);
  }

  .hero__lead {
    margin-top: 0.68rem;
    font-size: 0.92rem;
  }

  .hero__note {
    font-size: 0.9rem;
  }

  .hero__actions {
    flex-direction: column;
  }

  .premium-panel {
    padding: 0.9rem;
  }

  .premium-panel .btn {
    width: 100%;
    text-align: center;
  }

  .hero__actions .btn {
    width: 100%;
    flex: 0 0 auto;
  }

  .tool-card {
    padding: 0.84rem;
  }

  .tool-card--live {
    gap: 0.68rem;
  }

  .tool-card--live .btn {
    width: 100%;
    text-align: center;
  }
}

@media (max-width: 420px) {
  body {
    padding: 0.5rem;
  }

  .topbar {
    gap: 0.55rem;
  }

  .hero {
    padding: 0.78rem;
  }

  .hero__eyebrow {
    font-size: 0.68rem;
  }

  .hero__lead {
    font-size: 0.88rem;
    line-height: 1.45;
  }

  .premium-panel h2 {
    font-size: 1.03rem;
  }

  .btn {
    padding: 0.54rem 0.72rem;
    font-size: 0.84rem;
  }

  .stats-strip article {
    padding: 0.7rem;
  }

  .stats-strip strong {
    font-size: 0.98rem;
  }
}

@media (min-width: 920px) {
  body {
    padding: 1.5rem;
  }

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

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

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

@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(6px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}
