/* Module: slidetac-site global styles — marketing + legal pages. Key: Outfit headings, dark gradient, device frames, .page-home hero. */
@import url("https://fonts.googleapis.com/css2?family=Outfit:wght@400;500;600;700&display=swap");

:root {
  --bg-deep: #06080d;
  --bg: #0c1018;
  --surface: rgba(22, 28, 40, 0.75);
  --surface-solid: #141a26;
  --text: #f0f4fc;
  --text-muted: #94a3b8;
  --accent: #38bdf8;
  --accent-bright: #7dd3fc;
  --accent-dim: rgba(56, 189, 248, 0.15);
  --purple: #a78bfa;
  --border: rgba(148, 163, 184, 0.18);
  --max: 44rem;
  --max-wide: 72rem;
  --radius: 14px;
  --font-display: "Outfit", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --shadow-lg: 0 24px 80px rgba(0, 0, 0, 0.45);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  font-family: var(--font-display);
  font-size: 17px;
  line-height: 1.55;
  color: var(--text);
  background: var(--bg-deep);
  -webkit-font-smoothing: antialiased;
}

body {
  margin: 0;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  position: relative;
}

/* Ambient background (home) */
.page-home .hero-bg {
  position: fixed;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(ellipse 100% 80% at 50% -30%, rgba(56, 189, 248, 0.14), transparent 52%),
    radial-gradient(ellipse 60% 50% at 100% 20%, rgba(167, 139, 250, 0.1), transparent 45%),
    radial-gradient(ellipse 50% 40% at 0% 60%, rgba(56, 189, 248, 0.06), transparent 50%),
    var(--bg-deep);
  pointer-events: none;
}

@media (prefers-reduced-motion: no-preference) {
  .page-home .hero-bg {
    animation: ambient-shift 18s ease-in-out infinite alternate;
  }
}

@keyframes ambient-shift {
  from {
    filter: hue-rotate(0deg);
  }
  to {
    filter: hue-rotate(12deg);
  }
}

a {
  color: var(--accent-bright);
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

a:hover {
  color: #bae6fd;
}

header.site {
  border-bottom: 1px solid var(--border);
  background: rgba(12, 16, 24, 0.72);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  padding: 0.85rem 1.25rem;
  position: sticky;
  top: 0;
  z-index: 20;
}

header.site .inner {
  max-width: var(--max-wide);
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
}

.brand {
  font-weight: 700;
  font-size: 1.2rem;
  letter-spacing: -0.02em;
  color: var(--text);
  text-decoration: none;
}

.brand:hover {
  color: var(--text);
}

header.site nav {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.35rem 0.85rem;
  justify-content: flex-end;
  max-width: min(100%, 38rem);
}

header.site nav a {
  margin-left: 0;
  font-size: 0.8rem;
  font-weight: 500;
  white-space: nowrap;
  color: var(--text-muted);
  text-decoration: none;
}

header.site nav a:hover {
  color: var(--accent-bright);
}

/* ——— Main column ——— */
main {
  flex: 1;
  max-width: var(--max);
  margin: 0 auto;
  padding: 2rem 1.25rem 3.5rem;
  width: 100%;
}

.page-home main {
  max-width: var(--max-wide);
  padding-top: 0;
}

/* ——— Home hero ——— */
.hero-immersive {
  padding: 2.5rem 0 3rem;
}

@media (min-width: 900px) {
  .hero-immersive {
    padding: 3.5rem 0 4rem;
  }
}

.hero-immersive__grid {
  display: grid;
  gap: 2.5rem;
  align-items: center;
}

@media (min-width: 900px) {
  .hero-immersive__grid {
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
  }
}

.eyebrow {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
  margin: 0 0 0.75rem;
}

.page-home h1 {
  font-size: clamp(2.5rem, 6vw, 3.75rem);
  font-weight: 700;
  letter-spacing: -0.04em;
  line-height: 1.05;
  margin: 0 0 1rem;
  background: linear-gradient(135deg, #fff 0%, #cbd5e1 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero-deck {
  font-size: 1.125rem;
  color: var(--text-muted);
  margin: 0 0 1.25rem;
  max-width: 36ch;
}

.hero-deck strong {
  color: var(--text);
  font-weight: 600;
}

.hero-bullets {
  list-style: none;
  padding: 0;
  margin: 0 0 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.hero-bullets li {
  display: flex;
  align-items: flex-start;
  gap: 0.6rem;
  font-size: 0.95rem;
  color: var(--text-muted);
  margin: 0;
}

.hero-bullets li::before {
  content: "";
  width: 6px;
  height: 6px;
  margin-top: 0.45rem;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--accent), var(--purple));
  flex-shrink: 0;
}

.hero-immersive__art {
  position: relative;
}

.hero-showcase {
  position: relative;
  border-radius: 24px;
  padding: 12px;
  background: linear-gradient(145deg, rgba(56, 189, 248, 0.12), rgba(167, 139, 250, 0.08));
  border: 1px solid var(--border);
  box-shadow: var(--shadow-lg);
}

.hero-showcase__inner {
  border-radius: 16px;
  overflow: hidden;
  background: var(--surface-solid);
  border: 1px solid var(--border);
}

.hero-showcase__inner--video {
  padding: 0;
}

.hero-video-wrap {
  width: 100%;
  background: #0a0e14;
  line-height: 0;
  border-radius: inherit;
  overflow: hidden;
}

.hero-video {
  width: 100%;
  height: auto;
  max-height: min(52vh, 520px);
  display: block;
  vertical-align: middle;
}

.hero-showcase__caption {
  margin: 0.75rem 0 0;
  font-size: 0.78rem;
  color: var(--text-muted);
  text-align: center;
}

/* Legacy hero (non-home pages if any) */
.hero {
  display: grid;
  gap: 1.5rem;
  margin-bottom: 2rem;
}

@media (min-width: 640px) {
  .hero {
    grid-template-columns: minmax(0, 1fr) minmax(0, 220px);
    align-items: start;
  }
}

.hero-visual {
  margin: 0;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--border);
  background: var(--surface-solid);
}

.hero-visual img,
.hero-visual svg {
  display: block;
  width: 100%;
  height: auto;
}

/* ——— Screenshot gallery ——— */
.section--screens {
  margin: 2rem 0 3rem;
}

.section-head {
  text-align: center;
  max-width: 40rem;
  margin: 0 auto 2rem;
}

.section-head h2 {
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  margin: 0 0 0.5rem;
  color: var(--text);
}

.section-lead {
  margin: 0;
  font-size: 1rem;
  color: var(--text-muted);
}

.screenshot-hint {
  margin: 0.75rem 0 0;
  font-size: 0.85rem;
  color: var(--text-muted);
}

.screenshot-hint a {
  font-weight: 500;
}

.screenshot-track {
  display: flex;
  gap: 1.25rem;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  padding: 0.5rem 0 1rem;
  margin: 0 -0.25rem;
  -webkit-overflow-scrolling: touch;
}

.screenshot-track::-webkit-scrollbar {
  height: 6px;
}

.screenshot-track::-webkit-scrollbar-thumb {
  background: var(--border);
  border-radius: 3px;
}

.shot-wrap {
  flex: 0 0 auto;
  scroll-snap-align: center;
  width: min(240px, 78vw);
}

@media (min-width: 640px) {
  .shot-wrap {
    width: min(200px, 28vw);
  }
}

.device-frame {
  border-radius: 22px;
  padding: 10px;
  background: linear-gradient(160deg, #1e293b, #0f172a);
  border: 1px solid var(--border);
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.35);
}

.device-frame__screen {
  border-radius: 14px;
  overflow: hidden;
  background: #000;
  aspect-ratio: 1290 / 2796;
  max-height: 420px;
}

.device-frame__screen img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  display: block;
}

.device-frame__label {
  margin-top: 0.5rem;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--text-muted);
  text-align: center;
}

.device-frame--wide .device-frame__screen {
  aspect-ratio: 16 / 10;
  max-height: 200px;
}

/* Instructional 4:5 gameplay art in gallery */
.device-frame--gameplay .device-frame__screen {
  aspect-ratio: 4 / 5;
  max-height: 420px;
}

.device-frame--gameplay .device-frame__screen img {
  object-fit: contain;
}

/* Value strip */
.value-strip {
  display: grid;
  gap: 1rem;
  margin: 2.5rem 0;
}

@media (min-width: 700px) {
  .value-strip {
    grid-template-columns: repeat(3, 1fr);
  }
}

.value-card {
  padding: 1.35rem 1.25rem;
  border-radius: var(--radius);
  background: var(--surface);
  border: 1px solid var(--border);
  backdrop-filter: blur(8px);
}

.value-card__icon {
  width: 40px;
  height: 40px;
  margin-bottom: 0.75rem;
  color: var(--accent);
}

.value-card h3 {
  font-size: 1.05rem;
  font-weight: 600;
  margin: 0 0 0.35rem;
  color: var(--text);
}

.value-card p {
  margin: 0;
  font-size: 0.9rem;
  color: var(--text-muted);
}

.definition {
  font-size: 1.05rem;
  color: var(--text);
  padding: 1.25rem 1.35rem;
  border-left: 4px solid var(--accent);
  background: var(--surface);
  border-radius: 0 var(--radius) var(--radius) 0;
  margin: 0 0 1.75rem;
  border: 1px solid var(--border);
  border-left-width: 4px;
}

.feature-grid {
  display: grid;
  gap: 1rem;
  margin: 1.75rem 0;
}

@media (min-width: 520px) {
  .feature-grid {
    grid-template-columns: 1fr 1fr;
  }
}

.feature-card {
  padding: 1.25rem;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--surface-solid);
  transition: border-color 0.2s, box-shadow 0.2s;
}

.feature-card:hover {
  border-color: rgba(56, 189, 248, 0.35);
  box-shadow: 0 0 0 1px rgba(56, 189, 248, 0.12);
}

.feature-card h3 {
  font-size: 1.02rem;
  margin: 0 0 0.4rem;
  color: var(--text);
  font-weight: 600;
}

.feature-card p {
  margin: 0;
  font-size: 0.9rem;
  color: var(--text-muted);
}

.app-store-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1rem;
  margin: 1.25rem 0;
}

.app-store-badge {
  display: inline-block;
  line-height: 0;
}

.app-store-badge img {
  height: 44px;
  width: auto;
}

.cta-band {
  margin: 3rem 0 2rem;
  padding: 2rem 1.5rem;
  text-align: center;
  border-radius: var(--radius);
  background: linear-gradient(135deg, rgba(56, 189, 248, 0.12), rgba(167, 139, 250, 0.08));
  border: 1px solid var(--border);
}

.cta-band h2 {
  margin: 0 0 0.5rem;
  font-size: 1.35rem;
}

.cta-band p {
  margin: 0 0 1rem;
  color: var(--text-muted);
  font-size: 0.95rem;
}

.faq-preview {
  margin-top: 2.5rem;
  padding-top: 2rem;
  border-top: 1px solid var(--border);
}

.faq-preview h2 {
  margin-top: 0;
}

.faq-preview details {
  margin-bottom: 0.75rem;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 0.65rem 0.9rem;
  background: var(--surface-solid);
}

.faq-preview summary {
  cursor: pointer;
  font-weight: 600;
  color: var(--text);
}

.faq-preview details p {
  margin: 0.5rem 0 0;
  font-size: 0.92rem;
  color: var(--text-muted);
}

table.rules {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.9rem;
  margin: 1rem 0;
}

table.rules th,
table.rules td {
  border: 1px solid var(--border);
  padding: 0.55rem 0.7rem;
  text-align: left;
}

table.rules th {
  background: var(--surface-solid);
  color: var(--text);
}

body:not(.page-home) main h1 {
  font-size: 1.85rem;
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.2;
  margin: 0 0 1rem;
}

h2 {
  font-size: 1.25rem;
  font-weight: 700;
  margin: 2rem 0 0.65rem;
  color: var(--text);
}

p,
ul {
  margin: 0 0 1rem;
  color: var(--text-muted);
}

ul {
  padding-left: 1.25rem;
}

.lead {
  font-size: 1.08rem;
  color: var(--text);
}

.tagline {
  color: var(--text-muted);
  margin-bottom: 1.5rem;
  font-size: 1.15rem;
}

.hero-subline {
  color: var(--text-muted);
  margin: 0 0 1rem;
  font-size: 0.95rem;
}

.btn {
  display: inline-block;
  background: linear-gradient(135deg, #38bdf8, #0ea5e9);
  color: #0c1018 !important;
  font-weight: 600;
  padding: 0.65rem 1.25rem;
  border-radius: 999px;
  text-decoration: none !important;
  font-size: 0.95rem;
  box-shadow: 0 4px 24px rgba(56, 189, 248, 0.35);
}

.btn:hover {
  filter: brightness(1.06);
  color: #0c1018 !important;
}

.meta {
  font-size: 0.82rem;
  color: var(--text-muted);
  margin-top: 2rem;
  padding-top: 1.25rem;
  border-top: 1px solid var(--border);
}

footer.site {
  border-top: 1px solid var(--border);
  padding: 1.5rem 1.25rem;
  font-size: 0.82rem;
  color: var(--text-muted);
  text-align: center;
  background: rgba(6, 8, 13, 0.9);
}

/* ——— Instruction steps (STEP 01–03 art) ——— */
.section--steps {
  margin: 3rem 0;
}

.step-grid {
  display: grid;
  gap: 1.5rem;
  margin-top: 1.5rem;
}

@media (min-width: 900px) {
  .step-grid {
    grid-template-columns: repeat(3, 1fr);
    align-items: start;
  }
}

.step-card {
  border-radius: var(--radius);
  border: 1px solid var(--border);
  background: var(--surface-solid);
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.step-card img {
  width: 100%;
  height: auto;
  display: block;
  background: #fff;
}

.step-card h3 {
  font-size: 1.05rem;
  font-weight: 700;
  margin: 0;
  padding: 1rem 1.1rem 0.35rem;
  color: var(--text);
}

.step-card p {
  margin: 0;
  padding: 0 1.1rem 1.15rem;
  font-size: 0.92rem;
  color: var(--text-muted);
}

.section--reference {
  margin: 3rem 0;
}

.win-figure {
  margin: 1.25rem 0 0;
  padding: 1rem;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  background: #fff;
}

.win-figure img {
  width: 100%;
  max-width: 720px;
  height: auto;
  display: block;
  margin: 0 auto;
}

.section--why {
  margin: 2.5rem 0;
  padding: 1.75rem 1.5rem;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  background: var(--surface);
}

.section--why h2 {
  margin-top: 0;
}

.section--why .strategy-list {
  margin: 1rem 0 0;
  padding-left: 1.2rem;
  color: var(--text-muted);
}

.section--why .strategy-list li {
  margin-bottom: 0.35rem;
}

.device-frame--tv .device-frame__screen {
  aspect-ratio: 16 / 9;
  max-height: 200px;
}

.digital-note {
  font-size: 0.88rem;
  color: var(--text-muted);
  margin-top: 1rem;
  padding-top: 1rem;
  border-top: 1px solid var(--border);
}
