
.page-bg{
  position:fixed;
  inset:0;
  z-index:-10;
  overflow:hidden;
  background:#02070d;
}
.page-bg img{
  position:absolute;
  top:0;
  left:0;
  width:100%;
  height:135vh;
  object-fit:cover;
  object-position:center top;
  transform:translate3d(0,0,0) scale(1.02);
  will-change:transform;
  filter:brightness(.92) saturate(1.02);
}
.page-bg::after{
  content:"";
  position:absolute;
  inset:0;
  background:
    radial-gradient(circle at 14% 18%, rgba(240,197,111,.05), transparent 18%),
    radial-gradient(circle at 84% 12%, rgba(80,122,165,.06), transparent 18%),
    linear-gradient(180deg,rgba(0,0,0,.16),rgba(0,0,0,.18) 38%,rgba(0,0,0,.34));
}
:root{
  --bg:#03070d;
  --bg2:#091422;
  --panel:#08111b;
  --panel2:#091725;
  --gold:#c98c2d;
  --gold2:#f0c56f;
  --cream:#f4e8d1;
  --text:#d8dee7;
  --muted:#a7b0bd;
  --line:rgba(240,197,111,.45);
  --lineSoft:rgba(240,197,111,.20);
  --borderSoft:rgba(255,255,255,.10);
  --shadow:0 18px 50px rgba(0,0,0,.34);
}
*{box-sizing:border-box}
html{scroll-behavior:smooth}
body{
  margin:0;
  padding-top:74px;
  color:var(--text);
  background:var(--bg);
  font-family:Inter,ui-sans-serif,system-ui,-apple-system,"Segoe UI",sans-serif;
}
a{text-decoration:none}
button,input,textarea{font:inherit}
.wrap{width:min(1320px,calc(100% - 48px));margin:auto}

.page-bg{
  position:fixed;
  inset:-4% 0 -4% 0;
  z-index:-10;
  will-change:transform;
  transform:translate3d(0,0,0) scale(1.06);
  transform-origin:center top;
  background:
    linear-gradient(180deg,rgba(3,7,13,.10),rgba(3,7,13,.28) 45%,rgba(3,7,13,.52)),
    url("assets/fixed-background.png") center top / cover no-repeat,
    linear-gradient(180deg,#05090f,#02060b);
}
.page-bg::after{
  content:"";
  position:absolute;
  inset:0;
  background:
    radial-gradient(circle at 14% 18%, rgba(240,197,111,.06), transparent 18%),
    radial-gradient(circle at 84% 12%, rgba(80,122,165,.07), transparent 18%),
    linear-gradient(180deg,rgba(0,0,0,.10),rgba(0,0,0,.16) 38%,rgba(0,0,0,.26));
}
.header-row{
  min-height:74px;
  display:flex;
  align-items:center;
  gap:28px;
}
.brand{
  display:flex;
  align-items:center;
  gap:12px;
  color:var(--cream);
  margin-right:auto;
}
.brand img{width:48px;height:48px;flex:0 0 48px}
.brand strong{
  display:block;
  color:var(--gold2);
  font:600 18px Georgia,serif;
  letter-spacing:.10em;
}
.brand small{
  display:block;
  color:#b4bdc7;
  font-size:12px;
  margin-top:2px;
}
.nav{
  display:flex;
  align-items:center;
  gap:34px;
}
.nav a{
  color:#eceff4;
  padding:26px 0 24px;
  border-bottom:3px solid transparent;
  font-size:14px;
}
.nav a.active,.nav a:hover{
  color:var(--gold2);
  border-color:var(--gold2);
}
.header-actions{
  display:flex;
  gap:12px;
  align-items:center;
  margin-left:8px;
}
.icon-pill,.icon-round{
  border:1px solid rgba(240,197,111,.28);
  background:rgba(6,12,20,.52);
  color:var(--cream);
}
.icon-pill{
  height:42px;
  padding:0 14px;
  border-radius:999px;
}
.icon-round{
  width:42px;height:42px;border-radius:50%;
}
.menu-toggle{
  display:none;
  border:0;
  background:none;
  color:var(--gold2);
  font-size:26px;
}

.hero-section{
  display:grid;
  grid-template-columns: 1fr 1.25fr;
  gap:28px;
  padding-top:22px;
}
.hero-left{
  min-height:495px;
  padding:108px 32px 28px 180px;
  position:relative;
}
.eyebrow{
  display:inline-block;
  color:var(--gold2);
  font-size:12px;
  font-weight:700;
  letter-spacing:.11em;
}
.hero-left h1{
  margin:18px 0 22px;
  color:var(--cream);
  font:500 clamp(44px,5vw,70px)/1.04 Georgia,serif;
  text-shadow:0 2px 18px rgba(0,0,0,.42);
}
.hero-left h1 em{
  color:var(--gold2);
  font-style:normal;
}
.hero-left p{
  max-width:470px;
  color:#e4e9ef;
  font-size:16px;
  line-height:1.68;
  text-shadow:0 2px 8px rgba(0,0,0,.34);
}
.hero-features{
  margin-top:28px;
  display:grid;
  grid-template-columns:repeat(3,1fr);
  gap:18px;
  max-width:540px;
}
.feature-mini{
  text-align:center;
  padding-top:16px;
  border-top:1px solid rgba(240,197,111,.24);
}
.feature-icon{
  display:block;
  color:var(--gold2);
  font-size:22px;
  margin-bottom:8px;
}
.feature-mini b{
  display:block;
  color:var(--gold2);
  font-size:14px;
  margin-bottom:6px;
}
.feature-mini small{
  color:#dde3ec;
  line-height:1.45;
}

.panel{
  position:relative;
  background:
    linear-gradient(180deg,rgba(5,14,22,.92),rgba(3,10,17,.93));
  border:1px solid rgba(240,197,111,.36);
  border-radius:20px;
  box-shadow:var(--shadow);
  overflow:hidden;
}
.panel::before{
  content:"";
  position:absolute;
  inset:0;
  background:
    radial-gradient(circle at 22% 12%, rgba(255,255,255,.018), transparent 22%),
    radial-gradient(circle at 88% 18%, rgba(240,197,111,.026), transparent 18%);
  pointer-events:none;
}
.panel-corner{
  position:absolute;
  width:22px;height:22px;
  pointer-events:none;
  opacity:.82;
}
.panel-corner.tl{top:10px;left:10px;border-top:2px solid var(--gold);border-left:2px solid var(--gold)}
.panel-corner.tr{top:10px;right:10px;border-top:2px solid var(--gold);border-right:2px solid var(--gold)}
.panel-corner.bl{bottom:10px;left:10px;border-bottom:2px solid var(--gold);border-left:2px solid var(--gold)}
.panel-corner.br{bottom:10px;right:10px;border-bottom:2px solid var(--gold);border-right:2px solid var(--gold)}

.panel-main{
  margin-top:68px;
  padding:28px 28px 20px;
  min-height:456px;
  backdrop-filter:blur(2px);
}
.panel-head{text-align:center}
.panel-head h2{
  margin:8px 0 8px;
  color:var(--gold2);
  font:500 36px Georgia,serif;
}
.panel-head p{
  color:#dbe3ec;
  font-size:16px;
  margin:0 0 18px;
}
.question-top{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:14px;
}
.field-title{
  display:block;
  color:#ffffff;
  font-size:14px;
  font-weight:700;
}
.examples-link{
  color:var(--gold2);
  font-size:14px;
}
.category-grid{
  margin-top:12px;
  display:grid;
  grid-template-columns:repeat(4,1fr);
  gap:12px;
}
.category{
  height:46px;
  border-radius:10px;
  border:1px solid rgba(255,255,255,.14);
  background:rgba(8,18,30,.75);
  color:#f3f5f8;
}
.category.active,.category:hover{
  color:var(--gold2);
  border-color:var(--gold2);
  background:rgba(240,197,111,.07);
}
.textarea-wrap{
  position:relative;
  margin-top:16px;
}
.textarea-wrap textarea{
  width:100%;
  min-height:118px;
  resize:vertical;
  border-radius:12px;
  border:1px solid rgba(255,255,255,.10);
  outline:none;
  background:rgba(6,15,24,.72);
  color:#ffffff;
  padding:16px 16px 34px;
}
.textarea-wrap textarea::placeholder{color:#8e98a8}
.textarea-wrap textarea:focus{
  border-color:rgba(240,197,111,.55);
  box-shadow:0 0 0 3px rgba(240,197,111,.08);
}
#charCounter{
  position:absolute;
  right:14px;
  bottom:12px;
  color:#9ca7b6;
  font-size:12px;
}
.field-gap{margin-top:14px}
.method-row{
  margin-top:12px;
  display:flex;
  gap:42px;
  align-items:center;
  flex-wrap:wrap;
}
.method-row label{
  color:#ffffff;
  font-size:15px;
}
.method-row input{accent-color:var(--gold2)}
.specific-time{margin-top:12px}
.specific-time input{
  width:100%;
  border:1px solid rgba(255,255,255,.14);
  border-radius:10px;
  background:rgba(6,15,24,.72);
  color:#fff;
  padding:12px 14px;
  color-scheme:dark;
}
.hidden{display:none!important}
.cta-button{
  margin-top:18px;
  width:100%;
  height:50px;
  border:0;
  border-radius:10px;
  background:linear-gradient(180deg,#f2c96f,#c88f35);
  color:#17120c;
  font:600 20px Georgia,serif;
  box-shadow:0 8px 22px rgba(0,0,0,.28), inset 0 1px 0 rgba(255,255,255,.28);
}
.privacy-line{
  margin:12px 0 0;
  text-align:center;
  color:#d9dee8;
  font-size:14px;
}

.result-strip{
  margin-top:16px;
  display:grid;
  grid-template-columns: 1fr 1.35fr;
  gap:18px;
}
.result-panel{
  min-height:190px;
  padding:16px 18px 18px;
}
.result-kicker{
  color:var(--gold2);
  font-size:12px;
  font-weight:700;
  letter-spacing:.06em;
}
.result-sub{
  margin:8px 0 14px;
  color:#fff5df;
  font:500 18px Georgia,serif;
}
.state-row{
  display:grid;
  grid-template-columns:1fr 34px 1fr 34px 1fr;
  gap:8px;
  align-items:center;
}
.state-item{
  text-align:center;
}
.state-orb{
  width:138px;height:138px;
  margin:0 auto 10px;
  border-radius:50%;
  border:2px solid var(--gold);
  display:grid;
  place-items:center;
  background:radial-gradient(circle, rgba(240,197,111,.05), transparent 68%);
}
.state-orb b{
  display:block;
  color:var(--gold2);
  font:500 32px Georgia,serif;
}
.state-orb small{
  display:block;
  color:var(--gold2);
  font:600 17px Georgia,serif;
  letter-spacing:.03em;
  margin-top:5px;
}
.state-item .label{
  display:block;
  color:#fff3de;
  font:500 18px Georgia,serif;
  margin-bottom:6px;
}
.state-item .sub{
  color:#f1f5fb;
  font-size:14px;
}
.arrow{
  color:var(--gold2);
  font-size:44px;
  text-align:center;
  transform:translateY(-10px);
}
.result-right{
  position:relative;
}
.result-right::after{
  content:"";
  position:absolute;
  right:0;
  top:0;
  bottom:0;
  width:38%;
  background:
    linear-gradient(90deg, rgba(8,15,24,0), rgba(8,15,24,.18) 24%, rgba(8,15,24,.35) 100%),
    url("assets/fixed-background.png") right center / cover no-repeat;
  opacity:.72;
}
.result-summary{
  position:relative;
  z-index:1;
  max-width:62%;
  padding:14px 4px 0;
}
.result-summary h3{
  margin:6px 0 14px;
  color:#f4ead5;
  font:500 24px Georgia,serif;
}
.result-summary h3 span{color:var(--gold2)}
.result-summary p{
  color:#eff3f8;
  font-size:15px;
  line-height:1.56;
}
.meta-row{
  margin-top:18px;
  display:grid;
  grid-template-columns:repeat(4,1fr);
  gap:18px;
}
.meta-row b{
  display:block;
  color:var(--gold2);
  font-size:14px;
  margin-bottom:8px;
}
.meta-row span{
  color:#ffffff;
  font-size:15px;
}

.about-block{
  position:relative;
  margin-top:16px;
  padding:22px 0 10px;
}
.section-deco{
  position:absolute;
  width:220px;height:220px;
  opacity:.18;
  pointer-events:none;
}
.deco-left{
  left:-10px;bottom:58px;
  border-radius:50%;
  border:1px solid rgba(240,197,111,.28);
}
.deco-left::before,.deco-left::after{
  content:"";
  position:absolute;
  inset:12px;
  border-radius:50%;
  border:1px solid rgba(240,197,111,.16);
}
.deco-left::after{inset:28px;border-style:dashed}
.deco-right{
  right:28px;top:12px;
}
.deco-right::before,.deco-right::after{
  content:"";
  position:absolute;
  background:
    linear-gradient(90deg, transparent 0 10%, rgba(240,197,111,.72) 10% 12%, transparent 12% 100%),
    linear-gradient(180deg, transparent 0 18%, rgba(240,197,111,.72) 18% 20%, transparent 20% 100%);
  inset:0;
  opacity:.22;
}
.section-heading{
  text-align:center;
  max-width:760px;
  margin:0 auto;
}
.line-eyebrow{
  position:relative;
  padding:0 22px;
}
.line-eyebrow::before,.line-eyebrow::after{
  content:"";
  position:absolute;
  top:50%;
  width:18px;height:1px;
  background:var(--gold2);
}
.line-eyebrow::before{left:0}
.line-eyebrow::after{right:0}
.section-heading h2{
  margin:10px 0 12px;
  color:var(--cream);
  font:500 64px Georgia,serif;
}
.section-heading p{
  color:#f0f4fa;
  font-size:16px;
  line-height:1.6;
}
.info-card-grid{
  margin-top:22px;
  display:grid;
  grid-template-columns:repeat(4,1fr);
  gap:16px;
}
.info-card{
  min-height:166px;
  border:1px solid rgba(240,197,111,.30);
  background:linear-gradient(180deg,rgba(7,15,25,.90),rgba(4,11,18,.92));
  border-radius:18px;
  padding:18px 22px 20px;
  box-shadow:var(--shadow);
}
.info-icon{
  color:var(--gold2);
  font-size:40px;
  margin-bottom:8px;
}
.info-card h3{
  margin:6px 0 8px;
  color:#f7ead3;
  font:500 20px Georgia,serif;
}
.info-card p{
  margin:0;
  color:#eef3fa;
  font-size:15px;
  line-height:1.58;
}

.content-section{
  margin-top:28px;
  padding:16px 0 8px;
}
.content-head{
  text-align:center;
  max-width:780px;
  margin:0 auto 18px;
}
.content-head h2{
  margin:10px 0 10px;
  color:var(--cream);
  font:500 40px Georgia,serif;
}
.content-head p{
  color:#ecf1f8;
  font-size:16px;
  line-height:1.65;
}
.three-steps{
  display:grid;
  grid-template-columns:repeat(3,1fr);
  gap:16px;
}
.three-steps article,.six-grid article{
  border:1px solid rgba(240,197,111,.24);
  border-radius:16px;
  background:linear-gradient(180deg,rgba(7,15,25,.86),rgba(4,11,18,.90));
  padding:20px;
}
.three-steps span{
  display:grid;
  place-items:center;
  width:44px;height:44px;
  border:1px solid var(--gold2);
  border-radius:50%;
  color:var(--gold2);
  font:600 20px Georgia,serif;
  margin-bottom:12px;
}
.three-steps h3,.six-grid h3{
  margin:0 0 8px;
  color:#f5ebd7;
  font:500 22px Georgia,serif;
}
.three-steps p,.six-grid p{
  margin:0;
  color:#eef4fa;
  line-height:1.58;
}
.six-grid{
  display:grid;
  grid-template-columns:repeat(3,1fr);
  gap:16px;
}
.six-grid b{
  display:block;
  color:var(--gold2);
  font:500 36px Georgia,serif;
  margin-bottom:8px;
}

.faq-list{
  max-width:900px;
  margin:0 auto;
}
.faq-list details{
  border-bottom:1px solid rgba(255,255,255,.12);
  padding:16px 0;
}
.faq-list summary{
  cursor:pointer;
  color:#fff3dd;
  font-weight:700;
}
.faq-list p{
  color:#edf3fa;
  line-height:1.62;
}

.site-footer{
  margin-top:22px;
  background:rgba(1,5,9,.82);
  border-top:1px solid rgba(255,255,255,.08);
}
.footer-row{
  min-height:84px;
  display:grid;
  grid-template-columns:auto 1fr auto;
  align-items:center;
  gap:18px;
}
.footer-brand{
  display:flex;
  align-items:center;
  gap:10px;
}
.footer-brand img{width:42px;height:42px}
.footer-brand strong{
  display:block;
  color:var(--gold2);
  font:600 18px Georgia,serif;
  letter-spacing:.06em;
}
.footer-brand small{
  color:#bac2ce;
  font-size:12px;
}
.footer-links{
  text-align:center;
}
.footer-links a{
  color:#eceff5;
  margin:0 12px;
  font-size:14px;
}
.footer-copy{
  color:#d8dfe8;
  font-size:13px;
}

@media (max-width:1150px){
  .hero-section{grid-template-columns:1fr}
  .hero-left{padding:84px 24px 8px 110px;min-height:auto}
  .panel-main{margin-top:0}
  .result-strip{grid-template-columns:1fr}
  .result-summary{max-width:58%}
  .info-card-grid{grid-template-columns:repeat(2,1fr)}
}
@media (max-width:980px){
  .nav{
    display:none;
    position:absolute;
    top:74px;left:0;right:0;
    background:rgba(2,7,13,.98);
    padding:8px 24px 18px;
    border-bottom:1px solid rgba(255,255,255,.08);
  }
  .nav.open{display:grid}
  .nav a{padding:10px 0;border-bottom:0}
  .menu-toggle{display:block}
  .header-actions{margin-left:auto}
  .hero-left{padding:74px 10px 6px 30px}
  .hero-features{max-width:100%}
  .category-grid{grid-template-columns:repeat(2,1fr)}
  .result-summary{max-width:100%;padding-right:35%}
  .meta-row{grid-template-columns:repeat(2,1fr)}
  .three-steps{grid-template-columns:1fr}
  .six-grid{grid-template-columns:repeat(2,1fr)}
  .footer-row{grid-template-columns:1fr;justify-items:center;padding:18px 0}
}
@media (max-width:700px){
  .wrap{width:min(100% - 24px,1320px)}
  .brand strong{font-size:16px}
  .brand small{font-size:11px}
  .header-actions{display:none}
  .hero-left{padding:62px 2px 0 8px}
  .hero-left h1{font-size:44px}
  .hero-left p{font-size:15px}
  .hero-features{grid-template-columns:1fr}
  .panel-main{padding:20px 18px 18px}
  .panel-head h2{font-size:30px}
  .method-row{gap:12px;flex-direction:column;align-items:flex-start}
  .state-row{
    grid-template-columns:1fr;
    gap:12px;
  }
  .arrow{transform:none;font-size:34px}
  .result-right::after{display:none}
  .result-summary{padding-right:0}
  .section-heading h2{font-size:42px}
  .info-card-grid,.six-grid{grid-template-columns:1fr}
  .meta-row{grid-template-columns:1fr 1fr}
}


/* Parallax version refinements */
.panel{
  backdrop-filter: blur(2px);
}
.result-right::after{
  background:
    linear-gradient(90deg, rgba(8,15,24,0), rgba(8,15,24,.14) 24%, rgba(8,15,24,.28) 100%),
    url("assets/fixed-background.png") right center / cover no-repeat;
}


@media (max-width:980px){
  body{padding-top:74px;}
  .hero-section{
    grid-template-columns:1fr !important;
    padding-top:10px;
  }
  .hero-left{
    display:none !important;
  }
  .panel-main{
    margin-top:8px !important;
  }
}
@media (max-width:700px){
  .panel-main{
    padding:18px 16px 16px !important;
  }
}



/* ===== FIXED HEADER + WATER REVEAL OVERRIDES ===== */
body{
  padding-top:64px !important;
}

.site-header{
  position:fixed !important;
  top:0 !important;
  left:0 !important;
  right:0 !important;
  z-index:1000 !important;
  height:64px !important;
  background:rgba(2,7,13,.96) !important;
  border-bottom:1px solid rgba(240,197,111,.14) !important;
  backdrop-filter:blur(14px) !important;
  box-shadow:0 5px 18px rgba(0,0,0,.20) !important;
}
.site-header .header-row{
  min-height:64px !important;
  height:64px !important;
}
.site-header .brand img{
  width:40px !important;
  height:40px !important;
  flex-basis:40px !important;
}
.site-header .brand strong{
  font-size:16px !important;
}
.site-header .brand small{
  font-size:10px !important;
}
.site-header .nav a{
  padding:21px 0 18px !important;
}
.site-header .icon-pill,
.site-header .icon-round{
  height:38px !important;
}
.site-header .icon-round{
  width:38px !important;
}

/* Background image is deliberately taller than the viewport.
   This lets scrolling reveal the lower water area instead of cropping it forever. */
.page-bg{
  position:fixed !important;
  inset:0 !important;
  z-index:-10 !important;
  overflow:hidden !important;
  background:#02070d !important;
  transform:none !important;
}
.page-bg img{
  position:absolute !important;
  top:0 !important;
  left:50% !important;
  width:max(100vw, calc(120vh * 16 / 9)) !important;
  height:auto !important;
  max-width:none !important;
  min-height:120vh !important;
  object-fit:contain !important;
  object-position:center top !important;
  transform:translate3d(-50%, var(--bg-y, 0px), 0) !important;
  transform-origin:center top !important;
  will-change:transform !important;
  filter:brightness(.92) saturate(1.02) !important;
}
.page-bg::after{
  background:
    linear-gradient(180deg,rgba(2,7,13,.12),rgba(2,7,13,.12) 35%,rgba(2,7,13,.28) 100%) !important;
}

.hero-section{
  padding-top:10px !important;
}

@media(max-width:980px){
  body{padding-top:60px !important;}
  .site-header,
  .site-header .header-row{
    height:60px !important;
    min-height:60px !important;
  }
  .hero-section{
    padding-top:6px !important;
  }
  .hero-left{
    display:none !important;
  }
  .panel-main{
    margin-top:4px !important;
  }
  .page-bg img{
    width:max(100vw, calc(128vh * 16 / 9)) !important;
    min-height:128vh !important;
  }
}


/* ===== FINAL V1 FUNCTIONAL ADDITIONS ===== */
.language-badge{display:inline-flex;align-items:center;gap:6px}
.examples-link{
  border:0;background:none;padding:0;cursor:pointer;
  color:var(--gold2);font-size:14px;text-decoration:underline;text-underline-offset:3px
}
.method-row small{font-size:10px;color:#aab3bf}
.calculation-line{
  margin:14px 0 0;color:#929eac;font-size:11px;line-height:1.5;
  border-top:1px solid rgba(255,255,255,.07);padding-top:10px
}
.final-state .state-orb{
  box-shadow:0 0 0 4px rgba(240,197,111,.05),0 0 24px rgba(240,197,111,.08)
}
.result-actions{display:flex;gap:10px;margin-top:20px;flex-wrap:wrap}
.small-gold-button,.small-ghost-button{
  min-height:38px;border-radius:8px;padding:8px 14px;font-weight:700
}
.small-gold-button{
  border:1px solid #f0c56f;background:linear-gradient(#e8ba61,#b77d2e);color:#17120c
}
.small-ghost-button{
  border:1px solid rgba(240,197,111,.35);background:rgba(6,15,24,.50);color:var(--gold2)
}

.reading-deep-dive{
  margin-top:14px;padding:18px;border-radius:18px;
  background:rgba(3,10,17,.80);border:1px solid rgba(240,197,111,.22);
  box-shadow:var(--shadow);backdrop-filter:blur(3px)
}
.deep-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:14px}
.deep-card{
  padding:17px;border:1px solid rgba(255,255,255,.08);border-radius:12px;
  background:rgba(7,16,26,.66)
}
.deep-number{color:var(--gold);font-size:11px}
.deep-card h3,.category-reading h3{color:var(--cream);font:500 20px Georgia,serif;margin:6px 0 8px}
.deep-card p,.category-reading p{color:#dce3ec;line-height:1.65;font-size:13px;margin:0}
.category-reading{
  margin-top:14px;padding:19px 20px;border-left:3px solid var(--gold);
  background:rgba(215,166,76,.055)
}
.category-reading h3{font-size:24px}
.category-reading p{font-size:14px}
.association-note{margin-top:12px!important;color:#8793a1!important;font-size:10px!important}

.article-grid{display:grid;grid-template-columns:repeat(2,1fr);gap:14px}
.article-card{
  padding:18px;border:1px solid rgba(240,197,111,.22);border-radius:14px;
  background:linear-gradient(180deg,rgba(7,15,25,.86),rgba(4,11,18,.90))
}
.article-card summary{cursor:pointer;color:#f5ead6;font:500 19px Georgia,serif}
.article-card p{color:#dce4ed;line-height:1.65;font-size:14px}

.modal-backdrop{
  position:fixed;inset:0;z-index:3000;display:grid;place-items:center;padding:20px;
  background:rgba(0,0,0,.72);backdrop-filter:blur(6px)
}
.modal-card{
  position:relative;width:min(620px,100%);max-height:85vh;overflow:auto;
  border:1px solid rgba(240,197,111,.38);border-radius:18px;padding:26px;
  background:linear-gradient(180deg,#081724,#04101a);box-shadow:0 28px 90px rgba(0,0,0,.55)
}
.modal-card h2{color:var(--cream);font:500 31px Georgia,serif;margin:7px 0 8px}
.modal-card>p{color:#a9b3bf;line-height:1.6}
.modal-close{
  position:absolute;right:12px;top:9px;border:0;background:none;color:var(--gold2);
  font-size:28px;line-height:1
}
.example-list{display:grid;gap:9px;margin-top:18px}
.example-list button{
  text-align:left;border:1px solid rgba(255,255,255,.10);border-radius:9px;
  background:#06131f;color:#e8edf4;padding:13px 14px
}
.example-list button:hover{border-color:var(--gold);color:var(--gold2)}
.share-text{
  width:100%;min-height:170px;resize:vertical;border:1px solid rgba(255,255,255,.12);
  background:#04101a;color:#e7edf5;border-radius:10px;padding:13px
}
.share-buttons{display:flex;gap:10px;margin-top:12px}

.scene-dim .page-bg img{filter:brightness(.66) saturate(.92)!important}

.legal-main{
  width:min(900px,calc(100% - 32px));margin:38px auto 70px;padding:28px 30px;
  background:rgba(4,12,20,.90);border:1px solid rgba(240,197,111,.24);
  border-radius:18px;box-shadow:var(--shadow)
}
.legal-main h1{color:var(--cream);font:500 42px Georgia,serif;margin:0 0 6px}
.legal-main h2{color:var(--gold2);font:500 24px Georgia,serif;margin-top:28px}
.legal-main p,.legal-main li{color:#d8e0e9;line-height:1.72}
.legal-main .updated{color:#8c97a5;font-size:12px}
.legal-main a{color:var(--gold2)}

@media(max-width:980px){
  .deep-grid{grid-template-columns:1fr}
  .article-grid{grid-template-columns:1fr}
}
@media(max-width:700px){
  .reading-deep-dive{padding:13px}
  .result-actions{display:grid;grid-template-columns:1fr 1fr}
  .category-reading h3{font-size:21px}
  .modal-card{padding:22px 17px}
}

/* SEO guide pages */
.guide-hero{padding:72px 0 28px;text-align:center;max-width:900px}
.guide-hero h1{margin:12px 0 16px;color:var(--cream);font:500 clamp(42px,6vw,72px) Georgia,serif;line-height:1.05}
.guide-hero p{font-size:18px;line-height:1.7;color:#eef3fa;max-width:780px;margin:0 auto}
.guide-layout{max-width:980px;margin:0 auto 60px}
.guide-card{border:1px solid rgba(240,197,111,.25);border-radius:18px;background:linear-gradient(180deg,rgba(7,15,25,.90),rgba(4,11,18,.94));padding:28px;margin:18px 0;box-shadow:var(--shadow)}
.guide-card h2{color:#f7ead3;font:500 32px Georgia,serif;margin:0 0 14px}.guide-card h3{color:var(--gold2);font:500 22px Georgia,serif;margin:24px 0 8px}
.guide-card p,.guide-card li{color:#eef3fa;line-height:1.75}.guide-card a,.guide-links a{color:var(--gold2)}
.guide-table{width:100%;border-collapse:collapse;margin:18px 0}.guide-table th,.guide-table td{border-bottom:1px solid rgba(255,255,255,.12);padding:12px;text-align:left;vertical-align:top}.guide-table th{color:var(--gold2)}
.guide-cta{text-align:center;padding:30px}.guide-cta .primary-btn{display:inline-block;margin-top:10px}
.guide-links{display:flex;gap:14px;flex-wrap:wrap;justify-content:center;margin:24px 0 48px}.guide-links a{border:1px solid rgba(240,197,111,.3);border-radius:999px;padding:9px 14px;background:rgba(7,15,25,.8)}
@media(max-width:700px){.guide-hero{padding-top:38px}.guide-card{padding:20px}.guide-table{font-size:14px}}
