/* ForeverLandlord / 4Δ visual prototype
   Raw CSS. No build step. Sharp corners by design. */

:root {
  --cyan: #22d3ee;
  --cyan-soft: #8beaf7;
  --pink: #ff2d9b;
  --purple: #a855f7;
  --ink: #ffffff;
  --text: #c0c4cc;
  --muted: #8a93a5;
  --black: #000000;
  --navy-950: #06070e;
  --navy-900: #0a0a14;
  --navy-850: #0d0e18;
  --navy-800: #0f0f1a;
  --navy-pink: #1a0f1e;
  --line: rgba(34, 211, 238, 0.22);
  --line-strong: rgba(34, 211, 238, 0.55);
  --cyan-wash: rgba(34, 211, 238, 0.07);
  --pink-wash: rgba(255, 45, 155, 0.07);
  --shadow-cyan: 0 0 18px rgba(34, 211, 238, 0.26), 0 0 48px rgba(34, 211, 238, 0.08);
  --shadow-pink: 0 0 18px rgba(255, 45, 155, 0.28), 0 0 48px rgba(255, 45, 155, 0.08);
  --font: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --mono: "SFMono-Regular", Consolas, "Liberation Mono", monospace;
  --container: 1220px;
  --section: clamp(48px, 5vw, 60px);
  --slant: -8deg;
  color-scheme: dark;
}

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

html { scroll-behavior: smooth; background: var(--navy-900); }

body {
  margin: 0;
  min-width: 320px;
  overflow-x: hidden;
  background:
    radial-gradient(circle at 12% 4%, rgba(34, 211, 238, 0.08), transparent 28rem),
    radial-gradient(circle at 88% 28%, rgba(168, 85, 247, 0.035), transparent 24rem),
    var(--navy-900);
  color: var(--text);
  font-family: var(--font);
  font-size: 16px;
  font-weight: 500;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 999;
  pointer-events: none;
  opacity: 0.12;
  background: repeating-linear-gradient(
    to bottom,
    transparent 0,
    transparent 3px,
    rgba(255, 255, 255, 0.03) 4px
  );
  mix-blend-mode: soft-light;
}

::selection { background: var(--cyan); color: var(--black); }

img, svg { display: block; max-width: 100%; }

a { color: inherit; }

button, input, textarea, select { font: inherit; }

button { border-radius: 0; }

:focus-visible {
  outline: 2px solid var(--cyan);
  outline-offset: 4px;
  box-shadow: 0 0 0 5px rgba(34, 211, 238, 0.12);
}

.skip-link {
  position: fixed;
  top: 10px;
  left: 10px;
  z-index: 1001;
  transform: translateY(-150%);
  padding: 10px 14px;
  background: var(--cyan);
  color: var(--black);
  font-weight: 900;
  text-decoration: none;
}

.skip-link:focus { transform: translateY(0); }

.site-progress {
  position: fixed;
  inset: 0 0 auto;
  height: 3px;
  z-index: 1000;
  background: rgba(0, 0, 0, 0.72);
}

.site-progress > span {
  display: block;
  width: 0;
  height: 100%;
  background: var(--cyan);
  box-shadow: 0 0 12px rgba(34, 211, 238, 0.82);
  transition: width 80ms linear;
}

.container {
  width: min(calc(100% - 48px), var(--container));
  margin-inline: auto;
}

.narrow { width: min(calc(100% - 48px), 820px); margin-inline: auto; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  border-bottom: 1px solid rgba(34, 211, 238, 0.14);
  background: rgba(6, 7, 14, 0.86);
  backdrop-filter: blur(18px);
}

.nav-shell {
  min-height: 78px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
}

.wordmark {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  flex: 0 0 auto;
  color: var(--ink);
  text-decoration: none;
  line-height: 1;
}

.wordmark__glyph {
  color: var(--cyan);
  font-size: 30px;
  font-weight: 900;
  letter-spacing: -0.08em;
  text-shadow: 0 0 14px rgba(34, 211, 238, 0.6);
}

.wordmark__text {
  display: grid;
  gap: 4px;
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.wordmark__text small {
  color: var(--muted);
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.24em;
}

.site-nav { display: flex; align-items: center; gap: 25px; }

.site-nav > a:not(.btn) {
  position: relative;
  color: #b5bdcb;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-decoration: none;
  text-transform: uppercase;
}

.site-nav > a:not(.btn)::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: -10px;
  left: 0;
  height: 1px;
  background: var(--cyan);
  box-shadow: var(--shadow-cyan);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 180ms ease;
}

.site-nav > a:not(.btn):hover,
.site-nav > a[aria-current="page"] { color: var(--ink); }

.site-nav > a:not(.btn):hover::after,
.site-nav > a[aria-current="page"]::after { transform: scaleX(1); }

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  place-items: center;
  border: 1px solid var(--line);
  background: var(--black);
  color: var(--cyan);
  cursor: pointer;
}

.nav-toggle span,
.nav-toggle span::before,
.nav-toggle span::after {
  display: block;
  width: 21px;
  height: 2px;
  background: currentColor;
  content: "";
  transition: transform 180ms ease, opacity 180ms ease;
}

.nav-toggle span { position: relative; }
.nav-toggle span::before { position: absolute; top: -7px; }
.nav-toggle span::after { position: absolute; top: 7px; }
.nav-toggle[aria-expanded="true"] span { background: transparent; }
.nav-toggle[aria-expanded="true"] span::before { top: 0; transform: rotate(45deg); }
.nav-toggle[aria-expanded="true"] span::after { top: 0; transform: rotate(-45deg); }

.btn {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 12px 22px;
  border: 1px solid transparent;
  border-radius: 0;
  font-size: 13px;
  font-weight: 900;
  letter-spacing: 0.1em;
  line-height: 1.2;
  text-align: center;
  text-decoration: none;
  text-transform: uppercase;
  transition: transform 160ms ease, box-shadow 180ms ease, background 180ms ease, color 180ms ease, border-color 180ms ease;
}

.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }

/* Slanted face — the skew lives on ::before, never on the control itself.
   Shape SSOT: foreverlandlord-brand-guidelines/design-tokens/geometry.md */
.btn-primary,
.btn-hero {
  position: relative;
  isolation: isolate;
  border: 0;
  background: transparent;
  color: var(--black);
}

.btn-primary::before,
.btn-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background: var(--cyan);
  transform: skewX(var(--slant));
  transition: filter 150ms ease-out, box-shadow 180ms ease;
}

.btn-primary::before { box-shadow: 0 0 24px rgba(34, 211, 238, 0.16); }
.btn-primary:hover::before { filter: brightness(1.08); box-shadow: 0 0 30px rgba(34, 211, 238, 0.34); }

/* Hero CTA: pink appears as glow only — a static pink border on a button is off-guide. */
.btn-hero::before { box-shadow: 0 0 18px rgba(255, 45, 155, 0.34), 0 0 48px rgba(255, 45, 155, 0.1); }
.btn-hero:hover::before { filter: brightness(1.08); box-shadow: 0 0 26px rgba(255, 45, 155, 0.5), 0 0 60px rgba(255, 45, 155, 0.14); }

.btn-ghost {
  border-color: rgba(34, 211, 238, 0.5);
  background: rgba(0, 0, 0, 0.22);
  color: var(--cyan);
}

.btn-ghost:hover { border-color: var(--cyan); background: var(--cyan-wash); }

.btn-small { min-height: 48px; padding: 9px 15px; font-size: 11px; }

.arrow { transition: transform 160ms ease; }
.btn:hover .arrow, .text-link:hover .arrow { transform: translateX(4px); }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin: 0 0 18px;
  color: var(--cyan);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.24em;
  line-height: 1.4;
  text-transform: uppercase;
}

.eyebrow::before {
  width: 34px;
  height: 1px;
  background: currentColor;
  box-shadow: 0 0 10px currentColor;
  content: "";
}

.eyebrow--pink { color: var(--pink); }

h1, h2, h3, h4, p { margin-top: 0; }

h1, h2, h3, h4 {
  color: var(--ink);
  font-weight: 900;
  line-height: 1.04;
  text-wrap: balance;
}

h1 { font-size: clamp(46px, 7.2vw, 96px); letter-spacing: -0.065em; }
h2 { font-size: clamp(38px, 5vw, 67px); letter-spacing: -0.052em; }
h3 { font-size: clamp(23px, 2.5vw, 34px); letter-spacing: -0.035em; }
h4 { font-size: 18px; letter-spacing: -0.02em; }

.display-line { display: block; color: var(--cyan); text-shadow: 0 0 24px rgba(34, 211, 238, 0.2); }

.lede {
  max-width: 720px;
  color: #cbd1db;
  font-size: clamp(18px, 2vw, 22px);
  line-height: 1.58;
}

.kicker { color: var(--muted); font-size: 14px; letter-spacing: 0.04em; }

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--cyan);
  font-size: 13px;
  font-weight: 900;
  letter-spacing: 0.1em;
  text-decoration: none;
  text-transform: uppercase;
}

.section { position: relative; padding-block: var(--section); }

.section--deep {
  border-block: 1px solid rgba(34, 211, 238, 0.11);
  background:
    linear-gradient(180deg, rgba(34, 211, 238, 0.025), transparent 25%),
    var(--navy-950);
}

.section--angled::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(135deg, transparent 0 48%, rgba(34, 211, 238, 0.032) 48.2% 48.5%, transparent 48.7%),
    linear-gradient(45deg, transparent 0 70%, rgba(255, 45, 155, 0.02) 70.2% 70.5%, transparent 70.7%);
}

.section-head {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(260px, 0.6fr);
  align-items: end;
  gap: 70px;
  margin-bottom: 32px;
}

.section-head h2 { margin-bottom: 0; }
.section-head p { margin-bottom: 5px; }

.hero {
  position: relative;
  min-height: min(calc(100svh - 78px), 780px);
  display: grid;
  align-items: center;
  overflow: hidden;
  padding-block: clamp(40px, 4vw, 52px);
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background:
    linear-gradient(rgba(34, 211, 238, 0.055) 1px, transparent 1px),
    linear-gradient(90deg, rgba(34, 211, 238, 0.055) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: linear-gradient(to bottom, black, transparent 76%);
}

/* Bare delta as distant architecture: flat fill, bleeds off the right and
   bottom edges, cropped by the hero's overflow. The single backdrop layer. */
.hero::after {
  content: "";
  position: absolute;
  z-index: 0;
  right: -14vw;
  bottom: -24vh;
  width: min(72vw, 1040px);
  aspect-ratio: 1 / 0.9;
  pointer-events: none;
  background: #12141f;
  clip-path: polygon(50% 0, 100% 100%, 0 100%);
}

.hero-grid { position: relative; z-index: 2; }

.hero-copy h1 { margin-bottom: 28px; max-width: 1120px; }
.hero-copy .lede { max-width: 670px; }

.hero-actions { display: flex; flex-wrap: wrap; gap: 15px; margin-top: 38px; }

.hero-principles {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  max-width: 940px;
  margin-top: 54px;
  border-top: 1px solid var(--line);
}

.hero-principle {
  min-height: 84px;
  padding: 20px 18px 0 0;
  border-right: 1px solid var(--line);
}

.hero-principle + .hero-principle { padding-left: 18px; }
.hero-principle:last-child { border-right: 0; }
.hero-principle strong { display: block; color: var(--ink); font-size: 13px; letter-spacing: 0.06em; text-transform: uppercase; }
.hero-principle span { display: block; margin-top: 4px; color: var(--muted); font-size: 12px; line-height: 1.45; }

.decision-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }

.panel-card {
  position: relative;
  min-height: 250px;
  padding: 28px 26px;
  overflow: hidden;
  border: 1px solid rgba(34, 211, 238, 0.2);
  background: linear-gradient(145deg, rgba(34, 211, 238, 0.045), transparent 46%), var(--navy-800);
  transition: transform 180ms ease, border-color 180ms ease, background 180ms ease;
}

.panel-card:hover { transform: translateY(-5px); border-color: rgba(34, 211, 238, 0.65); background-color: #121420; }

.panel-card--active {
  border-color: var(--cyan);
  background: linear-gradient(145deg, rgba(34, 211, 238, 0.13), transparent 52%), var(--navy-800);
  box-shadow: inset 0 -2px 0 var(--pink), var(--shadow-cyan);
}

.card-index {
  display: block;
  margin-bottom: 38px;
  color: var(--cyan);
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.16em;
}

.panel-card h3 { margin-bottom: 15px; font-size: 25px; }
.panel-card p { margin-bottom: 0; color: #aeb6c4; font-size: 15px; }
.card-bullets { display: grid; gap: 9px; margin: 20px 0 0; padding: 0; list-style: none; }
.card-bullets li { display: flex; align-items: center; gap: 10px; color: var(--muted); font-size: 12px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; }
.card-bullets li::before { content: ""; width: 7px; height: 7px; flex: 0 0 auto; background: var(--cyan); clip-path: polygon(50% 0, 100% 100%, 0 100%); }

.system-strip { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; border: 1px solid rgba(34, 211, 238, 0.17); background: rgba(34, 211, 238, 0.17); }

.system-step { padding: 22px 22px 26px; background: var(--navy-850); }

.system-step__number {
  display: inline-grid;
  place-items: center;
  width: 46px;
  height: 46px;
  margin-bottom: 18px;
  border: 1px solid var(--cyan);
  background: var(--black);
  color: var(--cyan);
  font-family: var(--mono);
  font-size: 12px;
  font-weight: 900;
  box-shadow: var(--shadow-cyan);
}

.system-step:last-child .system-step__number { border-color: var(--pink); color: var(--pink); box-shadow: var(--shadow-pink); }
.system-step__tag { display: block; margin-bottom: 7px; color: var(--muted); font-family: var(--mono); font-size: 10px; letter-spacing: .14em; text-transform: uppercase; }
.system-step h3 { margin: 0 0 8px; font-size: 20px; }
.system-step p { margin: 0; color: #aeb5c2; font-size: 13px; }

.stack-layout { display: grid; grid-template-columns: minmax(330px, 0.7fr) minmax(0, 1fr); gap: 74px; align-items: center; }
.stack-art { position: relative; min-height: 460px; display: grid; place-items: center; }
.stack-art::before { content: ""; position: absolute; inset: 7% 8%; background: radial-gradient(circle, rgba(34,211,238,.12), transparent 58%); filter: blur(12px); }
.stack-svg { position: relative; width: min(100%, 500px); filter: drop-shadow(0 0 12px rgba(34,211,238,.3)); }
.stack-svg .pink { filter: drop-shadow(0 0 9px rgba(255,45,155,.65)); }
.stack-svg--schematic { width: min(100%, 380px); }

.stack-list { display: grid; gap: 13px; }
.stack-row {
  display: grid;
  grid-template-columns: 78px 1fr;
  gap: 24px;
  padding: 20px 22px;
  border-left: 2px solid var(--cyan);
  background: linear-gradient(90deg, rgba(34,211,238,.08), transparent 70%);
}
.stack-row__abc { color: var(--cyan); font-size: 27px; font-weight: 900; letter-spacing: -0.06em; }
.stack-row h3 { margin: 0 0 8px; font-size: 23px; }
.stack-row p { margin: 0; color: #abb3c1; font-size: 14px; }
.stack-row:last-child { border-left-color: var(--pink); background: linear-gradient(90deg, rgba(255,45,155,.075), transparent 70%); }
.stack-row:last-child .stack-row__abc { color: var(--pink); }

.guide-feature {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(340px, 0.68fr);
  min-height: 340px;
  border: 1px solid var(--line-strong);
  background: var(--black);
  overflow: hidden;
}

.guide-feature__copy { padding: clamp(32px, 4vw, 48px); }
.guide-feature__copy h3 { max-width: 650px; margin-bottom: 22px; font-size: clamp(30px, 3.6vw, 46px); }
.guide-feature__copy p { max-width: 620px; }

.guide-feature__visual {
  position: relative;
  display: grid;
  place-items: center;
  min-height: 320px;
  overflow: hidden;
  background:
    linear-gradient(rgba(34,211,238,.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(34,211,238,.05) 1px, transparent 1px),
    radial-gradient(circle, rgba(34,211,238,.12), transparent 58%),
    var(--navy-850);
  background-size: 34px 34px, 34px 34px, auto, auto;
}

.guide-feature__visual::before,
.guide-feature__visual::after { content: ""; position: absolute; width: 54px; height: 54px; }
.guide-feature__visual::before { top: 20px; right: 20px; border-top: 2px solid var(--cyan); border-right: 2px solid var(--cyan); }
.guide-feature__visual::after { bottom: 20px; left: 20px; border-bottom: 2px solid var(--pink); border-left: 2px solid var(--pink); }

.fair-house {
  position: relative;
  width: 210px;
  height: 210px;
  display: grid;
  place-items: center;
  border: 2px solid var(--cyan);
  transform: rotate(45deg);
  box-shadow: 0 0 30px rgba(34,211,238,.22), inset 0 0 30px rgba(34,211,238,.06);
}
.fair-house::before { content: "="; color: var(--ink); font-size: 88px; font-weight: 900; transform: rotate(-45deg); text-shadow: 0 0 22px rgba(34,211,238,.45); }

.about-split { display: grid; grid-template-columns: minmax(360px, .82fr) minmax(0, 1fr); gap: 56px; align-items: center; }

#own h2 { margin-bottom: 20px; font-size: clamp(34px, 3.9vw, 56px); }
#why h2 { margin-bottom: 22px; font-size: clamp(36px, 3.8vw, 52px); }
.own-kb { margin-top: 28px; padding: 22px 24px; border-left: 2px solid var(--cyan); background: linear-gradient(90deg, rgba(34, 211, 238, 0.07), transparent 75%); }
.own-kb h3 { margin: 0 0 10px; font-size: 22px; }
.own-kb p { margin: 0; color: #b6bdc9; font-size: 15px; }
.own-more { margin: 20px 0 14px; color: var(--muted); font-size: 14px; }
.about-image { position: relative; height: 460px; overflow: hidden; border: 1px solid var(--line-strong); background: var(--black); }
.about-image img { width: 100%; height: 100%; object-fit: cover; object-position: 42% top; }
.about-image::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, rgba(6,7,14,.85), transparent 55%); }
.about-image__caption { position: absolute; z-index: 2; right: 24px; bottom: 22px; left: 24px; padding-top: 14px; border-top: 1px solid var(--cyan); color: var(--cyan-soft); font-family: var(--mono); font-size: 10px; letter-spacing: .12em; text-transform: uppercase; }
.about-copy h2 { margin-bottom: 20px; font-size: clamp(34px, 3.9vw, 56px); }
.about-copy .quote { margin: 24px 0; padding: 16px 0 16px 22px; border-left: 2px solid var(--pink); color: var(--ink); font-size: 20px; font-weight: 700; line-height: 1.5; }

.community-cta { position: relative; overflow: hidden; padding: clamp(44px, 4.4vw, 56px); border: 1px solid var(--cyan); background: var(--black); text-align: center; box-shadow: inset 0 0 90px rgba(34,211,238,.045), var(--shadow-cyan); }
.community-cta::before { content: "4Δ"; position: absolute; top: 50%; left: 50%; color: rgba(34,211,238,.045); font-size: clamp(180px, 30vw, 430px); font-weight: 900; line-height: .7; letter-spacing: -.1em; transform: translate(-52%, -50%); }
.community-cta > * { position: relative; z-index: 2; }
.community-cta h2 { max-width: 900px; margin: 0 auto 20px; font-size: clamp(32px, 3.4vw, 48px); }
.community-cta p { max-width: 620px; margin: 0 auto 26px; font-size: 18px; }
.community-cta .btn { min-width: 260px; }
.community-cta__note { margin-top: 18px !important; color: var(--muted); font-size: 12px !important; letter-spacing: .08em; text-transform: uppercase; }

.site-footer { border-top: 1px solid rgba(34,211,238,.14); background: var(--black); }
.footer-grid { display: grid; grid-template-columns: 1.15fr repeat(3, .55fr); gap: 50px; padding-block: 44px 36px; }
.footer-brand p { max-width: 400px; margin: 18px 0 0; color: var(--muted); font-size: 13px; }
.footer-col h3 { margin-bottom: 18px; color: var(--cyan); font-family: var(--mono); font-size: 10px; letter-spacing: .16em; text-transform: uppercase; }
.footer-col a { display: block; margin: 9px 0; color: #aeb6c4; font-size: 13px; text-decoration: none; }
.footer-col a:hover { color: var(--cyan); }
.footer-bottom { display: flex; justify-content: space-between; gap: 24px; padding-block: 21px; border-top: 1px solid rgba(34,211,238,.1); color: #667083; font-size: 11px; letter-spacing: .05em; }
.signature { color: #9ca5b6; }

/* Page interiors */
.page-hero { position: relative; overflow: hidden; padding-block: clamp(88px, 11vw, 150px) clamp(72px, 9vw, 118px); border-bottom: 1px solid rgba(34,211,238,.14); background: var(--navy-950); }
.page-hero::before { content: ""; position: absolute; inset: 0; background: linear-gradient(rgba(34,211,238,.05) 1px, transparent 1px), linear-gradient(90deg, rgba(34,211,238,.05) 1px, transparent 1px); background-size: 56px 56px; mask-image: linear-gradient(90deg, black, transparent 75%); }
.page-hero__inner { position: relative; z-index: 2; max-width: 930px; }
.page-hero h1 { margin: 0 0 24px; font-size: clamp(50px, 8vw, 104px); }
.crumb { margin-bottom: 32px; color: var(--muted); font-family: var(--mono); font-size: 10px; letter-spacing: .14em; text-transform: uppercase; }
.crumb a { color: var(--cyan); text-decoration: none; }

.prototype-note { display: grid; grid-template-columns: auto 1fr; gap: 18px; align-items: start; margin-bottom: 40px; padding: 20px 22px; border: 1px dashed rgba(34,211,238,.4); background: rgba(34,211,238,.045); }
.prototype-note__code { color: var(--cyan); font-family: var(--mono); font-size: 11px; font-weight: 900; letter-spacing: .1em; }
.prototype-note p { margin: 0; color: #aeb6c4; font-size: 13px; }

.guide-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; }
.guide-card { min-height: 380px; display: flex; flex-direction: column; padding: 34px; border: 1px solid rgba(34,211,238,.2); background: var(--navy-800); text-decoration: none; transition: transform 180ms ease, border-color 180ms ease; }
.guide-card:hover { transform: translateY(-5px); border-color: var(--cyan); }
.guide-card--feature { grid-column: 1 / -1; min-height: 430px; display: grid; grid-template-columns: 1.15fr .6fr; gap: 50px; align-items: end; background: linear-gradient(130deg, rgba(34,211,238,.13), transparent 45%), var(--navy-800); }
.guide-card__meta { color: var(--cyan); font-family: var(--mono); font-size: 10px; letter-spacing: .14em; text-transform: uppercase; }
.guide-card h2, .guide-card h3 { margin: auto 0 18px; }
.guide-card h2 { font-size: clamp(38px, 5vw, 64px); }
.guide-card p { max-width: 650px; margin-bottom: 28px; color: #abb3c0; }
.guide-card__status { align-self: end; justify-self: end; display: grid; width: 180px; height: 180px; place-items: center; border: 1px solid var(--cyan); color: var(--cyan); font-family: var(--mono); font-size: 11px; letter-spacing: .15em; text-align: center; text-transform: uppercase; transform: rotate(45deg); box-shadow: var(--shadow-cyan); }
.guide-card__status span { transform: rotate(-45deg); }
.guide-card[aria-disabled="true"] { opacity: .64; cursor: default; }
.guide-card[aria-disabled="true"]:hover { transform: none; border-color: rgba(34,211,238,.2); }

.question-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.question-card { min-height: 250px; padding: 29px; border-top: 2px solid var(--cyan); background: var(--navy-800); }
.question-card:nth-child(6) { border-top-color: var(--pink); }
.question-card span { color: var(--cyan); font-family: var(--mono); font-size: 11px; letter-spacing: .16em; text-transform: uppercase; }
.question-card h3 { margin: 46px 0 12px; font-size: 26px; }
.question-card p { margin: 0; color: #aab2c0; font-size: 14px; }

.story-band { position: relative; min-height: 520px; display: grid; align-items: end; overflow: hidden; border: 1px solid rgba(34,211,238,.28); background: var(--black); }
.story-band img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center; opacity: .48; }
.story-band::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to right, rgba(6,7,14,.98) 0 30%, rgba(6,7,14,.6) 62%, rgba(6,7,14,.82)), linear-gradient(to top, rgba(6,7,14,.98), transparent 74%); }
.story-band__copy { position: relative; z-index: 2; max-width: 720px; padding: clamp(36px, 6vw, 78px); }
.story-band__copy h2 { margin-bottom: 22px; }

.doctrine-grid { display: grid; grid-template-columns: .7fr 1fr; gap: 76px; }
.doctrine-list { display: grid; gap: 1px; background: rgba(34,211,238,.14); }
.doctrine-item { padding: 27px; background: var(--navy-800); }
.doctrine-item strong { display: block; margin-bottom: 8px; color: var(--ink); }
.doctrine-item span { color: var(--muted); font-size: 13px; }

.article-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.article-card { min-height: 360px; display: flex; flex-direction: column; padding: 28px; border: 1px solid rgba(34,211,238,.17); background: var(--navy-800); text-decoration: none; transition: transform 180ms ease, border-color 180ms ease; }
.article-card:hover { transform: translateY(-5px); border-color: var(--cyan); }
.article-card__type { color: var(--cyan); font-family: var(--mono); font-size: 10px; letter-spacing: .15em; text-transform: uppercase; }
.article-card__visual { height: 118px; margin: 24px 0; border-block: 1px solid rgba(34,211,238,.15); background: repeating-linear-gradient(135deg, rgba(34,211,238,.08) 0 1px, transparent 1px 12px); }
.article-card:nth-child(3n+2) .article-card__visual { background: repeating-linear-gradient(45deg, rgba(255,45,155,.07) 0 1px, transparent 1px 12px); }
.article-card h2 { margin-bottom: 18px; font-size: 26px; line-height: 1.15; }
.article-card p { margin-bottom: 25px; color: #aab2c0; font-size: 14px; }
.article-card .text-link { margin-top: auto; }

.legal-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.legal-card { min-height: 210px; display: flex; flex-direction: column; padding: 27px; border: 1px solid rgba(34,211,238,.17); background: var(--navy-800); text-decoration: none; }
.legal-card:hover { border-color: var(--cyan); }
.legal-card span { color: var(--cyan); font-family: var(--mono); font-size: 10px; letter-spacing: .14em; text-transform: uppercase; }
.legal-card h2 { margin: auto 0 10px; font-size: 25px; }
.legal-card p { margin: 0; color: var(--muted); font-size: 13px; }

.error-page { min-height: 100svh; display: grid; place-items: center; padding: 40px; background: var(--navy-950); text-align: center; }
.error-code { color: rgba(34,211,238,.14); font-size: clamp(150px, 30vw, 430px); font-weight: 900; line-height: .65; letter-spacing: -.12em; text-shadow: 0 0 40px rgba(34,211,238,.08); }
.error-copy { position: relative; z-index: 2; margin-top: -40px; }
.error-copy h1 { margin-bottom: 18px; font-size: clamp(44px, 6vw, 76px); }
.error-copy p { max-width: 620px; margin: 0 auto 30px; }

.reveal { opacity: 0; transform: translateY(22px); transition: opacity 600ms cubic-bezier(.2,.8,.2,1), transform 600ms cubic-bezier(.2,.8,.2,1); }
.reveal.is-visible { opacity: 1; transform: translateY(0); }

@media (max-width: 1100px) {
  .site-nav { gap: 17px; }
  .site-nav > a:not(.btn) { font-size: 11px; }
  .decision-grid, .question-grid { grid-template-columns: repeat(2, 1fr); }
  .decision-grid .panel-card:last-child { grid-column: 1 / -1; }
  .section-head { gap: 38px; }
  .stack-layout, .about-split, .doctrine-grid { gap: 48px; }
  .system-strip { grid-template-columns: repeat(2, 1fr); }
  .article-grid, .legal-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr repeat(2, .55fr); }
  .footer-col:last-child { grid-column: 2 / -1; }
}

@media (max-width: 860px) {
  .container, .narrow { width: min(calc(100% - 34px), var(--container)); }
  .nav-toggle { display: grid; }
  .site-nav {
    position: absolute;
    top: 78px;
    right: 0;
    left: 0;
    display: none;
    align-items: stretch;
    flex-direction: column;
    gap: 0;
    padding: 18px 17px 24px;
    border-bottom: 1px solid var(--line-strong);
    background: rgba(6, 7, 14, .98);
  }
  .site-nav.is-open { display: flex; }
  .site-nav > a:not(.btn) { padding: 14px 6px; border-bottom: 1px solid rgba(34,211,238,.1); font-size: 13px; }
  .site-nav > a:not(.btn)::after { display: none; }
  .site-nav .btn { margin-top: 17px; }
  .site-nav .btn-primary::before { inset: 0 7px; } /* full-width: inset the face, keep the slant */
  .hero { min-height: auto; }
  .hero-copy { max-width: 720px; }
  .section-head { grid-template-columns: 1fr; gap: 20px; }
  .stack-layout, .about-split, .doctrine-grid { grid-template-columns: 1fr; }
  .stack-art { order: 2; min-height: 430px; }
  .guide-feature { grid-template-columns: 1fr; }
  .guide-feature__visual { min-height: 330px; }
  .about-image { width: min(100%, 600px); height: 440px; }
  .guide-card--feature { grid-template-columns: 1fr; }
  .guide-card__status { justify-self: start; width: 140px; height: 140px; }
  .question-grid { grid-template-columns: 1fr 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
  .footer-col:last-child { grid-column: auto; }
}

@media (max-width: 620px) {
  :root { --section: 60px; }
  body { font-size: 15px; }
  .nav-shell { min-height: 70px; }
  .site-nav { top: 70px; }
  .wordmark__text { display: none; }
  .hero { padding-block: 64px 78px; }
  .hero-copy h1 { font-size: clamp(42px, 13.5vw, 66px); }
  .hero-actions { display: grid; }
  .hero-actions .btn { width: 100%; }
  .hero-actions .btn-primary::before,
  .hero-actions .btn-hero::before,
  .community-cta .btn-primary::before { inset: 0 7px; } /* full-width: inset the face, keep the slant */
  .hero-principles { grid-template-columns: 1fr; }
  .hero-principle { min-height: auto; padding: 17px 0; border-right: 0; border-bottom: 1px solid var(--line); }
  .hero-principle + .hero-principle { padding-left: 0; }
  .decision-grid, .question-grid, .article-grid, .legal-grid, .guide-grid, .system-strip { grid-template-columns: 1fr; }
  .decision-grid .panel-card:last-child, .guide-card--feature { grid-column: auto; }
  .panel-card { min-height: 230px; }
  .stack-row { grid-template-columns: 56px 1fr; gap: 15px; padding: 20px; }
  .stack-row__abc { font-size: 23px; }
  .stack-art { min-height: 350px; }
  .guide-feature__copy { padding: 32px 24px; }
  .fair-house { width: 160px; height: 160px; }
  .fair-house::before { font-size: 66px; }
  .about-image { height: 420px; }
  .community-cta { padding: 58px 22px; }
  .community-cta .btn { min-width: 0; width: 100%; }
  .footer-grid { grid-template-columns: 1fr; gap: 34px; }
  .footer-brand, .footer-col:last-child { grid-column: auto; }
  .footer-bottom { flex-direction: column; }
  .page-hero { padding-block: 80px 70px; }
  .page-hero h1 { font-size: clamp(46px, 15vw, 72px); }
  .prototype-note { grid-template-columns: 1fr; }
  .guide-card--feature { min-height: 560px; }
  .guide-card__status { width: 120px; height: 120px; }
  .story-band { min-height: 650px; }
  .story-band img { object-position: 66% center; }
  .story-band::after { background: linear-gradient(to top, rgba(6,7,14,.99) 0 45%, rgba(6,7,14,.25)), linear-gradient(to right, rgba(6,7,14,.65), transparent); }
  .story-band__copy { padding: 30px 24px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
  .reveal { opacity: 1; transform: none; }
}

@media print {
  .site-header, .site-progress, .community-cta, .site-footer, .nav-toggle,
  .fl-blog .fl-cta-block, .fl-blog .fl-final-cta { display: none !important; }
  .fl-blog p, .fl-blog li, .fl-blog .fl-eyebrow, .fl-blog .fl-subheadline, .fl-blog p em,
  .fl-blog .fl-signature div { color: #000 !important; }
  body { background: #fff !important; color: #111 !important; }
  body::before { display: none; }
  h1, h2, h3, h4, .lede { color: #000 !important; text-shadow: none !important; }
  .section, .page-hero { padding-block: 32px; background: #fff !important; border: 0; }
  .panel-card, .system-step, .stack-row, .guide-card, .article-card, .legal-card, .question-card { background: #fff !important; color: #111 !important; border: 1px solid #aaa !important; break-inside: avoid; }
}

/* Blog article body — styles the fl-* class hooks carried verbatim from the
   CF2-era captures (blog-repurpose/output/*.cf2.md). Visual intent ported from
   blog-repurpose/CF2.0-BLOG-TEMPLATE-SETUP.md, re-tokened to this design
   system. Scoped under .fl-blog. Square interface; the slant lives on ::before
   of the two commitment CTA buttons only (geometry.md). */

.fl-blog .fl-blog-inner { max-width: 760px; margin-inline: auto; }

.fl-blog .fl-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin: 0 0 18px;
  color: var(--cyan);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.24em;
  line-height: 1.4;
  text-transform: uppercase;
}

.fl-blog .fl-eyebrow::before {
  width: 34px;
  height: 1px;
  background: currentColor;
  box-shadow: 0 0 10px currentColor;
  content: "";
}

.fl-blog h1 {
  margin: 0 0 20px;
  font-size: clamp(34px, 5vw, 52px);
  letter-spacing: -0.045em;
  line-height: 1.12;
}

.fl-blog .fl-subheadline {
  margin: 0 0 36px;
  color: var(--cyan);
  font-size: clamp(18px, 2.2vw, 22px);
  font-weight: 700;
  line-height: 1.5;
}

.fl-blog h2 {
  margin: 48px 0 18px;
  font-size: clamp(26px, 3.2vw, 34px);
  letter-spacing: -0.035em;
  line-height: 1.2;
}

.fl-blog h3 {
  margin: 30px 0 12px;
  color: var(--cyan);
  font-size: 16px;
  letter-spacing: 0.14em;
  line-height: 1.3;
  text-transform: uppercase;
}

.fl-blog p {
  margin: 0 0 20px;
  color: var(--text);
  font-size: 17px;
  line-height: 1.7;
}

.fl-blog p strong { color: var(--ink); }
.fl-blog p em { color: var(--cyan); }

.fl-blog a:where(:not(.fl-btn-primary)):where(:not(.fl-btn-hero-v2)) {
  color: var(--cyan);
  text-decoration: none;
  border-bottom: 1px solid rgba(34, 211, 238, 0.4);
  transition: border-color 150ms ease-out;
}

.fl-blog a:where(:not(.fl-btn-primary)):where(:not(.fl-btn-hero-v2)):hover { border-color: var(--cyan); }

.fl-blog ul, .fl-blog ol { margin: 0 0 24px; padding-left: 26px; }
.fl-blog li { margin-bottom: 12px; color: var(--text); font-size: 17px; line-height: 1.65; }
.fl-blog li::marker { color: var(--cyan); font-weight: 700; }
.fl-blog li strong { color: var(--ink); }

.fl-blog .fl-divider-cyan {
  margin: 44px 0;
  border: 0;
  border-top: 1px solid var(--line-strong);
  box-shadow: 0 -1px 12px rgba(34, 211, 238, 0.18);
}

.fl-blog .fl-cta-block {
  margin: 30px 0 34px;
  padding: 22px 24px 26px;
  border-left: 2px solid var(--cyan);
  background: linear-gradient(90deg, var(--cyan-wash), transparent 75%);
}

.fl-blog .fl-cta-block p { color: var(--ink); margin-bottom: 18px; }

/* CTA buttons — the chassis .btn recipe under the capture class names.
   Slant lives on ::before, never on the control itself (geometry.md). */
.fl-blog .fl-btn-primary,
.fl-blog .fl-btn-hero-v2 {
  position: relative;
  isolation: isolate;
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 12px 22px;
  border: 0;
  border-radius: 0;
  background: transparent;
  color: var(--black);
  font-size: 13px;
  font-weight: 900;
  letter-spacing: 0.1em;
  line-height: 1.2;
  text-align: center;
  text-decoration: none;
  text-transform: uppercase;
  transition: transform 160ms ease;
}

.fl-blog .fl-btn-primary:hover,
.fl-blog .fl-btn-hero-v2:hover { transform: translateY(-2px); }
.fl-blog .fl-btn-primary:active,
.fl-blog .fl-btn-hero-v2:active { transform: translateY(0); }

.fl-blog .fl-btn-primary::before,
.fl-blog .fl-btn-hero-v2::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background: var(--cyan);
  transform: skewX(var(--slant));
  transition: filter 150ms ease-out, box-shadow 180ms ease;
}

.fl-blog .fl-btn-primary::before { box-shadow: 0 0 24px rgba(34, 211, 238, 0.16); }
.fl-blog .fl-btn-primary:hover::before { filter: brightness(1.08); box-shadow: 0 0 30px rgba(34, 211, 238, 0.34); }

/* In-article Hero V2: pink as glow only, static — matches the site's current Hero V2 state. */
.fl-blog .fl-btn-hero-v2::before { box-shadow: 0 0 18px rgba(255, 45, 155, 0.34), 0 0 48px rgba(255, 45, 155, 0.1); }
.fl-blog .fl-btn-hero-v2:hover::before { filter: brightness(1.08); box-shadow: 0 0 26px rgba(255, 45, 155, 0.5), 0 0 60px rgba(255, 45, 155, 0.14); }

.fl-blog .fl-final-cta {
  margin-top: 56px;
  padding: clamp(32px, 4vw, 44px) 28px 36px;
  border: 1px solid var(--cyan);
  background: var(--black);
  box-shadow: inset 0 0 60px rgba(34, 211, 238, 0.045), var(--shadow-cyan);
  text-align: center;
}

.fl-blog .fl-final-cta h2 { margin: 0 0 18px; font-size: clamp(26px, 3vw, 38px); }
.fl-blog .fl-final-cta p { max-width: 620px; margin-inline: auto; }
.fl-blog .fl-final-cta .trust {
  display: block;
  margin-top: 18px;
  color: var(--muted);
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.fl-blog .fl-signature-hairline {
  width: 40px;
  height: 1px;
  margin: 56px 0 18px;
  border: 0;
  background: var(--cyan);
  box-shadow: 0 0 6px rgba(34, 211, 238, 0.6);
}

.fl-blog .fl-signature .sig-name { margin-bottom: 6px; color: var(--text); font-size: 16px; font-weight: 700; }
.fl-blog .fl-signature .sig-role { margin-bottom: 8px; color: var(--cyan); font-size: 12px; font-weight: 700; letter-spacing: 0.16em; text-transform: uppercase; }
.fl-blog .fl-signature .sig-terminal { color: var(--muted); font-size: 14px; }
.fl-blog .fl-signature .sig-terminal a { border-bottom: 0; }

@media (max-width: 620px) {
  .fl-blog p, .fl-blog li { font-size: 16px; }
  .fl-blog .fl-cta-block { padding: 18px 18px 22px; }
  .fl-blog .fl-final-cta { padding: 30px 20px; }
  .fl-blog .fl-btn-primary, .fl-blog .fl-btn-hero-v2 { width: 100%; }
  .fl-blog .fl-btn-primary::before,
  .fl-blog .fl-btn-hero-v2::before { inset: 0 7px; } /* full-width: inset the face, keep the slant */
}
