/* ============================================================
   UAS — Unified Accounting System
   Static landing page styles (built from Figma node 178:1183)
   ============================================================ */

:root {
  /* Palette — mirrored from Figma tokens */
  --bg: #01030f;
  --bg-hero: #00081b;
  --accent: #ff1956;
  --accent-soft: #ff89be;
  --accent-rose: #ff2f6e;
  --crimson-border: #68001c;
  --crimson-deep: #840225;
  --crimson-mid: #c41141;
  --crimson-glow: #d02245;
  --pink-pale: #e69abc;
  --cta-card-bg: #121423;
  --text: #f3f3f5;
  --text-heading: #eaeaec;
  --text-muted: rgba(243, 243, 245, 0.5);
  --text-hero-sub: rgba(255, 255, 255, 0.8);
  --glass: rgba(255, 255, 255, 0.05);
  --border-faint: rgba(238, 237, 255, 0.1);

  /* Typography */
  --font-sans: "Funnel Sans", "Segoe UI", -apple-system, Arial, sans-serif;
  --font-display: "Funnel Display", "Funnel Sans", "Segoe UI", Arial, sans-serif;
  --font-manrope: "Manrope", "Segoe UI", Arial, sans-serif;

  /* Spacing scale */
  --space-1: 8px;
  --space-2: 16px;
  --space-3: 24px;
  --space-4: 32px;
  --space-5: 48px;
  --space-6: 64px;
  --space-7: 80px;

  /* Radii */
  --radius-btn: 12px;
  --radius-card: 21px;
  --radius-panel: 20.667px;
  --radius-cta: 24px;
}

/* ---------- Reset / base ---------- */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-sans);
  font-size: 18px;
  line-height: 1.4;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

ul {
  list-style: none;
}

.container {
  width: 100%;
  max-width: 1240px;
  margin-inline: auto;
  padding-inline: 20px;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
  min-height: 51px;
  padding: 16px;
  border-radius: var(--radius-btn);
  font-family: var(--font-sans);
  font-weight: 600;
  font-size: 16px;
  letter-spacing: -0.32px;
  color: #fff;
  cursor: pointer;
  border: 1px solid transparent;
  transition: transform 200ms ease, box-shadow 200ms ease, filter 200ms ease,
    background-color 200ms ease, border-color 200ms ease;
}

.btn .btn-arrow {
  width: 18px;
  height: 18px;
  flex: none;
}

.btn-primary {
  width: 172px;
  border: none; /* the base .btn transparent border pushed the inset ring 1px inward */
  background-image: linear-gradient(90deg, #ff1956 61.337%, #ff89be 100%);
  box-shadow: inset 0 0 0 1px var(--border-faint);
  filter: drop-shadow(0 4px 4.5px rgba(255, 25, 86, 0.08))
    drop-shadow(0 16px 8px rgba(255, 25, 86, 0.07))
    drop-shadow(0 35px 10.5px rgba(255, 25, 86, 0.04));
}

.btn-primary:hover {
  transform: translateY(-2px);
  filter: drop-shadow(0 6px 8px rgba(255, 25, 86, 0.25))
    drop-shadow(0 20px 14px rgba(255, 25, 86, 0.12));
}

.btn-outline {
  padding: 14px 32px;
  border: 1px solid var(--accent);
  border-radius: var(--radius-btn);
  background: transparent;
  font-family: var(--font-manrope);
  font-weight: 600;
  font-size: 16px;
  letter-spacing: 0;
  gap: 10px;
}

.btn-outline:hover {
  background: rgba(255, 25, 86, 0.15);
}

.btn:focus-visible,
a:focus-visible,
button:focus-visible {
  outline: 2px solid var(--accent-soft);
  outline-offset: 3px;
}

.hero-planet-m { display: none; }

/* ---------- Header ---------- */
.site-header {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  z-index: 40;
  padding-top: 60px;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 52px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 15.5px;
  flex: none;
}

.brand-mark {
  width: 54.5px;
  height: 64.7px;
}

.brand-lockup {
  display: flex;
  align-items: center;
  gap: 17.3px;
}

.brand-wordmark {
  width: 58.9px;
  height: 23.8px;
}

.brand-divider {
  width: 1px;
  height: 45px;
}

.brand-tagline {
  width: 95.9px;
  height: 37.6px;
}

.header-right {
  display: flex;
  align-items: center;
  gap: 56px;
}

.site-nav ul {
  display: flex;
  align-items: center;
  gap: 32px;
}

.site-nav a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  font-weight: 500;
  font-size: 16px;
  letter-spacing: -0.16px;
  color: #fff;
  white-space: nowrap;
  transition: color 200ms ease;
}

.site-nav a:hover {
  color: var(--accent-soft);
}

/* Burger */
.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 44px;
  height: 44px;
  padding: 10px;
  background: transparent;
  border: none;
  box-shadow: inset 0 0 0 1px var(--border-faint);
  border-radius: 10px;
  cursor: pointer;
}

.nav-toggle .bar {
  display: block;
  width: 100%;
  height: 2px;
  background: #fff;
  border-radius: 2px;
  transition: transform 250ms ease, opacity 250ms ease;
}

.nav-toggle[aria-expanded="true"] .bar:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.nav-toggle[aria-expanded="true"] .bar:nth-child(2) {
  opacity: 0;
}

.nav-toggle[aria-expanded="true"] .bar:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  min-height: 900px;
  background-color: var(--bg-hero);
  background-image: url("../assets/bg-hero.jpg");
  background-size: cover;
  background-position: center;
  overflow: hidden;
  display: flex;
  align-items: center;
}

.hero .container {
  position: relative;
  z-index: 2;
  padding-top: 180px;
  padding-bottom: 80px;
}

.hero-content {
  display: flex;
  flex-direction: column;
  gap: 24px;
  max-width: 526px;
}

.hero-eyebrow {
  font-size: 18px;
  letter-spacing: -0.18px;
  text-transform: uppercase;
  color: #fff;
}

.hero-body {
  display: flex;
  flex-direction: column;
  gap: 43px;
  align-items: flex-start;
}

.hero-text {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.hero h1 {
  font-weight: 400;
  font-size: 64px;
  line-height: 1;
  letter-spacing: -2.56px;
  color: var(--text-heading);
}

.hero-sub {
  font-size: 18px;
  letter-spacing: -0.18px;
  color: var(--text-hero-sub);
}

/* ---------- Shared section headings ---------- */
.section-title {
  font-weight: 400;
  font-size: 64px;
  line-height: 0.9;
  letter-spacing: -2.56px;
  color: var(--text-heading);
}

/* ---------- Market section (Everything you need / audience / delivers) ---------- */
.market {
  background-color: var(--bg);
  background-image: url("../assets/bg-delivers.jpg");
  background-size: cover;
  background-position: center top;
  padding: 64px 0 30px;
}

.market-head {
  display: flex;
  align-items: center;
  gap: 24px;
  margin-bottom: 64px;
}

.market-head > * {
  flex: 1 1 0;
  min-width: 0;
}

.market-title {
  font-weight: 400;
  font-size: 64px;
  line-height: 1;
  letter-spacing: -2.56px;
  background-image: linear-gradient(90deg, #ff1956 13.717%, #ff89be 87.876%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.market-intro {
  font-size: 18px;
  letter-spacing: -0.18px;
  color: #fff;
}

/* Audience cards */
.audience-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-bottom: 24px;
}

.audience-card {
  position: relative;
  overflow: hidden;
  min-height: 230px;
  padding: 23px;
  border: 1px solid var(--crimson-border);
  border-radius: var(--radius-card);
  background: var(--glass);
  backdrop-filter: blur(75px);
  -webkit-backdrop-filter: blur(75px);
  display: flex;
  gap: 24px;
  align-items: flex-start;
}

/* Bottom-glow blobs shared by glass cards */
.audience-card::before,
.pillar-card::before {
  content: "";
  position: absolute;
  left: 20%;
  top: 138%;
  width: 66%;
  aspect-ratio: 1;
  border-radius: 50%;
  background: rgba(254, 43, 103, 0.5);
  filter: blur(110px);
  pointer-events: none;
}

.audience-card::after,
.pillar-card::after {
  content: "";
  position: absolute;
  left: 67%;
  top: 68%;
  width: 66%;
  aspect-ratio: 1;
  border-radius: 50%;
  background: linear-gradient(142.97deg, #68001c 1.65%, #a71c41 101.79%);
  filter: blur(110px);
  pointer-events: none;
}

.audience-icon {
  flex: none;
  width: 42px;
  height: 42px;
  border-radius: 9.33px;
  background: var(--accent-rose);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  z-index: 1;
}

.audience-icon img {
  width: 26px;
  height: 26px;
  object-fit: contain;
}

.audience-copy {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.audience-copy h3 {
  font-weight: 600;
  font-size: 24px;
  line-height: 1.1;
  letter-spacing: -0.72px;
  color: var(--text);
}

.audience-copy p {
  font-weight: 400;
  font-size: 18px;
  line-height: 1.2;
  letter-spacing: -0.72px;
  color: var(--text);
}

/* What UAS Delivers panel */
.delivers {
  position: relative;
  overflow: hidden;
  border: 1px solid var(--crimson-border);
  border-radius: var(--radius-panel);
  background: var(--glass);
  backdrop-filter: blur(50px);
  -webkit-backdrop-filter: blur(50px);
  padding: 47px;
}

.delivers-glow {
  position: absolute;
  border-radius: 50%;
  background: var(--accent);
  filter: blur(160px);
  aspect-ratio: 1;
  pointer-events: none;
}

.delivers-glow-1 {
  left: -20%;
  top: -55%;
  width: 49%;
  opacity: 0.2;
}

.delivers-glow-2 {
  left: 39%;
  top: 80%;
  width: 43%;
  opacity: 0.25;
}

.delivers-glow-3 {
  left: 83%;
  top: 88%;
  width: 43%;
  opacity: 0.5;
}

.delivers h2 {
  position: relative;
  z-index: 1;
  margin-bottom: 56px;
  line-height: 1;
}

.delivers-columns {
  position: relative;
  z-index: 1;
  display: flex;
  gap: 24px;
  justify-content: center;
}

.delivers-divider {
  flex: none;
  width: 1px;
  min-height: 276px;
  background: rgba(243, 243, 245, 0.25);
}

.delivers-col {
  flex: 1 1 0;
  max-width: 349px;
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.delivers-col h3 {
  font-weight: 600;
  font-size: 24px;
  line-height: 1.1;
  letter-spacing: -0.72px;
  color: var(--text);
}

.delivers-col ul {
  display: flex;
  flex-direction: column;
  gap: 24px;
  justify-content: center;
  flex: 1;
}

.delivers-col li {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  font-size: 18px;
  line-height: 1.1;
  letter-spacing: -0.72px;
  color: var(--text);
}

.delivers-col li img {
  flex: none;
  width: 21px;
  height: 21px;
  margin-top: -1px;
}

/* ---------- How it works (pillars) ---------- */
.pillars {
  padding: 30px 0 92px;
}

.pillars-head {
  display: flex;
  flex-direction: column;
  gap: 24px;
  margin-bottom: 48px;
}

.pillars-sub {
  font-size: 18px;
  letter-spacing: -0.18px;
  color: #fff;
  max-width: 478px;
}

.pillars-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

.pillar-card {
  position: relative;
  overflow: hidden;
  min-height: 240px;
  padding: 23px;
  border: 1px solid var(--crimson-border);
  border-radius: var(--radius-card);
  background-image: linear-gradient(
    151.386deg,
    rgba(196, 17, 65, 0.05) 36.483%,
    rgba(230, 154, 188, 0.05) 100%
  );
  backdrop-filter: blur(75px);
  -webkit-backdrop-filter: blur(75px);
}

.pillar-icon {
  width: 42px;
  height: 42px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
  position: relative;
  z-index: 1;
}

.pillar-icon img {
  max-width: 42px;
  max-height: 42px;
  object-fit: contain;
}

.pillar-copy {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  gap: 16px;
  max-width: 548px;
}

.pillar-copy h3 {
  font-weight: 600;
  font-size: 32px;
  line-height: 1.1;
  letter-spacing: -0.96px;
  color: var(--text);
}

.pillar-copy p {
  font-weight: 400;
  font-size: 18px;
  line-height: 1.1;
  letter-spacing: -0.72px;
  color: var(--text);
}

/* ---------- Tariff model ---------- */
.tariff {
  padding: 92px 0 0;
}

.tariff h2 {
  margin-bottom: 35px;
}

.tariff-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}

.tariff-card {
  position: relative;
  overflow: hidden;
  min-height: 240px;
  padding: 24px;
  border-radius: 20px;
  background-image: linear-gradient(131.795deg, #c41141 36.483%, #e69abc 100%);
}

.tariff-card::before {
  content: "";
  position: absolute;
  left: 20%;
  top: 139%;
  width: 66%;
  aspect-ratio: 1;
  border-radius: 50%;
  background: rgba(254, 43, 103, 0.5);
  filter: blur(110px);
  pointer-events: none;
}

.tariff-card::after {
  content: "";
  position: absolute;
  left: 67%;
  top: 68%;
  width: 66%;
  aspect-ratio: 1;
  border-radius: 50%;
  background: var(--crimson-border);
  filter: blur(110px);
  pointer-events: none;
}

.tariff-copy {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.tariff-copy h3 {
  font-weight: 600;
  font-size: 24px;
  line-height: 1.1;
  letter-spacing: -0.72px;
  color: var(--text);
}

.tariff-copy p {
  font-size: 18px;
  line-height: 1.1;
  letter-spacing: -0.72px;
  color: var(--text);
}

/* ---------- Technological Implementation ---------- */
.tech {
  padding: 80px 0;
}

.tech h2 {
  margin-bottom: 48px;
}

.tech-layout {
  display: flex;
  gap: 57px;
  align-items: center;
}

.tech-list {
  flex: 0 1 483px;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.tech-item {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.tech-item h3 {
  font-weight: 600;
  font-size: 24px;
  line-height: 1.1;
  letter-spacing: -0.72px;
  color: var(--text);
}

.tech-item p {
  font-size: 18px;
  line-height: 1.1;
  letter-spacing: -0.72px;
  color: var(--text-muted);
}

.tech-visual {
  position: relative;
  flex: 1 1 700px;
  max-width: 700px;
  aspect-ratio: 7 / 6;
  overflow: hidden;
  border-radius: var(--radius-panel);
  background: var(--glass);
  backdrop-filter: blur(21.5px);
  -webkit-backdrop-filter: blur(21.5px);
}

.tech-glow {
  position: absolute;
  border-radius: 50%;
  aspect-ratio: 1;
  filter: blur(160px);
  opacity: 0.25;
  pointer-events: none;
}

.tech-glow-1 {
  left: -12%;
  top: -31%;
  width: 42%;
  background: var(--accent);
}

.tech-glow-2 {
  left: 41%;
  top: 43%;
  width: 72%;
  background: rgba(255, 25, 86, 0.5);
}

.tech-glow-3 {
  left: 31%;
  top: -63%;
  width: 72%;
  background: rgba(255, 25, 86, 0.5);
}

.tech-laptop {
  position: absolute;
  left: -38%;
  top: -15%;
  width: 168.4%;
  max-width: none;
}

.tech-chart {
  position: absolute;
  max-width: none;
  pointer-events: none;
}

.tech-chart-1 {
  left: 7.5%;
  top: 25%;
  width: 174%;
}

.tech-chart-2 {
  left: 1.4%;
  top: 96%;
  width: 153%;
  transform: translate(-50%, -50%) rotate(9.91deg);
}

.tech-chart-3 {
  left: 45%;
  top: 112%;
  width: 153%;
  transform: translate(-50%, -50%) rotate(4.94deg);
}

.tech-logo-glow {
  position: absolute;
  left: 77%;
  top: 19%;
  width: 14%;
  aspect-ratio: 1;
  border-radius: 50%;
  background: var(--crimson-glow);
  filter: blur(80px);
  pointer-events: none;
}

.tech-logo {
  position: absolute;
  left: 58.7%;
  top: -3%;
  width: 45.4%;
  max-width: none;
  transform: rotate(-15deg);
}

/* ---------- CTA ---------- */
.cta-section {
  padding: 0 0 80px;
}

.cta-card {
  position: relative;
  overflow: hidden;
  min-height: 360px;
  border: 1px solid var(--crimson-deep);
  border-radius: var(--radius-cta);
  background: var(--cta-card-bg);
  display: flex;
  align-items: center;
}

.cta-bg {
  position: absolute;
  left: -47.6%;
  top: -161px;
  width: 211.5%;
  max-width: none;
  pointer-events: none;
  transition: opacity 0.9s linear;
}

.cta-blend {
  position: absolute;
  left: -4.5%;
  top: -335px;
  width: 146%;
  max-width: none;
  transform: rotate(-120deg) scaleY(-1);
  mix-blend-mode: color-dodge;
  pointer-events: none;
  transition: opacity 0.9s linear;
}

.cta-shade {
  position: absolute;
  border-radius: 50%;
  aspect-ratio: 1;
  background: rgba(1, 6, 16, 0.6);
  filter: blur(100px);
  pointer-events: none;
}

.cta-shade-1 {
  left: 79%;
  top: 44%;
  width: 37%;
}

.cta-shade-2 {
  left: -13%;
  top: 13%;
  width: 37%;
}

.cta-tint {
  position: absolute;
  inset: 0;
  background: #820d2c;
  mix-blend-mode: color;
  pointer-events: none;
}

.cta-content {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  gap: 24px;
  align-items: flex-start;
  padding: 54px;
}

.cta-content h2 {
  font-weight: 400;
  font-size: 48px;
  line-height: 1.05;
  letter-spacing: -1.92px;
  color: #fff;
}

.cta-content .cta-sub {
  margin-top: 16px;
  font-size: 18px;
  letter-spacing: -0.18px;
  color: #fff;
}

/* ---------- Footer ---------- */
.site-footer {
  background: var(--bg);
  padding: 55px 0 53px;
}

.footer-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 40px;
  margin-bottom: 120px;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 20px;
}

.footer-brand .brand-mark {
  width: 74.3px;
  height: 88px;
}

.footer-brand .brand-lockup {
  gap: 22.3px;
}

.footer-brand .brand-wordmark {
  width: 75.9px;
  height: 30.7px;
}

.footer-brand .brand-divider {
  height: 58px;
}

.footer-brand .brand-tagline {
  width: 123.6px;
  height: 48.4px;
}

.footer-nav ul {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.footer-nav a {
  display: inline-flex;
  align-items: center;
  min-height: 24px;
  font-size: 18px;
  line-height: 24px;
  letter-spacing: -0.54px;
  color: var(--text-muted);
  transition: color 200ms ease;
}

.footer-nav a:hover {
  color: var(--text);
}

.footer-bottom {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}

.footer-legal {
  display: flex;
  align-items: center;
  gap: 32px;
}

.footer-legal a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  font-weight: 600;
  font-size: 16px;
  line-height: 24px;
  letter-spacing: -0.48px;
  color: var(--text);
  transition: color 200ms ease;
}

.footer-legal a:hover {
  color: var(--accent-soft);
}

.footer-copy {
  font-weight: 600;
  font-size: 16px;
  line-height: 24px;
  letter-spacing: -0.48px;
  color: var(--text);
  text-align: center;
}

@media (min-width: 1025px) {
  .footer-copy {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
  }
}

/* ---------- scroll reveal ---------- */
.js [data-reveal] {
  opacity: 0;
  transform: translateY(26px);
  transition:
    opacity 0.65s cubic-bezier(0.22, 0.61, 0.36, 1),
    transform 0.65s cubic-bezier(0.22, 0.61, 0.36, 1);
  transition-delay: var(--reveal-delay, 0s);
}
.js [data-reveal].is-revealed { opacity: 1; transform: none; }

/* ============================================================
   Responsive
   ============================================================ */

@media (max-width: 1200px) {
  .hero h1,
  .section-title,
  .market-title {
    font-size: 56px;
    letter-spacing: -2.24px;
  }

  .tariff-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .tech-layout {
    flex-direction: column;
    align-items: flex-start;
    gap: 40px;
  }

  .tech-list {
    flex-basis: auto;
    max-width: 640px;
  }

  .tech-visual {
    flex-basis: auto;
    width: 100%;
  }
}

@media (max-width: 1024px) {
  .site-header {
    padding-top: 24px;
  }

  .header-inner {
    gap: 20px;
  }

  .header-right {
    gap: 16px;
  }

  .nav-toggle {
    display: flex;
  }

  .site-nav {
    position: absolute;
    z-index: 60;
    top: calc(100% + 12px);
    left: 20px;
    right: 20px;
    background: #070b1d;
    border: 1px solid var(--crimson-border);
    border-radius: 16px;
    padding: 16px;
    box-shadow: 0 18px 40px rgba(0, 0, 0, 0.55);
    display: none;
  }

  .site-nav.is-open {
    display: block;
  }

  .site-nav ul {
    flex-direction: column;
    align-items: stretch;
    gap: 4px;
  }

  .site-nav a {
    width: 100%;
    min-height: 48px;
    padding-inline: 12px;
    border-radius: 10px;
  }

  .site-nav a:hover {
    background: rgba(255, 25, 86, 0.12);
  }

  .header-cta {
    display: none;
  }

  .hero {
    min-height: 720px;
  }

  .hero .container {
    padding-top: 150px;
  }

  .audience-grid {
    grid-template-columns: 1fr;
  }

  .delivers-columns {
    flex-direction: column;
    gap: 32px;
  }

  .delivers-divider {
    width: 100%;
    min-height: 1px;
    height: 1px;
  }

  .delivers-col {
    max-width: none;
  }

  .delivers-col ul {
    gap: 16px;
  }

  .market-head {
    flex-direction: column;
    align-items: flex-start;
  }

  .pillars-grid {
    grid-template-columns: 1fr;
  }

  .pillar-copy {
    max-width: none;
  }
}

@media (max-width: 768px) {
  .hero h1,
  .section-title,
  .market-title {
    font-size: 44px;
    letter-spacing: -1.76px;
  }

  .hero {
    min-height: 620px;
    /* phones: only the clean dark edge of the art behind the copy; the planet
       gets its own stage between the headline and the sub copy */
    background-image: linear-gradient(rgba(1, 3, 15, 0.55), rgba(1, 3, 15, 0.5) 65%, rgba(1, 3, 15, 0.35) 100%), url("../assets/bg-hero.jpg");
    background-position: center top, 0% top;
  }

  .hero-planet-m {
    display: block;
    width: 116%;
    max-width: none;
    margin: 4px -8% 0;
    mix-blend-mode: lighten;
    -webkit-mask-image: radial-gradient(ellipse 72% 66% at 50% 48%, #000 55%, transparent 96%);
    mask-image: radial-gradient(ellipse 72% 66% at 50% 48%, #000 55%, transparent 96%);
  }

  .hero .container {
    padding-top: 140px;
    padding-bottom: 64px;
  }

  .market {
    padding: 56px 0 24px;
  }

  .market-head {
    gap: 16px;
    margin-bottom: 48px;
  }

  .audience-grid {
    gap: 16px;
  }

  .audience-card {
    min-height: 0;
  }

  .delivers {
    padding: 28px 24px;
  }

  .delivers h2 {
    margin-bottom: 36px;
  }

  .pillars {
    padding: 24px 0 64px;
  }

  .pillars-grid {
    gap: 16px;
  }

  .pillar-card {
    min-height: 0;
  }

  .tariff {
    padding: 64px 0 0;
  }

  .tariff-grid {
    gap: 16px;
  }

  .tariff-card {
    min-height: 0;
  }

  .tech {
    padding: 64px 0;
  }

  .cta-bg {
    left: -100%;
    top: 0;
    width: 300%;
  }

  .cta-blend {
    display: none;
  }

  .footer-nav a {
    min-height: 44px;
  }

  .cta-content {
    padding: 40px 28px;
  }

  .cta-content h2 {
    font-size: 38px;
    letter-spacing: -1.5px;
  }

  .footer-top {
    flex-direction: column;
    gap: 40px;
    margin-bottom: 64px;
  }

  .footer-bottom {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
  }

  .footer-copy {
    text-align: left;
  }

  .tech-item p br,
  .pillar-copy h3 br,
  .pillar-copy p br,
  .delivers-col li br,
  .market-intro br,
  .hero-sub br,
  .tariff-copy br {
    display: none;
  }
}

@media (max-width: 480px) {
  /* primary actions go full-width on phones, like the hub page */
  .hero .btn-primary,
  .cta-content .btn-primary {
    width: 100%;
  }

  .hero h1,
  .section-title,
  .market-title {
    font-size: 36px;
    letter-spacing: -1.44px;
  }

  .hero {
    min-height: 560px;
  }

  .hero .container {
    padding-top: 124px;
    padding-bottom: 48px;
  }

  .hero-body {
    gap: 32px;
  }

  .tariff-grid {
    grid-template-columns: 1fr;
  }

  .tariff-card {
    padding: 20px;
  }

  .audience-card {
    flex-direction: column;
    gap: 16px;
    padding: 20px;
  }

  .delivers {
    padding: 24px 18px;
  }

  .delivers h2 {
    margin-bottom: 28px;
  }

  .pillar-card {
    padding: 20px;
  }

  .pillar-copy h3 {
    font-size: 26px;
    letter-spacing: -0.78px;
  }

  .cta-content {
    padding: 36px 20px;
  }

  .cta-content h2 {
    font-size: 30px;
    letter-spacing: -1.2px;
  }

  .cta-content h2 br {
    display: none;
  }

  .cta-bg {
    left: -175%;
    width: 450%;
  }

  .brand-tagline,
  .brand-divider {
    display: none;
  }

  .footer-brand .brand-tagline,
  .footer-brand .brand-divider {
    display: block;
  }

  /* Footer brand lockup at its desktop size overflows a 375px viewport — scale it down */
  .footer-brand {
    gap: 14px;
  }

  .footer-brand .brand-mark {
    width: 56px;
    height: 66.3px;
  }

  .footer-brand .brand-lockup {
    gap: 14px;
  }

  .footer-brand .brand-wordmark {
    width: 58.9px;
    height: 23.8px;
  }

  .footer-brand .brand-divider {
    height: 45px;
  }

  .footer-brand .brand-tagline {
    width: 95.9px;
    height: 37.6px;
  }

  .footer-top {
    gap: 32px;
    margin-bottom: 48px;
  }

  .footer-legal {
    gap: 20px;
    flex-wrap: wrap;
  }
}

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    transition: none !important;
    animation: none !important;
  }

  .js [data-reveal] {
    opacity: 1;
    transform: none;
    transition: none;
  }
}

/* ---------- logo flip on hover ---------- */
header .brand { perspective: 360px; }
.logo-coin {
  position: relative;
  display: inline-block;
  flex-shrink: 0;
  transform-style: preserve-3d;
}
.logo-coin .logo-coin__layer {
  position: absolute;
  left: 0;
  top: 0;
  opacity: 0;
}
.logo-coin.is-flipping .logo-coin__layer { opacity: 1; }
.logo-coin .logo-coin__back { filter: brightness(0.5) saturate(0.85); }
@keyframes logo-flip {
  to { transform: rotateY(-1turn); }
}
.logo-coin.is-flipping { animation: logo-flip 0.9s cubic-bezier(0.45, 0.05, 0.3, 1); }

/* intro: wordmark hidden from the first frame (html.logo-intro is set in <head>), then fades in */
.logo-intro header .brand .brand-wordmark,
.logo-intro header .brand .brand-divider,
.logo-intro header .brand .brand-tagline { opacity: 0; transition: opacity 0.5s ease; }
.logo-intro header .brand .brand-divider { transition-delay: 0.22s; }
.logo-intro header .brand .brand-tagline { transition-delay: 0.44s; }
.logo-intro header .brand .is-on { opacity: 1; }

/* ---------- animated waves background ---------- */
.waves-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  pointer-events: none;
  background:
    radial-gradient(46% 30% at 12% 22%, rgba(255, 25, 86, 0.16), transparent 70%),
    radial-gradient(56% 34% at 62% 42%, rgba(255, 25, 86, 0.09), transparent 70%),
    radial-gradient(42% 30% at 88% 80%, rgba(255, 137, 190, 0.12), transparent 72%);
}
.market.has-waves { position: relative; background-image: none; }
.market.has-waves > :not(.waves-canvas) { position: relative; z-index: 1; }

/* ---------- orbiting stars in the hero ---------- */
.stars-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  pointer-events: none;
}
.hero.has-stars > .container { position: relative; z-index: 1; }

/* ---------- wide screens: seamlessly extended hero art at design scale ---------- */
@media (min-width: 1441px) {
  .hero {
    background-image: url("../assets/bg-hero-wide.jpg");
    background-size: auto 100%;
    background-position: center top;
  }
}

.hero-planet-video {
  position: absolute;
  opacity: 0;
  transition: opacity 0.6s ease;
  pointer-events: none;
  z-index: 0;
  -webkit-mask-image: radial-gradient(ellipse 45.7% 45.7% at 49.3% 47.7%, #000 76%, transparent 100%);
  mask-image: radial-gradient(ellipse 45.7% 45.7% at 49.3% 47.7%, #000 76%, transparent 100%);
}
.hero--live .hero-planet-video { opacity: 1; }
.hero-planet-video-wrap { display: none; }
@media (max-width: 767px) {
  .hero-planet-video { display: none; }
  .hero-planet-video-wrap {
    position: relative;
    width: 116%;
    max-width: none;
    margin: 4px -8% 0;
    aspect-ratio: 1100 / 897;
    overflow: hidden;
    mix-blend-mode: lighten;
    -webkit-mask-image: radial-gradient(ellipse 70% 58% at 50% 48%, #000 45%, transparent 86%);
    mask-image: radial-gradient(ellipse 70% 58% at 50% 48%, #000 45%, transparent 86%);
  }
  .hero-planet-video-wrap.is-on { display: block; }
  .hero-planet-video-wrap video {
    display: block;
    position: static;
    width: 100% !important;
    height: 100% !important;
    left: auto !important;
    top: auto !important;
    object-fit: cover;
    transform: scale(1.05);
    -webkit-mask-image: none;
    mask-image: none;
  }
}

@media (min-width: 768px) {
  .hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background-image: url("../assets/bg-hero-live.jpg");
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    opacity: 0;
    transition: opacity 0.8s ease;
    pointer-events: none;
  }
  .hero--live::before { opacity: 1; }
}
@media (min-width: 1441px) {
  .hero::before {
    background-image: url("../assets/bg-hero-wide-live.jpg");
    background-size: auto 100%;
    background-position: center top;
  }
}
