/* Paradise Intelligence Group — paradiseintelligence.org
   One visual world: the mark's black and brushed chrome. Gold and azure are
   the OpsThreat AI product's own tokens, shared with pihopallc.com. */

:root {
  --black: #000000;
  --carbon: #06080B;
  --graphite: #0E1217;
  --plate: #151A21;
  --line: #242B35;
  --chrome: #D7DCE3;
  --steel: #95A0AE;
  --dim: #66717F;
  --gold: #E8C07D;
  --azure: #4C9BD1;

  --maxw: 1120px;
  --gutter: clamp(16px, 4vw, 40px);
  --font-display: "Jost", "Avenir Next", "Segoe UI", system-ui, sans-serif;
  --font-body: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --font-mono: "IBM Plex Mono", ui-monospace, "SF Mono", Menlo, Consolas, monospace;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--carbon);
  color: var(--chrome);
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--chrome); text-decoration-color: var(--dim); text-underline-offset: 3px; }
a:hover { color: #fff; text-decoration-color: var(--gold); }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; border-radius: 2px; }

h1, h2, h3 {
  font-family: var(--font-display);
  font-weight: 500;
  line-height: 1.12;
  margin: 0;
  text-wrap: balance;
  color: #fff;
}
h1 { font-size: clamp(2.2rem, 5.4vw, 4rem); letter-spacing: 0.01em; }
h2 { font-size: clamp(1.55rem, 3vw, 2.2rem); letter-spacing: 0.02em; }
h3 { font-size: 1.08rem; letter-spacing: 0.04em; text-transform: uppercase; }
p { margin: 0; color: var(--steel); max-width: 64ch; }
p + p { margin-top: 1em; }
strong { color: var(--chrome); font-weight: 600; }

.wrap { max-width: var(--maxw); margin: 0 auto; padding: 0 var(--gutter); }
.label {
  font-family: var(--font-mono);
  font-size: 0.74rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gold);
}
.skip { position: absolute; left: -999px; top: 0; background: var(--gold); color: #000; padding: 8px 14px; z-index: 20; }
.skip:focus { left: 12px; top: 12px; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 10;
  background: rgba(6, 8, 11, 0.88);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.nav { display: flex; align-items: center; justify-content: space-between; gap: 20px; min-height: 68px; }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; }
.brand img { width: 44px; height: 44px; border-radius: 50%; }
.brand-name { display: flex; flex-direction: column; gap: 2px; line-height: 1; }
.brand-name b { font-family: var(--font-display); font-weight: 500; letter-spacing: 0.34em; font-size: 0.98rem; color: #fff; }
.brand-name small { font-family: var(--font-mono); font-size: 0.6rem; letter-spacing: 0.26em; color: var(--steel); }
.nav-links { display: flex; align-items: center; gap: clamp(14px, 2.6vw, 30px); list-style: none; margin: 0; padding: 0; }
.nav-links a {
  font-family: var(--font-display); font-size: 0.86rem; letter-spacing: 0.14em; text-transform: uppercase;
  text-decoration: none; color: var(--steel); padding: 6px 0; border-bottom: 1px solid transparent;
}
.nav-links a:hover, .nav-links a[aria-current="page"] { color: #fff; border-bottom-color: var(--gold); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--font-display); font-size: 0.9rem; letter-spacing: 0.14em; text-transform: uppercase;
  text-decoration: none; padding: 13px 22px; border: 1px solid var(--line); color: var(--chrome);
  transition: border-color .15s ease, background .15s ease, color .15s ease;
}
.btn:hover { border-color: var(--chrome); color: #fff; }
.btn-gold { background: var(--gold); border-color: var(--gold); color: #0B0D10; font-weight: 600; }
.btn-gold:hover { background: #F3D29B; border-color: #F3D29B; color: #000; }
.btn .arrow { font-family: var(--font-mono); }
.actions { display: flex; flex-wrap: wrap; gap: 12px; }

/* ---------- Hero ---------- */
.hero { background: #000; border-bottom: 1px solid var(--line); }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr); gap: clamp(20px, 4vw, 56px); align-items: center; padding-block: clamp(28px, 5vw, 56px); }
.hero-copy { display: flex; flex-direction: column; gap: 22px; }
.hero-copy p { font-size: 1.12rem; }
.hero-mark img { width: 100%; max-width: 480px; margin-left: auto; }

/* ---------- Sections ---------- */
section { padding: clamp(48px, 7vw, 88px) 0; }
.section-head { display: flex; flex-direction: column; gap: 12px; margin-bottom: clamp(24px, 4vw, 40px); }
.alt { background: var(--graphite); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }

/* The structure, drawn as a filed route: three fixes on one line. */
.route { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); position: relative; }
.route::before { content: ""; position: absolute; left: 0; right: 0; top: 9px; border-top: 1px dashed var(--dim); }
.route li { position: relative; padding: 34px 24px 0 0; display: flex; flex-direction: column; gap: 8px; }
.route li::before {
  content: ""; position: absolute; left: 0; top: 0; width: 0; height: 0;
  border-left: 10px solid transparent; border-right: 10px solid transparent; border-bottom: 18px solid var(--chrome);
}
.route li.is-here::before { border-bottom-color: var(--gold); }
.route .fix { font-family: var(--font-mono); font-size: 0.72rem; letter-spacing: 0.18em; color: var(--steel); text-transform: uppercase; }
.route h3 { text-transform: none; letter-spacing: 0.02em; font-size: 1.25rem; }
.route p { font-size: 0.97rem; }

.grid-2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1px; background: var(--line); border: 1px solid var(--line); }
.cell { background: var(--carbon); padding: clamp(20px, 3vw, 32px); display: flex; flex-direction: column; gap: 10px; }
.alt .cell { background: var(--graphite); }
.cell p { font-size: 0.98rem; }

.split { display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); gap: clamp(24px, 5vw, 64px); align-items: start; }
.stack { display: flex; flex-direction: column; gap: 18px; }

.facts { margin: 0; display: grid; grid-template-columns: max-content minmax(0, 1fr); border-top: 1px solid var(--line); }
.facts dt, .facts dd { margin: 0; padding: 13px 0; border-bottom: 1px solid var(--line); }
.facts dt { font-family: var(--font-mono); font-size: 0.72rem; letter-spacing: 0.16em; text-transform: uppercase; color: var(--steel); padding-right: 28px; align-self: center; }
.facts dd { color: var(--chrome); overflow-wrap: anywhere; }

.notice { border-left: 2px solid var(--gold); padding: 4px 0 4px 18px; }
.notice p { font-size: 0.95rem; }

.page-head { padding: clamp(40px, 6vw, 72px) 0 clamp(28px, 4vw, 44px); border-bottom: 1px solid var(--line); background: #000; }
.page-head .stack { gap: 16px; }
.page-head p { font-size: 1.1rem; }

/* ---------- Footer ---------- */
.site-footer { border-top: 1px solid var(--line); background: #000; padding: 40px 0 48px; }
.foot { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 24px 48px; }
.foot p, .foot a { font-size: 0.9rem; }
.foot ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px 24px; }
.foot .legal { flex-basis: 100%; color: var(--dim); font-size: 0.82rem; max-width: none; }

@media (max-width: 820px) {
  body { font-size: 16px; }
  .hero-grid, .split { grid-template-columns: minmax(0, 1fr); }
  .hero-mark { order: -1; }
  .hero-mark img { max-width: 300px; margin: 0 auto; }
  .route { grid-template-columns: minmax(0, 1fr); gap: 26px; }
  .route::before { left: 9px; right: auto; top: 0; bottom: 0; border-top: 0; border-left: 1px dashed var(--dim); }
  .route li { padding: 0 0 0 40px; }
  .grid-2 { grid-template-columns: minmax(0, 1fr); }
  .brand-name small { display: none; }
  .nav { min-height: 60px; }
  .nav-links a { font-size: 0.78rem; letter-spacing: 0.1em; }
}
@media (max-width: 420px) {
  .brand-name b { letter-spacing: 0.2em; font-size: 0.86rem; }
  .brand img { width: 38px; height: 38px; }
  .facts { grid-template-columns: minmax(0, 1fr); }
  .facts dt { border-bottom: 0; padding-bottom: 0; }
  .facts dd { padding-top: 4px; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } .btn { transition: none; } }
