:root {
  --bg: #06131f;
  --bg-soft: rgba(15, 31, 46, 0.82);
  --panel: rgba(10, 22, 35, 0.78);
  --panel-strong: rgba(8, 17, 28, 0.94);
  --line: rgba(255, 255, 255, 0.1);
  --line-strong: rgba(255, 255, 255, 0.18);
  --text: #edf4fb;
  --muted: #adc2d4;
  --accent: #67e8c8;
  --accent-strong: #ffb95e;
  --accent-ink: #04110e;
  --accent-soft: rgba(103, 232, 200, 0.08);
  --accent-line: rgba(103, 232, 200, 0.18);
  --shadow: 0 28px 70px rgba(0, 0, 0, 0.35);
  --header-bg: rgba(5, 13, 22, 0.72);
  --surface: rgba(255, 255, 255, 0.04);
  --surface-soft: rgba(255, 255, 255, 0.03);
  --brand-gradient: linear-gradient(135deg, var(--accent) 0%, #f4d08d 100%);
  --theme-ring: rgba(103, 232, 200, 0.24);
  --floating-bg: rgba(5, 18, 27, 0.88);
  --page-gradient:
    radial-gradient(circle at top left, rgba(103, 232, 200, 0.2), transparent 30%),
    radial-gradient(circle at top right, rgba(255, 185, 94, 0.18), transparent 32%),
    linear-gradient(160deg, #040b12 0%, #0b1724 48%, #071721 100%);
  --section-bg:
    linear-gradient(180deg, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0.02)),
    var(--bg-soft);
  --hero-bg:
    linear-gradient(155deg, rgba(255, 255, 255, 0.07), rgba(255, 255, 255, 0.01)),
    rgba(7, 18, 30, 0.78);
  --hero-media-bg:
    radial-gradient(circle at top, rgba(103, 232, 200, 0.12), transparent 56%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.06), transparent);
  --grid-color: rgba(255, 255, 255, 0.03);
  --radius-xl: 28px;
  --radius-lg: 22px;
  --radius-md: 16px;
  --max-width: 1180px;
}

body[data-theme="graphite"] {
  --bg: #171a20;
  --bg-soft: rgba(36, 39, 47, 0.84);
  --panel: rgba(27, 29, 36, 0.8);
  --panel-strong: rgba(20, 22, 28, 0.95);
  --line: rgba(255, 255, 255, 0.08);
  --line-strong: rgba(255, 255, 255, 0.16);
  --text: #f3f5f8;
  --muted: #c4c9d1;
  --accent: #7bd2ff;
  --accent-strong: #ffc07a;
  --accent-ink: #05131c;
  --accent-soft: rgba(123, 210, 255, 0.12);
  --accent-line: rgba(123, 210, 255, 0.24);
  --shadow: 0 28px 70px rgba(0, 0, 0, 0.42);
  --header-bg: rgba(18, 20, 25, 0.8);
  --surface: rgba(255, 255, 255, 0.05);
  --surface-soft: rgba(255, 255, 255, 0.035);
  --brand-gradient: linear-gradient(135deg, #7bd2ff 0%, #ffc07a 100%);
  --theme-ring: rgba(123, 210, 255, 0.28);
  --floating-bg: rgba(20, 23, 29, 0.9);
  --page-gradient:
    radial-gradient(circle at top left, rgba(123, 210, 255, 0.16), transparent 32%),
    radial-gradient(circle at top right, rgba(255, 192, 122, 0.14), transparent 34%),
    linear-gradient(160deg, #121419 0%, #232833 50%, #161a21 100%);
  --section-bg:
    linear-gradient(180deg, rgba(255, 255, 255, 0.06), rgba(255, 255, 255, 0.02)),
    rgba(29, 32, 39, 0.88);
  --hero-bg:
    linear-gradient(155deg, rgba(255, 255, 255, 0.07), rgba(255, 255, 255, 0.02)),
    rgba(23, 26, 32, 0.9);
  --hero-media-bg:
    radial-gradient(circle at top, rgba(123, 210, 255, 0.18), transparent 54%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.06), transparent);
}

body[data-theme="amoled"] {
  --bg: #000000;
  --bg-soft: rgba(0, 0, 0, 0.94);
  --panel: rgba(0, 0, 0, 0.92);
  --panel-strong: rgba(0, 0, 0, 0.98);
  --line: rgba(255, 255, 255, 0.09);
  --line-strong: rgba(255, 255, 255, 0.18);
  --text: #f6f6f6;
  --muted: #b8b8b8;
  --accent: #54f0d2;
  --accent-strong: #ffc36f;
  --accent-ink: #03110c;
  --accent-soft: rgba(84, 240, 210, 0.1);
  --accent-line: rgba(84, 240, 210, 0.22);
  --shadow: 0 28px 70px rgba(0, 0, 0, 0.6);
  --header-bg: rgba(0, 0, 0, 0.92);
  --surface: rgba(255, 255, 255, 0.03);
  --surface-soft: rgba(255, 255, 255, 0.025);
  --brand-gradient: linear-gradient(135deg, #54f0d2 0%, #ffc36f 100%);
  --theme-ring: rgba(84, 240, 210, 0.28);
  --floating-bg: rgba(0, 0, 0, 0.9);
  --page-gradient:
    radial-gradient(circle at top left, rgba(84, 240, 210, 0.12), transparent 28%),
    radial-gradient(circle at top right, rgba(255, 195, 111, 0.1), transparent 30%),
    linear-gradient(180deg, #000000 0%, #020202 100%);
  --section-bg:
    linear-gradient(180deg, rgba(255, 255, 255, 0.03), rgba(255, 255, 255, 0.01)),
    rgba(0, 0, 0, 0.96);
  --hero-bg:
    linear-gradient(155deg, rgba(255, 255, 255, 0.04), rgba(255, 255, 255, 0.01)),
    rgba(0, 0, 0, 0.98);
  --hero-media-bg:
    radial-gradient(circle at top, rgba(84, 240, 210, 0.18), transparent 54%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.03), transparent);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: "DM Sans", sans-serif;
  color: var(--text);
  background: var(--page-gradient);
  transition: background 220ms ease, color 220ms ease;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background-image:
    linear-gradient(var(--grid-color) 1px, transparent 1px),
    linear-gradient(90deg, var(--grid-color) 1px, transparent 1px);
  background-size: 90px 90px;
  mask-image: radial-gradient(circle at center, black 44%, transparent 88%);
  opacity: 0.35;
}

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

a {
  color: inherit;
  text-decoration: none;
}

code {
  font-family: "Space Grotesk", monospace;
  font-size: 0.95em;
  color: var(--accent);
}

.page-shell {
  width: min(calc(100% - 32px), var(--max-width));
  margin: 0 auto;
  padding: 24px 0 48px;
  position: relative;
  z-index: 1;
}

.site-header {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 16px 24px;
  padding: 16px 20px;
  position: sticky;
  top: 16px;
  z-index: 20;
  backdrop-filter: blur(18px);
  background: var(--header-bg);
  border: 1px solid var(--line);
  border-radius: 30px;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.22);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
}

.brand-mark {
  width: 46px;
  height: 46px;
  display: grid;
  place-items: center;
  border-radius: 16px;
  font-family: "Space Grotesk", sans-serif;
  font-weight: 700;
  letter-spacing: 0.05em;
  color: var(--accent-ink);
  background: var(--brand-gradient);
}

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

.brand-copy strong,
.site-nav a,
.header-link,
.theme-button,
.button,
.inline-link,
.resource-link strong,
.pill,
.workflow-step span,
.status-link {
  font-family: "Space Grotesk", sans-serif;
}

.brand-copy small {
  color: var(--muted);
}

.site-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 18px;
  min-width: 0;
}

.header-actions {
  display: inline-flex;
  align-items: center;
  justify-self: end;
  flex-wrap: wrap;
  gap: 10px;
}

.site-nav a,
.header-link {
  color: var(--muted);
  transition: color 180ms ease, transform 180ms ease;
}

.site-nav a:hover,
.header-link:hover {
  color: var(--text);
  transform: translateY(-1px);
}

.header-link {
  padding: 10px 16px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--surface-soft);
  white-space: nowrap;
}

.theme-switcher {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 6px 8px 6px 12px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.05), transparent),
    var(--surface-soft);
}

.theme-switcher-label {
  font-family: "Space Grotesk", sans-serif;
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
}

.theme-button {
  appearance: none;
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  padding: 0;
  border: 1px solid transparent;
  border-radius: 999px;
  background: transparent;
  cursor: pointer;
  transition:
    transform 180ms ease,
    border-color 180ms ease,
    background-color 180ms ease,
    box-shadow 180ms ease;
}

.theme-button:hover {
  border-color: var(--line-strong);
  background: rgba(255, 255, 255, 0.04);
  transform: translateY(-1px);
}

.theme-button.is-active {
  border-color: var(--theme-ring);
  background: rgba(255, 255, 255, 0.06);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.05);
}

.theme-button:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}

.theme-swatch {
  width: 18px;
  height: 18px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.25);
}

.theme-button.is-active .theme-swatch {
  transform: scale(1.08);
}

.theme-swatch-ocean {
  background: linear-gradient(135deg, #27d6bf 0%, #0b2f4d 58%, #ffb95e 100%);
}

.theme-swatch-graphite {
  background: linear-gradient(135deg, #7bd2ff 0%, #222732 58%, #ffc07a 100%);
}

.theme-swatch-amoled {
  background: linear-gradient(135deg, #020202 0%, #0d0d0d 58%, #54f0d2 100%);
}

.hero,
.section,
.profile-section {
  margin-top: 28px;
}

.hero {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 28px;
  align-items: center;
  padding: 42px;
  background: var(--hero-bg);
  border: 1px solid var(--line);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow);
  overflow: hidden;
}

.hero-copy {
  position: relative;
  z-index: 1;
}

.eyebrow {
  margin: 0 0 14px;
  font-family: "Space Grotesk", sans-serif;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
}

.hero h1,
.section-head h2,
.profile-card h2 {
  margin: 0;
  font-family: "Space Grotesk", sans-serif;
  line-height: 1.05;
  letter-spacing: -0.03em;
}

.hero h1 {
  font-size: clamp(2.8rem, 6vw, 5.1rem);
  max-width: 12ch;
}

.hero-text,
.section-head p,
.project-copy p,
.status-card p,
.workflow-step p,
.profile-card p,
.status-note,
.quote-note {
  color: var(--muted);
  line-height: 1.72;
}

.hero-text {
  max-width: 62ch;
  margin: 18px 0 0;
  font-size: 1.05rem;
}

.hero-actions,
.profile-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 28px;
}

.project-links {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin-top: 28px;
}

.project-links-single {
  grid-template-columns: 1fr;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 20px;
  border-radius: 999px;
  font-weight: 700;
  transition:
    transform 180ms ease,
    border-color 180ms ease,
    background-color 180ms ease;
}

.button:hover,
.inline-link:hover,
.resource-link:hover {
  transform: translateY(-2px);
}

.button-primary {
  color: var(--accent-ink);
  background: linear-gradient(135deg, var(--accent) 0%, #c7f0c6 100%);
}

.button-secondary {
  color: var(--text);
  border: 1px solid var(--line-strong);
  background: var(--surface);
}

.hero-stats {
  margin-top: 28px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.hero-stats article,
.status-card,
.workflow-step,
.community-card,
.profile-card,
.quote-card {
  padding: 20px;
  border-radius: var(--radius-lg);
  border: 1px solid var(--line);
  background: var(--surface);
}

.hero-stats strong {
  display: block;
  margin-bottom: 6px;
  font-family: "Space Grotesk", sans-serif;
  font-size: 1.18rem;
}

.hero-stats span {
  color: var(--muted);
  line-height: 1.45;
}

.hero-visual {
  position: relative;
  min-height: 520px;
}

.hero-frame {
  position: absolute;
  inset: 44px 22px 46px 22px;
  padding: 18px;
  border-radius: 34px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.09), rgba(255, 255, 255, 0.02)),
    var(--panel-strong);
  border: 1px solid rgba(255, 255, 255, 0.09);
  box-shadow: 0 20px 56px rgba(0, 0, 0, 0.42);
}

.hero-frame::before {
  content: "";
  position: absolute;
  inset: -1px;
  border-radius: inherit;
  padding: 1px;
  background: linear-gradient(135deg, rgba(103, 232, 200, 0.6), rgba(255, 185, 94, 0.34));
  -webkit-mask:
    linear-gradient(#fff 0 0) content-box,
    linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
}

.hero-frame-label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 12px;
  border-radius: 999px;
  color: var(--muted);
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.hero-banner {
  width: 100%;
  height: calc(100% - 54px);
  margin-top: 18px;
  object-fit: cover;
  border-radius: 24px;
  background: transparent;
}

.hero-device-photo {
  padding: 0;
  object-position: center;
}

.floating-card {
  position: absolute;
  max-width: 250px;
  padding: 16px 18px;
  border-radius: 18px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: var(--floating-bg);
  backdrop-filter: blur(18px);
  box-shadow: 0 16px 30px rgba(0, 0, 0, 0.28);
  animation: float-card 6s ease-in-out infinite;
}

.floating-card span {
  display: inline-block;
  margin-bottom: 8px;
  font-family: "Space Grotesk", sans-serif;
  font-weight: 700;
  color: var(--accent-strong);
}

.floating-card p {
  margin: 0;
  color: var(--muted);
  line-height: 1.55;
}

.floating-card-top {
  top: 10px;
  right: 0;
}

.floating-card-bottom {
  bottom: 4px;
  left: 0;
  animation-delay: -2.5s;
}

.section {
  padding: 34px;
  border-radius: var(--radius-xl);
  border: 1px solid var(--line);
  background: var(--section-bg);
  box-shadow: var(--shadow);
}

.section-head {
  display: grid;
  gap: 12px;
}

.section-head h2 {
  font-size: clamp(2rem, 4vw, 3rem);
}

.section-head p {
  margin: 0;
  max-width: 68ch;
}

.project-grid,
.status-grid,
.workflow-grid,
.community-grid,
.profile-section {
  display: grid;
  gap: 22px;
  margin-top: 28px;
}

.project-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

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

.project-card {
  display: grid;
  grid-template-columns: 1fr;
  overflow: hidden;
  border-radius: var(--radius-lg);
  border: 1px solid var(--line);
  background: var(--surface);
}

.project-media {
  padding: 18px;
  border-bottom: 1px solid var(--line);
  background: var(--surface-soft);
}

.project-media img {
  border-radius: 18px;
  min-height: 220px;
  width: 100%;
  object-fit: cover;
}

.project-copy {
  padding: 24px;
}

.project-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.pill {
  display: inline-flex;
  align-items: center;
  padding: 8px 12px;
  border-radius: 999px;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  color: var(--accent);
  background: var(--accent-soft);
  border: 1px solid var(--accent-line);
}

.project-copy h3,
.status-card h3,
.community-card h3,
.workflow-step h3,
.quote {
  margin: 18px 0 0;
  font-family: "Space Grotesk", sans-serif;
}

.project-copy p {
  margin: 14px 0 0;
}

.status-card p {
  margin: 14px 0 0;
}

.status-note {
  padding: 14px 16px;
  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: var(--surface-soft);
}

.feature-list {
  margin: 20px 0 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 12px;
}

.feature-list li {
  position: relative;
  padding-left: 20px;
  color: var(--muted);
  line-height: 1.55;
}

.feature-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.68em;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--accent), var(--accent-strong));
}

.inline-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 700;
  color: var(--text);
}

.inline-link::after {
  content: "↗";
  color: var(--accent);
}

.action-card {
  appearance: none;
  font: inherit;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-start;
  gap: 8px;
  min-height: 88px;
  padding: 16px 18px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 18px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0.02)),
    var(--surface);
  color: var(--text);
  text-align: left;
  box-shadow: 0 14px 28px rgba(0, 0, 0, 0.14);
  transition:
    transform 180ms ease,
    border-color 180ms ease,
    background-color 180ms ease,
    box-shadow 180ms ease;
}

.action-card:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}

.action-card:hover {
  transform: translateY(-2px);
  border-color: var(--accent-line);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.03)),
    var(--surface);
  box-shadow: 0 18px 34px rgba(0, 0, 0, 0.2);
}

.action-card-title {
  font-family: "Space Grotesk", sans-serif;
  font-size: 1rem;
  font-weight: 700;
  line-height: 1.35;
}

.action-card-note {
  color: var(--muted);
  font-size: 0.92rem;
  line-height: 1.55;
}

.action-card:not(.action-card-disabled)::after {
  content: "Open ↗";
  margin-top: auto;
  font-family: "Space Grotesk", sans-serif;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: var(--accent);
}

.action-card-disabled {
  cursor: not-allowed;
  border-style: dashed;
  border-color: rgba(255, 255, 255, 0.12);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.03), rgba(255, 255, 255, 0.01)),
    var(--surface-soft);
  box-shadow: none;
}

.action-card-disabled:hover {
  transform: none;
  border-color: rgba(255, 255, 255, 0.12);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.03), rgba(255, 255, 255, 0.01)),
    var(--surface-soft);
  box-shadow: none;
}

.workflow-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.workflow-step span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 52px;
  border-radius: 16px;
  color: #07130f;
  font-weight: 700;
  background: linear-gradient(135deg, var(--accent), #f8cf92);
}

.workflow-step h3 {
  margin-top: 18px;
}

.community-grid,
.profile-section {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.resource-list {
  display: grid;
  gap: 14px;
  margin-top: 18px;
}

.resource-link {
  display: grid;
  gap: 6px;
  padding: 16px 18px;
  border-radius: 18px;
  background: var(--surface);
  border: 1px solid rgba(255, 255, 255, 0.08);
  transition:
    transform 180ms ease,
    border-color 180ms ease,
    background-color 180ms ease;
}

.status-links {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 20px;
}

.status-resource-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin-top: 20px;
}

.status-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 12px 16px;
  border-radius: 999px;
  font-weight: 700;
  color: var(--text);
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: var(--surface);
}

.resource-link span:first-child {
  color: var(--muted);
}

.resource-link strong {
  font-size: 1rem;
}

.resource-link-placeholder {
  cursor: default;
  color: var(--text);
  background: var(--surface-soft);
  border-style: dashed;
}

.status-link-placeholder {
  cursor: default;
  border-style: dashed;
  background: var(--surface-soft);
}

.resource-link-placeholder:hover {
  transform: none;
}

.feature-list-compact {
  margin-top: 18px;
}

.profile-card,
.quote-card {
  min-height: 100%;
}

.quote-card {
  display: grid;
  align-content: center;
  gap: 14px;
  background:
    radial-gradient(circle at top right, rgba(255, 185, 94, 0.15), transparent 42%),
    var(--surface);
}

.inline-text-link {
  color: var(--text);
  border-bottom: 1px solid rgba(255, 255, 255, 0.22);
  transition: color 180ms ease, border-color 180ms ease;
}

.inline-text-link:hover {
  color: var(--accent);
  border-color: var(--accent);
}

.quote {
  font-size: clamp(1.6rem, 3vw, 2.25rem);
  line-height: 1.24;
}

.quote-note {
  margin: 0;
}

.site-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-top: 28px;
  padding: 20px 8px 0;
  color: var(--muted);
}

.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition:
    opacity 720ms ease,
    transform 720ms ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@keyframes float-card {
  0%,
  100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-10px);
  }
}

@media (max-width: 1180px) {
  .hero,
  .project-grid,
  .status-grid,
  .workflow-grid,
  .community-grid,
  .profile-section,
  .site-footer {
    grid-template-columns: 1fr;
  }

  .site-header {
    display: grid;
    grid-template-columns: 1fr;
    justify-items: center;
    text-align: center;
  }

  .site-footer {
    display: grid;
    justify-content: center;
    text-align: center;
  }

  .brand,
  .site-nav,
  .header-actions {
    width: 100%;
    justify-content: center;
  }

  .brand {
    justify-content: center;
  }

  .header-actions {
    justify-self: center;
  }

  .header-link {
    text-align: center;
  }

  .hero {
    padding: 28px;
  }

  .hero h1 {
    max-width: 100%;
  }

  .hero-visual {
    min-height: 460px;
  }

  .hero-stats {
    grid-template-columns: 1fr;
  }

  .workflow-grid {
    display: grid;
  }
}

@media (max-width: 720px) {
  .page-shell {
    width: min(calc(100% - 20px), var(--max-width));
    padding-top: 14px;
  }

  .site-header,
  .hero,
  .section {
    padding: 22px;
  }

  .theme-switcher {
    justify-content: center;
  }

  .theme-switcher-label {
    display: none;
  }

  .header-actions {
    gap: 12px;
  }

  .header-link {
    width: 100%;
  }

  .hero-visual {
    min-height: auto;
    display: flex;
    flex-direction: column;
    gap: 14px;
  }

  .project-links,
  .status-resource-list {
    grid-template-columns: 1fr;
  }

  .hero-frame {
    position: relative;
    inset: auto;
    min-height: 300px;
  }

  .hero-banner {
    height: auto;
  }

  .floating-card {
    position: static;
    max-width: none;
    margin-top: 14px;
    animation: none;
  }

  .section-head h2 {
    font-size: 2rem;
  }

  .project-copy,
  .status-card,
  .workflow-step,
  .community-card,
  .profile-card,
  .quote-card {
    padding: 20px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}
