:root {
  --bg: #eef1f5;
  --panel: rgba(248, 249, 252, 0.82);
  --panel-strong: #f7f8fb;
  --text: #1f2532;
  --muted: #677184;
  --line: rgba(103, 113, 132, 0.14);
  --blue: #5d87ff;
  --green: #5dc084;
  --amber: #f2aa5f;
  --violet: #a785ff;
  --teal: #74d4cf;
  --shadow-lg: 24px 24px 56px rgba(105, 120, 145, 0.14), -20px -20px 48px rgba(255, 255, 255, 0.86);
  --shadow-md: 14px 14px 32px rgba(105, 120, 145, 0.12), -12px -12px 28px rgba(255, 255, 255, 0.76);
  --shadow-sm: 8px 8px 20px rgba(115, 129, 150, 0.12), -6px -6px 16px rgba(255, 255, 255, 0.74);
  --ring: inset 1px 1px 0 rgba(255, 255, 255, 0.72), inset -1px -1px 0 rgba(218, 223, 232, 0.84);
  --max: 1240px;
  --radius-xl: 34px;
  --radius-lg: 26px;
  --radius-md: 20px;
  --radius-sm: 16px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: ui-sans-serif, -apple-system, BlinkMacSystemFont, "SF Pro Text", "PingFang SC", "Helvetica Neue", sans-serif;
  background:
    radial-gradient(circle at top left, rgba(93, 135, 255, 0.15), transparent 34%),
    radial-gradient(circle at top right, rgba(167, 133, 255, 0.12), transparent 28%),
    linear-gradient(180deg, #f4f6f9 0%, #edf0f4 50%, #e8edf2 100%);
  color: var(--text);
  min-height: 100vh;
}

code {
  font-family: "SF Mono", ui-monospace, "JetBrains Mono", Menlo, Consolas, monospace;
  font-size: 0.92em;
  padding: 1px 6px;
  border-radius: 6px;
  background: rgba(93, 135, 255, 0.09);
  color: #2a4a8b;
  letter-spacing: 0;
  white-space: nowrap;
}

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

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

.ambient {
  position: fixed;
  inset: auto;
  border-radius: 999px;
  filter: blur(80px);
  opacity: 0.5;
  pointer-events: none;
  z-index: 0;
}

.ambient-a {
  width: 280px;
  height: 280px;
  top: 120px;
  left: -40px;
  background: rgba(93, 135, 255, 0.2);
}

.ambient-b {
  width: 340px;
  height: 340px;
  right: -60px;
  top: 300px;
  background: rgba(116, 212, 207, 0.18);
}

.topbar,
main,
.footer {
  position: relative;
  z-index: 1;
}

.topbar {
  width: min(var(--max), calc(100% - 32px));
  margin: 24px auto 0;
  padding: 18px 22px;
  border-radius: 999px;
  backdrop-filter: blur(18px);
  background: rgba(247, 249, 252, 0.72);
  border: 1px solid rgba(255, 255, 255, 0.62);
  box-shadow: var(--shadow-sm);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 14px;
}

.brand-icon {
  width: 46px;
  height: 46px;
  border-radius: 14px;
  box-shadow: var(--shadow-sm);
}

.brand-copy {
  display: grid;
  gap: 2px;
}

.brand-copy strong {
  font-size: 16px;
}

.brand-copy small {
  color: var(--muted);
  font-size: 12px;
}

.nav {
  display: inline-flex;
  align-items: center;
  gap: 18px;
  flex-wrap: wrap;
}

.nav a {
  padding: 10px 14px;
  color: var(--muted);
  border-radius: 999px;
  transition: transform 180ms ease, color 180ms ease, background 180ms ease;
}

.nav a:hover,
.nav a:focus-visible {
  color: var(--text);
  background: rgba(255, 255, 255, 0.72);
  transform: translateY(-1px);
  outline: none;
}

main {
  width: min(var(--max), calc(100% - 32px));
  margin: 22px auto 0;
  display: grid;
  gap: 28px;
  padding-bottom: 64px;
}

.hero,
.section,
.proof-strip,
.footer {
  border-radius: var(--radius-xl);
  background: var(--panel);
  border: 1px solid rgba(255, 255, 255, 0.68);
  box-shadow: var(--shadow-lg);
  backdrop-filter: blur(22px);
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 28px;
  padding: 34px;
}

.hero-copy {
  max-width: 820px;
}

.hero-brand {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 18px;
}

.hero-brand-icon {
  width: 60px;
  height: 60px;
  border-radius: 15px;
  box-shadow:
    0 1px 2px rgba(15, 23, 42, 0.06),
    0 10px 24px rgba(15, 23, 42, 0.1);
}

.hero-brand-text strong {
  display: block;
  font-size: 22px;
  font-weight: 800;
  letter-spacing: 0.01em;
  color: var(--ink);
}

.hero-brand-text small {
  display: block;
  margin-top: 3px;
  color: var(--muted);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.eyebrow,
.section-label,
.feature-label,
.aside-label,
.metric-label,
.step-no,
.aside-card span,
.download-card span {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
}

.eyebrow-dot {
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--green), var(--blue));
  box-shadow: 0 0 0 6px rgba(93, 192, 132, 0.14);
}

.hero-copy h1 {
  margin: 18px 0 0;
  font-size: clamp(34px, 5vw, 62px);
  line-height: 1.02;
  letter-spacing: -0.04em;
  max-width: 12.5ch;
}

.hero-lead {
  margin: 18px 0 0;
  font-size: 17px;
  line-height: 1.82;
  color: var(--muted);
  max-width: 65ch;
}

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

.hero-points {
  display: grid;
  gap: 12px;
  margin-top: 28px;
}

.hero-points span {
  padding: 14px 18px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.68);
  border: 1px solid rgba(255, 255, 255, 0.82);
  box-shadow: var(--shadow-sm);
  font-weight: 600;
  color: var(--muted);
}

.button {
  min-height: 48px;
  padding: 0 22px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease;
}

.button:hover,
.button:focus-visible {
  transform: translateY(-2px);
  outline: none;
}

.button-primary {
  background: linear-gradient(135deg, var(--green), #7ad7c1);
  color: #0d3424;
  box-shadow: 0 18px 28px rgba(93, 192, 132, 0.24);
}

.button-secondary {
  border: 1px solid rgba(103, 113, 132, 0.18);
  background: rgba(255, 255, 255, 0.7);
  color: var(--text);
}

.hero-metrics {
  display: grid;
  gap: 14px;
  margin-top: 28px;
}

.metric {
  padding: 18px 20px;
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.64);
  box-shadow: var(--shadow-sm);
  border: 1px solid rgba(255, 255, 255, 0.8);
}

.metric strong {
  display: block;
  margin-top: 8px;
  font-size: 18px;
  line-height: 1.4;
}

.metric small {
  display: block;
  margin-top: 6px;
  line-height: 1.75;
  color: var(--muted);
}

.hero-physics {
  min-height: 760px;
  position: relative;
}

.gallery-image {
  width: 100%;
  height: auto;
  display: block;
}

.stage-card {
  position: absolute;
  border-radius: 26px;
  background: rgba(248, 250, 253, 0.88);
  border: 1px solid rgba(255, 255, 255, 0.76);
  box-shadow: var(--shadow-md);
  overflow: hidden;
}

.stage-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 16px;
  font-size: 12px;
  font-weight: 700;
  color: var(--muted);
  border-bottom: 1px solid rgba(103, 113, 132, 0.08);
}

.traffic {
  display: inline-flex;
  gap: 6px;
}

.traffic i {
  width: 9px;
  height: 9px;
  border-radius: 999px;
  background: rgba(103, 113, 132, 0.22);
}

.traffic i:nth-child(1) { background: rgba(255, 112, 112, 0.65); }
.traffic i:nth-child(2) { background: rgba(243, 170, 95, 0.72); }
.traffic i:nth-child(3) { background: rgba(93, 192, 132, 0.72); }

.stage-tag {
  padding: 6px 10px;
  border-radius: 999px;
  background: rgba(93, 135, 255, 0.1);
  color: var(--blue);
}

.stage-dashboard {
  inset: 16px 96px 220px 16px;
  padding: 18px;
}

.dashboard-ribbon {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  padding: 22px;
  border-radius: 24px;
  background: linear-gradient(135deg, rgba(93, 135, 255, 0.1), rgba(93, 192, 132, 0.09));
  box-shadow: inset 0 0 0 1px rgba(93, 135, 255, 0.09);
}

.ribbon-title strong {
  display: block;
  font-size: 20px;
}

.ribbon-title small {
  display: block;
  margin-top: 6px;
  line-height: 1.7;
  color: var(--muted);
}

.ribbon-cta {
  align-self: flex-start;
  padding: 10px 16px;
  border: 0;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--green), #84e3bf);
  color: #0f3f29;
  font-weight: 700;
}

.bucket {
  margin-top: 18px;
  padding: 18px;
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.78);
  box-shadow: var(--shadow-sm);
}

.bucket-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 14px;
}

.bucket-head strong {
  font-size: 18px;
}

.bucket-head span {
  padding: 6px 12px;
  border-radius: 999px;
  background: rgba(242, 170, 95, 0.12);
  color: #a46221;
  font-weight: 700;
}

.project-row {
  display: grid;
  gap: 14px;
}

.project-surface {
  padding: 16px;
  border-radius: 22px;
  background: linear-gradient(180deg, #ffffff, #f5f7fb);
  box-shadow: var(--shadow-sm);
}

.project-surface h3 {
  margin: 0;
  font-size: 16px;
}

.project-surface p {
  margin: 8px 0 0;
  color: var(--muted);
  line-height: 1.7;
  font-size: 13px;
}

.pill-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 12px;
}

.pill-row span,
.filter {
  padding: 7px 10px;
  border-radius: 999px;
  background: rgba(93, 135, 255, 0.08);
  color: var(--blue);
  font-size: 12px;
  font-weight: 700;
}

.stage-drawer {
  width: 352px;
  right: 12px;
  top: 86px;
  bottom: 26px;
  padding-bottom: 18px;
}

.drawer-hero {
  padding: 20px 18px 0;
}

.drawer-hero h3 {
  margin: 0;
  font-size: 30px;
  line-height: 1.04;
}

.drawer-hero p {
  margin: 12px 0 0;
  color: var(--muted);
  line-height: 1.75;
}

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

.mini-tile {
  padding: 14px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.82);
  box-shadow: var(--shadow-sm);
}

.mini-tile span {
  display: block;
  color: var(--muted);
  font-size: 12px;
}

.mini-tile strong {
  display: block;
  margin-top: 8px;
  font-size: 15px;
  line-height: 1.4;
}

.inline-credential {
  margin: 0 18px;
  padding: 16px;
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.78);
  box-shadow: var(--shadow-sm);
}

.credential-label {
  display: inline-block;
  font-size: 12px;
  font-weight: 700;
  color: var(--violet);
}

.credential-line {
  display: grid;
  gap: 10px;
  margin-top: 12px;
}

.credential-line button,
.ghost-action {
  min-height: 42px;
  padding: 0 14px;
  border: 0;
  border-radius: 14px;
  text-align: left;
  background: rgba(93, 135, 255, 0.07);
  color: var(--text);
  font-weight: 600;
}

.ghost-action {
  display: inline-flex;
  align-items: center;
  color: var(--muted);
  background: rgba(103, 113, 132, 0.08);
}

.stage-logbook {
  width: 360px;
  left: 42px;
  bottom: 22px;
}

.log-filters {
  display: flex;
  gap: 8px;
  padding: 16px 18px 0;
}

.filter.active {
  background: rgba(93, 192, 132, 0.14);
  color: #2c7a4c;
}

.log-list {
  display: grid;
  gap: 12px;
  padding: 16px 18px 18px;
}

.log-item {
  padding: 14px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.78);
  box-shadow: var(--shadow-sm);
}

.log-item small {
  color: var(--muted);
}

.log-item strong {
  display: block;
  margin-top: 6px;
  line-height: 1.65;
}

.proof-strip {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  overflow: hidden;
}

.proof-strip article {
  padding: 24px 26px;
  background: rgba(248, 249, 252, 0.66);
}

.proof-strip span {
  display: block;
  color: var(--muted);
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.proof-strip strong {
  display: block;
  margin-top: 10px;
  font-size: 18px;
  line-height: 1.5;
}

.section {
  padding: 32px;
}

.section-heading h2 {
  margin: 14px 0 0;
  font-size: clamp(28px, 3vw, 42px);
  line-height: 1.1;
  letter-spacing: -0.035em;
  max-width: 15ch;
}

.section-heading-compact h2 {
  max-width: 18ch;
}

.section-heading p {
  margin: 14px 0 0;
  max-width: 74ch;
  color: var(--muted);
  line-height: 1.85;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  margin-top: 26px;
}

.gallery-card {
  display: grid;
  gap: 18px;
  padding: 22px;
  border-radius: var(--radius-lg);
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid rgba(255, 255, 255, 0.86);
  box-shadow: var(--shadow-md);
  overflow: hidden;
}

.gallery-card-wide {
  grid-column: span 2;
}

.gallery-meta {
  display: grid;
  gap: 8px;
}

.gallery-meta span {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
}

.gallery-meta strong {
  font-size: 24px;
  line-height: 1.2;
}

.gallery-meta p {
  margin: 0;
  color: var(--muted);
  line-height: 1.75;
}

.gallery-image,
.workflow-image,
.storyboard-image,
.appendix-image {
  border-radius: 26px;
  border: 1px solid rgba(255, 255, 255, 0.94);
  box-shadow:
    0 10px 26px rgba(105, 120, 145, 0.1),
    0 2px 8px rgba(255, 255, 255, 0.42);
  background: rgba(255, 255, 255, 0.9);
}

.feature-card,
.workflow-step,
.workflow-frame,
.timeline-panel,
.aside-card,
.download-card,
.ledger-panel,
.deploy-card {
  border-radius: var(--radius-lg);
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid rgba(255, 255, 255, 0.86);
  box-shadow: var(--shadow-md);
}

.feature-card {
  padding: 24px;
}

.gravity-stage {
  position: relative;
  padding: 24px;
  border-radius: calc(var(--radius-xl) - 2px);
  background:
    radial-gradient(circle at 18% 18%, rgba(93, 135, 255, 0.1), transparent 28%),
    radial-gradient(circle at 84% 22%, rgba(116, 212, 207, 0.14), transparent 26%),
    radial-gradient(circle at 76% 84%, rgba(242, 170, 95, 0.12), transparent 28%),
    linear-gradient(180deg, rgba(252, 253, 255, 0.9), rgba(241, 245, 250, 0.78));
  border: 1px solid rgba(255, 255, 255, 0.84);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.88),
    0 18px 42px rgba(107, 121, 145, 0.08);
  overflow: hidden;
}

.gravity-stage::before {
  content: "";
  position: absolute;
  inset: 18px;
  border-radius: 30px;
  border: 1px dashed rgba(106, 118, 141, 0.16);
  pointer-events: none;
}

.gravity-stage-chips {
  display: flex;
  flex-wrap: wrap;
  align-content: center;
  justify-content: center;
  gap: 12px;
  min-height: 720px;
}

.gravity-card {
  position: relative;
  z-index: 1;
  display: inline-flex;
  flex-direction: column;
  justify-content: center;
  gap: 3px;
  padding: 14px 18px;
  border-radius: 18px;
  color: #fff;
  background: linear-gradient(135deg, var(--c1, #6b7c98), var(--c2, #3c4b66));
  border: 1px solid rgba(255, 255, 255, 0.16);
  box-shadow:
    0 1px 2px rgba(15, 23, 42, 0.04),
    0 6px 14px rgba(15, 23, 42, 0.06),
    0 22px 40px var(--cs, rgba(15, 23, 42, 0.07)),
    inset 0 1px 0 rgba(255, 255, 255, 0.24);
  cursor: grab;
  user-select: none;
  touch-action: none;
}

.gravity-card.is-xl { padding: 18px 22px; border-radius: 22px; gap: 5px; }
.gravity-card.is-md { padding: 12px 16px; border-radius: 16px; gap: 2px; }
.gravity-card.is-sm { padding: 10px 14px; border-radius: 14px; gap: 0; }

.gravity-card.is-brand {
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  overflow: visible;
  gap: 0;
}

.chip-brand-icon {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: contain;
  filter:
    drop-shadow(0 1px 2px rgba(15, 23, 42, 0.12))
    drop-shadow(0 14px 30px rgba(15, 23, 42, 0.16))
    drop-shadow(0 40px 70px rgba(10, 132, 255, 0.2));
}

.gravity-card.is-dragging {
  cursor: grabbing;
  box-shadow:
    0 2px 4px rgba(15, 23, 42, 0.08),
    0 12px 24px rgba(15, 23, 42, 0.1),
    0 32px 58px var(--cs, rgba(15, 23, 42, 0.12)),
    inset 0 1px 0 rgba(255, 255, 255, 0.3);
}

.chip-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: rgba(255, 255, 255, 0.95);
  margin-bottom: 2px;
}

.chip-icon svg { width: 22px; height: 22px; }
.is-xl .chip-icon svg { width: 26px; height: 26px; }

.chip-head {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.chip-tag {
  display: inline-flex;
  align-items: center;
  color: rgba(255, 255, 255, 0.8);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.chip-lead {
  font-size: 17px;
  font-weight: 700;
  line-height: 1.22;
  color: #fff;
  letter-spacing: 0.01em;
}

.is-xl .chip-lead { font-size: 21px; }
.is-md .chip-lead { font-size: 15px; }
.is-sm .chip-lead { font-size: 13px; letter-spacing: 0.02em; }

.chip-sub {
  margin-top: 2px;
  color: rgba(255, 255, 255, 0.86);
  font-size: 12.5px;
  line-height: 1.42;
}

.gravity-stage.is-enhanced {
  display: block;
  overflow: visible;
  z-index: 5;
}

.gravity-stage.is-enhanced .gravity-card {
  position: absolute;
  margin: 0;
  z-index: 6;
  top: 0;
  left: 0;
}


.workflow-caption h3 {
  margin: 14px 0 0;
  font-size: 24px;
  line-height: 1.28;
}

.workflow-caption p {
  margin: 12px 0 0;
  color: var(--muted);
  line-height: 1.8;
}

.workflow-image {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: contain;
}

.feature-large {
  grid-column: span 2;
}

.feature-card h3 {
  margin: 16px 0 0;
  font-size: 24px;
  line-height: 1.28;
}

.feature-card p,
.workflow-step p,
.aside-card p,
.deploy-card p {
  margin: 12px 0 0;
  color: var(--muted);
  line-height: 1.8;
}

.feature-card ul {
  margin: 18px 0 0;
  padding-left: 18px;
  color: var(--muted);
  line-height: 1.85;
}

.workflow-grid,
.workflow-filmstrip,
.deploy-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
  margin-top: 26px;
}

.workflow-step,
.deploy-card {
  padding: 22px;
}

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

.workflow-frame {
  display: grid;
  overflow: hidden;
}

.workflow-frame-wide {
  grid-column: span 3;
  grid-template-columns: minmax(360px, 1.18fr) minmax(0, 0.82fr);
  align-items: stretch;
}

.workflow-frame:not(.workflow-frame-wide) .workflow-image {
  aspect-ratio: 16 / 11;
}

.workflow-frame-wide .workflow-image {
  min-height: 320px;
}

.workflow-caption {
  padding: 22px;
}

.workflow-caption .step-no {
  margin-bottom: 6px;
}

.workflow-step h3,
.deploy-card h3,
.aside-card h3 {
  margin: 14px 0 0;
  font-size: 22px;
  line-height: 1.3;
}

.journey-board {
  display: grid;
  gap: 18px;
  margin-top: 26px;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  grid-auto-rows: minmax(88px, auto);
}

.journey-lead-card,
.journey-phase-card,
.journey-note-card,
.appendix-card {
  border-radius: var(--radius-lg);
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid rgba(255, 255, 255, 0.86);
  box-shadow: var(--shadow-md);
  overflow: hidden;
}

.journey-lead-card {
  display: grid;
  grid-column: 1 / span 8;
  grid-row: 1 / span 4;
  grid-template-columns: minmax(0, 0.82fr) minmax(320px, 1.08fr);
  align-items: stretch;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.86), rgba(244, 247, 252, 0.78));
  transform: translateY(10px);
}

.journey-lead-copy,
.journey-phase-copy,
.journey-note-card,
.appendix-copy {
  padding: 24px;
}

.journey-lead-copy h3,
.journey-phase-copy h3,
.appendix-copy h3 {
  margin: 14px 0 0;
  font-size: 24px;
  line-height: 1.3;
}

.journey-lead-copy p,
.journey-phase-copy p,
.appendix-copy p,
.journey-note-card p {
  margin: 12px 0 0;
  color: var(--muted);
  line-height: 1.8;
}

.journey-lead-image,
.journey-phase-image,
.journey-note-image,
.appendix-image {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: contain;
  padding: 14px;
  background: linear-gradient(180deg, rgba(252, 253, 255, 0.94), rgba(241, 244, 250, 0.88));
}

.journey-phase-card {
  display: grid;
  align-items: stretch;
}

.journey-phase-card-a {
  grid-column: 9 / span 4;
  grid-row: 1 / span 2;
  transform: translate(-10px, 22px) rotate(-1deg);
  z-index: 5;
}

.journey-phase-card-b {
  grid-column: 8 / span 5;
  grid-row: 3 / span 2;
  grid-template-columns: minmax(0, 0.78fr) minmax(240px, 1.02fr);
  transform: translate(-24px, -8px) rotate(0.9deg);
  z-index: 4;
}

.journey-phase-card-c {
  grid-column: 3 / span 5;
  grid-row: 4 / span 2;
  grid-template-columns: minmax(220px, 0.98fr) minmax(0, 0.82fr);
  transform: translate(52px, -26px) rotate(-0.8deg);
  z-index: 6;
}

.journey-phase-card-a .journey-phase-image {
  aspect-ratio: 16 / 10;
}

.journey-phase-card-b .journey-phase-image,
.journey-phase-card-c .journey-phase-image {
  min-height: 100%;
}

.journey-metrics {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  margin-top: 18px;
}

.journey-metrics article {
  padding: 20px 22px;
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.66);
  border: 1px solid rgba(255, 255, 255, 0.82);
  box-shadow: var(--shadow-sm);
}

.journey-metrics span {
  display: block;
  color: var(--muted);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.journey-metrics strong {
  display: block;
  margin-top: 10px;
  font-size: 30px;
  line-height: 1.05;
}

.journey-metrics small {
  display: block;
  margin-top: 8px;
  color: var(--muted);
  line-height: 1.7;
}

.journey-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(320px, 0.9fr);
  gap: 18px;
  margin-top: 26px;
}

.timeline-panel,
.ledger-panel {
  padding: 24px;
}

.panel-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.panel-head strong {
  font-size: 18px;
}

.panel-head a {
  color: var(--blue);
  font-weight: 700;
}

.timeline-list,
.ledger-list {
  display: grid;
  gap: 14px;
  margin-top: 20px;
}

.timeline-entry,
.ledger-entry {
  padding: 18px 18px 18px 20px;
  border-radius: 20px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.84), rgba(245, 247, 251, 0.72));
  box-shadow: var(--shadow-sm);
  border: 1px solid rgba(255, 255, 255, 0.82);
}

.timeline-entry small,
.ledger-entry small {
  color: var(--muted);
}

.timeline-entry h3 {
  margin: 10px 0 0;
  font-size: 20px;
  line-height: 1.35;
}

.timeline-entry p {
  margin: 10px 0 0;
  color: var(--muted);
  line-height: 1.8;
}

.timeline-entry .evidence {
  display: inline-flex;
  margin-top: 12px;
  padding: 8px 10px;
  border-radius: 999px;
  background: rgba(93, 135, 255, 0.08);
  color: var(--blue);
  font-size: 12px;
  font-weight: 700;
}

.journey-summary-grid {
  display: grid;
  gap: 18px;
}

.journey-note-card h3 {
  margin: 14px 0 0;
  font-size: 22px;
  line-height: 1.3;
}

.journey-note-card-image {
  padding: 0;
}

.logs-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(320px, 0.95fr);
  gap: 18px;
  margin-top: 26px;
}

.appendix-card {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(280px, 0.9fr);
  align-items: stretch;
}

.appendix-points {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 18px;
}

.appendix-points span {
  padding: 8px 12px;
  border-radius: 999px;
  background: rgba(93, 135, 255, 0.08);
  color: var(--blue);
  font-size: 12px;
  font-weight: 700;
}

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

.download-card {
  padding: 22px;
  display: grid;
  gap: 10px;
  transition: transform 180ms ease, box-shadow 180ms ease;
}

.download-card strong {
  font-size: 20px;
}

.download-card small {
  color: var(--muted);
  line-height: 1.7;
}

.download-card:hover,
.download-card:focus-visible {
  transform: translateY(-3px);
  box-shadow: 18px 18px 38px rgba(105, 120, 145, 0.15), -14px -14px 28px rgba(255, 255, 255, 0.84);
  outline: none;
}

.ledger-panel {
  margin-top: 20px;
}

.logs-panels {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(320px, 0.85fr);
  gap: 18px;
  margin-top: 20px;
}

.ledger-entry {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 10px 18px;
  align-items: center;
}

.ledger-entry strong {
  display: block;
  font-size: 15px;
  line-height: 1.55;
}

.ledger-entry .meta {
  display: inline-flex;
  flex-wrap: wrap;
  gap: 8px;
}

.ledger-chip {
  padding: 6px 10px;
  border-radius: 999px;
  background: rgba(103, 113, 132, 0.08);
  color: var(--muted);
  font-size: 12px;
  font-weight: 700;
}

.release-panel {
  margin-top: 20px;
}

.release-note-list {
  display: grid;
  gap: 14px;
  margin-top: 20px;
}

.release-note {
  padding: 18px;
  border-radius: 20px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.84), rgba(245, 247, 251, 0.72));
  box-shadow: var(--shadow-sm);
  border: 1px solid rgba(255, 255, 255, 0.82);
}

.release-note-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.release-note-head strong {
  font-size: 20px;
}

.release-status {
  padding: 7px 10px;
  border-radius: 999px;
  background: rgba(93, 192, 132, 0.1);
  color: #2c7a4c;
  font-size: 12px;
  font-weight: 700;
}

.release-note ul {
  margin: 14px 0 0;
  padding-left: 18px;
  color: var(--muted);
  line-height: 1.8;
}

.footer {
  width: min(var(--max), calc(100% - 32px));
  margin: 0 auto 32px;
  padding: 24px 28px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 14px;
}

.footer-icon {
  width: 42px;
  height: 42px;
  border-radius: 14px;
}

.footer-brand strong {
  display: block;
}

.footer-brand small,
.footer p {
  color: var(--muted);
}

.footer p {
  max-width: 46ch;
  line-height: 1.75;
}

[data-reveal] {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 520ms ease, transform 520ms ease;
}

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

@media (max-width: 1180px) {
  .hero,
  .journey-board,
  .journey-metrics,
  .journey-layout,
  .logs-layout,
  .logs-panels,
  .workflow-grid,
  .workflow-filmstrip,
  .deploy-grid,
  .log-downloads,
  .gallery-grid,
  .proof-strip {
    grid-template-columns: 1fr;
  }

  .feature-large {
    grid-column: auto;
  }

  .workflow-frame-wide {
    grid-column: auto;
    grid-template-columns: 1fr;
  }

  .hero-physics {
    min-height: 520px;
  }

  .gallery-card-wide {
    grid-column: auto;
  }
}

@media (max-width: 860px) {
  .topbar,
  main,
  .footer {
    width: min(var(--max), calc(100% - 20px));
  }

  .topbar,
  .footer {
    border-radius: 28px;
  }

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

  .hero,
  .section,
  .footer {
    padding: 24px;
  }

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

  .proof-strip article {
    padding: 20px;
  }

  .workflow-caption {
    padding: 20px;
  }

  .ledger-entry {
    grid-template-columns: 1fr;
  }

  .release-note-head {
    align-items: flex-start;
    flex-direction: column;
  }

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

@media (max-width: 580px) {
  .hero-copy h1,
  .section-heading h2 {
    max-width: none;
  }

  .hero-physics {
    min-height: auto;
  }

  .workflow-frame:not(.workflow-frame-wide) .workflow-image,
  .workflow-frame-wide .workflow-image {
    aspect-ratio: 16 / 10;
    min-height: auto;
  }
}

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

  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }

  [data-reveal] {
    opacity: 1;
    transform: none;
  }
}
