* { box-sizing: border-box; }
body { margin: 0; min-height: 100vh; font-family: "Space Grotesk", system-ui, sans-serif; }
a { color: inherit; }
button { font: inherit; }
[hidden] { display: none !important; }
.skip-link { position: absolute; top: 8px; left: 16px; z-index: 110; translate: 0 -150%; padding: 8px 12px; background: var(--surface); }
.skip-link:focus { translate: 0; }
main > .page, .footer { margin-inline: auto; }
.topbar, .brand, .nav, .actions, .footer { display: flex; align-items: center; }
.topbar, .footer { justify-content: space-between; }
.topbar { border: 1px solid var(--border); border-radius: 999px; }
.brand, .nav a, .button, .footer a { text-decoration: none; }
.brand { gap: 0; }
.brand img { margin-right: 9px; object-fit: contain; }
.brand-name { word-spacing: -.639em; }
.brand-domain { margin-left: 3px; font: .85rem "IBM Plex Mono", monospace; color: var(--sub); }
.nav a { border-radius: 999px; }
.config-group:first-child { margin-top: 0; }
.features { display: grid; }
h1 { font-family: "Rubik Mono One", system-ui, sans-serif; font-weight: 400; }
.product-name { display: block; white-space: normal; word-spacing: -.52em; }
.section-kicker { font: .75rem "IBM Plex Mono", monospace; }
.lead { line-height: 1.5; }
.body-copy, .feature p { line-height: 1.65; }
.button { display: inline-flex; align-items: center; min-height: 46px; padding: 0 20px; border: 1px solid; border-radius: 999px; font-weight: 700; }
.button:hover { text-decoration: underline; }
.features { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.feature { border: 1px solid var(--border); border-radius: 22px; }
.feature h3 { margin-top: 0; }
.feature p { margin-bottom: 0; }
.footer { gap: 16px; flex-wrap: wrap; }
@media (max-width: 760px) {
  .features { grid-template-columns: 1fr; }
  .feature { min-height: 0; }
}
@media (max-width: 480px) {
  .workflow-list li { grid-template-columns: 32px minmax(0, 1fr); }
}

.topbar { backdrop-filter: blur(18px); }
.hero .product-name { display: flex; flex-wrap: wrap; gap: .22em; }
.hero .lead { margin: 0 0 14px; font-weight: 500; }
.hero .body-copy { margin: 0; }
.hero .actions { align-items: flex-start; flex-direction: column; gap: 11px; }
.button { min-height: 50px; padding-inline: 22px; transition: transform .18s ease, box-shadow .18s ease; }
.button:hover { transform: translateY(-2px); box-shadow: 0 12px 26px rgba(30,36,44,.14); text-decoration: none; }
.section-head h2 { margin: 8px 0 0; font-size: clamp(26px,4vw,38px); line-height: 1.15; letter-spacing: -.05em; }
.section-kicker { letter-spacing: .16em; text-transform: uppercase; }
.footer { gap: 10px; letter-spacing: .12em; backdrop-filter: blur(18px); }
.footer .footer-link { border: 0; padding: 0; background: none; color: inherit; font: inherit; letter-spacing: inherit; text-transform: inherit; text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }
.footer .footer-link:hover, .footer .footer-link:focus-visible { color: var(--text); }
#privacy { max-width: min(520px, calc(100% - 28px)); padding: 24px; border: 1px solid var(--border); border-radius: 22px; background: var(--surface); color: var(--text); }
#privacy::backdrop { background: rgba(0,0,0,.55); }
#privacy h2 { margin-top: 0; }
#privacy p { line-height: 1.6; }
@media (prefers-reduced-motion: reduce) { .button:hover { transform: none; } }

.orbit-card[data-view="animation"] img { transform: scale(1.55); transform-origin: 52% 37%; }
.orbit-card[data-view="joints"] img { transform: scale(2.1); transform-origin: 96% 30%; }
html[data-theme="light"] .brand-name,
html[data-theme="light"] .brand-domain { color: #53677c; }
html[data-theme="light"] .brand-domain { font-size: .9em; }
html[data-theme="gold"] .brand-name { color: #ffd447; }
html[data-theme="high-contrast"] .brand-name { color: #ffff00; }

.orbit-card[data-view="full"] { background: var(--surface); }
.orbit-card[data-view="full"] img { object-fit: contain; }
.orbit-card[data-view="joints"] img { object-position: right center; }

@media (max-width: 760px) {
  .topbar { border-radius: 22px; gap: 4px 8px; padding: 6px 10px; }
  .topbar .nav { justify-content: flex-start; padding-top: 3px; border-top: 1px solid var(--border); }
  .topbar .nav .back-link { width: 34px; height: 34px; flex-basis: 34px; }
  .hero { display: block; min-height: 0; padding: 24px 0 36px; }
  .hero-copy { width: 100%; max-width: none; padding: 0; }
  .hero-copy::before, .orbit-showcase::before { display: none; }
  .hero .lead { margin-bottom: 10px; }
  .hero .actions { flex-direction: row; flex-wrap: wrap; gap: 8px; margin-top: 15px; }
  .hero .actions .button { min-height: 44px; padding-inline: 14px; font-size: 14px; }
  .orbit-showcase { position: relative; inset: auto; width: 100%; height: auto; margin-top: 20px; }
  .orbit-card.is-before, .orbit-card.is-after { display: none; }
  .orbit-card.is-active { position: relative; inset: auto; width: 100%; height: auto; aspect-ratio: 2 / 1; border-width: 5px; border-radius: 16px; box-shadow: 0 10px 26px rgba(18,28,40,.15); transition: none; }
  .orbit-caption { position: static; display: block; margin-top: 10px; white-space: normal; }
  .orbit-controls { position: static; justify-content: flex-end; }
  .orbit-controls button { width: 44px; height: 44px; opacity: 1; }
}

@media (min-width: 761px) {
  .hero { min-height: 520px; }
  .orbit-card.is-active { top: 22%; height: auto; aspect-ratio: 2.22 / 1; }
  .orbit-caption { top: 77%; }
  .orbit-controls { top: 74%; }
}
