/* Base Styles */
:root {
  --fd: 'Playfair Display', Georgia, serif;
  --fb: 'DM Sans', 'Helvetica Neue', sans-serif;
  --bg: #f8f5f0; 
  --sur: #faf8f4; 
  --sur2: #ffffff; 
  --div: #e5dfd6; 
  --bor: #d9d2c8;
  --tx: #1a1a2e; 
  --txm: #5a5650; 
  --txf: #9a948e; 
  --txi: #f8f5f0;
  --pr: #1b4965; 
  --prh: #153a52; 
  --prl: #d4e4ee;
  --go: #b08850; 
  --gol: #f0e8d8;
  --s2:.5rem;
  --s3:.75rem;
  --s4:1rem;
  --s6:1.5rem;
  --s8:2rem;
  --s10:2.5rem;
  --s12:3rem;
  --s16:4rem;
  --s20:5rem;
  --txs:clamp(.75rem,.7rem + .25vw,.875rem);
  --txsm:clamp(.875rem,.8rem + .35vw,1rem);
  --txb:clamp(1rem,.95rem + .25vw,1.125rem);
  --txl:clamp(1.125rem,1rem + .75vw,1.5rem);
  --txxl:clamp(1.5rem,1.2rem + 1.25vw,2.25rem);
  --txh:clamp(2.25rem,1rem + 4vw,4rem);
  --tr:180ms cubic-bezier(.16,1,.3,1);
}

[data-theme="dark"] {
  --bg:#161412;
  --sur:#1c1a17;
  --sur2:#211f1c;
  --div:#2e2b27;
  --bor:#3a3732;
  --tx:#e8e4de;
  --txm:#9a9590;
  --txf:#5a5652;
  --txi:#161412;
  --pr:#5a9ec2;
  --prh:#7ab4d2;
  --prl:#1e3040;
  --go:#d4a860;
  --gol:#2a2218;
}

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

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

body {
  font-family: var(--fb);
  font-size: var(--txb);
  color: var(--tx);
  background: var(--bg);
  line-height: 1.75;
  transition: background var(--tr), color var(--tr);
}

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

p, li {
  text-wrap: pretty;
}

h1,h2,h3,h4 {
  text-wrap: balance;
}

::selection {
  background: oklch(from var(--pr) l c h / .18);
  color: var(--tx);
}

:focus-visible {
  outline: 2px solid var(--pr);
  outline-offset: 3px;
  border-radius: .375rem;
}

.pw {
  max-width: 680px;
  margin-inline: auto;
  padding-inline: var(--s6);
}

/* Header Styles */
.hdr {
  position: sticky;
  top: 0;
  z-index: 100;
  background: oklch(from var(--bg) l c h / .92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--div);
  padding: var(--s4) var(--s6);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo {
  font-family: var(--fd);
  font-size: var(--txsm);
  font-weight: 600;
  letter-spacing: .12em;
  color: var(--pr);
  text-decoration: none;
}

.hnav {
  display: flex;
  align-items: center;
  gap: var(--s3);
}

.nl {
  font-size: var(--txs);
  font-weight: 500;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--txm);
  text-decoration: none;
  padding: var(--s2) var(--s3);
  border-radius: .5rem;
  transition: color var(--tr), background var(--tr);
  cursor: pointer;
  background: none;
  border: none;
}

.nl:hover {
  color: var(--tx);
  background: oklch(from var(--tx) l c h / .06);
}

.tgl {
  width: 36px;
  height: 36px;
  border-radius: 9999px;
  border: 1px solid var(--bor);
  background: var(--sur);
  color: var(--txm);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: color var(--tr), background var(--tr);
}

.tgl:hover {
  color: var(--tx);
  background: var(--sur2);
}

/* Hero Styles */
.hero {
  padding: var(--s20) 0 var(--s12);
  text-align: center;
}

.kicker {
  font-family: var(--fb);
  font-size: var(--txs);
  font-weight: 500;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--go);
  margin-bottom: var(--s4);
}

.htitle {
  font-family: var(--fd);
  font-size: var(--txh);
  font-weight: 700;
  line-height: 1.1;
  color: var(--tx);
  margin-bottom: var(--s4);
}

.hsub {
  font-family: var(--fd);
  font-size: var(--txl);
  font-weight: 400;
  font-style: italic;
  color: var(--txm);
  margin-bottom: var(--s8);
  max-width: 52ch;
  margin-inline: auto;
  line-height: 1.6;
}

.hline {
  width: 60px;
  height: 2px;
  background: var(--go);
  margin: 0 auto;
  border-radius: 2px;
}

.hero-ctas {
  display: flex;
  justify-content: center;
  gap: var(--s4);
  margin-top: var(--s8);
  flex-wrap: wrap;
}

/* Button Styles */
.btn {
  padding: var(--s3) var(--s6);
  border-radius: .5rem;
  font-weight: 600;
  text-decoration: none;
  display: inline-block;
  transition: all var(--tr);
  cursor: pointer;
  border: none;
}

.btn.primary {
  background: var(--pr);
  color: white;
}

.btn.primary:hover {
  background: var(--prh);
  transform: translateY(-2px);
  box-shadow: 0 4px 8px oklch(.2 .01 60 / .15);
}

.btn.secondary {
  background: transparent;
  color: var(--pr);
  border: 1px solid var(--bor);
}

.btn.secondary:hover {
  background: var(--sur);
  transform: translateY(-2px);
}

.btn.tertiary {
  background: var(--gol);
  color: var(--go);
  border: 1px solid var(--bor);
}

.btn.tertiary:hover {
  background: var(--sur2);
  transform: translateY(-2px);
}

/* Content Sections */
.content-section {
  margin-bottom: var(--s12);
}

.content-section h2 {
  font-family: var(--fd);
  font-size: var(--txxl);
  font-weight: 700;
  color: var(--tx);
  margin-top: var(--s12);
  margin-bottom: var(--s4);
  line-height: 1.2;
}

.content-section h2:first-child {
  margin-top: 0;
}

.content-section p {
  font-size: var(--txb);
  color: var(--tx);
  line-height: 1.85;
  margin-bottom: var(--s6);
  max-width: 68ch;
}

.content-section p em {
  font-family: var(--fd);
  font-style: italic;
  color: var(--txm);
}

.content-section p strong {
  font-weight: 600;
  color: var(--tx);
}

/* Pillars Section */
.pillars {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: var(--s6);
  margin-top: var(--s8);
}

.pillar {
  padding: var(--s6);
  background: var(--sur);
  border-radius: .75rem;
  border: 1px solid var(--bor);
  text-align: center;
}

.pillar h3 {
  font-family: var(--fd);
  font-size: var(--txl);
  font-weight: 700;
  color: var(--pr);
  margin-bottom: var(--s4);
}

/* Audience List */
.audience-list {
  list-style: none;
  margin-top: var(--s6);
  display: flex;
  flex-direction: column;
  gap: var(--s3);
}

.audience-list li {
  font-size: var(--txb);
  padding-left: var(--s6);
  position: relative;
  color: var(--tx);
  max-width: 68ch;
}

.audience-list li::before {
  content: "—";
  position: absolute;
  left: 0;
  color: var(--go);
  font-weight: 700;
}

/* Features Grid */
.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: var(--s6);
  margin-top: var(--s8);
}

.feature-card {
  padding: var(--s6);
  background: var(--sur);
  border-radius: .75rem;
  border: 1px solid var(--bor);
  text-align: center;
}

.feature-card h3 {
  font-family: var(--fd);
  font-size: var(--txl);
  font-weight: 700;
  color: var(--pr);
  margin-bottom: var(--s4);
}

/* Different Features */
.different-features {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: var(--s6);
  margin-top: var(--s8);
}

.feature-item {
  padding: var(--s6);
  background: var(--sur);
  border-radius: .75rem;
  border: 1px solid var(--bor);
}

.feature-item h3 {
  font-family: var(--fd);
  font-size: var(--txl);
  font-weight: 700;
  color: var(--pr);
  margin-bottom: var(--s4);
}

/* Blockquote */
blockquote {
  border-left: 3px solid var(--go);
  padding: var(--s4) var(--s6);
  margin: var(--s8) 0;
  background: var(--gol);
  border-radius: 0 .75rem .75rem 0;
}

blockquote p {
  font-family: var(--fd);
  font-size: var(--txl);
  font-style: italic;
  color: var(--tx);
  margin: 0;
  line-height: 1.6;
}

/* Trust Strip */
.trust-strip {
  display: flex;
  justify-content: center;
  gap: var(--s8);
  padding: var(--s8) 0;
  border-top: 1px solid var(--div);
  border-bottom: 1px solid var(--div);
  margin: var(--s12) 0;
  flex-wrap: wrap;
}

.trust-strip span {
  font-size: var(--txsm);
  color: var(--txm);
  padding: var(--s2) var(--s4);
  background: var(--sur);
  border-radius: .5rem;
}

/* Footer */
.ftr {
  border-top: 1px solid var(--div);
  padding: var(--s8) var(--s6);
  margin-top: var(--s10);
}

.footer-columns {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: var(--s8);
  margin-bottom: var(--s6);
}

.footer-column h3 {
  font-family: var(--fd);
  font-size: var(--txl);
  font-weight: 700;
  color: var(--pr);
  margin-bottom: var(--s4);
}

.footer-column ul {
  list-style: none;
}

.footer-column li {
  margin-bottom: var(--s2);
}

.footer-column a {
  color: var(--txm);
  text-decoration: none;
  transition: color var(--tr);
}

.footer-column a:hover {
  color: var(--pr);
}

.footer-trust-line {
  font-size: var(--txsm);
  color: var(--txf);
  text-align: center;
  margin-bottom: var(--s4);
}

.urgent-help-note {
  font-size: var(--txs);
  color: var(--txf);
  text-align: center;
  padding-top: var(--s4);
  border-top: 1px solid var(--div);
}

/* Responsive Design */
@media(max-width: 600px) {
  .pw {
    padding-inline: var(--s4);
  }
  
  .hdr {
    padding: var(--s3) var(--s4);
  }
  
  .cb, .fw, .spb {
    padding: var(--s6);
  }
  
  .olc {
    padding: var(--s8) var(--s6);
  }
  
  .pq {
    padding: var(--s4);
  }
  
  .hero-ctas {
    flex-direction: column;
    align-items: center;
  }
  
  .btn {
    width: 100%;
    max-width: 300px;
    text-align: center;
  }
  
  .pillars, .features-grid, .different-features {
    grid-template-columns: 1fr;
  }
}

@media print {
  .hdr, .tabs, .tgl {
    display: none;
  }
  
  body {
    font-size: 11pt;
  }
}