:root {
  color-scheme: dark;
  --color-bg: #050505;
  --color-surface: #080808;
  --color-gold: #F2B233;
  --color-text: #F7F4EC;
  --color-muted: #B5A892;
  --color-border: rgba(242, 178, 51, 0.18);
  --shadow-soft: 0 24px 80px rgba(0, 0, 0, 0.32);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background: radial-gradient(circle at top, rgba(242, 178, 51, 0.08), transparent 28%), var(--color-bg);
  color: var(--color-text);
}

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

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

button,
a.button {
  font: inherit;
}

button {
  border: 0;
  cursor: pointer;
}

.page-header {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  padding: 1.5rem 2rem;
  background: rgba(5, 5, 5, 0.88);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.brand {
  font-size: 1.125rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--color-text);
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 3rem;
  border-radius: 999px;
  padding: 0 1.4rem;
  transition: transform 180ms ease, background-color 180ms ease, color 180ms ease, opacity 180ms ease;
}

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

.button-primary {
  background: linear-gradient(135deg, #f2b233 0%, #d99e1d 100%);
  color: #080808;
  font-weight: 600;
}

.button-secondary,
.button-ghost {
  background: rgba(255, 255, 255, 0.04);
  color: var(--color-text);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.button-secondary[disabled] {
  opacity: 0.45;
  cursor: not-allowed;
  transform: none;
}

.page-content {
  max-width: 1180px;
  margin: 0 auto;
  padding: 2.5rem 2rem 4rem;
}

.hero-section {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(320px, 0.9fr);
  align-items: center;
  gap: 3rem;
  padding: 4rem 0 6rem;
}

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

.eyebrow {
  margin: 0 0 1rem;
  font-size: 0.85rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--color-gold);
}

.hero-section h1,
.section-header h2 {
  margin: 0;
  font-weight: 700;
  letter-spacing: -0.04em;
  line-height: 1.05;
}

.hero-section h1 {
  font-size: clamp(3rem, 7vw, 5rem);
}

.hero-tagline {
  margin: 1rem 0 1rem;
  font-size: clamp(1.35rem, 2vw, 1.8rem);
  max-width: 680px;
}

.hero-text {
  margin: 0 0 2rem;
  color: var(--color-muted);
  line-height: 1.85;
  max-width: 660px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

.hero-visual {
  display: flex;
  justify-content: center;
  align-items: center;
}

.symbol-frame {
  width: min(420px, 100%);
  aspect-ratio: 1 / 1;
  padding: 1rem;
  border-radius: 32px;
  background: linear-gradient(180deg, rgba(242, 178, 51, 0.12), transparent 50%), rgba(255, 255, 255, 0.03);
  box-shadow: var(--shadow-soft);
  display: grid;
  place-items: center;
}

.roozio-symbol,
.roozio-mark {
  width: 100%;
  height: auto;
}

.roozio-artwork {
  transform: translate(8px, 8px);
}

.orbit-ring {
  stroke: var(--color-gold);
  stroke-width: 10;
  stroke-linecap: round;
  fill: none;
  transform-box: fill-box;
  transform-origin: center;
  transform: rotate(-90deg);
}

.orbit-moving-group {
  transform-box: view-box;
  transform-origin: 160px 160px;
}

.node-shell {
  fill: #080808;
}

.orbit-moving-body,
.node-body {
  fill: var(--color-gold);
}

.orbit-moving-core {
  fill: #080808;
}

.roozio-symbol--hero .orbit-moving-group {
  animation: orbit-cursor-cycle 7.2s linear infinite;
}

.roozio-symbol--hero .orbit-moving-group .node-shell {
  animation: cursor-shell-cycle 7.2s ease-in-out infinite;
  transform-box: fill-box;
  transform-origin: center;
}

.roozio-symbol--hero .orbit-ring {
  stroke-dasharray: 804.25;
  stroke-dashoffset: 804.25;
  animation: ring-reveal-cycle 7.2s linear infinite;
}

.roozio-symbol--hero .orbit-moving-body {
  animation: cursor-body-cycle 7.2s ease-in-out infinite;
  transform-box: fill-box;
  transform-origin: center;
}

.roozio-symbol--hero .orbit-moving-core {
  animation: cursor-core-cycle 7.2s ease-in-out infinite;
  transform-box: fill-box;
  transform-origin: center;
}

.roozio-symbol--hero .orbit-node-right {
  animation: right-node-cycle 7.2s ease-in-out infinite;
}

.roozio-symbol--hero .orbit-node-left {
  animation: left-node-cycle 7.2s ease-in-out infinite;
}

.roozio-symbol--spinner .orbit-moving-group {
  animation-duration: 1.0s;
}

@keyframes orbit-cursor-cycle {
  0% { opacity: 0; transform: rotate(0deg); }
  6.3%, 11.1% { opacity: 1; transform: rotate(0deg); }
  38.9% { opacity: 1; transform: rotate(360deg); }
  43.8%, 64.6% { opacity: 1; transform: rotate(0deg); }
  92.4% { opacity: 1; transform: rotate(360deg); }
  95.8% { opacity: 0; transform: rotate(360deg); }
  100% { opacity: 0; transform: rotate(0deg); }
}

@keyframes cursor-shell-cycle {
  0% { transform: scale(0.08); }
  6.3%, 95.8% { transform: scale(1); }
  100% { transform: scale(0.08); }
}

@keyframes cursor-body-cycle {
  0% { transform: scale(0.08); }
  6.3%, 95.8% { transform: scale(1); }
  100% { transform: scale(0.08); }
}

@keyframes cursor-core-cycle {
  0%, 38.9% { opacity: 0; transform: scale(0.08); }
  43.8%, 92.4% { opacity: 1; transform: scale(1); }
  95.8%, 100% { opacity: 0; transform: scale(0.08); }
}

@keyframes ring-reveal-cycle {
  0%, 11.1% { stroke-dashoffset: 804.25; }
  38.9%, 64.6% { stroke-dashoffset: 0; }
  92.4%, 100% { stroke-dashoffset: -804.25; }
}

@keyframes right-node-cycle {
  0%, 20.3% { opacity: 0; transform: scale(0.08); }
  26.6%, 73.8% { opacity: 1; transform: scale(1); }
  76.9%, 100% { opacity: 0; transform: scale(0.08); }
}

@keyframes left-node-cycle {
  0%, 29.4% { opacity: 0; transform: scale(0.08); }
  35.6%, 83.0% { opacity: 1; transform: scale(1); }
  86.1%, 100% { opacity: 0; transform: scale(0.08); }
}

.orbit-node {
  opacity: 0;
  transform-box: fill-box;
  transform-origin: center;
}

.section {
  padding: 3.5rem 0;
}

.section-header {
  margin-bottom: 2rem;
}

.section-header h2 {
  font-size: clamp(2rem, 2.4vw, 2.8rem);
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.25rem;
}

.feature-card {
  padding: 1.75rem;
  border: 1px solid var(--color-border);
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.03);
}

.feature-card h3 {
  margin: 0 0 0.85rem;
  font-size: 1.1rem;
}

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

.alternate .feature-card {
  background: rgba(242, 178, 51, 0.05);
}

.studio-section .studio-content {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 1.5rem;
  align-items: start;
}

.studio-content p {
  margin: 0 0 1rem;
  color: var(--color-muted);
  line-height: 1.75;
}

.studio-panel {
  display: grid;
  gap: 1rem;
}

.studio-panel-card {
  padding: 1.5rem;
  border: 1px solid var(--color-border);
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.03);
}

.studio-panel-card span {
  display: inline-block;
  margin-bottom: 0.75rem;
  font-size: 0.85rem;
  text-transform: uppercase;
  color: var(--color-gold);
  letter-spacing: 0.18em;
}

.studio-panel-card strong {
  font-size: 1rem;
  line-height: 1.5;
}

.status-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 1rem;
}

.status-list li {
  padding: 1.25rem 1.5rem;
  border: 1px solid var(--color-border);
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.025);
  color: var(--color-muted);
}

.site-footer {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 1rem;
  padding: 2rem 2rem 3rem;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  color: var(--color-muted);
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

.footer-links a {
  color: var(--color-muted);
}

@media (max-width: 980px) {
  .hero-section,
  .studio-section .studio-content {
    grid-template-columns: 1fr;
  }

  .hero-section {
    gap: 2rem;
  }
}

@media (max-width: 720px) {
  .page-header {
    padding: 1rem 1.25rem;
  }

  .page-content {
    padding: 2rem 1.25rem 3rem;
  }

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

  .hero-actions {
    flex-direction: column;
  }
}

@media (prefers-reduced-motion: reduce) {
  * {
    animation: none !important;
    transition: none !important;
  }

  .roozio-symbol--hero .orbit-ring {
    stroke-dashoffset: 0;
  }

  .roozio-symbol--hero .orbit-moving-group,
  .roozio-symbol--hero .orbit-moving-core,
  .roozio-symbol--hero .orbit-node {
    opacity: 1;
    transform: none;
  }
}
