@import url("/ui-icons.css");

:root {
  --doc-ink: #f4f2ea;
  --doc-muted: #a3a79f;
  --doc-quiet: #6f756c;
  --doc-gold: #d7b86f;
  --doc-gold-soft: #f0d99c;
  --doc-mint: #8ce3d2;
  --doc-line: rgba(229, 211, 157, .14);
  --doc-surface: rgba(14, 18, 15, .88);
  color-scheme: dark;
  font-family: "Manrope", "Segoe UI", sans-serif;
}

* { box-sizing: border-box; }

html {
  min-width: 320px;
  background: #050706;
}

body {
  display: flex;
  min-height: 100vh;
  margin: 0;
  flex-direction: column;
  color: var(--doc-ink);
  background:
    radial-gradient(circle at 86% 4%, rgba(140, 227, 210, .08), transparent 27rem),
    radial-gradient(circle at 12% 16%, rgba(215, 184, 111, .09), transparent 30rem),
    linear-gradient(180deg, #080b09, #050706 62%);
}

body::before {
  position: fixed;
  inset: 0;
  z-index: -1;
  opacity: .035;
  background-image:
    linear-gradient(rgba(240, 217, 156, .25) 1px, transparent 1px),
    linear-gradient(90deg, rgba(140, 227, 210, .18) 1px, transparent 1px);
  background-size: 72px 72px;
  content: "";
  mask-image: linear-gradient(to bottom, #000, transparent 72%);
}

a { color: inherit; }
a:focus-visible { outline: 2px solid var(--doc-gold-soft); outline-offset: 4px; }

.document-header {
  position: sticky;
  top: 0;
  z-index: 20;
  border-bottom: 1px solid var(--doc-line);
  background: rgba(5, 7, 6, .82);
  backdrop-filter: blur(24px);
}

.document-shell {
  display: flex;
  width: min(1120px, calc(100% - 40px));
  min-height: 78px;
  margin: 0 auto;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.document-brand {
  display: inline-flex;
  align-items: center;
  gap: 13px;
  text-decoration: none;
}

.document-glyph {
  position: relative;
  display: inline-block;
  width: 40px;
  height: 40px;
  flex: 0 0 40px;
  border: 1px solid rgba(140, 227, 210, .24);
  border-radius: 11px;
  background: linear-gradient(145deg, rgba(140, 227, 210, .09), rgba(215, 184, 111, .025)), #090c0b;
  box-shadow: inset 0 0 24px rgba(140, 227, 210, .045);
}

.document-glyph::before {
  position: absolute;
  top: 10px;
  right: 8px;
  left: 8px;
  height: 1px;
  background: linear-gradient(90deg, var(--doc-gold-soft), var(--doc-mint));
  box-shadow: 0 0 8px rgba(140, 227, 210, .34);
  content: "";
}

.document-glyph::after {
  position: absolute;
  top: 10px;
  bottom: 8px;
  left: 50%;
  width: 1px;
  background: linear-gradient(var(--doc-gold-soft), rgba(140, 227, 210, .16));
  content: "";
}

.document-glyph i,
.document-glyph b { position: absolute; }
.document-glyph i:first-child { top: 18px; left: 8px; width: 9px; height: 9px; border-bottom: 1px solid var(--doc-gold-soft); border-left: 1px solid var(--doc-gold-soft); }
.document-glyph i:nth-child(2) { right: 8px; bottom: 8px; width: 9px; height: 9px; border-top: 1px solid var(--doc-mint); border-right: 1px solid var(--doc-mint); }
.document-glyph b { top: 8px; left: calc(50% - 2px); width: 4px; height: 4px; border-radius: 50%; background: var(--doc-gold-soft); box-shadow: 0 0 9px var(--doc-gold-soft); }

.document-brand-copy { display: grid; gap: 4px; line-height: 1; }
.document-brand-copy strong { font-family: "Plus Jakarta Sans", sans-serif; font-size: 17px; letter-spacing: .25em; }
.document-brand-copy small { color: var(--doc-quiet); font: 500 8px/1 "DM Mono", monospace; letter-spacing: .18em; text-transform: uppercase; }

.document-back {
  padding: 10px 0;
  color: var(--doc-muted);
  font: 500 10px/1 "DM Mono", monospace;
  letter-spacing: .12em;
  text-decoration: none;
  text-transform: uppercase;
}
.document-back:hover { color: var(--doc-ink); }

main {
  width: min(1040px, calc(100% - 40px));
  margin: 0 auto;
  padding: clamp(56px, 8vw, 96px) 0 80px;
  flex: 1;
}

main > .eyebrow,
main > p.eyebrow {
  margin: 0 0 18px;
  color: var(--doc-mint);
  font: 500 9px/1 "DM Mono", monospace;
  letter-spacing: .22em;
  text-transform: uppercase;
}

main > h1 {
  max-width: 860px;
  margin: 0;
  color: var(--doc-ink);
  font: 650 clamp(40px, 6vw, 68px)/1.02 "Plus Jakarta Sans", sans-serif;
  letter-spacing: -.055em;
}

main > p:not(.eyebrow) {
  max-width: 800px;
  margin: 24px 0 0;
  color: var(--doc-muted);
  font-size: 17px;
  line-height: 1.75;
}

main > .grid {
  display: grid;
  margin-top: 44px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.policy-card,
.contact-card,
main > .space-y-8 {
  border: 1px solid var(--doc-line);
  border-radius: 22px;
  background:
    linear-gradient(145deg, rgba(19, 24, 20, .94), rgba(8, 11, 9, .94)),
    var(--doc-surface);
  box-shadow: 0 30px 90px rgba(0, 0, 0, .28);
}

.policy-card,
.contact-card { padding: clamp(25px, 4vw, 38px); }
main > article.policy-card,
main > .space-y-8 { margin-top: 40px; padding: clamp(28px, 5vw, 52px); }
main > section.policy-card,
main > section.contact-card { margin-top: 18px; }

main section + section { margin-top: 30px; padding-top: 30px; border-top: 1px solid rgba(229, 211, 157, .1); }
main > .grid section + section { margin-top: 0; padding-top: clamp(25px, 4vw, 38px); border-top: 1px solid var(--doc-line); }

h2, h3 { color: var(--doc-ink); font-family: "Plus Jakarta Sans", sans-serif; }
h2 { margin: 0 0 13px; font-size: clamp(20px, 2.4vw, 28px); line-height: 1.2; letter-spacing: -.025em; }
h3 { margin: 24px 0 8px; font-size: 16px; }
p { margin: 0; }
section p, article p, address, li { color: var(--doc-muted); line-height: 1.75; }
ul { margin: 16px 0 0; padding-left: 24px; }
li + li { margin-top: 7px; }
address { font-style: normal; }

.gold,
main a { color: var(--doc-gold-soft); }
.eyebrow { color: var(--doc-mint); font: 500 9px/1 "DM Mono", monospace; letter-spacing: .2em; text-transform: uppercase; }
.text-sm { font-size: 13px; }
.mt-4 { margin-top: 16px; }
.mt-5 { margin-top: 20px; }
.inline-block { display: inline-block; }
.break-all { overflow-wrap: anywhere; }
.flex { display: flex; }
.flex-wrap { flex-wrap: wrap; }
.gap-x-4 { column-gap: 16px; }
.gap-y-2 { row-gap: 8px; }

footer {
  border-top: 1px solid var(--doc-line);
  color: var(--doc-quiet);
  font: 500 10px/1.6 "DM Mono", monospace;
  letter-spacing: .05em;
}

footer > div {
  display: flex;
  width: min(1120px, calc(100% - 40px));
  min-height: 90px;
  margin: 0 auto;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

footer nav { display: flex; flex-wrap: wrap; gap: 18px; }
footer a { text-decoration: none; }
footer a:hover { color: var(--doc-ink); }

@media (max-width: 720px) {
  .document-shell { width: min(100% - 28px, 1120px); min-height: 70px; }
  .document-brand-copy small { display: none; }
  .document-back { font-size: 8px; }
  main { width: min(100% - 28px, 1040px); padding-top: 48px; }
  main > .grid { grid-template-columns: 1fr; }
  main > .space-y-8, main > article.policy-card { padding: 24px 20px; }
  footer > div { width: min(100% - 28px, 1120px); padding: 24px 0; align-items: flex-start; flex-direction: column; }
}
