﻿/* rocket-studio — base tokens & layout */

:root {
  --rs-ink: #09090b;
  --rs-surface: #101014;
  --rs-elevated: #18181f;
  --rs-line: rgba(255, 244, 230, 0.1);
  --rs-text: #f6f1ea;
  --rs-muted: #a39e94;
  --rs-accent: #ff6b35;
  --rs-accent-soft: rgba(255, 107, 53, 0.16);
  --rs-focus: #ffd6c2;
  --rs-radius: 12px;
  --rs-radius-lg: 18px;
  --rs-gutter: clamp(1rem, 4vw, 2rem);
  --rs-shell: 100%;
  --rs-top-ad-h: 0px;
  --rs-chrome-h: 3.75rem;
  --rs-font-display: "Syne", "Segoe UI", sans-serif;
  --rs-font-body: "Figtree", "Segoe UI", sans-serif;
  --rs-header-h: 3.75rem;
  --rs-section-y: clamp(2rem, 4vw, 2.75rem);
  --rs-ease: cubic-bezier(0.22, 1, 0.36, 1);
  color-scheme: dark;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  width: 100%;
  overflow-x: clip;
}

body.rs-body {
  margin: 0;
  width: 100%;
  min-height: 100dvh;
  overflow-x: clip;
  font-family: var(--rs-font-body);
  font-size: 0.95rem;
  line-height: 1.55;
  color: var(--rs-text);
  background:
    radial-gradient(1200px 600px at 80% -10%, rgba(255, 107, 53, 0.12), transparent 55%),
    radial-gradient(900px 500px at -10% 30%, rgba(80, 120, 255, 0.06), transparent 50%),
    linear-gradient(180deg, #0c0c10 0%, var(--rs-ink) 40%, #0a0a0c 100%);
  background-attachment: fixed;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

.rs-hero-media img,
.rs-top-ad__media img,
.rs-float-links img {
  max-width: none;
}

a {
  color: inherit;
  text-decoration: none;
}

a:hover {
  color: var(--rs-accent);
}

button,
input {
  font: inherit;
}

:focus-visible {
  outline: 2px solid var(--rs-focus);
  outline-offset: 3px;
}

.rs-visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.rs-shell {
  width: 100%;
  max-width: none;
  margin-inline: 0;
  padding-inline: var(--rs-gutter) !important;
  box-sizing: border-box;
}

/* Keep chrome / notice / page content on the same horizontal rhythm */
.rs-header__bar,
.rs-notice-strip__inner,
.rs-hero__inner,
.rs-page-hero .rs-shell,
.rs-apps-index__body,
.rs-footer__grid,
.rs-footer__legal {
  padding-inline: var(--rs-gutter) !important;
}

.rs-chrome {
  position: relative;
  z-index: 40;
  width: 100%;
}

/* Home: top-ad + header float over full-viewport hero */
body:has(.rs-page--home) .rs-chrome {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  width: 100%;
  z-index: 50;
}

.rs-main,
.rs-page,
.rs-footer,
.rs-hero {
  width: 100%;
  max-width: none;
}

.rs-main {
  min-height: 50dvh;
}

body:has(.rs-page--home) .rs-main {
  padding-top: 0;
}

.rs-body.has-dock {
  padding-bottom: 4.5rem;
}

.rs-eyebrow {
  margin: 0 0 0.5rem;
  font-family: var(--rs-font-display);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--rs-accent);
}

.rs-section {
  width: 100%;
  padding: var(--rs-section-y) 0;
}

.rs-section__head {
  display: flex;
  flex-wrap: wrap;
  align-items: end;
  justify-content: space-between;
  gap: 0.65rem 1rem;
  margin-bottom: 1.1rem;
}

.rs-section__title {
  margin: 0;
  font-family: var(--rs-font-display);
  font-size: clamp(1.35rem, 2.6vw, 1.85rem);
  font-weight: 750;
  letter-spacing: -0.03em;
  line-height: 1.15;
}

.rs-section__lead {
  margin: 0.25rem 0 0;
  max-width: 40rem;
  color: var(--rs-muted);
  flex-basis: 100%;
  font-size: 0.92rem;
}

.rs-section__link {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--rs-accent);
  white-space: nowrap;
}

.rs-page-hero {
  width: 100%;
  padding: 2.15rem 0 1.35rem;
  border-bottom: 1px solid var(--rs-line);
  background: linear-gradient(180deg, rgba(255, 107, 53, 0.06), transparent);
}

.rs-page-hero__title {
  margin: 0;
  font-family: var(--rs-font-display);
  font-size: clamp(1.65rem, 4vw, 2.5rem);
  font-weight: 800;
  letter-spacing: -0.04em;
  line-height: 1.05;
}

.rs-page-hero__lead {
  margin: 0.55rem 0 0;
  max-width: 36rem;
  color: var(--rs-muted);
  font-size: 0.95rem;
}

.rs-page-hero__search {
  margin-top: 1rem;
  max-width: 28rem;
}

.rs-empty {
  padding: 2.5rem 1.25rem;
  text-align: center;
  border: 1px dashed var(--rs-line);
  border-radius: var(--rs-radius-lg);
  background: rgba(255, 255, 255, 0.02);
}

.rs-empty h2 {
  margin: 0;
  font-family: var(--rs-font-display);
}

.rs-empty p {
  margin: 0.5rem 0 0;
  color: var(--rs-muted);
}

@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;
  }
}
