:root{
  --bg:#fdf7f9;
  --surface:#ffffff;
  --fg:#241319;
  --muted:#7a6770;
  --border:#f1e0e6;
  --primary:#e0457b;
  --primary-2:#f47ab1;
  --accent:#fde6ee;
  --radius:18px;
  --shadow-card:0 4px 24px -8px rgba(180,60,110,.14);
  --shadow-soft:0 24px 60px -20px rgba(224,69,123,.35);
  --grad:linear-gradient(135deg,#e0457b 0%,#f47ab1 100%);
  --grad-soft:linear-gradient(180deg,#fce8ef 0%,#ffffff 100%);
}
*{box-sizing:border-box}
html{scroll-behavior:smooth}
body{
  margin:0;font-family:'Inter',system-ui,-apple-system,Segoe UI,sans-serif;
  background:var(--bg);color:var(--fg);line-height:1.6;-webkit-font-smoothing:antialiased;
}
h1,h2,h3{font-family:'Fraunces',Georgia,serif;letter-spacing:-.01em;margin:0}
a{color:var(--primary);text-decoration:none}
a:hover{text-decoration:underline}

/* progress bar */
.progress{position:fixed;top:0;left:0;right:0;height:3px;z-index:50;background:transparent}
.progress__bar{height:100%;width:0;background:var(--grad);transition:width .12s linear}

/* top nav */
.top-nav{
  position:sticky;
  top:0;
  z-index:45;
  background:rgba(253,247,249,.88);
  backdrop-filter:blur(12px);
  border-bottom:1px solid rgba(241,224,230,.75);
}
.top-nav__inner{min-height:74px}
.top-nav__brand{
  display:inline-flex;
  align-items:center;
  gap:10px;
  font-weight:700;
  color:var(--fg);
  text-decoration:none;
}
.top-nav__brand:hover{text-decoration:none;color:var(--fg)}
.top-nav__logo{
  width:40px;height:40px;border-radius:14px;display:grid;place-items:center;color:#fff;
  background:var(--grad);box-shadow:0 6px 18px -6px rgba(224,69,123,.5);
}
.top-nav__name{font-family:'Fraunces',Georgia,serif;font-size:22px;line-height:1}
.top-nav__menu{gap:6px}
.top-nav__link{
  font-weight:600;
  color:var(--muted);
  border-radius:999px;
  padding:10px 16px !important;
  transition:all .2s ease;
}
.top-nav__link:hover{
  color:var(--fg);
  background:#fbecf2;
  text-decoration:none;
}
.top-nav__link.is-active{
  color:#fff !important;
  background:var(--grad);
  box-shadow:0 10px 24px -10px rgba(224,69,123,.6);
}
.top-nav__toggler{border:1px solid var(--border);padding:6px 10px}
.top-nav__toggler:focus{box-shadow:0 0 0 3px rgba(244,122,177,.2)}

/* hero */
.hero{position:relative;overflow:hidden;background:var(--grad-soft)}
.hero::before,.hero::after{
  content:"";position:absolute;border-radius:50%;filter:blur(80px);z-index:0;opacity:.55;
  background:var(--grad);
}
.hero::before{width:380px;height:380px;top:-120px;right:-120px}
.hero::after{width:380px;height:380px;bottom:-160px;left:-120px;opacity:.35}
.hero__inner{position:relative;z-index:1;padding:50px 0 60px}
.brand{display:flex;align-items:center;gap:10px;margin-bottom:32px;font-weight:600}
.brand__logo{
  width:40px;height:40px;border-radius:14px;display:grid;place-items:center;color:#fff;
  background:var(--grad);box-shadow:0 6px 18px -6px rgba(224,69,123,.5);
}
.badge{
  display: inline-flex;
    align-items: center;
    gap: 8px;
    background: #fff3f7;
    color: #c95282;
    padding: 7px 14px;
    border-radius: 999px;
    font-size: 12px;
    font-weight: 500;
}
.hero__title-row{
  display:flex;
  width:100%;
  align-items:flex-start;
  gap:18px;
}
.hero__badge-row{
      width: 100%;
    display: flex;
    justify-content: flex-end;
    margin-bottom: 15px;
}
.hero__badge{
  margin:0;
  border:1px solid #f4d4e0;
  box-shadow:0 4px 14px -10px rgba(224,69,123,.35);
  white-space:nowrap;
}
.hero__title-row h1{margin:0}
.hero h1{font-size:55px;font-weight:700;line-height:1.05}
.hero h1 em{
  font-style:italic;
  background:var(--grad);-webkit-background-clip:text;background-clip:text;color:transparent;
}
.hero p{margin:18px 0 0;font-size:clamp(16px,1.6vw,19px);color:var(--muted);max-width:620px}
.actions{display:flex;flex-wrap:wrap;gap:12px;margin-top:30px}
.dg-btn{
  display:inline-flex;align-items:center;gap:8px;padding:13px 22px;border-radius:999px;
  font-weight:600;font-size:14.5px;border:1px solid transparent;cursor:pointer;transition:.2s;
  background:var(--surface);color:var(--fg);
}
.dg-btn:hover{transform:translateY(-1px)}
.dg-btn--primary{background:var(--grad);color:#fff;box-shadow:0 10px 24px -10px rgba(224,69,123,.6)}
.dg-btn--ghost{background:transparent;border-color:var(--border);color:var(--fg)}
.meta{display:flex;flex-wrap:wrap;gap:24px;margin-top:36px;font-size:14px;color:var(--muted)}
.meta span{display:inline-flex;align-items:center;gap:8px}
.dot{width:6px;height:6px;border-radius:50%;background:var(--primary)}
@media (max-width:767.98px){
  .top-nav__inner{min-height:68px}
  .top-nav__name{font-size:20px}
  .top-nav .navbar-collapse{
    background:var(--surface);
    border:1px solid var(--border);
    border-radius:16px;
    margin-top:10px;
    padding:8px;
    box-shadow:var(--shadow-card);
  }
  .top-nav__menu{gap:4px}
  .top-nav__link{padding:12px 14px !important}
  .hero__inner{padding:48px 0 64px}
  .brand{margin-bottom:20px}
  .badge{margin-bottom:14px}
  .hero__title-row{
    align-items:flex-start;
    gap:10px;
  }
  .hero__badge-row{justify-content:flex-end;margin-top:8px}
  .hero__badge{margin-top:0;margin-left:0}
  .hero p{max-width:100%}
  .actions{margin-top:22px}
  .meta{margin-top:24px;gap:12px}
}

/* layout */
main{padding:40px 0 50px}
.grid{display:grid;grid-template-columns:260px 1fr;gap:48px}
@media (max-width:991.98px){.grid{grid-template-columns:1fr;gap:24px}.toc{display:none}}

/* TOC */
.toc{position:sticky;top:24px;align-self:start}
.toc__label{font-size:11px;letter-spacing:.18em;text-transform:uppercase;color:var(--muted);font-weight:700;margin:0 0 14px;padding-left:12px}
.toc__list{list-style:none;margin:0;padding:0;display:flex;flex-direction:column;gap:2px}
.toc__link{
  display:flex;gap:12px;padding:9px 12px;border-radius:12px;font-size:13.5px;color:var(--muted);
  cursor:pointer;transition:.15s;text-decoration:none;
}
.toc__link:hover{background:#fbecf2;color:var(--fg);text-decoration:none}
.toc__link.active{background:var(--accent);color:#a8265a;font-weight:500}
.toc__num{font-family:ui-monospace,SFMono-Regular,Menlo,monospace;font-size:11px;opacity:.7}
.toc__link.active .toc__num{color:var(--primary);opacity:1}

/* sections */
.sections{display:flex;flex-direction:column;gap:22px}
.section{
  background:var(--surface);border:1px solid var(--border);border-radius:24px;
  padding:38px;box-shadow:var(--shadow-card);scroll-margin-top:24px;
}
@media (max-width:767.98px){
  .section{padding:26px} 
  main {
    padding: 26px 0 30px;
  }
}
.section__head{display:flex;align-items:baseline;gap:14px;margin-bottom:18px}
.section__num{
  font-family:ui-monospace,SFMono-Regular,Menlo,monospace;font-size:12px;font-weight:600;
  background:var(--accent);color:#a8265a;padding:5px 10px;border-radius:8px;
}
.section h2{font-size:clamp(22px,2.5vw,28px);font-weight:700}
.section hr{border:0;border-top:1px solid var(--border);margin:0 0 22px}
.section__body > div + div{margin-top:18px}
.section h3{
  font-family:'Inter',sans-serif;font-size:15px;font-weight:600;color:var(--fg);
  display:flex;align-items:center;gap:9px;margin-bottom:6px;
}
.section h3::before{content:"";width:6px;height:6px;border-radius:50%;background:var(--primary)}
.section p{margin:0;color:var(--muted);font-size:15px;line-height:1.75}

/* CTA */
.cta{
  position:relative;overflow:hidden;border-radius:28px;padding:40px;color:#fff;
  background:var(--grad);box-shadow:var(--shadow-soft);
}
.cta::after{content:"";position:absolute;top:-40px;right:-40px;width:180px;height:180px;border-radius:50%;background:rgba(255,255,255,.18);filter:blur(20px)}
.cta h3{font-family:'Fraunces',serif;font-size:clamp(22px,3vw,30px);font-weight:700;color:#fff}
.cta p{margin:8px 0 0;color:rgba(255,255,255,.88);max-width:520px}
.cta a.email{
  display:inline-flex;align-items:center;gap:10px;margin-top:24px;background:#fff;color:var(--fg);
  padding:13px 22px;border-radius:999px;font-weight:600;text-decoration:none;
}
.cta a.email:hover{opacity:.9}

/* account deletion page */
.delete-wrap{max-width:760px;margin:0 auto}
.delete-card{
  background:var(--surface);border:1px solid var(--border);border-radius:24px;
  padding:32px;box-shadow:var(--shadow-card);
}
.delete-card h2{font-size:clamp(24px,3vw,32px);margin-bottom:10px} 
.delete-card p{color:var(--muted);margin-bottom:7px}
.delete-label{display:block;font-weight:600;margin-bottom:8px}
.delete-form{display:flex;flex-direction:column;gap:10px}
.delete-input-wrap{
  background:#fff;
  border:1px solid var(--border);
  border-radius:14px;
  padding:2px;
  transition:border-color .2s ease, box-shadow .2s ease;
}
.delete-input{
  width:100%;border:0;border-radius:12px;padding:12px 14px;
  font-size:15px;color:var(--fg);background:transparent;outline:none;
}
.delete-input::placeholder{color:#b08a98}
.delete-input-wrap:focus-within{
  border-color:var(--primary-2);
  box-shadow:0 0 0 3px rgba(244,122,177,.18);
}
.delete-input-wrap.is-invalid{
  border-color:#c6285a;
  box-shadow:0 0 0 3px rgba(198,40,90,.15);
}
.delete-input.is-valid{background:#f3fff7}
.delete-help{margin:0;color:var(--muted);font-size:13px;line-height:1.5}
p.delete-error{
  display:none;
  margin:0;
  color:#c6285a;
  font-size:13px;
  font-weight:500;
}
.delete-input.is-invalid{background:#fff5f8}
.delete-submit{
  margin-top:6px;
  min-height:48px;
  justify-content:center;
  transition:opacity .2s ease, transform .2s ease;
}
.delete-submit:disabled{opacity:.55;cursor:not-allowed;transform:none}

/* FAQ */
.faq-wrap{
  max-width:980px;
  margin:0 auto;
}
.accordion-container{
  display:flex;
  flex-direction:column;
  gap:14px;
}
.ac{
  background:var(--surface);
  border:1px solid var(--border);
  border-radius:18px;
  box-shadow:var(--shadow-card);
  overflow:hidden;
}
.ac-trigger{
  width:100%;
  border:0;
  background:transparent;
  text-align:left;
  padding:18px 20px;
  font-weight:600;
  color:var(--fg);
  display:flex;
  align-items:center;
  gap:12px;
}
.ac-trigger::after{
  content:"+";
  margin-left:auto;
  width:26px;
  height:26px;
  border-radius:8px;
  display:inline-grid;
  place-items:center;
  background:#fbecf2;
  color:#a8265a;
  font-size:20px;
  line-height:1;
  font-weight:500;
}
.ac.is-active .ac-trigger::after{
  content:"-";
  font-size:24px;
}
.main-faq__num{
  width:30px;
  height:30px;
  border-radius:10px;
  display:inline-grid;
  place-items:center;
  background:var(--accent);
  color:#a8265a;
  font-size:13px;
  font-weight:700;
  flex:none;
}
.ac-panel{
  display:none;
  padding:0 20px 18px 62px;
}
.ac.is-active .ac-panel{display:block}
.ac-panel p{
  margin:0;
  color:var(--muted);
  font-size:15px;
  line-height:1.75;
}
.ac-panel p + p{margin-top:10px}

/* footer */
footer{border-top:1px solid var(--border);padding:28px 0}
.foot{display:flex;justify-content:space-between;align-items:center;flex-wrap:wrap;gap:12px;font-size:14px;color:var(--muted)}
.foot button{background:none;border:0;color:var(--muted);cursor:pointer;font:inherit;display:inline-flex;align-items:center;gap:6px}
.foot button:hover{color:var(--fg)}

/* icons */
svg.i{width:1em;height:1em;flex:none}

/* better mobile readability */
@media (max-width:575.98px){
  .hero::before{width:260px;height:260px;top:-100px;right:-100px;filter:blur(56px)}
  .hero::after{width:240px;height:240px;bottom:-110px;left:-100px;filter:blur(56px)}
  .hero__inner{padding:23px 20px 20px}
  .badge{display:flex;line-height:1.4;border-radius:14px;padding:4px 11px; font-size: 12px}
  .hero__title-row{gap:8px}
  .hero__badge-row{justify-content:flex-end;margin-top:0px}
  .hero__badge{margin-top:10px;margin-left:0;margin-bottom: 0px;}
  .hero h1{font-size:clamp(32px,8vw,46px)}
  .hero p{font-size:15px;line-height:1.65}
  .actions{flex-direction:column;align-items:stretch;gap:10px}
  .meta{gap:10px}
  .delete-card{padding:22px}
  .delete-submit{width:100%;justify-content:center}
  .ac-trigger{padding:16px 14px;gap:10px}
  .ac-panel{padding:0 14px 14px 14px}
  
  .cta{padding:26px}
  .cta a.email{width:100%;justify-content:center}
  .actions .dg-btn{width:100%;justify-content:center}
}

@media print{
  .progress,.top-nav,.toc,.actions,.foot button{display:none!important}
  .hero::before,.hero::after{display:none}
  body{background:#fff}
  .section{box-shadow:none;break-inside:avoid;border-color:#eee}
}
