:root {
  --bg: #fffaf0;
  --surface: #ffffff;
  --surface-soft: #f8f0df;
  --ink: #2d2a26;
  --muted: #6c645b;
  --brand: #7a1f2b;
  --brand-dark: #57131d;
  --gold: #c9922e;
  --gold-soft: #ead09a;
  --green: #315c45;
  --line: #e6d8bd;
  --shadow: 0 18px 50px rgba(71, 43, 20, .12);
  --shadow-soft: 0 10px 30px rgba(71, 43, 20, .08);
  --radius: 24px;
  --container: 1180px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
  color: var(--ink);
  background:
    radial-gradient(circle at 10% 0%, rgba(224, 184, 92, .14), transparent 32rem),
    linear-gradient(180deg, #fffdf7 0%, var(--bg) 55%, #fffdf8 100%);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
a { color: var(--brand); text-decoration: none; }
a:hover { color: var(--brand-dark); }
button, input, textarea { font: inherit; }

.skip-link {
  position: absolute; left: -9999px; top: 0; z-index: 9999;
  background: #fff; color: #000; padding: .75rem 1rem;
}
.skip-link:focus { left: 1rem; top: 1rem; }

.container { width: min(var(--container), calc(100% - 32px)); margin-inline: auto; }
.section { padding: 88px 0; }
.section-sm { padding: 56px 0; }
.section-kicker {
  display: inline-flex; align-items: center; gap: .55rem;
  color: var(--brand); font-size: .82rem; font-weight: 800;
  letter-spacing: .12em; text-transform: uppercase;
  margin-bottom: 12px;
}
.section-kicker::before { content: ""; width: 28px; height: 2px; background: var(--gold); }
.section-title {
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(2rem, 4.2vw, 3.5rem);
  line-height: 1.16; margin: 0 0 18px; color: var(--brand-dark);
}
.section-lead { max-width: 780px; color: var(--muted); font-size: 1.08rem; margin: 0; }

.site-header {
  position: sticky; top: 0; z-index: 1000;
  background: rgba(255, 253, 247, .92);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(183, 145, 78, .22);
}
.header-inner { min-height: 78px; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand-logo { width: 280px; flex: 0 0 auto; }
.main-nav { display: flex; align-items: center; gap: 26px; }
.main-nav a { color: #423b34; font-weight: 700; font-size: .95rem; position: relative; }
.main-nav a::after { content: ""; position: absolute; left: 0; right: 100%; bottom: -9px; height: 2px; background: var(--gold); transition: .25s; }
.main-nav a:hover::after, .main-nav a.active::after { right: 0; }
.nav-cta { padding: 10px 17px; border-radius: 999px; background: var(--brand); color: #fff !important; box-shadow: 0 8px 18px rgba(122,31,43,.18); }
.nav-cta::after { display: none; }
.menu-toggle { display: none; width: 44px; height: 44px; border: 1px solid var(--line); background: #fff; border-radius: 12px; color: var(--brand); cursor: pointer; }

.hero { padding: 72px 0 84px; overflow: hidden; }
.hero-grid { display: grid; grid-template-columns: 1.02fr .98fr; align-items: center; gap: 60px; }
.hero-badge { display: inline-flex; align-items: center; gap: 10px; padding: 8px 14px; border: 1px solid var(--gold-soft); border-radius: 999px; color: var(--brand); background: rgba(255,255,255,.7); font-weight: 800; font-size: .9rem; }
.hero-badge::before { content: "✦"; color: var(--gold); }
.hero h1 { font-family: Georgia, "Times New Roman", serif; color: var(--brand-dark); font-size: clamp(2.7rem, 5.5vw, 5.15rem); line-height: 1.04; margin: 24px 0; letter-spacing: -.025em; }
.hero h1 span { color: var(--gold); }
.hero-copy { color: var(--muted); font-size: 1.12rem; max-width: 680px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 30px; }
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 9px; min-height: 48px; padding: 0 22px; border-radius: 999px; font-weight: 800; border: 1px solid transparent; transition: .2s ease; }
.btn-primary { background: var(--brand); color: #fff; box-shadow: 0 12px 26px rgba(122,31,43,.22); }
.btn-primary:hover { color: #fff; transform: translateY(-2px); background: var(--brand-dark); }
.btn-secondary { background: rgba(255,255,255,.78); border-color: var(--line); color: var(--brand); }
.btn-secondary:hover { transform: translateY(-2px); border-color: var(--gold); }
.hero-note { margin-top: 22px; display: flex; gap: 18px; flex-wrap: wrap; color: #655c52; font-size: .92rem; }
.hero-note span::before { content: "✓"; color: var(--green); font-weight: 900; margin-right: 7px; }
.hero-visual { position: relative; }
.hero-visual img { border-radius: 34px; box-shadow: var(--shadow); }
.hero-seal { position: absolute; right: -12px; bottom: -18px; width: 158px; height: 158px; border-radius: 50%; background: var(--brand); color: #fff9e8; display: grid; place-items: center; text-align: center; padding: 18px; border: 7px solid #fff4d8; box-shadow: var(--shadow-soft); font-family: Georgia, serif; line-height: 1.25; transform: rotate(6deg); }

.trust-strip { border-block: 1px solid var(--line); background: rgba(255,255,255,.65); }
.trust-grid { display: grid; grid-template-columns: repeat(4,1fr); }
.trust-item { padding: 24px; text-align: center; border-right: 1px solid var(--line); }
.trust-item:last-child { border-right: 0; }
.trust-item strong { display: block; color: var(--brand-dark); font-family: Georgia, serif; font-size: 1.1rem; }
.trust-item span { color: var(--muted); font-size: .9rem; }

.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-top: 38px; }
.card { background: rgba(255,255,255,.9); border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; box-shadow: var(--shadow-soft); transition: .25s; }
.card:hover { transform: translateY(-5px); border-color: #d5ba81; }
.card-icon { width: 52px; height: 52px; border-radius: 16px; display: grid; place-items: center; background: #f7ecd2; color: var(--brand); font-size: 1.5rem; margin-bottom: 18px; }
.card h3 { font-family: Georgia, serif; color: var(--brand-dark); font-size: 1.35rem; margin: 0 0 10px; }
.card p { color: var(--muted); margin: 0; }
.card-link { display: inline-flex; align-items: center; gap: 8px; margin-top: 17px; font-weight: 800; }

.split { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.panel { background: #fff; border: 1px solid var(--line); border-radius: 30px; padding: 38px; box-shadow: var(--shadow-soft); }
.panel-gold { background: linear-gradient(145deg, #fff8e9, #f4e5c4); }
.quote { border-left: 4px solid var(--gold); padding: 18px 0 18px 24px; font-family: Georgia, serif; font-size: 1.35rem; color: var(--brand-dark); margin: 24px 0 0; }

.steps { counter-reset: step; display: grid; gap: 16px; margin-top: 30px; }
.step { counter-increment: step; display: grid; grid-template-columns: 54px 1fr; gap: 18px; align-items: start; background: #fff; border: 1px solid var(--line); border-radius: 18px; padding: 20px; }
.step::before { content: counter(step, decimal-leading-zero); width: 54px; height: 54px; display: grid; place-items: center; border-radius: 50%; background: var(--brand); color: #fff; font-weight: 900; }
.step h3 { margin: 2px 0 5px; color: var(--brand-dark); font-family: Georgia, serif; }
.step p { margin: 0; color: var(--muted); }

.timeline { position: relative; margin-top: 42px; display: grid; grid-template-columns: repeat(4,1fr); gap: 18px; }
.timeline::before { content: ""; position: absolute; left: 10%; right: 10%; top: 28px; height: 2px; background: var(--gold-soft); }
.timeline-item { position: relative; text-align: center; padding-top: 58px; }
.timeline-item::before { content: ""; position: absolute; top: 17px; left: calc(50% - 11px); width: 22px; height: 22px; border-radius: 50%; background: var(--brand); border: 5px solid #f7e8c5; z-index: 1; }
.timeline-item h3 { font-family: Georgia, serif; color: var(--brand-dark); margin-bottom: 7px; }
.timeline-item p { margin: 0; color: var(--muted); font-size: .94rem; }

.keyword-cloud { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 24px; }
.keyword-cloud span { padding: 8px 13px; border-radius: 999px; background: #fff; border: 1px solid var(--line); color: #62574d; font-size: .9rem; }

.article-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 24px; margin-top: 36px; }
.article-card { overflow: hidden; background: #fff; border: 1px solid var(--line); border-radius: 22px; box-shadow: var(--shadow-soft); }
.article-cover { min-height: 150px; display: flex; align-items: flex-end; padding: 22px; color: #fff; background: linear-gradient(135deg, var(--brand), #a14a42 55%, var(--gold)); }
.article-cover.green { background: linear-gradient(135deg, #274d3a, #4f765f 60%, #c69a42); }
.article-cover.gold { background: linear-gradient(135deg, #8a5b17, #c18a2b 60%, #7a1f2b); }
.article-cover span { font-size: .83rem; font-weight: 800; text-transform: uppercase; letter-spacing: .08em; }
.article-body { padding: 24px; }
.article-body h3 { margin: 0 0 10px; font-family: Georgia, serif; color: var(--brand-dark); font-size: 1.35rem; }
.article-body p { color: var(--muted); margin: 0; }

.soft-launch { background: linear-gradient(120deg, #53131c, #7a1f2b 55%, #9a5a1c); color: #fff; border-radius: 34px; padding: 48px; position: relative; overflow: hidden; }
.soft-launch::after { content: ""; position: absolute; width: 320px; height: 320px; right: -100px; top: -110px; border: 1px solid rgba(255,255,255,.18); border-radius: 50%; box-shadow: 0 0 0 38px rgba(255,255,255,.04), 0 0 0 78px rgba(255,255,255,.03); }
.soft-launch h2 { position: relative; z-index: 1; font-family: Georgia, serif; font-size: clamp(2rem,4vw,3rem); margin: 0 0 12px; }
.soft-launch p { position: relative; z-index: 1; max-width: 800px; color: #f7ead6; }
.soft-launch .btn { position: relative; z-index: 1; background: #fff6dc; color: var(--brand-dark); margin-top: 14px; }

.faq { display: grid; gap: 14px; margin-top: 32px; }
details { background: #fff; border: 1px solid var(--line); border-radius: 16px; padding: 0 20px; }
summary { cursor: pointer; font-weight: 800; color: var(--brand-dark); padding: 18px 0; }
details p { color: var(--muted); margin: 0 0 20px; }

.site-footer { background: #2c241f; color: #e9ddcf; padding: 58px 0 24px; margin-top: 76px; }
.footer-grid { display: grid; grid-template-columns: 1.3fr .8fr .8fr; gap: 44px; }
.footer-logo { filter: brightness(0) invert(1); opacity: .92; width: 260px; }
.footer-text { color: #cfc0b2; max-width: 520px; }
.footer-title { color: #fff7e7; font-weight: 800; margin-bottom: 14px; }
.footer-links { display: grid; gap: 9px; }
.footer-links a { color: #d8cbbb; }
.footer-links a:hover { color: #fff; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.12); margin-top: 36px; padding-top: 20px; display: flex; justify-content: space-between; gap: 20px; color: #bbaa9c; font-size: .9rem; }

/* Article pages */
.page-hero { padding: 72px 0 54px; text-align: center; }
.page-hero .section-lead { margin-inline: auto; }
.breadcrumbs { display: flex; justify-content: center; flex-wrap: wrap; gap: 8px; font-size: .9rem; color: var(--muted); margin-bottom: 18px; }
.breadcrumbs span { color: #9a8e80; }
.article-layout { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: 44px; align-items: start; }
.prose { background: #fff; border: 1px solid var(--line); border-radius: 28px; padding: clamp(26px,5vw,54px); box-shadow: var(--shadow-soft); }
.prose h2, .prose h3 { font-family: Georgia, serif; color: var(--brand-dark); scroll-margin-top: 110px; }
.prose h2 { font-size: 1.85rem; margin-top: 42px; }
.prose h3 { font-size: 1.3rem; margin-top: 28px; }
.prose p, .prose li { color: #5f574f; }
.prose ul, .prose ol { padding-left: 1.3rem; }
.prose blockquote { margin: 30px 0; border-left: 4px solid var(--gold); background: #fff8e8; padding: 22px 26px; border-radius: 0 16px 16px 0; color: var(--brand-dark); font-family: Georgia, serif; font-size: 1.18rem; }
.prose .callout { background: #f0f6f1; border: 1px solid #c9ddcd; padding: 22px; border-radius: 18px; }
.sidebar { position: sticky; top: 105px; }
.toc { background: #fff; border: 1px solid var(--line); border-radius: 20px; padding: 22px; box-shadow: var(--shadow-soft); }
.toc strong { display: block; color: var(--brand-dark); margin-bottom: 12px; }
.toc a { display: block; padding: 7px 0; color: #655b52; font-size: .93rem; }
.toc a:hover { color: var(--brand); }
.related { margin-top: 20px; background: #f8efd9; border-radius: 20px; padding: 22px; }
.related strong { color: var(--brand-dark); }
.related a { display: block; margin-top: 10px; font-weight: 700; }

.contact-box { display: grid; grid-template-columns: 1fr auto; gap: 24px; align-items: center; background: #fff; border: 1px solid var(--line); border-radius: 24px; padding: 30px; }
.contact-box h2 { margin: 0 0 6px; font-family: Georgia, serif; color: var(--brand-dark); }
.contact-box p { margin: 0; color: var(--muted); }

.back-to-top { position: fixed; right: 20px; bottom: 20px; width: 44px; height: 44px; border-radius: 50%; border: 0; background: var(--brand); color: #fff; box-shadow: var(--shadow-soft); cursor: pointer; opacity: 0; pointer-events: none; transition: .2s; }
.back-to-top.show { opacity: 1; pointer-events: auto; }

@media (max-width: 980px) {
  .menu-toggle { display: inline-grid; place-items: center; }
  .main-nav { position: fixed; left: 16px; right: 16px; top: 86px; display: none; flex-direction: column; align-items: stretch; gap: 2px; padding: 16px; border: 1px solid var(--line); border-radius: 18px; background: #fffdf8; box-shadow: var(--shadow); }
  .main-nav.open { display: flex; }
  .main-nav a { padding: 11px 12px; }
  .main-nav a::after { display: none; }
  .nav-cta { text-align: center; margin-top: 6px; }
  .hero-grid, .split, .article-layout { grid-template-columns: 1fr; }
  .hero { padding-top: 48px; }
  .hero-visual { max-width: 720px; margin-inline: auto; }
  .cards, .article-grid { grid-template-columns: repeat(2,1fr); }
  .trust-grid { grid-template-columns: repeat(2,1fr); }
  .trust-item:nth-child(2) { border-right: 0; }
  .trust-item:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
  .timeline { grid-template-columns: repeat(2,1fr); }
  .timeline::before { display: none; }
  .sidebar { position: static; }
  .toc { display: none; }
}

@media (max-width: 640px) {
  .container { width: min(100% - 24px, var(--container)); }
  .brand-logo { width: 220px; }
  .header-inner { min-height: 70px; }
  .hero { padding: 38px 0 64px; }
  .hero h1 { font-size: 2.55rem; }
  .hero-seal { width: 122px; height: 122px; font-size: .83rem; right: -2px; }
  .section { padding: 66px 0; }
  .cards, .article-grid, .timeline, .footer-grid { grid-template-columns: 1fr; }
  .card, .panel { padding: 24px; }
  .soft-launch { padding: 32px 24px; }
  .footer-bottom, .contact-box { grid-template-columns: 1fr; display: grid; }
  .hero-actions .btn { width: 100%; }
  .trust-item { border-right: 0; border-bottom: 1px solid var(--line); }
  .trust-item:last-child { border-bottom: 0; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; transition: none !important; animation: none !important; }
}
