:root {
  --bg: #080b10;
  --bg-deep: #04060a;
  --surface: rgba(11, 14, 18, 0.94);
  --surface-soft: rgba(10, 13, 17, 0.86);
  --surface-muted: rgba(8, 11, 14, 0.74);
  --surface-flagship: linear-gradient(180deg, rgba(10, 14, 18, 0.96), rgba(7, 10, 13, 0.94));
  --line: rgba(255, 255, 255, 0.08);
  --line-strong: rgba(255, 255, 255, 0.14);
  --text: #f2f5f8;
  --muted: #8b949f;
  --muted-strong: #c6ced7;
  --accent: #a7b7ca;
  --accent-strong: #eef3f8;
  --accent-blue: #8fa3bd;
  --accent-cool: #bac7d8;
  --warm: #c0b293;
  --shadow: 0 18px 48px rgba(0, 0, 0, 0.24);
  --shadow-soft: 0 10px 24px rgba(0, 0, 0, 0.18);
  --radius-xl: 26px;
  --radius-lg: 18px;
  --radius-md: 14px;
  --max-width: 1200px;
  --font-display: "IBM Plex Sans", sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background:
    radial-gradient(circle at 50% -10%, rgba(132, 150, 176, 0.12), transparent 36%),
    linear-gradient(180deg, var(--bg) 0%, #06080c 46%, var(--bg-deep) 100%);
  color: var(--text);
  font-family: "IBM Plex Sans", sans-serif;
  line-height: 1.55;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  background-image:
    linear-gradient(rgba(160, 190, 216, 0.018) 1px, transparent 1px),
    linear-gradient(90deg, rgba(160, 190, 216, 0.018) 1px, transparent 1px);
  background-size: 220px 220px;
  mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.22), transparent 82%);
  opacity: 0.18;
  pointer-events: none;
}

a {
  color: inherit;
}

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

.skip-link {
  position: absolute;
  left: 16px;
  top: -48px;
  padding: 10px 14px;
  border-radius: 999px;
  background: var(--accent);
  color: #061013;
  font-weight: 700;
  text-decoration: none;
  z-index: 20;
}

.skip-link:focus {
  top: 16px;
}

.page-shell {
  position: relative;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  max-width: var(--max-width);
  margin: 14px auto 0;
  padding: 14px 20px;
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: 20px;
  background: rgba(8, 11, 15, 0.82);
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.22);
  backdrop-filter: blur(14px);
  overflow: hidden;
}

.site-header::before {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 1px;
  background: linear-gradient(90deg, rgba(255, 255, 255, 0.08), transparent 72%);
}

.brand-lockup {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.brand-name {
  width: fit-content;
  color: var(--text);
  font-family: var(--font-display);
  font-size: 1.04rem;
  font-weight: 700;
  letter-spacing: -0.03em;
  text-decoration: none;
}

.brand-tag {
  margin: 0;
  color: var(--muted);
  font-size: 0.72rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.site-nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 8px;
}

.site-nav a {
  min-height: 34px;
  padding: 7px 10px;
  border: 1px solid transparent;
  border-radius: 10px;
  color: var(--muted);
  font-family: var(--font-display);
  font-size: 0.84rem;
  font-weight: 500;
  text-decoration: none;
  transition: border-color 140ms ease, color 140ms ease, background 140ms ease, transform 140ms ease;
}

.site-nav a:hover,
.site-nav a:focus-visible {
  border-color: rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.025);
  color: var(--text);
}

main {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 16px 24px 84px;
}

.section {
  padding: 24px 0;
}

.section-cta {
  padding-top: 4px;
  padding-bottom: 8px;
}

.section-muted {
  position: relative;
}

.section-muted::before {
  content: "";
  position: absolute;
  inset: 0;
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: var(--radius-xl);
  background: linear-gradient(180deg, rgba(9, 12, 15, 0.42), rgba(7, 9, 12, 0.18));
  z-index: -1;
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--accent);
  font-family: "IBM Plex Mono", monospace;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.section-heading {
  margin: 0 0 10px;
  font-family: var(--font-display);
  font-size: clamp(1.95rem, 3.2vw, 2.85rem);
  line-height: 1.02;
  letter-spacing: -0.045em;
}

.section-copy {
  margin: 0;
  max-width: 62ch;
  color: var(--muted-strong);
  font-size: 0.98rem;
}

.hero {
  display: block;
  padding-top: 14px;
}

.hero-card,
.info-card,
.flagship-card,
.principle-card,
.about-card,
.contact-card,
.cta-band {
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-xl);
  background: linear-gradient(180deg, rgba(10, 13, 17, 0.95), rgba(7, 10, 13, 0.93));
  box-shadow: var(--shadow), inset 0 1px 0 rgba(255, 255, 255, 0.02);
}

.hero-main,
.hero-preview {
  padding: 26px;
}

.hero-main {
  position: relative;
  overflow: hidden;
  min-height: 0;
}

.hero-main::before {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 1px;
  background: rgba(255, 255, 255, 0.08);
}

.hero-main::after {
  content: "";
  position: absolute;
  top: 48px;
  right: 34px;
  width: 180px;
  height: 180px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.04), transparent 68%);
  pointer-events: none;
}

.hero-kicker {
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  padding: 6px 10px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.01);
  color: var(--muted);
  font-family: "IBM Plex Mono", monospace;
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(320px, 0.92fr);
  gap: 24px;
  align-items: center;
}

.hero-heading-block,
.hero-copy-block {
  display: grid;
}

.hero-title {
  margin: 16px 0 0;
  max-width: 10.8ch;
  font-family: var(--font-display);
  font-size: clamp(2.55rem, 4vw, 3.95rem);
  font-weight: 700;
  line-height: 0.95;
  letter-spacing: -0.055em;
  background: none;
  color: var(--text);
  -webkit-text-fill-color: currentColor;
}

.hero-copy {
  margin: 0;
  max-width: 38ch;
  color: var(--muted-strong);
  font-size: 0.98rem;
  line-height: 1.62;
}

.hero-pillars {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 14px;
}

.hero-pillar {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 4px 8px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.01);
  color: var(--muted-strong);
  font-size: 0.74rem;
  font-weight: 500;
}

.hero-actions,
.link-row,
.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.hero-actions {
  margin-top: 16px;
}

.hero-footnote {
  margin-top: 14px;
  max-width: 38ch;
  padding-top: 12px;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  color: var(--muted);
  font-size: 0.88rem;
  line-height: 1.58;
}

.cta-band {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(280px, 0.85fr);
  gap: 20px;
  padding: 22px 24px;
}

.cta-title {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(1.72rem, 2.7vw, 2.25rem);
  line-height: 1.02;
  letter-spacing: -0.045em;
}

.cta-copy,
.cta-note {
  margin: 0;
  max-width: 54ch;
}

.cta-copy {
  margin-top: 8px;
  color: var(--muted-strong);
  font-size: 0.97rem;
  line-height: 1.58;
}

.cta-note {
  margin-top: 10px;
  color: var(--muted);
  font-size: 0.88rem;
  line-height: 1.56;
}

.cta-actions-block {
  display: grid;
  align-content: start;
  gap: 14px;
}

.cta-actions-block .hero-actions {
  margin-top: 0;
}

.cta-support {
  padding-top: 14px;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.button-pill,
.link-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 38px;
  padding: 8px 13px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.02);
  color: var(--text);
  font-family: var(--font-display);
  font-size: 0.83rem;
  font-weight: 500;
  text-decoration: none;
  transition: transform 140ms ease, border-color 140ms ease, background 140ms ease, color 140ms ease;
}

.button-pill:hover,
.button-pill:focus-visible,
.link-pill:hover,
.link-pill:focus-visible {
  border-color: rgba(255, 255, 255, 0.14);
  background: rgba(255, 255, 255, 0.035);
}

.button-pill.primary,
.link-pill.primary {
  border-color: #f2f5f8;
  background: #f2f5f8;
  color: #0b1016;
}

.link-pill.is-disabled {
  color: var(--muted);
  background: transparent;
  cursor: default;
}

.hero-preview-compact {
  display: grid;
  align-content: start;
  gap: 14px;
}

.hero-preview-list {
  display: grid;
  gap: 12px;
  margin-top: 2px;
}

.hero-preview-item {
  display: grid;
  grid-template-columns: 38px minmax(0, 1fr);
  gap: 12px;
  padding: 13px 14px;
  border: 1px solid rgba(166, 208, 232, 0.08);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.02);
  text-decoration: none;
  transition: border-color 140ms ease, background 140ms ease, transform 140ms ease;
}

.hero-preview-item:first-of-type {
  padding-top: 14px;
}

.hero-preview-item:last-of-type {
  padding-bottom: 14px;
}

.hero-preview-item:hover,
.hero-preview-item:focus-visible {
  border-color: rgba(166, 208, 232, 0.16);
  background: rgba(255, 255, 255, 0.035);
  transform: translateY(-1px);
}

.hero-preview-index {
  color: var(--accent-blue);
  font-family: "IBM Plex Mono", monospace;
  font-size: 0.92rem;
  font-weight: 700;
}

.hero-preview-copy {
  display: grid;
  gap: 6px;
}

.hero-preview-copy strong {
  color: var(--text);
  font-family: var(--font-display);
  font-size: 0.98rem;
}

.hero-preview-copy p {
  margin: 0;
  color: var(--muted);
  font-size: 0.88rem;
}

.hero-preview-status {
  display: inline-flex;
  grid-column: 2;
  width: fit-content;
  margin-top: 2px;
  padding: 4px 8px;
  border-radius: 999px;
  border: 1px solid rgba(216, 200, 160, 0.18);
  background: rgba(216, 200, 160, 0.06);
  color: var(--warm);
  font-size: 0.76rem;
  font-weight: 600;
}

.hero-fit-block {
  margin-top: 16px;
  padding-top: 16px;
  border-top: 1px solid rgba(166, 208, 232, 0.08);
}

.hero-fit-title {
  margin: 0 0 10px;
  color: var(--accent-strong);
  font-family: "IBM Plex Mono", monospace;
  font-size: 0.82rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.hero-fit-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.hero-fit-pill {
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  padding: 5px 9px;
  border: 1px solid rgba(166, 208, 232, 0.12);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.025);
  color: var(--muted-strong);
  font-size: 0.8rem;
  font-weight: 600;
}

.hero-disclaimer {
  margin: 4px 0 0;
  color: var(--muted);
  font-size: 0.88rem;
}

.section-header {
  display: grid;
  gap: 18px;
  align-items: start;
  margin-bottom: 18px;
}

.section-flagship .section-header,
.about .section-header {
  grid-template-columns: minmax(0, 1.35fr) minmax(280px, 0.85fr);
}

.section-sidebar {
  padding: 18px 20px;
  border: 1px solid rgba(166, 208, 232, 0.1);
  border-radius: var(--radius-lg);
  background: rgba(255, 255, 255, 0.025);
}

.section-sidebar p {
  margin: 0;
  color: var(--muted-strong);
}

.flagship-list,
.compact-section-stack,
.principles-grid {
  display: grid;
  gap: 16px;
}

.flagship-card {
  position: relative;
  padding: 22px;
  background: var(--surface-flagship);
  overflow: hidden;
}

.flagship-card::before {
  content: "";
  position: absolute;
  inset: 0 auto auto 0;
  width: 100%;
  height: 1px;
  background: rgba(255, 255, 255, 0.06);
}

.flagship-preview-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(240px, 280px);
  gap: 16px;
  align-items: start;
}

.flagship-preview-main {
  display: grid;
  gap: 16px;
}

.flagship-header {
  display: grid;
  grid-template-columns: 46px minmax(0, 1fr);
  gap: 14px;
  align-items: start;
}

.flagship-index {
  color: var(--accent);
  font-family: "IBM Plex Mono", monospace;
  font-size: 0.88rem;
  font-weight: 700;
}

.flagship-title-group {
  display: grid;
  gap: 8px;
}

.flagship-title {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(1.65rem, 3vw, 2.35rem);
  line-height: 1;
  letter-spacing: -0.045em;
}

.flagship-summary {
  margin: 0;
  max-width: 58ch;
  color: var(--muted-strong);
  font-size: 0.94rem;
  line-height: 1.58;
}

.status-row,
.tag-row,
.support-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.status-pill,
.tag-pill {
  display: inline-flex;
  align-items: center;
  min-height: 26px;
  padding: 4px 8px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.015);
  color: var(--muted);
  font-size: 0.7rem;
  font-weight: 500;
}

.status-pill.accent {
  color: var(--muted-strong);
  border-color: rgba(255, 255, 255, 0.1);
}

.status-pill.warm {
  color: var(--warm);
}

.tag-row {
  margin-top: 0;
}

.flagship-proof {
  padding: 14px 15px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.018);
}

.flagship-signal-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(220px, 0.88fr);
  gap: 14px;
}

.flagship-signal,
.flagship-callout {
  padding: 14px 16px;
  border: 1px solid rgba(166, 208, 232, 0.1);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.025);
}

.flagship-callout-label,
.detail-links-label {
  display: block;
  margin-bottom: 5px;
  color: var(--muted);
  font-family: "IBM Plex Mono", monospace;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.flagship-signal p,
.flagship-callout p {
  margin: 0;
  color: var(--muted-strong);
  font-size: 0.92rem;
}

.flagship-proof-copy,
.flagship-proof-note {
  margin: 0;
}

.flagship-proof-copy {
  color: var(--text);
  font-size: 0.95rem;
  font-weight: 600;
  line-height: 1.5;
}

.flagship-proof-note {
  margin-top: 8px;
  color: var(--muted-strong);
  font-size: 0.88rem;
  line-height: 1.54;
}

.flagship-preview-media {
  display: grid;
  gap: 8px;
}

.flagship-thumbnail {
  display: block;
  aspect-ratio: 16 / 11;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 16px;
  background: linear-gradient(180deg, rgba(8, 13, 18, 0.98), rgba(5, 9, 13, 0.98));
}

.flagship-thumbnail img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.flagship-thumbnail-note {
  margin: 0;
  color: var(--muted);
  font-size: 0.8rem;
}

.flagship-details {
  margin-top: 16px;
  padding-top: 16px;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.flagship-details > summary {
  list-style: none;
}

.flagship-details > summary::-webkit-details-marker,
.flagship-details > summary::marker {
  display: none;
}

.flagship-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 38px;
  padding: 8px 13px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.02);
  color: var(--text);
  cursor: pointer;
  font-family: var(--font-display);
  font-size: 0.83rem;
  font-weight: 500;
  transition: border-color 140ms ease, background 140ms ease;
}

.flagship-toggle:hover,
.flagship-toggle:focus-visible {
  border-color: rgba(255, 255, 255, 0.14);
  background: rgba(255, 255, 255, 0.035);
}

.toggle-open {
  display: none;
}

.flagship-details[open] .toggle-closed {
  display: none;
}

.flagship-details[open] .toggle-open {
  display: inline;
}

.flagship-detail-panel {
  display: grid;
  gap: 14px;
  margin-top: 14px;
}

.flagship-core-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.flagship-detail-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.12fr) minmax(300px, 0.88fr);
  gap: 14px;
}

.story-block,
.detail-card {
  padding: 16px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-lg);
  background: rgba(255, 255, 255, 0.015);
}

.story-block h3,
.detail-card h3 {
  margin: 0 0 8px;
  color: var(--accent-strong);
  font-family: "IBM Plex Mono", monospace;
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.02em;
}

.story-block p,
.detail-card p {
  margin: 0;
}

.bullet-list {
  margin: 0;
  padding-left: 16px;
  color: var(--muted-strong);
  font-size: 0.91rem;
  line-height: 1.58;
}

.bullet-list li + li {
  margin-top: 7px;
}

.detail-links {
  margin-top: 14px;
  padding-top: 12px;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.screenshot-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.screenshot-card {
  display: grid;
  gap: 8px;
  padding: 8px 8px 12px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 16px;
  background: linear-gradient(180deg, rgba(8, 11, 15, 0.94), rgba(7, 10, 13, 0.88));
}

.screenshot-card.is-placeholder {
  opacity: 0.78;
}

.screenshot-card.is-placeholder .screenshot-frame img {
  filter: saturate(0.75) brightness(0.9);
}

.screenshot-frame {
  position: relative;
  display: block;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 12px;
  background: linear-gradient(180deg, rgba(13, 20, 25, 0.88), rgba(6, 10, 14, 0.98));
}

.screenshot-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.placeholder-badge {
  position: absolute;
  top: 12px;
  left: 12px;
  padding: 6px 8px;
  border-radius: 999px;
  border: 1px solid rgba(216, 200, 160, 0.32);
  background: rgba(8, 16, 20, 0.9);
  color: var(--warm);
  font-family: "IBM Plex Mono", monospace;
  font-size: 0.7rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.screenshot-meta {
  display: grid;
  gap: 5px;
  padding: 4px 4px 0;
}

.screenshot-title {
  color: var(--text);
  font-family: var(--font-display);
  font-size: 0.89rem;
  font-weight: 600;
}

.screenshot-note {
  color: var(--muted);
  font-size: 0.82rem;
  line-height: 1.5;
}

.compact-group {
  display: grid;
  gap: 12px;
}

.secondary-section-stack {
  display: grid;
  gap: 14px;
}

.group-heading {
  display: grid;
  gap: 4px;
}

.group-heading h3 {
  margin: 0;
  font-size: 1rem;
  letter-spacing: -0.02em;
}

.group-heading p {
  margin: 0;
  color: var(--muted);
  font-size: 0.88rem;
}

.secondary-group {
  display: grid;
  gap: 10px;
}

.secondary-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.secondary-card {
  display: grid;
  gap: 10px;
  padding: 14px 16px;
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.008);
}

.secondary-top {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 8px;
  align-items: start;
}

.secondary-copy {
  display: grid;
  gap: 4px;
}

.secondary-copy h3 {
  margin: 0;
  font-family: var(--font-display);
  font-size: 1rem;
  letter-spacing: -0.02em;
}

.secondary-descriptor {
  margin: 0;
  color: var(--muted);
  font-size: 0.84rem;
  line-height: 1.45;
}

.secondary-card .support-meta {
  gap: 5px;
}

.secondary-card .status-pill {
  min-height: 24px;
  font-size: 0.68rem;
}

.secondary-card .status-pill.accent {
  color: var(--muted-strong);
  border-color: rgba(255, 255, 255, 0.08);
}

.secondary-card .link-pill {
  min-height: 32px;
  padding: 7px 10px;
  border-color: rgba(255, 255, 255, 0.08);
  background: transparent;
  font-size: 0.78rem;
}

.compact-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.compact-card {
  display: grid;
  gap: 10px;
  padding: 18px;
  border: 1px solid rgba(166, 208, 232, 0.08);
  border-radius: 22px;
  background: linear-gradient(180deg, rgba(9, 14, 19, 0.82), rgba(6, 10, 14, 0.72));
  box-shadow: var(--shadow-soft);
}

.compact-card-accent {
  background: linear-gradient(180deg, rgba(11, 17, 23, 0.88), rgba(6, 11, 15, 0.76));
}

.compact-top {
  display: grid;
  gap: 10px;
}

.compact-top-inline {
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: start;
}

.compact-top h3 {
  margin: 0;
  font-family: var(--font-display);
  font-size: 1.14rem;
  letter-spacing: -0.02em;
}

.compact-summary,
.compact-note,
.principle-card p,
.about-card p,
.contact-card p,
.footer-card p {
  margin: 0;
  color: var(--muted-strong);
}

.compact-note {
  color: var(--muted);
  font-size: 0.9rem;
}

.principles-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}

.principle-card {
  padding: 20px;
}

.principle-card h3 {
  margin: 0 0 8px;
  font-family: var(--font-display);
  font-size: 1.12rem;
  letter-spacing: -0.02em;
}

.about-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.18fr) minmax(290px, 0.82fr);
  gap: 16px;
  align-items: start;
}

.about-card,
.contact-card {
  padding: 24px;
}

.contact-card h2 {
  margin: 0 0 8px;
  font-family: var(--font-display);
  font-size: 1.18rem;
  letter-spacing: -0.02em;
}

.about-note {
  margin: 12px 0 0;
  color: var(--muted);
  line-height: 1.58;
}

.contact-list {
  display: grid;
  gap: 8px;
  margin-top: 14px;
}

.contact-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 11px 13px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.015);
  color: var(--text);
  text-decoration: none;
  transition: border-color 140ms ease, background 140ms ease;
}

.contact-link:hover,
.contact-link:focus-visible {
  border-color: rgba(255, 255, 255, 0.14);
  background: rgba(255, 255, 255, 0.03);
}

.contact-link span {
  color: var(--muted);
  font-family: "IBM Plex Mono", monospace;
  font-size: 0.76rem;
  overflow-wrap: anywhere;
}

.site-footer {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px 32px;
}

.footer-card {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 18px 20px;
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 18px;
  background: rgba(8, 10, 12, 0.78);
}

@media (max-width: 1080px) {
  .hero-grid,
  .cta-band,
  .section-flagship .section-header,
  .flagship-preview-grid,
  .flagship-signal-row,
  .flagship-detail-grid,
  .about-layout {
    grid-template-columns: 1fr;
  }

  .flagship-core-grid,
  .compact-grid,
  .secondary-grid,
  .principles-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 760px) {
  .site-header {
    position: static;
    flex-direction: column;
    align-items: flex-start;
    padding: 14px 16px;
  }

  main,
  .site-footer {
    padding-left: 16px;
    padding-right: 16px;
  }

  .hero-main,
  .cta-band,
  .hero-preview,
  .flagship-card,
  .principle-card,
  .about-card,
  .contact-card,
  .compact-card,
  .secondary-card {
    padding: 20px;
  }

  .section {
    padding: 22px 0;
  }

  .hero-title {
    max-width: 100%;
    font-size: clamp(2.35rem, 11vw, 3.4rem);
  }

  .hero-pillars,
  .site-nav {
    justify-content: flex-start;
  }

  .hero-fit-list {
    justify-content: flex-start;
  }

  .site-nav {
    width: 100%;
    gap: 6px 8px;
  }

  .site-nav a {
    min-height: 32px;
    padding: 7px 10px;
  }

  .cta-band,
  .flagship-core-grid,
  .compact-grid,
  .secondary-grid,
  .principles-grid,
  .screenshot-grid {
    grid-template-columns: 1fr;
  }

  .hero-preview-item {
    grid-template-columns: 34px minmax(0, 1fr);
  }

  .compact-top-inline {
    grid-template-columns: 1fr;
  }

  .secondary-top {
    grid-template-columns: 1fr;
  }

  .contact-link {
    align-items: flex-start;
    flex-direction: column;
  }

  .footer-card {
    align-items: flex-start;
  }
}
