:root {
  --bg-0: #f8f2e8;
  --bg-1: #efe2cf;
  --bg-2: #e4d2b7;
  --ink: #1f1912;
  --muted: #5e5448;
  --line: #d6c5a8;
  --card: #fffdfa;
  --accent: #805226;
  --accent-soft: #a87443;
  --accent-strong: #6a3f18;
  --cta: #1f1912;
  --cta-ink: #fff;
  --soft: #eee3d2;
  --ok-bg: #e7f4e7;
  --ok-line: #97c597;
  --err-bg: #fceaea;
  --err-line: #d79a9a;
  --hint-bg: #fff6e2;
  --hint-line: #d5b778;
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
}

body {
  color: var(--ink);
  font-family: "Source Sans 3", "Helvetica Neue", Helvetica, sans-serif;
  line-height: 1.55;
  min-height: 100vh;
  background:
    radial-gradient(circle at 8% -10%, rgba(128, 82, 38, 0.18) 0, rgba(128, 82, 38, 0) 32%),
    radial-gradient(circle at 92% 8%, rgba(31, 25, 18, 0.12) 0, rgba(31, 25, 18, 0) 28%),
    linear-gradient(180deg, var(--bg-0) 0%, var(--bg-1) 52%, var(--bg-2) 100%);
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  opacity: 0.15;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.18) 0 1px, transparent 1px 100%),
    linear-gradient(45deg, rgba(255, 255, 255, 0.16) 0 1px, transparent 1px 100%);
  background-size: 18px 18px;
}

a {
  color: inherit;
}

.shell {
  max-width: 1120px;
  margin: 0 auto;
  padding: 26px 18px 70px;
}

.site-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  margin-bottom: 16px;
  padding: 10px 12px;
  border-radius: 14px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.84);
  backdrop-filter: blur(4px);
}

.brand {
  margin: 0;
  font-family: "Cormorant Garamond", Garamond, "Times New Roman", serif;
  font-size: 1.5rem;
  line-height: 1;
}

.nav-links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.topbar {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 16px;
}

.badge {
  display: inline-flex;
  align-items: center;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.84);
  padding: 6px 12px;
  font-size: 0.92rem;
  color: var(--muted);
}

.panel {
  position: relative;
  overflow: hidden;
  margin-bottom: 14px;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.97), rgba(255, 253, 250, 0.96));
  box-shadow:
    0 24px 50px -34px rgba(31, 25, 18, 0.44),
    0 10px 22px -18px rgba(31, 25, 18, 0.3);
}

.panel::after {
  content: "";
  position: absolute;
  right: -22px;
  top: -22px;
  width: 120px;
  height: 120px;
  border-radius: 50%;
  background: radial-gradient(circle at 35% 35%, rgba(128, 82, 38, 0.22), rgba(128, 82, 38, 0));
}

.panel-quiet::after,
.hero-kpi-card::after,
.quote-panel::after,
.feature-card::after {
  display: none;
}

.hero-split {
  display: grid;
  gap: 14px;
  grid-template-columns: 1.2fr 0.8fr;
}

.hero-copy {
  position: relative;
  z-index: 1;
}

.hero-title {
  margin: 0 0 10px;
  font-family: "Cormorant Garamond", Garamond, "Times New Roman", serif;
  font-size: clamp(2rem, 4.5vw, 3.2rem);
  line-height: 1.08;
  letter-spacing: 0.01em;
}

.section-title {
  margin: 0 0 10px;
  font-family: "Cormorant Garamond", Garamond, "Times New Roman", serif;
  font-size: clamp(1.4rem, 2.8vw, 2rem);
  line-height: 1.15;
}

.lead {
  margin: 0;
  color: var(--muted);
  font-size: 1.08rem;
}

.price-tag {
  margin: 12px 0 0;
  font-family: "Cormorant Garamond", Garamond, "Times New Roman", serif;
  font-size: clamp(1.7rem, 3.2vw, 2.6rem);
  font-weight: 700;
}

.hero-kpi-card {
  align-self: stretch;
  padding: 20px;
  border-radius: 16px;
  border: 1px solid #cdb58f;
  background:
    radial-gradient(circle at top right, rgba(128, 82, 38, 0.16), rgba(128, 82, 38, 0)),
    #fffaf3;
}

.hero-kpi-list {
  display: grid;
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.hero-kpi-list li {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 10px;
  padding-bottom: 8px;
  border-bottom: 1px solid #e6d4b7;
}

.hero-kpi-list li:last-child {
  border-bottom: 0;
  padding-bottom: 0;
}

.kpi-value {
  font-family: "Cormorant Garamond", Garamond, "Times New Roman", serif;
  font-size: 1.6rem;
  font-weight: 700;
}

.kpi-label {
  color: var(--muted);
  font-size: 0.95rem;
}

.grid {
  display: grid;
  gap: 14px;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
}

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

.two-col {
  display: grid;
  gap: 14px;
  grid-template-columns: 1.2fr 0.8fr;
}

.feature-card {
  border: 1px solid #d3b991;
  background: #fff8ee;
}

.feature-label {
  display: inline-flex;
  margin-bottom: 8px;
  padding: 4px 10px;
  border-radius: 999px;
  border: 1px solid #cfb086;
  color: var(--accent-strong);
  font-size: 0.86rem;
  font-weight: 700;
  letter-spacing: 0.01em;
  text-transform: uppercase;
}

.compare-list {
  margin: 0;
  padding-left: 20px;
}

.compare-list li {
  margin-bottom: 7px;
}

.timeline {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 12px;
}

.timeline li {
  padding: 11px 12px;
  border-radius: 12px;
  border: 1px solid #d5c2a4;
  background: #fffdf8;
}

.timeline-step {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 24px;
  min-height: 24px;
  margin-right: 8px;
  border-radius: 50%;
  border: 1px solid #c9ad83;
  background: #f8ead4;
  font-size: 0.86rem;
  font-weight: 700;
  color: var(--accent-strong);
}

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

.btn {
  cursor: pointer;
  font: inherit;
  font-size: 0.97rem;
  font-weight: 600;
  padding: 10px 16px;
  border-radius: 11px;
  border: 1px solid transparent;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: transform 120ms ease, box-shadow 120ms ease, background-color 120ms ease;
}

.btn:hover {
  transform: translateY(-1px);
}

.btn-primary,
button.btn-primary {
  color: var(--cta-ink);
  border-color: #2b2219;
  background: linear-gradient(180deg, #2d251c 0%, var(--cta) 100%);
  box-shadow: 0 10px 20px -12px rgba(31, 25, 18, 0.7);
}

.btn-secondary,
button.btn-secondary {
  color: var(--ink);
  border-color: var(--line);
  background: var(--soft);
}

.btn-light,
button.btn-light {
  color: var(--accent-strong);
  border-color: #d9c2a1;
  background: #fff8ea;
}

.hint {
  margin-bottom: 12px;
  padding: 11px 13px;
  border-radius: 12px;
  border: 1px solid var(--hint-line);
  background: var(--hint-bg);
}

.msg {
  border-radius: 12px;
  padding: 10px 12px;
  margin-bottom: 12px;
}

.msg-ok {
  background: var(--ok-bg);
  border: 1px solid var(--ok-line);
}

.msg-err {
  background: var(--err-bg);
  border: 1px solid var(--err-line);
}

.status-pill {
  display: inline-flex;
  border-radius: 999px;
  border: 1px solid var(--line);
  padding: 4px 11px;
  font-size: 0.9rem;
  background: #f7efe1;
}

.meta {
  color: var(--muted);
  font-size: 0.95rem;
}

.list {
  margin: 0;
  padding-left: 20px;
}

.list li {
  margin-bottom: 7px;
}

code {
  background: #f4ecdf;
  border: 1px solid #d8c6ac;
  border-radius: 7px;
  padding: 2px 6px;
  font-size: 0.92em;
}

.form-inline {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.form-field {
  display: flex;
  flex-direction: column;
  gap: 7px;
  margin-top: 10px;
}

.form-field label {
  font-weight: 700;
}

.form-field input[type="email"],
.form-field input[type="text"],
.form-field textarea,
.form-inline input[type="email"] {
  width: 100%;
  padding: 11px 12px;
  border: 1px solid #ccbca1;
  border-radius: 10px;
  background: #fff;
  font: inherit;
}

.form-inline input[type="email"] {
  min-width: 240px;
  flex: 1 1 280px;
}

.quote-panel {
  border: 1px solid #d8c09a;
  background:
    linear-gradient(140deg, rgba(128, 82, 38, 0.08), rgba(128, 82, 38, 0)),
    #fff9ef;
}

.quote-panel p {
  margin: 0;
  font-size: 1.04rem;
}

.quote-author {
  margin-top: 10px;
  color: var(--muted);
  font-size: 0.92rem;
}

.link-row {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.panel-muted {
  background: rgba(255, 255, 255, 0.72);
}

.article-grid {
  display: grid;
  gap: 14px;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
}

.article-card h3 {
  margin: 0 0 8px;
  font-family: "Cormorant Garamond", Garamond, "Times New Roman", serif;
  font-size: 1.45rem;
}

.article-card p {
  margin: 0;
}

.article-content {
  margin-top: 8px;
}

.article-content p {
  margin: 0 0 12px;
}

.article-content h2 {
  margin: 18px 0 10px;
  font-family: "Cormorant Garamond", Garamond, "Times New Roman", serif;
  font-size: clamp(1.28rem, 2.3vw, 1.8rem);
}

.article-content .list {
  margin-bottom: 12px;
}

.floating-card {
  animation: floatIn 620ms ease both;
}

.fade-card {
  animation: fadeIn 500ms ease both;
}

@keyframes floatIn {
  from {
    opacity: 0;
    transform: translateY(8px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }

  to {
    opacity: 1;
  }
}

@media (max-width: 980px) {
  .hero-split,
  .two-col,
  .three-col {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 860px) {
  .panel {
    padding: 20px;
  }

  .shell {
    padding-left: 14px;
    padding-right: 14px;
  }

  .site-nav {
    align-items: flex-start;
    flex-direction: column;
  }

  .nav-links {
    width: 100%;
  }
}
