.pd-page.pd-layout,
.pd-modal{
  --pd-accent:#9a2109;
  --pd-accent-strong:#7f1c08;
  --pd-gold:#d68a22;
  --pd-gold-soft:#fff3de;
  --pd-text:#34281f;
  --pd-muted:#665c52;
  --pd-border:rgba(154,33,9,.12);
  --pd-border-strong:rgba(154,33,9,.22);
  --pd-shadow:0 18px 38px rgba(69,37,16,.08);
}

.pd-page.pd-layout{
  font-family:inherit;
  color:var(--pd-text);
  max-width:100%;
  margin:0 0 20px;
}

.pd-page.pd-layout *,
.pd-modal *{
  box-sizing:border-box;
}

.pd-svg-icon{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  flex:0 0 auto;
  line-height:1;
  color:currentColor;
}

.pd-svg-icon svg{
  width:1em;
  height:1em;
  display:block;
  stroke:currentColor;
  stroke-width:1.9;
  stroke-linecap:round;
  stroke-linejoin:round;
  fill:none;
}

.pd-hero{
  display:block;
  padding:30px;
  margin-bottom:16px;
  position:relative;
  overflow:hidden;
  border:1px solid rgba(154,33,9,.14);
  border-radius:28px;
  background:
    radial-gradient(circle at 88% 12%,rgba(255,191,0,.22),transparent 28%),
    linear-gradient(135deg,#fff 0%,#fff9f1 54%,#faecdf 100%);
  box-shadow:0 22px 48px rgba(53,30,10,.08);
}

.pd-hero:before{
  content:"";
  position:absolute;
  left:30px;
  top:24px;
  width:86px;
  height:4px;
  border-radius:999px;
  background:linear-gradient(90deg,var(--pd-gold) 0%,var(--pd-accent) 100%);
}

.pd-hero > *{
  position:relative;
  z-index:1;
}

.pd-kicker,
.pd-note-kicker,
.pd-modal-kicker{
  display:inline-flex;
  align-items:center;
  gap:8px;
  padding:7px 14px;
  border-radius:999px;
  background:rgba(255,255,255,.88);
  border:1px solid rgba(154,33,9,.1);
  color:var(--pd-accent);
  font-size:11px;
  font-weight:800;
  text-transform:uppercase;
  letter-spacing:.16em;
}

.pd-kicker .pd-svg-icon,
.pd-note-kicker .pd-svg-icon,
.pd-modal-kicker .pd-svg-icon{
  color:var(--pd-gold);
  font-size:13px;
}

.pd-hero h1{
  margin:14px 0 12px;
  font-size:34px;
  line-height:1.12;
  letter-spacing:-.02em;
  color:var(--pd-accent);
  font-weight:900;
}

.pd-hero p{
  margin:0;
  max-width:760px;
  color:var(--pd-muted);
  font-size:14.5px;
  line-height:1.7;
}

.pd-hero-highlights{
  display:flex;
  flex-wrap:wrap;
  gap:10px;
  margin-top:18px;
}

.pd-hero-highlights span{
  display:inline-flex;
  align-items:center;
  gap:8px;
  padding:8px 12px;
  border-radius:999px;
  background:rgba(255,255,255,.92);
  border:1px solid rgba(154,33,9,.1);
  color:#7d3212;
  font-size:12px;
  font-weight:800;
}

.pd-hero-highlights .pd-svg-icon{
  color:var(--pd-gold);
  font-size:14px;
}

.pd-hero-actions{
  display:flex;
  flex-wrap:wrap;
  gap:12px;
  margin-top:20px;
}

.pd-btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:8px;
  min-height:44px;
  padding:12px 18px;
  border-radius:999px;
  border:0;
  font-size:13px;
  font-weight:800;
  line-height:1.2;
  cursor:pointer;
  transition:transform .2s ease, box-shadow .2s ease, border-color .2s ease, background .2s ease;
}

.pd-btn:hover,
.pd-btn:focus{
  transform:translateY(-1px);
  outline:0;
}

.pd-btn-primary{
  background:linear-gradient(135deg,var(--pd-accent),#c86c20);
  color:#fff;
  box-shadow:0 12px 24px rgba(154,33,9,.2);
}

.pd-btn-secondary{
  background:#fff;
  color:var(--pd-accent);
  border:1px solid rgba(154,33,9,.16);
  box-shadow:0 8px 18px rgba(154,33,9,.08);
}

.pd-btn-inline{
  min-height:38px;
  padding:10px 14px;
  font-size:12px;
  text-decoration:none;
}

.pd-card-icon,
.pd-principle-icon,
.pd-intro-icon,
.pd-modal-intro-icon,
.pd-empty-icon{
  width:48px;
  height:48px;
  border-radius:16px;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  background:linear-gradient(135deg,var(--pd-accent),var(--pd-gold));
  color:#fff;
  font-size:20px;
  box-shadow:0 10px 22px rgba(154,33,9,.2);
}

.pd-card-icon{
  width:44px;
  height:44px;
  border-radius:15px;
  font-size:18px;
}

.pd-intro{
  display:grid;
  grid-template-columns:auto 1fr;
  gap:14px;
  align-items:flex-start;
  padding:18px;
  margin-bottom:20px;
  border-radius:20px;
  background:#fff;
  border:1px solid rgba(0,0,0,.07);
  box-shadow:0 10px 24px rgba(0,0,0,.04);
}

.pd-intro-body strong{
  display:block;
  margin-bottom:6px;
  color:var(--pd-accent);
  font-size:17px;
}

.pd-intro-body p{
  margin:0;
  color:var(--pd-muted);
  line-height:1.72;
}

.pd-section{
  margin:22px 0;
}

.pd-section-head{
  margin-bottom:14px;
}

.pd-section-head span{
  display:inline-block;
  color:var(--pd-gold);
  font-size:11px;
  font-weight:800;
  text-transform:uppercase;
  letter-spacing:.12em;
}

.pd-section-head h2{
  margin:6px 0 8px;
  font-size:24px;
  line-height:1.24;
  color:#202938;
  font-weight:800;
}

.pd-section-head p{
  margin:0;
  max-width:760px;
  color:var(--pd-muted);
  font-size:14px;
  line-height:1.7;
}

.pd-main-cards{
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:14px;
}

.pd-card{
  display:flex;
  flex-direction:column;
  align-items:flex-start;
  gap:0;
  width:100%;
  min-height:244px;
  padding:16px 15px 15px;
  text-align:left;
  color:var(--pd-text);
  background:#fff;
  border:1px solid rgba(154,33,9,.1);
  border-top:4px solid var(--pd-gold);
  border-radius:22px;
  box-shadow:var(--pd-shadow);
  cursor:pointer;
  transition:transform .2s ease, box-shadow .2s ease, border-color .2s ease, background .2s ease;
}

.pd-card:hover,
.pd-card:focus{
  transform:translateY(-3px);
  border-color:var(--pd-border-strong);
  background:linear-gradient(180deg,#fff,#fffaf2);
  box-shadow:0 22px 40px rgba(69,37,16,.1);
  outline:0;
}

.pd-card-top{
  display:flex;
  align-items:center;
  gap:12px;
  margin-bottom:12px;
}

.pd-card-kicker{
  display:inline-block;
  padding:5px 10px;
  border-radius:999px;
  background:var(--pd-gold-soft);
  border:1px solid rgba(154,33,9,.08);
  color:var(--pd-accent);
  font-size:11px;
  font-weight:800;
  text-transform:uppercase;
  letter-spacing:.08em;
}

.pd-card strong{
  display:block;
  min-height:48px;
  margin:0 0 7px;
  color:var(--pd-accent);
  font-size:17px;
  line-height:1.28;
  font-weight:800;
}

.pd-card > span:last-of-type{
  display:block;
  color:var(--pd-muted);
  font-size:12.8px;
  line-height:1.58;
}

.pd-card em{
  margin-top:auto;
  font-style:normal;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  min-height:30px;
  padding:7px 12px;
  border-radius:999px;
  background:#fff3e4;
  border:1px solid rgba(154,33,9,.08);
  color:var(--pd-accent);
  font-size:12px;
  font-weight:800;
}

.pd-principles-grid{
  display:grid;
  grid-template-columns:repeat(4,minmax(0,1fr));
  gap:14px;
}

.pd-principle-card{
  padding:18px 16px;
  border-radius:22px;
  background:#fff;
  border:1px solid rgba(154,33,9,.1);
  border-top:4px solid var(--pd-accent);
  box-shadow:var(--pd-shadow);
}

.pd-principle-card h3{
  margin:14px 0 8px;
  color:var(--pd-accent);
  font-size:17px;
  line-height:1.3;
  font-weight:800;
}

.pd-principle-card p{
  margin:0;
  color:var(--pd-muted);
  font-size:13px;
  line-height:1.65;
}

.pd-access-note{
  display:grid;
  grid-template-columns:minmax(0,1.45fr) auto;
  gap:18px;
  align-items:center;
  padding:22px;
  margin-top:2px;
  border-radius:24px;
  border:1px solid rgba(154,33,9,.11);
  background:linear-gradient(135deg,#fff,#fff8ee);
  box-shadow:0 16px 34px rgba(69,37,16,.06);
}

.pd-access-note h2{
  margin:12px 0 8px;
  color:var(--pd-accent);
  font-size:24px;
  line-height:1.25;
  font-weight:800;
}

.pd-access-note p{
  margin:0;
  color:var(--pd-muted);
  line-height:1.68;
}

.pd-note-tags{
  display:flex;
  flex-wrap:wrap;
  gap:9px;
  margin-top:16px;
}

.pd-note-tags span,
.pd-inline-badge,
.pd-modal-badge{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  min-height:30px;
  padding:7px 12px;
  border-radius:999px;
  background:#fff;
  border:1px solid rgba(154,33,9,.1);
  color:var(--pd-accent);
  font-size:12px;
  font-weight:800;
}

.pd-access-action{
  display:flex;
  justify-content:flex-end;
}

.pd-modal{
  position:fixed;
  inset:0;
  z-index:99999;
  display:none;
  align-items:center;
  justify-content:center;
  padding:18px;
  background:rgba(17,24,39,.58);
}

.pd-modal.is-open{
  display:flex;
}

body.pd-modal-open{
  overflow:hidden;
}

.pd-modal-dialog{
  display:flex;
  flex-direction:column;
  width:min(840px,96vw);
  max-height:84vh;
  overflow:hidden;
  background:#fff;
  border-radius:22px;
  box-shadow:0 28px 74px rgba(0,0,0,.28);
}

.pd-modal-wide{
  width:min(1040px,96vw);
}

.pd-modal-header{
  position:relative;
  padding:20px 76px 18px 24px;
  background:linear-gradient(135deg,var(--pd-accent),#cf8527);
  color:#fff;
}

.pd-modal-header-copy h2{
  margin:8px 0 6px;
  color:#fff;
  font-size:27px;
  line-height:1.2;
  font-weight:800;
}

.pd-modal-header-copy p{
  margin:0;
  max-width:780px;
  color:rgba(255,255,255,.9);
  font-size:13px;
  line-height:1.58;
}

.pd-modal-header-meta{
  display:flex;
  flex-wrap:wrap;
  gap:8px;
  margin-top:12px;
}

.pd-modal-header-meta .pd-modal-badge{
  background:rgba(255,255,255,.16);
  border-color:rgba(255,255,255,.26);
  color:#fff;
}

.pd-modal-close{
  position:absolute;
  top:16px;
  right:16px;
  width:42px;
  height:42px;
  border-radius:50%;
  border:0;
  background:#fff;
  color:var(--pd-accent);
  cursor:pointer;
  box-shadow:0 10px 24px rgba(0,0,0,.14);
  transition:transform .2s ease, box-shadow .2s ease, background .2s ease;
}

.pd-modal-close:hover,
.pd-modal-close:focus{
  transform:translateY(-1px);
  background:#fff8f0;
  outline:0;
}

.pd-modal-close .pd-modal-close-icon{
  font-size:18px;
}

.pd-modal-body{
  padding:18px 20px 20px;
  overflow:auto;
}

.pd-modal-intro{
  display:grid;
  grid-template-columns:auto 1fr;
  gap:14px;
  align-items:flex-start;
  padding:15px 16px;
  margin-bottom:14px;
  border-radius:18px;
  background:#fffaf2;
  border:1px solid rgba(154,33,9,.09);
}

.pd-modal-intro p{
  margin:0;
  color:var(--pd-muted);
  line-height:1.68;
}

.pd-modal-section + .pd-modal-section{
  margin-top:16px;
}

.pd-modal-section-head{
  margin-bottom:10px;
}

.pd-modal-section-head span{
  display:inline-flex;
  align-items:center;
  min-height:32px;
  padding:8px 12px;
  border-radius:999px;
  background:#fff3e4;
  border:1px solid rgba(154,33,9,.08);
  color:var(--pd-accent);
  font-size:12px;
  font-weight:800;
  letter-spacing:.08em;
  text-transform:uppercase;
}

.pd-reg-grid{
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:14px;
}

.pd-modal-summary{
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:12px;
  margin-bottom:14px;
}

.pd-modal-summary-item{
  padding:14px 14px 12px;
  border-radius:18px;
  background:#fffaf2;
  border:1px solid rgba(154,33,9,.09);
}

.pd-modal-summary-item strong{
  display:block;
  color:var(--pd-accent);
  font-size:23px;
  line-height:1.05;
  font-weight:900;
}

.pd-modal-summary-item span{
  display:block;
  margin-top:6px;
  color:var(--pd-muted);
  font-size:12px;
  line-height:1.45;
  font-weight:700;
}

.pd-modal-card,
.pd-reg-card,
.pd-step,
.pd-sarpras-card{
  border-radius:20px;
  background:#fff;
  border:1px solid rgba(154,33,9,.1);
  border-top:4px solid var(--pd-gold);
  box-shadow:0 14px 28px rgba(0,0,0,.05);
}

.pd-reg-card{
  padding:16px 15px;
}

.pd-reg-card h3,
.pd-step-copy h3,
.pd-sarpras-copy h3,
.pd-empty-state h3{
  margin:10px 0 8px;
  color:var(--pd-accent);
  font-size:17px;
  line-height:1.3;
  font-weight:800;
}

.pd-reg-card p,
.pd-sarpras-copy p,
.pd-empty-state p{
  margin:0;
  color:var(--pd-muted);
  line-height:1.6;
  font-size:13px;
}

.pd-meta-text{
  margin-bottom:10px !important;
  color:#8b7768 !important;
  font-size:12.5px !important;
  font-weight:700;
}

.pd-reg-card .pd-btn-inline{
  margin-top:12px;
}

.pd-timeline{
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:14px;
}

.pd-step{
  padding:16px 15px 15px;
}

.pd-step-content{
  display:grid;
  grid-template-columns:auto minmax(0,1fr);
  gap:14px;
}

.pd-step-marker{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  width:38px;
  height:38px;
  margin-bottom:12px;
  border-radius:50%;
  background:linear-gradient(135deg,#fff6ea,#fff 100%);
  border:2px solid rgba(214,138,34,.55);
  color:var(--pd-accent);
  font-size:15px;
  font-weight:800;
}

.pd-step-icon{
  width:44px;
  height:44px;
  border-radius:15px;
  display:flex;
  align-items:center;
  justify-content:center;
  background:var(--pd-gold-soft);
  color:var(--pd-accent);
  font-size:18px;
}

.pd-step-copy{
  min-width:0;
}

.pd-richtext{
  color:var(--pd-muted);
  font-size:13.5px;
  line-height:1.7;
}

.pd-richtext > :first-child{
  margin-top:0;
}

.pd-richtext > :last-child{
  margin-bottom:0;
}

.pd-sarpras-grid{
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:12px;
}

.pd-sarpras-card{
  display:grid;
  grid-template-columns:72px minmax(0,1fr);
  gap:12px;
  padding:12px;
}

.pd-sarpras-card img,
.pd-placeholder{
  width:72px;
  height:72px;
  border-radius:14px;
  object-fit:cover;
}

.pd-placeholder{
  background:linear-gradient(135deg,#fff6ea,#fff0d7);
  color:var(--pd-accent);
  display:flex;
  align-items:center;
  justify-content:center;
  font-size:28px;
  box-shadow:none;
}

.pd-placeholder .pd-svg-icon{
  font-size:28px;
}

.pd-sarpras-copy{
  min-width:0;
}

.pd-sarpras-copy .pd-inline-badge{
  min-height:28px;
  margin-bottom:6px;
  padding:6px 10px;
  font-size:11px;
  background:var(--pd-gold-soft);
}

.pd-sarpras-copy h3{
  margin:6px 0 6px;
  font-size:16px;
  line-height:1.24;
}

.pd-sarpras-copy p{
  font-size:12.5px;
  line-height:1.55;
}

.pd-sarpras-meta{
  display:flex;
  flex-wrap:wrap;
  gap:8px;
  margin-top:8px;
}

.pd-sarpras-meta span{
  display:inline-flex;
  align-items:center;
  gap:7px;
  color:#806d5d;
  font-size:12px;
  font-weight:700;
}

.pd-sarpras-meta .pd-svg-icon{
  color:var(--pd-gold);
  font-size:13px;
}

.pd-empty-state{
  text-align:center;
  padding:28px 22px;
  border-radius:22px;
  background:#fffaf2;
  border:1px dashed rgba(154,33,9,.18);
}

.pd-empty-icon{
  margin:0 auto;
}

@media (max-width:1180px){
  .pd-main-cards,
  .pd-principles-grid{
    grid-template-columns:repeat(2,minmax(0,1fr));
  }
}

@media (max-width:980px){
  .pd-main-cards{
    grid-template-columns:repeat(2,minmax(0,1fr));
  }

  .pd-access-note{
    grid-template-columns:1fr;
  }

  .pd-access-action{
    justify-content:flex-start;
  }

  .pd-reg-grid,
  .pd-modal-summary,
  .pd-timeline,
  .pd-sarpras-grid{
    grid-template-columns:1fr;
  }
}

@media (max-width:860px){
  .pd-hero h1{
    font-size:31px;
  }
}

@media (max-width:640px){
  .pd-hero{
    padding:22px;
    border-radius:24px;
  }

  .pd-hero:before{
    left:22px;
    top:18px;
  }

  .pd-hero h1{
    font-size:29px;
  }

  .pd-hero-actions{
    display:grid;
  }

  .pd-main-cards,
  .pd-principles-grid{
    grid-template-columns:1fr;
  }

  .pd-card,
  .pd-principle-card{
    min-height:auto;
  }

  .pd-intro,
  .pd-modal-intro{
    grid-template-columns:1fr;
  }

  .pd-access-note{
    padding:18px;
  }

  .pd-modal{
    padding:10px;
  }

  .pd-modal-dialog,
  .pd-modal-wide{
    width:100%;
    max-height:90vh;
    border-radius:20px;
  }

  .pd-modal-header{
    padding:20px 64px 18px 18px;
  }

  .pd-modal-header-copy h2{
    font-size:23px;
  }

  .pd-modal-body{
    padding:16px;
  }

  .pd-step-content,
  .pd-sarpras-card{
    grid-template-columns:1fr;
  }

  .pd-sarpras-card img,
  .pd-placeholder{
    width:100%;
    height:150px;
  }
}
