:root{
    --navy-deep:#0B1E36; --navy-mid:#142A46; --navy-line:rgba(198,162,77,0.28);
    --gold:#C6A24D; --gold-dark:#7D6118; --gold-light:#E4C878;
    --ivory:#F3EEE1; --off-white:#F7F4EC; --ink:#1B2534; --max-w:760px;
  }
  *{box-sizing:border-box; margin:0; padding:0;}
  html{scroll-behavior:smooth;}
  body{font-family:'Lora',serif; color:var(--ink); background:var(--ivory); line-height:1.7; -webkit-font-smoothing:antialiased;}
  h1,h2,h3{font-family:'Cormorant Garamond',serif; font-weight:600; line-height:1.15;}
  a{color:var(--gold-dark);}
  .wrap{max-width:var(--max-w); margin:0 auto; padding:0 24px;}
  :focus-visible{outline:3px solid var(--gold-dark); outline-offset:3px;}

  header{background:var(--navy-deep); color:var(--off-white); padding:22px 0; border-bottom:1px solid var(--navy-line);}
  .bar{max-width:var(--max-w); margin:0 auto; padding:0 24px; display:flex; align-items:center; justify-content:space-between; gap:16px;}
  .lock{font-family:'Cormorant Garamond',serif; font-size:1.2rem; letter-spacing:0.04em; line-height:1.1;}
  .lock span{display:block; font-family:'Jost',sans-serif; font-size:0.56rem; letter-spacing:0.26em; color:var(--gold-light); text-transform:uppercase; margin-top:2px;}
  .back{font-family:'Jost',sans-serif; font-size:0.72rem; letter-spacing:0.14em; text-transform:uppercase; color:var(--gold-light); text-decoration:none; white-space:nowrap;}
  .back:hover{color:var(--off-white);}

  .head{background:var(--navy-deep); color:var(--off-white); padding:44px 0 58px;}
  .head .eyebrow{font-family:'Jost',sans-serif; font-size:0.7rem; letter-spacing:0.3em; text-transform:uppercase; color:var(--gold-light); display:block; margin-bottom:14px;}
  .head h1{font-size:clamp(2rem,4.6vw,2.9rem); color:var(--off-white);}
  .head p{margin-top:14px; color:rgba(247,244,236,0.78); font-size:0.98rem;}

  main{padding:56px 0 90px;}
  section{margin-bottom:42px;}
  h2{font-size:1.5rem; color:var(--navy-deep); margin-bottom:14px; padding-bottom:10px; border-bottom:1px solid rgba(11,30,54,0.12);}
  h2 .num{font-family:'Jost',sans-serif; font-size:0.72rem; letter-spacing:0.16em; color:var(--gold-dark); display:block; margin-bottom:6px; font-weight:500;}
  h3{font-size:1.12rem; color:var(--navy-deep); margin:22px 0 8px;}
  p{margin-bottom:14px; font-size:0.97rem;}
  ul{margin:0 0 16px 0; list-style:none;}
  li{position:relative; padding:6px 0 6px 20px; font-size:0.95rem;}
  li::before{content:''; position:absolute; left:0; top:14px; width:5px; height:5px; background:var(--gold); transform:rotate(45deg);}
  .box{background:var(--off-white); border:1px solid rgba(11,30,54,0.12); border-left:3px solid var(--gold); padding:22px 24px; margin:20px 0;}
  .box p:last-child{margin-bottom:0;}
  .meta{font-family:'Jost',sans-serif; font-size:0.78rem; letter-spacing:0.06em; color:#5f5849;}

  footer{background:var(--navy-deep); color:rgba(247,244,236,0.72); padding:34px 0; font-size:0.85rem;}
  footer a{color:var(--gold-light);}
  footer .wrap{display:flex; justify-content:space-between; flex-wrap:wrap; gap:12px;}

/* Phase 5: consent banner and privacy preference controls. */
.privacy-consent{position:fixed; left:18px; right:18px; bottom:18px; z-index:1200; background:var(--navy-deep,#0B1E36); color:var(--off-white,#F7F4EC); border:1px solid var(--gold,#C6A24D); box-shadow:0 18px 46px rgba(0,0,0,.34);}
.privacy-consent[hidden]{display:none;}
.privacy-consent-inner{max-width:1180px; margin:0 auto; padding:20px 24px; display:flex; gap:24px; align-items:center; justify-content:space-between;}
.privacy-consent h2{font-family:'Cormorant Garamond',serif; font-size:1.35rem; color:var(--gold-light,#E4C878); margin:0 0 5px;}
.privacy-consent p{font-size:.86rem; line-height:1.5; color:rgba(247,244,236,.84); max-width:72ch; margin:0 0 5px;}
.privacy-consent a{font-family:'Jost',sans-serif; font-size:.74rem; color:var(--gold-light,#E4C878); text-decoration:underline; text-underline-offset:3px;}
.privacy-consent-actions{display:flex; gap:10px; flex:0 0 auto; align-items:center;}
.privacy-consent button{font-family:'Jost',sans-serif; font-size:.72rem; letter-spacing:.08em; text-transform:uppercase; padding:11px 14px; border-radius:2px; cursor:pointer;}
.privacy-settings{color:var(--off-white,#F7F4EC); background:transparent; border:1px solid rgba(247,244,236,.5);}
.privacy-accept{color:var(--navy-deep,#0B1E36); background:var(--gold,#C6A24D); border:1px solid var(--gold,#C6A24D);}
.privacy-consent button:hover{filter:brightness(1.08);}
@media (max-width:700px){.privacy-consent{left:10px; right:10px; bottom:10px;}.privacy-consent-inner{padding:18px; display:block;}.privacy-consent-actions{margin-top:15px; flex-wrap:wrap;}.privacy-consent button{flex:1; min-width:150px;}}
