:root {
  --bg: #1a1e22;
  --text: #102033;
  --muted: #5d6f83;
  --line: #dce6ef;
  --blue: #1261a6;
  --blue-dark: #0b477c;
  --panel: #fff;
  --soft-blue: #eaf4ff;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: "Space Grotesk", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--text);
  background: linear-gradient(180deg, #ffffff 0%, var(--bg) 100%);
}

.nav {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 22px clamp(18px, 5vw, 64px);
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-right: 10px;
  color: var(--text);
  text-decoration: none;
  font-weight: 700;
}

.brand img {
  width: 34px;
  height: 34px;
  object-fit: contain;
}

.tab {
  display: inline-flex;
  align-items: center;
  min-height: 38px;
  padding: 0 16px;
  border: 1px solid var(--line);
  border-radius: 8px;
  color: var(--text);
  background: #fff;
  text-decoration: none;
  font-size: 14px;
  font-weight: 700;
}

.tab.active,
.tab:hover {
  border-color: rgba(18, 97, 166, 0.45);
  color: var(--blue-dark);
}

.wrap {
  width: min(1120px, calc(100% - 36px));
  margin: 0 auto;
  padding: 52px 0 70px;
}

.hero {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 24px;
  align-items: center;
  padding-bottom: 34px;
  border-bottom: 1px solid var(--line);
}

.eyebrow {
  display: inline-flex;
  margin: 0 0 16px;
  padding: 7px 11px;
  border-radius: 999px;
  color: var(--blue-dark);
  background: var(--soft-blue);
  font-size: 13px;
  font-weight: 700;
}

h1 {
  margin: 0;
  max-width: 720px;
  font-size: clamp(36px, 6vw, 64px);
  line-height: 1;
  letter-spacing: 0;
}

.lead {
  margin: 18px 0 0;
  max-width: 720px;
  color: var(--muted);
  line-height: 1.65;
  font-size: 18px;
}

.hero img {
  width: min(190px, 28vw);
  height: auto;
  object-fit: contain;
}

.plans,
.app-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 16px;
}

.plans {
  margin-top: 28px;
}

.plan-card,
.app-card {
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--panel);
  box-shadow: 0 18px 40px rgba(16, 32, 51, 0.1);
}

.plan-card.featured {
  border-color: rgba(18, 97, 166, 0.38);
  background: linear-gradient(180deg, #ffffff, #f0f8ff);
}

.plan-kicker {
  margin: 0 0 10px;
  color: var(--blue-dark);
  font-size: 13px;
  font-weight: 700;
}

h2,
h3 {
  margin: 0;
}

h2 {
  font-size: 24px;
}

h3 {
  font-size: 21px;
}

.price {
  margin: 14px 0 10px;
  color: var(--text);
  font-size: 24px;
  font-weight: 700;
}

.plan-copy,
.app-card p,
.section-head p {
  color: var(--muted);
  line-height: 1.55;
}

.section-head {
  margin: 42px 0 18px;
}

.section-head p {
  margin: 8px 0 0;
  max-width: 700px;
}

.app-head {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 14px;
}

.app-head img {
  width: 52px;
  height: 52px;
  object-fit: contain;
}

.app-head p {
  margin: 4px 0 0;
  font-size: 13px;
}

.badges {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 14px;
}

.badges span {
  padding: 6px 9px;
  border-radius: 999px;
  color: var(--blue-dark);
  background: var(--soft-blue);
  font-size: 12px;
  font-weight: 700;
}

.badges .paid {
  color: #7c2d12;
  background: #fff0df;
}

.feature-list {
  display: grid;
  gap: 8px;
  margin-top: 16px;
}

.feature-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 10px 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #f8fbfe;
  color: var(--text);
  font-size: 14px;
}

.feature-row strong {
  color: var(--blue-dark);
  font-size: 12px;
}

.feature-row.paid-feature strong {
  color: #7c2d12;
}

.button-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 18px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 0 15px;
  border-radius: 8px;
  border: 1px solid var(--line);
  color: var(--blue-dark);
  background: #fff;
  text-decoration: none;
  font-weight: 700;
  font-size: 14px;
}

.button.primary {
  color: #fff;
  background: var(--blue);
  border-color: var(--blue);
}

@media (max-width: 760px) {
  .nav {
    align-items: flex-start;
    flex-wrap: wrap;
    padding: 16px;
  }

  .brand {
    flex-basis: 100%;
  }

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