:root {
  --bg: #faf6ee;
  --bg-2: #f5efe3;
  --ink: #241f1a;
  --ink-soft: #6a5c4f;
  --ink-mute: #9c8e7e;
  --line: rgba(36, 31, 26, 0.1);
  --terra: #c77d5a;
  --terra-deep: #9b5837;
  --gold: #c9a66b;
  --sage: #8c9f87;
  --plum: #876a7a;
  --paper: #fffbf3;
  --shadow-soft: 0 1px 2px rgba(36, 31, 26, 0.04), 0 16px 40px rgba(36, 31, 26, 0.06);
  --shadow-deep: 0 2px 6px rgba(36, 31, 26, 0.05), 0 32px 64px rgba(36, 31, 26, 0.1);
  --radius: 20px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  overflow-x: hidden;
  position: relative;
  background: var(--bg);
  color: var(--ink);
  font-family: "Inter", system-ui, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

h1,
h2,
h3,
h4 {
  margin: 0;
  font-family: "Fraunces", Georgia, serif;
  font-weight: 400;
  letter-spacing: -0.015em;
  line-height: 1.12;
}

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

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

button,
input,
textarea {
  font: inherit;
}

button {
  cursor: pointer;
}

[hidden] {
  display: none !important;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 28px;
}

.grain {
  position: fixed;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  opacity: 0.55;
  mix-blend-mode: multiply;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='160' height='160'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 0.14 0 0 0 0 0.12 0 0 0 0 0.10 0 0 0 0.07 0'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>");
}

.deco-layer {
  position: fixed;
  inset: -5%;
  z-index: 0;
  pointer-events: none;
  will-change: transform;
}

.deco-layer svg {
  width: 100%;
  height: 100%;
}

.cursor-light {
  position: fixed;
  top: 0;
  left: 0;
  width: 520px;
  height: 520px;
  margin: -260px 0 0 -260px;
  pointer-events: none;
  z-index: 2;
  opacity: 0;
  mix-blend-mode: multiply;
  background: radial-gradient(circle at center, rgba(199, 125, 90, 0.18) 0%, rgba(201, 166, 107, 0.06) 40%, transparent 70%);
  transition: opacity 0.6s ease, transform 0.15s ease-out;
}

body.cursor-on .cursor-light {
  opacity: 1;
}

main,
nav.top,
footer {
  position: relative;
  z-index: 4;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--terra-deep);
  font-size: 11.5px;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
}

.eyebrow::before {
  content: "";
  width: 28px;
  height: 1px;
  background: currentColor;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 15px 28px;
  border: none;
  border-radius: 999px;
  font-size: 15px;
  font-weight: 500;
  white-space: nowrap;
  transition: all 0.3s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.btn-primary {
  background: var(--ink);
  color: var(--paper);
  box-shadow: var(--shadow-soft);
}

.btn-primary:hover {
  transform: translateY(-2px);
  background: var(--terra-deep);
  box-shadow: var(--shadow-deep);
}

.btn-secondary {
  padding: 15px 28px;
  border: 1px solid rgba(36, 31, 26, 0.18);
  background: transparent;
  color: var(--ink);
}

.btn-secondary:hover {
  background: var(--paper);
  border-color: var(--ink);
}

.btn-ghost {
  padding: 14px 0;
  background: transparent;
  color: var(--ink);
}

.btn-ghost:hover {
  color: var(--terra-deep);
}

nav.top {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 50;
  border-bottom: 1px solid transparent;
  background: transparent;
  transition: background 0.4s ease, border-color 0.4s ease, color 0.4s ease, backdrop-filter 0.4s ease;
}

nav.top.on-dark {
  color: var(--paper);
}

nav.top.on-dark .logo {
  color: var(--paper);
}

nav.top.on-dark .nav-links a {
  color: rgba(255, 251, 243, 0.7);
}

nav.top.on-dark .nav-links a:hover {
  color: var(--paper);
}

nav.top.on-dark .nav-links a::after {
  background: var(--gold);
}

nav.top.on-dark .btn-ghost {
  color: rgba(255, 251, 243, 0.85);
}

nav.top.on-dark .btn-ghost:hover {
  color: var(--gold);
}

nav.top.on-dark .btn-primary {
  background: var(--paper);
  color: var(--ink);
}

nav.top.on-dark .btn-primary:hover {
  background: var(--gold);
}

nav.top.scrolled {
  border-bottom-color: var(--line);
  background: rgba(250, 246, 238, 0.82);
  backdrop-filter: blur(22px) saturate(160%);
  -webkit-backdrop-filter: blur(22px) saturate(160%);
}

nav.top .row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 76px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--ink);
  font-family: "Fraunces", Georgia, serif;
  font-size: 22px;
  font-weight: 500;
  letter-spacing: 0.02em;
}

.logo svg {
  width: 30px;
  height: 30px;
  color: currentColor;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 34px;
}

.nav-links a {
  position: relative;
  color: var(--ink-soft);
  font-size: 14px;
  transition: color 0.25s ease;
}

.nav-links a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -4px;
  height: 1px;
  transform: scaleX(0);
  transform-origin: left;
  background: var(--terra-deep);
  transition: transform 0.35s;
}

.nav-links a:hover {
  color: var(--ink);
}

.nav-links a:hover::after {
  transform: scaleX(1);
}

.nav-cta {
  display: flex;
  align-items: center;
  gap: 8px;
}

.hero {
  position: relative;
  overflow: hidden;
  padding: 96px 0 144px;
  color: var(--paper);
  background:
    radial-gradient(circle at 78% 22%, rgba(199, 125, 90, 0.22) 0%, transparent 48%),
    radial-gradient(circle at 12% 88%, rgba(201, 166, 107, 0.13) 0%, transparent 52%),
    radial-gradient(circle at 50% 50%, #1f1a14 0%, #14110d 70%, #0b0907 100%);
  isolation: isolate;
}

.hero::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -1px;
  height: 160px;
  background: linear-gradient(180deg, transparent 0%, rgba(250, 246, 238, 0.4) 55%, var(--bg) 100%);
  pointer-events: none;
  z-index: 1;
}

.hero .container {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 0.88fr 1.12fr;
  gap: 48px;
  align-items: center;
}

.hero h1 {
  margin: 24px 0 26px;
  color: var(--paper);
  font-size: clamp(42px, 5.6vw, 76px);
  font-weight: 300;
  letter-spacing: -0.018em;
}

.hero h1 em {
  color: #e8b898;
  font-style: italic;
  font-weight: 300;
}

.hero p.lead {
  max-width: 540px;
  margin-bottom: 36px;
  color: rgba(255, 251, 243, 0.74);
  font-size: 18.5px;
}

.hero .eyebrow {
  color: #d4b27a;
}

.hero .eyebrow::before {
  background: #d4b27a;
}

.hero-cta {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
}

.hero .btn-primary {
  background: var(--paper);
  color: var(--ink);
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.3), 0 16px 40px rgba(199, 125, 90, 0.18);
}

.hero .btn-primary:hover {
  background: var(--gold);
  color: var(--ink);
}

.hero .btn-secondary {
  border-color: rgba(255, 251, 243, 0.22);
  background: rgba(255, 251, 243, 0.03);
  color: var(--paper);
}

.hero .btn-secondary:hover {
  border-color: rgba(255, 251, 243, 0.5);
  background: rgba(255, 251, 243, 0.08);
}

.chips {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin: 48px 0 0;
}

.chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 14px;
  border: 1px solid rgba(255, 251, 243, 0.13);
  border-radius: 999px;
  background: rgba(255, 251, 243, 0.05);
  backdrop-filter: blur(8px);
  color: rgba(255, 251, 243, 0.78);
  font-size: 13px;
}

.chip svg {
  flex-shrink: 0;
  color: #d4b27a;
}

.hero-trust {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-top: 44px;
  color: rgba(255, 251, 243, 0.6);
  font-size: 13.5px;
}

.avatars {
  display: flex;
}

.avatars .av {
  width: 34px;
  height: 34px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-left: -10px;
  border: 2px solid #1f1a14;
  border-radius: 50%;
  background: linear-gradient(135deg, #e8dfd0, #c77d5a);
  color: #fff;
  font-size: 13px;
}

.avatars .av:first-child {
  margin-left: 0;
}

.av.a2 {
  background: linear-gradient(135deg, #d4c0a1, #9b5837);
}

.av.a3 {
  background: linear-gradient(135deg, #c9a66b, #8b6f47);
}

.av.a4 {
  background: linear-gradient(135deg, #8c9f87, #5e7a5c);
}

.hero-art {
  position: relative;
  aspect-ratio: 1 / 1;
  width: 100%;
  max-width: 680px;
  margin-left: auto;
}

.hero-art svg {
  width: 100%;
  height: 100%;
  filter: drop-shadow(0 30px 60px rgba(199, 125, 90, 0.22));
}

.hero-art .ring-rotate {
  transform-origin: 290px 290px;
  animation: slowRotate 240s linear infinite;
}

.hero-art .twinkle {
  animation: twinkle 4s ease-in-out infinite;
}

.hero-art .twinkle.d1 {
  animation-delay: 1s;
}

.hero-art .twinkle.d2 {
  animation-delay: 2s;
}

.hero-art .twinkle.d3 {
  animation-delay: 0.5s;
}

.hero-art .breathe {
  animation: breathe 6s ease-in-out infinite;
  transform-origin: 290px 290px;
}

@keyframes slowRotate {
  to {
    transform: rotate(360deg);
  }
}

@keyframes twinkle {
  0%,
  100% {
    opacity: 0.25;
  }
  50% {
    opacity: 1;
  }
}

@keyframes breathe {
  0%,
  100% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.03);
  }
}

section {
  position: relative;
  padding: 120px 0;
}

.insight {
  padding-top: 60px;
}

.insight-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 96px;
  align-items: center;
}

.insight-grid h2,
.section-head h2,
.tools-head h2,
.library-head h2 {
  font-size: clamp(32px, 3.8vw, 48px);
  font-weight: 400;
}

.insight-grid h2 {
  margin-bottom: 28px;
}

.insight-grid h2 em,
.section-head h2 em,
.tools-head h2 em,
.library-head h2 em {
  color: var(--terra-deep);
  font-style: italic;
  font-weight: 300;
}

.insight-grid p,
.head-text p,
.section-head p,
.library-head p {
  color: var(--ink-soft);
  font-size: 17px;
}

.insight-grid p {
  margin-bottom: 18px;
}

.pull {
  position: relative;
  margin-top: 36px;
  padding: 30px 32px 30px 60px;
  border-radius: 14px;
  background:
    linear-gradient(180deg, rgba(255, 251, 243, 0.05) 0%, transparent 50%),
    radial-gradient(circle at 25% 20%, #4a3d32 0%, #2a2520 55%, #1a1611 100%);
  box-shadow: 0 16px 40px rgba(58, 47, 38, 0.18), inset 0 1px 0 rgba(255, 251, 243, 0.08);
  color: var(--paper);
  font-family: "Fraunces", Georgia, serif;
  font-size: 21px;
  font-style: italic;
  line-height: 1.45;
}

.pull::before {
  content: "“";
  position: absolute;
  top: 14px;
  left: 22px;
  color: var(--gold);
  opacity: 0.55;
  font-family: "Fraunces", Georgia, serif;
  font-size: 62px;
  line-height: 1;
}

.pull::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 32px;
  right: 32px;
  height: 2px;
  background: linear-gradient(90deg, transparent 0%, rgba(199, 125, 90, 0.4) 50%, transparent 100%);
}

.facets-art {
  position: relative;
  max-width: 520px;
  margin: 0 auto;
  aspect-ratio: 1 / 1;
}

.facets-art .pet {
  transform-origin: 230px 230px;
  animation: petalDrift 16s ease-in-out infinite;
}

.facets-art .pet.p2 {
  animation-delay: -3s;
}

.facets-art .pet.p3 {
  animation-delay: -6s;
}

.facets-art .pet.p4 {
  animation-delay: -9s;
}

.facets-art .pet.p5 {
  animation-delay: -12s;
}

@keyframes petalDrift {
  0%,
  100% {
    transform: rotate(0deg) scale(1);
  }
  50% {
    transform: rotate(2deg) scale(1.015);
  }
}

.tools {
  padding-bottom: 80px;
  overflow: hidden;
}

.tools-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  flex-wrap: wrap;
  gap: 32px;
  margin-bottom: 48px;
}

.head-text {
  max-width: 640px;
}

.tools-head h2 {
  margin: 14px 0 16px;
}

.rail-controls {
  display: flex;
  align-items: center;
  gap: 10px;
}

.rail-progress {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-right: 10px;
  color: var(--ink-mute);
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.rail-progress .bar {
  position: relative;
  width: 80px;
  height: 1px;
  background: var(--line);
}

.rail-progress .bar::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: var(--rail-progress, 20%);
  height: 1px;
  background: var(--terra);
  transition: width 0.3s ease;
}

.rail-btn {
  width: 46px;
  height: 46px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: var(--paper);
  color: var(--ink);
  transition: all 0.25s;
}

.rail-btn:hover {
  border-color: var(--ink);
  background: var(--ink);
  color: var(--paper);
}

.rail-btn:disabled {
  opacity: 0.3;
  cursor: default;
  background: transparent;
  color: var(--ink-mute);
}

.tools-rail-wrap {
  position: relative;
  margin: 0 calc(-50vw + 50%);
  padding: 0 max(28px, calc((100vw - 1200px) / 2 + 28px));
}

.tools-rail-wrap::before,
.tools-rail-wrap::after {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  width: 60px;
  pointer-events: none;
  z-index: 2;
}

.tools-rail-wrap::before {
  left: 0;
  background: linear-gradient(90deg, var(--bg) 0%, transparent 100%);
}

.tools-rail-wrap::after {
  right: 0;
  background: linear-gradient(270deg, var(--bg) 0%, transparent 100%);
}

.tools-rail {
  display: flex;
  gap: 24px;
  overflow-x: auto;
  overflow-y: visible;
  padding: 8px 0 32px;
  scrollbar-width: none;
  -ms-overflow-style: none;
  scroll-behavior: smooth;
  scroll-snap-type: x mandatory;
}

.tools-rail::-webkit-scrollbar {
  display: none;
}

.tool-card {
  flex: 0 0 380px;
  scroll-snap-align: start;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--paper);
  transition: transform 0.35s ease, box-shadow 0.35s ease, border-color 0.35s ease;
}

.tool-card:hover {
  transform: translateY(-4px);
  border-color: transparent;
  box-shadow: var(--shadow-deep);
}

.spread-text {
  order: 2;
  display: flex;
  flex: 1;
  flex-direction: column;
  padding: 26px 26px 28px;
}

.spread-text .num {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 10px;
  color: var(--terra);
  font-family: "Fraunces", Georgia, serif;
  font-size: 13px;
  font-style: italic;
}

.spread-text .num::after {
  content: "";
  width: 50px;
  height: 1px;
  background: var(--terra);
  opacity: 0.4;
}

.spread-text .badge {
  display: inline-block;
  margin-bottom: 12px;
  padding: 4px 10px;
  border-radius: 999px;
  background: var(--bg-2);
  color: var(--ink-soft);
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.spread-text .badge.live {
  background: rgba(140, 159, 135, 0.18);
  color: #5e7a5c;
}

.spread-text h3 {
  margin-bottom: 10px;
  font-size: 23px;
  font-weight: 400;
  line-height: 1.2;
}

.spread-text h3 em {
  display: block;
  margin-top: 4px;
  color: var(--ink-soft);
  font-size: 15px;
  font-style: italic;
  font-weight: 300;
}

.spread-text > p {
  margin-bottom: 16px;
  color: var(--ink-soft);
  font-size: 14.5px;
  line-height: 1.55;
}

.spread-text ul {
  list-style: none;
  margin: auto 0 0;
  padding: 0;
}

.spread-text ul li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 7px 0;
  border-bottom: 1px solid var(--line);
  color: var(--ink);
  font-size: 13.5px;
}

.spread-text ul li:last-child {
  border-bottom: none;
}

.spread-text ul li::before {
  content: "";
  width: 5px;
  height: 5px;
  flex: 0 0 5px;
  margin-top: 8px;
  border-radius: 50%;
  background: var(--terra);
}

.spread-art {
  order: 1;
  position: relative;
  aspect-ratio: 1.1 / 1;
  background: linear-gradient(180deg, var(--bg-2) 0%, var(--paper) 100%);
  border-bottom: 1px solid var(--line);
}

.spread-art svg {
  width: 90%;
  height: 90%;
  margin: 5%;
  transition: transform 0.8s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.tool-card:hover .spread-art svg {
  transform: scale(1.04);
}

.section-head {
  max-width: 720px;
  margin: 0 auto 80px;
  text-align: center;
}

.section-head h2 {
  margin: 18px 0;
}

.section-head p {
  max-width: 560px;
  margin: 0 auto;
  font-size: 18px;
}

.how::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 50%;
  height: 80px;
  transform: translateY(-50%);
  border-top: 1px solid rgba(155, 88, 55, 0.12);
  border-bottom: 1px solid rgba(155, 88, 55, 0.12);
  background: linear-gradient(180deg, rgba(36, 31, 26, 0.04) 0%, rgba(36, 31, 26, 0.08) 50%, rgba(36, 31, 26, 0.04) 100%);
  pointer-events: none;
}

.how .container {
  position: relative;
  z-index: 2;
}

.how-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
}

.step {
  position: relative;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--paper);
  transition: all 0.35s ease;
}

.step:hover {
  transform: translateY(-3px);
  border-color: rgba(199, 125, 90, 0.3);
  box-shadow: var(--shadow-soft);
}

.step::after {
  content: "";
  position: absolute;
  top: 36px;
  right: -30px;
  width: 60px;
  height: 1px;
  background: linear-gradient(90deg, var(--terra), transparent);
  opacity: 0.5;
}

.step:last-child::after {
  display: none;
}

.step .num {
  margin-bottom: 18px;
  color: var(--terra);
  font-family: "Fraunces", Georgia, serif;
  font-size: 64px;
  font-style: italic;
  font-weight: 300;
  line-height: 1;
}

.step h3 {
  margin-bottom: 12px;
  font-size: 24px;
}

.step p {
  color: var(--ink-soft);
  font-size: 15.5px;
}

.library-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 24px;
  margin-bottom: 56px;
}

.library-head h2 {
  max-width: 560px;
}

.library-head p {
  margin-top: 14px;
  max-width: 540px;
}

.articles {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 24px;
}

.article {
  position: relative;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--paper);
  cursor: pointer;
  transition: all 0.4s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.article:hover {
  transform: translateY(-4px);
  border-color: transparent;
  box-shadow: var(--shadow-deep);
}

.article.lg::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  z-index: 3;
  height: 3px;
  background: linear-gradient(90deg, var(--terra-deep) 0%, var(--gold) 50%, var(--sage) 100%);
}

.article .thumb {
  position: relative;
  overflow: hidden;
  aspect-ratio: 16 / 10;
}

.article.lg .thumb {
  aspect-ratio: 5 / 4;
}

.article .thumb svg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  transition: transform 0.8s ease;
}

.article:hover .thumb svg {
  transform: scale(1.05);
}

.article .body {
  padding: 24px 26px;
}

.article .cat {
  color: var(--terra-deep);
  font-size: 11.5px;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.article h3 {
  margin: 12px 0 10px;
  font-size: 21px;
  line-height: 1.3;
}

.article.lg h3 {
  font-size: 27px;
}

.article p {
  color: var(--ink-soft);
  font-size: 14.5px;
}

.article .meta {
  display: flex;
  gap: 14px;
  margin-top: 16px;
  color: var(--ink-mute);
  font-size: 12px;
}

.faq-wrap {
  max-width: 820px;
  margin: 0 auto;
}

.faq {
  padding: 6px 0;
  border-bottom: 1px solid var(--line);
}

.faq summary {
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 24px 0;
  color: var(--ink);
  font-family: "Fraunces", Georgia, serif;
  font-size: 22px;
  cursor: pointer;
  transition: color 0.25s;
}

.faq summary:hover {
  color: var(--terra-deep);
}

.faq summary::-webkit-details-marker {
  display: none;
}

.faq summary .ic {
  width: 36px;
  height: 36px;
  flex: 0 0 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--line);
  border-radius: 50%;
  color: var(--ink);
  transition: all 0.3s;
}

.faq[open] summary .ic {
  transform: rotate(45deg);
  border-color: var(--ink);
  background: var(--ink);
  color: var(--paper);
}

.faq .ans {
  max-width: 720px;
  padding: 0 0 28px;
  color: var(--ink-soft);
  font-size: 16px;
}

.cta-final {
  position: relative;
  overflow: hidden;
  padding: 96px 56px;
  border-radius: var(--radius);
  background: radial-gradient(circle at 30% 30%, #4a3d32 0%, #241f1a 60%, #1a1611 100%);
  color: var(--paper);
  text-align: center;
}

.cta-final::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 80% 20%, rgba(199, 125, 90, 0.32) 0%, transparent 50%),
    radial-gradient(circle at 20% 80%, rgba(201, 166, 107, 0.22) 0%, transparent 50%);
}

.cta-final > * {
  position: relative;
}

.cta-final svg.cta-deco {
  position: absolute;
  opacity: 0.18;
  pointer-events: none;
}

.cta-final svg.cta-deco.left {
  left: -40px;
  top: -40px;
  width: 240px;
}

.cta-final svg.cta-deco.right {
  right: -40px;
  bottom: -40px;
  width: 280px;
}

.cta-final h2 {
  margin-bottom: 22px;
  color: var(--paper);
  font-size: clamp(34px, 4.4vw, 56px);
  font-weight: 300;
}

.cta-final h2 em {
  color: var(--gold);
  font-style: italic;
  font-weight: 300;
}

.cta-final p {
  max-width: 580px;
  margin: 0 auto 36px;
  color: rgba(255, 251, 243, 0.78);
  font-size: 17.5px;
}

.cta-final .btn-primary {
  background: var(--paper);
  color: var(--ink);
}

.cta-final .btn-primary:hover {
  background: var(--gold);
}

.cta-final .small {
  margin-top: 20px;
  color: rgba(255, 251, 243, 0.5);
  font-size: 13px;
}

.site-footer {
  margin-top: 48px;
  padding: 80px 0 44px;
  border-top: 1px solid var(--line);
}

.foot-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 56px;
}

.foot-grid h4 {
  margin-bottom: 20px;
  color: var(--ink-mute);
  font-family: "Inter", system-ui, sans-serif;
  font-size: 12.5px;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.foot-grid ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.foot-grid ul li {
  margin-bottom: 11px;
}

.foot-grid ul li a {
  color: var(--ink-soft);
  font-size: 14.5px;
  transition: color 0.25s;
}

.foot-grid ul li a:hover {
  color: var(--terra-deep);
}

.foot-about {
  max-width: 340px;
  margin-top: 14px;
  color: var(--ink-soft);
  font-size: 14px;
  line-height: 1.7;
}

.foot-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
  padding-top: 36px;
  border-top: 1px solid var(--line);
  color: var(--ink-mute);
  font-size: 13px;
}

.auth-modal {
  position: fixed;
  inset: 0;
  z-index: 90;
  display: grid;
  place-items: center;
  padding: 24px;
}

.auth-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(36, 31, 26, 0.2);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
}

.auth-dialog {
  position: relative;
  width: min(520px, 100%);
  padding: 36px 32px;
  border: 1px solid var(--line);
  border-radius: 24px;
  background: rgba(255, 251, 243, 0.97);
  box-shadow: var(--shadow-deep);
}

.auth-close {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 40px;
  height: 40px;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: var(--paper);
  color: var(--ink);
  font-size: 24px;
}

.auth-dialog .eyebrow {
  margin-bottom: 12px;
}

.auth-dialog h2 {
  margin-bottom: 10px;
  font-size: 36px;
}

.auth-hint {
  margin: 0 0 24px;
  color: var(--ink-soft);
  font-size: 16px;
}

.auth-widget-shell {
  min-height: 54px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 1s cubic-bezier(0.2, 0.8, 0.2, 1), transform 1s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.reveal.in {
  opacity: 1;
  transform: none;
}

.reveal.delay-1 {
  transition-delay: 0.12s;
}

.reveal.delay-2 {
  transition-delay: 0.24s;
}

.reveal.delay-3 {
  transition-delay: 0.36s;
}

@media (hover: none) {
  .cursor-light {
    display: none;
  }
}

@media (max-width: 920px) {
  .nav-links {
    display: none;
  }

  .hero {
    padding: 120px 0 110px;
  }

  .hero .container {
    position: relative;
    grid-template-columns: 1fr;
    gap: 32px;
    min-height: 560px;
  }

  .hero-art {
    position: absolute;
    top: 50%;
    left: 50%;
    z-index: 0;
    width: 130%;
    max-width: none;
    margin: 0;
    transform: translate(-50%, -50%);
    opacity: 0.42;
    pointer-events: none;
  }

  .hero-text {
    position: relative;
    z-index: 2;
  }

  .hero p.lead {
    color: rgba(255, 251, 243, 0.82);
  }

  .insight-grid,
  .how-grid {
    grid-template-columns: 1fr;
    gap: 48px;
  }

  .step::after {
    display: none;
  }

  .articles {
    grid-template-columns: 1fr 1fr;
  }

  .article.lg {
    grid-column: span 2;
  }
}

@media (max-width: 780px) {
  .foot-grid {
    grid-template-columns: 1fr 1fr;
    gap: 32px;
  }
}

@media (max-width: 768px) {
  section {
    padding: 80px 0;
  }

  .container {
    padding: 0 20px;
  }

  .rail-progress {
    display: none;
  }

  .tools-rail-wrap {
    padding: 0 24px;
  }

  .tools-rail-wrap::before,
  .tools-rail-wrap::after {
    display: none;
  }

  .tool-card {
    flex-basis: 300px;
  }
}

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

  .article.lg {
    grid-column: auto;
  }

  .cta-final {
    padding: 72px 28px;
  }
}

@media (max-width: 560px) {
  .hero-art {
    width: 160%;
    opacity: 0.32;
  }

  .nav-cta .btn-ghost {
    display: none;
  }
}

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

  .auth-dialog {
    padding: 28px 22px;
  }
}
