:root {
  --bg: #f7efe3;
  --paper: #fffaf2;
  --paper-2: #fff5e7;
  --white: #ffffff;
  --ink: #1c1712;
  --muted: #6f665c;
  --line: rgba(28, 23, 18, 0.12);
  --accent: #c8741b;
  --accent-2: #f2b24f;
  --accent-soft: rgba(200, 116, 27, 0.10);
  --shadow: 0 22px 50px rgba(42, 25, 6, 0.08);
  --shadow-soft: 0 12px 30px rgba(42, 25, 6, 0.05);
  --radius: 28px;
  --radius-md: 20px;
  --radius-sm: 14px;
  --content: 1120px;
  --article: 920px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background:
    radial-gradient(circle at top left, rgba(242, 178, 79, 0.16), transparent 28%),
    radial-gradient(circle at top right, rgba(200, 116, 27, 0.10), transparent 24%),
    linear-gradient(180deg, #fffaf2 0%, #f7efe3 100%);
  font-family: "Inter", sans-serif;
  line-height: 1.75;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

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

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

.layout {
  padding: 28px 18px 72px;
}

.story {
  max-width: var(--content);
  margin: 0 auto;
}

.hero {
  margin-bottom: 34px;
  padding: 18px;
  border: 1px solid rgba(28, 23, 18, 0.08);
  border-radius: 32px;
  background: linear-gradient(180deg, rgba(255,255,255,0.88), rgba(255,248,238,0.94));
  box-shadow: var(--shadow);
}

.topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 20px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--line);
}

.brand {
  display: inline-flex;
  align-items: center;
  padding: 10px 14px;
  border-radius: 999px;
  background: linear-gradient(135deg, rgba(242, 178, 79, 0.22), rgba(200, 116, 27, 0.10));
  color: var(--ink);
  font-size: 0.92rem;
  font-weight: 800;
  letter-spacing: 0.02em;
}

.mini-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.mini-nav a {
  padding: 9px 12px;
  border-radius: 999px;
  font-size: 0.9rem;
  color: var(--muted);
  transition: background 0.2s ease, color 0.2s ease;
}

.mini-nav a:hover {
  background: rgba(200, 116, 27, 0.08);
  color: var(--ink);
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(320px, 0.9fr);
  gap: 24px;
  align-items: center;
}

.hero-copy {
  padding: 8px 8px 8px 4px;
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--accent);
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

h1,
h2,
h3 {
  margin: 0 0 16px;
  color: var(--ink);
  line-height: 1.14;
}

h1,
h2 {
  font-family: "Playfair Display", serif;
  letter-spacing: -0.03em;
}

h1 {
  max-width: 12ch;
  font-size: clamp(2.2rem, 4.2vw, 4rem);
  font-weight: 800;
}

h2 {
  font-size: clamp(1.7rem, 3vw, 2.45rem);
  font-weight: 700;
  margin-bottom: 18px;
}

h3 {
  font-size: 1.08rem;
  font-weight: 700;
}

.intro {
  max-width: 620px;
  margin: 0 0 22px;
  font-size: 1.04rem;
  color: #2e2720;
}

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

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 18px;
  border-radius: 999px;
  font-weight: 700;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

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

.btn-primary {
  color: #fff;
  background: linear-gradient(135deg, #d97c1d, #efaf45);
  box-shadow: 0 14px 26px rgba(200, 116, 27, 0.22);
}

.btn-secondary {
  color: var(--ink);
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid rgba(28, 23, 18, 0.1);
}

.hero-visual {
  margin: 0;
  border-radius: 24px;
  overflow: hidden;
  border: 1px solid rgba(28, 23, 18, 0.08);
  background: var(--white);
  box-shadow: var(--shadow-soft);
}

.hero-visual img {
  aspect-ratio: 16 / 10;
  object-fit: cover;
}

.hero-highlights {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
  margin-top: 18px;
}

.highlight-card {
  padding: 16px;
  border-radius: 20px;
  background: linear-gradient(180deg, rgba(255,255,255,0.88), rgba(255,247,236,0.9));
  border: 1px solid rgba(28, 23, 18, 0.08);
  box-shadow: var(--shadow-soft);
}

.highlight-kicker {
  display: inline-block;
  margin-bottom: 8px;
  color: var(--accent);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.highlight-card strong {
  display: block;
  margin-bottom: 8px;
  font-size: 1rem;
  line-height: 1.35;
}

.highlight-card p {
  margin: 0;
  font-size: 0.94rem;
  line-height: 1.6;
  color: var(--muted);
}

.chapter {
  max-width: var(--article);
  margin: 0 auto 36px;
  padding: 0 0 30px;
  border-bottom: 1px solid var(--line);
}

.feature-cut {
  position: relative;
  padding-left: 26px;
}

.feature-cut::before {
  content: "";
  position: absolute;
  left: 0;
  top: 6px;
  bottom: 34px;
  width: 4px;
  border-radius: 999px;
  background: linear-gradient(180deg, var(--accent), rgba(242, 178, 79, 0.28));
}

.inline-image {
  max-width: var(--article);
  margin: 0 auto 30px;
  border-radius: 24px;
  overflow: hidden;
  border: 1px solid rgba(28, 23, 18, 0.08);
  background: var(--white);
  box-shadow: var(--shadow);
}

p {
  margin: 0 0 16px;
}

ul {
  margin: 0 0 16px;
  padding: 0;
  list-style: none;
}

ul li {
  position: relative;
  padding-left: 24px;
  margin-bottom: 10px;
}

ul li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.78em;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  transform: translateY(-50%);
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  box-shadow: 0 0 0 6px rgba(242, 178, 79, 0.14);
}

.table-shell {
  margin: 22px 0;
  overflow-x: auto;
  border: 1px solid rgba(28, 23, 18, 0.08);
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.76);
  box-shadow: var(--shadow-soft);
}

table {
  width: 100%;
  border-collapse: collapse;
  min-width: 620px;
}

thead th {
  padding: 15px 16px;
  text-align: left;
  font-size: 0.92rem;
  color: var(--ink);
  background: linear-gradient(180deg, rgba(242, 178, 79, 0.18), rgba(200, 116, 27, 0.10));
  border-bottom: 1px solid var(--line);
}

tbody td {
  padding: 15px 16px;
  vertical-align: top;
  border-bottom: 1px solid var(--line);
}

tbody tr:last-child td {
  border-bottom: 0;
}

tbody tr:nth-child(even) {
  background: rgba(200, 116, 27, 0.03);
}

.cta-strip {
  max-width: var(--article);
  margin: 0 auto 34px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 22px 24px;
  border-radius: 24px;
  background: linear-gradient(135deg, rgba(255,245,231,0.95), rgba(255,255,255,0.92));
  border: 1px solid rgba(28, 23, 18, 0.08);
  box-shadow: var(--shadow-soft);
}

.cta-copy h3 {
  margin: 4px 0 8px;
  font-size: 1.15rem;
}

.cta-copy p {
  margin: 0;
  color: var(--muted);
}

.cta-label {
  display: inline-block;
  color: var(--accent);
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.faq h3 {
  padding-top: 14px;
  border-top: 1px solid var(--line);
}

.faq h3:first-of-type {
  padding-top: 0;
  border-top: 0;
}

::selection {
  background: rgba(242, 178, 79, 0.25);
  color: var(--ink);
}

@media (max-width: 1024px) {
  .hero-grid {
    grid-template-columns: 1fr;
  }

  h1 {
    max-width: 14ch;
  }

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

  .cta-strip {
    flex-direction: column;
    align-items: flex-start;
  }
}

@media (max-width: 768px) {
  .layout {
    padding: 16px 12px 48px;
  }

  .hero {
    padding: 14px;
    border-radius: 24px;
  }

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

  .mini-nav {
    gap: 8px;
  }

  .mini-nav a {
    padding: 8px 10px;
    font-size: 0.84rem;
  }

  h1 {
    max-width: none;
    font-size: clamp(2rem, 8vw, 3rem);
  }

  .intro {
    font-size: 1rem;
  }

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

  .chapter {
    margin-bottom: 28px;
    padding-bottom: 24px;
  }

  .feature-cut {
    padding-left: 18px;
  }

  .feature-cut::before {
    width: 3px;
  }

  .inline-image {
    border-radius: 18px;
  }

  table {
    min-width: 100%;
  }

  thead th,
  tbody td {
    padding: 12px 10px;
    font-size: 0.95rem;
  }

  .cta-strip {
    padding: 18px;
    border-radius: 18px;
  }
}
