/* Dilly Privacy site — shared styles */

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html, body {
  font-family: 'Montserrat', -apple-system, BlinkMacSystemFont, sans-serif;
  background: #050a1f;
  color: #f4f5ff;
  overflow-x: hidden;
  scroll-behavior: smooth;
}
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }

/* ── NAV ── */
.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  padding: 1rem clamp(1.5rem, 5vw, 3rem);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  background: rgba(5, 10, 31, 0.78);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border-bottom: 1px solid rgba(244, 245, 255, 0.06);
}
.nav-home {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  flex-shrink: 0;
  transition: opacity 0.2s ease;
}
.nav-home:hover { opacity: 0.78; }
.nav-home img {
  height: clamp(34px, 4vw, 46px);
  width: auto;
  filter: brightness(0) invert(1);
}
.nav-home .nav-tag {
  font-family: 'Cinzel', Georgia, serif;
  font-size: 0.74rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(244, 245, 255, 0.55);
}
.nav-links {
  display: flex;
  align-items: center;
  gap: clamp(0.6rem, 1.6vw, 1.4rem);
  flex-wrap: wrap;
  justify-content: flex-end;
}
.nav-links a {
  font-family: 'Montserrat', sans-serif;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  color: rgba(244, 245, 255, 0.7);
  transition: color 0.2s ease;
  white-space: nowrap;
}
.nav-links a:hover,
.nav-links a[aria-current="page"] {
  color: #fff;
}
.nav-links a[aria-current="page"] {
  position: relative;
}
.nav-links a[aria-current="page"]::after {
  content: '';
  position: absolute;
  left: 0; right: 0; bottom: -6px;
  height: 2px;
  background: #b4c0ff;
  border-radius: 2px;
}
@media (max-width: 720px) {
  .nav { gap: 0.75rem; }
  .nav-links { gap: 0.55rem; }
  .nav-links a { font-size: 0.72rem; }
  .nav-home .nav-tag { display: none; }
}

/* ── HERO (page header) ── */
.page-hero {
  position: relative;
  padding: clamp(4rem, 9vw, 7rem) clamp(1.5rem, 5vw, 4rem) clamp(2.5rem, 5vw, 4rem);
  text-align: center;
  max-width: 920px;
  margin: 0 auto;
}
.page-hero::before {
  content: '';
  position: absolute;
  inset: -10% -50% 10% -50%;
  background: radial-gradient(800px 460px at 50% 0%, rgba(120, 140, 255, 0.18), transparent 70%);
  pointer-events: none;
  z-index: -1;
}
.eyebrow {
  font-family: 'Montserrat', sans-serif;
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: #b4c0ff;
  opacity: 0.85;
  margin-bottom: 1.4rem;
}
.page-hero h1 {
  font-family: 'Cinzel', Georgia, serif;
  font-size: clamp(2.2rem, 5.5vw, 4.4rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.06;
  color: #fff;
  margin-bottom: 1.2rem;
}
.page-hero h1 em {
  font-style: italic;
  color: #b4c0ff;
  font-weight: 500;
}
.page-hero .lead {
  font-family: 'Cinzel', Georgia, serif;
  font-size: clamp(1rem, 1.5vw, 1.3rem);
  font-weight: 400;
  font-style: italic;
  color: rgba(244, 245, 255, 0.78);
  margin-bottom: 1.5rem;
}
.page-hero .subhead {
  font-size: 1rem;
  line-height: 1.75;
  color: rgba(244, 245, 255, 0.66);
  max-width: 60ch;
  margin: 0 auto;
}

/* ── SECTION ── */
.section {
  max-width: 1100px;
  margin: 0 auto;
  padding: clamp(3rem, 6vw, 5rem) clamp(1.5rem, 5vw, 4rem);
}
.section h2 {
  font-family: 'Cinzel', Georgia, serif;
  font-size: clamp(1.7rem, 3.2vw, 2.4rem);
  font-weight: 700;
  letter-spacing: -0.01em;
  color: #fff;
  margin-bottom: 1rem;
  line-height: 1.18;
}
.section .lede {
  font-size: 1rem;
  line-height: 1.75;
  color: rgba(244, 245, 255, 0.66);
  max-width: 62ch;
}
.section-eyebrow {
  font-family: 'Montserrat', sans-serif;
  font-size: 0.66rem;
  font-weight: 800;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: #b4c0ff;
  opacity: 0.85;
  margin-bottom: 1rem;
  display: block;
}

/* ── BUTTONS ── */
.btn-solid {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.95rem 1.8rem;
  border-radius: 999px;
  background: #fff;
  color: #0a1334;
  font-family: 'Montserrat', sans-serif;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  box-shadow: 0 10px 32px rgba(120, 140, 255, 0.25);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.btn-solid:hover {
  transform: translateY(-1px);
  box-shadow: 0 14px 40px rgba(120, 140, 255, 0.35);
}
.btn-outline {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.95rem 1.8rem;
  border-radius: 999px;
  background: transparent;
  color: #f4f5ff;
  font-family: 'Montserrat', sans-serif;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  border: 1px solid rgba(244, 245, 255, 0.25);
  transition: border-color 0.2s ease, background 0.2s ease;
}
.btn-outline:hover {
  border-color: rgba(244, 245, 255, 0.55);
  background: rgba(255, 255, 255, 0.05);
}

/* ── CARD UTILITIES ── */
.card {
  padding: 1.8rem;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

/* ── INLINE LINK ── */
.ilink {
  color: #b4c0ff;
  text-decoration: underline;
  text-decoration-color: rgba(180, 192, 255, 0.4);
  text-underline-offset: 3px;
}
.ilink:hover { text-decoration-color: rgba(180, 192, 255, 0.9); }

/* ── PAGE-NEXT (footer of subpage suggesting next) ── */
.page-next {
  max-width: 1100px;
  margin: 0 auto;
  padding: clamp(3rem, 6vw, 5rem) clamp(1.5rem, 5vw, 4rem) clamp(4rem, 8vw, 6rem);
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1rem;
}
.page-next a {
  display: block;
  padding: 1.6rem 1.8rem;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  transition: background 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}
.page-next a:hover {
  background: rgba(255, 255, 255, 0.07);
  border-color: rgba(180, 192, 255, 0.3);
  transform: translateY(-1px);
}
.page-next .label {
  font-family: 'Montserrat', sans-serif;
  font-size: 0.62rem;
  font-weight: 800;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: #b4c0ff;
  margin-bottom: 0.5rem;
}
.page-next .title {
  font-family: 'Cinzel', Georgia, serif;
  font-size: 1.2rem;
  color: #fff;
  margin-bottom: 0.4rem;
}
.page-next .desc {
  font-size: 0.85rem;
  color: rgba(244, 245, 255, 0.6);
  line-height: 1.6;
}

/* ── FOOTER ── */
.foot {
  padding: 2.5rem clamp(1.5rem, 5vw, 4rem);
  text-align: center;
  border-top: 1px solid rgba(244, 245, 255, 0.06);
  color: rgba(244, 245, 255, 0.45);
  font-size: 0.78rem;
  line-height: 1.7;
}
.foot a { color: rgba(244, 245, 255, 0.75); margin: 0 0.5rem; }
.foot a:hover { color: #fff; }
