:root {
  --navy: #001433;
  --navy2: #102846;
  --gold: #a97f3c;
  --ivory: #f7f1e6;
  --paper: #fffdf9;
  --ink: #18202a;
  --muted: #68717c;
  --line: #dfd6c6;
  --green: #27684f;
  --red: #8a2d2d;
}
* { box-sizing: border-box; }
body { margin: 0; background: var(--paper); color: var(--ink); font-family: Inter, ui-sans-serif, system-ui, sans-serif; }
.shell { width: min(1160px, calc(100% - 40px)); margin: auto; }
header { background: var(--navy); color: white; border-bottom: 1px solid #a97f3c88; }
.header { min-height: 110px; display: flex; align-items: center; gap: 26px; }
.header img { width: 132px; height: 90px; object-fit: contain; }
.header b { font: 1.25rem Georgia, serif; display: block; }
.header small { display: block; margin-top: 8px; letter-spacing: .18em; color: #d8bd82; }
.pill { margin-left: auto; border: 1px solid #d8bd8288; border-radius: 99px; padding: 10px 16px; font-size: .8rem; }
.intro { background: var(--ivory); border-bottom: 1px solid var(--line); padding: 34px 0; }
.intro .shell { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
.intro h2 { font: 2.5rem Georgia, serif; color: var(--navy); margin: 8px 0; }
.intro p:last-child { font: 1.15rem/1.65 Georgia, serif; }
.eyebrow { color: var(--gold); font-size: .72rem; font-weight: 800; letter-spacing: .18em; text-transform: uppercase; }
.grid { display: grid; grid-template-columns: minmax(0, 1fr) 310px; gap: 64px; padding: 60px 0 100px; }
h1 { font: clamp(2.6rem, 5vw, 4.9rem)/1.03 Georgia, serif; color: var(--navy); margin: 16px 0; }
.byline { color: var(--muted); margin: 0 0 34px; }
.hero { min-height: 300px; background: linear-gradient(120deg, var(--navy), #324867); border: 1px solid #a97f3c88; color: white; display: grid; grid-template-columns: 1fr 1fr; align-items: center; padding: 40px 52px; position: relative; }
.hero span { font: 4rem Georgia, serif; }
.hero span:nth-child(2) { text-align: right; }
.hero small { grid-column: 1/-1; border-top: 1px solid #d8bd82; padding-top: 20px; text-align: center; letter-spacing: .15em; }
.preview, .article-body { font: 1.15rem/1.8 Georgia, serif; }
.preview { padding: 34px 0; }
.preview [dir="rtl"], .article-body [dir="rtl"] { text-align: right; }
.preview hr, .article-body hr { border: 0; border-top: 1px solid var(--line); margin: 34px 0; }
.boundary { display: flex; align-items: center; gap: 14px; color: var(--gold); font-size: .72rem; letter-spacing: .14em; text-transform: uppercase; }
.boundary span { height: 1px; background: var(--line); flex: 1; }
.gate, .panel { border: 1px solid var(--line); padding: 30px; background: #fff; }
.gate h2, .panel h2, .article-body h2 { font: 2rem Georgia, serif; color: var(--navy); }
form { display: grid; gap: 12px; margin-top: 22px; }
input[type="email"] { padding: 14px; border: 1px solid #b9b0a2; border-radius: 4px; }
.consent { display: flex; gap: 10px; font-size: .88rem; line-height: 1.5; }
.consent input { margin-top: 4px; }
.required-consent { border-left: 3px solid var(--gold); padding-left: 12px; }
.optional-consent { border-left: 3px solid #acb3bc; padding-left: 12px; }
button, .result a { background: var(--navy); color: white; border: 1px solid var(--navy); padding: 13px 17px; font-weight: 700; cursor: pointer; text-decoration: none; }
.result { display: grid; gap: 12px; margin-top: 20px; overflow-wrap: anywhere; }
.panel { background: var(--ivory); margin-bottom: 22px; }
.panel li { margin: 12px 0; line-height: 1.45; }
.tools { display: grid; gap: 10px; }
.tools button { background: transparent; color: var(--navy); }
.access-active { display: flex; flex-direction: column; gap: 5px; background: #eef7f2; border-left: 4px solid var(--green); padding: 18px; margin: 24px 0; }
.status-note { border-left: 4px solid var(--gold); background: var(--ivory); padding: 14px 18px; }
.status-note.success { border-color: var(--green); background: #eef7f2; }
.status-note.error { border-color: var(--red); background: #fbefef; }
footer { background: var(--navy); color: white; padding: 24px 0; }
footer .shell { display: flex; justify-content: space-between; color: #dbe0e6; }
@media (max-width: 820px) {
  .intro .shell, .grid { grid-template-columns: 1fr; }
  .grid { gap: 36px; }
  .pill { display: none; }
}
@media (max-width: 560px) {
  .shell { width: calc(100% - 28px); }
  .header { justify-content: center; }
  .header > div { display: none; }
  .header img { width: 120px; }
  .intro { padding: 24px 0; }
  .intro .shell { display: block; }
  .intro h2 { font-size: 2rem; }
  h1 { font-size: 2.7rem; }
  .hero { min-height: 220px; padding: 30px 24px; }
  .hero span { font-size: 2.6rem; }
  .grid { padding-top: 36px; }
  .gate, .panel { padding: 22px; }
}
