:root {
  --bg: #08090b;
  --bg-soft: #101218;
  --surface: #14171e;
  --surface-2: #1c2029;
  --surface-3: #272c36;
  --line: rgba(255, 255, 255, 0.1);
  --line-strong: rgba(255, 255, 255, 0.2);
  --text: #f7f5f2;
  --muted: #b4b1ab;
  --quiet: #85817b;
  --accent: #ff6f4e;
  --accent-soft: #ffa07f;
  --accent-dark: #1a0d09;
  --green: #34d399;
  --indigo: #7c7cff;
  --max: 1180px;
  --radius: 18px;
  --announce-h: 42px;
  --header-h: 76px;
  --top-offset: calc(var(--announce-h) + var(--header-h));
  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
}

* {
  box-sizing: border-box;
}

html {
  min-width: 320px;
  background: var(--bg);
  color: var(--text);
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-width: 320px;
  background:
    linear-gradient(180deg, rgba(124, 124, 255, 0.07) 0, rgba(9, 10, 12, 0) 560px),
    linear-gradient(180deg, var(--bg-soft) 0, var(--bg) 900px);
  color: var(--text);
  font-family: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 16px;
  line-height: 1.5;
  letter-spacing: 0;
  -webkit-font-smoothing: antialiased;
}

/* Fine grain texture over everything, imperceptible but premium */
body::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 90;
  pointer-events: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.82' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.05'/%3E%3C/svg%3E");
}

body.legal-page {
  background:
    linear-gradient(180deg, rgba(255, 111, 78, 0.07) 0, rgba(9, 10, 12, 0) 420px),
    var(--bg);
}

::selection {
  background: rgba(255, 111, 78, 0.28);
  color: var(--text);
}

a {
  color: inherit;
}

:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
  border-radius: 4px;
}

img,
svg {
  display: block;
}

.container {
  width: min(var(--max), calc(100% - 48px));
  margin: 0 auto;
}

section[id],
[id] {
  scroll-margin-top: calc(var(--top-offset) + 16px);
}

/* ---------------------------------- */
/* Announcement bar                    */
/* ---------------------------------- */

.announce {
  position: relative;
  display: flex;
  height: var(--announce-h);
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 0 16px;
  overflow: hidden;
  border-bottom: 1px solid var(--line);
  background:
    linear-gradient(90deg, rgba(255, 111, 78, 0.16), rgba(124, 124, 255, 0.12) 60%, rgba(52, 211, 153, 0.1));
  color: var(--text);
  font-size: 13px;
  font-weight: 650;
  text-decoration: none;
  white-space: nowrap;
}

.announce::after {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  left: -45%;
  width: 40%;
  background: linear-gradient(105deg, transparent, rgba(255, 255, 255, 0.09), transparent);
  animation: announce-shine 5.5s ease-in-out infinite;
}

@keyframes announce-shine {
  0%, 55% { left: -45%; }
  100% { left: 145%; }
}

.announce-badge {
  flex: none;
  padding: 3px 9px;
  border-radius: 999px;
  background: var(--accent);
  color: var(--accent-dark);
  font-size: 11px;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.announce-text {
  overflow: hidden;
  text-overflow: ellipsis;
}

.announce-text strong {
  font-weight: 850;
}

.announce-cta {
  flex: none;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  color: var(--accent-soft);
  font-weight: 850;
}

.announce-cta svg {
  transition: transform 200ms var(--ease-out);
}

.announce:hover .announce-cta svg {
  transform: translateX(3px);
}

/* ---------------------------------- */
/* Header + nav                        */
/* ---------------------------------- */

.site-header {
  position: fixed;
  top: 0;
  right: 0;
  left: 0;
  z-index: 40;
  border-bottom: 1px solid var(--line);
  background: rgba(8, 9, 11, 0.78);
  -webkit-backdrop-filter: blur(18px);
  backdrop-filter: blur(18px);
  transition: background 240ms ease, box-shadow 240ms ease;
}

.site-header.is-scrolled {
  background: rgba(8, 9, 11, 0.92);
  box-shadow: 0 14px 44px rgba(0, 0, 0, 0.4);
}

.header-inner {
  display: flex;
  height: var(--header-h);
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: var(--text);
  font-size: 21px;
  font-weight: 850;
  letter-spacing: -0.02em;
  line-height: 1;
  text-decoration: none;
}

.brand-mark {
  position: relative;
  display: inline-grid;
  width: 34px;
  height: 34px;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: linear-gradient(135deg, rgba(255, 111, 78, 0.24), rgba(255, 255, 255, 0.03));
  overflow: hidden;
  transition: transform 300ms var(--ease-out), border-color 300ms ease;
}

.brand:hover .brand-mark {
  transform: rotate(-6deg) scale(1.04);
  border-color: rgba(255, 111, 78, 0.4);
}

.brand-mark::before,
.brand-mark::after,
.brand-mark span {
  content: "";
  position: absolute;
  border: 2px solid var(--accent);
  border-radius: 999px;
}

.brand-mark::before {
  width: 16px;
  height: 16px;
  transform: translate(-4px, -1px) rotate(25deg);
  opacity: 0.95;
}

.brand-mark::after {
  width: 16px;
  height: 16px;
  transform: translate(5px, 4px) rotate(25deg);
  opacity: 0.65;
}

.brand-mark span {
  width: 9px;
  height: 9px;
  border-color: rgba(255, 255, 255, 0.72);
  transform: translate(1px, 1px) rotate(25deg);
}

.nav {
  display: flex;
  align-items: center;
  gap: 28px;
}

.nav a,
.footer-links a {
  position: relative;
  color: var(--muted);
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
  transition: color 160ms ease;
}

.nav a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 100%;
  bottom: -6px;
  height: 2px;
  border-radius: 2px;
  background: var(--accent);
  transition: right 240ms var(--ease-out);
}

.nav a:hover::after {
  right: 0;
}

.nav a:hover,
.footer-links a:hover,
.inline-link:hover {
  color: var(--text);
}

.nav-store {
  display: none;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

.nav-toggle {
  display: none;
  position: relative;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.04);
  cursor: pointer;
}

.nav-toggle span {
  position: absolute;
  left: 12px;
  right: 12px;
  height: 2px;
  border-radius: 2px;
  background: var(--text);
  transition: transform 260ms var(--ease-out), opacity 180ms ease, top 260ms var(--ease-out);
}

.nav-toggle span:nth-child(1) { top: 15px; }
.nav-toggle span:nth-child(2) { top: 21px; }
.nav-toggle span:nth-child(3) { top: 27px; }

body.nav-open .nav-toggle span:nth-child(1) {
  top: 21px;
  transform: rotate(45deg);
}

body.nav-open .nav-toggle span:nth-child(2) {
  opacity: 0;
}

body.nav-open .nav-toggle span:nth-child(3) {
  top: 21px;
  transform: rotate(-45deg);
}

/* ---------------------------------- */
/* Buttons                             */
/* ---------------------------------- */

.header-cta,
.button {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  font-size: 15px;
  font-weight: 800;
  text-decoration: none;
  transition: transform 200ms var(--ease-out), border-color 200ms ease, background 200ms ease, box-shadow 200ms ease;
}

.header-cta {
  min-height: 42px;
  padding: 0 18px;
  border: 1px solid var(--line);
  color: var(--text);
  background: rgba(255, 255, 255, 0.04);
  font-size: 14px;
}

.button {
  padding: 0 26px;
  border: 1px solid transparent;
}

.button:hover,
.header-cta:hover {
  transform: translateY(-2px);
}

.button-primary {
  position: relative;
  overflow: hidden;
  background: linear-gradient(135deg, #ff8a5e, var(--accent) 55%, #f4562f);
  color: var(--accent-dark);
  box-shadow: 0 14px 36px rgba(255, 111, 78, 0.24), inset 0 1px 0 rgba(255, 255, 255, 0.32);
}

.button-primary::after {
  content: "";
  position: absolute;
  inset: 0;
  transform: translateX(-130%) skewX(-14deg);
  background: linear-gradient(105deg, transparent 32%, rgba(255, 255, 255, 0.42) 50%, transparent 68%);
  transition: transform 640ms var(--ease-out);
}

.button-primary:hover {
  box-shadow: 0 20px 48px rgba(255, 111, 78, 0.34), inset 0 1px 0 rgba(255, 255, 255, 0.32);
}

.button-primary:hover::after {
  transform: translateX(130%) skewX(-14deg);
}

.button-ghost {
  border-color: var(--line-strong);
  background: rgba(255, 255, 255, 0.04);
  color: var(--text);
}

.button-ghost:hover {
  border-color: rgba(255, 255, 255, 0.36);
  background: rgba(255, 255, 255, 0.07);
}

.store-badge {
  display: inline-flex;
  border-radius: 12px;
  transition: transform 220ms var(--ease-out), box-shadow 220ms ease;
}

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

.store-badge:hover {
  transform: translateY(-2px) scale(1.015);
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.45);
}

.store-badge-sm img {
  height: 46px;
}

/* ---------------------------------- */
/* Type                                */
/* ---------------------------------- */

.section-block {
  padding: clamp(66px, 9vw, 104px) 0;
}

.section-border {
  border-top: 1px solid var(--line);
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 24px;
  padding: 8px 13px;
  border: 1px solid rgba(255, 111, 78, 0.26);
  border-radius: 999px;
  background: rgba(255, 111, 78, 0.08);
  color: var(--accent);
  font-size: 12px;
  font-weight: 850;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  margin: 0;
}

h1,
h2,
h3 {
  color: var(--text);
  font-weight: 850;
  letter-spacing: -0.03em;
  text-wrap: balance;
}

h1 {
  max-width: 850px;
  font-size: clamp(44px, 7vw, 82px);
  line-height: 1.01;
}

h2 {
  font-size: clamp(34px, 4.6vw, 54px);
  line-height: 1.05;
}

h3 {
  font-size: 24px;
  letter-spacing: -0.015em;
  line-height: 1.18;
}

.grad-text {
  background: linear-gradient(100deg, var(--accent) 8%, var(--accent-soft) 46%, var(--indigo) 96%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
}

/* ---------------------------------- */
/* Hero                                */
/* ---------------------------------- */

.hero {
  position: relative;
  display: flex;
  align-items: center;
  padding: calc(var(--top-offset) + clamp(44px, 7vw, 84px)) 0 clamp(64px, 8vw, 104px);
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
}

.orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(72px);
  opacity: 0.6;
  will-change: transform;
}

.orb-a {
  top: -220px;
  left: -160px;
  width: 560px;
  height: 560px;
  background: radial-gradient(circle, rgba(255, 111, 78, 0.3), transparent 62%);
  animation: drift 19s ease-in-out infinite alternate;
}

.orb-b {
  top: -120px;
  right: -180px;
  width: 520px;
  height: 520px;
  background: radial-gradient(circle, rgba(124, 124, 255, 0.26), transparent 62%);
  animation: drift 24s ease-in-out infinite alternate-reverse;
}

@keyframes drift {
  from { transform: translate3d(0, 0, 0) scale(1); }
  to { transform: translate3d(64px, 44px, 0) scale(1.14); }
}

.grid-lines {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(rgba(255, 255, 255, 0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.045) 1px, transparent 1px);
  background-size: 54px 54px;
  -webkit-mask-image: radial-gradient(ellipse 82% 72% at 58% 18%, black, transparent 70%);
  mask-image: radial-gradient(ellipse 82% 72% at 58% 18%, black, transparent 70%);
}

.hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(360px, 430px);
  align-items: center;
  gap: 56px;
}

.hero-lede {
  max-width: 640px;
  margin-top: 28px;
  color: var(--muted);
  font-size: clamp(17px, 2vw, 21px);
  line-height: 1.6;
}

.hero-lede strong {
  color: var(--text);
  font-weight: 750;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 16px;
  margin-top: 38px;
}

.signal-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 30px;
}

.signal-row span {
  padding: 9px 13px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.035);
  color: var(--muted);
  font-size: 13px;
  font-weight: 700;
}

/* Phone mockup */

.hero-visual {
  position: relative;
  display: flex;
  justify-content: center;
  padding: 16px 0;
}

.phone-glow {
  position: absolute;
  top: 50%;
  left: 50%;
  z-index: 0;
  width: 430px;
  height: 430px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 111, 78, 0.22), rgba(124, 124, 255, 0.1) 46%, transparent 68%);
  filter: blur(56px);
  transform: translate(-50%, -50%);
  animation: glow-pulse 9s ease-in-out infinite;
}

@keyframes glow-pulse {
  0%, 100% { opacity: 0.75; transform: translate(-50%, -50%) scale(1); }
  50% { opacity: 1; transform: translate(-50%, -50%) scale(1.1); }
}

.phone {
  position: relative;
  z-index: 1;
  width: min(300px, 82vw);
  padding: 10px;
  border-radius: 48px;
  background: linear-gradient(160deg, rgba(255, 255, 255, 0.18), rgba(255, 255, 255, 0.05) 28%, rgba(255, 255, 255, 0.02) 58%, rgba(255, 111, 78, 0.2));
  box-shadow:
    0 44px 96px rgba(0, 0, 0, 0.54),
    0 0 0 1px rgba(255, 255, 255, 0.07);
  animation: phone-float 7s ease-in-out infinite;
}

@keyframes phone-float {
  0%, 100% { transform: translateY(0) rotate(0.001deg); }
  50% { transform: translateY(-12px) rotate(0.001deg); }
}

.phone-screen {
  display: flex;
  flex-direction: column;
  gap: 12px;
  min-height: 560px;
  padding: 12px 15px 16px;
  border-radius: 39px;
  background:
    radial-gradient(120% 66% at 50% 0%, rgba(255, 111, 78, 0.1), transparent 52%),
    #0b0d11;
  overflow: hidden;
}

.phone-status {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 2px 8px 0;
}

.ps-time {
  font-size: 12px;
  font-weight: 750;
  letter-spacing: 0.01em;
}

.phone-island {
  width: 76px;
  height: 22px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.07);
  background: #000;
}

.ps-icons {
  display: inline-flex;
  gap: 4px;
}

.ps-icons i {
  width: 13px;
  height: 9px;
  border-radius: 2.5px;
  background: rgba(255, 255, 255, 0.62);
}

.ps-icons i:nth-child(2) { opacity: 0.7; }
.ps-icons i:nth-child(3) { width: 19px; opacity: 0.9; }

.app-top {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 6px;
  padding: 0 2px;
}

.app-logo {
  display: inline-grid;
  width: 34px;
  height: 34px;
  flex: none;
  place-items: center;
  border-radius: 10px;
  background: linear-gradient(135deg, var(--accent), #d94a2a);
  box-shadow: 0 8px 18px rgba(255, 111, 78, 0.32);
  color: #fff;
  font-size: 16px;
  font-weight: 900;
}

.app-name {
  display: grid;
  line-height: 1.15;
}

.app-name strong {
  font-size: 14.5px;
  font-weight: 850;
  letter-spacing: -0.01em;
}

.app-name em {
  color: var(--quiet);
  font-size: 10.5px;
  font-style: normal;
  font-weight: 650;
}

.app-day {
  margin-left: auto;
  padding: 5px 9px;
  border: 1px solid rgba(52, 211, 153, 0.3);
  border-radius: 999px;
  background: rgba(52, 211, 153, 0.1);
  color: var(--green);
  font-size: 10px;
  font-weight: 850;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.app-card {
  padding: 14px;
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.045);
}

.app-card-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.app-tag {
  color: var(--accent);
  font-size: 10px;
  font-weight: 900;
  letter-spacing: 0.07em;
  text-transform: uppercase;
}

.app-time {
  color: var(--quiet);
  font-size: 10.5px;
  font-weight: 750;
}

.app-wod strong {
  display: block;
  margin-top: 9px;
  font-size: 16.5px;
  font-weight: 850;
  letter-spacing: -0.015em;
}

.app-wod p {
  margin-top: 5px;
  color: var(--muted);
  font-size: 11.5px;
  line-height: 1.5;
}

.app-progress {
  position: relative;
  height: 7px;
  margin-top: 12px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.09);
  overflow: hidden;
}

.app-progress i {
  position: absolute;
  inset: 0 auto 0 0;
  width: 64%;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--accent), var(--accent-soft));
  animation: fill-bar 1.7s var(--ease-out) 0.7s both;
  overflow: hidden;
}

.app-progress i::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(105deg, transparent 20%, rgba(255, 255, 255, 0.5) 50%, transparent 80%);
  transform: translateX(-110%);
  animation: bar-shine 3.4s ease-in-out 2.4s infinite;
}

@keyframes fill-bar {
  from { width: 0; }
  to { width: 64%; }
}

@keyframes bar-shine {
  0%, 55% { transform: translateX(-110%); }
  100% { transform: translateX(110%); }
}

.app-progress-meta {
  display: flex;
  justify-content: space-between;
  margin-top: 8px;
  color: var(--quiet);
  font-size: 10.5px;
  font-weight: 700;
}

.app-coach {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  border-color: rgba(124, 124, 255, 0.24);
  background: rgba(124, 124, 255, 0.08);
}

.app-avatar {
  display: inline-grid;
  width: 26px;
  height: 26px;
  flex: none;
  place-items: center;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--indigo), #4f4fd8);
  font-size: 9.5px;
  font-weight: 900;
  color: #fff;
}

.app-coach p {
  color: var(--muted);
  font-size: 11.5px;
  line-height: 1.5;
}

.app-coach p strong {
  display: block;
  margin-bottom: 2px;
  color: #b9b9ff;
  font-size: 9.5px;
  font-weight: 900;
  letter-spacing: 0.07em;
  text-transform: uppercase;
}

.app-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  margin-top: auto;
}

.app-stats span {
  display: grid;
  gap: 2px;
  padding: 11px 8px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 13px;
  background: rgba(255, 255, 255, 0.035);
  text-align: center;
}

.app-stats strong {
  font-size: 16px;
  font-weight: 850;
  letter-spacing: -0.01em;
}

.app-stats em {
  color: var(--quiet);
  font-size: 9px;
  font-style: normal;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.float-chip {
  position: absolute;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 11px 15px;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  background: rgba(12, 14, 18, 0.88);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  box-shadow: 0 18px 44px rgba(0, 0, 0, 0.45);
  color: var(--text);
  font-size: 13px;
  font-weight: 800;
  text-decoration: none;
  white-space: nowrap;
}

.float-chip-store {
  top: 42px;
  right: -14px;
  animation: float-y 6s ease-in-out infinite;
  transition: border-color 200ms ease, transform 200ms ease;
}

.float-chip-store:hover {
  border-color: rgba(52, 211, 153, 0.55);
}

.float-chip-ai {
  bottom: 58px;
  left: -20px;
  color: var(--muted);
  animation: float-y 7.5s ease-in-out 1.4s infinite;
}

@keyframes float-y {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}

.live-dot {
  width: 8px;
  height: 8px;
  flex: none;
  border-radius: 50%;
  background: var(--green);
  animation: live-pulse 2.2s ease-out infinite;
}

@keyframes live-pulse {
  0% { box-shadow: 0 0 0 0 rgba(52, 211, 153, 0.5); }
  70% { box-shadow: 0 0 0 9px rgba(52, 211, 153, 0); }
  100% { box-shadow: 0 0 0 0 rgba(52, 211, 153, 0); }
}

/* ---------------------------------- */
/* Split + AI sections                 */
/* ---------------------------------- */

.split-section {
  display: grid;
  grid-template-columns: 0.9fr 1fr;
  gap: 72px;
}

.text-stack {
  display: grid;
  gap: 20px;
  color: var(--muted);
  font-size: clamp(17px, 1.8vw, 20px);
  line-height: 1.7;
}

.section-heading {
  max-width: 780px;
  margin-bottom: 46px;
}

.ai-section {
  border-top: 1px solid var(--line);
  background:
    linear-gradient(90deg, rgba(52, 211, 153, 0.07), rgba(124, 124, 255, 0.07), rgba(255, 111, 78, 0.06)),
    rgba(255, 255, 255, 0.015);
}

.ai-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 440px;
  align-items: center;
  gap: 72px;
}

.ai-copy > p:not(.eyebrow) {
  max-width: 680px;
  margin-top: 22px;
  color: var(--muted);
  font-size: clamp(17px, 1.8vw, 20px);
  line-height: 1.65;
}

.ai-feature-list {
  display: grid;
  gap: 14px;
  margin-top: 34px;
}

.ai-feature {
  display: grid;
  grid-template-columns: 44px minmax(0, 1fr);
  gap: 16px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: rgba(9, 10, 12, 0.46);
  transition: border-color 200ms ease, transform 200ms var(--ease-out), background 200ms ease;
}

.ai-feature:hover {
  transform: translateY(-3px);
  border-color: rgba(255, 111, 78, 0.34);
  background: rgba(255, 255, 255, 0.045);
}

.ai-feature-icon {
  display: inline-grid;
  width: 44px;
  height: 44px;
  place-items: center;
  border: 1px solid rgba(255, 111, 78, 0.28);
  border-radius: 12px;
  background: rgba(255, 111, 78, 0.12);
  color: var(--accent);
  font-size: 12px;
  font-weight: 900;
}

.ai-feature h3 {
  font-size: 18px;
}

.ai-feature p {
  margin-top: 5px;
  color: var(--muted);
}

.ai-visual {
  position: relative;
  min-height: 520px;
  display: grid;
  place-items: center;
}

.ai-orbit {
  position: relative;
  display: grid;
  width: 320px;
  height: 320px;
  place-items: center;
}

.orbit-ring,
.orbit-node,
.orbit-sweep,
.ai-core {
  position: absolute;
}

.orbit-ring {
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 999px;
}

.orbit-ring-one {
  inset: 22px;
  animation: slow-spin 18s linear infinite;
}

.orbit-ring-two {
  inset: 70px;
  border-color: rgba(255, 111, 78, 0.22);
  animation: slow-spin 14s linear infinite reverse;
}

.orbit-sweep {
  inset: 20px;
  border-radius: 50%;
  background: conic-gradient(from 0deg, transparent 0 72%, rgba(255, 111, 78, 0.3) 88%, transparent 100%);
  -webkit-mask: radial-gradient(circle, transparent 57%, black 58.5%);
  mask: radial-gradient(circle, transparent 57%, black 58.5%);
  animation: slow-spin 9s linear infinite;
}

.orbit-node {
  width: 13px;
  height: 13px;
  border-radius: 999px;
  background: var(--green);
  box-shadow: 0 0 0 8px rgba(52, 211, 153, 0.12);
  animation: node-pulse 3.2s ease-in-out infinite;
}

.orbit-node-one {
  top: 44px;
  left: 85px;
}

.orbit-node-two {
  right: 42px;
  top: 150px;
  background: var(--accent);
  box-shadow: 0 0 0 8px rgba(255, 111, 78, 0.12);
  animation-delay: 1.1s;
}

.orbit-node-three {
  bottom: 54px;
  left: 130px;
  background: var(--indigo);
  box-shadow: 0 0 0 8px rgba(124, 124, 255, 0.12);
  animation-delay: 2.2s;
}

@keyframes node-pulse {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.35); }
}

.ai-core {
  display: grid;
  width: 116px;
  height: 116px;
  place-items: center;
  border: 1px solid rgba(255, 111, 78, 0.32);
  border-radius: 20px;
  background: linear-gradient(135deg, rgba(255, 111, 78, 0.18), rgba(124, 124, 255, 0.18)), var(--surface);
  color: var(--text);
  font-size: 34px;
  font-weight: 900;
  box-shadow: 0 22px 58px rgba(0, 0, 0, 0.34);
}

.ai-card {
  position: absolute;
  width: 220px;
  padding: 17px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: rgba(9, 10, 12, 0.78);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
}

.ai-card span {
  color: var(--accent);
  font-size: 11px;
  font-weight: 900;
  text-transform: uppercase;
}

.ai-card strong {
  display: block;
  margin-top: 8px;
  color: var(--text);
}

.ai-card-top {
  top: 24px;
  right: 0;
  animation: float-y 7s ease-in-out infinite;
}

.ai-card-bottom {
  bottom: 28px;
  left: 0;
  animation: float-y 8s ease-in-out 1.6s infinite;
}

@keyframes slow-spin {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

/* ---------------------------------- */
/* Products                            */
/* ---------------------------------- */

.product-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.32fr) minmax(320px, 0.9fr);
  gap: 18px;
  align-items: stretch;
}

.product-card {
  min-height: 190px;
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  transition: transform 220ms var(--ease-out), border-color 220ms ease, background 220ms ease, box-shadow 220ms ease;
}

.product-card:hover,
.principle-grid article:hover {
  transform: translateY(-4px);
  border-color: rgba(255, 111, 78, 0.3);
  background: var(--surface-2);
  box-shadow: 0 24px 54px rgba(0, 0, 0, 0.34);
}

.product-kicker-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.product-kicker,
.console-line span,
.principle-grid > article > span {
  color: var(--accent);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.product-status {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 12px;
  border: 1px solid rgba(52, 211, 153, 0.32);
  border-radius: 999px;
  background: rgba(52, 211, 153, 0.1);
  color: var(--green);
  font-size: 12px;
  font-weight: 850;
}

.product-card-featured {
  grid-column: 1;
  grid-row: span 3;
  min-height: 100%;
  display: flex;
  flex-direction: column;
  border: 1px solid transparent;
  background:
    linear-gradient(135deg, rgba(255, 111, 78, 0.13), rgba(20, 23, 30, 0.92) 44%, rgba(20, 23, 30, 0.96)) padding-box,
    linear-gradient(150deg, rgba(255, 111, 78, 0.55), rgba(255, 255, 255, 0.13) 42%, rgba(124, 124, 255, 0.42)) border-box;
}

.product-card-featured:hover {
  background:
    linear-gradient(135deg, rgba(255, 111, 78, 0.17), rgba(24, 28, 36, 0.94) 44%, rgba(24, 28, 36, 0.97)) padding-box,
    linear-gradient(150deg, rgba(255, 111, 78, 0.7), rgba(255, 255, 255, 0.16) 42%, rgba(124, 124, 255, 0.55)) border-box;
}

.product-card-featured h3 {
  font-size: clamp(30px, 3.4vw, 38px);
}

.product-sub {
  margin-top: 6px;
  color: var(--accent-soft);
  font-size: 15px;
  font-weight: 800;
  letter-spacing: 0.01em;
}

.product-card-featured > p:not(.product-sub) {
  max-width: 680px;
  font-size: 18px;
  line-height: 1.65;
}

.product-links {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 18px;
  margin-top: auto;
  padding-top: 26px;
}

.product-grid .product-card:not(.product-card-featured) {
  grid-column: 2;
}

.product-card h3 {
  margin-top: 18px;
}

.product-card p {
  margin-top: 14px;
  color: var(--muted);
}

.feature-list {
  display: grid;
  gap: 8px;
  margin: 22px 0 0;
  padding-left: 18px;
  color: var(--muted);
}

.feature-list li::marker {
  color: var(--accent);
}

.inline-link {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: var(--text);
  font-weight: 800;
  text-decoration: none;
}

.inline-link svg {
  transition: transform 200ms var(--ease-out);
}

.inline-link:hover svg {
  transform: translateX(3px);
}

/* ---------------------------------- */
/* Principles                          */
/* ---------------------------------- */

.principles {
  display: grid;
  gap: 42px;
}

.principle-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.principle-grid article {
  min-height: 230px;
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.035);
  transition: transform 220ms var(--ease-out), border-color 220ms ease, background 220ms ease, box-shadow 220ms ease;
}

.principle-grid h3 {
  margin-top: 22px;
}

.principle-grid p {
  margin-top: 14px;
  color: var(--muted);
}

/* Pointer spotlight (JS sets --mx / --my) */

@media (hover: hover) and (pointer: fine) {
  .spot {
    position: relative;
    overflow: hidden;
  }

  .spot::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 0;
    opacity: 0;
    background: radial-gradient(260px circle at var(--mx, 50%) var(--my, 50%), rgba(255, 140, 105, 0.11), transparent 68%);
    transition: opacity 260ms ease;
    pointer-events: none;
  }

  .spot:hover::before {
    opacity: 1;
  }

  .spot > * {
    position: relative;
    z-index: 1;
  }
}

/* ---------------------------------- */
/* Contact + footer                    */
/* ---------------------------------- */

.contact-section {
  padding-top: 24px;
}

.contact-card {
  position: relative;
  padding: clamp(32px, 5vw, 60px);
  border: 1px solid transparent;
  border-radius: 24px;
  background:
    linear-gradient(135deg, rgba(255, 111, 78, 0.14), rgba(20, 23, 30, 0.94) 52%, rgba(124, 124, 255, 0.1)) padding-box,
    linear-gradient(140deg, rgba(255, 111, 78, 0.5), rgba(255, 255, 255, 0.12) 45%, rgba(124, 124, 255, 0.45)) border-box;
  overflow: hidden;
}

.contact-card::before {
  content: "";
  position: absolute;
  top: -160px;
  left: -120px;
  width: 540px;
  height: 360px;
  background: radial-gradient(ellipse, rgba(255, 111, 78, 0.18), transparent 68%);
  filter: blur(30px);
  pointer-events: none;
}

.contact-card > * {
  position: relative;
}

.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(300px, 360px);
  align-items: center;
  gap: clamp(28px, 5vw, 72px);
}

.contact-copy h2 {
  max-width: 620px;
}

.contact-copy > p:not(.eyebrow):not(.address) {
  max-width: 600px;
  margin-top: 20px;
  color: var(--muted);
  font-size: 18px;
}

.contact-copy .address {
  margin-top: 28px;
  color: var(--quiet);
  font-size: 14px;
}

.contact-panel {
  display: grid;
  gap: 14px;
  justify-items: start;
  padding: clamp(22px, 3vw, 30px);
  border: 1px solid var(--line);
  border-radius: 18px;
  background: rgba(8, 9, 11, 0.55);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
}

.contact-panel .button {
  width: 100%;
}

.contact-panel-label {
  color: var(--quiet);
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

.contact-panel-divider {
  width: 100%;
  height: 1px;
  margin: 8px 0;
  background: var(--line);
}

.site-footer {
  padding: 64px 0 34px;
  border-top: 1px solid var(--line);
  background: var(--bg);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.7fr 0.7fr;
  gap: 40px;
}

.footer-grid p {
  max-width: 360px;
  margin-top: 16px;
  color: var(--muted);
}

.footer-store {
  margin-top: 20px;
}

.footer-store img {
  height: 44px;
}

.footer-links {
  display: grid;
  gap: 12px;
  align-content: start;
}

.footer-heading {
  color: var(--quiet);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 10px;
  margin-top: 44px;
  padding-top: 22px;
  border-top: 1px solid var(--line);
  color: var(--quiet);
  font-size: 14px;
}

/* ---------------------------------- */
/* Legal pages                         */
/* ---------------------------------- */

.legal-main {
  padding: calc(var(--top-offset) + 48px) 0 84px;
}

.legal-shell {
  display: grid;
  grid-template-columns: 280px minmax(0, 1fr);
  gap: 58px;
}

.legal-aside {
  position: sticky;
  top: calc(var(--top-offset) + 24px);
  height: fit-content;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.035);
}

.legal-aside p {
  color: var(--quiet);
  font-size: 14px;
}

.legal-aside .button {
  width: 100%;
  margin-top: 18px;
}

.legal-content {
  max-width: 760px;
}

.legal-content h1 {
  font-size: clamp(40px, 5.4vw, 58px);
}

.legal-updated {
  margin-top: 14px;
  color: var(--quiet);
}

.legal-content h2 {
  margin-top: 46px;
  font-size: 28px;
}

.legal-content h3 {
  margin-top: 28px;
  font-size: 20px;
}

.legal-content p,
.legal-content li {
  color: var(--muted);
  font-size: 17px;
  line-height: 1.75;
}

.legal-content p {
  margin-top: 16px;
}

.legal-content ul {
  margin: 16px 0 0;
  padding-left: 20px;
}

.legal-content a {
  color: var(--accent);
  font-weight: 750;
}

/* ---------------------------------- */
/* Reveal animation                    */
/* ---------------------------------- */

[data-reveal] {
  opacity: 0;
  transform: translateY(26px);
  filter: blur(9px);
  transition:
    opacity 760ms var(--ease-out),
    transform 760ms var(--ease-out),
    filter 760ms var(--ease-out);
}

[data-reveal].is-visible {
  opacity: 1;
  transform: translateY(0);
  filter: blur(0);
}

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

  *,
  *::before,
  *::after {
    animation-duration: 1ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 1ms !important;
  }

  [data-reveal] {
    opacity: 1;
    transform: none;
    filter: none;
  }
}

/* ---------------------------------- */
/* Responsive                          */
/* ---------------------------------- */

@media (max-width: 980px) {
  .nav {
    position: fixed;
    top: var(--top-offset);
    right: 0;
    left: 0;
    z-index: 39;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 8px 24px 26px;
    border-bottom: 1px solid var(--line);
    background: rgba(10, 12, 16, 0.99);
    -webkit-backdrop-filter: blur(24px);
    backdrop-filter: blur(24px);
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.5);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-14px);
    pointer-events: none;
    transition: opacity 280ms ease, transform 280ms var(--ease-out), visibility 280ms;
  }

  body.nav-open .nav {
    opacity: 1;
    visibility: visible;
    transform: none;
    pointer-events: auto;
  }

  body.nav-open::before {
    content: "";
    position: fixed;
    inset: 0;
    z-index: 38;
    background: rgba(3, 4, 5, 0.6);
    -webkit-backdrop-filter: blur(5px);
    backdrop-filter: blur(5px);
  }

  .nav a {
    padding: 16px 2px;
    border-bottom: 1px solid var(--line);
    font-size: 17px;
  }

  .nav a::after {
    display: none;
  }

  .nav .nav-store {
    display: inline-flex;
    align-self: flex-start;
    margin-top: 20px;
    padding: 0;
    border-bottom: 0;
  }

  .nav-store img {
    height: 46px;
  }

  .nav-toggle {
    display: inline-flex;
  }

  .hero-grid,
  .split-section,
  .ai-grid,
  .contact-grid,
  .legal-shell {
    grid-template-columns: 1fr;
  }

  .hero-grid {
    gap: 64px;
  }

  .hero-visual {
    order: 2;
    max-width: 460px;
    margin: 0 auto;
    width: 100%;
  }

  .ai-visual {
    min-height: 440px;
  }

  .product-grid,
  .principle-grid,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .product-card-featured {
    grid-column: auto;
    grid-row: auto;
    min-height: 260px;
  }

  .product-grid .product-card:not(.product-card-featured) {
    grid-column: auto;
  }

  .legal-aside {
    position: static;
  }
}

@media (max-width: 640px) {
  :root {
    --announce-h: 38px;
    --header-h: 64px;
  }

  .container {
    width: min(100% - 32px, var(--max));
  }

  .announce {
    gap: 8px;
    font-size: 12px;
  }

  .announce-badge {
    padding: 2px 7px;
    font-size: 10px;
  }

  .sm-hide {
    display: none;
  }

  .header-cta {
    display: none;
  }

  .brand {
    font-size: 18px;
  }

  .brand-mark {
    width: 30px;
    height: 30px;
  }

  .hero-actions .button,
  .hero-actions .store-badge {
    width: 100%;
    justify-content: center;
  }

  .store-badge img {
    height: 52px;
    margin: 0 auto;
  }

  .signal-row span {
    font-size: 12px;
  }

  .phone-screen {
    min-height: 520px;
  }

  .float-chip {
    padding: 9px 13px;
    font-size: 12px;
  }

  .float-chip-store {
    top: 22px;
    right: -4px;
  }

  .float-chip-ai {
    bottom: 40px;
    left: -4px;
  }

  .ai-visual {
    min-height: 380px;
  }

  .ai-orbit {
    width: 250px;
    height: 250px;
  }

  .ai-card {
    position: relative;
    width: 100%;
    margin-top: 12px;
    animation: none;
  }

  .ai-card-top,
  .ai-card-bottom {
    inset: auto;
  }

  .product-links {
    gap: 14px;
  }

  .contact-card {
    padding: 36px 22px;
  }

  .legal-main {
    padding-top: calc(var(--top-offset) + 28px);
  }
}
