/* Unloc marketing site — tokens derived from Unloc_Brand_Direction.html */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

:root {
  --bg: #0c0a10;
  --bg2: #100d16;
  --glass: rgba(255, 255, 255, 0.04);
  --glass-b: rgba(255, 255, 255, 0.08);
  --border: rgba(255, 255, 255, 0.07);
  --muted: rgba(255, 255, 255, 0.25);
  --soft: rgba(255, 255, 255, 0.55);
  --text: rgba(255, 255, 255, 0.92);

  --calories: #f03a5f;
  --workout: #a8e040;
  --steps: #0ab4fe;
  --stand: #30d5e8;
  --sleep: #6b62e8;
  --breathe: #c47fd8;

  --glow-calories: rgba(240, 58, 95, 0.35);
  --glow-workout: rgba(168, 224, 64, 0.35);
  --glow-steps: rgba(10, 180, 254, 0.35);
  --glow-stand: rgba(48, 213, 232, 0.35);
  --glow-sleep: rgba(107, 98, 232, 0.35);
  --glow-breathe: rgba(196, 127, 216, 0.35);

  --content-max: 900px;
  --pad-x: clamp(20px, 5vw, 44px);
  --pad-y: clamp(48px, 8vw, 80px);
}

html {
  scroll-behavior: smooth;
}

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

body {
  background: var(--bg);
  color: var(--text);
  font-family: "Inter", system-ui, -apple-system, sans-serif;
  font-size: 15px;
  line-height: 1.65;
  min-height: 100dvh;
  overflow-x: hidden;
}

[hidden] {
  display: none !important;
}

a {
  color: var(--steps);
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

.font-display {
  font-family: "Space Grotesk", system-ui, sans-serif;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 16px var(--pad-x);
  border-bottom: 1px solid var(--border);
  background: rgba(12, 10, 16, 0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  transition:
    opacity 0.5s ease,
    transform 0.55s cubic-bezier(0.22, 1, 0.36, 1);
}

@media (prefers-reduced-motion: no-preference) {
  body:not(.is-loaded) .site-header {
    opacity: 0;
    transform: translateY(-8px);
  }
}

.site-header a {
  color: var(--text);
  text-decoration: none;
}

.site-header a:hover {
  color: var(--soft);
  text-decoration: none;
}

.brand-mark {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: "Space Grotesk", system-ui, sans-serif;
  font-weight: 700;
  font-size: 1.25rem;
  letter-spacing: -0.04em;
}

.brand-mark__text {
  flex-shrink: 0;
}

.brand-mark .mini-dots {
  display: flex;
  align-items: flex-end;
  gap: 4px;
  min-height: 10px;
}

.brand-mark .mini-dots span {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  flex-shrink: 0;
}

.nav-links {
  display: flex;
  flex-wrap: wrap;
  gap: 16px 20px;
  font-size: 13px;
  color: var(--soft);
}

.nav-links a {
  color: var(--soft);
}

.nav-links a:hover {
  color: var(--text);
}

.wrap {
  max-width: var(--content-max);
  margin: 0 auto;
  padding: var(--pad-y) var(--pad-x);
}

.glass {
  background: var(--glass);
  border: 1px solid var(--glass-b);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-radius: 16px;
}

.section-label {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 16px;
}

h1,
h2,
h3 {
  font-family: "Space Grotesk", system-ui, sans-serif;
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.15;
  color: var(--text);
}

h1 {
  font-size: clamp(2rem, 5vw, 2.75rem);
  margin-bottom: 16px;
}

h2 {
  font-size: clamp(1.35rem, 3vw, 1.75rem);
  margin-bottom: 12px;
}

h3 {
  font-size: 1.05rem;
  margin-bottom: 8px;
}

p {
  color: var(--soft);
  margin-bottom: 12px;
  max-width: 640px;
}

p:last-child {
  margin-bottom: 0;
}

.hero {
  position: relative;
  padding: clamp(40px, 10vw, 100px) var(--pad-x) clamp(48px, 8vw, 80px);
  text-align: center;
  overflow: hidden;
}

.hero-glow {
  position: absolute;
  inset: -20% -30% 40%;
  pointer-events: none;
  background:
    radial-gradient(ellipse 70% 55% at 50% 0%, rgba(10, 180, 254, 0.22) 0%, transparent 55%),
    radial-gradient(ellipse 50% 40% at 20% 60%, rgba(240, 58, 95, 0.12) 0%, transparent 50%),
    radial-gradient(ellipse 45% 45% at 85% 55%, rgba(196, 127, 216, 0.14) 0%, transparent 50%),
    radial-gradient(ellipse 60% 50% at 50% 100%, rgba(107, 98, 232, 0.1) 0%, transparent 55%);
  animation: heroGlowDrift 14s ease-in-out infinite alternate;
  opacity: 0.95;
}

@keyframes heroGlowDrift {
  0% {
    transform: translate3d(-2%, 0, 0) scale(1);
    filter: saturate(1);
  }
  100% {
    transform: translate3d(2%, -1%, 0) scale(1.04);
    filter: saturate(1.15);
  }
}

@media (prefers-reduced-motion: reduce) {
  .hero-glow {
    animation: none;
  }
}

.hero-inner {
  position: relative;
  z-index: 1;
  max-width: 720px;
  margin: 0 auto;
}

@media (prefers-reduced-motion: no-preference) {
  body:not(.is-loaded) .hero-tagline,
  body:not(.is-loaded) .hero-lede,
  body:not(.is-loaded) .cta-row,
  body:not(.is-loaded) .cta-note {
    opacity: 0;
    transform: translateY(18px);
  }

  body.is-loaded .hero-tagline,
  body.is-loaded .hero-lede,
  body.is-loaded .cta-row,
  body.is-loaded .cta-note {
    opacity: 1;
    transform: translateY(0);
    transition:
      opacity 0.55s ease,
      transform 0.65s cubic-bezier(0.22, 1, 0.36, 1);
  }

  body.is-loaded .hero-lede {
    transition-delay: 0.06s;
  }
  body.is-loaded .cta-row {
    transition-delay: 0.12s;
  }
  body.is-loaded .cta-note {
    transition-delay: 0.18s;
  }
}

.logo-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: clamp(12px, 3vw, 24px);
  row-gap: 16px;
  margin-bottom: 28px;
}

.logo-row:not(.logo-row--ready) .wordmark {
  opacity: 0;
  transform: translateY(22px) scale(0.94);
  filter: blur(4px);
}

.logo-row--ready .wordmark {
  opacity: 1;
  transform: translateY(0) scale(1);
  filter: none;
  transition:
    opacity 0.65s ease,
    transform 0.75s cubic-bezier(0.22, 1, 0.36, 1),
    filter 0.55s ease;
}

.logo-row:not(.logo-row--ready) .dots .dot {
  opacity: 0;
  transform: translateY(18px) scale(0.45);
  box-shadow: none;
}

.logo-row--ready .dots .dot {
  opacity: 1;
  transition:
    opacity 0.45s ease,
    transform 0.65s cubic-bezier(0.34, 1.25, 0.55, 1),
    box-shadow 0.55s ease;
}

.logo-row--ready .dots .dot:nth-child(1) {
  transition-delay: 0.05s;
}
.logo-row--ready .dots .dot:nth-child(2) {
  transition-delay: 0.1s;
}
.logo-row--ready .dots .dot:nth-child(3) {
  transition-delay: 0.15s;
}
.logo-row--ready .dots .dot:nth-child(4) {
  transition-delay: 0.2s;
}
.logo-row--ready .dots .dot:nth-child(5) {
  transition-delay: 0.25s;
}
.logo-row--ready .dots .dot:nth-child(6) {
  transition-delay: 0.3s;
}

@media (prefers-reduced-motion: reduce) {
  .logo-row:not(.logo-row--ready) .wordmark,
  .logo-row:not(.logo-row--ready) .dots .dot {
    opacity: 1;
    transform: none;
    filter: none;
  }
}

.wordmark {
  font-family: "Space Grotesk", system-ui, sans-serif;
  font-size: clamp(44px, 11vw, 76px);
  font-weight: 700;
  letter-spacing: -0.04em;
  color: var(--text);
  user-select: none;
}

/* Logo dots — aligned with Unloc_logo_dots_marketing.html */
.dots {
  display: flex;
  align-items: flex-end;
  gap: 12px;
  min-height: calc(14px + 14px);
}

.dot {
  width: 14px;
  height: 14px;
  border-radius: 50%;
  flex-shrink: 0;
  transition:
    transform 0.35s cubic-bezier(0.34, 1.3, 0.64, 1),
    box-shadow 0.25s ease;
}

.dot[data-lift="true"] {
  transform: translateY(calc(14px * -0.357));
}

.logo-row--ready .dot[data-lift="true"] {
  filter: brightness(1.08);
}

@media (prefers-reduced-motion: reduce) {
  .dot {
    transition: none;
  }
}

.dot.burn {
  background: var(--calories);
  box-shadow: 0 0 16px var(--glow-calories);
}
.dot.activate {
  background: var(--workout);
  box-shadow: 0 0 16px var(--glow-workout);
}
.dot.stride {
  background: var(--steps);
  box-shadow: 0 0 16px var(--glow-steps);
}
.dot.rise {
  background: var(--stand);
  box-shadow: 0 0 16px var(--glow-stand);
}
.dot.rest {
  background: var(--sleep);
  box-shadow: 0 0 16px var(--glow-sleep);
}
.dot.breathe {
  background: var(--breathe);
  box-shadow: 0 0 16px var(--glow-breathe);
}

@keyframes dotPopOnce {
  0% {
    transform: translateY(10px) scale(0.35);
    opacity: 0.35;
    filter: brightness(1.4);
  }
  50% {
    transform: translateY(calc(14px * -0.65)) scale(1.38);
    opacity: 1;
    filter: brightness(1.45);
  }
  100% {
    transform: translateY(calc(14px * -0.357)) scale(1);
    opacity: 1;
    filter: none;
  }
}

.dot.dot--pop-once {
  animation: dotPopOnce 0.68s cubic-bezier(0.34, 1.45, 0.52, 1) both;
  transition: none !important;
}

@media (prefers-reduced-motion: reduce) {
  .dot.dot--pop-once {
    animation: none;
  }
}

.hero-tagline {
  font-size: clamp(1.15rem, 2.8vw, 1.45rem);
  color: var(--text);
  margin-bottom: 12px;
  font-weight: 600;
  letter-spacing: -0.02em;
  text-shadow:
    0 0 42px rgba(10, 180, 254, 0.18),
    0 0 80px rgba(107, 98, 232, 0.1);
}

.hero-lede {
  font-size: clamp(0.95rem, 2.2vw, 1.08rem);
  color: var(--soft);
  max-width: 420px;
  margin: 0 auto 28px;
  line-height: 1.45;
  font-weight: 500;
  letter-spacing: 0.01em;
}

.lede-tight {
  font-size: 0.95rem;
  line-height: 1.5;
  color: var(--soft);
  max-width: 560px;
}

.section-kicker {
  margin-bottom: 18px;
  font-size: 0.88rem;
  color: var(--muted);
}

.cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
  align-items: center;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 22px;
  border-radius: 12px;
  font-size: 15px;
  font-weight: 600;
  font-family: inherit;
  border: 1px solid var(--glass-b);
  cursor: pointer;
  text-decoration: none;
  transition: background 0.15s ease, border-color 0.15s ease;
}

.btn:hover {
  text-decoration: none;
}

.btn-primary {
  background: rgba(255, 255, 255, 0.1);
  color: var(--text);
}

.btn-primary:hover {
  background: rgba(255, 255, 255, 0.14);
  border-color: rgba(255, 255, 255, 0.18);
}

.btn-glow {
  box-shadow:
    0 0 0 1px rgba(10, 180, 254, 0.15),
    0 0 28px rgba(10, 180, 254, 0.2),
    0 0 48px rgba(196, 127, 216, 0.12);
  animation: btnGlowPulse 4s ease-in-out infinite;
}

@keyframes btnGlowPulse {
  0%,
  100% {
    box-shadow:
      0 0 0 1px rgba(10, 180, 254, 0.12),
      0 0 22px rgba(10, 180, 254, 0.16),
      0 0 40px rgba(196, 127, 216, 0.08);
  }
  50% {
    box-shadow:
      0 0 0 1px rgba(10, 180, 254, 0.22),
      0 0 36px rgba(10, 180, 254, 0.28),
      0 0 56px rgba(196, 127, 216, 0.16);
  }
}

@media (prefers-reduced-motion: reduce) {
  .btn-glow {
    animation: none;
  }
}

.btn-ghost {
  background: transparent;
  color: var(--soft);
}

.btn-ghost:hover {
  color: var(--text);
  background: rgba(255, 255, 255, 0.05);
}

.cta-note {
  width: 100%;
  text-align: center;
  font-size: 12px;
  color: var(--muted);
  margin-top: 10px;
}

section.block {
  margin-bottom: clamp(48px, 8vw, 72px);
}

@media (prefers-reduced-motion: no-preference) {
  .block--reveal {
    opacity: 0;
    transform: translateY(26px);
    filter: blur(8px);
  }

  body.is-loaded .block--reveal {
    opacity: 1;
    transform: translateY(0);
    filter: none;
    transition:
      opacity 0.65s ease,
      transform 0.75s cubic-bezier(0.22, 1, 0.36, 1),
      filter 0.55s ease;
  }

  body.is-loaded .wrap > .block--reveal:nth-of-type(1) {
    transition-delay: 0.05s;
  }
  body.is-loaded .wrap > .block--reveal:nth-of-type(2) {
    transition-delay: 0.11s;
  }
  body.is-loaded .wrap > .block--reveal:nth-of-type(3) {
    transition-delay: 0.17s;
  }
  body.is-loaded .wrap > .block--reveal:nth-of-type(4) {
    transition-delay: 0.23s;
  }
}

.grid-2 {
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
}

@media (min-width: 640px) {
  .grid-2 {
    grid-template-columns: repeat(2, 1fr);
  }
}

.grid-3 {
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
}

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

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

.card {
  padding: 24px 22px;
}

.card p {
  font-size: 14px;
}

.card-blurb {
  font-size: 0.88rem !important;
  line-height: 1.45 !important;
  color: var(--soft) !important;
  margin-bottom: 10px !important;
}

.badge-pro,
.badge-free {
  display: inline-block;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 4px 8px;
  border-radius: 6px;
  border: 1px solid var(--glass-b);
}

.badge-pro {
  color: rgba(255, 255, 255, 0.55);
}

.badge-free {
  color: var(--breathe);
  border-color: rgba(196, 127, 216, 0.35);
  box-shadow: 0 0 14px rgba(196, 127, 216, 0.2);
}

@media (prefers-reduced-motion: no-preference) {
  .card--lift {
    transition:
      transform 0.35s cubic-bezier(0.22, 1, 0.36, 1),
      box-shadow 0.4s ease,
      border-color 0.35s ease;
  }

  .card--lift:hover {
    transform: translateY(-4px);
    border-color: rgba(255, 255, 255, 0.14);
    box-shadow:
      0 12px 40px rgba(0, 0, 0, 0.35),
      0 0 0 1px rgba(255, 255, 255, 0.06),
      0 0 36px rgba(10, 180, 254, 0.08);
  }
}

.source-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  display: inline-block;
  margin-right: 8px;
  vertical-align: middle;
}

.disclaimer {
  font-size: 13px;
  color: var(--muted);
  border-left: 3px solid var(--border);
  padding-left: 16px;
  margin-top: 24px;
}

.site-footer {
  border-top: 1px solid var(--border);
  padding: 32px var(--pad-x) 40px;
  margin-top: 24px;
}

.site-footer .inner {
  max-width: var(--content-max);
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 16px 24px;
  font-size: 13px;
}

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

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

.footer-meta {
  font-size: 12px;
  color: var(--muted);
}

/* Legal / inner pages */
.page-main {
  max-width: 720px;
  margin: 0 auto;
  padding: 48px var(--pad-x) 64px;
}

.page-main h1 {
  margin-bottom: 8px;
}

.page-meta {
  font-size: 12px;
  color: var(--muted);
  margin-bottom: 32px;
}

.page-main h2 {
  font-size: 1.2rem;
  margin-top: 32px;
  margin-bottom: 10px;
}

.page-main h3 {
  font-size: 1rem;
  margin-top: 24px;
}

.page-main ul,
.page-main ol {
  color: var(--soft);
  margin: 0 0 16px 1.2em;
  padding: 0;
}

.page-main li {
  margin-bottom: 8px;
}

.placeholder {
  background: rgba(255, 159, 10, 0.12);
  border: 1px dashed rgba(255, 159, 10, 0.35);
  color: rgba(255, 200, 140, 0.95);
  padding: 10px 14px;
  border-radius: 10px;
  font-size: 13px;
  margin: 12px 0 20px;
  font-family: ui-monospace, monospace;
}

.faq-item {
  margin-bottom: 28px;
}

.faq-item h3 {
  margin-bottom: 6px;
}

/* ── Load curtain (hero landing only) ── */
.load-curtain {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--bg);
  transition:
    opacity 0.65s ease,
    visibility 0.65s ease;
}

.load-curtain--out {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.load-curtain__inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
}

.load-curtain__dots {
  display: flex;
  align-items: flex-end;
  gap: 14px;
}

.load-curtain__dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  opacity: 0.35;
  transform: scale(0.85);
  animation: loadCurtainDot 1.1s ease-in-out infinite;
}

.load-curtain__dot--burn {
  background: var(--calories);
  box-shadow: 0 0 18px var(--glow-calories);
  animation-delay: 0s;
}
.load-curtain__dot--activate {
  background: var(--workout);
  box-shadow: 0 0 18px var(--glow-workout);
  animation-delay: 0.08s;
}
.load-curtain__dot--stride {
  background: var(--steps);
  box-shadow: 0 0 18px var(--glow-steps);
  animation-delay: 0.16s;
}
.load-curtain__dot--rise {
  background: var(--stand);
  box-shadow: 0 0 18px var(--glow-stand);
  animation-delay: 0.24s;
}
.load-curtain__dot--rest {
  background: var(--sleep);
  box-shadow: 0 0 18px var(--glow-sleep);
  animation-delay: 0.32s;
}
.load-curtain__dot--breathe {
  background: var(--breathe);
  box-shadow: 0 0 18px var(--glow-breathe);
  animation-delay: 0.4s;
}

@keyframes loadCurtainDot {
  0%,
  100% {
    opacity: 0.35;
    transform: translateY(0) scale(0.85);
  }
  40% {
    opacity: 1;
    transform: translateY(-10px) scale(1.15);
  }
}

@media (prefers-reduced-motion: reduce) {
  .load-curtain {
    display: none !important;
  }

  .block--reveal {
    opacity: 1 !important;
    transform: none !important;
    filter: none !important;
  }
}
