:root {
  color-scheme: dark;
  --color-background: #050505;
  --color-surface: #0d0d0d;
  --color-surface-muted: #151515;
  --color-border-subtle: #1c1c1e;
  --color-border: #303033;
  --color-text-primary: #f5f5f7;
  --color-text-secondary: #a1a1a6;
  --color-text-muted: #6e6e73;
  --color-accent: #f5f5f7;
  --color-signal: #45c486;
  --header-background: rgba(0, 0, 0, 0.96);
  --layout-max: 1180px;
  --radius-small: 8px;
  --radius-medium: 18px;
}

:root[data-theme="light"] {
  color-scheme: light;
  --color-background: #f7f7f5;
  --color-surface: #ffffff;
  --color-surface-muted: #eeeeeb;
  --color-border-subtle: #ddddda;
  --color-border: #c6c6c2;
  --color-text-primary: #111113;
  --color-text-secondary: #4d4d52;
  --color-text-muted: #69696f;
  --color-accent: #111113;
  --color-signal: #147a4f;
  --header-background: rgba(247, 247, 245, 0.96);
}

* {
  box-sizing: border-box;
}

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

body {
  margin: 0;
  color: var(--color-text-primary);
  background: var(--color-background);
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Display", "SF Pro Text",
    "PingFang SC", "Microsoft YaHei", "Noto Sans CJK SC", "Segoe UI", sans-serif;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

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

a:focus-visible,
button:focus-visible,
summary:focus-visible {
  outline: 2px solid var(--color-signal);
  outline-offset: 4px;
}

p,
h1,
h2,
h3,
ul,
ol {
  margin: 0;
}

.shell {
  width: min(calc(100% - 64px), var(--layout-max));
  margin-inline: auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  border-bottom: 1px solid var(--color-border-subtle);
  background: var(--header-background);
}

.header-inner {
  display: grid;
  grid-template-columns: 150px minmax(0, 1fr) auto;
  align-items: center;
  gap: 20px;
  min-height: 76px;
}

.brand {
  display: inline-flex;
  align-items: center;
  justify-self: start;
  gap: 10px;
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.08em;
}

.brand img {
  display: block;
  width: 36px;
  height: 36px;
  flex: 0 0 36px;
  border-radius: 7px;
  object-fit: cover;
}

.desktop-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 28px;
}

.desktop-nav a,
.language {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  justify-content: center;
  color: var(--color-text-secondary);
  font-size: 12px;
  font-weight: 560;
  transition: color 160ms ease-out;
}

.header-actions,
.display-controls {
  display: flex;
  align-items: center;
}

.header-actions {
  justify-self: end;
  gap: 12px;
}

.display-controls {
  gap: 6px;
}

.control {
  min-height: 34px;
  padding: 0 11px;
  border: 1px solid var(--color-border);
  border-radius: 999px;
  color: var(--color-text-primary);
  background: transparent;
  font: inherit;
  font-size: 11px;
  font-weight: 650;
  cursor: pointer;
}

.control:hover {
  border-color: var(--color-text-secondary);
}

.control:active {
  transform: translateY(1px);
}

.theme-control {
  display: inline-flex;
  min-width: 44px;
  min-height: 44px;
  align-items: center;
  justify-content: center;
  padding: 0;
}

.theme-icon {
  width: 21px;
  height: 21px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.desktop-nav a:hover,
.desktop-nav a[aria-current="page"] {
  color: var(--color-text-primary);
}

.language {
  justify-self: end;
  min-height: 32px;
  padding: 0 12px;
  border: 1px solid var(--color-border);
  border-radius: 999px;
  color: var(--color-text-primary);
}

.mobile-nav {
  display: none;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.12fr) minmax(320px, 0.88fr);
  align-items: center;
  gap: 72px;
  min-height: calc(100svh - 72px);
  padding: 104px 0;
}

.hero > div:first-child {
  max-width: 740px;
  margin-inline: 0;
  text-align: left;
}

.page-hero {
  min-height: 680px;
}

.eyebrow {
  color: var(--color-text-secondary);
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

h1 {
  max-width: 760px;
  margin: 24px 0 0;
  font-size: clamp(56px, 5.6vw, 82px);
  font-weight: 680;
  letter-spacing: -0.064em;
  line-height: 0.98;
  text-wrap: balance;
}

.page-hero h1 {
  max-width: 760px;
  font-size: clamp(52px, 5vw, 72px);
}

.lead {
  max-width: 780px;
  margin: 32px 0 0;
  color: var(--color-text-secondary);
  font-size: 20px;
  line-height: 1.7;
  text-wrap: pretty;
}

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 36px;
}

.hero .actions {
  justify-content: flex-start;
}

.button {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  padding: 0 20px;
  border: 1px solid var(--color-border);
  border-radius: 999px;
  color: var(--color-text-primary);
  font-size: 14px;
  font-weight: 620;
  transition: border-color 160ms ease-out, color 160ms ease-out,
    background 160ms ease-out;
}

.button:hover {
  border-color: var(--color-text-secondary);
}

.button.primary {
  border-color: var(--color-text-primary);
  color: var(--color-background);
  background: var(--color-text-primary);
}

.button.primary:hover {
  border-color: var(--color-text-primary);
  background: var(--color-text-primary);
  color: var(--color-background);
}

.product-status {
  display: inline-flex;
  max-width: 100%;
  margin-top: 24px;
}

.trust-line {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 10px;
  margin-top: 28px;
  color: var(--color-text-secondary);
  font-size: 13px;
  font-weight: 560;
}

.trust-line::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--color-signal);
}

.hero-panel {
  width: 100%;
  margin: 0;
  padding: 28px;
  border: 1px solid var(--color-border);
  border-radius: 24px;
  background: var(--color-surface);
}

.panel-kicker {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 18px;
  color: var(--color-text-muted);
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 11px;
  letter-spacing: 0.1em;
}

.status {
  display: inline-flex;
  min-height: 26px;
  align-items: center;
  padding: 0 9px;
  border: 1px solid var(--color-border);
  border-radius: 999px;
  color: var(--color-text-secondary);
  background: transparent;
  font-size: 11px;
  font-weight: 600;
}

.status.warning {
  border-color: var(--color-border);
  color: var(--color-text-secondary);
  background: transparent;
}

.status.success {
  border-color: rgba(69, 196, 134, 0.38);
  color: var(--color-signal);
  background: rgba(69, 196, 134, 0.07);
}

.workflow {
  display: grid;
  grid-template-columns: 1fr;
}

.workflow-row {
  display: grid;
  grid-template-columns: 36px 1fr auto;
  min-height: 72px;
  align-items: center;
  gap: 12px;
  padding: 12px 0;
  border-top: 1px solid var(--color-border-subtle);
  text-align: left;
}

.workflow-row:first-child {
  border-top: 0;
}

.workflow-row span:first-child {
  color: var(--color-text-muted);
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 11px;
}

.workflow-row strong {
  font-size: 15px;
  font-weight: 600;
}

.workflow-row .status {
  justify-self: end;
}

.section {
  padding: 136px 0;
  border-top: 1px solid var(--color-border-subtle);
}

.section-heading {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 96px;
  align-items: end;
  margin-bottom: 64px;
}

.section-heading h2,
.split h2,
.cta-panel h2 {
  max-width: 760px;
  margin-top: 18px;
  font-size: clamp(42px, 5vw, 70px);
  font-weight: 640;
  letter-spacing: -0.052em;
  line-height: 1.04;
  text-wrap: balance;
}

.section-heading > p,
.split > p {
  color: var(--color-text-secondary);
  font-size: 18px;
  line-height: 1.78;
}

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

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

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

.card {
  min-height: 230px;
  padding: 30px 0 20px;
  border-top: 1px solid var(--color-border);
  background: transparent;
}

.card-number {
  color: var(--color-text-muted);
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 11px;
  letter-spacing: 0.06em;
}

.card h3 {
  margin-top: 46px;
  font-size: 22px;
  font-weight: 620;
  line-height: 1.3;
}

.card p {
  margin-top: 14px;
  color: var(--color-text-secondary);
  font-size: 15px;
  line-height: 1.75;
}

.card .status {
  margin-top: 20px;
}

.card .actions {
  margin-top: 22px;
}

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

.progress-item {
  display: grid;
  gap: 12px;
  padding: 24px 0;
  border-top: 1px solid var(--color-border);
}

.progress-item strong {
  font-size: 18px;
}

.progress-item p {
  color: var(--color-text-secondary);
  line-height: 1.65;
}

.split {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: 112px;
  align-items: start;
}

.split .lead {
  margin-inline: 0;
}

.list {
  display: grid;
  gap: 0;
  list-style: none;
  padding: 0;
  border-top: 1px solid var(--color-border);
}

.list li {
  padding: 24px 0;
  border-bottom: 1px solid var(--color-border-subtle);
  color: var(--color-text-secondary);
  line-height: 1.65;
}

.list strong {
  color: var(--color-text-primary);
}

.sequence {
  display: grid;
  gap: 0;
  padding: 0;
  border-top: 1px solid var(--color-border);
  counter-reset: steps;
}

.sequence li {
  display: grid;
  grid-template-columns: 64px 1fr;
  align-items: center;
  min-height: 82px;
  padding: 18px 0;
  border-bottom: 1px solid var(--color-border-subtle);
  color: var(--color-text-secondary);
  list-style: none;
  counter-increment: steps;
}

.sequence li::before {
  content: "0" counter(steps);
  color: var(--color-text-muted);
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 11px;
}

.proof {
  max-width: 980px;
  margin-inline: auto;
  padding: 0;
  color: var(--color-text-secondary);
  font-size: clamp(24px, 3.4vw, 44px);
  line-height: 1.35;
  text-align: center;
  text-wrap: balance;
}

.proof strong {
  color: var(--color-text-primary);
}

.cta-panel {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: end;
  gap: 56px;
  padding: 72px;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-medium);
  background: var(--color-surface);
}

.cta-panel p {
  max-width: 720px;
  margin-top: 20px;
  color: var(--color-text-secondary);
  line-height: 1.75;
}

.contact-section {
  scroll-margin-top: 92px;
}

.contact-panel {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 72px;
  padding: 64px;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-medium);
  background: var(--color-surface);
}

.contact-panel h2 {
  margin-top: 18px;
  font-size: clamp(38px, 4.4vw, 60px);
  font-weight: 640;
  letter-spacing: -0.045em;
  line-height: 1.05;
}

.contact-panel > div > p:not(.eyebrow) {
  margin-top: 20px;
  color: var(--color-text-secondary);
  line-height: 1.75;
}

.contact-details {
  padding-top: 4px;
}

.contact-account {
  color: var(--color-text-primary) !important;
  font-size: 18px;
  font-weight: 620;
}

.copy-account-button {
  min-height: 48px;
  margin-top: 18px;
  color: var(--color-text-primary);
  background: transparent;
  font-family: inherit;
  cursor: pointer;
}

.copy-feedback {
  min-height: 24px;
  margin-top: 12px !important;
  color: var(--color-text-secondary);
  font-size: 14px;
  line-height: 1.6;
}

.copy-feedback[data-state="success"] {
  color: var(--color-signal);
}

.contact-steps {
  display: grid;
  gap: 10px;
  margin: 20px 0 0;
  padding: 0;
  counter-reset: contact-steps;
  list-style: none;
}

.contact-steps li {
  display: grid;
  grid-template-columns: 32px 1fr;
  align-items: start;
  color: var(--color-text-secondary);
  line-height: 1.65;
  counter-increment: contact-steps;
}

.contact-steps li::before {
  content: counter(contact-steps, decimal-leading-zero);
  color: var(--color-text-muted);
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 11px;
  line-height: 1.8;
}

.contact-note {
  margin-top: 24px !important;
  padding-top: 20px;
  border-top: 1px solid var(--color-border-subtle);
  font-size: 13px;
}

.site-footer {
  padding: 40px 0 52px;
  border-top: 1px solid var(--color-border-subtle);
  color: var(--color-text-muted);
  font-size: 12px;
}

.footer-inner {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 36px;
}

.footer-legal,
.footer-contact {
  display: grid;
  gap: 10px;
}

.footer-contact {
  justify-items: end;
  text-align: right;
}

.site-footer a:hover {
  color: var(--color-text-primary);
}

.mobile-home {
  display: none;
}

@media (min-width: 761px) {
  .mobile-home {
    display: none;
  }
}

@media (max-width: 1080px) {
  .header-inner {
    grid-template-columns: 1fr auto;
  }

  .desktop-nav,
  .language {
    display: none;
  }

  .mobile-nav {
    position: relative;
    display: block;
    justify-self: end;
  }

  .header-actions {
    gap: 8px;
  }

  .control {
    min-width: 44px;
    min-height: 44px;
  }

  .mobile-nav summary {
    display: inline-flex;
    min-height: 44px;
    align-items: center;
    padding: 0 13px;
    border: 1px solid var(--color-border);
    border-radius: 999px;
    color: var(--color-text-primary);
    cursor: pointer;
    list-style: none;
  }

  .mobile-nav summary::-webkit-details-marker {
    display: none;
  }

  .mobile-links {
    position: absolute;
    top: 48px;
    right: 0;
    display: grid;
    width: min(300px, calc(100vw - 36px));
    max-height: calc(100vh - 68px - env(safe-area-inset-bottom));
    max-height: calc(100svh - 68px - env(safe-area-inset-bottom));
    max-height: calc(100dvh - 68px - env(safe-area-inset-bottom));
    padding: 8px;
    border: 1px solid var(--color-border);
    border-radius: var(--radius-small);
    background: var(--color-surface-muted);
    overflow-y: auto;
    overscroll-behavior: contain;
  }

  .mobile-links a {
    display: grid;
    min-height: 48px;
    align-content: center;
    gap: 2px;
    padding: 6px 12px;
    color: var(--color-text-secondary);
  }

  .mobile-links a[aria-current="page"] .nav-label {
    color: var(--color-text-primary);
  }

  .mobile-links a[href="https://os.xmlab.fun/"] .nav-label {
    color: var(--color-text-primary);
  }

  .mobile-nav-status {
    color: var(--color-text-muted);
    font-size: 12px;
    font-weight: 520;
    line-height: 1.35;
  }

  .mobile-nav-group-label {
    padding: 8px 12px 4px;
    color: var(--color-text-muted);
    font-size: 12px;
    font-weight: 620;
    letter-spacing: 0.08em;
  }

  .mobile-nav-divider {
    height: 1px;
    margin: 4px 8px;
    background: var(--color-border-subtle);
  }

  .hero {
    grid-template-columns: 1fr;
    gap: 52px;
  }

  .hero > div:first-child {
    max-width: 820px;
  }

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

  .section-heading,
  .split {
    grid-template-columns: 1fr;
    gap: 36px;
  }

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

  .contact-panel {
    grid-template-columns: 1fr;
    gap: 36px;
  }
}

@media (max-width: 760px) {
  body {
    font-size: 17px;
    line-height: 1.6;
  }

  body.home-page {
    display: grid;
    grid-template-rows: auto minmax(0, 1fr) auto;
    min-height: 100vh;
    min-height: 100svh;
    min-height: 100dvh;
    overflow-x: hidden;
  }

  body.home-page .site-header {
    position: relative;
    padding-top: env(safe-area-inset-top);
  }

  body.home-page main {
    min-height: 0;
  }

  .desktop-home {
    display: none;
  }

  .mobile-home {
    display: flex;
    height: 100%;
    min-height: 0;
    align-items: center;
    padding: 8px 0;
  }

  .mobile-home-inner {
    display: grid;
    align-content: center;
    gap: 9px;
    padding: 2px 0;
  }

  .mobile-home h1 {
    max-width: 100%;
    margin-top: 0;
    font-size: clamp(38px, 10.2vw, 42px);
    line-height: 1.02;
    text-wrap: balance;
  }

  .mobile-home .eyebrow {
    font-size: 8.5px;
    letter-spacing: 0.11em;
  }

  .mobile-home-lead {
    color: var(--color-text-secondary);
    font-size: 17px;
    line-height: 1.6;
  }

  .mobile-home .trust-line {
    margin-top: 0;
    font-size: 14px;
  }

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

  .mobile-product-link {
    display: grid;
    min-width: 0;
    min-height: 72px;
    align-content: center;
    gap: 5px;
    padding: 7px 10px;
    border: 1px solid var(--color-border);
    border-radius: 12px;
    background: var(--color-surface);
  }

  .mobile-product-link > span {
    overflow: hidden;
    font-size: 16px;
    font-weight: 620;
    line-height: 1.25;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .mobile-product-link .status {
    justify-self: start;
    min-height: 24px;
    padding: 0 6px;
    font-size: 14px;
    line-height: 1.2;
  }

  .mobile-home-cta {
    width: 100%;
    min-height: 48px;
    margin-top: 0;
    font-size: 17px;
  }

  body.home-page .site-footer {
    padding: 8px 0 calc(8px + env(safe-area-inset-bottom));
    font-size: 9.5px;
    line-height: 1.25;
  }

  body.home-page .footer-inner {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 10px;
  }

  body.home-page .footer-legal,
  body.home-page .footer-contact {
    gap: 2px;
  }

  body.home-page .footer-contact {
    justify-items: end;
    text-align: right;
  }

  .shell {
    width: min(calc(100% - 36px), var(--layout-max));
  }

  .header-inner {
    min-height: 58px;
  }

  .brand {
    font-size: 14px;
  }

  .brand img {
    width: 28px;
    height: 28px;
    flex-basis: 28px;
  }

  .hero,
  .page-hero {
    min-height: auto;
    padding: 80px 0 72px;
  }

  h1,
  .page-hero h1 {
    margin-top: 18px;
    font-size: clamp(42px, 13.2vw, 54px);
    line-height: 1.02;
  }

  .lead {
    margin-top: 26px;
    font-size: 17px;
    line-height: 1.68;
  }

  .section-heading > p,
  .split > p,
  .card p,
  .progress-item p,
  .list li,
  .sequence li,
  .contact-panel > div > p:not(.eyebrow),
  .contact-steps li {
    font-size: 17px;
    line-height: 1.65;
  }

  .status {
    font-size: 14px;
  }

  .copy-account-button {
    font-size: 17px;
  }

  .actions {
    display: grid;
    width: 100%;
    margin-top: 30px;
  }

  .button {
    width: 100%;
    min-height: 50px;
    font-size: 17px;
  }

  .trust-line {
    margin-top: 24px;
  }

  .hero-panel {
    margin-top: 52px;
  }

  .workflow-row {
    grid-template-columns: 32px 1fr auto;
    min-height: 68px;
    align-items: center;
    padding: 14px 0;
    border-top: 1px solid var(--color-border-subtle);
    border-left: 0;
  }

  .workflow-row strong {
    font-size: 14px;
  }

  .section {
    padding: 88px 0;
  }

  .section-heading {
    margin-bottom: 42px;
  }

  .section-heading h2,
  .split h2,
  .cta-panel h2 {
    font-size: 40px;
    line-height: 1.08;
  }

  .section-heading > p,
  .split > p {
    font-size: 17px;
  }

  .grid,
  .grid.two,
  .grid.four,
  .progress-grid {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .card {
    min-height: auto;
    padding: 26px 0 32px;
  }

  .card h3 {
    margin-top: 30px;
  }

  .cta-panel {
    grid-template-columns: 1fr;
    align-items: start;
    padding: 36px 24px;
  }

  .contact-panel {
    padding: 36px 24px;
  }

  .footer-inner {
    flex-direction: column;
    gap: 12px;
  }

  .footer-contact {
    justify-items: start;
    text-align: left;
  }
}

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

  *,
  *::before,
  *::after {
    transition-duration: 0.01ms !important;
  }
}

/* HOME_PROJECTS_V1: reality technology lab / project showcase */

.home-projects-page main {
  overflow: hidden;
}

.projects-hero {
  position: relative;
  min-height: calc(100svh - 76px);
  display: grid;
  align-items: center;
  padding: clamp(72px, 11vw, 154px) 0 clamp(56px, 8vw, 104px);
}

.projects-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(circle at 76% 28%, rgba(255, 255, 255, 0.09), transparent 24%),
    linear-gradient(120deg, transparent 0 62%, rgba(255, 255, 255, 0.035) 62% 62.4%, transparent 62.4%),
    linear-gradient(var(--color-border-subtle) 1px, transparent 1px),
    linear-gradient(90deg, var(--color-border-subtle) 1px, transparent 1px);
  background-size: auto, auto, 72px 72px, 72px 72px;
  opacity: 0.34;
  mask-image: radial-gradient(circle at 62% 28%, #000 0 36%, transparent 72%);
}

:root[data-theme="light"] .projects-hero::before {
  opacity: 0.5;
}

.projects-hero-inner {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(360px, 0.58fr);
  align-items: center;
  gap: clamp(40px, 8vw, 112px);
}

.projects-hero-copy {
  max-width: 760px;
}

.projects-hero h1 {
  margin-top: 18px;
  font-size: clamp(72px, 12vw, 184px);
  font-weight: 760;
  line-height: 0.86;
  letter-spacing: -0.08em;
}

.hero-subtitle {
  margin-top: clamp(18px, 2.8vw, 34px);
  font-size: clamp(22px, 3vw, 44px);
  line-height: 1;
  letter-spacing: -0.035em;
  color: var(--color-text-primary);
}

.hero-statement {
  margin-top: clamp(28px, 4vw, 54px);
  max-width: 760px;
  font-size: clamp(34px, 5.2vw, 82px);
  font-weight: 680;
  line-height: 1.04;
  letter-spacing: -0.06em;
}

.projects-hero .lead {
  max-width: 720px;
  margin-top: 22px;
  font-size: clamp(18px, 1.6vw, 24px);
  line-height: 1.58;
}

.projects-hero .actions {
  margin-top: 34px;
}

.lab-visual {
  position: relative;
  aspect-ratio: 1;
  border: 1px solid var(--color-border);
  border-radius: 50%;
  background:
    radial-gradient(circle at 50% 50%, rgba(255, 255, 255, 0.14), transparent 1.5px),
    radial-gradient(circle at 50% 50%, transparent 0 35%, rgba(255, 255, 255, 0.06) 35.3% 35.8%, transparent 36.1% 100%),
    linear-gradient(135deg, var(--color-surface), var(--color-background));
  box-shadow:
    inset 0 0 70px rgba(255, 255, 255, 0.035),
    0 40px 120px rgba(0, 0, 0, 0.3);
  overflow: hidden;
}

:root[data-theme="light"] .lab-visual {
  background:
    radial-gradient(circle at 50% 50%, rgba(17, 17, 19, 0.18), transparent 1.5px),
    radial-gradient(circle at 50% 50%, transparent 0 35%, rgba(17, 17, 19, 0.08) 35.3% 35.8%, transparent 36.1% 100%),
    linear-gradient(135deg, var(--color-surface), var(--color-surface-muted));
}

.lab-orbit,
.lab-grid,
.lab-node {
  position: absolute;
  display: block;
}

.lab-orbit {
  inset: 16%;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 50%;
}

:root[data-theme="light"] .lab-orbit {
  border-color: rgba(17, 17, 19, 0.18);
}

.lab-grid {
  inset: 28%;
  border: 1px solid var(--color-border);
  transform: rotate(45deg);
}

.lab-node {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--color-text-primary);
  box-shadow: 0 0 30px rgba(255, 255, 255, 0.38);
}

.node-a { left: 28%; top: 24%; }
.node-b { right: 22%; top: 48%; }
.node-c { left: 46%; bottom: 22%; }

.projects-section {
  padding-top: clamp(72px, 9vw, 128px);
  scroll-margin-top: 96px;
}

.project-rail-wrap {
  width: min(100%, calc(var(--layout-max) + (100vw - var(--layout-max)) / 2));
  margin: 36px 0 0 auto;
  padding-left: max(32px, calc((100vw - var(--layout-max)) / 2));
}

.project-rail {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: minmax(760px, 78vw);
  gap: 24px;
  overflow-x: auto;
  overscroll-behavior-x: contain;
  scroll-snap-type: x mandatory;
  scroll-padding-left: max(32px, calc((100vw - var(--layout-max)) / 2));
  padding: 0 max(32px, calc((100vw - var(--layout-max)) / 2)) 18px 0;
  -webkit-overflow-scrolling: touch;
}

.project-rail::-webkit-scrollbar {
  height: 8px;
}

.project-rail::-webkit-scrollbar-thumb {
  background: var(--color-border);
  border-radius: 999px;
}

.project-card {
  min-height: clamp(560px, 62vw, 720px);
  display: grid;
  grid-template-rows: minmax(260px, 1fr) auto;
  border: 1px solid var(--color-border);
  border-radius: 34px;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.055), transparent 42%),
    var(--color-surface);
  overflow: hidden;
  scroll-snap-align: start;
}

.project-visual {
  position: relative;
  min-height: 320px;
  overflow: hidden;
  border-bottom: 1px solid var(--color-border-subtle);
  background:
    radial-gradient(circle at 24% 22%, rgba(255, 255, 255, 0.2), transparent 2px),
    radial-gradient(circle at 70% 46%, rgba(255, 255, 255, 0.18), transparent 2px),
    linear-gradient(135deg, rgba(255, 255, 255, 0.055), transparent 52%);
}

.project-visual::before,
.project-visual::after,
.project-visual span {
  content: "";
  position: absolute;
  display: block;
}

.project-visual::before {
  inset: 42px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 26px;
}

.project-visual::after {
  inset: 0;
  background:
    linear-gradient(var(--color-border-subtle) 1px, transparent 1px),
    linear-gradient(90deg, var(--color-border-subtle) 1px, transparent 1px);
  background-size: 42px 42px;
  opacity: 0.52;
  mask-image: radial-gradient(circle at 50% 50%, #000, transparent 78%);
}

.project-visual span {
  width: min(32vw, 280px);
  height: min(32vw, 280px);
  left: 50%;
  top: 50%;
  border: 1px solid rgba(255, 255, 255, 0.26);
  transform: translate(-50%, -50%);
}

.project-nfc .project-visual span {
  border-radius: 32px;
  box-shadow: inset 0 0 0 18px rgba(255, 255, 255, 0.035);
}

.project-materials .project-visual span {
  border-radius: 50%;
  background: repeating-linear-gradient(135deg, transparent 0 16px, rgba(255, 255, 255, 0.055) 16px 18px);
}

.project-housing .project-visual span {
  width: min(34vw, 320px);
  height: min(22vw, 220px);
  transform: translate(-50%, -35%) skewY(-8deg);
}

.project-farm .project-visual span {
  width: min(38vw, 360px);
  height: min(18vw, 180px);
  border-radius: 999px 999px 24px 24px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.09), transparent);
}

.project-content {
  padding: clamp(28px, 4vw, 48px);
}

.project-code {
  color: var(--color-text-muted);
  font-size: 13px;
  line-height: 1.2;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.project-card h3 {
  max-width: 760px;
  margin-top: 16px;
  font-size: clamp(30px, 4.1vw, 58px);
  font-weight: 680;
  line-height: 1.04;
  letter-spacing: -0.055em;
}

.project-card p:not(.project-code) {
  max-width: 720px;
  margin-top: 20px;
  color: var(--color-text-secondary);
  font-size: clamp(18px, 1.6vw, 22px);
  line-height: 1.58;
}

.project-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
  align-items: center;
}

.project-meta > span:first-child {
  display: inline-flex;
  min-height: 34px;
  align-items: center;
  border: 1px solid var(--color-border);
  border-radius: 999px;
  padding: 6px 12px;
  color: var(--color-text-secondary);
  font-size: 13px;
}

.button.disabled,
.button.disabled:hover {
  cursor: default;
  color: var(--color-text-muted);
  border-color: var(--color-border);
  background: transparent;
  transform: none;
}

.project-action {
  min-height: 38px;
  padding-inline: 18px;
  font-size: 14px;
}

.available-section {
  padding-top: clamp(80px, 10vw, 144px);
}

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

.available-card {
  display: flex;
  min-height: 430px;
  flex-direction: column;
  justify-content: space-between;
  gap: 24px;
  border: 1px solid var(--color-border);
  border-radius: 28px;
  background: var(--color-surface);
  padding: clamp(24px, 3vw, 34px);
}

.available-card h3 {
  margin-top: 18px;
  font-size: clamp(28px, 3vw, 44px);
  line-height: 1.05;
  letter-spacing: -0.045em;
}

.available-card p {
  color: var(--color-text-secondary);
  font-size: 17px;
  line-height: 1.65;
}

.available-card .card-line {
  margin-top: 18px;
  color: var(--color-text-primary);
  font-size: clamp(20px, 2vw, 28px);
  line-height: 1.25;
  letter-spacing: -0.025em;
}

.available-card .actions {
  margin-top: auto;
}

.lab-note-section {
  padding-bottom: clamp(78px, 10vw, 140px);
}

.lab-note {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(0, 1fr) auto;
  gap: clamp(24px, 5vw, 64px);
  align-items: end;
  border-top: 1px solid var(--color-border);
  padding-top: clamp(34px, 5vw, 64px);
}

.lab-note h2 {
  margin-top: 12px;
  font-size: clamp(30px, 4vw, 58px);
  line-height: 1.05;
  letter-spacing: -0.05em;
}

.lab-note p:not(.eyebrow) {
  color: var(--color-text-secondary);
  font-size: 18px;
  line-height: 1.7;
}

@media (max-width: 1100px) {
  .projects-hero-inner {
    grid-template-columns: 1fr;
  }

  .lab-visual {
    width: min(72vw, 420px);
    justify-self: end;
    margin-top: -30px;
  }

  .available-grid {
    grid-template-columns: 1fr;
  }

  .available-card {
    min-height: 0;
  }

  .lab-note {
    grid-template-columns: 1fr;
    align-items: start;
  }
}

@media (max-width: 899px) {
  .projects-hero {
    min-height: calc(100svh - 72px);
    padding: clamp(44px, 9svh, 86px) 0 48px;
  }

  .projects-hero::before {
    background-size: auto, auto, 52px 52px, 52px 52px;
    mask-image: radial-gradient(circle at 52% 24%, #000 0 48%, transparent 78%);
  }

  .projects-hero h1 {
    margin-top: 16px;
    font-size: clamp(62px, 24vw, 110px);
  }

  .hero-subtitle {
    font-size: clamp(22px, 7vw, 30px);
  }

  .hero-statement {
    font-size: clamp(34px, 11vw, 48px);
  }

  .projects-hero .lead {
    font-size: 18px;
    line-height: 1.58;
  }

  .projects-hero .actions {
    display: grid;
    gap: 12px;
    width: 100%;
  }

  .projects-hero .button {
    width: 100%;
    justify-content: center;
    min-height: 54px;
    font-size: 17px;
  }

  .lab-visual {
    width: min(82vw, 320px);
    justify-self: center;
    opacity: 0.72;
  }

  .project-rail-wrap {
    padding-left: 24px;
  }

  .project-rail {
    grid-auto-columns: minmax(306px, calc(100vw - 58px));
    gap: 14px;
    scroll-padding-left: 24px;
    padding-right: 24px;
  }

  .project-card {
    min-height: 548px;
    border-radius: 28px;
  }

  .project-visual {
    min-height: 238px;
  }

  .project-visual::before {
    inset: 28px;
    border-radius: 20px;
  }

  .project-visual span {
    width: 190px;
    height: 190px;
  }

  .project-card h3 {
    font-size: clamp(26px, 8.4vw, 34px);
  }

  .project-card p:not(.project-code) {
    font-size: 17px;
    line-height: 1.62;
  }

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

  .available-card h3 {
    font-size: 30px;
  }

  .available-card p {
    font-size: 17px;
  }

  .lab-note p:not(.eyebrow) {
    font-size: 17px;
  }
}

/* HOME_ONE_SCREEN_RAIL_V1: single-screen project console */

.home-one-screen-rail-page {
  min-height: 100dvh;
}

.home-one-screen-rail-page main {
  overflow: hidden;
}

.one-screen-shell {
  position: relative;
  display: grid;
  grid-template-rows: minmax(330px, 50dvh) minmax(268px, 1fr);
  min-height: calc(100dvh - 76px - 34px);
  background:
    radial-gradient(circle at 82% 18%, rgba(255, 255, 255, 0.075), transparent 24%),
    linear-gradient(120deg, transparent 0 62%, rgba(255, 255, 255, 0.035) 62% 62.35%, transparent 62.35%),
    linear-gradient(var(--color-border-subtle) 1px, transparent 1px),
    linear-gradient(90deg, var(--color-border-subtle) 1px, transparent 1px);
  background-size: auto, auto, 72px 72px, 72px 72px;
}

:root[data-theme="light"] .one-screen-shell {
  background:
    radial-gradient(circle at 82% 18%, rgba(17, 17, 19, 0.08), transparent 24%),
    linear-gradient(120deg, transparent 0 62%, rgba(17, 17, 19, 0.045) 62% 62.35%, transparent 62.35%),
    linear-gradient(var(--color-border-subtle) 1px, transparent 1px),
    linear-gradient(90deg, var(--color-border-subtle) 1px, transparent 1px);
  background-size: auto, auto, 72px 72px, 72px 72px;
}

.one-screen-hero {
  display: grid;
  align-items: center;
  min-height: 0;
  padding: clamp(20px, 3.8dvh, 38px) 0 clamp(12px, 2dvh, 20px);
}

.one-screen-hero-inner {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 0.98fr) minmax(260px, 0.46fr);
  align-items: center;
  gap: clamp(28px, 6vw, 86px);
}

.one-screen-copy {
  max-width: 780px;
}

.one-screen-hero h1 {
  margin-top: clamp(8px, 1.4dvh, 14px);
  font-size: clamp(66px, 10.6vw, 148px);
  font-weight: 760;
  line-height: 0.82;
  letter-spacing: -0.085em;
}

.one-screen-hero .hero-subtitle {
  margin-top: clamp(10px, 1.7dvh, 18px);
  font-size: clamp(21px, 2.4vw, 34px);
  line-height: 1;
}

.one-screen-hero .hero-statement {
  max-width: 720px;
  margin-top: clamp(14px, 2.4dvh, 28px);
  font-size: clamp(34px, 4.35vw, 62px);
  line-height: 0.98;
}

.one-screen-hero .lead {
  max-width: 680px;
  margin-top: clamp(12px, 1.8dvh, 18px);
  font-size: clamp(17px, 1.28vw, 20px);
  line-height: 1.45;
}

.one-screen-hero .actions {
  margin-top: clamp(16px, 2.5dvh, 24px);
}

.one-screen-hero .button {
  min-height: 42px;
  padding-inline: 22px;
}

.one-screen-orbit {
  width: min(31vw, 360px);
  justify-self: end;
  opacity: 0.88;
}

.one-screen-projects {
  min-height: 0;
  padding: 6px 0 12px;
  overflow: hidden;
}

.one-screen-projects-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 10px;
}

.rail-hint {
  color: var(--color-text-muted);
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 11px;
  letter-spacing: 0.16em;
}

.one-screen-rail-wrap {
  position: relative;
  width: min(100%, calc(var(--layout-max) + (100vw - var(--layout-max)) / 2));
  margin-left: auto;
  padding-left: max(32px, calc((100vw - var(--layout-max)) / 2));
}

.one-screen-rail {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: clamp(360px, 28vw, 450px);
  gap: 16px;
  overflow-x: auto;
  overscroll-behavior-x: contain;
  scroll-snap-type: x mandatory;
  scroll-padding-left: max(32px, calc((100vw - var(--layout-max)) / 2));
  padding: 0 max(32px, calc((100vw - var(--layout-max)) / 2)) 12px 0;
  cursor: grab;
  -webkit-overflow-scrolling: touch;
}

.one-screen-rail.is-dragging {
  cursor: grabbing;
  scroll-snap-type: none;
  user-select: none;
}

.one-screen-rail:focus-visible {
  outline: 2px solid var(--color-signal);
  outline-offset: 6px;
}

.one-screen-rail::-webkit-scrollbar {
  height: 6px;
}

.one-screen-rail::-webkit-scrollbar-thumb {
  border-radius: 999px;
  background: var(--color-border);
}

.rail-card {
  position: relative;
  display: grid;
  grid-template-rows: 92px auto auto 1fr;
  min-height: clamp(232px, 29dvh, 318px);
  padding: clamp(18px, 2vw, 24px);
  border: 1px solid var(--color-border);
  border-radius: 24px;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.06), transparent 44%),
    rgba(14, 14, 15, 0.82);
  scroll-snap-align: start;
  overflow: hidden;
}

:root[data-theme="light"] .rail-card {
  background:
    linear-gradient(145deg, rgba(17, 17, 19, 0.055), transparent 42%),
    rgba(255, 255, 255, 0.84);
}

.rail-card-service {
  transition: border-color 160ms ease-out, transform 160ms ease-out, background 160ms ease-out;
}

.rail-card-service:hover,
.rail-card-service:focus-visible {
  border-color: var(--color-text-secondary);
  transform: translateY(-2px);
}

.rail-visual {
  position: absolute;
  inset: 0 0 auto;
  height: 118px;
  border-bottom: 1px solid var(--color-border-subtle);
  opacity: 0.72;
  overflow: hidden;
}

.rail-visual::before,
.rail-visual::after,
.rail-visual span {
  content: "";
  position: absolute;
  display: block;
}

.rail-visual::before {
  inset: 18px 28px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 18px;
}

:root[data-theme="light"] .rail-visual::before {
  border-color: rgba(17, 17, 19, 0.16);
}

.rail-visual::after {
  inset: 0;
  background:
    linear-gradient(var(--color-border-subtle) 1px, transparent 1px),
    linear-gradient(90deg, var(--color-border-subtle) 1px, transparent 1px);
  background-size: 28px 28px;
  mask-image: radial-gradient(circle at 54% 48%, #000 0 38%, transparent 82%);
}

.rail-visual span {
  left: 50%;
  top: 50%;
  width: 86px;
  height: 86px;
  border: 1px solid rgba(255, 255, 255, 0.24);
  transform: translate(-50%, -50%);
}

:root[data-theme="light"] .rail-visual span {
  border-color: rgba(17, 17, 19, 0.24);
}

.rail-nfc .rail-visual span {
  border-radius: 18px;
  box-shadow: 0 0 0 15px rgba(255, 255, 255, 0.025), 0 0 0 32px rgba(255, 255, 255, 0.018);
}

.rail-materials .rail-visual span {
  border-radius: 50%;
  background: repeating-linear-gradient(135deg, transparent 0 10px, rgba(255, 255, 255, 0.055) 10px 12px);
}

.rail-housing .rail-visual span {
  width: 116px;
  height: 66px;
  transform: translate(-50%, -38%) skewY(-8deg);
}

.rail-farm .rail-visual span {
  width: 128px;
  height: 58px;
  border-radius: 999px 999px 20px 20px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.085), transparent);
}

.rail-radar .rail-visual span {
  border-radius: 50%;
  box-shadow: inset 0 0 0 18px rgba(255, 255, 255, 0.025);
}

.rail-verified .rail-visual span {
  width: 104px;
  height: 66px;
  border-radius: 10px;
  transform: translate(-50%, -50%) rotate(-8deg);
}

.rail-enterprise .rail-visual span {
  width: 130px;
  height: 44px;
  border-radius: 999px;
}

.rail-card .project-code {
  position: relative;
  align-self: end;
  margin-top: 78px;
  font-size: 11px;
  letter-spacing: 0.16em;
}

.rail-card h2 {
  position: relative;
  max-width: 340px;
  margin-top: 14px;
  font-size: clamp(26px, 2.6vw, 38px);
  font-weight: 680;
  line-height: 1.05;
  letter-spacing: -0.052em;
}

.rail-card p:not(.project-code) {
  position: relative;
  margin-top: 12px;
  color: var(--color-text-secondary);
  font-size: 15px;
  line-height: 1.35;
}

.rail-card .rail-description {
  display: none;
}

.rail-nfc:hover .rail-description,
.rail-nfc:focus-visible .rail-description {
  display: block;
  color: var(--color-text-muted);
  font-size: 12px;
}

.rail-status {
  position: relative;
  align-self: end;
  justify-self: start;
  margin-top: 18px;
  min-height: 30px;
  border: 1px solid var(--color-border);
  border-radius: 999px;
  padding: 7px 11px;
  color: var(--color-text-muted);
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 10px;
  letter-spacing: 0.12em;
}

.rail-card-service .rail-status {
  color: var(--color-text-primary);
}

.rail-controls {
  position: absolute;
  right: max(32px, calc((100vw - var(--layout-max)) / 2));
  top: -46px;
  display: flex;
  gap: 8px;
}

.rail-arrow {
  width: 36px;
  height: 36px;
  border: 1px solid var(--color-border);
  border-radius: 50%;
  color: var(--color-text-primary);
  background: var(--color-background);
  cursor: pointer;
  font: inherit;
  font-size: 15px;
}

.rail-arrow:hover,
.rail-arrow:focus-visible {
  border-color: var(--color-text-secondary);
}

.one-screen-footer {
  padding: 7px 0 calc(7px + env(safe-area-inset-bottom)) !important;
  font-size: 9.5px;
  line-height: 1.25;
  opacity: 0.78;
}

.one-screen-footer .footer-inner {
  display: flex !important;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.one-screen-footer .footer-legal,
.one-screen-footer .footer-contact {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 12px !important;
}

.one-screen-footer .footer-contact {
  justify-content: flex-end;
  text-align: right;
}

@media (min-width: 1600px) {
  .one-screen-shell {
    grid-template-rows: minmax(400px, 51dvh) minmax(318px, 1fr);
  }

  .one-screen-orbit {
    width: min(26vw, 400px);
  }

  .rail-card {
    min-height: clamp(292px, 28dvh, 378px);
  }
}

@media (max-width: 1180px) {
  .one-screen-hero-inner {
    grid-template-columns: minmax(0, 1fr) minmax(220px, 0.38fr);
  }
}

@media (max-width: 899px) {
  .home-one-screen-rail-page .site-header {
    position: relative;
  }

  .one-screen-shell {
    display: grid;
    grid-template-rows: minmax(392px, 51svh) minmax(300px, 1fr);
    min-height: calc(100svh - 64px);
    overflow: hidden;
    background-size: auto, auto, 48px 48px, 48px 48px;
  }

  .one-screen-hero {
    position: relative;
    align-items: start;
    padding: clamp(24px, 4.6svh, 38px) 0 10px;
    overflow: hidden;
  }

  .one-screen-hero-inner {
    grid-template-columns: 1fr;
    gap: 0;
  }

  .one-screen-hero h1 {
    margin-top: 12px;
    font-size: clamp(70px, 22vw, 94px);
  }

  .one-screen-hero .hero-subtitle {
    margin-top: 10px;
    font-size: clamp(22px, 6.2vw, 27px);
  }

  .one-screen-hero .hero-statement {
    margin-top: 16px;
    font-size: clamp(34px, 9.2vw, 41px);
    line-height: 1;
  }

  .one-screen-hero .lead {
    max-width: 330px;
    margin-top: 12px;
    font-size: 17px;
    line-height: 1.48;
  }

  .one-screen-hero .actions {
    margin-top: 17px;
  }

  .one-screen-hero .button {
    width: min(100%, 354px);
    min-height: 52px;
    justify-content: center;
    font-size: 17px;
  }

  .one-screen-orbit {
    position: absolute;
    right: -112px;
    bottom: -88px;
    width: 252px;
    opacity: 0.36;
  }

  .one-screen-projects {
    padding: 0 0 10px;
  }

  .one-screen-projects-head {
    margin-bottom: 8px;
  }

  .rail-controls {
    display: none;
  }

  .one-screen-rail-wrap {
    padding-left: 18px;
  }

  .one-screen-rail {
    grid-auto-columns: minmax(282px, 85vw);
    gap: 12px;
    scroll-padding-left: 18px;
    padding-right: 18px;
    padding-bottom: 8px;
  }

  .rail-card {
    grid-template-rows: 74px auto auto 1fr;
    min-height: clamp(258px, 34svh, 310px);
    border-radius: 22px;
    padding: 18px;
  }

  .rail-visual {
    height: 96px;
  }

  .rail-visual::before {
    inset: 14px 22px;
    border-radius: 16px;
  }

  .rail-visual span {
    width: 66px;
    height: 66px;
  }

  .rail-card .project-code {
    margin-top: 60px;
    font-size: 10px;
  }

  .rail-card h2 {
    margin-top: 11px;
    font-size: clamp(26px, 7vw, 31px);
  }

  .rail-card p:not(.project-code) {
    margin-top: 9px;
    font-size: 14px;
  }

  .rail-status {
    min-height: 28px;
    margin-top: 12px;
    padding: 6px 10px;
  }

  .one-screen-footer .footer-inner {
    display: grid !important;
    grid-template-columns: 1fr;
    gap: 3px;
  }

  .one-screen-footer .footer-legal,
  .one-screen-footer .footer-contact {
    justify-content: center;
    text-align: center;
  }
}

@media (max-width: 380px) {
  .one-screen-shell {
    grid-template-rows: minmax(365px, 49svh) minmax(286px, 1fr);
  }

  .one-screen-hero {
    padding-top: 22px;
  }

  .one-screen-hero h1 {
    font-size: 68px;
  }

  .one-screen-hero .hero-statement {
    font-size: 34px;
  }

  .one-screen-hero .lead {
    font-size: 16px;
  }

  .rail-card {
    min-height: 252px;
  }
}
