@font-face{
  font-family: "Inter";
  font-style: normal;
  font-weight: 400 600;
  font-display: swap;
  src: url("fonts/inter-latin.woff2") format("woff2");
}
@font-face{
  font-family: "Playfair Display";
  font-style: normal;
  font-weight: 600 700;
  font-display: swap;
  src: url("fonts/playfair-display-latin.woff2") format("woff2");
}

:root{
  --navy-1: #0a1b2b;
  --navy-2: #0f2a42;
  --navy-3: #163a58;
  --gold: #c9a24b;
  --gold-soft: #e4c98a;
  --text: #f3f6f9;
  --text-muted: #a9bccd;
  --glass-border: rgba(255,255,255,0.14);
}

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }

body{
  min-height: 100vh;
  background: var(--navy-1);
  color: var(--text);
  font-family: "Inter", "Segoe UI", -apple-system, BlinkMacSystemFont, Helvetica, Arial, sans-serif;
  line-height: 1.5;
  padding: 24px;
  position: relative;
}
body.center{
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

/* Layered background: gradient + blueprint grid */
.bg{
  position: fixed;
  inset: 0;
  z-index: 0;
  background:
    radial-gradient(circle at 82% 18%, rgba(201,162,75,0.16), transparent 42%),
    radial-gradient(circle at 12% 88%, rgba(22,58,88,0.55), transparent 55%),
    linear-gradient(160deg, var(--navy-1) 0%, var(--navy-2) 55%, var(--navy-3) 100%);
}
.bg::before{
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.045) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(ellipse 80% 70% at 50% 40%, black 40%, transparent 85%);
}

.seal{
  position: fixed;
  top: 50%;
  right: -10vw;
  transform: translateY(-50%);
  width: min(62vw, 780px);
  height: auto;
  opacity: 0.16;
  z-index: 0;
  pointer-events: none;
}
@media (max-width: 760px){
  .seal{ width: 130vw; right: -35vw; opacity: 0.12; }
}

main.card{
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 620px;
  background: rgba(15, 34, 53, 0.52);
  backdrop-filter: blur(18px) saturate(140%);
  -webkit-backdrop-filter: blur(18px) saturate(140%);
  border: 1px solid var(--glass-border);
  border-radius: 20px;
  padding: 56px 48px;
  box-shadow: 0 30px 80px rgba(0,0,0,0.45);
  margin: 0 auto;
}
main.card.wide{ max-width: 760px; }
@media (max-width: 560px){
  main.card{ padding: 40px 28px; }
}

.badge{
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold-soft);
  background: rgba(201,162,75,0.12);
  border: 1px solid rgba(201,162,75,0.35);
  padding: 7px 14px;
  border-radius: 999px;
  margin-bottom: 28px;
}
.badge .dot{
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--gold-soft);
  animation: pulse 1.8s ease-in-out infinite;
  flex: none;
}
@keyframes pulse{
  0%, 100% { opacity: 1; }
  50% { opacity: 0.3; }
}

h1{
  font-family: "Playfair Display", Georgia, serif;
  font-weight: 700;
  font-size: clamp(28px, 4.2vw, 38px);
  line-height: 1.28;
  margin: 0 0 16px;
  color: var(--text);
}
h1 em{
  font-style: normal;
  color: var(--gold-soft);
}

.subtitle{
  font-size: 17px;
  color: var(--text-muted);
  margin: 0;
  max-width: 46ch;
}

.email{
  margin: 14px 0 0;
}
.email a{
  font-size: 15px;
  font-weight: 500;
  color: var(--gold-soft);
  text-decoration: none;
  border-bottom: 1px solid rgba(228,201,138,0.4);
  padding-bottom: 1px;
}
.email a:hover{
  border-bottom-color: var(--gold-soft);
}

.rule{
  height: 1px;
  margin: 36px 0 24px;
  background: linear-gradient(90deg, var(--glass-border), transparent);
}

footer{
  font-size: 12.5px;
  letter-spacing: 0.02em;
  color: var(--text-muted);
}
footer nav{
  margin-top: 6px;
}
footer nav a{
  color: var(--text-muted);
  text-decoration: none;
  border-bottom: 1px solid transparent;
}
footer nav a:hover{
  color: var(--gold-soft);
  border-bottom-color: currentColor;
}
footer nav span.sep{
  margin: 0 8px;
  color: var(--glass-border);
}
footer .credit{
  margin: 14px 0 0;
  font-size: 11.5px;
  opacity: 0.75;
}
footer .credit a{
  color: var(--text-muted);
  text-decoration: none;
  border-bottom: 1px solid transparent;
}
footer .credit a:hover{
  color: var(--gold-soft);
  border-bottom-color: currentColor;
}

/* Long-form legal content pages */
.back-link{
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 13.5px;
  color: var(--text-muted);
  text-decoration: none;
  margin-bottom: 28px;
}
.back-link:hover{ color: var(--gold-soft); }

article h2{
  font-family: "Playfair Display", Georgia, serif;
  font-size: 20px;
  color: var(--gold-soft);
  margin: 32px 0 10px;
}
article h2:first-child{ margin-top: 0; }
article h3{
  font-size: 15.5px;
  color: var(--text);
  margin: 20px 0 6px;
}
article p{
  font-size: 15px;
  color: var(--text-muted);
  margin: 0 0 12px;
}
article ul{
  margin: 0 0 12px;
  padding-left: 20px;
  color: var(--text-muted);
  font-size: 15px;
}
article li{ margin-bottom: 4px; }
article a{
  color: var(--gold-soft);
}
article strong{ color: var(--text); }
