@import url("https://fonts.googleapis.com/css2?family=Manrope:wght@400;500;600;700;800&family=Fraunces:opsz,wght@9..144,500;9..144,600;9..144,700&display=swap");

:root {
  --bg: #f5f1e8;
  --surface: rgba(255, 252, 247, 0.78);
  --surface-dark: #173f3d;
  --surface-dark-2: #245651;
  --line: rgba(23, 63, 61, 0.12);
  --text: #173231;
  --text-soft: #627674;
  --text-on-dark: #f8f4ed;
  --accent-soft: rgba(201, 125, 79, 0.14);
  --success-soft: rgba(52, 109, 103, 0.14);
  --blue-soft: rgba(91, 122, 157, 0.14);
  --shadow-soft: 0 20px 50px rgba(23, 47, 48, 0.08);
  --shadow-strong: 0 28px 80px rgba(20, 42, 43, 0.11);
  --radius-xl: 36px;
  --radius-lg: 24px;
  --content-width: 1240px;
}

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

body {
  margin: 0;
  min-width: 320px;
  font-family: "Manrope", sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at top left, rgba(201, 125, 79, 0.12), transparent 26%),
    radial-gradient(circle at top right, rgba(36, 86, 81, 0.10), transparent 24%),
    linear-gradient(180deg, #f7f3ea 0%, #f3eee5 52%, #efe9dd 100%);
}

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

.site-shell {
  width: min(var(--content-width), calc(100% - 36px));
  margin: 0 auto;
  padding-bottom: 38px;
}

.topbar {
  position: sticky;
  top: 16px;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin: 18px auto 0;
  padding: 18px 24px;
  border: 1px solid rgba(255, 255, 255, 0.52);
  border-radius: 999px;
  background: rgba(255, 253, 249, 0.76);
  backdrop-filter: blur(18px);
  box-shadow: 0 18px 45px rgba(25, 50, 51, 0.08);
}

.brand {
  display: flex;
  align-items: center;
  gap: 16px;
  min-width: 0;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 56px;
  height: 56px;
  border-radius: 18px;
  background: linear-gradient(135deg, #215651, #1a4744);
  color: var(--text-on-dark);
  font-family: "Fraunces", serif;
  font-size: 1.6rem;
  font-weight: 600;
}

.brand-copy {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.brand-copy strong {
  font-size: 1.05rem;
  font-weight: 800;
}

.brand-copy span,
.main-nav a,
.text-link,
.meta,
.section-copy,
.preview-card p,
.info-card p,
.section-panel p,
.stack-card p,
.pricing-copy,
.list-card li,
.cta-card p,
.footer p,
.legal-panel p {
  color: var(--text-soft);
}

.brand-copy span,
.main-nav a,
.text-link {
  font-size: 0.96rem;
}

.main-nav,
.nav-actions,
.hero-actions,
.key-points,
.tag-row,
.cta-actions,
.footer-links,
.stats-row {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
}

.main-nav a:hover,
.main-nav a.is-active,
.text-link:hover,
.footer-links a:hover,
.inline-link:hover {
  color: var(--surface-dark);
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  padding: 0 22px;
  border-radius: 999px;
  border: 1px solid transparent;
  font-weight: 700;
  transition: transform 180ms ease, box-shadow 180ms ease, background 180ms ease;
}

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

.button-solid {
  color: var(--text-on-dark);
  background: linear-gradient(135deg, var(--surface-dark), var(--surface-dark-2));
  box-shadow: 0 14px 32px rgba(23, 63, 61, 0.18);
}

.button-ghost {
  color: var(--surface-dark);
  border-color: rgba(23, 63, 61, 0.14);
  background: rgba(255, 255, 255, 0.50);
}

.button-ghost.light {
  color: var(--text-on-dark);
  border-color: rgba(255, 255, 255, 0.16);
  background: rgba(255, 255, 255, 0.08);
}

.eyebrow {
  margin: 0 0 16px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #2e6b66;
  font-size: 0.82rem;
  font-weight: 800;
}

.lead,
.section-copy,
.preview-card p,
.info-card p,
.section-panel p,
.stack-card p,
.pricing-copy,
.list-card li,
.cta-card p,
.footer p,
.legal-panel p {
  line-height: 1.72;
  font-size: 1rem;
}

h1,
h2,
h3 {
  margin: 0;
  font-family: "Fraunces", serif;
  line-height: 0.98;
  letter-spacing: -0.03em;
}

h1 { font-size: clamp(3rem, 5vw, 5.7rem); }
h2 { font-size: clamp(2.15rem, 3vw, 3.4rem); }
h3 { font-size: 1.45rem; }

.hero {
  display: grid;
  gap: 34px;
  align-items: center;
  padding: 68px 0 28px;
}

.hero-home { grid-template-columns: minmax(0, 1.04fr) minmax(0, 0.96fr); }
.hero-page { grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr); padding-bottom: 18px; }
.hero-copy h1 { max-width: 10.2ch; }
.lead { max-width: 58ch; margin: 22px 0 0; font-size: 1.08rem; }

.key-points {
  list-style: none;
  margin: 26px 0 0;
  padding: 0;
}

.key-points li {
  padding: 10px 14px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.52);
  color: var(--text);
  font-size: 0.93rem;
}

.hero-stage,
.page-stage {
  padding: 24px;
  border-radius: var(--radius-xl);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.86), rgba(247, 242, 233, 0.92)),
    linear-gradient(135deg, rgba(201, 125, 79, 0.06), rgba(36, 86, 81, 0.08));
  border: 1px solid rgba(23, 63, 61, 0.08);
  box-shadow: var(--shadow-strong);
}

.preview-card,
.info-card,
.section-panel,
.stack-card,
.pricing-card,
.price-box,
.legal-panel,
.summary-card {
  border: 1px solid var(--line);
  background: var(--surface);
  box-shadow: var(--shadow-soft);
}

.preview-card,
.info-card,
.section-panel,
.stack-card,
.legal-panel,
.summary-card {
  border-radius: var(--radius-lg);
  padding: 26px;
}

.preview-card-large {
  padding: 30px;
  margin-bottom: 18px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.92), rgba(250, 244, 233, 0.96));
}

.preview-topline {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 16px;
}

.preview-grid,
.three-up,
.stack-grid,
.pricing-grid,
.team-grid {
  display: grid;
  gap: 18px;
}

.preview-grid,
.pricing-grid,
.team-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.three-up { grid-template-columns: repeat(3, minmax(0, 1fr)); }

.pill,
.tag {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 0 14px;
  border-radius: 999px;
  font-size: 0.9rem;
  font-weight: 700;
}

.pill-alert { background: var(--accent-soft); color: #8d4f25; }
.pill-calm { background: var(--success-soft); color: #245651; }
.pill-soft { background: var(--blue-soft); color: #48677e; }

.tag {
  color: var(--text-soft);
  border: 1px solid rgba(23, 63, 61, 0.10);
  background: rgba(255, 255, 255, 0.54);
}

.section { padding: 40px 0; }
.compact-section { padding-top: 26px; }
.section-header { max-width: 780px; margin-bottom: 26px; }

.split-section {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.inline-link {
  display: inline-block;
  margin-top: 18px;
  color: var(--surface-dark);
  font-weight: 700;
}

.page-summary { display: grid; gap: 18px; }

.stats-row { margin-top: 18px; }

.stat {
  min-width: 150px;
  padding: 16px 18px;
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.52);
  border: 1px solid rgba(23, 63, 61, 0.10);
}

.stat strong {
  display: block;
  font-size: 1.45rem;
  font-weight: 800;
  color: var(--surface-dark);
}

.stat span { font-size: 0.94rem; color: var(--text-soft); }

.stack-card strong {
  display: block;
  margin-top: 16px;
  font-size: 1.08rem;
}

.list-card ul {
  list-style: none;
  margin: 18px 0 0;
  padding: 0;
}

.list-card li {
  position: relative;
  padding-left: 24px;
  margin-bottom: 12px;
}

.list-card li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 11px;
  width: 9px;
  height: 9px;
  border-radius: 999px;
  background: #2e6b66;
}

.pricing-card {
  padding: 30px;
  border-radius: var(--radius-xl);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.84), rgba(251, 246, 238, 0.94));
}

.pricing-grid { margin-top: 22px; }

.price-box {
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-height: 220px;
  padding: 26px;
  border-radius: var(--radius-lg);
  background: linear-gradient(180deg, #173f3d, #22534f);
  color: var(--text-on-dark);
}

.price-box strong {
  margin-top: 12px;
  font-family: "Fraunces", serif;
  font-size: 3rem;
  line-height: 1;
}

.price-box p,
.price-box span { color: rgba(248, 244, 237, 0.78); }

.price-box.alt {
  background: linear-gradient(180deg, #fcfaf6, #f5eee2);
  color: var(--text);
}

.price-box.alt p,
.price-box.alt span { color: var(--text-soft); }

.cta-section { padding-top: 18px; }

.cta-card {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 26px;
  align-items: center;
  padding: 34px;
  border-radius: var(--radius-xl);
  color: var(--text-on-dark);
  background:
    radial-gradient(circle at top right, rgba(255, 255, 255, 0.10), transparent 28%),
    linear-gradient(135deg, #173f3d, #1f4d49 52%, #315d58);
  box-shadow: var(--shadow-strong);
}

.cta-card .eyebrow,
.cta-card p { color: rgba(248, 244, 237, 0.84); }

.footer {
  display: flex;
  justify-content: space-between;
  gap: 22px;
  align-items: flex-start;
  padding: 28px 0 10px;
  border-top: 1px solid rgba(23, 63, 61, 0.10);
}

.footer-brand { max-width: 560px; }
.legal-main { padding-top: 56px; }

@media (max-width: 1140px) {
  .topbar { border-radius: 30px; }
  .main-nav { display: none; }
  .hero-home,
  .hero-page,
  .split-section,
  .three-up,
  .preview-grid,
  .pricing-grid,
  .team-grid,
  .cta-card { grid-template-columns: 1fr; }
}

@media (max-width: 760px) {
  .site-shell { width: min(100% - 22px, var(--content-width)); }
  .topbar {
    top: 10px;
    flex-direction: column;
    align-items: stretch;
    border-radius: 28px;
    padding: 16px;
  }
  .nav-actions { width: 100%; }
  .nav-actions .button,
  .hero-actions .button,
  .cta-actions .button { width: 100%; }
  .hero { padding-top: 40px; }
  .footer { flex-direction: column; }
}
