:root {
  --bg: #f5efe3;
  --surface: rgba(255, 252, 246, 0.82);
  --surface-strong: #fffaf0;
  --ink: #1d2b2a;
  --muted: #586663;
  --accent: #0d5c63;
  --accent-strong: #083c42;
  --signal: #d66b2d;
  --border: rgba(29, 43, 42, 0.12);
  --shadow: 0 18px 50px rgba(29, 43, 42, 0.12);
}

* {
  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 left, rgba(214, 107, 45, 0.18), transparent 28%),
    radial-gradient(circle at top right, rgba(13, 92, 99, 0.16), transparent 34%),
    linear-gradient(180deg, #f8f1e3 0%, var(--bg) 100%);
}

a {
  color: inherit;
}

.page-shell {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
  padding: 28px 0 56px;
}

.hero,
.section,
.footer {
  backdrop-filter: blur(10px);
}

.hero {
  display: grid;
  grid-template-columns: 1.4fr 0.8fr;
  gap: 28px;
  align-items: stretch;
  padding: 34px;
  border: 1px solid var(--border);
  border-radius: 28px;
  background: var(--surface);
  box-shadow: var(--shadow);
}

.eyebrow,
.section-kicker,
.card-label {
  margin: 0 0 12px;
  font-size: 0.82rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--signal);
}

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

h1 {
  font-size: clamp(2.4rem, 6vw, 5.4rem);
  line-height: 0.96;
  margin-bottom: 18px;
  max-width: 10ch;
}

h2 {
  font-size: clamp(1.7rem, 3vw, 2.7rem);
  line-height: 1.05;
  margin-bottom: 14px;
}

h3 {
  font-size: 1.15rem;
  margin-bottom: 10px;
}

.lead,
.section p,
.panel p,
.footer p,
li {
  color: var(--muted);
  line-height: 1.6;
  font-size: 1.02rem;
}

.hero-actions,
.share-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  padding: 0 18px;
  border-radius: 999px;
  border: 1px solid transparent;
  font-weight: 700;
  text-decoration: none;
  cursor: pointer;
  transition: transform 160ms ease, background 160ms ease, border-color 160ms ease;
}

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

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

.button-secondary {
  background: transparent;
  border-color: var(--border);
  color: var(--ink);
}

.button-ghost {
  background: #efe6d6;
  color: var(--ink);
}

.hero-card,
.panel,
.resource-card,
.step,
.legal-note,
.footer {
  border: 1px solid var(--border);
  border-radius: 24px;
  background: var(--surface-strong);
}

.hero-card,
.panel,
.step,
.resource-card {
  padding: 24px;
}

.fact-list,
.panel ul {
  padding-left: 18px;
  margin-bottom: 0;
}

.section {
  margin-top: 24px;
  padding: 28px;
  border: 1px solid var(--border);
  border-radius: 28px;
  background: rgba(255, 250, 240, 0.7);
}

.grid-two {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.legal-note {
  display: flex;
  gap: 18px;
  align-items: flex-start;
  padding: 24px;
}

.legal-badge {
  flex: 0 0 auto;
  min-width: 72px;
  padding: 10px 14px;
  border-radius: 999px;
  background: #f7d7bf;
  color: #6f3110;
  font-weight: 700;
  text-align: center;
}

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

.step span {
  display: inline-flex;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  align-items: center;
  justify-content: center;
  margin-bottom: 12px;
  background: #e0ece8;
  color: var(--accent-strong);
  font-weight: 700;
}

.resource-card {
  display: flex;
  flex-direction: column;
  gap: 8px;
  text-decoration: none;
}

.resource-card strong {
  font-size: 1.05rem;
}

.resource-card span {
  color: var(--muted);
  line-height: 1.45;
}

.price {
  font-size: clamp(2rem, 5vw, 3.8rem);
  line-height: 1;
  color: var(--accent-strong);
  margin-bottom: 12px;
}

.share-section {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 24px;
  align-items: center;
}

.copy-state {
  grid-column: 2;
  margin: 0;
  min-height: 24px;
  color: var(--accent-strong);
  font-weight: 700;
}

.footer {
  margin-top: 24px;
  padding: 24px 28px;
  display: flex;
  justify-content: space-between;
  gap: 16px;
}

.footer-meta {
  display: flex;
  flex-direction: column;
  gap: 8px;
  color: var(--muted);
  text-align: right;
}

@media (max-width: 860px) {
  .hero,
  .grid-two,
  .share-section,
  .steps,
  .resource-grid,
  .footer {
    grid-template-columns: 1fr;
    display: grid;
  }

  .share-actions,
  .copy-state,
  .footer-meta {
    grid-column: auto;
    text-align: left;
  }

  .hero,
  .section,
  .footer {
    padding: 22px;
  }

  h1 {
    max-width: none;
  }
}
