:root {
  --bg: #f6f0e6;
  --bg-strong: #f0e4d0;
  --surface: rgba(255, 251, 245, 0.8);
  --surface-strong: #fffaf3;
  --text: #1c2420;
  --muted: #526158;
  --line: rgba(28, 36, 32, 0.11);
  --accent: #c35f2d;
  --accent-deep: #873913;
  --sage: #70896f;
  --sage-deep: #30483a;
  --shadow: 0 24px 80px rgba(47, 45, 35, 0.12);
  --radius-xl: 32px;
  --radius-lg: 24px;
  --radius-md: 18px;
  --radius-sm: 12px;
  --content-width: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  background:
    radial-gradient(circle at top left, rgba(195, 95, 45, 0.22), transparent 24%),
    radial-gradient(circle at 90% 12%, rgba(112, 137, 111, 0.22), transparent 20%),
    linear-gradient(180deg, #fbf6ee 0%, var(--bg) 48%, #efe7d8 100%);
  color: var(--text);
  font-family: "Avenir Next", "Segoe UI", "Helvetica Neue", sans-serif;
  line-height: 1.55;
}

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

img {
  max-width: 100%;
  display: block;
}

.page-shell {
  width: min(calc(100% - 2rem), var(--content-width));
  margin: 0 auto;
  padding-bottom: 3rem;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin: 1.25rem 0 2.5rem;
  padding: 0.95rem 1.2rem;
  border: 1px solid rgba(255, 255, 255, 0.5);
  border-radius: 999px;
  backdrop-filter: blur(20px);
  background: rgba(248, 242, 231, 0.75);
  box-shadow: 0 10px 30px rgba(34, 31, 24, 0.06);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.8rem;
}

.brand-mark {
  width: 1rem;
  height: 1rem;
  border-radius: 999px;
  background: linear-gradient(145deg, var(--accent), #e6a86b);
  box-shadow: 0 0 0 8px rgba(195, 95, 45, 0.12);
}

.brand-lockup {
  display: flex;
  flex-direction: column;
}

.brand-name {
  font-family: "Iowan Old Style", "Palatino Linotype", serif;
  font-size: 1.2rem;
  font-weight: 700;
  line-height: 1;
}

.brand-tag {
  color: var(--muted);
  font-size: 0.8rem;
}

.site-nav {
  display: inline-flex;
  gap: 1.4rem;
  align-items: center;
  color: var(--muted);
  font-size: 0.95rem;
}

.site-nav a {
  position: relative;
}

.site-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -0.2rem;
  width: 100%;
  height: 1px;
  background: currentColor;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 180ms ease;
}

.site-nav a:hover::after,
.site-nav a:focus-visible::after {
  transform: scaleX(1);
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 0;
  border-radius: 999px;
  padding: 0.95rem 1.4rem;
  background: linear-gradient(135deg, var(--accent), var(--accent-deep));
  color: #fffaf5;
  font-weight: 700;
  letter-spacing: 0.01em;
  box-shadow: 0 14px 30px rgba(135, 57, 19, 0.22);
  cursor: pointer;
  transition:
    transform 180ms ease,
    box-shadow 180ms ease,
    filter 180ms ease;
}

.button:hover,
.button:focus-visible {
  transform: translateY(-2px);
  box-shadow: 0 18px 35px rgba(135, 57, 19, 0.25);
  filter: saturate(1.05);
}

.button-secondary {
  background: rgba(255, 255, 255, 0.42);
  color: var(--sage-deep);
  box-shadow: inset 0 0 0 1px rgba(48, 72, 58, 0.14);
}

.button-small {
  padding: 0.75rem 1rem;
  font-size: 0.92rem;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(320px, 0.9fr);
  gap: 2rem;
  align-items: stretch;
  padding: 1.4rem 0 1rem;
}

.hero-copy,
.hero-panel,
.story-card,
.section-method,
.section-offers,
.section-about,
.section-newsletter,
.section-convert,
.section-faq {
  animation: fade-up 720ms ease both;
}

.hero-copy {
  padding: 2rem 0.5rem 1rem 0;
}

.eyebrow {
  margin: 0 0 0.75rem;
  color: var(--accent-deep);
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.hero h1,
.section h2,
.story-card h2,
.blog-hero h1,
.article-header h1 {
  margin: 0;
  font-family: "Iowan Old Style", "Palatino Linotype", serif;
  line-height: 0.96;
  letter-spacing: -0.03em;
}

.hero h1 {
  max-width: 11ch;
  font-size: clamp(3.4rem, 8vw, 6.4rem);
}

.hero-text,
.section-intro p,
.about-copy p,
.story-card p,
.faq-card p,
.offer-card p,
.timeline-step p,
.credential-card h3,
.site-footer p {
  color: var(--muted);
}

.hero-text {
  max-width: 56ch;
  margin: 1.5rem 0 0;
  font-size: 1.1rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-top: 2rem;
}

.hero-points {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  padding: 0;
  margin: 1.8rem 0 0;
  list-style: none;
}

.hero-points li,
.trust-strip p,
.offer-kicker,
.card-label,
.credential-label,
.offer-price,
.stat {
  font-size: 0.92rem;
}

.hero-points li {
  padding: 0.65rem 0.9rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.5);
  border: 1px solid rgba(255, 255, 255, 0.7);
}

.hero-panel {
  padding: 1.2rem;
  border-radius: var(--radius-xl);
  background:
    linear-gradient(160deg, rgba(255, 250, 243, 0.9), rgba(238, 230, 214, 0.82)),
    var(--surface);
  box-shadow: var(--shadow);
  border: 1px solid rgba(255, 255, 255, 0.55);
}

.hero-card-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
  margin-top: 1rem;
}

.hero-card,
.offer-card,
.timeline-step,
.credential-card,
.faq-card,
.signup-form,
.story-card {
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.68);
  border-radius: var(--radius-lg);
}

.hero-card {
  padding: 1.25rem;
}

.hero-card-accent {
  background: linear-gradient(150deg, #203229, #30483a);
  color: #f8f2e9;
  border-color: rgba(255, 255, 255, 0.08);
}

.hero-card-accent p,
.hero-card-accent .card-label {
  color: rgba(248, 242, 233, 0.85);
}

.hero-card h2,
.hero-card h3,
.offer-card h3,
.timeline-step h3,
.credential-card h3,
.faq-card h3 {
  margin: 0;
  font-family: "Iowan Old Style", "Palatino Linotype", serif;
}

.hero-card h2 {
  font-size: 2rem;
  line-height: 1.02;
  margin-top: 0.35rem;
}

.card-label,
.offer-kicker,
.credential-label {
  margin: 0 0 0.4rem;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-weight: 700;
}

.stat {
  margin: 0 0 0.3rem;
  color: var(--accent-deep);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
}

.trust-strip {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  margin: 1.2rem 0 0;
}

.trust-strip p {
  margin: 0;
  padding: 1rem 1.1rem;
  border-top: 1px solid var(--line);
  color: var(--sage-deep);
}

.section {
  margin-top: 5.5rem;
}

.section-intro {
  max-width: 58rem;
}

.section h2,
.story-card h2 {
  font-size: clamp(2.3rem, 5vw, 4.2rem);
}

.timeline {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1rem;
  margin-top: 2rem;
}

.timeline-step {
  padding: 1.4rem;
}

.timeline-number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 999px;
  background: rgba(112, 137, 111, 0.12);
  color: var(--sage-deep);
  font-weight: 700;
  margin-bottom: 1rem;
}

.offer-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.3rem;
  margin-top: 2rem;
}

.offer-card {
  padding: 1.7rem;
}

.offer-card-featured {
  background:
    linear-gradient(180deg, rgba(255, 250, 243, 0.88), rgba(236, 224, 203, 0.95)),
    rgba(255, 255, 255, 0.65);
}

.offer-price {
  margin: 0.8rem 0 0;
  color: var(--accent-deep);
  font-weight: 700;
}

.offer-list {
  display: grid;
  gap: 0.8rem;
  padding-left: 1.2rem;
  margin: 1.2rem 0 1.6rem;
}

.offer-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
}

.offer-list li {
  color: var(--muted);
}

.about-layout,
.content-grid,
.newsletter-layout,
.convert-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(280px, 0.9fr);
  gap: 1.5rem;
  align-items: start;
}

.content-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-top: 2rem;
}

.journal-preview {
  margin-top: 2rem;
  padding: 1.6rem;
  border: 1px solid var(--line);
  border-radius: var(--radius-xl);
  background: rgba(255, 255, 255, 0.58);
  box-shadow: 0 16px 42px rgba(47, 45, 35, 0.06);
}

.journal-preview-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1.4rem;
}

.journal-preview-head h3 {
  margin: 0;
  font-family: "Iowan Old Style", "Palatino Linotype", serif;
  font-size: clamp(1.8rem, 4vw, 2.6rem);
}

.journal-preview-head p:last-child {
  margin-bottom: 0;
}

.content-card {
  padding: 1.5rem;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: rgba(255, 255, 255, 0.7);
  box-shadow: 0 16px 42px rgba(47, 45, 35, 0.06);
}

.content-card h3 {
  margin: 0;
  font-family: "Iowan Old Style", "Palatino Linotype", serif;
}

.content-card p:last-of-type {
  margin-bottom: 1.4rem;
}

.post-grid,
.blog-index-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}

.post-card {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
  padding: 1.35rem;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: rgba(255, 255, 255, 0.72);
  box-shadow: 0 16px 42px rgba(47, 45, 35, 0.06);
}

.post-card h3 {
  margin: 0;
  font-family: "Iowan Old Style", "Palatino Linotype", serif;
  font-size: 1.5rem;
  line-height: 1.08;
}

.post-card p {
  margin: 0;
}

.post-meta,
.article-meta {
  color: var(--accent-deep);
  font-size: 0.92rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.post-link,
.article-back a {
  color: var(--sage-deep);
  font-weight: 700;
}

.post-link:hover,
.post-link:focus-visible,
.article-back a:hover,
.article-back a:focus-visible {
  color: var(--accent-deep);
}

.about-copy {
  padding-right: 1rem;
}

.about-credentials {
  display: grid;
  gap: 1rem;
}

.research-links {
  display: grid;
  gap: 0.8rem;
  margin-top: 1.5rem;
}

.research-links a {
  width: fit-content;
  color: var(--sage-deep);
  font-weight: 600;
  border-bottom: 1px solid rgba(48, 72, 58, 0.18);
}

.research-links a:hover,
.research-links a:focus-visible {
  color: var(--accent-deep);
  border-color: rgba(135, 57, 19, 0.25);
}

.credential-card {
  padding: 1.25rem;
  box-shadow: 0 12px 34px rgba(47, 45, 35, 0.05);
}

.story-card {
  padding: 2.2rem;
  background:
    linear-gradient(135deg, rgba(255, 250, 243, 0.82), rgba(242, 235, 224, 0.9)),
    rgba(255, 255, 255, 0.62);
}

.signup-form {
  padding: 1.4rem;
  box-shadow: 0 16px 42px rgba(47, 45, 35, 0.08);
}

.signup-form-compact {
  background: rgba(255, 255, 255, 0.8);
}

.field {
  display: grid;
  gap: 0.45rem;
  margin-bottom: 1rem;
  color: var(--sage-deep);
  font-weight: 600;
}

.field span {
  font-size: 0.95rem;
}

.field input {
  width: 100%;
  border: 1px solid rgba(48, 72, 58, 0.18);
  border-radius: 14px;
  padding: 0.95rem 1rem;
  background: rgba(255, 255, 255, 0.78);
  color: var(--text);
  font: inherit;
}

.field input:focus {
  outline: 2px solid rgba(195, 95, 45, 0.25);
  outline-offset: 2px;
  border-color: rgba(195, 95, 45, 0.45);
}

.form-note,
.form-status {
  margin: 0.9rem 0 0;
  font-size: 0.92rem;
  color: var(--muted);
}

.form-status {
  min-height: 1.4rem;
}

.form-status.is-success {
  color: var(--sage-deep);
}

.form-status.is-error {
  color: var(--accent-deep);
}

.faq-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
  margin-top: 2rem;
}

.blog-main {
  margin-top: 1rem;
}

.blog-hero {
  max-width: 50rem;
  padding: 1.2rem 0 0.5rem;
}

.blog-hero h1 {
  font-size: clamp(3rem, 7vw, 5.4rem);
}

.blog-lead {
  margin-top: 1.4rem;
  color: var(--muted);
  font-size: 1.1rem;
}

.article-shell {
  max-width: 52rem;
  margin: 1rem auto 0;
}

.article-back {
  margin: 0 0 1rem;
}

.article-card {
  padding: 2rem;
  border: 1px solid var(--line);
  border-radius: var(--radius-xl);
  background: rgba(255, 255, 255, 0.74);
  box-shadow: var(--shadow);
}

.article-header h1 {
  font-size: clamp(2.8rem, 7vw, 4.9rem);
}

.article-summary {
  margin-top: 1rem;
  color: var(--muted);
  font-size: 1.08rem;
}

.article-body {
  margin-top: 2rem;
}

.article-body h2,
.article-body h3 {
  margin: 2rem 0 0.8rem;
  font-family: "Iowan Old Style", "Palatino Linotype", serif;
  line-height: 1.05;
}

.article-body h2 {
  font-size: clamp(1.9rem, 4vw, 2.6rem);
}

.article-body h3 {
  font-size: 1.45rem;
}

.article-body p,
.article-body li,
.article-body blockquote {
  color: var(--muted);
  font-size: 1.02rem;
}

.article-body ul,
.article-body ol {
  display: grid;
  gap: 0.7rem;
  margin: 1rem 0 1.2rem;
  padding-left: 1.2rem;
}

.article-body a {
  color: var(--sage-deep);
  text-decoration: underline;
  text-underline-offset: 0.18em;
}

.article-body blockquote {
  margin: 1.4rem 0;
  padding: 1rem 1.2rem;
  border-left: 3px solid rgba(135, 57, 19, 0.28);
  background: rgba(240, 228, 208, 0.5);
  border-radius: var(--radius-md);
}

.article-body code {
  padding: 0.15rem 0.35rem;
  border-radius: 8px;
  background: rgba(48, 72, 58, 0.08);
  color: var(--sage-deep);
  font-family: "SFMono-Regular", "Consolas", monospace;
}

.template-page {
  background:
    radial-gradient(circle at top right, rgba(112, 137, 111, 0.18), transparent 18%),
    radial-gradient(circle at left 12%, rgba(195, 95, 45, 0.18), transparent 16%),
    linear-gradient(180deg, #f9f4ec 0%, #f1e7d8 100%);
}

.template-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin: 1.5rem 0 2rem;
}

.template-main h1 {
  margin: 0;
  font-family: "Iowan Old Style", "Palatino Linotype", serif;
  font-size: clamp(2.6rem, 7vw, 4.8rem);
  line-height: 0.98;
  letter-spacing: -0.03em;
}

.template-grid,
.template-log-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
  margin-top: 2rem;
}

.template-card {
  padding: 1.4rem;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: rgba(255, 255, 255, 0.74);
  box-shadow: 0 12px 34px rgba(47, 45, 35, 0.06);
}

.template-card-wide {
  grid-column: 1 / -1;
}

.template-card h2,
.template-card h3 {
  margin: 0;
  font-family: "Iowan Old Style", "Palatino Linotype", serif;
}

.template-list {
  display: grid;
  gap: 0.7rem;
  margin: 1rem 0 0;
  padding-left: 1.15rem;
  color: var(--muted);
}

.template-log {
  margin-top: 4rem;
}

.template-log-head {
  max-width: 42rem;
}

.faq-card {
  padding: 1.3rem;
}

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  margin-top: 5rem;
  padding: 1.5rem 0 2rem;
  border-top: 1px solid var(--line);
}

@keyframes fade-up {
  from {
    opacity: 0;
    transform: translateY(18px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (max-width: 980px) {
  .site-header,
  .hero,
  .timeline,
  .offer-grid,
  .about-layout,
  .content-grid,
  .post-grid,
  .blog-index-grid,
  .newsletter-layout,
  .convert-layout,
  .faq-grid,
  .site-footer,
  .trust-strip {
    grid-template-columns: 1fr;
    flex-direction: column;
  }

  .site-header {
    align-items: flex-start;
    border-radius: 28px;
  }

  .site-nav {
    flex-wrap: wrap;
    gap: 0.8rem 1rem;
  }

  .hero-copy {
    padding-right: 0;
  }

  .hero h1 {
    max-width: 12ch;
  }

  .journal-preview-head {
    align-items: flex-start;
    flex-direction: column;
  }

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

@media (max-width: 720px) {
  .page-shell {
    width: min(calc(100% - 1rem), var(--content-width));
  }

  .site-header {
    margin-top: 0.8rem;
    padding: 1rem;
  }

  .hero h1 {
    font-size: clamp(2.8rem, 15vw, 4.4rem);
  }

  .hero-card-grid,
  .content-grid,
  .post-grid,
  .blog-index-grid,
  .faq-grid,
  .template-grid,
  .template-log-grid {
    grid-template-columns: 1fr;
  }

  .button,
  .button-small {
    width: 100%;
  }

  .offer-actions {
    flex-direction: column;
  }

  .hero-actions {
    flex-direction: column;
  }

  .hero-points {
    flex-direction: column;
  }

  .template-header {
    align-items: stretch;
    flex-direction: column;
  }

  .article-card {
    padding: 1.4rem;
  }
}
