:root {
  --bg: #f3efe5;
  --surface: rgba(255, 252, 245, 0.78);
  --surface-strong: rgba(255, 250, 240, 0.92);
  --ink: #1e1b15;
  --muted: #625847;
  --line: rgba(30, 27, 21, 0.12);
  --accent-coral: #d96b52;
  --accent-gold: #d0a14a;
  --accent-sky: #4d86a8;
  --accent-green: #58745c;
  --shadow: 0 28px 80px rgba(54, 36, 11, 0.12);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  color: var(--ink);
  font-family: "SUIT", sans-serif;
  background:
    radial-gradient(circle at top left, rgba(217, 107, 82, 0.18), transparent 32%),
    radial-gradient(circle at 85% 12%, rgba(77, 134, 168, 0.15), transparent 28%),
    linear-gradient(135deg, #fbf7ef 0%, #f2ead9 46%, #ede5d3 100%);
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background-image: linear-gradient(rgba(255, 255, 255, 0.05) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, 0.04) 1px, transparent 1px);
  background-size: 26px 26px;
  mask-image: radial-gradient(circle at center, black 45%, transparent 95%);
}

img {
  max-width: 100%;
}

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

p,
li {
  line-height: 1.75;
}

.site-layout {
  position: relative;
  z-index: 1;
}

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

.site-header {
  margin-bottom: 24px;
}

.topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 26px;
  padding: 14px 16px;
  border: 1px solid var(--line);
  border-radius: 22px;
  background: rgba(255, 252, 245, 0.62);
  backdrop-filter: blur(14px);
  box-shadow: var(--shadow);
}

.brand,
.hero h1,
.section-heading h2,
.article-page h1,
.site-footer h2,
.quote-box p {
  font-family: "Black Han Sans", sans-serif;
  letter-spacing: -0.02em;
}

.brand {
  font-size: 1.12rem;
}

.nav-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 10px;
}

.nav-links a,
.footer-links a,
.inline-link {
  padding: 10px 14px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.44);
}

.hero {
  display: grid;
  gap: 22px;
}

.hero-wide {
  grid-template-columns: minmax(0, 1.25fr) minmax(300px, 0.75fr);
  align-items: stretch;
}

.hero-copy,
.hero-panel,
.section,
.article-card,
.snapshot-card,
.feature-list article,
.faq-list article {
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  backdrop-filter: blur(14px);
}

.hero-copy,
.hero-panel,
.section {
  background: linear-gradient(180deg, rgba(255, 252, 245, 0.84), rgba(255, 248, 238, 0.7));
}

.hero-copy {
  padding: 40px;
  border-radius: 36px;
}

.hero h1,
.article-page h1 {
  margin: 12px 0 18px;
  line-height: 0.96;
}

.hero h1 {
  font-size: clamp(3.1rem, 7vw, 5.6rem);
}

.hero-text,
.section-text,
.article-card p,
.snapshot-card p,
.feature-list p,
.faq-list p,
.site-footer p,
.article-body p,
.prose-grid p {
  color: var(--muted);
  font-size: 1.03rem;
}

.eyebrow,
.section-kicker,
.panel-label,
.article-meta,
.footer-note {
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-size: 0.74rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 26px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 170px;
  padding: 14px 20px;
  border-radius: 999px;
  font-weight: 800;
}

.button.primary {
  background: var(--ink);
  color: #fff9f0;
}

.button.secondary {
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.5);
}

.hero-panel {
  padding: 30px;
  border-radius: 32px;
  background: linear-gradient(180deg, rgba(27, 23, 18, 0.94), rgba(53, 44, 33, 0.86));
  color: #fff8ec;
}

.hero-panel ul {
  list-style: none;
  margin: 18px 0 0;
  padding: 0;
  display: grid;
  gap: 18px;
}

.hero-panel li {
  display: grid;
  gap: 5px;
}

.hero-panel span {
  color: rgba(255, 248, 236, 0.74);
}

.section {
  margin-top: 28px;
  padding: 34px;
  border-radius: 32px;
}

.section-heading {
  display: grid;
  gap: 10px;
  margin-bottom: 24px;
}

.section-heading h2,
.article-page h1,
.site-footer h2 {
  font-size: clamp(2rem, 4vw, 3.2rem);
}

.prose-grid,
.article-grid,
.snapshot-grid,
.feature-list,
.faq-list,
.footer-links {
  display: grid;
  gap: 18px;
}

.prose-grid,
.article-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

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

.feature-list,
.snapshot-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.article-card,
.snapshot-card,
.feature-list article,
.faq-list article {
  position: relative;
  overflow: hidden;
  min-height: 210px;
  padding: 24px;
  border-radius: 24px;
  background: var(--surface);
}

.article-card::after,
.snapshot-card::after,
.feature-list article::after,
.faq-list article::after {
  content: "";
  position: absolute;
  right: -36px;
  bottom: -56px;
  width: 130px;
  height: 130px;
  border-radius: 50%;
  opacity: 0.14;
  background: var(--accent-green);
}

.accent-coral::after {
  background: var(--accent-coral);
}

.accent-gold::after {
  background: var(--accent-gold);
}

.accent-sky::after {
  background: var(--accent-sky);
}

.article-card h3,
.snapshot-card h3,
.feature-list h3,
.faq-list h3 {
  margin: 12px 0 10px;
  font-size: 1.34rem;
  line-height: 1.25;
}

.split-section {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(280px, 0.9fr);
  align-items: center;
  gap: 18px;
}

.quote-box {
  padding: 30px;
  border-radius: 28px;
  border: 1px solid var(--line);
  background: linear-gradient(135deg, rgba(217, 107, 82, 0.12), rgba(255, 255, 255, 0.64));
  box-shadow: var(--shadow);
}

.quote-box p {
  margin: 0;
  font-size: clamp(1.5rem, 3vw, 2.3rem);
  line-height: 1.15;
}

.article-page {
  max-width: 920px;
  margin-left: auto;
  margin-right: auto;
}

.article-body {
  display: grid;
  gap: 8px;
}

.article-body h2 {
  margin: 18px 0 2px;
  font-size: 1.35rem;
}

.article-body p {
  margin: 0;
}

.inner-page .section {
  margin-top: 0;
}

.site-footer {
  display: grid;
  gap: 18px;
  margin-top: 28px;
  padding: 30px 32px;
  border: 1px solid var(--line);
  border-radius: 28px;
  background: rgba(31, 28, 24, 0.92);
  color: #fff6e7;
  box-shadow: var(--shadow);
}

.site-footer p {
  color: rgba(255, 246, 231, 0.76);
}

.footer-links {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.footer-note {
  color: rgba(255, 246, 231, 0.56);
}

.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 680ms ease, transform 680ms ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

.delay-1 {
  transition-delay: 100ms;
}

.delay-2 {
  transition-delay: 220ms;
}

@media (max-width: 980px) {
  .hero-wide,
  .split-section,
  .prose-grid,
  .article-grid,
  .feature-list,
  .snapshot-grid,
  .footer-links {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 720px) {
  .topbar,
  .hero-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .nav-links {
    justify-content: stretch;
  }

  .hero-copy,
  .hero-panel,
  .section,
  .site-footer {
    padding: 24px;
  }

  .button {
    width: 100%;
  }
}

@media (max-width: 560px) {
  .page-shell {
    width: min(100% - 16px, 1160px);
    padding-top: 12px;
  }

  .hero h1,
  .article-page h1,
  .section-heading h2,
  .site-footer h2 {
    line-height: 1.02;
  }

  .hero h1 {
    font-size: clamp(2.5rem, 14vw, 3.8rem);
  }
}
