/* Thornrock Consulting — Private AI. Navy, dark gold, cream. Single dark theme by design. */
:root {
  --navy-900: #081629;   /* header, hero, dark bands */
  --navy-800: #0E2038;   /* page */
  --navy-700: #142B4A;   /* cards */
  --gold: #BE8901;       /* fills, stripes, large type */
  --gold-text: #D6A21C;  /* small gold type on navy */
  --cream: #E9E4D6;
  --muted: rgba(233, 228, 214, .78);
  --line: rgba(233, 228, 214, .16);
  --display: "Archivo", "Arial Black", "Helvetica Neue", Arial, sans-serif;
  --body: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  --mono: "IBM Plex Mono", ui-monospace, Menlo, Consolas, monospace;
  --wrap: 1120px;
  color-scheme: dark;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 84px; -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--navy-800); color: var(--cream); font-family: var(--body); font-size: 17px; line-height: 1.6; }
img, svg { max-width: 100%; }
a { color: var(--gold-text); }
p { margin: 0; }
h1, h2, h3 { margin: 0; font-family: var(--display); font-weight: 900; text-transform: uppercase; line-height: 1.02; text-wrap: balance; }
h2 { font-size: clamp(1.9rem, 4.4vw, 3rem); }
h3 { font-size: 1.5rem; }
.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding-left: max(20px, env(safe-area-inset-left, 0px)); padding-right: max(20px, env(safe-area-inset-right, 0px)); }
.narrow { max-width: 820px; }
.center { text-align: center; }
.mono { font-family: var(--mono); font-variant-numeric: tabular-nums; }
.eyebrow, .label { font-family: var(--mono); font-size: .78rem; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: var(--gold-text); margin-bottom: 14px; }
.note { margin-top: 22px; font-size: .88rem; color: var(--muted); }
.fine { font-size: .85rem; color: var(--muted); }
.skip { position: absolute; left: -9999px; top: 0; background: var(--gold); color: var(--navy-900); padding: 10px 14px; font-weight: 700; z-index: 100; }
.skip:focus { left: 12px; top: 12px; }
:focus-visible { outline: 3px solid var(--cream); outline-offset: 3px; }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: 0 22px; border-radius: 4px; border: 2px solid transparent; font: 700 1rem var(--body); text-decoration: none; cursor: pointer; transition: transform .15s ease, background .15s ease, border-color .15s ease; }
.btn:hover { transform: translateY(-1px); }
.btn-gold { background: var(--gold); color: var(--navy-900); }
.btn-gold:hover { background: #D39A0A; }
.btn-ghost { background: transparent; color: var(--cream); border-color: var(--line); }
.btn-ghost:hover { border-color: var(--cream); }
.btn-sm { min-height: 44px; padding: 0 16px; font-size: .92rem; }
.cta-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 26px; }

/* Header */
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(8, 22, 41, .96); border-bottom: 1px solid var(--line); backdrop-filter: blur(6px); }
.bar { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 68px; }
.brand { font-family: var(--display); font-weight: 800; font-size: 1.1rem; letter-spacing: .06em; text-transform: uppercase; text-decoration: none; color: var(--gold-text); white-space: nowrap; }
.brand i { font-style: normal; font-weight: 600; color: var(--cream); }
.site-nav { display: flex; align-items: center; gap: 26px; }
.site-nav a:not(.btn) { color: var(--cream); text-decoration: none; font-weight: 600; font-size: .95rem; padding: 12px 0; }
.site-nav a:not(.btn):hover { color: var(--gold-text); }
.nav-toggle { display: none; width: 48px; height: 48px; background: transparent; border: 1px solid var(--line); border-radius: 4px; cursor: pointer; padding: 0; flex-direction: column; align-items: center; justify-content: center; gap: 5px; }
.nav-toggle span { display: block; width: 22px; height: 2px; background: var(--cream); }

/* Hero */
.hero { background: var(--navy-900); border-bottom: 7px solid var(--gold); padding-block: clamp(48px, 8vw, 96px); }
.hero-grid { display: grid; grid-template-columns: min(786px, 61vw) minmax(0, 1fr); gap: 0; align-items: center; }
.hero-copy { min-width: 0; }
.hero h1 { font-size: clamp(2.3rem, 4.2vw, 3.4rem); line-height: .98; }
@media (min-width: 901px) { .hero h1 span { white-space: nowrap; } }
.hero h1 span { color: var(--gold); }
.tagline { margin-top: 20px; font-size: clamp(1.05rem, 2vw, 1.3rem); font-weight: 700; }
.hero-art svg { display: block; width: 100%; height: auto; }
.hero-art .ln { stroke: var(--cream); stroke-width: 3; opacity: .55; }
.hero-art .ln.thin { stroke-width: 2; opacity: .35; }
.hero-art .ring { stroke: var(--gold); stroke-width: 3; stroke-dasharray: 10 8; fill: none; }
.hero-art .srv { stroke: var(--cream); stroke-width: 2.5; fill: var(--navy-700); }
.hero-art .led { fill: var(--gold); stroke: none; }
.hero-art .shield { stroke: var(--gold); stroke-width: 3; fill: var(--navy-900); }
.hero-art .check { stroke: var(--gold); stroke-width: 4; fill: none; }
.art-cap { margin-top: 10px; text-align: center; font-family: var(--mono); font-size: .78rem; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }

/* Sections */
.section { padding-block: clamp(56px, 8vw, 96px); }
.section-dark { background: var(--navy-900); border-block: 1px solid var(--line); }

/* Pillars */
.pillars { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; margin-top: 40px; }
.pillar { background: var(--navy-700); border: 1px solid var(--line); border-top: 6px solid var(--gold); border-radius: 4px; padding: 28px 24px 30px; text-align: center; display: flex; flex-direction: column; align-items: center; gap: 10px; }
.pillar svg { width: 44px; height: 44px; fill: none; stroke: var(--gold-text); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.pillar h3 { font-size: clamp(1.8rem, 3.4vw, 2.4rem); color: var(--gold-text); }
.pillar .lead { font-weight: 700; font-size: 1.08rem; }
.pillar p:last-child { color: var(--muted); font-size: .98rem; }

/* Stop box */
.stopbox { border: 2px solid var(--gold); border-radius: 4px; background: var(--navy-800); overflow: hidden; }
.stop-head { padding: 26px 28px 22px; border-bottom: 1px solid var(--line); }
.stop-head h2 { font-size: clamp(1.7rem, 5vw, 3.2rem); }
.stop-head h2 span { color: var(--gold); font-size: 1.55em; line-height: .9; margin-right: .12em; }
.stop-body { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.4fr); }
.stop-copy { padding: 26px 28px; display: flex; flex-direction: column; gap: 14px; border-right: 1px solid var(--line); }
.stop-copy p { color: var(--muted); }
.stop-copy .gold-line { color: var(--gold-text); font-weight: 800; font-size: 1.15rem; }
.receipts { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; padding: 26px 28px; }
.receipt { border-radius: 4px; padding: 18px; display: flex; flex-direction: column; gap: 10px; font-size: .95rem; }
.receipt.cloud { border: 1px dashed rgba(233, 228, 214, .35); color: var(--muted); }
.receipt.yours { border: 2px solid var(--gold); background: var(--navy-900); }
.r-title { font-family: var(--mono); font-size: .76rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.receipt.yours .r-title { color: var(--gold-text); }
.r-row { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; border-bottom: 1px dotted var(--line); padding-bottom: 8px; }
.r-row span { white-space: nowrap; }
.r-row b { text-align: right; font-weight: 700; color: var(--cream); }
.r-row.total { border-bottom: 0; padding-bottom: 0; }
.receipt.yours .r-row.total b, .receipt.yours .mono { color: var(--gold-text); }
.pulse { width: 9px; height: 9px; border-radius: 50%; background: #E0554F; animation: pulse 1.2s ease-in-out infinite; }
@keyframes pulse { 50% { opacity: .25; } }
.stop-foot { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 14px 28px; border-top: 2px solid var(--gold); background: var(--navy-900); }
.stop-foot .label { margin: 0; color: var(--cream); }
.zero { font-family: var(--display); font-weight: 900; font-size: clamp(2.4rem, 6vw, 3.8rem); line-height: 1; text-transform: uppercase; color: var(--gold); }

/* Outside knowledge */
.split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: 48px; align-items: start; }
.checks { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 14px; }
.checks li { position: relative; padding-left: 34px; color: var(--muted); }
.checks li::before { content: ""; position: absolute; left: 0; top: .32em; width: 18px; height: 10px; border-left: 3px solid var(--gold); border-bottom: 3px solid var(--gold); transform: rotate(-45deg); }

/* Steps */
.steps { list-style: none; margin: 40px 0 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.steps li { border-top: 4px solid var(--gold); background: var(--navy-800); border-radius: 4px; padding: 22px 22px 24px; display: flex; flex-direction: column; gap: 8px; }
.num { font-family: var(--display); font-weight: 900; font-size: 2.4rem; line-height: 1; color: var(--gold); }
.steps p { color: var(--muted); font-size: .98rem; }
.steps .meta { margin-top: auto; padding-top: 10px; font-family: var(--mono); font-size: .76rem; letter-spacing: .1em; text-transform: uppercase; color: var(--gold-text); }

/* Pricing */
.price-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; margin-top: 40px; }
.price { background: var(--navy-700); border: 1px solid var(--line); border-radius: 4px; padding: 22px; display: flex; flex-direction: column; gap: 8px; }
.price h3 { font-size: 1.15rem; letter-spacing: .04em; }
.price .amt { font-weight: 700; font-size: 1.05rem; color: var(--gold-text); }
.price p:last-child { color: var(--muted); font-size: .95rem; }
.price.none { background: var(--gold); border-color: var(--gold); color: var(--navy-900); }
.price.none .amt { color: var(--navy-900); font-family: var(--display); font-weight: 900; font-size: 2rem; text-transform: uppercase; line-height: 1; }
.price.none p:last-child { color: var(--navy-900); font-weight: 600; }

/* FAQ */
.faq { margin-top: 34px; display: flex; flex-direction: column; gap: 10px; }
.faq details { background: var(--navy-800); border: 1px solid var(--line); border-radius: 4px; }
.faq summary { cursor: pointer; list-style: none; padding: 18px 52px 18px 20px; font-weight: 700; position: relative; min-height: 48px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 20px; top: 50%; transform: translateY(-50%); font-family: var(--display); font-size: 1.6rem; color: var(--gold-text); }
.faq details[open] summary::after { content: "–"; }
.faq details p { padding: 0 20px 20px; color: var(--muted); }

/* Demo */
.demo { border-top: 7px solid var(--gold); background: var(--navy-900); }
.demo-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, .9fr); gap: 48px; align-items: center; }
.demo h2 { font-size: clamp(2.6rem, 8vw, 5rem); }
.demo h2 span { color: var(--gold); }
.demo .tagline + p { margin-top: 8px; color: var(--muted); }
.contact-card { background: var(--navy-700); border: 1px solid var(--line); border-radius: 4px; padding: 28px; }
.contact-card .label { margin-bottom: 10px; }
.contact-card .who { font-family: var(--display); font-weight: 800; font-size: 1.6rem; text-transform: uppercase; }
.contact-card .email { margin-top: 10px; font-weight: 600; overflow-wrap: anywhere; user-select: all; }
.copied { min-height: 1.4em; margin-top: 10px; font-size: .9rem; color: var(--gold-text); }

/* Footer */
.site-footer { background: var(--navy-900); border-top: 1px solid var(--line); padding-block: 30px; }
.foot { display: flex; flex-direction: column; gap: 8px; }
.foot .brand { margin-bottom: 4px; }

/* Responsive */
@media (max-width: 900px) {
  .hero-grid, .split, .demo-grid, .stop-body { grid-template-columns: minmax(0, 1fr); }
  .hero-art { max-width: 340px; margin-inline: auto; }
  .pillars, .steps { grid-template-columns: minmax(0, 1fr); }
  .price-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .stop-copy { border-right: 0; border-bottom: 1px solid var(--line); }
  .nav-toggle { display: flex; }
  .site-nav { display: none; position: absolute; left: 0; right: 0; top: 100%; background: var(--navy-900); border-bottom: 1px solid var(--line); flex-direction: column; align-items: stretch; gap: 0; padding: 8px 20px 20px; }
  .site-nav.open { display: flex; }
  .site-nav a:not(.btn) { padding: 14px 0; border-bottom: 1px solid var(--line); }
  .site-nav .btn { margin-top: 14px; }
}
@media (max-width: 560px) {
  body { font-size: 16px; }
  .receipts { grid-template-columns: minmax(0, 1fr); padding: 20px; }
  .stop-head, .stop-copy { padding: 20px; }
  .stop-foot { padding: 12px 20px; }
  .price-grid { grid-template-columns: minmax(0, 1fr); }
  .cta-row .btn { flex: 1 1 100%; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .pulse { animation: none; }
  .btn { transition: none; }
}

/* Logo mark and home page */
.brand { display: inline-flex; align-items: center; gap: 0; }
.brand svg { width: 26px; height: 26px; flex: none; margin-right: 10px; }
.mark-lg svg { max-width: 280px; margin-inline: auto; }
.feature { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, .8fr); gap: 40px; align-items: center; background: var(--navy-700); border: 1px solid var(--line); border-top: 6px solid var(--gold); border-radius: 4px; padding: clamp(24px, 4vw, 44px); margin-top: 40px; }
.feature h3 { font-size: clamp(2rem, 4vw, 2.8rem); color: var(--gold-text); }
.feature .lead { margin-top: 10px; font-weight: 700; font-size: 1.1rem; }
.feature .checks { margin-top: 20px; }
.feature .checks b { color: var(--cream); }
@media (max-width: 900px) { .feature { grid-template-columns: minmax(0, 1fr); } .feature .hero-art { display: none; } .mark-lg svg { max-width: 160px; } }
@media (max-width: 560px) { .brand { font-size: .95rem; } .brand svg { width: 22px; height: 22px; margin-right: 8px; } .site-header .brand i { display: none; } }

/* ThornRock AI logo on the Private AI page */
.brand.logo svg { margin-right: 0; }
.brand.logo .mk { width: 40px; height: 40px; flex: none; margin-right: 10px; }
.brand.logo .word { width: 200px; height: auto; display: block; }
.hero-logo { display: flex; align-items: center; gap: 16px; margin-bottom: 26px; }
.hero-logo .mk { width: 84px; height: 84px; flex: none; }
.hero-logo .word { width: min(400px, 68vw); height: auto; display: block; }
.foot .brand.logo .mk { width: 34px; height: 34px; }
.foot .brand.logo .word { width: 170px; }
@media (max-width: 560px) {
  .brand.logo .mk { width: 32px; height: 32px; margin-right: 8px; }
  .brand.logo .word { width: 150px; }
  .hero-logo { gap: 10px; } .hero-logo .mk { width: 56px; height: 56px; }
}

/* Hero: text keeps its size; the building sits centered in the space between the headline and the screen edge */
.hero { overflow: hidden; }
@media (min-width: 901px) {
  .hero .tagline { font-size: clamp(1.05rem, 1.625vw, 1.3rem); }
  .hero-art { margin-right: calc((min(1120px, 100vw) - 100vw) / 2 - 17px); display: flex; flex-direction: column; align-items: center; }
  .hero-art svg { width: min(355px, calc(100% - 40px)); }
  .hero-art .art-cap { max-width: min(355px, calc(100% - 40px)); }
}
@media (max-width: 900px) { .hero-grid { gap: 40px; } }
