/* CUSTODY framework site — shared styles */

:root {
  --bg: #08090b;
  --bg-raised: #0e1013;
  --bg-card: #111418;
  --bg-hover: #161a1f;
  --border: #1e242b;
  --border-bright: #2c343d;
  --text: #dfe4ea;
  --text-dim: #96a0ac;
  --text-faint: #6a7480;
  --accent: #ff5a36;
  --accent-dim: #b83a1f;
  --accent-glow: rgba(255, 90, 54, 0.14);
  --green: #3ecf8e;
  --amber: #f2b544;
  --red: #ff4d4d;
  --blue: #5aa9ff;
  --mono: ui-monospace, "SF Mono", "JetBrains Mono", Menlo, Consolas, monospace;
  --sans: -apple-system, BlinkMacSystemFont, "Segoe UI", Inter, Roboto, Helvetica, Arial, sans-serif;
  --maxw: 1100px;
  --radius: 10px;
}

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

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  background:
    radial-gradient(900px 500px at 82% -8%, var(--accent-glow), transparent 65%),
    radial-gradient(700px 400px at 5% 8%, rgba(90, 169, 255, 0.06), transparent 60%);
}

/* ---------- layout ---------- */

.wrap { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 22px; position: relative; z-index: 1; }
.wrap-narrow { max-width: 820px; }

section { padding: 68px 0; position: relative; z-index: 1; }
section + section { border-top: 1px solid var(--border); }

/* ---------- typography ---------- */

h1, h2, h3, h4 { line-height: 1.2; margin: 0 0 0.55em; font-weight: 650; letter-spacing: -0.02em; }
h1 { font-size: clamp(2rem, 5.5vw, 3.1rem); }
h2 { font-size: clamp(1.5rem, 3.6vw, 2.05rem); }
h3 { font-size: clamp(1.12rem, 2.4vw, 1.32rem); }
h4 { font-size: 1rem; }
p { margin: 0 0 1.1em; }
a { color: var(--accent); text-decoration: none; }
a:hover { text-decoration: underline; }
strong { color: #fff; font-weight: 640; }
code, .mono { font-family: var(--mono); font-size: 0.88em; }
code:not(pre code) {
  background: var(--bg-raised);
  border: 1px solid var(--border);
  padding: 0.1em 0.4em;
  border-radius: 5px;
  color: #ffd9cf;
  white-space: nowrap;
}

.lede { font-size: clamp(1.02rem, 2.2vw, 1.18rem); color: var(--text-dim); }
.dim { color: var(--text-dim); }
.faint { color: var(--text-faint); }
.center { text-align: center; }

.eyebrow {
  font-family: var(--mono);
  font-size: 0.72rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent);
  margin: 0 0 14px;
  display: block;
}

.section-head { max-width: 760px; margin-bottom: 34px; }
.section-head p { margin-bottom: 0; }

/* ---------- header / nav ---------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(8, 9, 11, 0.86);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--border);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  height: 62px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--text);
  font-family: var(--mono);
  font-weight: 600;
  letter-spacing: 0.14em;
  font-size: 0.95rem;
  flex-shrink: 0;
}
.brand:hover { text-decoration: none; color: #fff; }
.tm {
  font-size: 0.5em;
  vertical-align: super;
  line-height: 0;
  letter-spacing: normal;
  margin-left: 1px;
  font-weight: 500;
}
.brand-mark {
  width: 22px; height: 22px;
  border: 2px solid var(--accent);
  border-radius: 5px;
  position: relative;
  flex-shrink: 0;
}
.brand-mark::after {
  content: "";
  position: absolute;
  inset: 4px 4px auto 4px;
  height: 2px;
  background: var(--accent);
  box-shadow: 0 5px 0 var(--accent);
}

.nav-links { display: flex; align-items: center; gap: 4px; }
.nav-links a {
  color: var(--text-dim);
  font-size: 0.9rem;
  padding: 7px 11px;
  border-radius: 7px;
  white-space: nowrap;
}
.nav-links a:hover { color: var(--text); background: var(--bg-hover); text-decoration: none; }
.nav-links a.active { color: var(--accent); background: rgba(255, 90, 54, 0.09); }

.nav-cta {
  border: 1px solid var(--border-bright) !important;
  color: var(--text) !important;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  margin-left: 6px;
}
.nav-cta:hover { border-color: var(--accent) !important; color: #fff !important; }

.nav-toggle {
  display: none;
  background: none;
  border: 1px solid var(--border-bright);
  border-radius: 7px;
  color: var(--text);
  width: 40px; height: 38px;
  cursor: pointer;
  align-items: center;
  justify-content: center;
  padding: 0;
}
.nav-toggle svg { width: 20px; height: 20px; }

@media (max-width: 1010px) {
  .nav-toggle { display: inline-flex; }
  .nav-links {
    position: absolute;
    top: 62px; left: 0; right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 2px;
    background: var(--bg-raised);
    border-bottom: 1px solid var(--border);
    padding: 10px 18px 18px;
    display: none;
  }
  .nav-links.open { display: flex; }
  .nav-links a { padding: 11px 12px; font-size: 1rem; }
  .nav-cta { margin-left: 0; margin-top: 6px; justify-content: center; }
}

/* ---------- hero ---------- */

.hero { padding: 84px 0 72px; }
.hero h1 { margin-bottom: 20px; }
.hero .lede { max-width: 620px; }

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-family: var(--mono);
  font-size: 0.72rem;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  color: var(--text-dim);
  border: 1px solid var(--border-bright);
  border-radius: 100px;
  padding: 5px 13px;
  margin-bottom: 26px;
}
.hero-badge .dot {
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 9px var(--accent);
}

.acronym {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 8px;
  margin: 40px 0 0;
}
.acronym a {
  display: block;
  text-align: center;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 14px 4px 12px;
  background: var(--bg-card);
  color: var(--text-dim);
  transition: border-color .15s, transform .15s, color .15s;
}
.acronym a:hover { border-color: var(--accent); color: var(--text); transform: translateY(-2px); text-decoration: none; }
.acronym .ltr {
  display: block;
  font-family: var(--mono);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--accent);
  line-height: 1;
  margin-bottom: 6px;
}
.acronym .wd { font-size: 0.68rem; letter-spacing: 0.04em; line-height: 1.3; display: block; }

@media (max-width: 720px) {
  .acronym { grid-template-columns: repeat(4, 1fr); }
}
@media (max-width: 380px) {
  .acronym { grid-template-columns: repeat(2, 1fr); }
}

/* ---------- buttons ---------- */

.btn-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }

.btn {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-family: var(--mono);
  font-size: 0.85rem;
  letter-spacing: 0.04em;
  padding: 12px 20px;
  border-radius: 8px;
  border: 1px solid var(--border-bright);
  color: var(--text);
  background: var(--bg-card);
  transition: all .15s;
}
.btn:hover { text-decoration: none; border-color: var(--accent); color: #fff; background: var(--bg-hover); }
.btn-primary {
  background: var(--accent);
  border-color: var(--accent);
  color: #140702;
  font-weight: 650;
}
.btn-primary:hover { background: #ff6f50; border-color: #ff6f50; color: #140702; }
.btn svg { width: 16px; height: 16px; flex-shrink: 0; }

/* ---------- cards ---------- */

.grid { display: grid; gap: 16px; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }

@media (max-width: 860px) {
  .grid-3, .grid-4 { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 620px) {
  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
}

.card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 22px;
  transition: border-color .15s;
}
.card:hover { border-color: var(--border-bright); }
.card h3 { margin-bottom: 8px; }
.card p:last-child { margin-bottom: 0; }
.card-link { display: block; color: inherit; }
.card-link:hover { text-decoration: none; border-color: var(--accent); }

.card-tag {
  font-family: var(--mono);
  font-size: 0.68rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
  display: block;
  margin-bottom: 10px;
}

/* ---------- callouts ---------- */

.callout {
  border-left: 3px solid var(--accent);
  background: linear-gradient(90deg, rgba(255, 90, 54, 0.07), transparent 70%);
  padding: 16px 20px;
  border-radius: 0 8px 8px 0;
  margin: 24px 0;
}
.callout p:last-child { margin-bottom: 0; }
.callout.warn { border-left-color: var(--amber); background: linear-gradient(90deg, rgba(242,181,68,0.07), transparent 70%); }
.callout.good { border-left-color: var(--green); background: linear-gradient(90deg, rgba(62,207,142,0.07), transparent 70%); }
.callout.bad  { border-left-color: var(--red);   background: linear-gradient(90deg, rgba(255,77,77,0.08), transparent 70%); }

.callout-label {
  font-family: var(--mono);
  font-size: 0.68rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
  display: block;
  margin-bottom: 6px;
}
.callout.warn .callout-label { color: var(--amber); }
.callout.good .callout-label { color: var(--green); }
.callout.bad .callout-label { color: var(--red); }

/* ---------- tables ---------- */

.table-scroll {
  overflow-x: auto;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  margin: 22px 0;
  -webkit-overflow-scrolling: touch;
}

table { width: 100%; border-collapse: collapse; font-size: 0.92rem; min-width: 560px; }
thead th {
  background: var(--bg-raised);
  text-align: left;
  font-family: var(--mono);
  font-size: 0.7rem;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  color: var(--text-faint);
  padding: 12px 16px;
  border-bottom: 1px solid var(--border);
  white-space: nowrap;
}
tbody td { padding: 13px 16px; border-bottom: 1px solid var(--border); vertical-align: top; color: var(--text-dim); }
tbody tr:last-child td { border-bottom: none; }
tbody tr:hover td { background: rgba(255,255,255,0.015); }
tbody td:first-child { color: var(--text); font-weight: 560; }

.scroll-hint {
  font-family: var(--mono);
  font-size: 0.7rem;
  color: var(--text-faint);
  letter-spacing: 0.08em;
  margin: -12px 0 22px;
  display: none;
}
@media (max-width: 700px) { .scroll-hint { display: block; } }

/* ---------- pills / badges ---------- */

.pill {
  display: inline-block;
  font-family: var(--mono);
  font-size: 0.72rem;
  letter-spacing: 0.06em;
  padding: 3px 9px;
  border-radius: 100px;
  border: 1px solid var(--border-bright);
  color: var(--text-dim);
  white-space: nowrap;
}
.pill-l { border-color: rgba(90,169,255,.45); color: var(--blue); }
.pill-m { border-color: rgba(242,181,68,.45); color: var(--amber); }
.pill-r { border-color: rgba(255,77,77,.45); color: var(--red); }
.pill-ok { border-color: rgba(62,207,142,.45); color: var(--green); }

.profile-chip {
  font-family: var(--mono);
  font-size: 0.8rem;
  border: 1px solid var(--border-bright);
  border-radius: 6px;
  padding: 4px 10px;
  display: inline-block;
  background: var(--bg-raised);
  color: var(--text);
}

/* ---------- level escalator ---------- */

.levels { display: flex; flex-direction: column; gap: 12px; margin: 26px 0; }
.level {
  display: grid;
  grid-template-columns: 84px 1fr;
  gap: 20px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-left: 3px solid var(--accent-dim);
  border-radius: var(--radius);
  padding: 20px 22px;
  transition: border-color .15s;
}
.level:hover { border-color: var(--border-bright); border-left-color: var(--accent); }
.level-id {
  font-family: var(--mono);
  font-size: 1.65rem;
  font-weight: 700;
  color: var(--accent);
  line-height: 1;
}
.level-id small { display: block; font-size: 0.62rem; letter-spacing: 0.1em; color: var(--text-faint); margin-top: 7px; text-transform: uppercase; font-weight: 500; }
.level h3 { margin-bottom: 6px; }
.level p { margin-bottom: 10px; font-size: 0.95rem; color: var(--text-dim); }
.level p:last-child { margin-bottom: 0; }

.split { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-top: 12px; }
.split > div {
  background: var(--bg-raised);
  border: 1px solid var(--border);
  border-radius: 7px;
  padding: 11px 13px;
  font-size: 0.85rem;
  color: var(--text-dim);
}
.split .k {
  display: block;
  font-family: var(--mono);
  font-size: 0.63rem;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  color: var(--text-faint);
  margin-bottom: 5px;
}

@media (max-width: 640px) {
  .level { grid-template-columns: 1fr; gap: 12px; padding: 18px; }
  .level-id { font-size: 1.3rem; display: flex; align-items: baseline; gap: 10px; }
  .level-id small { margin-top: 0; }
  .split { grid-template-columns: 1fr; }
}

/* ---------- accordion ---------- */

details.acc {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  margin-bottom: 12px;
  overflow: hidden;
}
details.acc[open] { border-color: var(--border-bright); }
details.acc > summary {
  list-style: none;
  cursor: pointer;
  padding: 18px 22px;
  display: flex;
  align-items: center;
  gap: 16px;
  user-select: none;
}
details.acc > summary::-webkit-details-marker { display: none; }
details.acc > summary:hover { background: var(--bg-hover); }
.acc-letter {
  font-family: var(--mono);
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--accent);
  width: 30px;
  text-align: center;
  flex-shrink: 0;
}
.acc-title { flex: 1; min-width: 0; }
.acc-title strong { display: block; font-size: 1.04rem; }
.acc-title span { display: block; font-size: 0.87rem; color: var(--text-dim); }
.acc-chev { color: var(--text-faint); transition: transform .18s; flex-shrink: 0; }
details.acc[open] .acc-chev { transform: rotate(180deg); }
.acc-body { padding: 2px 22px 22px; border-top: 1px solid var(--border); margin-top: 2px; padding-top: 18px; }
.acc-body > *:last-child { margin-bottom: 0; }

@media (max-width: 520px) {
  details.acc > summary { padding: 15px 16px; gap: 12px; }
  .acc-body { padding: 16px 16px 20px; }
  .acc-letter { font-size: 1.2rem; width: 22px; }
}

/* ---------- lists ---------- */

ul.ticks { list-style: none; padding: 0; margin: 0 0 1.1em; }
ul.ticks li {
  position: relative;
  padding-left: 24px;
  margin-bottom: 9px;
  color: var(--text-dim);
  font-size: 0.95rem;
}
ul.ticks li::before {
  content: "";
  position: absolute;
  left: 3px; top: 0.62em;
  width: 7px; height: 7px;
  border-radius: 2px;
  background: var(--accent-dim);
}
ul.ticks li strong { color: #fff; }

ol.steps { counter-reset: s; list-style: none; padding: 0; margin: 0; }
ol.steps li {
  counter-increment: s;
  position: relative;
  padding: 0 0 22px 46px;
  border-left: 1px solid var(--border);
  margin-left: 15px;
}
ol.steps li:last-child { border-left-color: transparent; padding-bottom: 0; }
ol.steps li::before {
  content: counter(s);
  position: absolute;
  left: -15px; top: -2px;
  width: 30px; height: 30px;
  border-radius: 50%;
  background: var(--bg-raised);
  border: 1px solid var(--border-bright);
  color: var(--accent);
  font-family: var(--mono);
  font-size: 0.8rem;
  display: flex; align-items: center; justify-content: center;
}
ol.steps li h4 { margin: 3px 0 6px; }
ol.steps li p { font-size: 0.94rem; color: var(--text-dim); margin-bottom: 0; }

/* ---------- scenario ---------- */

.scenario {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  margin-bottom: 20px;
}
.scenario-head {
  padding: 20px 24px;
  border-bottom: 1px solid var(--border);
  background: var(--bg-raised);
}
.scenario-head h3 { margin-bottom: 10px; }
.scenario-meta { display: flex; flex-wrap: wrap; gap: 8px; }
.scenario-body { padding: 22px 24px; }
.scenario-body p:last-child { margin-bottom: 0; }
.scenario-body h4 {
  font-family: var(--mono);
  font-size: 0.7rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-faint);
  margin: 22px 0 9px;
}
.scenario-body h4:first-child { margin-top: 0; }

@media (max-width: 520px) {
  .scenario-head, .scenario-body { padding: 17px 17px; }
}

.chain { list-style: none; padding: 0; margin: 0 0 4px; }
.chain li {
  font-size: 0.93rem;
  color: var(--text-dim);
  padding: 9px 0 9px 26px;
  position: relative;
  border-bottom: 1px dashed var(--border);
}
.chain li:last-child { border-bottom: none; }
.chain li::before {
  content: "→";
  position: absolute;
  left: 0;
  color: var(--accent);
  font-family: var(--mono);
}

/* ---------- profile builder ---------- */

.builder {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px;
}
.builder-row { margin-bottom: 20px; }
.builder-row > label {
  display: block;
  font-family: var(--mono);
  font-size: 0.7rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-faint);
  margin-bottom: 10px;
}
.opts { display: flex; flex-wrap: wrap; gap: 8px; }
.opts button {
  font-family: var(--mono);
  font-size: 0.82rem;
  padding: 9px 14px;
  border-radius: 7px;
  border: 1px solid var(--border-bright);
  background: var(--bg-raised);
  color: var(--text-dim);
  cursor: pointer;
  transition: all .13s;
}
.opts button:hover { color: var(--text); border-color: var(--text-faint); }
.opts button[aria-pressed="true"] {
  background: var(--accent);
  border-color: var(--accent);
  color: #140702;
  font-weight: 650;
}
.builder-out {
  border-top: 1px solid var(--border);
  padding-top: 20px;
  margin-top: 4px;
}
.builder-out .prof {
  font-family: var(--mono);
  font-size: clamp(1.1rem, 4vw, 1.5rem);
  color: var(--accent);
  margin-bottom: 12px;
  word-break: break-word;
}
#verdict { font-size: 0.95rem; }

/* ---------- comparison table (appendix B) ---------- */

.compare { display: grid; gap: 10px; }
.compare-row {
  display: grid;
  grid-template-columns: 1fr 28px 1fr;
  gap: 12px;
  align-items: center;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 9px;
  padding: 15px 18px;
  font-size: 0.92rem;
}
.compare-row .arw { color: var(--accent); text-align: center; font-family: var(--mono); }
.compare-row .lft { color: var(--text-dim); }
.compare-row .rgt { color: var(--text); }
@media (max-width: 700px) {
  .compare-row { grid-template-columns: 1fr; gap: 6px; }
  .compare-row .arw { text-align: left; }
}

/* ---------- CTA band ---------- */

.cta-band {
  border: 1px solid var(--border-bright);
  border-radius: 14px;
  background: linear-gradient(135deg, rgba(255,90,54,0.09), rgba(255,90,54,0.01) 55%), var(--bg-card);
  padding: 40px 34px;
  text-align: center;
}
.cta-band h2 { margin-bottom: 12px; }
.cta-band .lede { max-width: 560px; margin: 0 auto 8px; }
.cta-band .btn-row { justify-content: center; }
@media (max-width: 520px) { .cta-band { padding: 30px 20px; } }

/* ---------- page nav (prev/next) ---------- */

.pagenav { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-top: 10px; }
.pagenav a {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 16px 18px;
  background: var(--bg-card);
  color: var(--text);
}
.pagenav a:hover { border-color: var(--accent); text-decoration: none; }
.pagenav span {
  display: block;
  font-family: var(--mono);
  font-size: 0.68rem;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  color: var(--text-faint);
  margin-bottom: 5px;
}
.pagenav .nxt { text-align: right; }
@media (max-width: 520px) { .pagenav { grid-template-columns: 1fr; } .pagenav .nxt { text-align: left; } }

/* ---------- footer ---------- */

.site-footer {
  border-top: 1px solid var(--border);
  padding: 40px 0 50px;
  margin-top: 20px;
  position: relative;
  z-index: 1;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1.25fr;
  gap: 30px;
}
.footer-grid h4 {
  font-family: var(--mono);
  font-size: 0.68rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-faint);
  margin-bottom: 12px;
}
.footer-grid ul { list-style: none; padding: 0; margin: 0; }
.footer-grid li { margin-bottom: 8px; }
.footer-grid li a { color: var(--text-dim); font-size: 0.9rem; }
.footer-grid li a:hover { color: var(--text); }
.footer-legal {
  margin-top: 30px;
  padding-top: 22px;
  border-top: 1px solid var(--border);
}
.footer-note { font-size: 0.85rem; color: var(--text-faint); margin: 0 0 8px; }
.footer-note:last-child { margin-bottom: 0; }
@media (max-width: 900px) { .footer-grid { grid-template-columns: 1fr 1fr; gap: 26px; } }
@media (max-width: 560px) { .footer-grid { grid-template-columns: 1fr; gap: 24px; } }

/* footer contact */
.footer-contact p { font-size: 0.9rem; color: var(--text-dim); margin-bottom: 12px; }
.mail-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--mono);
  font-size: 0.78rem;
  letter-spacing: 0.02em;
  padding: 10px 14px;
  border-radius: 8px;
  border: 1px solid var(--border-bright);
  background: var(--bg-card);
  color: var(--text);
  max-width: 100%;
  word-break: break-all;
  line-height: 1.35;
}
.mail-btn:hover { text-decoration: none; border-color: var(--accent); color: #fff; background: var(--bg-hover); }
.mail-btn svg { width: 15px; height: 15px; flex-shrink: 0; }

/* contact strip — appears above the footer on every page */
.contact-strip {
  border-top: 1px solid var(--border);
  padding: 46px 0 44px;
  position: relative;
  z-index: 1;
}
.contact-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 26px;
  flex-wrap: wrap;
  border: 1px solid var(--border-bright);
  border-radius: 14px;
  background: linear-gradient(135deg, rgba(255,90,54,0.07), rgba(255,90,54,0.01) 60%), var(--bg-card);
  padding: 26px 30px;
}
.contact-inner h3 { margin-bottom: 6px; }
.contact-inner p { margin-bottom: 0; font-size: 0.94rem; color: var(--text-dim); max-width: 56ch; }
.contact-inner .btn { flex-shrink: 0; word-break: break-all; }
@media (max-width: 700px) {
  .contact-inner { padding: 22px 20px; gap: 18px; }
  .contact-inner .btn { width: 100%; justify-content: center; text-align: center; font-size: 0.78rem; }
}

/* ---------- misc ---------- */

.hr { height: 1px; background: var(--border); border: 0; margin: 34px 0; }

.skip {
  position: absolute; left: -9999px;
  background: var(--accent); color: #140702;
  padding: 10px 16px; border-radius: 6px; z-index: 100;
}
.skip:focus { left: 16px; top: 12px; }

:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; border-radius: 4px; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}
