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

:root {
  --canvas: #f4f8ff;
  --canvas-strong: #eaf2ff;
  --ink: #0b1220;
  --ink-soft: #334155;
  --muted: #64748b;
  --surface: #ffffff;
  --brand: #1769ff;
  --brand-strong: #064fd6;
  --mint: #65d6be;
  --amber: #f4b84b;
  --line: #d7e1ee;
  --shadow-tight: 0 5px 14px rgba(15, 23, 42, 0.08);
  --shadow-object: 0 24px 70px rgba(23, 105, 255, 0.22);
  --radius-sm: 10px;
  --radius-md: 14px;
  --radius-lg: 18px;
  --radius-xl: 28px;
  --max: 1180px;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background:
    radial-gradient(circle at 12% 18%, rgba(101, 214, 190, 0.22), transparent 26rem),
    radial-gradient(circle at 82% 10%, rgba(23, 105, 255, 0.18), transparent 30rem),
    var(--canvas);
  color: var(--ink);
  font-family: "Avenir Next", "SF Pro Display", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background-image: linear-gradient(rgba(11, 18, 32, 0.025) 1px, transparent 1px), linear-gradient(90deg, rgba(11, 18, 32, 0.025) 1px, transparent 1px);
  background-size: 42px 42px;
  mask-image: linear-gradient(to bottom, rgba(0,0,0,0.55), transparent 72%);
  z-index: -2;
}

a {
  color: inherit;
}

img {
  max-width: 100%;
}

.hero-copy,
.hero-stage,
.section-head,
.studio-copy,
.app-module,
.app-topline > div,
.proof-pill,
.legal-doc,
.legal-aside-card {
  min-width: 0;
}

.skip-link {
  position: absolute;
  left: 20px;
  top: 12px;
  z-index: 999;
  transform: translateY(-160%);
  background: var(--ink);
  color: #fff;
  padding: 10px 14px;
  border-radius: var(--radius-sm);
}

.skip-link:focus {
  transform: translateY(0);
}

.site-nav {
  position: sticky;
  top: 0;
  z-index: 50;
  border-bottom: 1px solid rgba(215, 225, 238, 0.8);
  background: rgba(244, 248, 255, 0.74);
  backdrop-filter: blur(22px);
}

.nav-inner,
.footer-inner {
  width: min(var(--max), calc(100% - 40px));
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.nav-inner {
  height: 72px;
}

.brand-lockup {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  text-decoration: none;
  color: var(--ink);
  font-weight: 800;
  letter-spacing: 0;
}

.brand-lockup img {
  width: 40px;
  height: 40px;
  display: block;
}

.nav-links,
.nav-actions,
.footer-inner nav {
  display: flex;
  align-items: center;
  gap: 22px;
}

.nav-links a,
.footer-inner nav a {
  color: var(--ink-soft);
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 650;
}

.nav-links a:hover,
.footer-inner nav a:hover {
  color: var(--brand);
}

.nav-cta,
.btn,
.cta-links a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  border-radius: 999px;
  text-decoration: none;
  font-weight: 750;
  transition: transform 180ms ease, background 180ms ease, color 180ms ease, border-color 180ms ease;
}

.nav-cta {
  padding: 0 18px;
  color: #fff;
  background: var(--ink);
  font-size: 0.88rem;
}

.nav-cta:hover {
  transform: translateY(-1px);
  background: var(--brand);
}

.lang-switcher {
  position: relative;
}

.lang-toggle {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 40px;
  border: 1px solid rgba(215, 225, 238, 0.9);
  border-radius: 999px;
  padding: 0 12px;
  color: var(--ink);
  background: rgba(255, 255, 255, 0.76);
  font: inherit;
  font-size: 0.82rem;
  font-weight: 800;
  cursor: pointer;
}

.lang-dot {
  width: 9px;
  height: 9px;
  border-radius: 999px;
  background: var(--mint);
  box-shadow: 0 0 0 3px rgba(101, 214, 190, 0.18);
}

.lang-dropdown {
  position: absolute;
  top: calc(100% + 10px);
  right: 0;
  width: 170px;
  padding: 6px;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.96);
  box-shadow: var(--shadow-tight);
  opacity: 0;
  transform: translateY(-6px) scale(0.98);
  pointer-events: none;
  transition: opacity 180ms ease, transform 180ms ease;
}

.lang-dropdown.open {
  opacity: 1;
  transform: translateY(0) scale(1);
  pointer-events: auto;
}

.lang-option {
  width: 100%;
  border: 0;
  border-radius: 10px;
  background: transparent;
  color: var(--ink);
  padding: 10px;
  text-align: left;
  cursor: pointer;
  font: inherit;
  font-size: 0.86rem;
  font-weight: 650;
}

.lang-option:hover,
.lang-option.active {
  background: var(--canvas-strong);
  color: var(--brand);
}

.flag {
  display: inline-flex;
  width: 28px;
  color: var(--muted);
  font-size: 0.7rem;
  font-weight: 800;
}

.hero {
  position: relative;
  min-height: min(calc(100dvh - 72px), 780px);
  display: grid;
  align-items: center;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 8% 4% auto 42%;
  height: 76%;
  border-radius: 42px;
  background:
    linear-gradient(145deg, rgba(255,255,255,0.72), rgba(234,242,255,0.24)),
    radial-gradient(circle at 55% 35%, rgba(23, 105, 255, 0.3), transparent 34rem);
  border: 1px solid rgba(255,255,255,0.78);
  transform: rotate(-2deg);
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.7);
}

.hero-inner {
  width: min(var(--max), calc(100% - 40px));
  margin: 0 auto;
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(420px, 1.08fr);
  align-items: center;
  gap: clamp(28px, 5vw, 72px);
  padding: 52px 0 42px;
}

.hero-kicker {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 0 0 22px;
}

.hero-kicker span {
  display: inline-flex;
  align-items: center;
  min-height: 32px;
  border: 1px solid rgba(23, 105, 255, 0.14);
  border-radius: 999px;
  padding: 0 13px;
  background: rgba(255,255,255,0.7);
  color: var(--brand-strong);
  font-size: 0.78rem;
  font-weight: 800;
}

.hero h1 {
  max-width: 10ch;
  margin: 0;
  font-size: clamp(3rem, 8vw, 5.7rem);
  line-height: 0.96;
  letter-spacing: 0;
  text-wrap: balance;
}

.hero h1 span {
  display: block;
}

.hero h1 span:last-child {
  color: var(--brand);
}

.hero-lede {
  max-width: 560px;
  margin: 24px 0 0;
  color: var(--ink-soft);
  font-size: clamp(1rem, 1.5vw, 1.16rem);
  line-height: 1.66;
  text-wrap: pretty;
  overflow-wrap: anywhere;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 34px;
}

.btn {
  padding: 0 22px;
  font-size: 0.96rem;
}

.btn:hover,
.cta-links a:hover {
  transform: translateY(-2px);
}

.btn-primary {
  color: #fff;
  background: var(--brand);
  box-shadow: 0 12px 28px rgba(23, 105, 255, 0.24);
}

.btn-primary:hover {
  background: var(--brand-strong);
}

.btn-secondary {
  color: var(--ink);
  background: rgba(255,255,255,0.76);
  border: 1px solid rgba(215,225,238,0.9);
}

.hero-stage {
  position: relative;
  min-height: 520px;
  display: grid;
  place-items: center;
  perspective: 1200px;
  isolation: isolate;
}

.hero-character {
  position: relative;
  z-index: 2;
  width: min(300px, 31vw);
  max-height: min(560px, 64vh);
  object-fit: contain;
  margin-top: 0;
  filter: drop-shadow(0 34px 54px rgba(23, 105, 255, 0.24));
  transform-origin: center bottom;
  will-change: transform;
}

.motion-orbit {
  position: absolute;
  border-radius: 999px;
  border: 1px solid rgba(23, 105, 255, 0.18);
  background: rgba(255,255,255,0.38);
  backdrop-filter: blur(16px);
}

.orbit-a {
  width: 78%;
  aspect-ratio: 1;
  right: 3%;
  bottom: 7%;
}

.orbit-b {
  width: 46%;
  aspect-ratio: 1;
  right: 18%;
  top: 10%;
  border-color: rgba(101, 214, 190, 0.28);
}

.tool-card {
  position: absolute;
  width: 180px;
  border: 1px solid rgba(255,255,255,0.8);
  border-radius: var(--radius-lg);
  padding: 16px;
  background: rgba(255, 255, 255, 0.72);
  backdrop-filter: blur(20px);
  box-shadow: var(--shadow-tight);
  color: var(--ink);
  will-change: transform;
}

.tool-card span {
  display: block;
  color: var(--muted);
  font-size: 0.75rem;
  font-weight: 750;
}

.tool-card strong {
  display: block;
  margin-top: 5px;
  font-size: 1rem;
  line-height: 1.15;
}

.tool-card-receipt {
  left: 10%;
  top: 27%;
}

.tool-card-convert {
  right: 3%;
  bottom: 20%;
}

.proof-strip {
  width: min(var(--max), calc(100% - 40px));
  margin: -4px auto 92px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}

.proof-pill {
  min-height: 88px;
  display: flex;
  align-items: center;
  gap: 14px;
  border: 1px solid rgba(215, 225, 238, 0.82);
  border-radius: var(--radius-lg);
  background: rgba(255,255,255,0.68);
  padding: 18px 20px;
}

.proof-pill strong {
  color: var(--brand);
  font-size: 1.75rem;
  line-height: 1;
}

.proof-pill span {
  color: var(--ink-soft);
  font-size: 0.9rem;
  font-weight: 650;
}

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

.section-head {
  max-width: 680px;
  margin-bottom: 34px;
}

.section-head p,
.studio-copy p {
  margin: 0 0 12px;
  color: var(--brand);
  font-size: 0.82rem;
  font-weight: 850;
}

.section-head h2,
.studio-copy h2,
.cta-card h2 {
  margin: 0;
  font-size: clamp(2rem, 4vw, 3.35rem);
  line-height: 1.04;
  letter-spacing: 0;
  overflow-wrap: anywhere;
}

.section-head span,
.studio-copy > span {
  display: block;
  margin-top: 12px;
  color: var(--muted);
  font-size: 1.04rem;
  line-height: 1.6;
  overflow-wrap: anywhere;
}

.section-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  margin-top: 20px;
  border-radius: 999px;
  padding: 0 16px;
  background: linear-gradient(135deg, var(--mint), var(--brand));
  color: #fff;
  font-size: 0.9rem;
  font-weight: 850;
  text-decoration: none;
  box-shadow: 0 12px 28px rgba(31, 115, 255, 0.16);
  transition: transform 180ms ease, box-shadow 180ms ease;
}

.section-link:hover {
  transform: translateY(-2px);
  box-shadow: 0 16px 36px rgba(31, 115, 255, 0.2);
}

.app-showcase {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

.app-module {
  position: relative;
  overflow: hidden;
  min-height: 370px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  color: inherit;
  text-decoration: none;
  border: 1px solid rgba(215, 225, 238, 0.88);
  border-radius: var(--radius-lg);
  padding: clamp(22px, 3vw, 30px);
  transform-style: preserve-3d;
  background:
    linear-gradient(145deg, rgba(255,255,255,0.88), rgba(255,255,255,0.54)),
    radial-gradient(circle at 78% 12%, rgba(23,105,255,0.14), transparent 22rem);
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.9);
  will-change: transform;
}

.app-module:not(a) {
  cursor: default;
}

.app-module::after {
  content: "";
  position: absolute;
  width: 260px;
  height: 260px;
  right: -80px;
  bottom: -90px;
  border-radius: 58px;
  background: linear-gradient(145deg, rgba(23,105,255,0.18), rgba(101,214,190,0.16));
  transform: rotate(18deg);
  z-index: 0;
}

.life-module::after {
  background: linear-gradient(145deg, rgba(101,214,190,0.22), rgba(244,184,75,0.14));
}

.ridekip-module::after {
  background: linear-gradient(145deg, rgba(11,18,32,0.16), rgba(23,105,255,0.16));
}

.guide-module::after {
  background: linear-gradient(145deg, rgba(101,214,190,0.2), rgba(11,18,32,0.1));
}

.milecents-module::after {
  background: linear-gradient(145deg, rgba(244,184,75,0.24), rgba(11,18,32,0.14));
}

.atlas-module::after {
  background: linear-gradient(145deg, rgba(101,214,190,0.24), rgba(23,105,255,0.12));
}

.signglow-module::after {
  background: linear-gradient(145deg, rgba(244,184,75,0.24), rgba(255,92,138,0.14));
}

.shiftsnap-module::after {
  background: linear-gradient(145deg, rgba(23,105,255,0.18), rgba(101,214,190,0.2));
}

.app-topline,
.app-desc,
.app-tags,
.app-footer {
  position: relative;
  z-index: 1;
}

.app-topline {
  display: flex;
  align-items: center;
  gap: 13px;
}

.app-topline > div {
  min-width: 0;
}

.app-topline img {
  width: 56px;
  height: 56px;
  flex: 0 0 auto;
  border-radius: 15px;
  box-shadow: var(--shadow-tight);
}

.app-topline h3 {
  margin: 0;
  font-size: 1.04rem;
  line-height: 1.18;
  letter-spacing: 0;
  overflow-wrap: anywhere;
}

.app-topline p {
  margin: 4px 0 0;
  color: var(--muted);
  font-size: 0.9rem;
  font-weight: 650;
  line-height: 1.25;
  overflow-wrap: anywhere;
}

.app-desc {
  max-width: 570px;
  margin: 24px 0 20px;
  color: var(--ink-soft);
  font-size: 0.95rem;
  line-height: 1.65;
  overflow-wrap: anywhere;
}

.app-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.app-tags span {
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  border-radius: 999px;
  padding: 0 11px;
  background: rgba(234, 242, 255, 0.82);
  color: var(--brand-strong);
  font-size: 0.76rem;
  font-weight: 800;
}

.app-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 28px;
}

.app-footer small {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  border-radius: 999px;
  padding: 0 12px;
  background: rgba(101,214,190,0.2);
  color: #087460;
  font-size: 0.8rem;
  font-weight: 850;
}

.app-footer span {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 999px;
  color: #fff;
  background: var(--ink);
  font-size: 1.15rem;
}

.studio-section {
  width: min(var(--max), calc(100% - 40px));
  margin: 108px auto 0;
}

.studio-panel {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 28px;
  align-items: stretch;
  border-radius: 34px;
  background: var(--ink);
  color: #fff;
  padding: clamp(24px, 5vw, 44px);
  overflow: hidden;
  position: relative;
}

.studio-panel::before {
  content: "";
  position: absolute;
  inset: auto -12% -48% 42%;
  height: 85%;
  border-radius: 999px;
  background: radial-gradient(circle, rgba(23,105,255,0.38), transparent 64%);
}

.studio-copy,
.principles {
  position: relative;
}

.studio-copy p {
  color: var(--mint);
}

.studio-copy > span {
  color: rgba(255,255,255,0.68);
}

.principles {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}

.principle-card {
  min-height: 250px;
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: var(--radius-lg);
  padding: 22px;
  background: rgba(255,255,255,0.08);
}

.principle-card span {
  color: var(--mint);
  font-size: 0.8rem;
  font-weight: 850;
}

.principle-card h3 {
  margin: 52px 0 10px;
  font-size: 1.1rem;
}

.principle-card p {
  margin: 0;
  color: rgba(255,255,255,0.68);
  font-size: 0.9rem;
  line-height: 1.58;
}

.cta-section {
  width: min(var(--max), calc(100% - 40px));
  margin: 108px auto;
}

.cta-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  min-height: 250px;
  border-radius: 34px;
  padding: clamp(28px, 5vw, 48px);
  background:
    linear-gradient(135deg, rgba(255,255,255,0.9), rgba(234,242,255,0.68)),
    radial-gradient(circle at 90% 20%, rgba(101,214,190,0.25), transparent 22rem);
  border: 1px solid rgba(215,225,238,0.88);
  transform-style: preserve-3d;
}

.cta-card p {
  margin: 12px 0 0;
  color: var(--muted);
  line-height: 1.6;
}

.cta-card > div:first-child {
  min-width: 0;
  flex: 1 1 auto;
}

.cta-links {
  display: grid;
  gap: 10px;
  min-width: 220px;
  flex: 0 0 auto;
}

.cta-links a {
  padding: 0 18px;
  background: var(--ink);
  color: #fff;
  white-space: nowrap;
}

.cta-links a:last-child {
  background: var(--brand);
}

.site-footer {
  border-top: 1px solid rgba(215,225,238,0.9);
  padding: 34px 0;
  background: rgba(255,255,255,0.44);
}

.footer-inner p {
  margin: 0;
  color: var(--muted);
  font-size: 0.84rem;
}

.page-main {
  width: min(var(--max), calc(100% - 40px));
  margin: 0 auto;
  padding: 72px 0 104px;
}

.legal-hero {
  position: relative;
  min-height: 360px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(220px, 320px);
  align-items: center;
  gap: clamp(28px, 5vw, 72px);
  margin-bottom: 54px;
}

.legal-hero::before {
  content: "";
  position: absolute;
  inset: 16px 0 18px 44%;
  z-index: -1;
  border: 1px solid rgba(255,255,255,0.78);
  border-radius: var(--radius-xl);
  background:
    linear-gradient(145deg, rgba(255,255,255,0.76), rgba(234,242,255,0.34)),
    radial-gradient(circle at 68% 34%, rgba(101,214,190,0.2), transparent 22rem);
  transform: rotate(-1deg);
}

.legal-eyebrow {
  display: inline-flex;
  align-items: center;
  min-height: 32px;
  border: 1px solid rgba(23, 105, 255, 0.14);
  border-radius: 999px;
  padding: 0 13px;
  background: rgba(255,255,255,0.7);
  color: var(--brand-strong);
  font-size: 0.78rem;
  font-weight: 800;
}

.legal-hero h1 {
  max-width: 12ch;
  margin: 18px 0 0;
  font-size: clamp(2.55rem, 6.4vw, 5rem);
  line-height: 0.98;
  letter-spacing: 0;
  text-wrap: balance;
}

.legal-lede {
  max-width: 690px;
  margin: 22px 0 0;
  color: var(--ink-soft);
  font-size: clamp(1rem, 1.45vw, 1.12rem);
  line-height: 1.7;
  text-wrap: pretty;
}

.legal-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 24px;
}

.legal-meta span {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  border: 1px solid rgba(215,225,238,0.9);
  border-radius: 999px;
  padding: 0 12px;
  background: rgba(255,255,255,0.68);
  color: var(--ink-soft);
  font-size: 0.82rem;
  font-weight: 700;
}

.legal-companion {
  display: block;
  align-self: center;
  justify-self: center;
  width: min(240px, 26vw);
  max-height: 300px;
  object-fit: contain;
  filter: drop-shadow(0 22px 34px rgba(23,105,255,0.2));
}

.legal-grid {
  display: grid;
  grid-template-columns: 0.34fr 1fr;
  gap: 30px;
  align-items: start;
}

.legal-grid-spaced {
  margin-top: 30px;
}

.legal-aside {
  position: sticky;
  top: 96px;
  display: grid;
  gap: 12px;
}

.legal-aside-card,
.legal-doc,
.policy-card,
.summary-tile {
  border: 1px solid rgba(215,225,238,0.86);
  border-radius: var(--radius-lg);
  background: rgba(255,255,255,0.72);
}

.legal-aside-card,
.summary-tile,
.policy-card {
  padding: 20px;
}

.legal-aside-card h2,
.summary-tile h2,
.policy-card h2 {
  margin: 0;
  color: var(--ink);
  font-size: 1rem;
  line-height: 1.18;
}

.legal-aside-card p,
.summary-tile p,
.policy-card p {
  margin: 8px 0 0;
  color: var(--ink-soft);
  font-size: 0.9rem;
  line-height: 1.6;
}

.legal-aside-card nav {
  display: grid;
  gap: 7px;
  margin-top: 14px;
}

.legal-aside-card nav a,
.legal-link {
  color: var(--brand-strong);
  font-weight: 750;
  text-decoration: none;
}

.legal-aside-card nav a:hover,
.legal-link:hover {
  color: var(--brand);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.summary-grid,
.policy-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 14px;
  margin-bottom: 26px;
}

.summary-dot {
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  margin-bottom: 14px;
  border-radius: var(--radius-sm);
  background: var(--canvas-strong);
  color: var(--brand);
  font-weight: 900;
}

.legal-doc {
  padding: clamp(24px, 4vw, 44px);
}

.legal-doc > *:first-child {
  margin-top: 0;
}

.legal-section {
  padding-top: 30px;
  margin-top: 30px;
  border-top: 1px solid rgba(215,225,238,0.82);
}

.legal-section:first-child {
  padding-top: 0;
  margin-top: 0;
  border-top: 0;
}

.legal-section h2 {
  margin: 0 0 14px;
  color: var(--ink);
  font-size: clamp(1.22rem, 2vw, 1.55rem);
  line-height: 1.18;
  letter-spacing: 0;
}

.legal-section p,
.legal-section li {
  color: var(--ink-soft);
  font-size: 0.98rem;
  line-height: 1.76;
}

.legal-section p {
  margin: 0 0 13px;
}

.legal-section p:last-child {
  margin-bottom: 0;
}

.legal-section ul {
  display: grid;
  gap: 9px;
  margin: 0;
  padding-left: 1.15rem;
}

.legal-note {
  margin: 18px 0 0;
  border: 1px solid rgba(23,105,255,0.14);
  border-radius: var(--radius-md);
  padding: 16px 18px;
  background: var(--canvas-strong);
  color: var(--ink);
  font-weight: 650;
  line-height: 1.6;
}

.policy-grid {
  margin-top: 18px;
  margin-bottom: 0;
}

.policy-card {
  display: grid;
  min-height: 210px;
}

.policy-card .policy-top {
  display: flex;
  align-items: center;
  gap: 13px;
}

.policy-card img {
  width: 54px;
  height: 54px;
  flex: 0 0 auto;
  border-radius: 14px;
}

.policy-card small {
  display: block;
  margin-top: 3px;
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 750;
}

.policy-card .policy-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-self: end;
  margin-top: 18px;
}

.policy-actions a {
  display: inline-flex;
  align-items: center;
  min-height: 38px;
  border-radius: 999px;
  padding: 0 13px;
  background: var(--ink);
  color: #fff;
  font-size: 0.82rem;
  font-weight: 800;
  text-decoration: none;
}

.policy-actions a.secondary {
  border: 1px solid rgba(215,225,238,0.9);
  background: rgba(255,255,255,0.76);
  color: var(--ink);
}

.policy-actions a:hover {
  transform: translateY(-1px);
}

.contact-email-card {
  display: grid;
  gap: 18px;
}

.email-box {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  flex-wrap: wrap;
  gap: 16px;
  border: 1px solid rgba(215,225,238,0.86);
  border-radius: var(--radius-lg);
  padding: 18px;
  background: rgba(244,248,255,0.72);
}

.copy-status {
  min-height: 1.4em;
  color: var(--ink-soft);
  font-size: 0.9rem;
  font-weight: 750;
}

.copy-btn {
  min-height: 40px;
  border: 0;
  border-radius: 999px;
  padding: 0 18px;
  background: var(--brand);
  color: #fff;
  cursor: pointer;
  font: inherit;
  font-size: 0.9rem;
  font-weight: 800;
}

.copy-btn:hover {
  background: var(--brand-strong);
}

.copy-btn.copied {
  background: var(--mint);
  color: var(--ink);
}

.product-main {
  width: min(var(--max), calc(100% - 40px));
  margin: 0 auto;
  padding: 70px 0 108px;
}

.product-hero {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(260px, 360px);
  align-items: center;
  gap: clamp(32px, 6vw, 84px);
  min-height: 420px;
}

.product-hero::before {
  content: "";
  position: absolute;
  inset: 22px 0 18px 46%;
  z-index: -1;
  border: 1px solid rgba(255,255,255,0.78);
  border-radius: var(--radius-xl);
  background:
    linear-gradient(145deg, rgba(255,255,255,0.76), rgba(234,242,255,0.34)),
    radial-gradient(circle at 70% 36%, rgba(23,105,255,0.18), transparent 22rem);
  transform: rotate(-1deg);
}

.product-kicker,
.product-status {
  display: inline-flex;
  align-items: center;
  min-height: 32px;
  border-radius: 999px;
  padding: 0 13px;
  font-size: 0.78rem;
  font-weight: 850;
}

.product-kicker {
  border: 1px solid rgba(23,105,255,0.14);
  background: rgba(255,255,255,0.7);
  color: var(--brand-strong);
}

.product-status {
  margin-left: 8px;
  background: rgba(101,214,190,0.22);
  color: #087460;
}

.product-hero h1 {
  max-width: 12ch;
  margin: 20px 0 0;
  font-size: clamp(2.7rem, 6.4vw, 5.1rem);
  line-height: 0.98;
  letter-spacing: 0;
  text-wrap: balance;
}

.product-lede {
  max-width: 700px;
  margin: 24px 0 0;
  color: var(--ink-soft);
  font-size: clamp(1rem, 1.45vw, 1.12rem);
  line-height: 1.7;
  text-wrap: pretty;
  overflow-wrap: anywhere;
}

.product-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 32px;
}

.product-actions .btn {
  min-width: 150px;
}

.product-visual {
  display: grid;
  place-items: center;
}

.product-icon-card {
  width: min(270px, 70vw);
  aspect-ratio: 1;
  display: grid;
  place-items: center;
  border: 1px solid rgba(215,225,238,0.86);
  border-radius: 32px;
  background:
    linear-gradient(145deg, rgba(255,255,255,0.92), rgba(255,255,255,0.58)),
    radial-gradient(circle at 68% 22%, rgba(101,214,190,0.22), transparent 16rem);
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.9), var(--shadow-tight);
}

.product-icon-card img {
  width: 128px;
  height: 128px;
  border-radius: 28px;
  object-fit: cover;
  box-shadow: var(--shadow-tight);
}

.product-section {
  margin-top: 72px;
}

.product-section-head {
  max-width: 720px;
  margin-bottom: 24px;
}

.product-section-head p {
  margin: 0 0 10px;
  color: var(--brand);
  font-size: 0.82rem;
  font-weight: 850;
}

.product-section-head h2 {
  margin: 0;
  font-size: clamp(1.8rem, 3.6vw, 2.8rem);
  line-height: 1.08;
  letter-spacing: 0;
  text-wrap: balance;
}

.product-grid {
  display: grid;
  grid-template-columns: 0.86fr 1.14fr;
  gap: 18px;
  align-items: stretch;
}

.product-panel,
.product-feature,
.product-fact {
  border: 1px solid rgba(215,225,238,0.86);
  border-radius: var(--radius-lg);
  background: rgba(255,255,255,0.72);
}

.product-panel {
  padding: clamp(24px, 4vw, 34px);
}

.product-panel h3,
.product-panel h2,
.product-feature h3,
.product-fact h3 {
  margin: 0;
  color: var(--ink);
  font-size: 1.04rem;
  line-height: 1.2;
}

.product-panel p,
.product-feature p,
.product-fact p {
  margin: 10px 0 0;
  color: var(--ink-soft);
  font-size: 0.95rem;
  line-height: 1.68;
}

.product-list {
  display: grid;
  gap: 10px;
  margin: 18px 0 0;
  padding: 0;
  list-style: none;
}

.product-list li {
  display: flex;
  gap: 10px;
  color: var(--ink-soft);
  font-size: 0.95rem;
  line-height: 1.55;
}

.product-list li::before {
  content: "";
  width: 8px;
  height: 8px;
  flex: 0 0 auto;
  margin-top: 0.56em;
  border-radius: 999px;
  background: var(--mint);
}

.product-feature-grid,
.product-facts {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}

.product-feature,
.product-fact {
  padding: 20px;
}

.product-back {
  display: inline-flex;
  margin-bottom: 26px;
  color: var(--brand-strong);
  font-weight: 800;
  text-decoration: none;
}

.product-back:hover {
  color: var(--brand);
  text-decoration: underline;
  text-underline-offset: 3px;
}

:focus-visible {
  outline: 2px solid var(--brand);
  outline-offset: 3px;
}

@media (hover: hover) {
  .tilt-card:hover {
    box-shadow: var(--shadow-object);
  }
}

@media (max-width: 920px) {
  .nav-links {
    display: none;
  }

  .hero {
    min-height: auto;
  }

  .hero-bg {
    inset: 42% 5% 6%;
    height: auto;
  }

  .hero-inner {
    grid-template-columns: 1fr;
    padding-top: 42px;
  }

  .hero h1 {
    max-width: 11ch;
  }

  .hero-stage {
    min-height: 380px;
  }

  .hero-character {
    width: min(260px, 54vw);
    max-height: 380px;
  }

  .tool-card {
    display: none;
  }

  .proof-strip,
  .studio-panel,
  .principles,
  .cta-card {
    grid-template-columns: 1fr;
  }

  .app-showcase {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .proof-strip {
    margin-top: 20px;
  }

  .studio-panel,
  .cta-card {
    display: grid;
  }

  .principle-card {
    min-height: auto;
  }

  .principle-card h3 {
    margin-top: 30px;
  }

  .legal-hero {
    grid-template-columns: 1fr;
    min-height: auto;
    padding-top: 24px;
  }

  .product-main {
    padding-top: 44px;
  }

  .product-hero,
  .product-grid,
  .product-feature-grid,
  .product-facts {
    grid-template-columns: 1fr;
  }

  .product-hero {
    min-height: auto;
  }

  .product-hero::before {
    inset: 34% 0 0 16%;
  }

  .legal-hero::before {
    inset: 34% 0 0 20%;
  }

  .legal-companion {
    width: min(190px, 50vw);
    max-height: 230px;
  }

  .legal-grid {
    grid-template-columns: 1fr;
  }

  .legal-aside {
    position: static;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  }
}

@media (max-width: 640px) {
  .nav-inner,
  .footer-inner,
  .hero-inner,
  .section,
  .studio-section,
  .cta-section,
  .proof-strip,
  .page-main {
    width: min(100% - 32px, var(--max));
  }

  .nav-inner {
    height: 66px;
  }

  .brand-lockup span {
    font-size: 0.92rem;
  }

  .nav-cta {
    display: none;
  }

  .hero-kicker span:nth-child(2) {
    display: none;
  }

  .hero h1 {
    font-size: clamp(2.8rem, 15vw, 4.4rem);
  }

  .section-head h2,
  .studio-copy h2,
  .cta-card h2 {
    font-size: clamp(1.9rem, 9vw, 2.55rem);
    line-height: 1.08;
  }

  .hero-stage {
    min-height: 320px;
  }

  .hero-character {
    width: min(220px, 66vw);
    max-height: 320px;
  }

  .proof-strip {
    gap: 10px;
  }

  .proof-pill {
    min-height: 74px;
  }

  .app-module {
    min-height: 330px;
  }

  .app-showcase {
    grid-template-columns: 1fr;
  }

  .app-module::after {
    display: none;
  }

  .studio-panel::before {
    display: none;
  }

  .legal-hero h1 {
    font-size: clamp(2.45rem, 12vw, 3.5rem);
  }

  .product-hero h1 {
    font-size: clamp(2.45rem, 12vw, 3.7rem);
  }

  .legal-meta span {
    width: 100%;
  }

  .summary-grid,
  .policy-grid {
    grid-template-columns: 1fr;
  }

  .footer-inner {
    flex-direction: column;
    text-align: center;
  }
}

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

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

/* NeilSoftware 2026 visual reboot */
:root {
  --canvas: #050914;
  --canvas-strong: #07101f;
  --ink: #f8fbff;
  --ink-soft: #d1ddf2;
  --muted: #8ea3c2;
  --surface: #0d1728;
  --surface-strong: #111f35;
  --brand: #4a93ff;
  --brand-strong: #87bdff;
  --mint: #67f0d1;
  --amber: #ffd36a;
  --coral: #ff7f98;
  --line: rgba(143, 193, 255, 0.22);
  --shadow-tight: 0 12px 0 rgba(0, 0, 0, 0.22);
  --shadow-object: 0 26px 80px rgba(74, 147, 255, 0.24);
  --radius-sm: 12px;
  --radius-md: 16px;
  --radius-lg: 18px;
  --radius-xl: 28px;
}

body {
  background:
    linear-gradient(90deg, rgba(143, 193, 255, 0.055) 1px, transparent 1px),
    linear-gradient(rgba(143, 193, 255, 0.045) 1px, transparent 1px),
    linear-gradient(180deg, #030712 0%, #07101d 45%, #071827 100%);
  background-size: 54px 54px, 54px 54px, auto;
  color: var(--ink);
}

body::before {
  background-image: none;
  mask-image: none;
  inset: auto -12vw -18vh -12vw;
  height: 44vh;
  background: linear-gradient(90deg, rgba(74, 147, 255, 0.26), rgba(103, 240, 209, 0.22), rgba(255, 127, 152, 0.14));
  filter: blur(42px);
  opacity: 0.9;
  z-index: -2;
}

body::after {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(115deg, transparent 0 38%, rgba(103, 240, 209, 0.055) 39%, transparent 45%),
    linear-gradient(245deg, transparent 0 54%, rgba(74, 147, 255, 0.065) 55%, transparent 62%),
    radial-gradient(circle at 88% 8%, rgba(255, 127, 152, 0.1), transparent 22rem);
  z-index: -1;
}

.site-nav {
  border-bottom-color: rgba(143, 193, 255, 0.16);
  background: rgba(3, 7, 18, 0.72);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
}

.brand-lockup {
  color: #fff;
  letter-spacing: 0;
}

.brand-lockup img {
  border-radius: 12px;
  filter: drop-shadow(0 10px 22px rgba(74, 147, 255, 0.28));
}

.nav-links a,
.footer-inner nav a {
  color: var(--ink-soft);
}

.nav-links a:hover,
.footer-inner nav a:hover {
  color: var(--mint);
}

.nav-cta,
.btn-primary,
.cta-links a,
.policy-actions a,
.copy-btn {
  color: #fff;
  background: linear-gradient(135deg, #4a93ff, #1769ff 56%, #0044d6);
  box-shadow: 0 12px 30px rgba(74, 147, 255, 0.24);
}

.nav-cta:hover,
.btn-primary:hover,
.cta-links a:hover,
.policy-actions a:hover,
.copy-btn:hover {
  background: linear-gradient(135deg, #67f0d1, #4a93ff 58%, #1769ff);
  color: #fff;
}

.btn-secondary,
.lang-toggle,
.policy-actions a.secondary {
  border-color: rgba(143, 193, 255, 0.26);
  background: rgba(255, 255, 255, 0.08);
  color: var(--ink);
}

.lang-toggle {
  color: #fff;
}

.lang-dot {
  background: var(--mint);
  box-shadow: 0 0 18px rgba(103, 240, 209, 0.75);
}

.lang-dropdown {
  border-color: rgba(143, 193, 255, 0.24);
  background: rgba(8, 18, 34, 0.96);
  box-shadow: 0 22px 50px rgba(0, 0, 0, 0.34);
}

.lang-option {
  color: var(--ink-soft);
}

.lang-option:hover,
.lang-option.active {
  background: rgba(74, 147, 255, 0.16);
  color: #fff;
}

.hero {
  min-height: min(calc(100dvh - 72px), 820px);
}

.hero-bg {
  inset: 7% 0 6%;
  height: auto;
  border-radius: 24px;
  border: 1px solid rgba(143, 193, 255, 0.24);
  background:
    linear-gradient(135deg, rgba(16, 29, 50, 0.94), rgba(7, 16, 29, 0.74)),
    linear-gradient(125deg, rgba(74, 147, 255, 0.22), transparent 48%),
    linear-gradient(305deg, rgba(103, 240, 209, 0.16), transparent 46%);
  box-shadow: 0 18px 0 rgba(0, 0, 0, 0.24), inset 0 1px 0 rgba(255, 255, 255, 0.08);
  transform: rotate(0);
}

.hero::after,
.product-hero::after,
.legal-hero::after {
  content: "";
  position: absolute;
  pointer-events: none;
  background: linear-gradient(90deg, transparent, rgba(103, 240, 209, 0.2), transparent);
  opacity: 0.58;
  animation: scanLine 6.2s ease-in-out infinite;
}

.hero::after {
  inset: 8% 0 auto;
  height: 1px;
}

.hero-inner {
  grid-template-columns: minmax(0, 0.92fr) minmax(360px, 1.08fr);
}

.hero-kicker span,
.legal-eyebrow,
.product-kicker,
.product-status {
  border-color: rgba(103, 240, 209, 0.36);
  background: rgba(103, 240, 209, 0.1);
  color: var(--mint);
}

.hero h1,
.legal-hero h1,
.product-hero h1,
.section-head h2,
.studio-copy h2,
.cta-card h2,
.product-section-head h2 {
  color: #fff;
  letter-spacing: 0;
  text-shadow: 0 18px 54px rgba(74, 147, 255, 0.22);
}

.hero h1 span:last-child {
  color: var(--mint);
}

.hero-lede,
.section-head span,
.studio-copy > span,
.cta-card p,
.legal-lede,
.product-lede {
  color: var(--ink-soft);
}

.hero-stage {
  min-height: 600px;
}

.hero-stage::before {
  content: "";
  position: absolute;
  width: min(500px, 88%);
  aspect-ratio: 1.08;
  border: 1px solid rgba(143, 193, 255, 0.28);
  border-radius: 26px;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.18), rgba(255, 255, 255, 0.04)),
    linear-gradient(150deg, rgba(74, 147, 255, 0.28), rgba(103, 240, 209, 0.18) 58%, rgba(255, 127, 152, 0.12));
  transform: rotate(-7deg);
  box-shadow: var(--shadow-object);
}

.hero-character,
.legal-companion {
  filter: drop-shadow(0 30px 54px rgba(74, 147, 255, 0.32));
}

.motion-orbit {
  border-color: rgba(143, 193, 255, 0.24);
  background: rgba(8, 18, 34, 0.42);
}

.tool-card {
  border-color: rgba(255, 255, 255, 0.24);
  background: rgba(8, 18, 34, 0.78);
  color: #fff;
  box-shadow: 0 12px 0 rgba(0, 0, 0, 0.2), 0 22px 54px rgba(0, 0, 0, 0.18);
}

.tool-card span,
.section-head p,
.studio-copy p,
.product-section-head p {
  color: var(--mint);
}

.proof-pill,
.app-module,
.principle-card,
.cta-card,
.legal-aside-card,
.legal-doc,
.policy-card,
.summary-tile,
.product-panel,
.product-feature,
.product-fact,
.product-icon-card,
.email-box {
  position: relative;
  overflow: hidden;
  border-color: rgba(143, 193, 255, 0.22);
  background:
    linear-gradient(180deg, rgba(19, 34, 58, 0.96), rgba(9, 19, 35, 0.92)),
    var(--surface);
  box-shadow: 0 10px 0 rgba(0, 0, 0, 0.19), inset 0 1px 0 rgba(255, 255, 255, 0.06);
}

.proof-pill::before,
.app-module::before,
.principle-card::before,
.cta-card::before,
.legal-aside-card::before,
.legal-doc::before,
.policy-card::before,
.summary-tile::before,
.product-panel::before,
.product-feature::before,
.product-icon-card::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: 0;
  background:
    linear-gradient(115deg, transparent 0 22%, rgba(255, 255, 255, 0.12) 34%, transparent 48%),
    radial-gradient(circle at var(--mx, 50%) var(--my, 20%), rgba(103, 240, 209, 0.18), transparent 38%);
  transition: opacity 180ms ease;
}

.proof-pill:hover::before,
.app-module:hover::before,
.principle-card:hover::before,
.cta-card:hover::before,
.legal-aside-card:hover::before,
.legal-doc:hover::before,
.policy-card:hover::before,
.summary-tile:hover::before,
.product-panel:hover::before,
.product-feature:hover::before,
.product-icon-card:hover::before {
  opacity: 1;
}

.proof-pill {
  min-height: 84px;
}

.proof-pill strong {
  color: var(--mint);
}

.proof-pill span,
.app-desc,
.app-topline p,
.principle-card p,
.legal-section p,
.legal-section li,
.legal-aside-card p,
.summary-tile p,
.policy-card p,
.product-panel p,
.product-feature p,
.product-fact p,
.product-list li,
.copy-status {
  color: var(--ink-soft);
}

.app-showcase {
  gap: 14px;
}

.app-module {
  min-height: 318px;
  border-radius: 18px;
  padding: 18px;
  box-shadow: 0 10px 0 rgba(0, 0, 0, 0.22);
  transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease;
}

.app-module:hover {
  transform: translateY(-6px);
  border-color: rgba(103, 240, 209, 0.46);
  box-shadow: 0 15px 0 rgba(0, 0, 0, 0.28), 0 28px 58px rgba(74, 147, 255, 0.16);
}

.app-module::after {
  width: 136px;
  height: 136px;
  right: -26px;
  bottom: -44px;
  border-radius: 30px;
  background: var(--card-tint, rgba(74, 147, 255, 0.18));
}

.ride-module { --card-tint: rgba(74, 147, 255, 0.2); }
.life-module { --card-tint: rgba(103, 240, 209, 0.18); }
.ridekip-module { --card-tint: rgba(255, 211, 106, 0.16); }
.guide-module { --card-tint: rgba(135, 189, 255, 0.18); }
.milecents-module { --card-tint: rgba(255, 211, 106, 0.2); }
.atlas-module { --card-tint: rgba(103, 240, 209, 0.2); }
.signglow-module { --card-tint: rgba(255, 127, 152, 0.2); }
.shiftsnap-module { --card-tint: rgba(151, 128, 255, 0.18); }

.app-topline img,
.policy-card img,
.product-icon-card img {
  box-shadow: 0 8px 0 rgba(0, 0, 0, 0.24), 0 18px 32px rgba(0, 0, 0, 0.16);
}

.app-topline h3,
.legal-aside-card h2,
.summary-tile h2,
.policy-card h2,
.legal-section h2,
.product-panel h3,
.product-feature h3,
.product-fact h3 {
  color: #fff;
}

.app-tags span {
  background: rgba(74, 147, 255, 0.15);
  color: var(--brand-strong);
}

.app-footer small {
  background: rgba(103, 240, 209, 0.14);
  color: var(--mint);
}

.app-footer span {
  background: #fff;
  color: #07101d;
}

.studio-panel {
  border: 1px solid rgba(143, 193, 255, 0.22);
  background:
    linear-gradient(135deg, rgba(17, 31, 53, 0.96), rgba(7, 16, 29, 0.86)),
    radial-gradient(circle at 86% 10%, rgba(103, 240, 209, 0.16), transparent 26rem);
  box-shadow: 0 18px 0 rgba(0, 0, 0, 0.22);
}

.studio-panel::before {
  background: radial-gradient(circle, rgba(74, 147, 255, 0.36), transparent 64%);
}

.cta-card {
  background:
    linear-gradient(135deg, rgba(17, 31, 53, 0.98), rgba(9, 19, 35, 0.94)),
    radial-gradient(circle at 88% 18%, rgba(103, 240, 209, 0.22), transparent 22rem);
}

.cta-links a:last-child {
  background: linear-gradient(135deg, #67f0d1, #4a93ff);
  color: #06101f;
}

.site-footer {
  border-top-color: rgba(143, 193, 255, 0.16);
  background: rgba(3, 7, 18, 0.54);
}

.footer-inner p {
  color: var(--muted);
}

.page-main,
.product-main {
  padding-top: 58px;
}

.legal-hero,
.product-hero {
  isolation: isolate;
}

.legal-hero::before,
.product-hero::before {
  inset: 18px 0 16px 38%;
  border-color: rgba(143, 193, 255, 0.24);
  border-radius: 24px;
  background:
    linear-gradient(135deg, rgba(17, 31, 53, 0.92), rgba(7, 16, 29, 0.72)),
    linear-gradient(125deg, rgba(74, 147, 255, 0.2), transparent 48%),
    linear-gradient(305deg, rgba(103, 240, 209, 0.14), transparent 46%);
  box-shadow: 0 14px 0 rgba(0, 0, 0, 0.22);
  transform: rotate(0);
}

.legal-hero::after,
.product-hero::after {
  inset: 22px 0 auto 38%;
  height: 1px;
}

.legal-meta span {
  border-color: rgba(143, 193, 255, 0.24);
  background: rgba(255, 255, 255, 0.08);
  color: var(--ink-soft);
}

.legal-aside {
  top: 98px;
}

.legal-aside-card nav a,
.legal-link,
.product-back {
  color: var(--mint);
}

.summary-dot {
  background: rgba(103, 240, 209, 0.14);
  color: var(--mint);
  box-shadow: inset 0 0 0 1px rgba(103, 240, 209, 0.24);
}

.legal-section {
  border-top-color: rgba(143, 193, 255, 0.16);
}

.legal-note {
  border-color: rgba(103, 240, 209, 0.24);
  background: rgba(103, 240, 209, 0.1);
  color: var(--ink);
}

.product-icon-card {
  background:
    linear-gradient(150deg, rgba(74, 147, 255, 0.22), rgba(103, 240, 209, 0.13)),
    rgba(15, 28, 48, 0.9);
}

.product-status {
  margin-left: 8px;
  background: rgba(74, 147, 255, 0.14);
  color: var(--brand-strong);
}

.product-list li::before {
  background: var(--mint);
  box-shadow: 0 0 12px rgba(103, 240, 209, 0.75);
}

.email-box {
  background: rgba(7, 16, 29, 0.7);
}

.copy-btn.copied {
  background: linear-gradient(135deg, #67f0d1, #ffd36a);
  color: #07101d;
}

.reveal-copy,
.proof-pill,
.app-module,
.studio-panel,
.cta-card,
.legal-hero,
.legal-grid,
.summary-grid,
.legal-doc,
.product-hero,
.product-section {
  animation: riseIn 760ms ease both;
}

.app-module:nth-child(2),
.proof-pill:nth-child(2),
.product-section:nth-of-type(2) {
  animation-delay: 80ms;
}

.app-module:nth-child(3),
.proof-pill:nth-child(3),
.product-section:nth-of-type(3) {
  animation-delay: 140ms;
}

.app-module:nth-child(n + 5) {
  animation-delay: 180ms;
}

@keyframes riseIn {
  from {
    opacity: 0;
    transform: translateY(22px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes scanLine {
  0%, 100% {
    transform: translateX(-18%);
    opacity: 0.18;
  }
  50% {
    transform: translateX(18%);
    opacity: 0.62;
  }
}

@media (max-width: 920px) {
  .hero-bg {
    inset: 34px 0 0;
  }

  .hero-stage {
    min-height: 430px;
  }

  .hero-stage::before {
    width: min(430px, 86%);
  }

  .legal-hero::before,
  .product-hero::before {
    inset: 30% 0 0 0;
  }

  .legal-hero::after,
  .product-hero::after {
    inset-inline-start: 0;
  }
}

@media (max-width: 640px) {
  .hero-stage {
    min-height: 350px;
  }

  .app-module {
    min-height: 286px;
  }

  .hero-bg {
    border-radius: 18px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .hero::after,
  .product-hero::after,
  .legal-hero::after {
    animation: none !important;
  }
}

/* NeilSoftware 2026 bright glass direction */
:root {
  --canvas: #f6fbff;
  --canvas-strong: #eaf5ff;
  --ink: #09111f;
  --ink-soft: #2f435f;
  --muted: #6a7d97;
  --surface: #ffffff;
  --surface-strong: #f1f8ff;
  --brand: #1f73ff;
  --brand-strong: #0d54d8;
  --mint: #18c8aa;
  --amber: #f4b94f;
  --coral: #ff6d8d;
  --line: rgba(28, 82, 150, 0.16);
  --shadow-tight: 0 10px 0 rgba(16, 47, 92, 0.08);
  --shadow-object: 0 26px 76px rgba(31, 115, 255, 0.18);
}

body {
  background:
    linear-gradient(90deg, rgba(28, 82, 150, 0.05) 1px, transparent 1px),
    linear-gradient(rgba(28, 82, 150, 0.045) 1px, transparent 1px),
    radial-gradient(circle at 14% 18%, rgba(24, 200, 170, 0.2), transparent 25rem),
    radial-gradient(circle at 86% 8%, rgba(255, 109, 141, 0.16), transparent 28rem),
    linear-gradient(180deg, #f8fcff 0%, #edf7ff 56%, #f8fbff 100%);
  background-size: 46px 46px, 46px 46px, auto, auto, auto;
  color: var(--ink);
}

body::before {
  inset: auto -14vw -20vh -14vw;
  height: 42vh;
  background: linear-gradient(90deg, rgba(31, 115, 255, 0.16), rgba(24, 200, 170, 0.16), rgba(255, 109, 141, 0.12));
  filter: blur(44px);
  opacity: 0.8;
}

body::after {
  background:
    linear-gradient(115deg, transparent 0 38%, rgba(24, 200, 170, 0.075) 39%, transparent 45%),
    linear-gradient(245deg, transparent 0 55%, rgba(31, 115, 255, 0.075) 56%, transparent 62%),
    radial-gradient(circle at 74% 72%, rgba(244, 185, 79, 0.1), transparent 24rem);
}

.site-nav {
  border-bottom-color: rgba(28, 82, 150, 0.12);
  background: rgba(248, 252, 255, 0.72);
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.85);
}

.brand-lockup,
.lang-toggle,
.btn-secondary,
.policy-actions a.secondary,
.app-topline h3,
.legal-aside-card h2,
.summary-tile h2,
.policy-card h2,
.legal-section h2,
.product-panel h3,
.product-feature h3,
.product-fact h3 {
  color: var(--ink);
}

.nav-links a,
.footer-inner nav a,
.footer-inner p,
.flag {
  color: var(--ink-soft);
}

.nav-links a:hover,
.footer-inner nav a:hover,
.legal-aside-card nav a,
.legal-link,
.product-back {
  color: var(--brand);
}

.nav-cta,
.btn-primary,
.cta-links a,
.policy-actions a,
.copy-btn {
  background: linear-gradient(135deg, #2b86ff, #1769ff 62%, #0a4ed6);
  box-shadow: 0 12px 28px rgba(31, 115, 255, 0.2);
}

.nav-cta:hover,
.btn-primary:hover,
.cta-links a:hover,
.policy-actions a:hover,
.copy-btn:hover {
  background: linear-gradient(135deg, #18c8aa, #2b86ff 62%, #1769ff);
}

.btn-secondary,
.lang-toggle,
.policy-actions a.secondary {
  border-color: rgba(28, 82, 150, 0.14);
  background: rgba(255, 255, 255, 0.78);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.88), 0 8px 18px rgba(16, 47, 92, 0.06);
}

.lang-dropdown {
  border-color: rgba(28, 82, 150, 0.16);
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 20px 46px rgba(16, 47, 92, 0.14);
}

.lang-option {
  color: var(--ink-soft);
}

.lang-option:hover,
.lang-option.active {
  background: rgba(31, 115, 255, 0.1);
  color: var(--brand);
}

.hero-bg {
  border-color: rgba(28, 82, 150, 0.14);
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.9), rgba(232, 246, 255, 0.68)),
    linear-gradient(125deg, rgba(31, 115, 255, 0.16), transparent 48%),
    linear-gradient(305deg, rgba(24, 200, 170, 0.14), transparent 46%);
  box-shadow: 0 18px 0 rgba(16, 47, 92, 0.08), inset 0 1px 0 rgba(255, 255, 255, 0.92);
}

.hero::after,
.product-hero::after,
.legal-hero::after {
  background: linear-gradient(90deg, transparent, rgba(31, 115, 255, 0.26), transparent);
}

.hero h1,
.legal-hero h1,
.product-hero h1,
.section-head h2,
.studio-copy h2,
.cta-card h2,
.product-section-head h2 {
  color: var(--ink);
  text-shadow: 0 18px 48px rgba(31, 115, 255, 0.1);
}

.hero h1 span:last-child,
.tool-card span,
.section-head p,
.studio-copy p,
.product-section-head p,
.legal-eyebrow,
.product-kicker {
  color: var(--mint);
}

.hero-lede,
.section-head span,
.studio-copy > span,
.cta-card p,
.legal-lede,
.product-lede,
.proof-pill span,
.app-desc,
.app-topline p,
.principle-card p,
.legal-section p,
.legal-section li,
.legal-aside-card p,
.summary-tile p,
.policy-card p,
.product-panel p,
.product-feature p,
.product-fact p,
.product-list li,
.copy-status {
  color: var(--ink-soft);
}

.hero-stage::before {
  border-color: rgba(28, 82, 150, 0.14);
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.92), rgba(255, 255, 255, 0.42)),
    linear-gradient(150deg, rgba(31, 115, 255, 0.18), rgba(24, 200, 170, 0.14) 58%, rgba(255, 109, 141, 0.1));
  box-shadow: 0 24px 68px rgba(31, 115, 255, 0.18);
}

.motion-orbit {
  border-color: rgba(28, 82, 150, 0.12);
  background: rgba(255, 255, 255, 0.36);
}

.tool-card {
  border-color: rgba(28, 82, 150, 0.14);
  background: rgba(255, 255, 255, 0.78);
  color: var(--ink);
  box-shadow: 0 10px 0 rgba(16, 47, 92, 0.08), 0 20px 46px rgba(31, 115, 255, 0.12);
}

.proof-pill,
.app-module,
.principle-card,
.cta-card,
.legal-aside-card,
.legal-doc,
.policy-card,
.summary-tile,
.product-panel,
.product-feature,
.product-fact,
.product-icon-card,
.email-box {
  border-color: rgba(28, 82, 150, 0.14);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.92), rgba(241, 248, 255, 0.84)),
    var(--surface);
  box-shadow: 0 10px 0 rgba(16, 47, 92, 0.07), inset 0 1px 0 rgba(255, 255, 255, 0.92);
}

.proof-pill::before,
.app-module::before,
.principle-card::before,
.cta-card::before,
.legal-aside-card::before,
.legal-doc::before,
.policy-card::before,
.summary-tile::before,
.product-panel::before,
.product-feature::before,
.product-icon-card::before {
  background:
    linear-gradient(115deg, transparent 0 22%, rgba(255, 255, 255, 0.62) 34%, transparent 48%),
    radial-gradient(circle at var(--mx, 50%) var(--my, 20%), rgba(31, 115, 255, 0.14), transparent 38%);
}

.app-module:hover {
  border-color: rgba(24, 200, 170, 0.42);
  box-shadow: 0 15px 0 rgba(16, 47, 92, 0.09), 0 26px 56px rgba(31, 115, 255, 0.14);
}

.ride-module { --card-tint: rgba(31, 115, 255, 0.14); }
.life-module { --card-tint: rgba(24, 200, 170, 0.14); }
.ridekip-module { --card-tint: rgba(244, 185, 79, 0.16); }
.guide-module { --card-tint: rgba(100, 170, 255, 0.13); }
.milecents-module { --card-tint: rgba(244, 185, 79, 0.17); }
.atlas-module { --card-tint: rgba(24, 200, 170, 0.16); }
.signglow-module { --card-tint: rgba(255, 109, 141, 0.16); }
.shiftsnap-module { --card-tint: rgba(120, 130, 255, 0.14); }

.app-tags span {
  background: rgba(31, 115, 255, 0.1);
  color: var(--brand-strong);
}

.app-footer small {
  background: rgba(24, 200, 170, 0.12);
  color: #087d6c;
}

.app-footer span {
  background: var(--ink);
  color: #fff;
}

.proof-pill strong {
  color: var(--mint);
}

.studio-panel {
  border-color: rgba(28, 82, 150, 0.14);
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.9), rgba(232, 246, 255, 0.78)),
    radial-gradient(circle at 86% 10%, rgba(24, 200, 170, 0.14), transparent 26rem);
  color: var(--ink);
  box-shadow: 0 18px 0 rgba(16, 47, 92, 0.08);
}

.studio-panel::before {
  background: radial-gradient(circle, rgba(31, 115, 255, 0.2), transparent 64%);
}

.cta-card {
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.92), rgba(232, 246, 255, 0.8)),
    radial-gradient(circle at 88% 18%, rgba(24, 200, 170, 0.18), transparent 22rem);
}

.cta-links a:last-child {
  background: linear-gradient(135deg, #18c8aa, #2b86ff);
  color: #fff;
}

.site-footer {
  border-top-color: rgba(28, 82, 150, 0.12);
  background: rgba(248, 252, 255, 0.66);
}

.legal-hero::before,
.product-hero::before {
  border-color: rgba(28, 82, 150, 0.14);
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.9), rgba(232, 246, 255, 0.72)),
    linear-gradient(125deg, rgba(31, 115, 255, 0.14), transparent 48%),
    linear-gradient(305deg, rgba(24, 200, 170, 0.12), transparent 46%);
  box-shadow: 0 14px 0 rgba(16, 47, 92, 0.08);
}

.legal-eyebrow,
.product-kicker,
.product-status {
  border-color: rgba(24, 200, 170, 0.24);
  background: rgba(24, 200, 170, 0.1);
}

.product-status {
  color: var(--brand);
  background: rgba(31, 115, 255, 0.1);
}

.legal-meta span {
  border-color: rgba(28, 82, 150, 0.14);
  background: rgba(255, 255, 255, 0.72);
  color: var(--ink-soft);
}

.summary-dot {
  background: rgba(31, 115, 255, 0.1);
  color: var(--brand);
  box-shadow: inset 0 0 0 1px rgba(31, 115, 255, 0.18);
}

.legal-section {
  border-top-color: rgba(28, 82, 150, 0.12);
}

.legal-note {
  border-color: rgba(31, 115, 255, 0.14);
  background: rgba(31, 115, 255, 0.08);
  color: var(--ink);
}

.product-icon-card {
  background:
    linear-gradient(150deg, rgba(31, 115, 255, 0.12), rgba(24, 200, 170, 0.1)),
    rgba(255, 255, 255, 0.86);
}

.email-box {
  background: rgba(255, 255, 255, 0.76);
}

.copy-btn.copied {
  background: linear-gradient(135deg, #18c8aa, #f4b94f);
  color: #07101d;
}

/* Companion gesture layer */
.hero-character-rig {
  position: relative;
  z-index: 2;
  width: min(300px, 31vw);
  max-height: min(560px, 64vh);
  display: grid;
  place-items: center;
  transform-origin: center bottom;
  will-change: transform;
}

.hero-character-rig .hero-character {
  width: 100%;
  max-height: inherit;
  margin: 0;
}

.hero-character-gesture {
  position: relative;
  width: 100%;
  max-height: inherit;
  display: grid;
  place-items: center;
  transform-origin: 62% 58%;
  will-change: transform;
}

.gesture-ring,
.gesture-dot {
  position: absolute;
  z-index: 4;
  pointer-events: none;
  opacity: 0;
}

.gesture-ring {
  right: 4%;
  top: 34%;
  width: clamp(34px, 5vw, 58px);
  aspect-ratio: 1;
  border: 2px solid rgba(31, 115, 255, 0.32);
  border-radius: 999px;
  box-shadow: 0 0 26px rgba(31, 115, 255, 0.16);
  transform: scale(0.38);
  animation: gesturePing 3.6s ease-in-out infinite;
}

.gesture-ring-b {
  right: -3%;
  top: 42%;
  border-color: rgba(24, 200, 170, 0.32);
  animation-delay: 0.48s;
}

.gesture-dot {
  width: 10px;
  height: 10px;
  border-radius: 999px;
  background: var(--mint);
  box-shadow: 0 0 16px rgba(24, 200, 170, 0.44);
  animation: gestureDot 4.4s ease-in-out infinite;
}

.gesture-dot-a {
  right: 13%;
  top: 30%;
}

.gesture-dot-b {
  right: 0;
  top: 48%;
  background: var(--brand);
  animation-delay: 0.36s;
}

.gesture-dot-c {
  left: 11%;
  top: 50%;
  background: var(--coral);
  animation-delay: 0.72s;
}

.hero-stage:hover .gesture-ring {
  animation-duration: 980ms;
}

body.motion-ready .gesture-ring,
body.motion-ready .gesture-dot {
  animation: none;
}

@keyframes gesturePing {
  0%, 52%, 100% {
    opacity: 0;
    transform: scale(0.38);
  }
  12% {
    opacity: 0.82;
  }
  34% {
    opacity: 0;
    transform: scale(1.25);
  }
}

@keyframes gestureDot {
  0%, 58%, 100% {
    opacity: 0;
    transform: translate3d(0, 0, 0) scale(0.62);
  }
  14% {
    opacity: 0.95;
  }
  34% {
    opacity: 0;
    transform: translate3d(12px, -18px, 0) scale(1);
  }
}

@media (max-width: 920px) {
  .hero-character-rig {
    width: min(260px, 54vw);
    max-height: 380px;
  }
}

@media (max-width: 640px) {
  .hero-character-rig {
    width: min(220px, 66vw);
    max-height: 320px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .gesture-ring,
  .gesture-dot {
    animation: none !important;
  }
}

/* Final responsive guardrails for the animated hero */
@media (max-width: 920px) {
  .hero {
    min-height: auto;
    overflow: hidden;
  }

  .hero-bg {
    inset: 34px 0 0;
    border-radius: 22px;
  }

  .hero-inner {
    width: min(100% - 32px, var(--max));
    grid-template-columns: minmax(0, 1fr);
    gap: 28px;
    padding: 38px 0 34px;
  }

  .hero-inner > *,
  .hero-copy {
    min-width: 0;
    width: 100%;
  }

  .hero h1 {
    max-width: 10ch;
    letter-spacing: 0;
  }

  .hero-lede {
    width: 100%;
    max-width: 34rem;
    overflow-wrap: normal;
    word-break: normal;
  }

  .hero-stage {
    width: 100%;
    min-width: 0;
    max-width: min(560px, 100%);
    min-height: clamp(300px, 52vw, 380px);
    justify-self: center;
    overflow: hidden;
    border-radius: 28px;
  }

  .hero-stage::before {
    width: min(360px, 78%);
    transform: translateY(18px) rotate(-5deg);
  }

  .orbit-a {
    width: min(330px, 68%);
    right: 8%;
    bottom: 4%;
  }

  .orbit-b {
    width: min(210px, 42%);
    right: 22%;
    top: 18%;
  }

  .tool-card {
    display: none;
  }
}

@media (max-width: 640px) {
  .hero-inner {
    width: calc(100% - 32px);
    gap: 22px;
    padding-top: 34px;
  }

  .hero-kicker {
    max-width: 100%;
    margin-bottom: 18px;
  }

  .hero-kicker span {
    max-width: 100%;
    min-height: 30px;
    padding-block: 7px;
    line-height: 1.15;
    white-space: normal;
  }

  .hero-kicker span:nth-child(2) {
    display: none;
  }

  .hero h1 {
    max-width: 6.4ch;
    font-size: clamp(2.95rem, 16vw, 4.1rem);
    line-height: 0.96;
  }

  .hero-lede {
    max-width: 100%;
    margin-top: 18px;
    font-size: 0.98rem;
    line-height: 1.62;
  }

  .hero-actions {
    width: 100%;
    margin-top: 26px;
    gap: 10px;
  }

  .btn {
    min-height: 44px;
    padding-inline: 18px;
  }

  .hero-stage {
    max-width: 100%;
    min-height: 300px;
    border-radius: 24px;
  }

  .hero-stage::before {
    width: min(286px, 78%);
    border-radius: 26px;
    transform: translateY(16px) rotate(-4deg);
  }

  .hero-character-rig {
    width: min(190px, 52vw);
    max-height: 280px;
  }
}

/* Home card sizing sync */
:root {
  --home-card-width: min(var(--max), calc(100% - 40px));
  --home-card-radius: 24px;
}

.hero-bg {
  width: var(--home-card-width);
  left: 50%;
  right: auto;
  transform: translateX(-50%);
  border-radius: var(--home-card-radius);
}

.proof-strip {
  width: var(--home-card-width);
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  margin-top: -18px;
}

.proof-pill {
  min-height: 116px;
  border-radius: var(--home-card-radius);
  padding: 24px 28px;
}

.proof-pill strong {
  min-width: 42px;
  font-size: clamp(2.05rem, 4vw, 2.45rem);
}

.proof-pill span {
  font-size: clamp(0.98rem, 1.25vw, 1.08rem);
}

@media (max-width: 920px) {
  :root {
    --home-card-width: min(100% - 32px, var(--max));
  }

  .proof-strip {
    grid-template-columns: 1fr;
    gap: 12px;
    margin-top: 20px;
  }

  .proof-pill {
    min-height: 104px;
  }
}

@media (max-width: 640px) {
  .proof-pill {
    min-height: 96px;
    padding: 20px 22px;
  }
}

/* Hero product shelf refresh */
:root {
  --hero-content-inset: clamp(40px, 4.2vw, 56px);
}

.hero-inner {
  width: min(calc(var(--max) - (var(--hero-content-inset) * 2)), calc(100% - 40px - (var(--hero-content-inset) * 2)));
}

.hero h1 {
  max-width: 11ch;
}

.hero-stage {
  min-height: 560px;
}

.hero-stage-panel {
  position: absolute;
  inset: 12% 3% 10% 8%;
  z-index: 0;
  border: 1px solid rgba(28, 82, 150, 0.13);
  border-radius: 24px;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.94), rgba(241, 248, 255, 0.58)),
    radial-gradient(circle at 80% 18%, rgba(101, 214, 190, 0.18), transparent 18rem),
    radial-gradient(circle at 26% 72%, rgba(23, 105, 255, 0.12), transparent 20rem);
  box-shadow: 0 12px 0 rgba(16, 47, 92, 0.07);
  transform: rotate(-5deg);
}

.hero-stage::before {
  width: min(390px, 66%);
  border-radius: 999px;
  background:
    radial-gradient(circle at 50% 44%, rgba(255, 255, 255, 0.86), rgba(245, 250, 255, 0.58) 58%, transparent 70%),
    linear-gradient(150deg, rgba(31, 115, 255, 0.12), rgba(24, 200, 170, 0.1));
  box-shadow: none;
  transform: rotate(-10deg);
}

.hero-character-rig {
  width: min(260px, 28vw);
  z-index: 3;
}

.hero-stage .tool-card {
  z-index: 4;
  width: auto;
  min-width: 188px;
  min-height: 72px;
  display: flex;
  align-items: center;
  gap: 11px;
  border-color: rgba(28, 82, 150, 0.14);
  border-radius: 18px;
  padding: 12px 14px;
  background: rgba(255, 255, 255, 0.88);
  backdrop-filter: blur(16px);
  box-shadow: 0 8px 0 rgba(16, 47, 92, 0.08);
}

.hero-stage .tool-card img {
  width: 42px;
  height: 42px;
  flex: 0 0 auto;
  border-radius: 12px;
  box-shadow: 0 3px 8px rgba(15, 23, 42, 0.08);
}

.hero-stage .tool-card span {
  color: var(--mint);
  font-size: 0.78rem;
  font-weight: 850;
  line-height: 1.1;
}

.hero-stage .tool-card strong {
  margin-top: 4px;
  color: var(--ink);
  font-size: 0.96rem;
  line-height: 1.18;
}

.tool-card-live {
  left: 6%;
  top: 12%;
  min-width: 150px;
  min-height: 0;
  display: block;
}

.tool-card-live strong {
  display: flex;
  align-items: baseline;
  gap: 5px;
}

.tool-card-live strong span:first-child {
  color: var(--brand);
  font-size: 1.9rem;
  line-height: 0.9;
}

.tool-card-receipt {
  left: 9%;
  top: 34%;
}

.tool-card-convert {
  right: -1%;
  bottom: 20%;
}

.tool-card-ridekip {
  right: 12%;
  top: 16%;
}

.orbit-a {
  width: min(360px, 58%);
  right: 9%;
  bottom: 16%;
}

.orbit-b {
  width: min(210px, 36%);
  right: 38%;
  top: 22%;
}

@media (max-width: 920px) {
  :root {
    --hero-content-inset: 16px;
  }

  .hero-inner {
    width: min(calc(100% - 64px), calc(var(--max) - 32px));
  }

  .hero-stage {
    min-height: 360px;
  }

  .hero-stage-panel {
    inset: 12% 6% 8%;
    transform: rotate(-3deg);
  }

  .hero-stage::before {
    width: min(300px, 64%);
    transform: translateY(10px) rotate(-6deg);
  }

  .hero-character-rig {
    width: min(200px, 42vw);
  }

  .hero-stage .tool-card {
    display: flex;
    min-width: 160px;
    min-height: 64px;
    padding: 10px 12px;
  }

  .tool-card-live {
    display: block;
    left: 7%;
    top: 11%;
  }

  .hero-stage .tool-card-receipt {
    display: none;
  }

  .tool-card-convert {
    right: 5%;
    bottom: 10%;
  }

  .hero-stage .tool-card-ridekip {
    display: none;
  }
}

@media (max-width: 640px) {
  :root {
    --hero-content-inset: 12px;
  }

  .hero-inner {
    width: calc(100% - 56px);
  }

  .hero h1 {
    max-width: 7.4ch;
  }

  .hero-stage {
    min-height: 318px;
  }

  .hero-stage-panel {
    inset: 14% 5% 8%;
    border-radius: 22px;
  }

  .hero-stage::before {
    width: min(250px, 68%);
  }

  .hero-character-rig {
    width: min(176px, 48vw);
  }

  .hero-stage .tool-card {
    min-width: 138px;
    min-height: 58px;
    gap: 8px;
    border-radius: 15px;
    padding: 9px 10px;
  }

  .hero-stage .tool-card img {
    width: 34px;
    height: 34px;
    border-radius: 10px;
  }

  .hero-stage .tool-card span {
    font-size: 0.7rem;
  }

  .hero-stage .tool-card strong {
    font-size: 0.8rem;
  }

  .hero-stage .tool-card-live {
    display: none;
  }

  .tool-card-convert {
    right: 6%;
    bottom: 8%;
  }

  .tool-card-live strong span:first-child {
    font-size: 1.45rem;
  }
}

/* Shared inner-page shell: product, legal, support, contact, and 404 */
:root {
  --page-shell-inset: clamp(40px, 4.2vw, 56px);
}

.page-main,
.product-main {
  width: min(var(--max), calc(100% - 40px));
}

.legal-hero,
.product-hero {
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(28, 82, 150, 0.14);
  border-radius: var(--home-card-radius);
  padding: clamp(42px, 5vw, 58px) var(--page-shell-inset);
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.9), rgba(232, 246, 255, 0.68)),
    linear-gradient(125deg, rgba(31, 115, 255, 0.14), transparent 48%),
    linear-gradient(305deg, rgba(24, 200, 170, 0.12), transparent 46%);
  box-shadow: 0 18px 0 rgba(16, 47, 92, 0.08), inset 0 1px 0 rgba(255, 255, 255, 0.92);
}

.legal-hero > *,
.product-hero > * {
  position: relative;
  z-index: 1;
}

.legal-hero::before,
.product-hero::before {
  inset: 12% 4% 10% 44%;
  z-index: 0;
  border-color: rgba(28, 82, 150, 0.12);
  border-radius: 24px;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.72), rgba(241, 248, 255, 0.5)),
    radial-gradient(circle at 68% 34%, rgba(31, 115, 255, 0.14), transparent 22rem),
    radial-gradient(circle at 28% 74%, rgba(24, 200, 170, 0.12), transparent 18rem);
  box-shadow: 0 12px 0 rgba(16, 47, 92, 0.06);
  transform: rotate(-4deg);
}

.legal-hero::after,
.product-hero::after {
  z-index: 0;
}

.legal-grid,
.summary-grid,
.policy-grid,
.product-section,
.product-back {
  padding-inline: var(--page-shell-inset);
}

.legal-doc,
.legal-aside-card,
.summary-tile,
.policy-card,
.product-panel,
.product-feature,
.product-fact,
.product-flow-card,
.product-detail-card,
.product-icon-card,
.email-box {
  border-radius: 18px;
}

.product-feature-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

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

.product-detail-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}

.product-flow-card,
.product-detail-card {
  position: relative;
  overflow: hidden;
  min-height: 158px;
  border: 1px solid rgba(28, 82, 150, 0.14);
  border-radius: 18px;
  padding: 20px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.92), rgba(241, 248, 255, 0.84)),
    var(--surface);
  box-shadow: 0 10px 0 rgba(16, 47, 92, 0.07), inset 0 1px 0 rgba(255, 255, 255, 0.92);
}

.product-flow-card {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 14px;
  align-items: start;
}

.product-flow-card::before,
.product-detail-card::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: 0;
  background:
    linear-gradient(115deg, transparent 0 22%, rgba(255, 255, 255, 0.62) 34%, transparent 48%),
    radial-gradient(circle at var(--mx, 50%) var(--my, 20%), rgba(31, 115, 255, 0.14), transparent 38%);
  transition: opacity 180ms ease;
}

.product-flow-card:hover::before,
.product-detail-card:hover::before {
  opacity: 1;
}

.product-flow-card > *,
.product-detail-card > * {
  position: relative;
  z-index: 1;
}

.product-flow-card span {
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  border-radius: 14px;
  background: rgba(24, 200, 170, 0.12);
  color: var(--brand-strong);
  font-size: 0.82rem;
  font-weight: 950;
}

.product-flow-card h3,
.product-detail-card h3 {
  margin: 0;
  color: var(--ink);
  font-size: 1rem;
  line-height: 1.22;
}

.product-flow-card p,
.product-detail-card p {
  margin: 9px 0 0;
  color: var(--ink-soft);
  font-size: 0.93rem;
  line-height: 1.62;
}

@media (max-width: 1100px) {
  .product-detail-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 920px) {
  :root {
    --page-shell-inset: 24px;
  }

  .legal-hero,
  .product-hero {
    padding: 34px var(--page-shell-inset);
  }

  .legal-hero::before,
  .product-hero::before {
    inset: 32% 6% 7%;
    transform: rotate(-3deg);
  }

  .legal-grid,
  .summary-grid,
  .policy-grid,
  .product-section,
  .product-back {
    padding-inline: 0;
  }

  .product-feature-grid,
  .product-flow-grid,
  .product-detail-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  :root {
    --page-shell-inset: 18px;
  }

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

  .legal-hero,
  .product-hero {
    border-radius: 22px;
    padding: 28px var(--page-shell-inset);
  }
}

/* Home app preview: only live App Store products, shown as a horizontal shelf */
.home-app-preview {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
  align-items: stretch;
}

.home-app-preview .app-module {
  min-height: 320px;
}

@media (max-width: 980px) {
  .home-app-preview {
    display: flex;
    gap: 14px;
    overflow-x: auto;
    padding: 0 0 18px;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
  }

  .home-app-preview .app-module {
    flex: 0 0 min(310px, 82vw);
    scroll-snap-align: start;
  }
}

@media (max-width: 640px) {
  .home-app-preview .app-module {
    min-height: 286px;
  }
}

/* Dedicated all-apps page */
.apps-index-main {
  width: min(var(--max), calc(100% - 40px));
  margin: 0 auto;
  padding: 48px 0 96px;
}

.apps-index-hero {
  margin-bottom: 72px;
}

.apps-index-companion {
  max-height: 420px;
}

.apps-catalog-section {
  padding-inline: var(--page-shell-inset);
}

.apps-catalog-section .section-head {
  margin-bottom: 28px;
}

.apps-catalog-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.apps-support-band {
  margin: 72px var(--page-shell-inset) 0;
}

@media (max-width: 920px) {
  .apps-index-main {
    padding-top: 32px;
  }

  .apps-catalog-section,
  .apps-support-band {
    padding-inline: 0;
    margin-inline: 0;
  }

  .apps-catalog-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 640px) {
  .apps-index-main {
    width: calc(100% - 32px);
    padding-bottom: 72px;
  }

  .apps-catalog-grid {
    grid-template-columns: 1fr;
  }
}

/* CJK display headlines need a different fit model than English words. */
@media (min-width: 921px) {
  html:lang(zh) .studio-copy h2,
  html:lang(ko) .studio-copy h2,
  html:lang(ja) .studio-copy h2 {
    max-width: none;
    white-space: nowrap;
    font-size: clamp(2.4rem, 4.2vw, 4.2rem);
    line-height: 1.02;
  }

  html:lang(zh) .cta-card h2,
  html:lang(ko) .cta-card h2,
  html:lang(ja) .cta-card h2 {
    max-width: none;
    white-space: nowrap;
    font-size: clamp(2.15rem, 3.9vw, 3.75rem);
    line-height: 1.04;
  }

  html:lang(zh) .studio-panel,
  html:lang(ko) .studio-panel,
  html:lang(ja) .studio-panel {
    grid-template-columns: minmax(0, 0.95fr) minmax(460px, 1.05fr);
  }

  html:lang(zh) .cta-card > div:first-child,
  html:lang(ko) .cta-card > div:first-child,
  html:lang(ja) .cta-card > div:first-child {
    min-width: 0;
    flex: 1 1 auto;
  }
}
