:root {
  --bg: #f4efe8;
  --paper: #fffdf8;
  --ink: #1f1e1b;
  --muted: #6a655d;
  --line: #ddd3c6;
  --accent: #0d8a68;
  --accent-strong: #0a6f54;
  --accent-soft: #dff6ef;
  --warm: #c96f3f;
  --shadow: 0 18px 60px rgba(31, 30, 27, 0.08);
  --max: 1120px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  color: var(--ink);
  background:
    radial-gradient(circle at top right, rgba(201, 111, 63, 0.08), transparent 28%),
    linear-gradient(180deg, #f7f2eb 0%, #f2ede5 100%);
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }

.shell {
  width: min(calc(100% - 32px), var(--max));
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  backdrop-filter: blur(12px);
  background: rgba(247, 242, 235, 0.88);
  border-bottom: 1px solid rgba(221, 211, 198, 0.8);
}

.site-header .shell,
.site-footer .shell,
.hero-grid,
.section-grid,
.legal-layout,
.support-layout {
  display: grid;
  gap: 24px;
}

.site-header .shell {
  align-items: center;
  grid-template-columns: auto 1fr auto;
  padding: 16px 0;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-size: 0.95rem;
  font-weight: 700;
  letter-spacing: 0.02em;
}

.brand img { width: 34px; height: 34px; }

.site-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  justify-content: center;
  font-size: 0.96rem;
  color: var(--muted);
}

.site-nav a:hover,
.site-nav a:focus-visible { color: var(--ink); }

.button-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 18px;
  border-radius: 999px;
  border: 1px solid transparent;
  font-weight: 700;
  transition: transform 0.15s ease, background 0.15s ease, color 0.15s ease;
}

.button:hover,
.button:focus-visible { transform: translateY(-1px); }

.button-primary { background: var(--accent); color: #fff; }
.button-primary:hover,
.button-primary:focus-visible { background: var(--accent-strong); }

.button-secondary {
  border-color: var(--line);
  background: rgba(255, 255, 255, 0.7);
  color: var(--ink);
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 12px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.75);
  border: 1px solid rgba(221, 211, 198, 0.95);
  color: var(--muted);
  font-size: 0.82rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.hero { padding: 80px 0 56px; }
.hero-grid { grid-template-columns: 1.1fr 0.9fr; align-items: center; }

.hero-copy h1,
.page-hero h1 {
  margin: 18px 0 16px;
  font-size: clamp(2.6rem, 6vw, 5rem);
  line-height: 0.94;
  letter-spacing: -0.04em;
}

.hero-copy p,
.page-hero p,
.section-intro,
.lead {
  font-size: 1.08rem;
  line-height: 1.7;
  color: var(--muted);
}

.hero-card,
.panel,
.pricing-card,
.legal-card,
.support-card,
.screenshot-card {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 28px;
  box-shadow: var(--shadow);
}

.hero-card { overflow: hidden; }
.hero-card img { aspect-ratio: 16 / 10; object-fit: cover; }
.hero-card .card-body { padding: 22px; }

.hero-list,
.check-list,
.faq-list,
.step-list,
.contact-list {
  margin: 0;
  padding: 0;
  list-style: none;
}

.hero-list li,
.check-list li,
.step-list li {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 10px;
  align-items: start;
}

.hero-list li + li,
.check-list li + li,
.faq-list li + li,
.step-list li + li,
.contact-list li + li { margin-top: 12px; }

.dot {
  width: 10px;
  height: 10px;
  margin-top: 8px;
  border-radius: 999px;
  background: var(--warm);
}

.section { padding: 28px 0 64px; }
.section-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.panel { padding: 26px; }

.field {
  display: grid;
  gap: 8px;
  margin-bottom: 16px;
}

.field label {
  font-weight: 700;
}

.field input,
.field textarea,
input,
textarea {
  width: 100%;
  padding: 12px 14px;
  border-radius: 14px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.9);
  color: var(--ink);
  font-family: inherit;
  font-size: 1rem;
}

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

.panel h2,
.panel h3,
.pricing-card h2,
.pricing-card h3,
.legal-card h2,
.support-card h2 { margin-top: 0; }

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

.metric {
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.72);
}

.metric strong {
  display: block;
  font-size: 2rem;
  margin-bottom: 8px;
}

.pricing-grid,
.screenshot-grid {
  display: grid;
  gap: 18px;
}

.pricing-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.pricing-card { padding: 24px; }

.pricing-card.featured {
  background: linear-gradient(180deg, #f5fdf9 0%, #ecfaf3 100%);
  border-color: rgba(13, 138, 104, 0.28);
}

.pricing-card .price {
  margin: 14px 0 10px;
  font-size: 2rem;
  font-weight: 700;
}

.pricing-card .tag {
  display: inline-block;
  padding: 6px 10px;
  border-radius: 999px;
  background: var(--accent-soft);
  color: var(--accent-strong);
  font-size: 0.82rem;
  font-weight: 700;
}

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

.faq-list h3 {
  margin-bottom: 8px;
  font-size: 1.05rem;
}

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

.cta-band {
  padding: 28px;
  border-radius: 28px;
  background: linear-gradient(135deg, #132b27 0%, #1d4a41 100%);
  color: #f5f3ee;
}

.cta-band p { color: rgba(245, 243, 238, 0.82); }

.page-hero { padding: 76px 0 28px; }
.page-hero .shell { max-width: 900px; }

.legal-layout,
.support-layout { grid-template-columns: minmax(0, 1fr); }

.legal-card,
.support-card { padding: 28px; }

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

.legal-card ul,
.support-card ul { padding-left: 20px; }

.site-footer {
  border-top: 1px solid rgba(221, 211, 198, 0.9);
  padding: 28px 0 44px;
  margin-top: 24px;
}

.site-footer .shell {
  grid-template-columns: 1fr auto;
  align-items: center;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  color: var(--muted);
}

.note {
  padding: 16px 18px;
  border-left: 4px solid var(--warm);
  background: rgba(201, 111, 63, 0.08);
  border-radius: 14px;
  color: var(--muted);
}

.note-success {
  border-left-color: var(--accent);
  background: rgba(13, 138, 104, 0.08);
}

.note-error {
  border-left-color: #9a2f2f;
  background: rgba(154, 47, 47, 0.08);
}

code {
  font-family: "Courier New", Courier, monospace;
  font-size: 0.95rem;
}

.small { font-size: 0.95rem; }

@media (max-width: 980px) {
  .hero-grid,
  .section-grid,
  .pricing-grid,
  .site-header .shell,
  .site-footer .shell { grid-template-columns: 1fr; }

  .site-nav { justify-content: flex-start; }
  .metrics { grid-template-columns: 1fr; }
}

@media (max-width: 640px) {
  .hero { padding-top: 52px; }
  .hero-copy h1,
  .page-hero h1 { font-size: 2.5rem; }
  .shell { width: min(calc(100% - 24px), var(--max)); }
}
