/* Inner Authority Suite — Instrument Pages
   Shared stylesheet */

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

:root {
  --ink:    #08080e;
  --navy:   #0d1a2e;
  --navy2:  #0f2040;
  --amber:  #c9a84c;
  --cream:  #f5f2ec;
  --parch:  #ede8df;
  --text:   #1a1824;
  --sub:    #4e4a5a;
  --muted:  #7a7688;
  --dim:    rgba(255,255,255,.55);
  --rule:   rgba(201,168,76,.18);
}

html { scroll-behavior: smooth; }

body {
  font-family: 'DM Sans', sans-serif;
  background: var(--ink);
  color: var(--cream);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }

/* NAV */
nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 60px; height: 60px;
  background: rgba(8,8,14,.92);
  border-bottom: 1px solid rgba(255,255,255,.06);
  backdrop-filter: blur(12px);
}
.nav-brand { display: flex; align-items: center; gap: 12px; }
.nav-mark {
  width: 36px; height: 36px;
  border: 1px solid rgba(201,168,76,.35); border-radius: 50%;
  display: grid; place-items: center;
  font-family: 'Cormorant Garamond', serif; font-size: 17px; color: var(--amber);
}
.nav-name {
  font-family: 'Cormorant Garamond', serif; font-size: 17px;
  letter-spacing: .02em; color: rgba(255,255,255,.85);
}
.nav-links { display: flex; align-items: center; gap: 28px; }
.nav-link {
  font-size: 13px; letter-spacing: .08em; color: rgba(255,255,255,.45);
  transition: color .2s;
}
.nav-link:hover { color: var(--amber); }
.nav-cta {
  font-size: 12px; letter-spacing: .1em; padding: 8px 18px;
  border: 1px solid rgba(201,168,76,.5); border-radius: 999px;
  color: var(--amber); transition: .2s;
}
.nav-cta:hover { background: var(--amber); color: var(--ink); }

/* HERO */
.hero {
  min-height: 60vh; display: flex; align-items: flex-end;
  padding: 120px 60px 72px;
  background: radial-gradient(ellipse at 20% 50%, rgba(13,26,46,.9) 0%, transparent 60%),
              radial-gradient(ellipse at 80% 20%, rgba(201,168,76,.06) 0%, transparent 50%);
  border-bottom: 1px solid rgba(255,255,255,.06);
  position: relative; overflow: hidden;
}
.hero::before {
  content: attr(data-abbr);
  position: absolute; right: 60px; top: 50%; transform: translateY(-50%);
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(120px,18vw,220px); font-weight: 600;
  color: rgba(255,255,255,.03); line-height: 1;
  pointer-events: none; user-select: none;
}
.hero-inner { max-width: 760px; }
.hero-eyebrow {
  font-size: 11px; letter-spacing: .22em; text-transform: uppercase;
  color: var(--amber); margin-bottom: 18px;
}
.hero-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(2.2rem,5vw,4rem); font-weight: 400; line-height: 1.05;
  color: #fff; margin-bottom: 24px;
}
.hero-desc {
  font-size: clamp(1rem,1.5vw,1.15rem); line-height: 1.75;
  color: var(--dim); max-width: 58ch;
  font-family: 'Cormorant Garamond', serif; font-style: italic;
}
.hero-meta {
  display: flex; gap: 32px; margin-top: 40px; flex-wrap: wrap;
}
.meta-item { }
.meta-value {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.6rem; font-weight: 400; color: var(--amber); line-height: 1;
}
.meta-label {
  font-size: 11px; letter-spacing: .12em; text-transform: uppercase;
  color: rgba(255,255,255,.35); margin-top: 4px;
}

/* SECTIONS */
.section { padding: 80px 60px; border-bottom: 1px solid rgba(255,255,255,.06); }
.section.alt { background: rgba(13,26,46,.4); }
.section-inner { max-width: 860px; margin: 0 auto; }

.section-eyebrow {
  font-size: 10px; letter-spacing: .22em; text-transform: uppercase;
  color: var(--amber); margin-bottom: 16px; display: block;
}
.section-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(1.8rem,3vw,2.6rem); font-weight: 400;
  color: #fff; line-height: 1.1; margin-bottom: 28px;
}
.section-body {
  font-size: 1.05rem; line-height: 1.85; color: var(--dim);
  max-width: 68ch;
}
.section-body p { margin-bottom: 18px; }
.section-body p:last-child { margin-bottom: 0; }

/* WHAT IT MEASURES */
.measures-grid { display: grid; grid-template-columns: repeat(auto-fill,minmax(220px,1fr)); gap: 16px; margin-top: 36px; }
.measure-card {
  background: rgba(255,255,255,.04); border: 1px solid rgba(255,255,255,.08);
  border-radius: 12px; padding: 22px 20px;
  border-left: 3px solid var(--amber);
}
.measure-abbr {
  font-family: 'DM Mono', monospace; font-size: 11px; letter-spacing: .12em;
  color: var(--amber); margin-bottom: 8px;
}
.measure-name { font-size: 15px; font-weight: 500; color: #fff; margin-bottom: 8px; }
.measure-desc { font-size: 13px; line-height: 1.65; color: rgba(255,255,255,.45); }

/* THEORY PILLARS */
.theory-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-top: 36px; }
.theory-card {
  background: rgba(255,255,255,.03); border: 1px solid rgba(255,255,255,.07);
  border-radius: 12px; padding: 26px;
}
.theory-label { font-size: 10px; letter-spacing: .18em; text-transform: uppercase; color: rgba(255,255,255,.3); margin-bottom: 10px; }
.theory-name { font-family: 'Cormorant Garamond', serif; font-size: 1.2rem; color: #fff; margin-bottom: 10px; }
.theory-desc { font-size: 13px; line-height: 1.7; color: rgba(255,255,255,.45); }

/* REPORT PREVIEW */
.report-preview {
  background: rgba(13,26,46,.6); border: 1px solid rgba(201,168,76,.15);
  border-radius: 16px; padding: 36px; margin-top: 36px;
}
.report-preview-header { display: flex; align-items: center; gap: 16px; margin-bottom: 28px; padding-bottom: 20px; border-bottom: 1px solid rgba(255,255,255,.08); }
.report-preview-icon {
  width: 48px; height: 48px; border-radius: 10px;
  background: rgba(201,168,76,.15); display: grid; place-items: center;
  font-family: 'Cormorant Garamond', serif; font-size: 22px; color: var(--amber);
}
.report-preview-title { font-size: 15px; font-weight: 500; color: #fff; margin-bottom: 3px; }
.report-preview-sub { font-size: 12px; color: rgba(255,255,255,.35); }
.report-sections { display: grid; gap: 12px; }
.report-section-item {
  display: flex; align-items: flex-start; gap: 12px;
  padding: 14px 16px; background: rgba(255,255,255,.03);
  border-radius: 8px; border: 1px solid rgba(255,255,255,.06);
}
.report-section-num {
  font-family: 'DM Mono', monospace; font-size: 11px; color: var(--amber);
  flex-shrink: 0; margin-top: 2px; width: 20px;
}
.report-section-name { font-size: 14px; color: #fff; margin-bottom: 3px; }
.report-section-desc { font-size: 12px; color: rgba(255,255,255,.4); line-height: 1.5; }

/* PDF DOWNLOAD */
.pdf-card {
  display: flex; align-items: center; gap: 20px;
  background: rgba(201,168,76,.08); border: 1px solid rgba(201,168,76,.2);
  border-radius: 12px; padding: 24px 28px; margin-top: 28px; cursor: pointer;
  transition: .2s; text-decoration: none;
}
.pdf-card:hover { background: rgba(201,168,76,.14); }
.pdf-icon { font-size: 28px; flex-shrink: 0; }
.pdf-title { font-size: 15px; font-weight: 500; color: var(--amber); margin-bottom: 4px; }
.pdf-desc { font-size: 13px; color: rgba(255,255,255,.45); }
.pdf-arrow { margin-left: auto; font-size: 20px; color: var(--amber); }

/* CTA */
.cta-section {
  padding: 80px 60px; text-align: center;
}
.cta-inner { max-width: 600px; margin: 0 auto; }
.cta-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(1.8rem,3vw,2.6rem); font-weight: 400;
  color: #fff; margin-bottom: 16px;
}
.cta-desc { font-size: 1rem; color: var(--dim); line-height: 1.7; margin-bottom: 36px; }
.cta-buttons { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }
.btn-amber {
  padding: 14px 28px; background: var(--amber); color: var(--ink);
  border: none; border-radius: 999px; font-family: 'DM Sans', sans-serif;
  font-size: 14px; font-weight: 600; cursor: pointer; letter-spacing: .06em;
  transition: opacity .2s; text-decoration: none; display: inline-block;
}
.btn-amber:hover { opacity: .88; }
.btn-outline {
  padding: 14px 28px; border: 1px solid rgba(255,255,255,.2);
  border-radius: 999px; font-family: 'DM Sans', sans-serif;
  font-size: 14px; color: rgba(255,255,255,.7); letter-spacing: .06em;
  transition: .2s; text-decoration: none; display: inline-block;
}
.btn-outline:hover { border-color: rgba(255,255,255,.5); color: #fff; }

/* BACK LINK */
.back-link {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 13px; color: rgba(255,255,255,.4); letter-spacing: .06em;
  margin-bottom: 40px; transition: color .2s; text-decoration: none;
}
.back-link:hover { color: var(--amber); }

/* RESPONSIVE */
@media (max-width: 900px) {
  nav { padding: 0 24px; }
  .nav-links { gap: 16px; }
  .hero { padding: 100px 24px 56px; }
  .hero::before { display: none; }
  .section { padding: 60px 24px; }
  .theory-grid { grid-template-columns: 1fr; }
  .cta-section { padding: 60px 24px; }
}
@media (max-width: 600px) {
  .nav-name { display: none; }
  .measures-grid { grid-template-columns: 1fr; }
  .hero-meta { gap: 20px; }
  .cta-buttons { flex-direction: column; align-items: center; }
}
