/* =========================================================
   UBER TUTORS — Glassmorphism landing page
   Premium black/white iOS-style UI. Pure CSS + Tailwind CDN.
   ========================================================= */

/* ---------- Tokens ---------- */
:root {
  --bg-base: #07080d;
  --text: #ffffff;
  --text-muted: rgba(255, 255, 255, 0.62);
  --text-faint: rgba(255, 255, 255, 0.42);
  --glass-bg: rgba(255, 255, 255, 0.06);
  --glass-bg-hover: rgba(255, 255, 255, 0.10);
  --glass-border: rgba(255, 255, 255, 0.14);
  --glass-border-hover: rgba(255, 255, 255, 0.30);
  --glass-border-active: rgba(255, 255, 255, 0.45);
  --glass-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.35);
  --glass-shadow-strong: 0 16px 48px 0 rgba(0, 0, 0, 0.45);
  --radius-sm: 14px;
  --radius-md: 22px;
  --radius-lg: 32px;
  --radius-xl: 40px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --spring: cubic-bezier(0.175, 0.885, 0.32, 1.275);
  --max-width: 1180px;
}

/* ---------- Base ---------- */
* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: auto; }

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'SF Pro Display', 'Segoe UI', sans-serif;
  background: var(--bg-base);
  color: var(--text);
  line-height: 1.6;
  min-height: 100vh;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }

.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
}

/* ---------- Animated background blobs ---------- */
.bg-stage {
  position: fixed;
  inset: 0;
  z-index: -2;
  overflow: hidden;
  background:
    radial-gradient(ellipse at top, #1a1a1f 0%, var(--bg-base) 55%),
    var(--bg-base);
}

.blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(90px);
  opacity: 0.35;
  will-change: transform;
}

.blob-1 {
  width: 620px; height: 620px;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.85) 0%, transparent 70%);
  top: -120px;
  left: -120px;
  animation: float-1 22s ease-in-out infinite;
}

.blob-2 {
  width: 560px; height: 560px;
  background: radial-gradient(circle, rgba(242, 242, 242, 0.72) 0%, transparent 70%);
  top: 35%;
  right: -160px;
  animation: float-2 26s ease-in-out infinite;
}

.blob-3 {
  width: 700px; height: 700px;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.5) 0%, transparent 70%);
  bottom: -200px;
  left: 30%;
  animation: float-3 30s ease-in-out infinite;
}

@keyframes float-1 {
  0%, 100% { transform: translate(0, 0) scale(1); }
  33% { transform: translate(140px, 80px) scale(1.1); }
  66% { transform: translate(80px, -40px) scale(0.95); }
}

@keyframes float-2 {
  0%, 100% { transform: translate(0, 0) scale(1); }
  33% { transform: translate(-180px, 60px) scale(1.15); }
  66% { transform: translate(-60px, -120px) scale(1); }
}

@keyframes float-3 {
  0%, 100% { transform: translate(0, 0) scale(1); }
  33% { transform: translate(-120px, -80px) scale(0.9); }
  66% { transform: translate(160px, -40px) scale(1.05); }
}

.bg-grain {
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.55'/%3E%3C/svg%3E");
  opacity: 0.06;
  mix-blend-mode: overlay;
  pointer-events: none;
}

/* ---------- THE GLASS CORE ---------- */
.glass {
  background: var(--glass-bg);
  backdrop-filter: blur(25px) saturate(180%);
  -webkit-backdrop-filter: blur(25px) saturate(180%);
  border: 1px solid var(--glass-border);
  box-shadow: var(--glass-shadow);
  position: relative;
}

/* Specular edge — white-to-transparent glass border highlight */
.glass::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  padding: 1px;
  background: linear-gradient(
    180deg,
    rgba(255, 255, 255, 0.38) 0%,
    rgba(242, 242, 242, 0.08) 42%,
    rgba(255, 255, 255, 0) 100%
  );
  -webkit-mask:
    linear-gradient(#000 0 0) content-box,
    linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  pointer-events: none;
}

/* ---------- Floating dock nav ---------- */
.dock {
  position: fixed;
  top: 24px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 50;
  display: flex;
  align-items: center;
  gap: 6px;
  /* Slightly wider left padding gives the logo more breathing room from the curved glass edge. */
  padding: 7px 9px 7px 14px;
  border-radius: 999px;
  transition: transform 0.5s var(--spring), box-shadow 0.4s var(--ease), background 0.4s var(--ease);
  white-space: nowrap;
}

.dock:hover {
  transform: translateX(-50%) translateY(-2px);
  box-shadow: var(--glass-shadow-strong);
}

.dock-brand { display: inline-flex; align-items: center; }

.dock-logo {
  width: 32px;
  height: 32px;
  border-radius: 10px;
  background: linear-gradient(135deg, #ffffff 0%, rgba(242, 242, 242, 0.68) 100%);
  color: #0a0a0a;
  display: grid;
  place-items: center;
  font-weight: 800;
  font-size: 0.95rem;
  letter-spacing: -0.02em;
  flex: 0 0 auto;
}

.dock-divider {
  width: 1px;
  height: 22px;
  background: rgba(255, 255, 255, 0.18);
  margin: 0 2px 0 0;
}

.dock-link {
  padding: 8px 12px;
  border-radius: 999px;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text-muted);
  transition: color 0.25s var(--ease), background 0.25s var(--ease), transform 0.35s var(--spring);
}

.dock-link:hover {
  color: var(--text);
  background: rgba(255, 255, 255, 0.08);
  transform: translateY(-1px);
}

.dock-cta {
  padding: 8px 16px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.95);
  color: #0a0a0a;
  font-size: 0.9rem;
  font-weight: 700;
  transition: transform 0.35s var(--spring), background 0.25s var(--ease), border-color 0.25s var(--ease);
  margin-left: 4px;
  border: 1px solid rgba(255, 255, 255, 0.95);
}

.dock-cta:hover {
  background: #ffffff;
  transform: translateY(-1px) scale(1.03);
}

/* ---------- Hero ---------- */
.hero {
  padding: 180px 0 80px;
  text-align: center;
  position: relative;
}

.glass-pill,
.glass-pill-sm {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  border-radius: 999px;
  background: var(--glass-bg);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid var(--glass-border);
  font-size: 0.83rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.85);
  margin-bottom: 32px;
}

.glass-pill-sm {
  font-size: 0.78rem;
  padding: 6px 14px;
  margin-bottom: 24px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.pill-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #ffffff;
  box-shadow: 0 0 12px rgba(255, 255, 255, 0.8);
}

.hero-title {
  font-size: clamp(2.9rem, 7.3vw, 6rem);
  font-weight: 750;
  letter-spacing: -0.045em;
  line-height: 1.02;
  max-width: 980px;
  margin: 0 auto;
}

.hero-gradient {
  background: linear-gradient(135deg, #ffffff 0%, rgba(255, 255, 255, 0.58) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-sub {
  margin: 28px auto 0;
  max-width: 690px;
  font-size: 1.15rem;
  color: var(--text-muted);
  line-height: 1.6;
}

.hero-cta {
  margin-top: 40px;
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
}

/* Glass pill buttons */
.btn-glass-primary,
.btn-glass-ghost,
.dock-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border-radius: 999px;
  font-weight: 700;
  cursor: pointer;
  will-change: transform, translate;
}

.btn-glass-primary,
.btn-glass-ghost {
  padding: 14px 26px;
  font-size: 0.95rem;
  border: 1px solid;
  transition:
    transform 0.45s var(--spring),
    background 0.3s var(--ease),
    border-color 0.3s var(--ease),
    box-shadow 0.3s var(--ease),
    color 0.3s var(--ease);
  transform: scale(1);
}

.btn-glass-primary:active,
.btn-glass-ghost:active,
.dock-cta:active {
  transform: scale(0.96);
  border-color: var(--glass-border-active);
  transition: transform 0.08s linear, border-color 0.08s linear;
}

.btn-glass-primary.btn-released,
.btn-glass-ghost.btn-released,
.dock-cta.btn-released {
  transform: scale(1.04);
  transition: transform 0.18s var(--spring);
}

.btn-glass-primary {
  background: rgba(255, 255, 255, 0.95);
  color: #0a0a0a;
  border-color: rgba(255, 255, 255, 0.95);
  translate: var(--magnet-x, 0px) var(--magnet-y, 0px);
  transition:
    transform 0.45s var(--spring),
    translate 0.25s var(--spring),
    background 0.3s var(--ease),
    border-color 0.3s var(--ease),
    box-shadow 0.3s var(--ease),
    color 0.3s var(--ease);
}

.btn-glass-primary:hover {
  background: #ffffff;
  transform: scale(1.03);
  box-shadow: 0 12px 32px rgba(255, 255, 255, 0.18);
}

.btn-glass-primary.is-magnetic {
  transition:
    transform 0.45s var(--spring),
    translate 0.12s linear,
    background 0.3s var(--ease),
    border-color 0.3s var(--ease),
    box-shadow 0.3s var(--ease),
    color 0.3s var(--ease);
}

.btn-glass-ghost {
  background: var(--glass-bg);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-color: var(--glass-border);
  color: var(--text);
}

.btn-glass-ghost:hover {
  background: var(--glass-bg-hover);
  border-color: var(--glass-border-hover);
  transform: scale(1.03);
}

/* Hero preview */
.hero-preview {
  margin: 80px auto 0;
  max-width: 880px;
  border-radius: var(--radius-lg);
  overflow: hidden;
  text-align: left;
}

.preview-bar {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 14px 18px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.preview-dot {
  width: 11px;
  height: 11px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.18);
}

.preview-url {
  margin-left: 12px;
  font-size: 0.82rem;
  color: var(--text-faint);
  font-family: ui-monospace, monospace;
}

.preview-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: auto auto;
  gap: 12px;
  padding: 18px;
}

.preview-tile {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-md);
  padding: 18px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.preview-tile-wide { grid-column: 1 / -1; }

.tile-label {
  font-size: 0.78rem;
  color: var(--text-faint);
  font-weight: 600;
}

.tile-stat {
  font-size: 1.6rem;
  font-weight: 750;
  letter-spacing: -0.02em;
}

.tile-trend {
  font-size: 0.78rem;
  color: rgba(255, 255, 255, 0.85);
  font-weight: 650;
}

.tutor-preview-tile { gap: 12px; }

.preview-search-row {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 14px;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.09);
  color: rgba(255, 255, 255, 0.9);
  font-weight: 600;
  min-width: 0;
}

.preview-search-row span:nth-child(2) {
  flex: 1;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.preview-search-row small {
  color: var(--text-faint);
  font-size: 0.75rem;
  flex: 0 0 auto;
}

.search-icon { color: var(--text-faint); }

.mini-tutor-list { display: grid; gap: 8px; }

.mini-tutor-row {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 12px;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.035);
  border: 1px solid rgba(255, 255, 255, 0.07);
}

.mini-avatar {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: #ffffff;
  color: #090909;
  display: grid;
  place-items: center;
  font-size: 0.72rem;
  font-weight: 800;
  flex: 0 0 auto;
}

.mini-tutor-row span:nth-child(2) {
  display: flex;
  flex-direction: column;
  flex: 1;
  min-width: 0;
}

.mini-tutor-row strong {
  color: #fff;
  font-size: 0.88rem;
}

.mini-tutor-row small {
  color: var(--text-muted);
  font-size: 0.78rem;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.mini-tutor-row em {
  font-style: normal;
  color: rgba(255, 255, 255, 0.88);
  font-size: 0.78rem;
  flex: 0 0 auto;
}

/* ---------- Sections ---------- */
.section {
  padding: 120px 0;
  position: relative;
}

.section-head {
  max-width: 760px;
  margin-bottom: 64px;
}

.section-head.center {
  margin: 0 auto 64px;
  text-align: center;
}

.section-head h2,
.trademark-main h2 {
  font-size: clamp(2.35rem, 5.4vw, 4rem);
  font-weight: 750;
  letter-spacing: -0.04em;
  line-height: 1.05;
}

.section-lead {
  margin-top: 20px;
  color: var(--text-muted);
  font-size: 1.08rem;
  max-width: 690px;
}

.section-head.center .section-lead { margin-left: auto; margin-right: auto; }
.muted { color: var(--text-faint); }

/* ---------- Concept grid ---------- */
.concept-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.concept-card {
  min-height: 260px;
  border-radius: var(--radius-md);
  padding: 26px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  transition:
    transform 0.5s var(--spring),
    background 0.35s var(--ease),
    border-color 0.35s var(--ease),
    box-shadow 0.45s var(--ease),
    backdrop-filter 0.5s var(--ease),
    -webkit-backdrop-filter 0.5s var(--ease);
}

.concept-card:hover,
.showcase-card:hover,
.press-card:hover,
.legal-detail:hover {
  background: var(--glass-bg-hover);
  border-color: var(--glass-border-hover);
  transform: translateY(-3px);
}

.concept-card h3 {
  margin-top: auto;
  font-size: 1.2rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.2;
}

.concept-card p {
  color: var(--text-muted);
  font-size: 0.94rem;
}

/* ---------- Bento grid ---------- */
.bento {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-auto-rows: minmax(220px, auto);
  gap: 18px;
}

.bento-card {
  border-radius: var(--radius-lg);
  padding: 30px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  transition:
    transform 0.6s var(--spring),
    background 0.4s var(--ease),
    border-color 0.4s var(--ease),
    box-shadow 0.5s var(--ease),
    backdrop-filter 0.5s var(--ease),
    -webkit-backdrop-filter 0.5s var(--ease);
  cursor: default;
  position: relative;
  overflow: hidden;
  will-change: transform, backdrop-filter;
}

.bento-card:hover {
  background: var(--glass-bg-hover);
  border-color: var(--glass-border-hover);
  transform: scale(1.02);
  box-shadow: var(--glass-shadow-strong);
  backdrop-filter: blur(50px) saturate(200%);
  -webkit-backdrop-filter: blur(50px) saturate(200%);
  z-index: 2;
}

.bento-large { grid-column: span 2; grid-row: span 2; }
.bento-wide { grid-column: span 2; }
.bento-stat { align-items: flex-start; justify-content: center; }

.bento-card h3 {
  font-size: 1.4rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.2;
}

.bento-large h3 {
  font-size: 1.85rem;
  max-width: 520px;
}

.bento-card p {
  color: var(--text-muted);
  font-size: 0.95rem;
  line-height: 1.55;
}

.bento-icon {
  width: 44px;
  height: 44px;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.12);
  display: grid;
  place-items: center;
  color: var(--text);
  margin-bottom: 4px;
}

.card-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--text-faint);
}

.dot-green {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #ffffff;
  box-shadow: 0 0 10px rgba(255, 255, 255, 0.7);
}

.bento-visual {
  margin-top: auto;
  position: relative;
  height: 120px;
}

.cursor {
  position: absolute;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 12px 4px 8px;
  border-radius: 999px;
  font-size: 0.78rem;
  font-weight: 600;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.14);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.cursor span {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.85);
}

.cursor-1 { top: 10%; left: 8%; animation: drift-1 7s ease-in-out infinite; }
.cursor-2 { top: 55%; left: 38%; animation: drift-2 9s ease-in-out infinite; }
.cursor-3 { top: 25%; right: 10%; animation: drift-3 8s ease-in-out infinite; }
.cursor-4 { bottom: 8%; right: 24%; animation: drift-4 10s ease-in-out infinite; }
.cursor-2 span { opacity: 0.75; }
.cursor-3 span { opacity: 0.6; }
.cursor-4 span { opacity: 0.5; }

@keyframes drift-1 { 0%, 100% { transform: translate(0, 0); } 50% { transform: translate(20px, 12px); } }
@keyframes drift-2 { 0%, 100% { transform: translate(0, 0); } 50% { transform: translate(-16px, -18px); } }
@keyframes drift-3 { 0%, 100% { transform: translate(0, 0); } 50% { transform: translate(-12px, 14px); } }
@keyframes drift-4 { 0%, 100% { transform: translate(0, 0); } 50% { transform: translate(16px, -10px); } }

.stat-number {
  font-size: 3.2rem;
  font-weight: 750;
  letter-spacing: -0.04em;
  line-height: 1;
  background: linear-gradient(135deg, #fff 0%, rgba(255, 255, 255, 0.4) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.stat-suffix { font-size: 1.6rem; vertical-align: super; }
.stat-label { margin-top: 12px; color: var(--text-muted); font-size: 0.92rem; }

/* ---------- Trademark section ---------- */
.trademark-section { padding-top: 100px; }

.trademark-card {
  border-radius: var(--radius-xl);
  padding: 44px;
  display: grid;
  grid-template-columns: 1.25fr 0.85fr;
  gap: 32px;
  overflow: hidden;
}

.trademark-main p {
  color: var(--text-muted);
  font-size: 1rem;
  max-width: 720px;
  margin-top: 18px;
}

.trademark-logo-showcase {
  margin-top: 30px;
  display: flex;
  justify-content: center;
}

.trademark-logo-mark {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: min(100%, 420px);
  height: 145px;
  padding: 18px 28px;
  border-radius: 32px;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.09), rgba(255, 255, 255, 0.025)),
    rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.08),
    0 18px 52px rgba(0, 0, 0, 0.18);
  overflow: hidden;
}

.trademark-logo-mark::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background:
    radial-gradient(circle at 50% 0%, rgba(255, 255, 255, 0.12), transparent 58%);
  pointer-events: none;
}

.trademark-logo-img {
  position: absolute;
  inset: 18px 28px;
  width: calc(100% - 56px);
  height: calc(100% - 36px);
  object-fit: contain;
  object-position: center;
  transition: opacity 0.25s var(--ease), filter 0.25s var(--ease);
}

.trademark-badges {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 28px;
}

.trust-badge {
  display: inline-flex;
  align-items: center;
  min-height: 38px;
  padding: 8px 14px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.14);
  color: rgba(255, 255, 255, 0.88);
  font-size: 0.86rem;
  font-weight: 700;
}

.legal-grid {
  display: grid;
  gap: 12px;
  align-content: center;
}

.legal-detail {
  border-radius: var(--radius-md);
  padding: 20px;
  transition: transform 0.45s var(--spring), background 0.35s var(--ease), border-color 0.35s var(--ease);
}

.legal-detail span {
  display: block;
  color: var(--text-faint);
  font-size: 0.75rem;
  font-weight: 750;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-bottom: 8px;
}

.legal-detail strong {
  display: block;
  color: #ffffff;
  font-size: 0.95rem;
  line-height: 1.4;
}

.press-block { margin-top: 90px; }

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

.press-card {
  border-radius: var(--radius-md);
  padding: 22px;
  min-height: 180px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  transition:
    transform 0.45s var(--spring),
    background 0.35s var(--ease),
    border-color 0.35s var(--ease),
    box-shadow 0.45s var(--ease);
}

.press-card span {
  color: var(--text-faint);
  font-size: 0.78rem;
  font-weight: 750;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.press-card strong {
  color: #ffffff;
  font-size: 1rem;
  line-height: 1.35;
  letter-spacing: -0.01em;
}

.press-card em {
  margin-top: auto;
  font-style: normal;
  color: #ffffff;
  font-size: 1.2rem;
  transition: transform 0.35s var(--spring);
}

.press-card:hover em { transform: translateX(3px); }

/* ---------- Showcase row / users ---------- */
.showcase-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.showcase-card {
  border-radius: var(--radius-md);
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  transition: background 0.35s var(--ease), border-color 0.35s var(--ease), transform 0.45s var(--spring);
}

.showcase-num {
  font-size: 0.78rem;
  font-weight: 750;
  letter-spacing: 0.04em;
  color: var(--text-faint);
}

.showcase-card h4 {
  font-size: 1.1rem;
  font-weight: 700;
}

.showcase-card p {
  color: var(--text-muted);
  font-size: 0.9rem;
  line-height: 1.5;
}

/* ---------- CTA / Early access form ---------- */
.cta-card {
  border-radius: var(--radius-xl);
  padding: 80px 40px;
  text-align: center;
  max-width: 880px;
  margin: 0 auto;
}

.cta-card h2 {
  font-size: clamp(2.35rem, 5vw, 3.6rem);
  font-weight: 750;
  letter-spacing: -0.04em;
  line-height: 1.05;
  margin-bottom: 16px;
}

.cta-card p {
  color: var(--text-muted);
  font-size: 1.1rem;
  max-width: 580px;
  margin: 0 auto 32px;
}

.cta-note {
  display: inline-flex;
  margin-top: 22px;
  color: var(--text-faint);
  font-size: 0.88rem;
}

.cta-form-card {
  max-width: 1080px;
  padding: 34px;
  display: grid;
  grid-template-columns: 0.9fr 1.25fr;
  gap: 28px;
  text-align: left;
  align-items: stretch;
}

.cta-form-intro {
  padding: 18px 6px 18px 12px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.cta-form-intro h2 {
  max-width: 430px;
}

.cta-form-intro p {
  margin: 0 0 24px;
  max-width: 460px;
}

.form-benefits {
  display: grid;
  gap: 12px;
  list-style: none;
  margin: 6px 0 4px;
}

.form-benefits li {
  position: relative;
  padding-left: 24px;
  color: var(--text-muted);
  font-size: 0.95rem;
  line-height: 1.5;
}

.form-benefits li::before {
  content: '✓';
  position: absolute;
  left: 0;
  top: 0;
  color: var(--text);
  font-weight: 800;
}

.cta-form-intro .cta-note {
  margin-top: auto;
}

.early-access-form {
  border-radius: var(--radius-lg);
  padding: 24px;
  background: rgba(255, 255, 255, 0.045);
  border: 1px solid rgba(255, 255, 255, 0.10);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.06);
}

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

.form-field {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.form-field-full {
  margin-top: 14px;
}

.form-field span {
  color: var(--text-muted);
  font-size: 0.82rem;
  font-weight: 750;
  letter-spacing: 0.02em;
}

.form-field em {
  color: var(--text);
  font-style: normal;
}

.form-field input,
.form-field select,
.form-field textarea {
  width: 100%;
  min-height: 48px;
  padding: 13px 15px;
  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, 0.11);
  background: rgba(255, 255, 255, 0.055);
  color: var(--text);
  outline: none;
  font: inherit;
  font-size: 1rem;
  transition:
    background 0.35s var(--ease),
    border-color 0.35s var(--ease),
    box-shadow 0.35s var(--ease),
    transform 0.35s var(--spring);
}

.form-field textarea {
  resize: vertical;
  min-height: 112px;
}

.form-field input::placeholder,
.form-field textarea::placeholder {
  color: var(--text-faint);
}

.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus {
  background: rgba(255, 255, 255, 0.085);
  border-color: var(--glass-border-active);
  box-shadow: 0 0 0 4px rgba(255, 255, 255, 0.08);
}

.form-field select {
  appearance: none;
  background-image:
    linear-gradient(45deg, transparent 50%, currentColor 50%),
    linear-gradient(135deg, currentColor 50%, transparent 50%);
  background-position:
    calc(100% - 18px) 21px,
    calc(100% - 13px) 21px;
  background-size: 5px 5px, 5px 5px;
  background-repeat: no-repeat;
}


/* ---------- Dark mode dropdown menu readability ----------
   Native select dropdowns are controlled partly by the browser/OS,
   but these rules make the opened options readable in dark mode. */
.form-field select {
  color-scheme: dark;
}

.form-field select option,
.form-field select optgroup {
  background-color: #2f313a;
  color: #ffffff;
}

.form-field select option:checked {
  background-color: #444752;
  color: #ffffff;
}

html[data-theme="light"] .form-field select {
  color-scheme: light;
}

html[data-theme="light"] .form-field select option,
html[data-theme="light"] .form-field select optgroup {
  background-color: #ffffff;
  color: #080808;
}

html[data-theme="light"] .form-field select option:checked {
  background-color: #f2f2f2;
  color: #080808;
}
.form-submit-btn {
  width: 100%;
  margin-top: 18px;
  min-height: 52px;
}

.form-submit-btn:disabled {
  cursor: wait;
  opacity: 0.75;
}

.form-privacy {
  margin: 12px 0 0 !important;
  max-width: none !important;
  color: var(--text-faint) !important;
  font-size: 0.8rem !important;
  line-height: 1.45;
  text-align: center;
}

.form-status {
  margin-top: 14px;
  padding: 14px 16px;
  border-radius: 18px;
  font-size: 0.9rem;
  line-height: 1.5;
}

.form-status strong {
  display: block;
  margin-bottom: 3px;
  color: var(--text);
}

.form-status-success {
  background: rgba(255, 255, 255, 0.075);
  border: 1px solid rgba(255, 255, 255, 0.16);
  color: var(--text-muted);
}

.form-status-error {
  background: rgba(255, 255, 255, 0.055);
  border: 1px solid rgba(255, 255, 255, 0.28);
  color: var(--text-muted);
}

.form-field.is-invalid input,
.form-field.is-invalid select,
.form-field.is-invalid textarea {
  border-color: rgba(255, 255, 255, 0.42);
  box-shadow: 0 0 0 4px rgba(255, 255, 255, 0.08);
}

/* ---------- Footer ---------- */
.footer-bar {
  max-width: var(--max-width);
  margin: 40px auto;
  border-radius: var(--radius-md);
  padding: 18px 28px;
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}

.footer-brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  font-size: 0.95rem;
}

.footer-meta { font-size: 0.85rem; color: var(--text-faint); }
.footer-links { display: flex; gap: 20px; }
.footer-links a { font-size: 0.88rem; color: var(--text-muted); transition: color 0.25s var(--ease); }
.footer-links a:hover { color: var(--text); }

/* ---------- Reveal animation ---------- */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition:
    opacity 0.85s var(--spring),
    transform 0.85s var(--spring);
}

.reveal.visible { opacity: 1; transform: none; }
.reveal-step-1 { transition-delay: 0ms; }
.reveal-step-2 { transition-delay: 150ms; }
.reveal-step-3 { transition-delay: 300ms; }
.reveal-step-4 { transition-delay: 450ms; }

/* Grid stagger reveals */
.bento > .reveal:nth-child(1),
.concept-grid > .reveal:nth-child(1),
.showcase-row > .reveal:nth-child(1),
.press-grid > .reveal:nth-child(1),
.legal-grid > .reveal:nth-child(1),
.trademark-badges > .reveal:nth-child(1) { transition-delay: 300ms; }

.bento > .reveal:nth-child(2),
.concept-grid > .reveal:nth-child(2),
.showcase-row > .reveal:nth-child(2),
.press-grid > .reveal:nth-child(2),
.legal-grid > .reveal:nth-child(2),
.trademark-badges > .reveal:nth-child(2) { transition-delay: 380ms; }

.bento > .reveal:nth-child(3),
.concept-grid > .reveal:nth-child(3),
.showcase-row > .reveal:nth-child(3),
.press-grid > .reveal:nth-child(3),
.legal-grid > .reveal:nth-child(3),
.trademark-badges > .reveal:nth-child(3) { transition-delay: 460ms; }

.bento > .reveal:nth-child(4),
.concept-grid > .reveal:nth-child(4),
.showcase-row > .reveal:nth-child(4),
.press-grid > .reveal:nth-child(4),
.legal-grid > .reveal:nth-child(4) { transition-delay: 540ms; }

.bento > .reveal:nth-child(5),
.press-grid > .reveal:nth-child(5) { transition-delay: 620ms; }
.press-grid > .reveal:nth-child(6) { transition-delay: 700ms; }
.press-grid > .reveal:nth-child(7) { transition-delay: 780ms; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto !important; }
  .reveal { opacity: 1 !important; transform: none !important; transition: none !important; }
  .blob, .cursor { animation: none !important; }
  .btn-glass-primary, .btn-glass-ghost, .bento-card, .dock-cta, .press-card, .concept-card, .showcase-card {
    transition: none !important;
  }
}

/* ---------- Responsive ---------- */
@media (max-width: 980px) {
  .bento { grid-template-columns: repeat(2, 1fr); }
  .bento-large { grid-column: span 2; grid-row: auto; }
  .bento-wide { grid-column: span 2; }
  .concept-grid, .showcase-row, .press-grid { grid-template-columns: repeat(2, 1fr); }
  .trademark-card { grid-template-columns: 1fr; }
  .section { padding: 80px 0; }
  .trademark-section { padding-top: 80px; }
}

@media (max-width: 720px) {
  .dock {
    top: auto;
    bottom: 16px;
    padding: 6px;
    gap: 4px;
    max-width: calc(100% - 24px);
    width: auto;
    overflow-x: auto;
    scrollbar-width: none;
  }
  .dock::-webkit-scrollbar { display: none; }
  .dock-link { padding: 7px 10px; font-size: 0.8rem; }
  .dock-link-tm { font-size: 0; }
  .dock-link-tm::after { content: 'TM'; font-size: 0.8rem; }
  .dock-cta { padding: 7px 12px; font-size: 0.8rem; }
  .dock-divider, .dock-brand { display: none; }

  .hero { padding: 110px 0 60px; }
  .hero-title { font-size: clamp(2.55rem, 14vw, 4.1rem); }
  .hero-title br { display: none; }
  .hero-sub { font-size: 1.02rem; }
  .hero-preview { margin-top: 60px; }
  .preview-grid { grid-template-columns: 1fr; }

  .bento, .concept-grid, .showcase-row, .press-grid { grid-template-columns: 1fr; }
  .bento-large, .bento-wide { grid-column: span 1; grid-row: auto; }
  .bento-large h3 { font-size: 1.5rem; }
  .section-head h2, .trademark-main h2 { font-size: clamp(2.1rem, 11vw, 3.3rem); }
  .section-head, .section-head.center { margin-bottom: 42px; }
  .trademark-card { padding: 28px; }
  .trademark-logo-mark {
    width: min(100%, 340px);
    height: 120px;
    border-radius: 26px;
  }
  .cta-card { padding: 50px 24px; }
  .footer-inner { justify-content: center; text-align: center; }
}

@media (max-width: 460px) {
  .trademark-logo-mark {
    width: min(100%, 295px);
    height: 105px;
    padding: 14px 20px;
  }

  .trademark-logo-img {
    inset: 14px 20px;
    width: calc(100% - 40px);
    height: calc(100% - 28px);
  }

  .container { padding: 0 18px; }
  .hero-cta { flex-direction: column; align-items: stretch; }
  .hero-cta .btn-glass-primary,
  .hero-cta .btn-glass-ghost { justify-content: center; }
  .preview-search-row { align-items: flex-start; flex-wrap: wrap; }
  .preview-search-row small { width: 100%; padding-left: 22px; }
  .mini-tutor-row { gap: 10px; }
  .footer-links { width: 100%; justify-content: center; }
}


/* =========================================================
   LIGHT / DARK THEME TOGGLE
   Keeps the same glassmorphism layout, with a brighter white
   surface system and black typography in light mode.
   ========================================================= */
html[data-theme="dark"] {
  color-scheme: dark;
}

html[data-theme="light"] {
  color-scheme: light;
  --bg-base: #f4f4f1;
  --text: #080808;
  --text-muted: rgba(8, 8, 8, 0.64);
  --text-faint: rgba(8, 8, 8, 0.42);
  --glass-bg: rgba(255, 255, 255, 0.58);
  --glass-bg-hover: rgba(255, 255, 255, 0.78);
  --glass-border: rgba(8, 8, 8, 0.10);
  --glass-border-hover: rgba(8, 8, 8, 0.20);
  --glass-border-active: rgba(8, 8, 8, 0.30);
  --glass-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.10);
  --glass-shadow-strong: 0 18px 54px 0 rgba(0, 0, 0, 0.16);
}

body,
.bg-stage,
.glass,
.dock,
.dock-link,
.dock-cta,
.btn-glass-primary,
.btn-glass-ghost,
.theme-toggle,
.glass-pill,
.glass-pill-sm,
.preview-tile,
.preview-search-row,
.mini-tutor-row,
.bento-card,
.concept-card,
.showcase-card,
.trademark-card,
.legal-detail,
.press-card,
.cta-card,
.footer-bar {
  transition:
    background 0.45s var(--ease),
    color 0.45s var(--ease),
    border-color 0.45s var(--ease),
    box-shadow 0.45s var(--ease),
    transform 0.45s var(--spring),
    backdrop-filter 0.45s var(--ease),
    -webkit-backdrop-filter 0.45s var(--ease);
}

/* Override Tailwind's text-white class when light mode is active. */
html[data-theme="light"] body {
  color: var(--text) !important;
  background: var(--bg-base);
}

html[data-theme="light"] .bg-stage {
  background:
    radial-gradient(ellipse at top, #ffffff 0%, #f7f7f4 46%, var(--bg-base) 100%),
    var(--bg-base);
}

html[data-theme="light"] .blob {
  opacity: 0.42;
  mix-blend-mode: multiply;
}

html[data-theme="light"] .blob-1 {
  background: radial-gradient(circle, rgba(255, 255, 255, 0.95) 0%, rgba(218, 218, 214, 0.38) 45%, transparent 72%);
}

html[data-theme="light"] .blob-2 {
  background: radial-gradient(circle, rgba(255, 255, 255, 0.88) 0%, rgba(200, 200, 196, 0.34) 48%, transparent 72%);
}

html[data-theme="light"] .blob-3 {
  background: radial-gradient(circle, rgba(242, 242, 242, 0.9) 0%, rgba(210, 210, 206, 0.28) 48%, transparent 72%);
}

html[data-theme="light"] .bg-grain {
  opacity: 0.035;
  mix-blend-mode: multiply;
}

html[data-theme="light"] .glass::before {
  background: linear-gradient(
    180deg,
    rgba(255, 255, 255, 0.92) 0%,
    rgba(255, 255, 255, 0.36) 34%,
    rgba(8, 8, 8, 0.05) 100%
  );
}

/* Theme switch inside the floating dock */
.theme-toggle {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 36px;
  padding: 8px 13px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.07);
  color: var(--text-muted);
  border: 1px solid var(--glass-border);
  font-size: 0.86rem;
  font-weight: 700;
  cursor: pointer;
  white-space: nowrap;
}

.theme-toggle:hover {
  color: var(--text);
  background: var(--glass-bg-hover);
  border-color: var(--glass-border-hover);
  transform: translateY(-1px);
}

.theme-toggle:active {
  transform: scale(0.96);
  border-color: var(--glass-border-active);
}

.theme-toggle.btn-released {
  transform: scale(1.04);
  transition: transform 0.18s var(--spring);
}

.theme-toggle-icon {
  width: 16px;
  display: inline-flex;
  justify-content: center;
  line-height: 1;
}

html[data-theme="light"] .theme-toggle {
  background: rgba(255, 255, 255, 0.68);
  color: rgba(8, 8, 8, 0.68);
  border-color: rgba(8, 8, 8, 0.10);
}

html[data-theme="light"] .theme-toggle:hover {
  color: #080808;
  background: rgba(255, 255, 255, 0.92);
  border-color: rgba(8, 8, 8, 0.18);
}

/* Light mode component tuning */
html[data-theme="light"] .dock-logo {
  background: linear-gradient(135deg, #111111 0%, #3b3b3b 100%);
  color: #ffffff;
}

html[data-theme="light"] .dock-divider,
html[data-theme="light"] .preview-bar {
  border-color: rgba(8, 8, 8, 0.08);
}

html[data-theme="light"] .dock-divider {
  background: rgba(8, 8, 8, 0.12);
}

html[data-theme="light"] .dock-link:hover {
  background: rgba(8, 8, 8, 0.055);
}

html[data-theme="light"] .dock-cta,
html[data-theme="light"] .btn-glass-primary {
  background: rgba(255, 255, 255, 0.82);
  color: #080808;
  border-color: rgba(8, 8, 8, 0.14);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
}

html[data-theme="light"] .dock-cta:hover,
html[data-theme="light"] .btn-glass-primary:hover {
  background: #ffffff;
  color: #080808;
  border-color: rgba(8, 8, 8, 0.24);
  box-shadow: var(--glass-shadow-strong);
}

html[data-theme="light"] .btn-glass-ghost {
  background: rgba(255, 255, 255, 0.54);
  color: #080808;
  border-color: rgba(8, 8, 8, 0.12);
}

html[data-theme="light"] .btn-glass-ghost:hover {
  background: rgba(255, 255, 255, 0.78);
  border-color: rgba(8, 8, 8, 0.22);
}

html[data-theme="light"] .glass-pill,
html[data-theme="light"] .glass-pill-sm {
  background: rgba(255, 255, 255, 0.62);
  border-color: rgba(8, 8, 8, 0.10);
  color: rgba(8, 8, 8, 0.72);
}

html[data-theme="light"] .pill-dot,
html[data-theme="light"] .dot-green,
html[data-theme="light"] .cursor span {
  background: #080808;
  box-shadow: 0 0 12px rgba(8, 8, 8, 0.18);
}

html[data-theme="light"] .hero-gradient,
html[data-theme="light"] .stat-number {
  background: linear-gradient(135deg, #080808 0%, rgba(8, 8, 8, 0.42) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

html[data-theme="light"] .preview-dot {
  background: rgba(8, 8, 8, 0.16);
}

html[data-theme="light"] .preview-tile,
html[data-theme="light"] .preview-search-row,
html[data-theme="light"] .mini-tutor-row,
html[data-theme="light"] .bento-icon,
html[data-theme="light"] .cursor,
html[data-theme="light"] .trust-badge {
  background: rgba(255, 255, 255, 0.46);
  border-color: rgba(8, 8, 8, 0.08);
  color: var(--text);
}

html[data-theme="light"] .tile-trend,
html[data-theme="light"] .mini-tutor-row strong,
html[data-theme="light"] .mini-tutor-row em,
html[data-theme="light"] .legal-detail strong,
html[data-theme="light"] .press-card strong,
html[data-theme="light"] .press-card em {
  color: #080808;
}

html[data-theme="light"] .mini-avatar {
  background: #080808;
  color: #ffffff;
}

html[data-theme="light"] .trust-badge {
  color: rgba(8, 8, 8, 0.78);
}

html[data-theme="light"] .trademark-logo-mark {
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.90), rgba(255, 255, 255, 0.50)),
    rgba(255, 255, 255, 0.64);
  border-color: rgba(8, 8, 8, 0.08);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.75),
    0 18px 52px rgba(0, 0, 0, 0.10);
}

html[data-theme="light"] .trademark-logo-mark::before {
  background:
    radial-gradient(circle at 50% 0%, rgba(255, 255, 255, 0.85), transparent 58%);
}

html[data-theme="light"] .bento-card:hover,
html[data-theme="light"] .concept-card:hover,
html[data-theme="light"] .showcase-card:hover,
html[data-theme="light"] .press-card:hover,
html[data-theme="light"] .legal-detail:hover {
  background: rgba(255, 255, 255, 0.82);
  border-color: rgba(8, 8, 8, 0.18);
  box-shadow: var(--glass-shadow-strong);
}

html[data-theme="light"] .footer-links a:hover {
  color: #080808;
}

@media (max-width: 720px) {
  .theme-toggle {
    padding: 7px 10px;
    min-height: 34px;
    gap: 6px;
  }

  .theme-toggle-text {
    display: none;
  }
}

/* ---------- Uber Tutors real logo ---------- */
.brand-logo,
.footer-logo {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
}

.brand-logo {
  /* Keep the logo close to the curved glass edge, but return it to the
     earlier compact visual size. */
  width: 86px;
  height: 38px;
}

.footer-logo {
  width: 150px;
  height: 48px;
}

.brand-logo-img,
.footer-logo-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: left center;
  transition: opacity 0.25s var(--ease), filter 0.25s var(--ease);
}


.footer-logo-img {
  object-position: center;
}

.logo-light {
  opacity: 0;
  pointer-events: none;
}

.logo-dark {
  opacity: 1;
  pointer-events: none;
}

html[data-theme="light"] .logo-dark {
  opacity: 0;
}

html[data-theme="light"] .logo-light {
  opacity: 1;
}

.footer-brand {
  min-width: 150px;
}


@media (max-width: 1120px) and (min-width: 721px) {
  .dock {
    gap: 4px;
    padding-left: 12px;
  }

  .brand-logo {
    width: 78px;
    height: 36px;
  }

  .dock-link {
    padding-inline: 10px;
    font-size: 0.86rem;
  }

  .theme-toggle {
    padding-inline: 10px;
  }

  .dock-cta {
    padding-inline: 14px;
  }
}

@media (max-width: 720px) {
  .dock-brand {
    display: none;
  }
}

/* ---------- Early access form theme/responsive tuning ---------- */
html[data-theme="light"] .early-access-form {
  background: rgba(255, 255, 255, 0.50);
  border-color: rgba(8, 8, 8, 0.08);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.7);
}

html[data-theme="light"] .form-field input,
html[data-theme="light"] .form-field select,
html[data-theme="light"] .form-field textarea {
  background: rgba(255, 255, 255, 0.62);
  border-color: rgba(8, 8, 8, 0.10);
  color: #080808;
}

html[data-theme="light"] .form-field input::placeholder,
html[data-theme="light"] .form-field textarea::placeholder {
  color: rgba(8, 8, 8, 0.34);
}

html[data-theme="light"] .form-field input:focus,
html[data-theme="light"] .form-field select:focus,
html[data-theme="light"] .form-field textarea:focus {
  background: rgba(255, 255, 255, 0.88);
  border-color: rgba(8, 8, 8, 0.28);
  box-shadow: 0 0 0 4px rgba(8, 8, 8, 0.06);
}

html[data-theme="light"] .form-status-success,
html[data-theme="light"] .form-status-error {
  background: rgba(255, 255, 255, 0.68);
  border-color: rgba(8, 8, 8, 0.12);
  color: var(--text-muted);
}

html[data-theme="light"] .form-field.is-invalid input,
html[data-theme="light"] .form-field.is-invalid select,
html[data-theme="light"] .form-field.is-invalid textarea {
  border-color: rgba(8, 8, 8, 0.34);
  box-shadow: 0 0 0 4px rgba(8, 8, 8, 0.06);
}

@media (max-width: 980px) {
  .cta-form-card {
    grid-template-columns: 1fr;
    max-width: 820px;
  }

  .cta-form-intro {
    padding: 8px 4px 0;
  }

  .cta-form-intro .cta-note {
    margin-top: 18px;
  }
}

@media (max-width: 720px) {
  .cta-form-card {
    padding: 24px;
    border-radius: var(--radius-lg);
  }

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

  .early-access-form {
    padding: 18px;
    border-radius: var(--radius-md);
  }
}

@media (max-width: 460px) {
  .cta-form-card {
    padding: 20px;
  }

  .form-field input,
  .form-field select,
  .form-field textarea {
    font-size: 16px;
  }
}


/* =========================================================
   FINAL MOBILE DOCK ARTIFACT FIX
   Removes the unwanted circular/curved visual artifact near
   the mobile theme toggle while keeping horizontal dock scroll.
   ========================================================= */
@media (max-width: 720px) {
  .dock .theme-toggle {
    background: transparent !important;
    border: none !important;
    box-shadow: none !important;
    outline: none !important;
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
    border-radius: 0 !important;
    overflow: visible !important;
  }

  .dock .theme-toggle::before,
  .dock .theme-toggle::after {
    content: none !important;
    display: none !important;
    background: transparent !important;
    border: none !important;
    box-shadow: none !important;
  }

  .dock .theme-toggle-icon {
    background: transparent !important;
    border: none !important;
    box-shadow: none !important;
    border-radius: 0 !important;
  }

  .dock::before,
  .dock::after {
    background: transparent !important;
    border: none !important;
    box-shadow: none !important;
  }

  .theme-toggle.btn-released,
  .theme-toggle:active {
    transform: none !important;
  }
}
