/* Readiness Technologies LLC — site styles
   No external fonts or assets. System font stack for speed and privacy. */

:root {
  --navy-950: #070c18;
  --navy-900: #0b1324;
  --navy-850: #0f1a30;
  --navy-800: #142039;
  --charcoal: #1b2333;
  --line: rgba(148, 170, 210, 0.14);
  --line-strong: rgba(148, 170, 210, 0.26);
  --text: #e8eef8;
  --text-muted: #a5b2c8;
  --text-dim: #7d8aa3;
  --blue-300: #8fb8ff;
  --blue-400: #5b9bff;
  --blue-500: #3b82f6;
  --blue-600: #2563eb;
  --amber: #f2c46d;
  --radius: 14px;
  --radius-sm: 10px;
  --max: 1160px;
  --font: ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --mono: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
}

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

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  font-family: var(--font);
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--text);
  background: var(--navy-950);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img, svg { display: block; max-width: 100%; }
a { color: var(--blue-300); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: #fff; }
:focus-visible { outline: 2px solid var(--blue-400); outline-offset: 3px; border-radius: 4px; }

h1, h2, h3, h4 { line-height: 1.15; margin: 0 0 .6em; letter-spacing: -0.02em; color: #fff; }
h1 { font-size: clamp(2.3rem, 5.4vw, 4rem); font-weight: 750; letter-spacing: -0.035em; }
h2 { font-size: clamp(1.7rem, 3.2vw, 2.4rem); font-weight: 700; }
h3 { font-size: 1.2rem; font-weight: 650; letter-spacing: -0.01em; }
p { margin: 0 0 1.1em; }

.container { width: min(100% - 2.5rem, var(--max)); margin-inline: auto; }
.narrow { max-width: 760px; }

.skip-link {
  position: absolute; left: 1rem; top: -100px; z-index: 100;
  background: #fff; color: var(--navy-950); padding: .6rem 1rem; border-radius: 8px; font-weight: 600;
}
.skip-link:focus { top: 1rem; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(7, 12, 24, 0.78);
  backdrop-filter: saturate(160%) blur(14px);
  -webkit-backdrop-filter: saturate(160%) blur(14px);
  border-bottom: 1px solid var(--line);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; height: 72px; gap: 1rem; }

.brand { display: inline-flex; align-items: center; gap: .7rem; text-decoration: none; color: #fff; }
.brand svg { width: 34px; height: 34px; flex: none; }
.brand-text { display: flex; flex-direction: column; line-height: 1; }
.brand-name { font-weight: 800; letter-spacing: .16em; font-size: .98rem; }
.brand-sub { font-weight: 500; letter-spacing: .34em; font-size: .62rem; color: var(--text-muted); margin-top: .38rem; }

.nav-toggle {
  display: none; background: transparent; border: 1px solid var(--line-strong); color: #fff;
  border-radius: 10px; width: 44px; height: 44px; cursor: pointer; padding: 0;
}
.nav-toggle svg { margin: auto; width: 20px; height: 20px; }

.site-nav ul { list-style: none; margin: 0; padding: 0; display: flex; gap: .25rem; align-items: center; }
.site-nav a {
  display: block; padding: .55rem .9rem; border-radius: 9px; color: var(--text-muted);
  text-decoration: none; font-weight: 550; font-size: .96rem; transition: color .2s, background-color .2s;
}
.site-nav a:hover { color: #fff; background: rgba(255,255,255,.05); }
.site-nav a[aria-current="page"] { color: #fff; }
.site-nav a.nav-cta { color: #fff; background: var(--blue-600); margin-left: .5rem; }
.site-nav a.nav-cta:hover { background: var(--blue-500); }

@media (max-width: 820px) {
  .nav-toggle { display: grid; place-items: center; }
  .site-nav {
    position: absolute; inset: 72px 0 auto 0; background: var(--navy-900);
    border-bottom: 1px solid var(--line); display: none;
  }
  .site-nav.open { display: block; }
  .site-nav ul { flex-direction: column; align-items: stretch; padding: .75rem 1.25rem 1.25rem; gap: .15rem; }
  .site-nav a { padding: .85rem 1rem; font-size: 1.05rem; }
  .site-nav a.nav-cta { margin: .5rem 0 0; text-align: center; }
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: .55rem; padding: .85rem 1.35rem; border-radius: 11px;
  font-weight: 650; font-size: 1rem; text-decoration: none; border: 1px solid transparent;
  transition: transform .2s ease, background-color .2s, border-color .2s, color .2s;
}
.btn svg { width: 18px; height: 18px; }
.btn-primary { background: var(--blue-600); color: #fff; box-shadow: 0 8px 30px -10px rgba(37,99,235,.7); }
.btn-primary:hover { background: var(--blue-500); color: #fff; transform: translateY(-1px); }
.btn-ghost { border-color: var(--line-strong); color: #fff; background: rgba(255,255,255,.02); }
.btn-ghost:hover { border-color: var(--blue-400); color: #fff; transform: translateY(-1px); }

/* ---------- Hero ---------- */
.hero { position: relative; overflow: hidden; padding: clamp(5rem, 11vw, 9rem) 0 clamp(4.5rem, 9vw, 7.5rem); isolation: isolate; }
.hero::before {
  content: ""; position: absolute; inset: 0; z-index: -2;
  background-image:
    linear-gradient(var(--line) 1px, transparent 1px),
    linear-gradient(90deg, var(--line) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(ellipse 75% 65% at 50% 30%, #000 30%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse 75% 65% at 50% 30%, #000 30%, transparent 75%);
  opacity: .55;
}
.hero::after {
  content: ""; position: absolute; z-index: -1; width: 900px; height: 600px; left: 50%; top: -260px;
  transform: translateX(-50%);
  background: radial-gradient(closest-side, rgba(59,130,246,.30), rgba(59,130,246,0) 70%);
  filter: blur(10px);
}
.hero .container { text-align: center; }
.eyebrow {
  display: inline-flex; align-items: center; gap: .55rem; font-size: .8rem; font-weight: 650;
  letter-spacing: .14em; text-transform: uppercase; color: var(--blue-300);
  padding: .4rem .85rem; border: 1px solid rgba(91,155,255,.3); border-radius: 999px; background: rgba(59,130,246,.08);
  margin-bottom: 1.6rem;
}
.eyebrow .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--blue-400); box-shadow: 0 0 0 4px rgba(91,155,255,.18); }
.hero h1 { max-width: 15ch; margin-inline: auto; }
.hero h1 .accent {
  background: linear-gradient(92deg, #ffffff 0%, var(--blue-300) 45%, var(--blue-400) 100%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.hero .lead { font-size: clamp(1.1rem, 1.8vw, 1.3rem); color: var(--text-muted); max-width: 46ch; margin: 1.4rem auto 2.4rem; }
.hero-actions { display: flex; gap: .9rem; justify-content: center; flex-wrap: wrap; }

/* ---------- Page hero (inner pages) ---------- */
.page-hero { position: relative; padding: clamp(3.75rem, 8vw, 6rem) 0 clamp(2.5rem, 5vw, 3.5rem); border-bottom: 1px solid var(--line); overflow: hidden; isolation: isolate; }
.page-hero::after {
  content: ""; position: absolute; z-index: -1; width: 700px; height: 420px; right: -160px; top: -220px;
  background: radial-gradient(closest-side, rgba(59,130,246,.22), transparent 70%);
}
.page-hero h1 { font-size: clamp(2.1rem, 4.4vw, 3.2rem); max-width: 20ch; }
.page-hero p { color: var(--text-muted); font-size: 1.15rem; max-width: 60ch; margin: 0; }
.kicker { font-size: .78rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--blue-300); margin-bottom: .9rem; display: block; }

/* ---------- Sections ---------- */
section { padding: clamp(4rem, 8vw, 6.5rem) 0; }
.section-alt { background: linear-gradient(180deg, var(--navy-900), var(--navy-950)); border-block: 1px solid var(--line); }
.section-head { max-width: 680px; margin-bottom: 2.75rem; }
.section-head p { color: var(--text-muted); font-size: 1.1rem; }
.split { display: grid; grid-template-columns: 1fr 1.15fr; gap: clamp(2rem, 5vw, 5rem); align-items: start; }
@media (max-width: 860px) { .split { grid-template-columns: 1fr; } }
.muted { color: var(--text-muted); }

/* ---------- Cards ---------- */
.grid { display: grid; gap: 1.25rem; }
.grid-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
@media (max-width: 1000px) { .grid-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); } .grid-3 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 640px) { .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; } }

.card {
  position: relative; background: linear-gradient(180deg, rgba(20,32,57,.75), rgba(15,26,48,.6));
  border: 1px solid var(--line); border-radius: var(--radius); padding: 1.6rem;
  transition: border-color .25s, transform .25s ease, box-shadow .25s;
}
.card:hover { border-color: var(--line-strong); }
.card p { color: var(--text-muted); margin: 0; font-size: 1rem; }
.icon {
  width: 44px; height: 44px; border-radius: 11px; display: grid; place-items: center; margin-bottom: 1.1rem;
  background: rgba(59,130,246,.12); border: 1px solid rgba(91,155,255,.25); color: var(--blue-300);
}
.icon svg { width: 22px; height: 22px; }

/* Product cards */
.product {
  display: flex; flex-direction: column; padding: 2rem; border-radius: 18px; min-height: 100%;
  background: linear-gradient(160deg, rgba(25,40,72,.9), rgba(13,22,41,.85) 60%);
  border: 1px solid var(--line-strong); overflow: hidden;
}
.product::before {
  content: ""; position: absolute; inset: 0 0 auto 0; height: 3px;
  background: linear-gradient(90deg, var(--blue-500), rgba(91,155,255,0));
}
.product.is-dev::before { background: linear-gradient(90deg, var(--amber), rgba(242,196,109,0)); }
.product:hover { transform: translateY(-3px); box-shadow: 0 24px 50px -28px rgba(0,0,0,.8); }
.product-top { display: flex; justify-content: space-between; align-items: flex-start; gap: 1rem; margin-bottom: 1.2rem; }
.product h3 { font-size: 1.55rem; margin-bottom: .25rem; }
.tagline { color: var(--blue-300); font-weight: 600; font-size: .98rem; margin: 0 0 1.1rem; }
.product .desc { color: var(--text-muted); margin-bottom: 1.4rem; }
.product ul { list-style: none; padding: 0; margin: 0 0 1.75rem; display: grid; gap: .5rem; }
.product li { display: flex; gap: .6rem; color: var(--text); font-size: .97rem; }
.product li::before { content: ""; flex: none; width: 6px; height: 6px; border-radius: 50%; background: var(--blue-400); margin-top: .62em; }
.product.is-dev li::before { background: var(--amber); }
.product .actions { margin-top: auto; display: flex; gap: .75rem; flex-wrap: wrap; align-items: center; }
.status {
  flex: none; font-size: .74rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase;
  padding: .35rem .7rem; border-radius: 999px; white-space: nowrap;
}
.status-live { color: #9fe3bf; background: rgba(52,199,124,.1); border: 1px solid rgba(52,199,124,.35); }
.status-dev { color: var(--amber); background: rgba(242,196,109,.08); border: 1px solid rgba(242,196,109,.35); }
.note { font-size: .92rem; color: var(--text-dim); margin: 0; }

/* Audience list */
.pill-row { display: flex; flex-wrap: wrap; gap: .6rem; margin-top: 1.5rem; }
.pill { padding: .5rem .95rem; border-radius: 999px; border: 1px solid var(--line-strong); color: var(--text); font-size: .95rem; background: rgba(255,255,255,.02); }

/* Principles list */
.principles { counter-reset: p; display: grid; gap: 1rem; }
.principle { display: grid; grid-template-columns: auto 1fr; gap: 1.1rem; padding: 1.4rem 0; border-top: 1px solid var(--line); }
.principle:first-child { border-top: 0; padding-top: 0; }
.principle::before {
  counter-increment: p; content: counter(p, decimal-leading-zero);
  font-family: var(--mono); font-size: .85rem; color: var(--blue-300); padding-top: .2rem;
}
.principle h3 { margin-bottom: .35rem; }
.principle p { color: var(--text-muted); margin: 0; }

/* CTA band */
.cta-band {
  border: 1px solid var(--line-strong); border-radius: 20px; padding: clamp(2rem, 5vw, 3.5rem);
  background:
    radial-gradient(600px 300px at 100% 0%, rgba(59,130,246,.22), transparent 70%),
    linear-gradient(160deg, var(--navy-800), var(--navy-900));
  display: grid; grid-template-columns: 1.4fr auto; gap: 2rem; align-items: center;
}
.cta-band h2 { margin-bottom: .4rem; }
.cta-band p { color: var(--text-muted); margin: 0; }
@media (max-width: 760px) { .cta-band { grid-template-columns: 1fr; } }

/* Contact */
.contact-grid { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 1.25rem; }
@media (max-width: 720px) { .contact-grid { grid-template-columns: 1fr; } }
.contact-card h3 { margin-bottom: .3rem; }
.contact-card .email { font-size: 1.12rem; font-weight: 600; word-break: break-word; display: inline-block; margin: .6rem 0 .4rem; }
.facts { display: grid; grid-template-columns: max-content 1fr; gap: .7rem 2rem; margin: 0; }
.facts dt { color: var(--text-dim); font-size: .92rem; }
.facts dd { margin: 0; color: var(--text); }
@media (max-width: 520px) { .facts { grid-template-columns: 1fr; gap: .15rem; } .facts dd { margin-bottom: .8rem; } }
.callout {
  border-left: 3px solid var(--amber); background: rgba(242,196,109,.06); padding: 1rem 1.2rem; border-radius: 0 10px 10px 0;
  color: var(--text-muted); font-size: .97rem;
}
.callout strong { color: var(--text); }

/* Legal pages */
.legal { padding-top: 3rem; }
.legal h2 { font-size: 1.45rem; margin-top: 2.6rem; padding-top: .4rem; }
.legal h3 { font-size: 1.1rem; margin-top: 1.6rem; }
.legal p, .legal li { color: #cdd6e5; }
.legal ul { padding-left: 1.2rem; margin: 0 0 1.1em; }
.legal li { margin-bottom: .45rem; }
.draft-banner {
  display: flex; gap: .8rem; align-items: flex-start; border: 1px solid rgba(242,196,109,.4);
  background: rgba(242,196,109,.07); border-radius: 12px; padding: 1rem 1.2rem; color: var(--text); font-size: .97rem; margin-bottom: 2rem;
}
.draft-banner svg { flex: none; width: 20px; height: 20px; color: var(--amber); margin-top: .2rem; }
.review {
  display: block; margin: .6rem 0 1rem; padding: .7rem .95rem; border-radius: 9px; font-size: .9rem;
  border: 1px dashed rgba(242,196,109,.5); color: var(--amber); background: rgba(242,196,109,.05);
}
.updated { color: var(--text-dim); font-size: .95rem; }
.toc { border: 1px solid var(--line); border-radius: 12px; padding: 1.1rem 1.3rem; margin-bottom: 1rem; background: rgba(255,255,255,.015); }
.toc strong { display: block; font-size: .8rem; letter-spacing: .12em; text-transform: uppercase; color: var(--text-dim); margin-bottom: .5rem; }
.toc ol { margin: 0; padding-left: 1.2rem; columns: 2; column-gap: 2rem; }
.toc li { margin-bottom: .3rem; break-inside: avoid; }
@media (max-width: 600px) { .toc ol { columns: 1; } }

/* ---------- Footer ---------- */
.site-footer { border-top: 1px solid var(--line); background: var(--navy-950); padding: 3.5rem 0 2rem; font-size: .95rem; }
.footer-top { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 2.5rem; padding-bottom: 2.5rem; }
@media (max-width: 760px) { .footer-top { grid-template-columns: 1fr 1fr; } .footer-brand { grid-column: 1 / -1; } }
.footer-brand p { color: var(--text-muted); max-width: 38ch; margin-top: 1rem; }
.footer-col h2 { font-size: .78rem; letter-spacing: .14em; text-transform: uppercase; color: var(--text-dim); font-weight: 700; margin-bottom: 1rem; }
.footer-col ul { list-style: none; margin: 0; padding: 0; display: grid; gap: .55rem; }
.footer-col a { color: var(--text-muted); text-decoration: none; }
.footer-col a:hover { color: #fff; }
.footer-bottom {
  border-top: 1px solid var(--line); padding-top: 1.6rem; display: flex; justify-content: space-between; gap: 1rem; flex-wrap: wrap;
  color: var(--text-dim); font-size: .88rem;
}
.legal-name { letter-spacing: .06em; }

/* ---------- 404 ---------- */
.notfound { min-height: 60vh; display: grid; place-items: center; text-align: center; padding: 6rem 0; }
.notfound .code { font-family: var(--mono); color: var(--blue-300); letter-spacing: .2em; font-size: .9rem; margin-bottom: 1rem; display: block; }

/* ---------- Reveal animation (progressive enhancement) ---------- */
.js .reveal { opacity: 0; transform: translateY(14px); transition: opacity .7s ease, transform .7s ease; }
.js .reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .js .reveal { opacity: 1; transform: none; transition: none; }
  .btn, .card, .product { transition: none; }
}

/* External link icon */
.ext::after { content: " ↗"; font-size: .9em; }

#company-details { margin-top: clamp(3rem, 6vw, 4.5rem); padding-top: clamp(2.5rem, 5vw, 3.5rem); border-top: 1px solid var(--line); }
#availability-note { margin-top: 2rem; }
.cta-section { padding-top: 0; }
@media (max-width: 420px) { .contact-card .email { font-size: .98rem; } }

/* Stationward brand + screenshots */
.product-logo { background: #fff; border-radius: 12px; padding: 14px; display: flex; justify-content: center; margin-bottom: 1.4rem; }
.product-logo img { height: 84px; width: auto; }
.shots { margin-top: 3.5rem; display: grid; grid-template-columns: 1.2fr 1fr 1fr; gap: 1.5rem; align-items: center; }
.shots figure { margin: 0; text-align: center; }
.shots img { width: 100%; max-width: 280px; height: auto; margin: 0 auto; border-radius: 22px; border: 1px solid var(--line-strong); box-shadow: 0 24px 50px -24px rgba(0,0,0,.8); }
.shots figcaption { color: var(--text-dim); font-size: .9rem; margin-top: .7rem; }
.shots h2 { margin-bottom: .5rem; }
@media (max-width: 860px) { .shots { grid-template-columns: 1fr 1fr; } .shots-text { grid-column: 1 / -1; } }
