:root {
  --ink: #0e141b;
  --ink-2: #1a232e;
  --paper: #f6f3ee;
  --paper-2: #ece7de;
  --white: #fffdf9;
  --teal: #0f7a6c;
  --teal-2: #14998a;
  --teal-soft: #d7efe9;
  --amber: #d4a017;
  --amber-soft: #f4e4b8;
  --coral: #c45c3e;
  --muted: #5c6670;
  --line: rgba(14, 20, 27, 0.1);
  --shadow: 0 18px 50px rgba(14, 20, 27, 0.12);
  --radius: 18px;
  --max: 1180px;
  --font: "DM Sans", system-ui, sans-serif;
  --display: "Fraunces", Georgia, serif;
}

*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font);
  color: var(--ink);
  background: var(--paper);
  line-height: 1.6;
}

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

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

button,
.btn {
  font-family: inherit;
  cursor: pointer;
}

.wrap {
  width: min(var(--max), calc(100% - 40px));
  margin-inline: auto;
}

.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  backdrop-filter: blur(16px);
  background: rgba(246, 243, 238, 0.86);
  border-bottom: 1px solid var(--line);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 74px;
  gap: 24px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  letter-spacing: -0.03em;
}

.logo-mark {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: var(--ink);
  color: var(--paper);
  display: grid;
  place-items: center;
  font-family: var(--display);
  font-weight: 600;
  font-size: 15px;
}

.logo span {
  font-size: 15px;
}

.logo em {
  font-style: normal;
  color: var(--teal);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 22px;
  list-style: none;
  font-size: 14px;
  font-weight: 500;
}

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

.menu-btn {
  display: none;
  border: 0;
  background: transparent;
  width: 42px;
  height: 42px;
}

.menu-btn span,
.menu-btn span::before,
.menu-btn span::after {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--ink);
  position: relative;
}

.menu-btn span::before,
.menu-btn span::after {
  content: "";
  position: absolute;
  left: 0;
}

.menu-btn span::before {
  top: -7px;
}

.menu-btn span::after {
  top: 7px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border-radius: 999px;
  padding: 12px 22px;
  font-weight: 600;
  font-size: 14px;
  border: 1px solid transparent;
  transition: 0.2s ease;
}

.btn-primary {
  background: var(--ink);
  color: var(--white);
}

.btn-primary:hover {
  background: var(--teal);
}

.btn-ghost {
  background: transparent;
  border-color: var(--line);
}

.btn-ghost:hover {
  border-color: var(--ink);
}

.btn-light {
  background: var(--white);
  color: var(--ink);
}

.btn-light:hover {
  background: var(--teal-soft);
}

.hero {
  padding: 72px 0 40px;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: "";
  position: absolute;
  inset: auto -10% 10% auto;
  width: 420px;
  height: 420px;
  background: radial-gradient(circle, var(--teal-soft), transparent 70%);
  pointer-events: none;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 48px;
  align-items: center;
}

.kicker {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--amber-soft);
  color: #6b4e08;
  border-radius: 999px;
  padding: 6px 12px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.hero h1 {
  font-family: var(--display);
  font-size: clamp(38px, 5.4vw, 68px);
  line-height: 1.05;
  letter-spacing: -0.04em;
  margin: 18px 0 18px;
  font-weight: 560;
}

.hero h1 em {
  font-style: italic;
  color: var(--teal);
}

.lead {
  color: var(--muted);
  font-size: 18px;
  max-width: 52ch;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

.hero-meta {
  display: flex;
  gap: 28px;
  margin-top: 32px;
  font-size: 13px;
  color: var(--muted);
}

.hero-meta strong {
  display: block;
  color: var(--ink);
  font-size: 22px;
  font-family: var(--display);
}

.hero-card {
  background: var(--ink);
  color: var(--white);
  border-radius: 28px;
  padding: 28px;
  box-shadow: var(--shadow);
  position: relative;
}

.hero-card h3 {
  font-family: var(--display);
  font-size: 28px;
  margin-bottom: 8px;
}

.hero-card p {
  color: rgba(255, 253, 249, 0.72);
  font-size: 14px;
}

.preview-stack {
  margin-top: 22px;
  display: grid;
  gap: 10px;
}

.mini-site {
  background: #1d2733;
  border-radius: 14px;
  padding: 12px;
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.mini-bar {
  display: flex;
  gap: 5px;
  margin-bottom: 10px;
}

.mini-bar i {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #3a4654;
}

.mini-bar i:first-child {
  background: #c45c3e;
}

.mini-site .band {
  height: 54px;
  border-radius: 8px;
  background: linear-gradient(120deg, #14998a, #0e141b 55%, #d4a017);
}

.mini-site .rows {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  margin-top: 8px;
}

.mini-site .rows b {
  height: 28px;
  background: #263240;
  border-radius: 6px;
}

.section {
  padding: 84px 0;
}

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

.section-head h2,
.dark h2,
.pricing h2,
.faq h2,
.contact h2 {
  font-family: var(--display);
  font-size: clamp(30px, 4vw, 46px);
  letter-spacing: -0.03em;
  line-height: 1.1;
}

.section-head p {
  color: var(--muted);
  max-width: 42ch;
}

.filters {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 24px;
}

.filter {
  border: 1px solid var(--line);
  background: var(--white);
  border-radius: 999px;
  padding: 8px 14px;
  font-size: 13px;
  font-weight: 600;
}

.filter.active,
.filter:hover {
  background: var(--ink);
  color: var(--white);
  border-color: var(--ink);
}

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

.card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: 0.2s ease;
}

.card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
}

.card-visual {
  height: 170px;
  position: relative;
}

.card-body {
  padding: 18px 18px 20px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  flex: 1;
}

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

.card h3 {
  font-size: 20px;
  letter-spacing: -0.03em;
}

.card p {
  color: var(--muted);
  font-size: 14px;
  flex: 1;
}

.price-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 8px;
}

.price {
  font-family: var(--display);
  font-size: 22px;
}

.v1 { background: linear-gradient(135deg, #134e4a, #99f6e4); }
.v2 { background: linear-gradient(135deg, #1e293b, #f59e0b); }
.v3 { background: linear-gradient(135deg, #7c2d12, #fed7aa); }
.v4 { background: linear-gradient(135deg, #831843, #fbcfe8); }
.v5 { background: linear-gradient(135deg, #1e3a8a, #93c5fd); }
.v6 { background: linear-gradient(135deg, #365314, #d9f99d); }
.v7 { background: linear-gradient(135deg, #111827, #34d399); }
.v8 { background: linear-gradient(135deg, #431407, #fdba74); }
.v9 { background: linear-gradient(135deg, #312e81, #c4b5fd); }

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

.step {
  background: var(--white);
  border-radius: var(--radius);
  padding: 26px;
  border: 1px solid var(--line);
}

.step-num {
  font-family: var(--display);
  font-size: 32px;
  color: var(--teal);
}

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

.step p {
  color: var(--muted);
  font-size: 15px;
}

.dark {
  background: var(--ink);
  color: var(--white);
}

.dark p {
  color: rgba(255, 253, 249, 0.7);
}

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

.feature {
  background: var(--ink-2);
  border-radius: 16px;
  padding: 22px;
  border: 1px solid rgba(255, 255, 255, 0.06);
}

.feature h3 {
  font-size: 17px;
  margin: 10px 0 8px;
}

.dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--amber);
  display: inline-block;
}

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

.plan {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 24px;
  padding: 28px;
  display: flex;
  flex-direction: column;
}

.plan.featured {
  background: var(--ink);
  color: var(--white);
  transform: translateY(-8px);
}

.plan.featured p,
.plan.featured li {
  color: rgba(255, 253, 249, 0.78);
}

.plan h3 {
  font-size: 18px;
}

.plan .amount {
  font-family: var(--display);
  font-size: 42px;
  margin: 10px 0 4px;
}

.plan ul {
  list-style: none;
  margin: 18px 0 24px;
  display: grid;
  gap: 8px;
  font-size: 14px;
  flex: 1;
}

.plan li::before {
  content: "• ";
  color: var(--teal-2);
}

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

.quote {
  background: var(--white);
  border-radius: var(--radius);
  padding: 24px;
  border: 1px solid var(--line);
}

.quote p {
  font-size: 16px;
  margin-bottom: 16px;
}

.who {
  font-size: 13px;
  font-weight: 700;
}

.who span {
  display: block;
  font-weight: 500;
  color: var(--muted);
}

.faq-list {
  display: grid;
  gap: 10px;
  max-width: 820px;
}

.faq-item {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 16px 18px;
}

.faq-item button {
  width: 100%;
  background: none;
  border: 0;
  text-align: left;
  font-weight: 700;
  font-size: 16px;
  display: flex;
  justify-content: space-between;
}

.faq-item .a {
  display: none;
  color: var(--muted);
  padding-top: 10px;
  font-size: 15px;
}

.faq-item.open .a {
  display: block;
}

.contact-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 28px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 28px;
  overflow: hidden;
}

.contact-copy {
  background: var(--ink);
  color: var(--white);
  padding: 36px;
}

.contact-copy p {
  color: rgba(255, 253, 249, 0.72);
  margin: 12px 0 24px;
}

.contact-copy a {
  color: var(--amber-soft);
}

form {
  padding: 36px;
  display: grid;
  gap: 12px;
}

label {
  font-size: 13px;
  font-weight: 700;
}

input,
select,
textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 12px 14px;
  font: inherit;
  background: var(--paper);
}

textarea {
  min-height: 110px;
  resize: vertical;
}

.form-ok {
  display: none;
  background: var(--teal-soft);
  color: var(--teal);
  padding: 12px;
  border-radius: 12px;
  font-weight: 600;
}

footer {
  padding: 40px 0 28px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 14px;
}

.foot {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}

.demo-page {
  min-height: 100vh;
}

.demo-bar {
  position: sticky;
  top: 0;
  z-index: 20;
  background: var(--ink);
  color: var(--white);
  padding: 12px 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  font-size: 14px;
}

@media (max-width: 960px) {
  .hero-grid,
  .grid-cards,
  .steps,
  .features,
  .plans,
  .quotes,
  .contact-grid {
    grid-template-columns: 1fr 1fr;
  }

  .features,
  .plans {
    grid-template-columns: 1fr;
  }

  .plan.featured {
    transform: none;
  }
}

@media (max-width: 760px) {
  .menu-btn {
    display: grid;
    place-items: center;
  }

  .nav-links {
    display: none;
    position: absolute;
    inset: 74px 20px auto;
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: 16px;
    padding: 16px;
    flex-direction: column;
    align-items: flex-start;
  }

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

  .hero-grid,
  .grid-cards,
  .steps,
  .quotes,
  .contact-grid,
  .section-head {
    grid-template-columns: 1fr;
  }

  .hero {
    padding-top: 36px;
  }
}
