:root {
  --ink: #101827;
  --ink-soft: #27364a;
  --muted: #64748b;
  --line: #d9e2ee;
  --soft-line: #e8eef6;
  --page: #f4f7fb;
  --surface: #ffffff;
  --surface-alt: #f8fbff;
  --brand: #147db3;
  --brand-dark: #0f5f88;
  --accent: #f45a2a;
  --teal: #12957f;
  --amber: #ad6500;
  --rose: #be123c;
  --shadow: 0 18px 42px rgba(16, 24, 39, .08);
}

* {
  box-sizing: border-box;
}

html {
  min-width: 320px;
}

body {
  margin: 0;
  background: var(--page);
  color: var(--ink);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  letter-spacing: 0;
}

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

button,
input {
  font: inherit;
}

.site-shell {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

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

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

.brand,
.footer-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 850;
  color: var(--ink);
  white-space: nowrap;
}

.brand img,
.footer-brand img {
  display: block;
  border-radius: 8px;
}

.nav-links,
.nav-actions {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.nav-links a,
.nav-actions a {
  min-height: 40px;
  display: inline-flex;
  align-items: center;
  padding: 9px 12px;
  border-radius: 8px;
  color: var(--ink-soft);
  font-size: 14px;
  font-weight: 700;
}

.nav-links a:hover,
.nav-actions a:hover {
  background: var(--surface-alt);
  color: var(--ink);
}

.nav-actions form {
  margin: 0;
}

.button,
.button-secondary,
.button-quiet {
  min-height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border-radius: 8px;
  padding: 10px 16px;
  font-weight: 800;
  border: 1px solid transparent;
  cursor: pointer;
}

.button {
  background: var(--brand);
  color: #fff;
  border-color: var(--brand);
  box-shadow: 0 10px 20px rgba(20, 125, 179, .18);
}

.button:hover {
  background: var(--brand-dark);
}

.button-secondary {
  background: #fff;
  color: var(--ink);
  border-color: var(--line);
}

.button-secondary:hover {
  background: var(--surface-alt);
}

.button-quiet {
  background: transparent;
  color: var(--brand);
}

.main {
  flex: 1;
}

.band {
  border-bottom: 1px solid var(--soft-line);
}

.quiet-band {
  background: #fff;
  border-top: 1px solid var(--soft-line);
  border-bottom: 1px solid var(--soft-line);
}

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

.hero {
  position: relative;
  overflow: hidden;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, .88), rgba(244, 247, 251, .96)),
    url("../img/logo-bird.png") no-repeat right 8% top 44px / 360px auto;
  padding: 66px 0 58px;
}

.hero-inner {
  max-width: 920px;
}

.hero-logo {
  display: block;
  width: min(360px, 78%);
  height: auto;
  margin: 0 0 24px;
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--teal);
  font-size: 13px;
  font-weight: 850;
  text-transform: uppercase;
}

.hero h1,
.page-title h1 {
  max-width: 820px;
  margin: 0;
  font-size: 72px;
  line-height: 1.02;
  letter-spacing: 0;
}

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

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

.version-chip {
  display: inline-flex;
  margin-top: 28px;
  border: 1px solid var(--soft-line);
  border-radius: 8px;
  background: rgba(255, 255, 255, .82);
  color: var(--muted);
  padding: 8px 10px;
  font-size: 13px;
  font-weight: 700;
}

.section {
  padding: 58px 0;
}

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

.section-heading h2,
.feature-block h2,
.split-feature h2 {
  max-width: 720px;
  margin: 0;
  font-size: 42px;
  line-height: 1.1;
  letter-spacing: 0;
}

.section-heading p,
.feature-block p,
.split-feature p {
  max-width: 620px;
  margin: 10px 0 0;
  color: var(--muted);
  line-height: 1.62;
}

.feature-grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr 1fr;
  gap: 14px;
}

.feature-block,
.card,
.step,
.workspace-head,
.sidebar,
.form-panel {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
  box-shadow: 0 1px 0 rgba(16, 24, 39, .02);
}

.feature-block {
  min-height: 230px;
  padding: 24px;
}

.feature-block.strong {
  background: #0f172a;
  color: #fff;
}

.feature-block.strong p {
  color: #d4dce8;
}

.feature-block h3 {
  margin: 20px 0 8px;
  font-size: 22px;
}

.feature-icon {
  display: inline-grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 8px;
  background: #eef8fb;
  color: var(--brand);
  font-size: 13px;
  font-weight: 850;
}

.strong .feature-icon {
  background: rgba(255, 255, 255, .12);
  color: #fff;
}

.cards {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

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

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

.card {
  min-height: 100%;
  padding: 22px;
}

.card h3 {
  margin: 0 0 8px;
  font-size: 20px;
}

.card p,
.card li,
.step p {
  color: var(--muted);
  line-height: 1.58;
}

.card p,
.step p {
  margin: 0;
}

.plan-card {
  border-top: 4px solid var(--brand);
}

.app-card {
  border-top: 4px solid var(--accent);
}

.status-card {
  min-height: 150px;
}

.card-topline {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 12px;
}

.price {
  display: flex;
  align-items: baseline;
  gap: 7px;
  margin: 16px 0;
}

.price strong {
  font-size: 36px;
}

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

.feature-list {
  padding-left: 18px;
  margin: 16px 0 0;
}

.plan-tag {
  display: inline-flex;
  margin-top: 10px;
  color: var(--amber);
  background: #fff8ea;
  border: 1px solid #f1d39b;
  border-radius: 8px;
  padding: 6px 10px;
  font-size: 12px;
  font-weight: 850;
}

.status-pill {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  border: 1px solid #badfd6;
  color: var(--teal);
  background: #effaf7;
  border-radius: 8px;
  padding: 6px 10px;
  font-size: 12px;
  font-weight: 850;
}

.muted-pill {
  color: var(--muted);
  background: #f6f8fb;
  border-color: var(--soft-line);
}

.status-dot {
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: var(--teal);
}

.split-feature {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(300px, 420px);
  gap: 36px;
  align-items: center;
}

.check-list {
  display: grid;
  gap: 10px;
}

.check-list div {
  min-height: 52px;
  display: flex;
  align-items: center;
  gap: 12px;
  border: 1px solid var(--soft-line);
  border-radius: 8px;
  background: var(--surface-alt);
  padding: 12px 14px;
  color: var(--ink-soft);
  font-weight: 750;
}

.check-list span {
  width: 12px;
  height: 12px;
  border-radius: 999px;
  background: var(--accent);
  box-shadow: inset 0 0 0 3px #fff;
}

.page-title {
  padding: 54px 0 34px;
  background: #fff;
}

.page-title h1 {
  font-size: 54px;
}

.compact-title {
  padding: 42px 0 28px;
}

.steps {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.step {
  padding: 24px;
}

.step span {
  display: inline-grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 8px;
  background: #102033;
  color: #fff;
  font-weight: 850;
}

.step h3 {
  margin: 18px 0 8px;
  font-size: 22px;
}

.split-layout {
  display: grid;
  grid-template-columns: 260px minmax(0, 1fr);
  gap: 22px;
  padding: 28px 0 58px;
}

.sidebar {
  align-self: start;
  padding: 12px;
}

.sidebar a {
  display: block;
  border-radius: 8px;
  padding: 12px;
  color: var(--ink-soft);
  font-weight: 750;
}

.sidebar a:hover {
  background: var(--surface-alt);
}

.sidebar-version {
  margin: 14px 8px 4px;
  padding-top: 14px;
  border-top: 1px solid var(--soft-line);
  color: var(--muted);
  font-size: 12px;
  font-weight: 750;
}

.workspace {
  display: grid;
  gap: 16px;
}

.workspace-head {
  display: grid;
  gap: 14px;
  padding: 24px;
}

.workspace-head h2 {
  margin: 0;
  font-size: 28px;
}

.progress {
  height: 12px;
  border-radius: 999px;
  background: #e7edf5;
  overflow: hidden;
}

.progress span {
  display: block;
  height: 100%;
  width: var(--value, 0%);
  background: var(--teal);
}

.copy-box {
  display: grid;
  gap: 8px;
  margin-top: 14px;
}

.copy-box code {
  width: 100%;
  display: block;
  overflow-wrap: anywhere;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #f8fafc;
  padding: 12px;
  color: var(--ink-soft);
}

.form-page {
  width: min(540px, calc(100% - 32px));
  margin: 56px auto;
}

.form-panel {
  padding: 28px;
  box-shadow: var(--shadow);
}

.form-panel h1 {
  margin: 0 0 8px;
  font-size: 40px;
}

.field {
  display: grid;
  gap: 7px;
  margin-top: 16px;
}

.field label {
  font-weight: 750;
}

.field input {
  width: 100%;
  min-height: 44px;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 10px 12px;
}

.field input:focus {
  outline: 3px solid rgba(20, 125, 179, .16);
  border-color: var(--brand);
}

.field ul {
  margin: 6px 0 0;
  padding-left: 18px;
  color: var(--rose);
}

.form-errors {
  border: 1px solid #fecdd3;
  background: #fff1f2;
  color: var(--rose);
  border-radius: 8px;
  padding: 12px;
  margin-top: 16px;
}

.site-footer {
  border-top: 1px solid var(--line);
  background: #fff;
  padding: 24px 0;
}

.footer-row {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  color: var(--muted);
  font-size: 13px;
}

@media (max-width: 1020px) {
  .hero h1 {
    font-size: 58px;
  }

  .page-title h1 {
    font-size: 44px;
  }

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

  .cards,
  .cards.four,
  .cards.three,
  .steps {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

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

  .nav-links,
  .nav-actions {
    width: 100%;
    justify-content: flex-start;
  }

  .hero {
    background:
      linear-gradient(180deg, rgba(255, 255, 255, .93), rgba(244, 247, 251, .98)),
      url("../img/logo-bird.png") no-repeat right 16px top 34px / 180px auto;
    padding: 42px 0 44px;
  }

  .hero h1 {
    font-size: 44px;
  }

  .page-title h1 {
    font-size: 36px;
  }

  .section-heading {
    align-items: flex-start;
    flex-direction: column;
  }

  .section-heading h2,
  .feature-block h2,
  .split-feature h2 {
    font-size: 32px;
  }

  .cards,
  .cards.four,
  .cards.three,
  .steps {
    grid-template-columns: 1fr;
  }

  .footer-row {
    align-items: flex-start;
    flex-direction: column;
  }
}
