:root {
  --bg: #f7fbff;
  --paper: #ffffff;
  --ink: #162033;
  --muted: #65738a;
  --line: #dbe4f0;
  --accent: #2557d6;
  --accent-dark: #193e9c;
  --green: #087f5b;
  --shadow: 0 22px 70px rgba(28, 48, 88, 0.13);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  padding: 16px clamp(18px, 5vw, 64px);
  border-bottom: 1px solid var(--line);
  background: rgba(247, 251, 255, 0.9);
  backdrop-filter: blur(16px);
}

.brand,
footer {
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 800;
}

.brand-mark {
  display: grid;
  width: 34px;
  height: 34px;
  place-items: center;
  border-radius: 8px;
  background: var(--accent);
  color: #fff;
}

nav {
  display: flex;
  gap: 22px;
  color: var(--muted);
  font-weight: 700;
  font-size: 14px;
}

.hero,
.tool-section,
.section,
.pricing {
  padding: clamp(64px, 9vw, 112px) clamp(18px, 5vw, 72px);
}

.hero {
  display: grid;
  min-height: calc(100vh - 68px);
  grid-template-columns: minmax(0, 1fr) minmax(360px, 0.78fr);
  gap: clamp(28px, 5vw, 76px);
  align-items: center;
}

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

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  max-width: 820px;
  margin-bottom: 22px;
  font-size: clamp(44px, 7vw, 78px);
  line-height: 0.98;
}

h2 {
  margin-bottom: 14px;
  font-size: clamp(32px, 4vw, 54px);
  line-height: 1;
}

.lede,
.section-heading p,
.pricing > div > p {
  color: var(--muted);
  font-size: 18px;
  line-height: 1.65;
}

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

.primary-button,
.secondary-button {
  display: inline-flex;
  min-height: 46px;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  padding: 0 18px;
  border: 1px solid transparent;
  font-weight: 800;
  cursor: pointer;
}

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

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

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

.hero-preview,
.builder,
.feature-grid article,
.price-card,
.faq-list details {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--paper);
  box-shadow: var(--shadow);
}

.hero-preview {
  padding: 28px;
  line-height: 1.55;
}

.hero-preview span {
  display: block;
  margin: 18px 0 8px;
  color: var(--accent);
  font-size: 13px;
  font-weight: 850;
  text-transform: uppercase;
}

.hero-preview span:first-child {
  margin-top: 0;
}

.geo-banner {
  margin-top: 22px;
  padding: 12px 14px;
  border: 1px solid #b9d8ff;
  border-radius: 8px;
  background: #eef6ff;
  color: var(--ink);
  font-weight: 700;
}

.geo-banner[hidden] {
  display: none;
}

.section-heading {
  max-width: 760px;
  margin: 0 auto 38px;
  text-align: center;
}

.builder {
  display: grid;
  max-width: 920px;
  margin: 0 auto;
  gap: 14px;
  padding: 24px;
}

label {
  display: grid;
  gap: 7px;
  color: var(--ink);
  font-weight: 760;
}

input,
textarea {
  width: 100%;
  border: 1px solid #cbd8e8;
  border-radius: 8px;
  color: var(--ink);
  font: inherit;
}

input {
  min-height: 44px;
  padding: 0 12px;
}

textarea {
  min-height: 118px;
  padding: 12px;
  resize: vertical;
}

.result {
  display: block;
  min-height: 220px;
  padding: 18px;
  border: 1px solid #cbd8e8;
  border-radius: 8px;
  background: #f8fbff;
  white-space: pre-wrap;
  line-height: 1.6;
}

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

.feature-grid article,
.price-card,
.faq-list details {
  padding: 24px;
}

.feature-grid p,
.faq-list p,
.price-card li {
  color: var(--muted);
  line-height: 1.55;
}

.pricing {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 0.5fr);
  gap: 28px;
  align-items: start;
  background: #13213a;
  color: #fff;
}

.pricing p {
  color: rgba(255, 255, 255, 0.72);
}

.price-card {
  color: var(--ink);
}

.price {
  font-size: 42px;
  font-weight: 850;
}

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

.muted {
  background: #eef5ff;
}

.faq-list {
  display: grid;
  max-width: 860px;
  margin: 0 auto;
  gap: 12px;
}

summary {
  font-weight: 800;
  cursor: pointer;
}

footer {
  justify-content: space-between;
  padding: 30px clamp(18px, 5vw, 64px);
  border-top: 1px solid var(--line);
  background: #fff;
  color: var(--muted);
}

@media (max-width: 860px) {
  nav {
    display: none;
  }

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

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

@media (max-width: 560px) {
  h1 {
    font-size: 42px;
  }

  .actions,
  footer {
    align-items: stretch;
    flex-direction: column;
  }

  .primary-button,
  .secondary-button {
    width: 100%;
  }
}
