@charset "UTF-8";
/* ─────────────────────────────────────────────
   LatentSpin.ai — design system
   Palette: darkblue #00263E · lightblue #006E80
            dotred #EF0302 · white #FFFFFF · bg #F4F2ED
   ───────────────────────────────────────────── */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 16px;
  line-height: 1.6;
  color: #00263e;
  background: #f4f2ed;
  -webkit-font-smoothing: antialiased;
}

img, video {
  max-width: 100%;
  height: auto;
  display: block;
}

.frame {
  max-width: 1300px;
  margin: 0 auto;
  padding: 0 32px;
}

/* ───────────── Type ───────────── */
h1, h2, h3 {
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 420;
  letter-spacing: 0;
  text-wrap: balance;
}

h1 {
  font-size: clamp(2.6rem, 5vw, 4.1rem);
  line-height: 1.04;
}

.hero-title {
  display: flex;
  flex-direction: column;
  gap: 0.52em;
}

.hero-title-kicker {
  color: #006e80;
  font-size: 1.3em;
  line-height: 0.98;
  white-space: nowrap;
}

.hero-title-main {
  display: flex;
  flex-direction: column;
  color: #00263e;
  font-size: 0.7em;
  line-height: 1.08;
}

.hero-title-main span {
  display: block;
  white-space: nowrap;
}

h2 {
  font-size: clamp(2rem, 3.4vw, 2.9rem);
  line-height: 1.1;
}

h3 {
  font-size: 1.35rem;
  line-height: 1.25;
}

h1 em, h2 em {
  font-style: italic;
  color: #006e80;
}

.accent-dot {
  color: #ef0302 !important;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.6em;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #006e80;
  margin-bottom: 1.25rem;
}

.eyebrow .dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #ef0302;
  flex: none;
}

.eyebrow-light {
  color: rgba(255, 255, 255, 0.85);
}

/* ───────────── Buttons ───────────── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5em;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 0.92rem;
  font-weight: 500;
  line-height: 1;
  padding: 0.8em 1.4em;
  border: 1px solid #00263e;
  border-radius: 999px;
  text-decoration: none;
  cursor: pointer;
  transition: background 0.18s ease, color 0.18s ease, border-color 0.18s ease;
  white-space: nowrap;
}

.btn-lg {
  padding: 1em 1.7em;
  font-size: 1rem;
}

.btn-primary {
  background: #00263e;
  color: #ffffff;
}

.btn-primary:hover {
  background: #006e80;
  border-color: #006e80;
}

.btn-ghost {
  background: transparent;
  color: #00263e;
}

.btn-ghost:hover {
  border-color: #006e80;
  color: #006e80;
}

.btn-light {
  background: #ffffff;
  color: #00263e;
  border-color: #ffffff;
}

.btn-light:hover {
  background: #f4f2ed;
  border-color: #f4f2ed;
}

.text-link {
  color: #006e80;
  font-weight: 500;
  text-decoration: none;
  border-bottom: 1px solid rgba(0, 110, 128, 0.35);
}

.text-link:hover {
  border-bottom-color: #006e80;
}

/* ───────────── Header ───────────── */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: #D8D8D2;
  border-bottom: 1px solid rgba(0, 38, 62, 0.14);
}

.header-inner {
  display: flex;
  align-items: center;
  gap: 2.5rem;
  height: 68px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  text-decoration: none;
  color: #00263e;
}

.brand-mark {
  width: 34px;
  height: 34px;
  flex: none;
}

.brand-name {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.25rem;
  font-weight: 700;
  font-style: italic;
  letter-spacing: 0;
}

.brand-dot {
  color: #ef0302;
}

.site-nav {
  display: flex;
  gap: 1.8rem;
  margin-left: auto;
}

.site-nav a {
  font-size: 0.92rem;
  font-weight: 450;
  color: rgba(0, 38, 62, 0.72);
  text-decoration: none;
  transition: color 0.15s ease;
}

.site-nav a:hover {
  color: #006e80;
}

.site-header .btn-primary {
  background: #00263e;
  border-color: #00263e;
  color: #ffffff;
}

.site-header .btn-primary:hover {
  background: #006e80;
  border-color: #006e80;
  color: #ffffff;
}

/* ───────────── Hero ───────────── */
.hero {
  position: relative;
  border-bottom: 1px solid rgba(0, 38, 62, 0.14);
  overflow: hidden;
}

.hero::before {
  content: "";
  position: absolute;
  top: -2.3rem;
  right: max(-2rem, (99vw - 1300px) / 2);
  height: calc(100% + 5rem);
  aspect-ratio: 1;
  background-image: url("../assets/latentspin-logo.png");
  background-position: center;
  background-repeat: no-repeat;
  background-size: contain;
  opacity: 0.1;
  pointer-events: none;
  z-index: 0;
}

.hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 4.5rem;
  align-items: start;
  padding-top: 3.5rem;
  padding-bottom: 5.5rem;
}

.hero .eyebrow {
  color: #00263e;
}

.hero-tagline {
  margin-top: 1.35rem;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1.45rem, 3.3vw, 2.05rem);
  font-weight: 700;
  font-style: italic;
  color: #006e80;
}

.hero-problem {
  margin-top: 1.6rem;
  font-family: Georgia, "Times New Roman", serif;
  font-style: italic;
  font-size: 1.26rem;
  color: #006e80;
}

.hero-lede {
  margin-top: 1rem;
  margin-bottom: 1.1rem;
  font-size: 1.12rem;
  color: rgba(0, 38, 62, 0.72);
  max-width: 56ch;
}

.hero-lede a {
  color: #006e80;
  font-weight: 800;
  text-decoration: underline;
  text-decoration-color: rgba(0, 110, 128, 0.32);
  text-decoration-thickness: 0.08em;
  text-underline-offset: 0.16em;
  transition: color 0.15s ease, text-decoration-color 0.15s ease;
}

.hero-lede a:hover {
  color: #00263e;
  text-decoration-color: rgba(0, 38, 62, 0.35);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem;
  margin-top: 2.2rem;
}

.hero-industries {
  margin-top: 2.4rem;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 0.8rem;
  letter-spacing: 0.08em;
  color: rgba(0, 38, 62, 0.55);
  border-top: 1px solid rgba(0, 38, 62, 0.14);
  padding-top: 1.2rem;
}

.hero-visual {
  min-width: 0;
  margin-top: 10.75rem;
}

.product-frame {
  width: min(110%, 575px);
  height: 440px;
  margin-left: -1.5rem;
  background: #ffffff;
  border: 2px solid rgba(0, 38, 62, 0.14);
  border-radius: 10px;
  box-shadow: 0 1px 2px rgba(0, 38, 62, 0.06), 0 24px 48px -16px rgba(0, 38, 62, 0.25);
  overflow: hidden;
}

.product-chrome {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 6px 12px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.14);
  background: #00263e;
}

.product-chrome span {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.42);
}

.product-chrome span:first-child {
  background: #ef0302;
  opacity: 0.8;
}

.product-chrome code {
  margin-left: 8px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 0.62rem;
  color: rgba(255, 255, 255, 0.72);
}

.product-frame img {
  width: 100%;
  height: auto;
  display: block;
}

.hero-points {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1.6rem;
  margin-top: 1.4rem;
  justify-content: center;
}

.hero-points li {
  display: inline-flex;
  align-items: center;
  gap: 0.5em;
  font-size: 0.88rem;
  font-weight: 450;
  color: rgba(0, 38, 62, 0.72);
}

.tick {
  color: #006e80;
  font-weight: 600;
}

/* ───────────── Sections ───────────── */
.section {
  padding: 4.5rem 0;
}

.section-bordered {
  border-top: 1px solid rgba(0, 38, 62, 0.14);
  border-bottom: 1px solid rgba(0, 38, 62, 0.14);
}

.section-head {
  max-width: 760px;
  margin-bottom: 3.5rem;
}

.section-lede {
  margin-top: 1.2rem;
  font-size: 1.05rem;
  color: rgba(0, 38, 62, 0.72);
}

.section-dark {
  background: #00263e;
  color: #ffffff;
}

.section-dark h2 {
  color: #ffffff;
}

.section-dark h2 em {
  color: #7FD4E0;
}

.section-dark .section-lede {
  color: rgba(255, 255, 255, 0.75);
}

.section-cta {
  margin-top: 3rem;
}

/* ───────────── Cards (Why) ───────────── */
.card-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}

.reliability-grid {
  grid-template-columns: repeat(2, 1fr);
}

.card {
  background: #ffffff;
  border: 1px solid rgba(0, 38, 62, 0.14);
  border-top: 3px solid #006e80;
  border-radius: 10px;
  padding: 1.8rem 1.6rem;
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
}

.card-plain {
  background: transparent;
}

.card-index {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.45rem;
  font-style: italic;
  font-weight: 700;
  line-height: 1;
  color: #ef0302;
}

.card-index::after {
  content: "";
  width: 2.25rem;
  height: 1px;
  background: currentColor;
  opacity: 0.55;
}

.card p {
  color: rgba(0, 38, 62, 0.72);
  font-size: 0.95rem;
}

.card h3 {
  color: #00263e;
}

.card strong {
  color: #00263e;
}

.card:hover {
  border-color: rgba(0, 110, 128, 0.35);
  border-top-color: #ef0302;
  background: #f4f2ed;
}

/* ───────────── Benefit strip ───────────── */
.benefit-strip {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  margin-top: 1.4rem;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 10px;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.16);
}

.benefit-strip article {
  padding: 1.35rem 1.4rem;
  background: rgba(255, 255, 255, 0.07);
}

.benefit-strip h3 {
  color: #ffffff;
  font-size: 1.05rem;
}

.benefit-strip p {
  margin-top: 0.55rem;
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.92rem;
}

/* ───────────── Operational Reliability Cards ───────────── */
#reliability .card {
  background: #00263e;
  border-color: rgba(0, 38, 62, 0.2);
  border-top: 3px solid #006e80;
}

#reliability .card h3 {
  color: #ffffff;
}

#reliability .card p {
  color: rgba(255, 255, 255, 0.74);
}

#reliability .card:hover {
  border-color: rgba(0, 110, 128, 0.55);
  border-top-color: #ef0302;
  background: #06324F;
}

/* ───────────── Explainer ───────────── */
.youtube-embed {
  position: relative;
  width: 100%;
  aspect-ratio: 16/9;
  overflow: hidden;
  background: #000;
  border: 1px solid rgba(0, 38, 62, 0.14);
  border-radius: 10px;
  box-shadow: 0 24px 48px -20px rgba(0, 38, 62, 0.25);
}

.youtube-embed iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

/* ───────────── Signals & Verticals ───────────── */
.signals-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(300px, 0.42fr);
  gap: 1.25rem;
  align-items: stretch;
}

.signal-panel,
.vertical-panel {
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.06);
}

.signal-panel {
  padding: 1.4rem;
}

.signal-panel-head {
  margin-bottom: 1.2rem;
}

.signal-panel-head h3 {
  margin-top: 0.55rem;
  max-width: none;
}

.signal-label {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 0.72rem;
  font-style: italic;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #7FD4E0;
}

.signal-panel h3,
.vertical-panel h3 {
  max-width: 420px;
  color: #ffffff;
  font-size: 1.35rem;
}

.signal-panel .signal-panel-head h3 {
  max-width: none;
}

.signal-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.9rem;
}

.signal-card {
  min-height: 175px;
  padding: 1.15rem 1.1rem;
  border: 1px solid rgba(0, 38, 62, 0.14);
  border-top: 3px solid #006e80;
  border-radius: 8px;
  background: #ffffff;
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}

.signal-card > span {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 1.25rem;
  font-style: italic;
  font-weight: 700;
  line-height: 1;
  color: rgba(0, 38, 62, 0.55);
}

.signal-card > span::after {
  content: "";
  width: 2.25rem;
  height: 1px;
  background: currentColor;
  opacity: 0.55;
}

.signal-card h4 {
  color: #00263e;
  font-size: 1.05rem;
}

.signal-card p {
  color: rgba(0, 38, 62, 0.72);
  font-size: 0.92rem;
}

.vertical-panel {
  padding: 1.5rem;
}

.vertical-panel {
  border-color: rgba(0, 38, 62, 0.14);
  border-top: 3px solid #006e80;
  background: #ffffff;
}

.vertical-panel h3 {
  margin-top: 0.55rem;
  margin-bottom: 1.35rem;
  color: #00263e;
}

.vertical-panel .signal-label {
  color: #006e80;
}

.vertical-list {
  list-style: none;
  display: grid;
  gap: 0.85rem;
}

.vertical-list li {
  border-top: 1px solid rgba(0, 38, 62, 0.14);
  padding-top: 0.85rem;
}

.vertical-list span,
.vertical-list em {
  display: block;
}

.vertical-list span {
  color: #00263e;
  font-weight: 700;
}

.vertical-list em {
  margin-top: 0.25rem;
  color: rgba(0, 38, 62, 0.72);
  font-size: 0.88rem;
  font-style: normal;
}

.signal-card:hover,
.vertical-panel:hover {
  border-color: rgba(0, 110, 128, 0.35);
  border-top-color: #ef0302;
  background: #f4f2ed;
}

/* ───────────── CTA ───────────── */
.cta-section {
  text-align: center;
}

.cta-inner {
  max-width: 820px;
}

.cta-inner .eyebrow {
  justify-content: center;
}

.cta-title {
  font-size: clamp(2.2rem, 4vw, 3.4rem);
}

.cta-sub {
  margin-top: 1.4rem;
  font-size: 1.05rem;
  color: rgba(255, 255, 255, 0.78);
}

.cta-sub strong {
  color: #ffffff;
}

.cta-note {
  margin-top: 1.6rem;
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.55);
}

/* ───────────── Early Access Modal ───────────── */
.access-modal {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 24px;
}

.access-modal.is-open {
  display: flex;
}

.access-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 38, 62, 0.68);
  backdrop-filter: blur(4px);
}

.access-dialog {
  position: relative;
  width: min(100%, 620px);
  max-height: min(92vh, 780px);
  overflow: auto;
  padding: 2.1rem;
  border: 1px solid rgba(0, 38, 62, 0.14);
  border-top: 3px solid #006e80;
  border-radius: 10px;
  background: #ffffff;
  box-shadow: 0 30px 80px -28px rgba(0, 38, 62, 0.45);
}

.access-modal.has-result .access-dialog {
  width: min(100%, 560px);
}

.access-close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  width: 2rem;
  height: 2rem;
  border: 1px solid rgba(0, 38, 62, 0.14);
  border-radius: 50%;
  background: #f4f2ed;
  color: #00263e;
  font: inherit;
  font-size: 1.15rem;
  line-height: 1;
  cursor: pointer;
}

.access-close:hover {
  border-color: rgba(0, 110, 128, 0.35);
  color: #ef0302;
}

.access-dialog h2 {
  margin-top: 0.65rem;
  color: #00263e;
  font-size: clamp(2rem, 4vw, 2.6rem);
}

.access-intro {
  margin-top: 0.85rem;
  color: rgba(0, 38, 62, 0.72);
  font-size: 1rem;
}

.access-form {
  display: grid;
  gap: 1rem;
  margin-top: 1.6rem;
}

.access-intro[hidden],
.access-form[hidden] {
  display: none;
}

.access-form label {
  display: grid;
  gap: 0.4rem;
  text-align: left;
}

.access-form label span {
  color: #00263e;
  font-size: 0.9rem;
  font-weight: 700;
}

.access-form input,
.access-form textarea,
.access-form select {
  width: 100%;
  border: 1px solid rgba(0, 38, 62, 0.14);
  border-radius: 7px;
  background: #f4f2ed;
  color: #00263e;
  font: inherit;
  font-size: 0.95rem;
  padding: 0.8rem 0.85rem;
}

.access-form textarea {
  resize: vertical;
}

.access-form input:focus,
.access-form textarea:focus,
.access-form select:focus {
  outline: none;
  border-color: #006e80;
  box-shadow: 0 0 0 3px rgba(0, 110, 128, 0.14);
}

.access-form button {
  justify-self: start;
  margin-top: 0.35rem;
}

.access-form button:disabled {
  cursor: wait;
  opacity: 0.68;
}

.access-form-status {
  display: none;
  margin: 0;
  border: 1px solid transparent;
  border-radius: 7px;
  padding: 0.75rem 0.85rem;
  font-size: 0.92rem;
  line-height: 1.4;
}

.access-form-status.is-success,
.access-form-status.is-error {
  display: block;
}

.access-form-status.is-success {
  border-color: rgba(0, 110, 128, 0.24);
  background: rgba(0, 110, 128, 0.08);
  color: #006e80;
}

.access-form-status.is-error {
  border-color: rgba(239, 3, 2, 0.24);
  background: rgba(239, 3, 2, 0.08);
  color: #ef0302;
}

.access-result {
  display: grid;
  gap: 1rem;
  margin-top: 1.55rem;
  outline: none;
}

.access-result[hidden] {
  display: none;
}

.access-result-mark {
  position: relative;
  width: 3.5rem;
  height: 3.5rem;
  border-radius: 50%;
  background: rgba(0, 110, 128, 0.12);
}

.access-result-mark::before {
  content: "";
  position: absolute;
  left: 1.2rem;
  top: 0.88rem;
  width: 0.85rem;
  height: 1.55rem;
  border-right: 0.24rem solid #006e80;
  border-bottom: 0.24rem solid #006e80;
  transform: rotate(42deg);
}

.access-result.is-error .access-result-mark {
  background: rgba(239, 3, 2, 0.1);
}

.access-result.is-error .access-result-mark::before,
.access-result.is-error .access-result-mark::after {
  content: "";
  position: absolute;
  left: 1.62rem;
  top: 0.85rem;
  width: 0.24rem;
  height: 1.85rem;
  border: 0;
  border-radius: 999px;
  background: #ef0302;
  transform: rotate(45deg);
}

.access-result.is-error .access-result-mark::after {
  transform: rotate(-45deg);
}

.access-result-kicker {
  margin: 0;
  color: #006e80;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

.access-result.is-error .access-result-kicker {
  color: #ef0302;
}

.access-result h3 {
  margin: -0.25rem 0 0;
  color: #00263e;
  font-size: clamp(1.75rem, 3.2vw, 2.2rem);
  line-height: 1.08;
}

.access-result p {
  margin: 0;
  color: rgba(0, 38, 62, 0.72);
}

.access-result-summary {
  display: grid;
  gap: 0.75rem;
  margin: 0.35rem 0 0;
  border-top: 1px solid rgba(0, 38, 62, 0.14);
  border-bottom: 1px solid rgba(0, 38, 62, 0.14);
  padding: 1rem 0;
}

.access-result-summary div {
  display: grid;
  grid-template-columns: minmax(7.5rem, 0.42fr) 1fr;
  gap: 1rem;
}

.access-result-summary dt,
.access-result-summary dd {
  margin: 0;
}

.access-result-summary dt {
  color: #00263e;
  font-size: 0.82rem;
  font-weight: 800;
}

.access-result-summary dd {
  min-width: 0;
  color: rgba(0, 38, 62, 0.72);
  overflow-wrap: anywhere;
}

.access-result-detail,
.access-result-meta {
  font-size: 0.9rem;
}

.access-result-meta {
  color: rgba(0, 38, 62, 0.52);
}

.access-result-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 0.35rem;
}

body.modal-open {
  overflow: hidden;
}

.legal-modal {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 24px;
}

.legal-modal.is-open {
  display: flex;
}

.legal-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 38, 62, 0.68);
  backdrop-filter: blur(4px);
}

.legal-dialog {
  position: relative;
  width: min(100%, 900px);
  max-height: min(88vh, 760px);
  overflow: auto;
  padding: 2.1rem;
  border: 1px solid rgba(0, 38, 62, 0.14);
  border-top: 3px solid #006e80;
  border-radius: 10px;
  background: #ffffff;
  color: #00263e;
  box-shadow: 0 30px 80px -28px rgba(0, 38, 62, 0.45);
}

.legal-content h2 {
  padding-right: 2rem;
  color: #00263e;
  font-size: clamp(1.9rem, 4vw, 2.5rem);
}

.legal-content h3,
.legal-content h4,
.legal-content h5,
.legal-content h6 {
  margin-top: 1.65rem;
  color: #00263e;
}

.legal-content h3 {
  font-size: 1.35rem;
}

.legal-content h4,
.legal-content h5,
.legal-content h6 {
  font-size: 1.05rem;
}

.legal-content p,
.legal-content li {
  margin-top: 1rem;
  color: rgba(0, 38, 62, 0.72);
  font-size: 0.98rem;
}

.legal-content ul,
.legal-content ol {
  margin: 1rem 0 0 1.3rem;
}

.legal-content li {
  margin-top: 0.55rem;
  padding-left: 0.2rem;
}

.legal-content a {
  color: #006e80;
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 0.16em;
}

.legal-content strong {
  color: #00263e;
}

.legal-content .legal-updated {
  color: #006e80;
  font-weight: 700;
}

.legal-content .legal-error {
  color: #ef0302;
  font-weight: 700;
}

/* ───────────── Static Pages & Insights ───────────── */
.page-hero,
.article-hero {
  position: relative;
  overflow: hidden;
  border-bottom: 1px solid rgba(0, 38, 62, 0.14);
}

.page-hero::before,
.article-hero::before {
  content: "";
  position: absolute;
  top: -5rem;
  right: max(-5rem, (100vw - 1300px) / 2 - 8rem);
  width: min(42rem, 72vw);
  aspect-ratio: 1;
  background-image: url("../assets/latentspin-logo.png");
  background-repeat: no-repeat;
  background-position: center;
  background-size: contain;
  opacity: 0.08;
  pointer-events: none;
}

.page-hero-grid,
.article-hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 3.5rem;
  align-items: center;
  padding-top: 5rem;
  padding-bottom: 5rem;
}

.page-hero-grid {
  grid-template-columns: minmax(0, 0.94fr) minmax(300px, 0.56fr);
}

.team-hero .page-hero-grid {
  grid-template-columns: minmax(0, 0.7fr) minmax(520px, 0.98fr);
  gap: 3rem;
}

.team-hero .page-hero-copy h1 {
  max-width: 720px;
}

.insights-hero .page-hero-grid {
  grid-template-columns: minmax(0, 820px);
}

.article-hero-grid {
  grid-template-columns: minmax(0, 0.78fr) minmax(520px, 1fr);
  gap: 3rem;
}

.page-hero-copy h1,
.article-hero-copy h1 {
  max-width: 820px;
}

.page-hero-lede,
.article-excerpt {
  margin-top: 1.25rem;
  max-width: 64ch;
  color: rgba(0, 38, 62, 0.72);
  font-size: 1.12rem;
}

.page-hero-copy .btn {
  margin-top: 2rem;
}

.team-portrait {
  overflow: hidden;
  border: 1px solid rgba(0, 38, 62, 0.14);
  border-top: 3px solid #006e80;
  border-radius: 10px;
  background: #ffffff;
  box-shadow: 0 24px 48px -20px rgba(0, 38, 62, 0.25);
  justify-self: stretch;
}

.article-hero-image {
  --article-image-radius: 10px;
  margin: 0;
  overflow: visible;
  background: transparent;
  display: flex;
  justify-content: flex-end;
  position: relative;
  width: fit-content;
  max-width: 100%;
  justify-self: end;
}

.article-hero-image::before {
  content: "";
  position: absolute;
  inset: var(--article-image-trim-top, 0) var(--article-image-trim-right, 0) var(--article-image-trim-bottom, 0) var(--article-image-trim-left, 0);
  border-radius: var(--article-image-radius);
  box-shadow: 0 28px 54px -28px rgba(0, 38, 62, 0.34), 0 10px 24px -18px rgba(0, 38, 62, 0.28);
  pointer-events: none;
}

.team-portrait img,
.article-hero-image img {
  width: 100%;
  height: auto;
}

.team-portrait img {
  aspect-ratio: 1.08;
  object-fit: cover;
  object-position: center;
}

.article-hero-image img {
  display: block;
  width: auto;
  max-width: 100%;
  max-height: min(420px, 46vh);
  border-radius: var(--article-image-radius);
  clip-path: var(--article-image-clip, inset(0 round var(--article-image-radius)));
  object-fit: contain;
  position: relative;
  z-index: 1;
}

.team-statement {
  max-width: 980px;
}

.team-statement blockquote {
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(2rem, 4.2vw, 3.15rem);
  font-weight: 420;
  line-height: 1.12;
  color: #ffffff;
}

.team-statement strong {
  color: #7FD4E0;
}

.insights-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 2.75rem;
}

.insights-list-section {
  padding-top: 2.75rem;
}

.insights-list-head {
  margin-bottom: 1.25rem;
}

.insights-month {
  display: grid;
  gap: 1rem;
}

.insights-month-heading {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin: 0;
  color: rgba(0, 38, 62, 0.72);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.insights-month-heading::after {
  content: "";
  flex: 1;
  height: 1px;
  background: rgba(0, 38, 62, 0.14);
}

.insights-month-list {
  display: grid;
  gap: 1rem;
}

.insight-card {
  min-width: 0;
  overflow: hidden;
  border: 1px solid rgba(0, 38, 62, 0.14);
  border-top: 2px solid #006e80;
  border-radius: 10px;
  background: #ffffff;
  display: grid;
  grid-template-columns: 224px minmax(0, 1fr);
  gap: 1.25rem;
  align-items: center;
  padding: 1rem;
  transition: border-color 0.18s ease, background 0.18s ease, transform 0.18s ease;
}

.insight-card:hover {
  border-color: rgba(0, 110, 128, 0.35);
  border-top-color: #ef0302;
  background: #f4f2ed;
  transform: translateY(-2px);
}

.insight-card.no-image {
  grid-template-columns: 1fr;
}

.insight-card.is-featured {
  grid-template-columns: minmax(320px, 0.48fr) minmax(0, 1fr);
  gap: 1.6rem;
  padding: 1.25rem;
  border-top-width: 3px;
  box-shadow: 0 18px 38px -28px rgba(0, 38, 62, 0.42);
}

.insight-card-image {
  display: block;
  overflow: hidden;
  width: 100%;
  height: 130px;
  border: 0;
  border-radius: calc(10px - 2px);
  background: #f4f2ed;
}

.insight-card.is-featured .insight-card-image {
  height: 210px;
}

.insight-card-image img {
  width: 100%;
  height: 100%;
  border-radius: inherit;
  object-fit: cover;
  object-position: center top;
  transform: none;
}

.insight-card-body {
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
  padding: 0;
}

.insight-card .article-meta {
  margin-top: 0;
}

.insight-card h3 {
  color: #00263e;
  font-size: 1.25rem;
}

.insight-card.is-featured h3 {
  max-width: 760px;
  font-size: clamp(1.45rem, 2vw, 1.85rem);
  line-height: 1.14;
}

.insight-card h3 a {
  color: inherit;
  text-decoration: none;
}

.insight-card h3 a:hover {
  color: #006e80;
}

.insight-card p {
  color: rgba(0, 38, 62, 0.72);
  font-size: 0.94rem;
}

.insight-card.is-featured .insight-card-body > p:not(.article-meta) {
  max-width: 72ch;
  font-size: 1rem;
  line-height: 1.55;
}

.insight-card .text-link {
  margin-top: 0.15rem;
  align-self: flex-start;
}

.article-back-link {
  display: inline-flex;
  margin-bottom: 1.4rem;
}

.article-meta {
  margin-top: 0.85rem;
  color: rgba(0, 38, 62, 0.55);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 0.78rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.article-frame {
  max-width: 880px;
}

.article-body {
  color: #00263e;
}

.article-body > * + * {
  margin-top: 1.15rem;
}

.article-body h2,
.article-body h3,
.article-body h4 {
  margin-top: 2.4rem;
  color: #00263e;
}

.article-body h2 {
  font-size: clamp(1.75rem, 3vw, 2.35rem);
}

.article-body h3 {
  font-size: 1.45rem;
}

.article-body p,
.article-body li {
  color: rgba(0, 38, 62, 0.72);
  font-size: 1.05rem;
}

.article-body strong {
  color: #00263e;
}

.article-body a {
  color: #006e80;
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 0.16em;
}

.article-body ul,
.article-body ol {
  margin-left: 1.4rem;
}

.article-body li + li {
  margin-top: 0.45rem;
}

.article-body blockquote {
  border-left: 3px solid #006e80;
  padding: 0.3rem 0 0.3rem 1.2rem;
  color: #00263e;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.25rem;
  line-height: 1.45;
}

.article-body blockquote p {
  color: #00263e;
  font-size: inherit;
}

.article-body img {
  width: 100%;
  margin: 2rem 0;
  border: 1px solid rgba(0, 38, 62, 0.14);
  border-radius: 10px;
  background: #ffffff;
}

.article-body code {
  border-radius: 4px;
  background: rgba(0, 38, 62, 0.08);
  padding: 0.12em 0.32em;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 0.92em;
}

.content-state {
  border: 1px solid rgba(0, 38, 62, 0.14);
  border-top: 3px solid #006e80;
  border-radius: 10px;
  background: #ffffff;
  color: rgba(0, 38, 62, 0.72);
  padding: 1rem 1.1rem;
}

.content-state[hidden] {
  display: none;
}

.content-state.is-error {
  border-top-color: #ef0302;
  color: #ef0302;
}

.content-state.is-empty {
  color: rgba(0, 38, 62, 0.55);
}

/* ───────────── Footer ───────────── */
.site-footer {
  border-top: 1px solid rgba(0, 38, 62, 0.14);
  padding: 3rem 0;
}

.footer-inner {
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: center;
  gap: 2.5rem;
}

.footer-nav {
  display: flex;
  gap: 1.5rem;
  justify-self: end;
}

.footer-nav a,
.footer-nav button {
  border: 0;
  background: transparent;
  padding: 0;
  font: inherit;
  font-size: 0.85rem;
  color: rgba(0, 38, 62, 0.55);
  text-decoration: none;
  cursor: pointer;
}

.footer-nav a:hover,
.footer-nav button:hover {
  color: #006e80;
}

.social-links {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 28px;
  margin-top: 1.5rem;
}

.social-links a {
  display: inline-flex;
  color: rgba(0, 38, 62, 0.55);
  text-decoration: none;
  transition: color 0.18s ease, transform 0.18s ease;
}

.social-links a:hover {
  color: #006e80;
  transform: translateY(-1px);
}

.social-links svg {
  width: 24px;
  height: 24px;
  stroke: currentColor;
  fill: none;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.social-links .youtube-icon,
.social-links .x-icon {
  fill: currentColor;
  stroke: none;
}

.social-links .youtube-play-fill {
  fill: #f4f2ed;
}

.footer-meta {
  display: block;
  margin-top: 1.5rem;
  border-top: 1px solid rgba(0, 38, 62, 0.08);
  padding-top: 1.5rem;
  font-size: 0.8rem;
  color: rgba(0, 38, 62, 0.55);
  text-align: center;
}

.footer-meta p {
  width: 100%;
  text-align: center;
}

.footer-tagline {
  font-family: Georgia, "Times New Roman", serif;
  letter-spacing: 0.06em;
}

/* ───────────── Reveal animation ───────────── */
.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: none;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }
}
/* ───────────── Responsive ───────────── */
@media (max-width: 980px) {
  .hero::before {
    top: 2rem;
    right: -12rem;
    height: min(54rem, 100% - 4rem);
    opacity: 0.16;
  }
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 3rem;
  }
  .hero-title-kicker,
  .hero-title-main span {
    white-space: normal;
  }
  .hero-visual {
    margin-top: 0;
  }
  .product-frame {
    width: 100%;
    margin-left: 0;
    transform: none;
  }
  .card-row {
    grid-template-columns: 1fr;
  }
  .benefit-strip {
    grid-template-columns: 1fr;
  }
  .reliability-grid {
    grid-template-columns: 1fr;
  }
  .site-nav {
    display: none;
  }
  .section {
    padding: 4.5rem 0;
  }
  .signals-layout {
    grid-template-columns: 1fr;
  }
  .page-hero-grid,
  .article-hero-grid {
    grid-template-columns: 1fr;
    gap: 2.2rem;
    padding-top: 4rem;
    padding-bottom: 4rem;
  }
  .team-hero .page-hero-grid {
    grid-template-columns: 1fr;
  }
  .team-hero .page-hero-copy {
    max-width: 720px;
  }
  .team-portrait {
    width: min(100%, 720px);
    justify-self: center;
  }
}
@media (max-width: 560px) {
  .frame {
    padding: 0 20px;
  }
  .header-inner {
    gap: 0.9rem;
  }
  .brand {
    gap: 0.5rem;
    min-width: 0;
  }
  .hero::before {
    top: 1.5rem;
    right: -17rem;
    height: min(38rem, 100% - 3rem);
    opacity: 0.16;
  }
  .hero-grid {
    padding-top: 3.5rem;
    padding-bottom: 3.5rem;
  }
  .hero-title-kicker {
    font-size: 1.14em;
  }
  .footer-inner {
    grid-template-columns: 1fr;
    gap: 1.2rem;
  }
  .footer-nav {
    justify-self: start;
    flex-wrap: wrap;
    gap: 0.8rem 1.1rem;
  }
  .header-cta .btn {
    padding: 0.7em 1em;
    font-size: 0.85rem;
  }
  .signal-grid {
    grid-template-columns: 1fr;
  }
  .signal-card {
    min-height: 0;
  }
  .page-hero-grid,
  .article-hero-grid {
    padding-top: 3.25rem;
    padding-bottom: 3.25rem;
  }
  .team-statement blockquote {
    font-size: 1.9rem;
  }
  .team-hero .page-hero-grid {
    gap: 1.75rem;
  }
  .team-portrait img {
    aspect-ratio: 1.08;
  }
  .insights-grid {
    grid-template-columns: 1fr;
  }
  .insight-card,
  .insight-card.is-featured {
    grid-template-columns: 1fr;
  }
  .insight-card-image,
  .insight-card.is-featured .insight-card-image {
    width: 100%;
    height: 52vw;
    max-height: 220px;
    margin: 0;
  }
  .insight-card-image img {
    aspect-ratio: auto;
    height: 100%;
  }
  .insight-card-body {
    min-height: 0;
  }
  .article-body p,
  .article-body li {
    font-size: 1rem;
  }
}
@media (max-width: 380px) {
  .header-inner {
    gap: 0.6rem;
  }
  .brand-mark {
    width: 30px;
    height: 30px;
  }
  .brand-name {
    font-size: 1.05rem;
  }
  .header-cta .btn {
    padding: 0.65em 0.85em;
    font-size: 0.78rem;
  }
}
