@import url("https://fonts.googleapis.com/css2?family=IBM+Plex+Sans:wght@400;500;600;700&family=Onest:wght@400;500;600;700;800;900&display=swap");

:root {
  --ink: #161512;
  --muted: #67645c;
  --paper: #f6efe3;
  --paper-strong: #fffaf0;
  --line: rgba(22, 21, 18, 0.14);
  --accent: #d14a1f;
  --accent-dark: #8f2d13;
  --green: #246b4f;
  --blue: #245a8d;
  --shadow: 0 24px 80px rgba(38, 27, 13, 0.14);
  --radius: 28px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  font-family: "Onest", "IBM Plex Sans", "Trebuchet MS", sans-serif;
  background:
    radial-gradient(circle at 12% 8%, rgba(209, 74, 31, 0.20), transparent 28rem),
    radial-gradient(circle at 88% 18%, rgba(36, 90, 141, 0.16), transparent 24rem),
    linear-gradient(135deg, #fff9ed 0%, #f1e6d6 54%, #ead9c1 100%);
}

a {
  color: inherit;
}

.site-shell {
  min-height: 100vh;
  overflow: hidden;
}

.topbar {
  position: sticky;
  z-index: 20;
  top: 0;
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(18px);
  background: rgba(246, 239, 227, 0.82);
}

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

.brand {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
  font-weight: 800;
}

.brand-mark {
  display: none;
}

.brand-text {
  display: grid;
  font-size: 23px;
  letter-spacing: -0.025em;
  line-height: 1.05;
}

.brand-text small {
  color: var(--muted);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 18px;
  font-size: 14px;
  font-weight: 800;
}

.nav-links a {
  text-decoration: none;
  color: rgba(22, 21, 18, 0.74);
}

.nav-links a:hover {
  color: var(--accent-dark);
}

.nav-toggle {
  display: none;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 10px 14px;
  background: rgba(255, 250, 240, 0.72);
  font-weight: 800;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 48px;
  padding: 13px 20px;
  border: 0;
  border-radius: 999px;
  color: #fff7ec;
  font-weight: 900;
  text-decoration: none;
  background: linear-gradient(135deg, var(--accent), var(--accent-dark));
  box-shadow: 0 16px 38px rgba(209, 74, 31, 0.24);
}

.button.secondary {
  color: var(--ink);
  border: 1px solid var(--line);
  background: rgba(255, 250, 240, 0.72);
  box-shadow: none;
}

.hero {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
  padding: 84px 0 56px;
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 42px;
  align-items: center;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  width: max-content;
  max-width: 100%;
  padding: 8px 12px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--accent-dark);
  font-size: 13px;
  font-weight: 900;
  background: rgba(255, 250, 240, 0.62);
}

.hero h1,
.page-hero h1,
.section-title h2 {
  font-family: "Onest", "IBM Plex Sans", sans-serif;
  font-weight: 900;
  letter-spacing: -0.03em;
}

.hero h1 {
  margin: 18px 0 20px;
  font-size: clamp(42px, 6.6vw, 78px);
  line-height: 1.02;
}

.lead {
  max-width: 720px;
  color: var(--muted);
  font-size: clamp(18px, 2vw, 22px);
  line-height: 1.55;
}

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

.hero-card {
  position: relative;
  padding: 26px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background:
    linear-gradient(145deg, rgba(255, 250, 240, 0.86), rgba(255, 250, 240, 0.46)),
    repeating-linear-gradient(135deg, rgba(22, 21, 18, 0.035) 0 1px, transparent 1px 11px);
  box-shadow: var(--shadow);
}

.terminal {
  border-radius: 22px;
  overflow: hidden;
  border: 1px solid rgba(22, 21, 18, 0.14);
  background: #181512;
  color: #f8ead1;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.06);
}

.terminal-head {
  display: flex;
  gap: 8px;
  padding: 14px 16px;
  background: rgba(255, 255, 255, 0.05);
}

.dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #d14a1f;
}

.dot:nth-child(2) {
  background: #d3a13e;
}

.dot:nth-child(3) {
  background: #3d9c72;
}

.terminal-body {
  padding: 22px;
  font-family: "Consolas", "Lucida Console", monospace;
  font-size: 14px;
  line-height: 1.7;
}

.terminal-body strong {
  color: #fed27a;
}

.stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin-top: 16px;
}

.stat {
  padding: 16px;
  border-radius: 20px;
  background: rgba(255, 250, 240, 0.72);
}

.stat b {
  display: block;
  font-size: 22px;
}

.stat span {
  color: var(--muted);
  font-size: 13px;
  font-weight: 700;
}

.section,
.page-hero {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
  padding: 46px 0;
}

.page-hero {
  padding-top: 74px;
}

.page-hero h1 {
  max-width: 980px;
  margin: 18px 0;
  font-size: clamp(38px, 5.6vw, 68px);
  line-height: 1.06;
}

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

.section-title h2 {
  margin: 0;
  font-size: clamp(30px, 4vw, 48px);
  line-height: 1.08;
}

.section-title p {
  max-width: 520px;
  margin: 0;
  color: var(--muted);
  line-height: 1.6;
}

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

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

.card {
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 24px;
  background: rgba(255, 250, 240, 0.62);
  box-shadow: 0 16px 50px rgba(38, 27, 13, 0.08);
}

.card h3 {
  margin: 0 0 10px;
  font-size: 22px;
}

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

.card ul {
  margin: 14px 0 0;
  padding-left: 18px;
}

.number {
  display: inline-grid;
  place-items: center;
  width: 42px;
  height: 42px;
  margin-bottom: 18px;
  border-radius: 14px;
  color: #fff7ec;
  font-weight: 900;
  background: #181512;
}

.price-card {
  display: flex;
  flex-direction: column;
  min-height: 100%;
}

.price {
  margin: 8px 0 16px;
  font-size: 34px;
  font-weight: 900;
  letter-spacing: -0.04em;
}

.price small {
  color: var(--muted);
  font-size: 15px;
  font-weight: 800;
}

.badge {
  display: inline-flex;
  width: max-content;
  padding: 7px 10px;
  border-radius: 999px;
  color: #fff7ec;
  font-size: 12px;
  font-weight: 900;
  background: var(--green);
}

.warning {
  border-color: rgba(209, 74, 31, 0.28);
  background: linear-gradient(145deg, rgba(209, 74, 31, 0.10), rgba(255, 250, 240, 0.70));
}

.steps {
  counter-reset: step;
  display: grid;
  gap: 14px;
}

.step {
  display: grid;
  grid-template-columns: 56px 1fr;
  gap: 16px;
  align-items: start;
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: 24px;
  background: rgba(255, 250, 240, 0.58);
}

.step::before {
  counter-increment: step;
  content: counter(step);
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 16px;
  color: #fff7ec;
  font-weight: 900;
  background: var(--accent);
}

.step h3 {
  margin: 0 0 6px;
}

.step p {
  margin: 0;
  color: var(--muted);
  line-height: 1.62;
}

.doc-layout {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 28px;
}

.sidebar {
  position: sticky;
  top: 96px;
  align-self: start;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 22px;
  background: rgba(255, 250, 240, 0.64);
}

.sidebar a {
  display: block;
  padding: 10px 8px;
  color: var(--muted);
  text-decoration: none;
  font-weight: 800;
}

.content {
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 250, 240, 0.64);
}

.content h2 {
  margin-top: 28px;
}

.content h2:first-child {
  margin-top: 0;
}

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

.content code {
  padding: 2px 6px;
  border-radius: 8px;
  background: rgba(22, 21, 18, 0.08);
}

.faq-item {
  padding: 20px 0;
  border-bottom: 1px solid var(--line);
}

.faq-item h3 {
  margin: 0 0 8px;
}

.faq-item p {
  margin: 0;
  color: var(--muted);
  line-height: 1.66;
}

.cta {
  margin: 46px auto;
  padding: 34px;
  border-radius: 34px;
  color: #fff7ec;
  background:
    radial-gradient(circle at 92% 12%, rgba(255, 209, 102, 0.32), transparent 22rem),
    linear-gradient(135deg, #181512, #4a1d10 58%, #8f2d13);
  box-shadow: var(--shadow);
}

.cta h2 {
  margin: 0 0 12px;
  font-family: "Onest", "IBM Plex Sans", sans-serif;
  font-size: clamp(30px, 4vw, 50px);
  font-weight: 900;
  letter-spacing: -0.03em;
}

.cta p {
  max-width: 740px;
  color: rgba(255, 247, 236, 0.78);
  line-height: 1.65;
}

.footer {
  margin-top: 40px;
  border-top: 1px solid var(--line);
  background: rgba(22, 21, 18, 0.92);
  color: #fff7ec;
}

.footer-inner {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
  padding: 34px 0;
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 24px;
}

.footer a {
  color: #fff7ec;
}

.footer p {
  color: rgba(255, 247, 236, 0.66);
}

.link-list {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 18px;
  justify-content: end;
  align-content: start;
}

@media (max-width: 880px) {
  .nav {
    min-height: 68px;
  }

  .nav-toggle {
    display: inline-flex;
  }

  .nav-links {
    position: absolute;
    inset: 68px 16px auto;
    display: none;
    flex-direction: column;
    align-items: stretch;
    padding: 18px;
    border: 1px solid var(--line);
    border-radius: 22px;
    background: var(--paper-strong);
    box-shadow: var(--shadow);
  }

  .nav-links.open {
    display: flex;
  }

  .hero,
  .grid,
  .grid.two,
  .doc-layout,
  .footer-inner {
    grid-template-columns: 1fr;
  }

  .hero {
    padding-top: 52px;
  }

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

  .section-title {
    display: block;
  }

  .sidebar {
    position: static;
  }

  .link-list {
    justify-content: start;
  }
}
