/* Yumply institutional — matches auth.html dark + lime theme */

:root {
  --lime: #d5ff27;
  --lime-mid: #9ae34b;
  --lime-bright: #b2ff00;
  --white: #ffffff;
  --gray: #bfbfbf;
  --black: #0a0a0c;
  --surface: #141416;
  --card: #1c1c20;
  --card-border: rgba(255, 255, 255, 0.08);
  --accent: #e91e63;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "DM Sans", -apple-system, BlinkMacSystemFont, sans-serif;
  -webkit-font-smoothing: antialiased;
  color: var(--white);
  background: var(--black);
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  display: block;
  max-width: 100%;
}

.page {
  position: relative;
  z-index: 1;
}

/* Same dot-grid atmosphere as login */
.page-bg {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background-image:
    radial-gradient(circle at center, rgba(213, 255, 39, 0.22) 1.5px, transparent 1.5px),
    radial-gradient(circle at center, rgba(154, 227, 75, 0.12) 1px, transparent 1px),
    linear-gradient(160deg, #0a0a0c 0%, #0f1410 40%, #0a0a0c 100%);
  background-size: 56px 56px, 88px 88px, 100% 100%;
  background-position: 0 0, 28px 28px, 0 0;
}

.container {
  width: min(1120px, calc(100% - 2.5rem));
  margin-inline: auto;
}

/* Header */
.header {
  position: sticky;
  top: 0;
  z-index: 100;
  border-bottom: 1px solid var(--card-border);
  background: rgba(10, 10, 12, 0.75);
  backdrop-filter: blur(20px);
  transition: background 0.3s ease;
}

.header.is-scrolled {
  background: rgba(10, 10, 12, 0.92);
}

.header-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: 4.25rem;
}

.logo img {
  height: 2rem;
  width: auto;
}

.nav {
  display: flex;
  gap: 2rem;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--gray);
}

.nav a {
  transition: color 0.2s ease;
}

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

.header-cta {
  display: flex;
  gap: 0.5rem;
}

/* Buttons — aligned with auth submit */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 10px;
  padding: 0.55rem 1rem;
  font-size: 0.8125rem;
  font-weight: 600;
  line-height: 1;
  border: none;
  cursor: pointer;
  transition:
    transform 0.2s var(--ease),
    box-shadow 0.2s ease,
    opacity 0.2s ease;
}

.btn-lg {
  padding: 0.85rem 1.35rem;
  font-size: 0.9rem;
  border-radius: 12px;
}

.btn-primary {
  color: #0a0a0c;
  background: linear-gradient(90deg, var(--lime-bright) 0%, var(--lime-mid) 100%);
  box-shadow: 0 8px 28px rgba(213, 255, 39, 0.25);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 36px rgba(213, 255, 39, 0.35);
}

.btn-ghost {
  color: var(--white);
  background: transparent;
  border: 1px solid var(--card-border);
}

.btn-ghost:hover {
  border-color: rgba(213, 255, 39, 0.4);
  color: var(--lime);
}

/* Hero */
.hero {
  padding: clamp(3rem, 7vw, 5.5rem) 0 clamp(1.5rem, 3vw, 2.75rem);
}

.hero-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: clamp(2rem, 5vw, 4rem);
}

.kicker {
  margin: 0;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--lime-mid);
}

.hero h1 {
  margin: 1rem 0 0;
  font-size: clamp(2.4rem, 5.5vw, 3.75rem);
  font-weight: 700;
  line-height: 1.05;
  letter-spacing: -0.035em;
}

.lead {
  margin: 1.25rem 0 0;
  max-width: 480px;
  font-size: 1.05rem;
  line-height: 1.65;
  color: var(--gray);
}

.hero-btns {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  margin-top: 1.75rem;
}

.hero-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin: 1.5rem 0 0;
  padding: 0;
  list-style: none;
}

.hero-tags li {
  border: 1px solid var(--card-border);
  border-radius: 999px;
  padding: 0.4rem 0.75rem;
  font-size: 0.75rem;
  font-weight: 500;
  color: var(--gray);
}

/* Hero visual */
.hero-visual {
  position: relative;
  min-height: 420px;
}

.glow {
  position: absolute;
  inset: 10% 5% 15%;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(213, 255, 39, 0.35) 0%, transparent 65%);
  filter: blur(40px);
  animation: pulse-glow 4s ease-in-out infinite;
}

.hero-accent {
  position: absolute;
  top: 6%;
  left: -10%;
  width: 70%;
  height: 72%;
  border: 1px solid rgba(213, 255, 39, 0.28);
  border-radius: 1.5rem;
  transform: rotate(-7deg);
  z-index: 0;
  pointer-events: none;
}

.hero-photo {
  position: relative;
  z-index: 1;
  margin: 0;
  border-radius: 1.25rem;
  overflow: hidden;
  border: 1px solid var(--card-border);
  aspect-ratio: 4 / 5;
  box-shadow: 0 32px 80px rgba(0, 0, 0, 0.5);
}

.hero-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.02);
  transition: transform 8s var(--ease);
}

.hero-visual:hover .hero-photo img {
  transform: scale(1.06);
}

.hero-ribbon {
  position: absolute;
  inset: auto 0 0;
  padding: 0.9rem 0;
  overflow: hidden;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.9) 0%, rgba(0, 0, 0, 0.35) 100%);
  border-top: 1px solid rgba(213, 255, 39, 0.15);
}

.hero-ribbon-track {
  display: flex;
  width: max-content;
  backface-visibility: hidden;
  will-change: transform;
  animation: marquee-ribbon var(--marquee-duration, 16s) linear infinite;
}

.hero-ribbon-set {
  display: flex;
  flex-shrink: 0;
  align-items: center;
  gap: 1.25rem;
  padding-inline: 1.25rem;
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--lime);
}

.hero-ribbon .sep {
  color: rgba(213, 255, 39, 0.35);
  font-size: 0.5rem;
}

.hero-stamps {
  position: absolute;
  top: 12%;
  right: -1.25rem;
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
  margin: 0;
  padding: 0.65rem;
  list-style: none;
  border: 1px solid var(--card-border);
  border-radius: 999px;
  background: rgba(10, 10, 12, 0.85);
  backdrop-filter: blur(12px);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.4);
  z-index: 2;
}

.hero-stamps li {
  width: 0.65rem;
  height: 0.65rem;
  border-radius: 50%;
  border: 1.5px solid rgba(213, 255, 39, 0.45);
}

.hero-stamps li.is-filled {
  background: var(--lime);
  border-color: var(--lime);
  box-shadow: 0 0 12px rgba(213, 255, 39, 0.55);
}

/* Sections */
.section {
  padding: clamp(4rem, 8vw, 6rem) 0;
}

.section-head h2 {
  margin: 0.75rem 0 0;
  max-width: 520px;
  font-size: clamp(1.75rem, 4vw, 2.35rem);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.03em;
}

.section-head.centered {
  text-align: center;
}

.section-head.centered h2 {
  margin-inline: auto;
}

.cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  margin-top: 2.5rem;
}

.card {
  border: 1px solid var(--card-border);
  border-radius: 1rem;
  background: var(--card);
  padding: 1.5rem;
  transition:
    transform 0.35s var(--ease),
    border-color 0.35s ease,
    box-shadow 0.35s ease;
}

.card:hover {
  transform: translateY(-6px);
  border-color: rgba(213, 255, 39, 0.35);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.35);
}

.card-icon {
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--lime-mid);
}

.card h3 {
  margin: 1.25rem 0 0;
  font-size: 1.0625rem;
  font-weight: 600;
}

.card p {
  margin: 0.5rem 0 0;
  font-size: 0.9375rem;
  line-height: 1.55;
  color: var(--gray);
}

#tools {
  padding-top: clamp(0.75rem, 2vw, 1.5rem);
  padding-bottom: clamp(3rem, 6vw, 4.5rem);
}

.tools-intro {
  max-width: 34rem;
}

.tools-intro h2 {
  margin: 0.85rem 0 0;
  max-width: 15em;
  font-size: clamp(1.85rem, 3.8vw, 2.5rem);
  font-weight: 700;
  line-height: 1.12;
  letter-spacing: -0.035em;
}

.tools-cards {
  margin-top: clamp(1.75rem, 3.5vw, 2.35rem);
  gap: 1.15rem;
}

.tools-cards .card {
  position: relative;
  padding: 1.65rem 1.5rem 1.75rem;
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-radius: 1.1rem;
  background: linear-gradient(165deg, rgba(30, 30, 34, 0.92) 0%, rgba(18, 18, 20, 0.88) 100%);
  overflow: hidden;
  transition:
    transform 0.4s var(--ease),
    border-color 0.35s ease,
    box-shadow 0.4s ease;
}

.tools-cards .card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 1.35rem;
  right: 1.35rem;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(154, 227, 75, 0.55), transparent);
  opacity: 0.7;
}

.tools-cards .card:hover {
  transform: translateY(-5px);
  border-color: rgba(154, 227, 75, 0.26);
  box-shadow:
    0 18px 44px rgba(0, 0, 0, 0.32),
    0 0 0 1px rgba(154, 227, 75, 0.06) inset;
}

.tools-cards .card-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 2.1rem;
  height: 1.65rem;
  padding: 0 0.45rem;
  border: 1px solid rgba(154, 227, 75, 0.22);
  border-radius: 0.4rem;
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: var(--lime);
}

.tools-cards .card h3 {
  margin-top: 1.05rem;
  font-size: 1.125rem;
  font-weight: 600;
  letter-spacing: -0.02em;
}

.tools-cards .card p {
  margin-top: 0.55rem;
  font-size: 0.9rem;
  line-height: 1.6;
}

/* Case studies — shares page dot-grid background */
.case-studies-band {
  position: relative;
  color: var(--white);
  padding: clamp(3.5rem, 7vw, 5rem) 0 clamp(3.25rem, 6vw, 4.25rem);
  background: transparent;
  --case-accent: var(--lime-mid);
  --case-ink: var(--white);
  --case-muted: var(--gray);
}

.case-studies-divider {
  display: none;
}

.case-studies-layout {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0;
  position: relative;
  z-index: 1;
  --case-metrics-col: 10.75rem;
  --case-hero-max: 660px;
  --case-gap: clamp(1.5rem, 3vw, 2.75rem);
  --case-block-width: calc(var(--case-metrics-col) + var(--case-gap) + var(--case-hero-max));
}

.case-study-panel {
  position: relative;
  z-index: 1;
  width: min(100%, var(--case-block-width));
  --case-dur: 460ms;
  --case-flash-dur: 220ms;
  --case-ease: cubic-bezier(0.4, 0, 0.2, 1);
  --case-flash-ease: cubic-bezier(0.4, 0, 0.55, 1);
}

.case-slide-grid {
  display: grid;
  grid-template-columns: var(--case-metrics-col) var(--case-hero-max);
  gap: 0;
  align-items: start;
  width: 100%;
  margin-inline: auto;
}

.case-metrics {
  grid-column: 1;
  width: 100%;
  max-width: 10.75rem;
  padding-top: 0;
  position: relative;
  z-index: 1;
}

.case-metrics .case-text-viewport {
  width: calc(100% + var(--case-gap));
  margin-right: calc(-1 * var(--case-gap));
}

.case-text-viewport,
.case-hero-text-viewport {
  position: relative;
  overflow: hidden;
}

.case-text-track {
  display: grid;
  grid-template-columns: 1fr 1fr;
  width: 200%;
  transform: translate3d(0, 0, 0);
  transition: transform var(--case-dur) var(--case-ease);
  will-change: transform;
}

.case-text-track.is-no-transition {
  transition: none;
}

.case-text-track.is-shift-left {
  transform: translate3d(-50%, 0, 0);
}

.case-text-panel {
  min-width: 0;
  overflow: hidden;
  opacity: 1;
}

.case-text-panel.is-incoming {
  opacity: 0;
}

.case-study-panel.is-sliding .case-text-panel {
  transition: opacity var(--case-dur) var(--case-ease);
}

.case-study-panel.is-sliding .case-text-panel.is-incoming {
  opacity: 1;
}

.case-study-panel.is-sliding.is-next .case-text-track > .case-text-panel:first-child,
.case-study-panel.is-sliding.is-prev .case-text-track > .case-text-panel:last-child {
  opacity: 0;
}

.case-text-track.is-no-transition .case-text-panel {
  transition: none;
}

.case-text-viewport .case-text-panel {
  display: flex;
  flex-direction: column;
  gap: 2.5rem;
  box-sizing: border-box;
  position: relative;
  width: 100%;
  max-width: 10.75rem;
  padding: 0.15rem 0 0 1.35rem;
}

.case-text-viewport .case-text-panel::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 0;
  border-left: 1px dotted rgba(255, 255, 255, 0.14);
}

.case-hero-text-viewport .case-text-panel {
  position: relative;
  height: 100%;
  min-height: 100%;
  isolation: isolate;
}

.case-hero-text-viewport .case-hero-brand-top,
.case-hero-text-viewport .case-hero-headline {
  position: absolute;
}

.case-hero-viewport {
  grid-column: 2;
  position: relative;
  overflow: hidden;
  border-radius: 0.75rem;
  width: 100%;
  max-width: var(--case-hero-max);
  aspect-ratio: 1.85 / 1;
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow:
    0 28px 64px rgba(0, 0, 0, 0.45),
    0 0 0 1px rgba(154, 227, 75, 0.08);
  margin-left: var(--case-gap);
  z-index: 2;
  justify-self: start;
  transition:
    border-color 0.35s var(--ease),
    box-shadow 0.35s var(--ease);
}

.case-study-panel:hover .case-hero-viewport {
  border-color: rgba(154, 227, 75, 0.28);
  box-shadow:
    0 32px 72px rgba(0, 0, 0, 0.5),
    0 0 0 1px rgba(154, 227, 75, 0.18);
}

.case-hero-text-viewport {
  position: absolute;
  inset: 0;
  z-index: 3;
  pointer-events: none;
}

.case-hero-text-viewport > .case-text-track {
  height: 100%;
}

.case-hero-media {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
}

.case-hero-media-current {
  opacity: 1;
  z-index: 1;
}

.case-hero-media-incoming {
  opacity: 0;
  z-index: 2;
  pointer-events: none;
}

.case-slide-flash {
  position: absolute;
  inset: 0;
  z-index: 4;
  background: #fff;
  opacity: 0;
  pointer-events: none;
}

.case-study-panel.is-sliding .case-slide-flash {
  animation: case-flash-pulse var(--case-flash-dur) var(--case-flash-ease) forwards;
}

@keyframes case-flash-pulse {
  0% { opacity: 0.16; }
  8% { opacity: 0.18; }
  28% { opacity: 0.05; }
  100% { opacity: 0; }
}

.case-stat {
  position: relative;
  padding-left: 0;
  border-left: none;
}

.case-stat::before {
  content: "";
  position: absolute;
  left: -1.35rem;
  top: 0.3rem;
  width: 2px;
  height: 1.75rem;
  background: var(--case-accent);
}

.case-stat-value {
  margin: 0;
  font-size: clamp(1.5rem, 2.2vw, 1.75rem);
  font-weight: 700;
  line-height: 1;
  letter-spacing: -0.025em;
  color: var(--case-ink);
}

.case-stat-label {
  margin: 0.45rem 0 0;
  max-width: 8.75rem;
  font-size: 0.75rem;
  font-weight: 400;
  line-height: 1.45;
  color: var(--case-muted);
}

.case-products {
  padding-top: 0.35rem;
  margin-top: 0.25rem;
}

.case-products h3 {
  margin: 0;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0;
  color: var(--case-ink);
}

.case-product-list {
  margin: 0.6rem 0 0;
  padding: 0;
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.case-product-list li {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  font-size: 0.75rem;
  font-weight: 400;
  line-height: 1.35;
  color: var(--case-muted);
}

.case-product-icon {
  flex-shrink: 0;
  display: block;
  width: 0.6875rem;
  height: 0.6875rem;
  background: var(--case-accent);
  mask-size: contain;
  mask-repeat: no-repeat;
  mask-position: center;
  -webkit-mask-size: contain;
  -webkit-mask-repeat: no-repeat;
  -webkit-mask-position: center;
}

.case-product-icon[data-icon="ordering"] {
  mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2'%3E%3Cpath d='M17 8h1a4 4 0 0 1 0 8h-1'/%3E%3Cpath d='M3 8h14v9a4 4 0 0 1-4 4H7a4 4 0 0 1-4-4V8z'/%3E%3Cline x1='6' y1='2' x2='6' y2='4'/%3E%3Cline x1='10' y1='2' x2='10' y2='4'/%3E%3Cline x1='14' y1='2' x2='14' y2='4'/%3E%3C/svg%3E");
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2'%3E%3Cpath d='M17 8h1a4 4 0 0 1 0 8h-1'/%3E%3Cpath d='M3 8h14v9a4 4 0 0 1-4 4H7a4 4 0 0 1-4-4V8z'/%3E%3Cline x1='6' y1='2' x2='6' y2='4'/%3E%3Cline x1='10' y1='2' x2='10' y2='4'/%3E%3Cline x1='14' y1='2' x2='14' y2='4'/%3E%3C/svg%3E");
}

.case-product-icon[data-icon="loyalty"] {
  mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='black'%3E%3Cpath d='M12 2l2.4 7.4H22l-6.2 4.5 2.4 7.4L12 17l-6.2 4.3 2.4-7.4L2 9.4h7.6z'/%3E%3C/svg%3E");
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='black'%3E%3Cpath d='M12 2l2.4 7.4H22l-6.2 4.5 2.4 7.4L12 17l-6.2 4.3 2.4-7.4L2 9.4h7.6z'/%3E%3C/svg%3E");
}

.case-product-icon[data-icon="offers"] {
  mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2'%3E%3Cpath d='M20.59 13.41l-7.17 7.17a2 2 0 0 1-2.83 0L2 12V2h10l8.59 8.59a2 2 0 0 1 0 2.82z'/%3E%3Cline x1='7' y1='7' x2='7.01' y2='7'/%3E%3C/svg%3E");
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2'%3E%3Cpath d='M20.59 13.41l-7.17 7.17a2 2 0 0 1-2.83 0L2 12V2h10l8.59 8.59a2 2 0 0 1 0 2.82z'/%3E%3Cline x1='7' y1='7' x2='7.01' y2='7'/%3E%3C/svg%3E");
}

.case-hero-media[data-overlay="0"] {
  background-image:
    linear-gradient(to bottom, rgba(0, 0, 0, 0.05), rgba(0, 0, 0, 0.35)),
    url("https://images.unsplash.com/photo-1495474472287-4d71bcdd2085?auto=format&fit=crop&w=1200&q=80");
}

.case-hero-media[data-overlay="1"] {
  background-image:
    linear-gradient(to bottom, rgba(0, 0, 0, 0.05), rgba(0, 0, 0, 0.35)),
    url("https://images.unsplash.com/photo-1509042239860-f550ce710b93?auto=format&fit=crop&w=1200&q=80");
}

.case-hero-media[data-overlay="2"] {
  background-image:
    linear-gradient(to bottom, rgba(0, 0, 0, 0.05), rgba(0, 0, 0, 0.35)),
    url("https://images.unsplash.com/photo-1442512595331-e89e73853f31?auto=format&fit=crop&w=1200&q=80");
}

.case-hero-media[data-overlay="3"] {
  background-image:
    linear-gradient(to bottom, rgba(0, 0, 0, 0.05), rgba(0, 0, 0, 0.35)),
    url("https://images.unsplash.com/photo-1511920170033-f8396924c348?auto=format&fit=crop&w=1200&q=80");
}

.case-hero-brand-top {
  position: absolute;
  top: 1rem;
  left: 1rem;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 1.85rem;
  min-height: 1.85rem;
  padding: 0.3rem 0.4rem;
  border-radius: 0.2rem;
  background: var(--lime);
  font-size: 0.5625rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  line-height: 1;
  color: var(--black);
}

.case-hero-headline {
  position: absolute;
  inset: auto 0 0;
  z-index: 2;
  margin: 0;
  padding: clamp(1.35rem, 2.8vw, 2.1rem);
  max-width: none;
  font-size: clamp(1rem, 1.75vw, 1.375rem);
  font-weight: 600;
  line-height: 1.32;
  letter-spacing: -0.02em;
  color: #fff;
}

.case-hero-viewport::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 55%;
  z-index: 1;
  pointer-events: none;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.75) 0%, rgba(0, 0, 0, 0.15) 70%, transparent 100%);
}

.case-tabs-wrap {
  position: relative;
  z-index: 1;
  margin-top: clamp(2.5rem, 4.5vw, 3.25rem);
  width: min(100%, var(--case-block-width));
  margin-inline: auto;
}

.case-tabs-divider {
  display: none;
}

.case-tabs {
  display: grid;
  grid-template-columns: var(--case-metrics-col) repeat(3, minmax(0, 1fr));
  gap: 1.5rem;
  align-items: end;
  width: 100%;
}

.case-tab {
  position: relative;
  margin: 0;
  padding: 1.15rem 0 0.3rem;
  border: 0;
  background: none;
  font: inherit;
  font-size: clamp(0.625rem, 1.1vw, 0.75rem);
  font-weight: 600;
  letter-spacing: 0.02em;
  color: var(--gray);
  text-align: left;
  cursor: pointer;
  opacity: 0.45;
  transition:
    opacity 0.35s var(--ease),
    color 0.35s var(--ease);
}

.case-tab::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--case-accent);
  transition: width 0.35s var(--ease);
}

.case-tab:hover {
  opacity: 0.75;
  color: var(--white);
}

.case-tab.is-active {
  opacity: 1;
  color: var(--white);
}

.case-tab.is-active::before {
  width: min(100%, 4.75rem);
}

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

/* Quote marquee */
.quote-band {
  overflow: hidden;
  padding: 3rem 0;
  border-block: 1px solid var(--card-border);
}

.quote-track {
  display: flex;
  width: max-content;
  backface-visibility: hidden;
  will-change: transform;
  animation: marquee-ribbon var(--quote-marquee-duration, 40s) linear infinite;
}

.quote-set {
  display: flex;
  flex-shrink: 0;
  gap: 1.25rem;
  padding-inline: 1.25rem;
}

.quote-band:hover .quote-track {
  animation-play-state: paused;
}

.quote {
  flex: 0 0 auto;
  width: min(340px, 80vw);
  border: 1px solid var(--card-border);
  border-radius: 1rem;
  background: var(--card);
  padding: 1.25rem 1.35rem;
  transition: border-color 0.25s ease;
}

.quote:hover {
  border-color: rgba(213, 255, 39, 0.3);
}

.quote p {
  margin: 0;
  font-size: 0.9375rem;
  font-weight: 600;
  line-height: 1.4;
}

.quote mark {
  background: linear-gradient(180deg, transparent 55%, rgba(213, 255, 39, 0.35) 55%);
  color: var(--lime);
}

.quote footer {
  margin-top: 1rem;
  font-size: 0.75rem;
  color: var(--gray);
}

.quote footer strong {
  color: var(--white);
}

/* Launch — glass panel + steps */
.launch-section {
  padding: clamp(5rem, 9vw, 7rem) 0;
  overflow: visible;
}

.launch-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  gap: clamp(4rem, 9vw, 7rem);
  align-items: center;
  overflow: visible;
}

.launch-visual {
  overflow: visible;
}

.launch-visual-stage {
  position: relative;
  perspective: 1500px;
  perspective-origin: 48% 42%;
  transform-style: preserve-3d;
  margin: 2.75rem 3.5rem 2.25rem 1.25rem;
}

.launch-visual-panel {
  position: relative;
  min-height: clamp(420px, 48vw, 540px);
  padding: 0;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 1.35rem;
  background: #0a0a0c;
  box-shadow:
    0 2px 0 rgba(255, 255, 255, 0.06) inset,
    0 28px 64px rgba(0, 0, 0, 0.5),
    0 10px 24px rgba(0, 0, 0, 0.32);
  overflow: hidden;
  transform: rotateY(-3deg) rotateX(2deg);
  transform-style: preserve-3d;
}

.launch-visual-panel::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 6;
  border-radius: inherit;
  pointer-events: none;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.12),
    inset 0 -12px 28px rgba(0, 0, 0, 0.22);
}

.launch-visual-photo {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 52% 22%;
  transform: none;
  filter: contrast(1.06) saturate(1.05);
}

.launch-visual-scrim {
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(165deg, rgba(10, 10, 12, 0.5) 0%, rgba(10, 10, 12, 0.12) 44%, rgba(10, 10, 12, 0.72) 100%),
    linear-gradient(90deg, rgba(10, 10, 12, 0.45) 0%, transparent 50%);
}

.launch-visual-grid {
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.04) 1px, transparent 1px);
  background-size: 28px 28px;
  mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.7) 0%, rgba(0, 0, 0, 0.25) 100%);
  -webkit-mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.7) 0%, rgba(0, 0, 0, 0.25) 100%);
}

.launch-visual-panel::before {
  content: none;
}

.launch-chart-layer {
  position: absolute;
  left: -2%;
  top: 26%;
  width: 104%;
  height: 36%;
  z-index: 3;
  pointer-events: none;
}

.launch-chart {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  overflow: visible;
}

.launch-chart-grid line {
  stroke: rgba(255, 255, 255, 0.08);
  stroke-width: 1;
  stroke-dasharray: 3 5;
  vector-effect: non-scaling-stroke;
}

.launch-chart-area {
  fill: url(#launch-area-grad);
}

.launch-chart-line {
  fill: none;
  stroke: url(#launch-chart-grad);
  stroke-width: 2.25;
  stroke-linejoin: miter;
  stroke-linecap: square;
  filter: drop-shadow(0 0 6px rgba(154, 227, 75, 0.35));
  vector-effect: non-scaling-stroke;
}

.launch-chart-node {
  --chart-x: 0;
  --chart-y: 0;
  --node-size: 1.75rem;
  --icon-size: 0.875rem;
  position: absolute;
  left: calc(100% * var(--chart-x) / 420);
  top: calc(100% * var(--chart-y) / 140);
  z-index: 2;
  display: grid;
  place-items: center;
  width: var(--node-size);
  height: var(--node-size);
  border-radius: 50%;
  background-color: #121214;
  border: 2px solid var(--lime-mid);
  color: var(--lime-mid);
  box-shadow:
    0 0 0 3px rgba(10, 10, 12, 0.95),
    0 4px 12px rgba(0, 0, 0, 0.45),
    0 0 14px rgba(154, 227, 75, 0.24);
  transform: translate(-50%, -50%);
}

.launch-chart-node svg {
  width: var(--icon-size);
  height: var(--icon-size);
  display: block;
  flex-shrink: 0;
}

.launch-chart-node--bean {
  --icon-size: 0.975rem;
}

.launch-feature-card {
  position: absolute;
  z-index: 8;
  width: min(12.5rem, 42vw);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 0.9rem;
  background: linear-gradient(152deg, #222226 0%, #141416 100%);
  padding: 0.95rem 1.05rem;
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.12) inset,
    0 4px 8px rgba(0, 0, 0, 0.28),
    0 16px 32px rgba(0, 0, 0, 0.38),
    0 32px 64px rgba(0, 0, 0, 0.42);
  transform-style: preserve-3d;
  -webkit-font-smoothing: antialiased;
}

.launch-feature-card::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  pointer-events: none;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.1) 0%, transparent 38%);
}

.launch-feature-card::after {
  content: "";
  position: absolute;
  left: 12%;
  right: 12%;
  bottom: -10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.55);
  filter: blur(10px);
  opacity: 0.7;
}

.launch-feature-card > * {
  position: relative;
  z-index: 1;
}

.launch-feature-card--primary {
  top: -2.5rem;
  left: -3.85rem;
  animation: launch-float-primary 5.5s ease-in-out infinite;
}

.launch-feature-card--secondary {
  bottom: 4.25rem;
  left: -4.15rem;
  width: min(11.5rem, 40vw);
  animation: launch-float-secondary 6.2s ease-in-out 0.7s infinite;
}

.launch-feature-card--tertiary {
  bottom: -2rem;
  right: -3.85rem;
  width: min(10.75rem, 38vw);
  animation: launch-float-tertiary 5.8s ease-in-out 1.3s infinite;
}

@keyframes launch-float-primary {
  0%, 100% { transform: translateZ(56px) rotateX(8deg) rotateY(14deg) translateY(0); }
  50% { transform: translateZ(56px) rotateX(8deg) rotateY(14deg) translateY(-7px); }
}

@keyframes launch-float-secondary {
  0%, 100% { transform: translateZ(40px) rotateX(6deg) rotateY(-10deg) translateY(0); }
  50% { transform: translateZ(40px) rotateX(6deg) rotateY(-10deg) translateY(-6px); }
}

@keyframes launch-float-tertiary {
  0%, 100% { transform: translateZ(48px) rotateX(7deg) rotateY(-14deg) translateY(0); }
  50% { transform: translateZ(48px) rotateX(7deg) rotateY(-14deg) translateY(-8px); }
}

.launch-main {
  max-width: 28rem;
  padding-left: clamp(0.75rem, 3vw, 2rem);
}

.launch-head {
  text-align: left;
  margin-bottom: 2rem;
}

.launch-feature-kicker {
  margin: 0 0 0.35rem;
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--gray);
}

.launch-feature-title {
  margin: 0;
  font-size: 0.9375rem;
  font-weight: 700;
  line-height: 1.25;
  letter-spacing: -0.02em;
  color: var(--lime);
}

.launch-feature-copy {
  margin: 0.45rem 0 0;
  font-size: 0.75rem;
  line-height: 1.55;
  color: #c8c8c8;
}

.launch-head .kicker {
  margin-bottom: 0.15rem;
}

.launch-head h2 {
  max-width: 11em;
  margin: 0.85rem 0 0;
  font-size: clamp(2rem, 4.2vw, 2.85rem);
  font-weight: 700;
  line-height: 1.08;
  letter-spacing: -0.04em;
}

.launch-head h2 em {
  font-style: normal;
  color: var(--lime);
}

.launch-lead {
  margin: 1.15rem 0 0;
  max-width: 26rem;
  font-size: clamp(0.9375rem, 1.4vw, 1.02rem);
  line-height: 1.7;
  color: var(--gray);
}

.launch-lead--secondary {
  margin-top: 0.85rem;
}

.launch-lead strong {
  color: rgba(255, 255, 255, 0.9);
  font-weight: 600;
}

.launch-steps {
  margin: 0;
  padding: 0;
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.launch-steps li {
  padding: 1rem 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.07);
}

.launch-steps li:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.launch-steps h3 {
  margin: 0;
  font-size: 0.9375rem;
  font-weight: 600;
  letter-spacing: -0.01em;
  color: var(--white);
}

.launch-steps p {
  margin: 0.35rem 0 0;
  font-size: 0.8125rem;
  line-height: 1.6;
  color: var(--gray);
}

.launch-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.85rem 1.15rem;
  margin-top: 1.85rem;
}

/* Steps */
.steps {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.75rem;
}

.steps li {
  padding: 1rem 1.15rem;
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: 0.9rem;
  background: rgba(20, 20, 22, 0.42);
  backdrop-filter: blur(10px);
  transition:
    transform 0.35s var(--ease),
    border-color 0.35s ease,
    background 0.35s ease;
}

.steps li:hover {
  transform: translateY(-2px);
  border-color: rgba(154, 227, 75, 0.22);
  background: rgba(24, 24, 28, 0.55);
}

.steps h3 {
  margin: 0;
  font-size: 0.9375rem;
  font-weight: 600;
  letter-spacing: -0.01em;
  color: var(--white);
}

.steps p {
  margin: 0.4rem 0 0;
  font-size: 0.8125rem;
  line-height: 1.6;
  color: var(--gray);
}

/* Final CTA */
.final-cta {
  padding: clamp(4rem, 8vw, 6rem) 0 clamp(3rem, 6vw, 4.5rem);
}

.final-cta-inner {
  position: relative;
  overflow: hidden;
  text-align: center;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 1.35rem;
  background:
    linear-gradient(155deg, rgba(32, 34, 28, 0.55) 0%, rgba(18, 18, 20, 0.92) 52%, rgba(12, 12, 14, 0.98) 100%);
  padding: clamp(2.75rem, 6vw, 4.25rem) clamp(1.5rem, 4vw, 3rem);
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.07) inset,
    0 28px 72px rgba(0, 0, 0, 0.42);
}

.final-cta-inner::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.035) 1px, transparent 1px);
  background-size: 32px 32px;
  mask-image: radial-gradient(ellipse 85% 75% at 50% 22%, #000 0%, transparent 100%);
  -webkit-mask-image: radial-gradient(ellipse 85% 75% at 50% 22%, #000 0%, transparent 100%);
}

.final-cta-inner::after {
  content: "";
  position: absolute;
  top: 0;
  left: 12%;
  right: 12%;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(154, 227, 75, 0.65), transparent);
  opacity: 0.7;
}

.final-cta-glow {
  position: absolute;
  top: -35%;
  left: 50%;
  transform: translateX(-50%);
  width: min(480px, 90%);
  height: 320px;
  pointer-events: none;
  background: radial-gradient(ellipse, rgba(154, 227, 75, 0.16) 0%, transparent 68%);
}

.final-cta-content {
  position: relative;
  z-index: 1;
}

.final-logo {
  display: block;
  margin-inline: auto;
  width: 3.35rem;
  height: auto;
  aspect-ratio: 914 / 1024;
  object-fit: contain;
  filter: drop-shadow(0 0 20px rgba(154, 227, 75, 0.38));
}

.final-cta-inner .kicker {
  margin-top: 1.15rem;
}

.final-cta-inner h2 {
  margin: 0.75rem auto 0;
  max-width: 13em;
  font-size: clamp(1.85rem, 4.2vw, 2.65rem);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.035em;
}

.final-cta-inner h2 em {
  font-style: normal;
  color: var(--lime);
}

.final-cta-lead {
  margin: 1rem auto 0;
  max-width: 26rem;
  font-size: clamp(0.9375rem, 1.5vw, 1.0625rem);
  line-height: 1.65;
  color: var(--gray);
}

.final-cta-actions {
  margin-top: 1.75rem;
}

.final-cta-note {
  margin: 1rem 0 0;
  font-size: 0.75rem;
  letter-spacing: 0.05em;
  color: rgba(191, 191, 191, 0.72);
}

/* Footer */
.footer {
  border-top: 1px solid var(--card-border);
  padding: 2.5rem 0 3rem;
  font-size: 0.8125rem;
  color: var(--gray);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1fr auto auto;
  align-items: start;
  gap: 2.5rem 3.5rem;
}

.footer-brand p {
  margin: 0;
}

.footer-logo {
  display: inline-block;
  opacity: 0.95;
  transition: opacity 0.2s ease;
}

.footer-logo:hover {
  opacity: 1;
}

.footer-logo img {
  height: 2rem;
  width: auto;
  display: block;
}

.footer-nav-title {
  margin: 0 0 0.75rem;
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--white);
}

.footer-nav-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.5rem;
}

.footer-nav-list a {
  color: var(--gray);
  transition: color 0.2s ease;
}

.footer-nav-list a:hover {
  color: var(--lime);
}

/* Booking page */
.book-page {
  padding: 3rem 0 4rem;
}

.book-wrap {
  width: min(920px, calc(100% - 2.5rem));
}

.book-intro {
  text-align: center;
  max-width: 640px;
  margin: 0 auto 2.5rem;
}

.book-intro .kicker {
  margin-bottom: 0.75rem;
}

.book-intro h1 {
  margin: 0 0 1rem;
  font-size: clamp(1.875rem, 4.5vw, 2.625rem);
  font-weight: 600;
  letter-spacing: -0.03em;
  line-height: 1.15;
}

.book-lead {
  margin: 0;
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--gray);
}

.book-benefits {
  list-style: none;
  margin: 1.75rem 0 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1rem 1.75rem;
}

.book-benefits li {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.9375rem;
  color: rgba(255, 255, 255, 0.82);
}

.book-benefit-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2rem;
  height: 2rem;
  border-radius: 999px;
  background: rgba(213, 255, 39, 0.12);
  color: var(--lime);
  flex-shrink: 0;
}

.book-widget-card {
  background: var(--card);
  border: 1px solid var(--card-border);
  border-radius: 1rem;
  overflow: hidden;
  box-shadow: 0 24px 48px rgba(0, 0, 0, 0.35);
}

.book-scheduler {
  padding: 1.25rem 1.25rem 1.5rem;
}

.book-scheduler-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem 1.5rem;
  padding: 0.75rem 1rem;
  margin-bottom: 1.25rem;
  border: 1px solid var(--card-border);
  border-radius: 0.75rem;
  background: rgba(255, 255, 255, 0.02);
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.78);
}

.book-meta-item {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
}

.book-meta-item svg {
  color: var(--lime);
  flex-shrink: 0;
}

.book-scheduler-body {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
  gap: 1.5rem;
  align-items: start;
  position: relative;
}

.book-calendar-panel.is-loading .book-calendar-grid,
.book-slots-panel.is-loading .book-slots,
.book-slots-panel.is-loading .book-slots-empty {
  opacity: 0.4;
  pointer-events: none;
}

.book-calendar-panel.is-loading .book-nav-btn {
  opacity: 0.5;
  pointer-events: none;
}

.book-calendar-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  margin-bottom: 1rem;
}

.book-month-label {
  margin: 0;
  font-size: 1.0625rem;
  font-weight: 600;
  letter-spacing: -0.02em;
}

.book-nav-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.25rem;
  height: 2.25rem;
  border: 1px solid var(--card-border);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.03);
  color: var(--white);
  cursor: pointer;
  transition: border-color 0.2s ease, background 0.2s ease, color 0.2s ease;
}

.book-nav-btn:hover {
  border-color: rgba(213, 255, 39, 0.35);
  color: var(--lime);
}

.book-weekdays {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 0.25rem;
  margin-bottom: 0.5rem;
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.38);
  text-align: center;
}

.book-calendar-grid {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 0.25rem 0.15rem;
  justify-items: center;
}

.book-day {
  position: relative;
  z-index: 0;
  width: 2.5rem;
  height: 2.5rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: none;
  border-radius: 999px;
  background: transparent;
  color: rgba(255, 255, 255, 0.88);
  font: inherit;
  font-size: 0.875rem;
  font-weight: 500;
  cursor: pointer;
  transition: color 0.2s ease;
}

.book-day--empty {
  pointer-events: none;
  width: 2.5rem;
  height: 2.5rem;
}

.book-calendar-panel {
  position: relative;
}

.book-month-hint {
  margin: 0.85rem 0 0;
  font-size: 0.8125rem;
  line-height: 1.5;
  color: var(--gray);
  text-align: center;
}

.book-day--disabled {
  color: rgba(255, 255, 255, 0.2);
  cursor: not-allowed;
  opacity: 0.55;
}

.book-day--available {
  color: rgba(213, 255, 39, 0.92);
  font-weight: 600;
}

.book-day--available:not(.book-day--selected)::before {
  content: "";
  position: absolute;
  z-index: -1;
  width: 2rem;
  height: 2rem;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  border-radius: 999px;
  border: 1.5px solid rgba(213, 255, 39, 0.55);
  background: transparent;
  transition: border-color 0.2s ease, background 0.2s ease, transform 0.15s ease;
}

.book-day--available:not(.book-day--selected):hover::before {
  border-color: var(--lime);
  background: rgba(213, 255, 39, 0.08);
}

.book-day--available:not(.book-day--selected):hover {
  color: var(--lime);
}

.book-day--selected {
  color: var(--white);
  font-weight: 700;
}

.book-day--selected::before {
  content: "";
  position: absolute;
  z-index: -1;
  width: 2.05rem;
  height: 2.05rem;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  border-radius: 999px;
  border: 1.5px solid var(--lime);
  background: rgba(213, 255, 39, 0.22);
  box-shadow: none;
}

.book-find-next {
  margin-top: 1rem;
  width: 100%;
  padding: 0.75rem 1rem;
  border: 0;
  border-radius: 999px;
  background: var(--white);
  color: var(--black);
  font: inherit;
  font-size: 0.875rem;
  font-weight: 600;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.book-find-next:hover {
  transform: translateY(-1px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.25);
}

.book-slots-panel {
  border-left: 1px solid var(--card-border);
  padding-left: 1.5rem;
  min-height: 280px;
}

.book-slots-heading {
  margin: 0 0 0.35rem;
  font-size: 1rem;
  font-weight: 600;
}

.book-slots-empty {
  margin: 0.5rem 0 0;
  font-size: 0.875rem;
  color: var(--gray);
}

.book-slots {
  display: grid;
  gap: 0.5rem;
  margin-top: 0.75rem;
  max-height: 320px;
  overflow: auto;
  padding-right: 0.25rem;
}

.book-slot {
  width: 100%;
  padding: 0.7rem 0.9rem;
  border: 1px solid var(--card-border);
  border-radius: 0.65rem;
  background: rgba(255, 255, 255, 0.03);
  color: var(--white);
  font: inherit;
  font-size: 0.9375rem;
  text-align: left;
  cursor: pointer;
  transition: border-color 0.2s ease, background 0.2s ease, color 0.2s ease;
}

.book-slot:hover,
.book-slot--selected {
  border-color: rgba(213, 255, 39, 0.45);
  background: rgba(213, 255, 39, 0.1);
  color: var(--lime);
}

.book-form {
  padding: 0.25rem 0.25rem 0.5rem;
}

.book-form-back {
  border: 0;
  background: none;
  color: var(--gray);
  font: inherit;
  font-size: 0.875rem;
  cursor: pointer;
  padding: 0;
  margin-bottom: 1rem;
}

.book-form-back:hover {
  color: var(--lime);
}

.book-form-kicker {
  margin: 0 0 0.35rem;
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--lime);
}

.book-form-slot {
  margin: 0 0 1.25rem;
  font-size: 1.0625rem;
  font-weight: 600;
}

.book-field {
  margin-bottom: 1rem;
}

.book-field label {
  display: block;
  margin-bottom: 0.4rem;
  font-size: 0.8125rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.82);
}

.book-optional {
  color: var(--gray);
  font-weight: 400;
}

.book-field input,
.book-field textarea {
  width: 100%;
  padding: 0.75rem 0.85rem;
  border: 1px solid var(--card-border);
  border-radius: 0.65rem;
  background: rgba(255, 255, 255, 0.04);
  color: var(--white);
  font: inherit;
  font-size: 0.9375rem;
}

.book-field input:focus,
.book-field textarea:focus {
  outline: none;
  border-color: rgba(213, 255, 39, 0.45);
  box-shadow: 0 0 0 3px rgba(213, 255, 39, 0.12);
}

.book-field textarea {
  resize: vertical;
  min-height: 5rem;
}

.book-form-error {
  margin: 0 0 1rem;
  font-size: 0.875rem;
  color: #ff7a7a;
}

.book-submit {
  width: 100%;
}

.book-success {
  text-align: center;
  padding: 2rem 1rem 1rem;
}

.book-success-icon {
  width: 3rem;
  height: 3rem;
  margin: 0 auto 1rem;
  display: grid;
  place-items: center;
  border-radius: 999px;
  background: rgba(213, 255, 39, 0.15);
  color: var(--lime);
  font-size: 1.35rem;
  font-weight: 700;
}

.book-success h3 {
  margin: 0 0 0.5rem;
  font-size: 1.5rem;
}

.book-success p {
  margin: 0 0 1.5rem;
  color: var(--gray);
  line-height: 1.6;
}

.book-status {
  padding: 2rem 1rem;
  text-align: center;
  color: var(--gray);
  line-height: 1.6;
}

.book-status--error {
  color: #ff9d9d;
}

@media (max-width: 820px) {
  .book-scheduler-body {
    grid-template-columns: 1fr;
  }

  .book-slots-panel {
    border-left: 0;
    border-top: 1px solid var(--card-border);
    padding-left: 0;
    padding-top: 1.25rem;
  }
}

/* Legal pages — clean light theme */
body.legal-doc {
  background: #ffffff;
  color: #1a1a1a;
}

body.legal-doc .page-bg {
  display: none;
}

body.legal-doc .footer {
  border-top-color: rgba(0, 0, 0, 0.08);
  color: #666666;
}

body.legal-doc .footer-nav-title {
  color: #111111;
}

body.legal-doc .footer-nav-list a:hover {
  color: #4a6200;
}

.legal-page {
  padding: 4rem 0 5rem;
}

.legal-page .container {
  max-width: 720px;
}

.legal-back {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  margin-bottom: 2rem;
  font-size: 0.875rem;
  color: #666666;
  transition: color 0.2s ease;
}

.legal-back:hover {
  color: #4a6200;
}

.legal-page h1 {
  margin: 0 0 1rem;
  font-size: clamp(1.75rem, 4vw, 2.25rem);
  font-weight: 600;
  letter-spacing: -0.02em;
  color: #111111;
}

body.legal-doc .legal-page h1 {
  color: #111111;
}

.legal-lead {
  margin: 0 0 2rem;
  font-size: 1rem;
  line-height: 1.65;
  color: var(--gray);
}

.legal-body {
  font-size: 0.9375rem;
  line-height: 1.75;
  color: rgba(255, 255, 255, 0.82);
}

body.legal-doc .legal-body {
  color: #333333;
}

.legal-body p {
  margin: 0 0 1rem;
}

.legal-updated {
  margin: 0 0 1rem;
  font-size: 0.875rem;
  color: var(--gray);
}

body.legal-doc .legal-updated {
  color: #777777;
}

.legal-intro {
  margin: 0 0 2rem;
  font-size: 1rem;
  line-height: 1.65;
  color: rgba(255, 255, 255, 0.82);
}

body.legal-doc .legal-intro {
  color: #444444;
}

.legal-body h2 {
  margin: 2.5rem 0 1rem;
  font-size: 1.25rem;
  font-weight: 600;
  letter-spacing: -0.02em;
  color: var(--white);
}

body.legal-doc .legal-body h2 {
  color: #111111;
}

.legal-body h3 {
  margin: 1.75rem 0 0.75rem;
  font-size: 1.0625rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.95);
}

body.legal-doc .legal-body h3 {
  color: #1a1a1a;
}

.legal-body ul {
  margin: 0 0 1rem;
  padding-left: 1.35rem;
}

.legal-body li {
  margin-bottom: 0.5rem;
}

.legal-body li:last-child {
  margin-bottom: 0;
}

.legal-body a {
  color: var(--lime);
  text-decoration: underline;
  text-underline-offset: 0.15em;
  transition: color 0.2s ease;
}

body.legal-doc .legal-body a {
  color: #4a6200;
}

.legal-body a:hover {
  color: var(--lime-bright);
}

body.legal-doc .legal-body a:hover {
  color: #2f3f00;
}

.legal-def-list {
  margin: 0 0 1rem;
}

.legal-def-list p {
  margin: 0 0 0.85rem;
}

.legal-def-list strong {
  color: var(--white);
  font-weight: 600;
}

body.legal-doc .legal-body strong {
  color: #111111;
}

.help-contact {
  margin-top: 2rem;
  padding: 1.5rem 1.65rem;
  border: 1px solid rgba(0, 0, 0, 0.08);
  border-radius: 0.85rem;
  background: #f7f7f7;
}

.help-contact-label {
  margin: 0 0 0.35rem;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #777777;
}

.help-contact-email {
  display: inline-block;
  margin: 0 0 0.65rem;
  font-size: 1.125rem;
  font-weight: 600;
  color: #111111;
  text-decoration: none;
  transition: color 0.2s ease;
}

.help-contact-email:hover {
  color: #4a6200;
}

.help-contact-note {
  margin: 0;
  font-size: 0.875rem;
  color: #666666;
}

/* Motion */
@keyframes marquee {
  from { transform: translate3d(0, 0, 0); }
  to { transform: translate3d(-50%, 0, 0); }
}

@keyframes marquee-ribbon {
  from { transform: translate3d(0, 0, 0); }
  to { transform: translate3d(calc(-1 * var(--marquee-shift, 0px)), 0, 0); }
}

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

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

.float {
  animation: float 5s ease-in-out infinite;
}

.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition:
    opacity 0.75s var(--ease),
    transform 0.75s var(--ease);
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .quote-track, .hero-ribbon-track, .float, .glow,
  .launch-feature-card--primary,
  .launch-feature-card--secondary,
  .launch-feature-card--tertiary { animation: none; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .launch-visual-panel,
  .launch-feature-card,
  .launch-feature-card--primary,
  .launch-feature-card--secondary,
  .launch-feature-card--tertiary {
    transform: none;
    transition: none;
    animation: none;
  }
  .case-text-track.is-no-transition,
  .case-study-panel.is-sliding .case-text-track,
  .case-study-panel.is-sliding .case-text-panel,
  .case-study-panel.is-sliding .case-slide-flash {
    transition: none;
    animation: none;
  }

  .case-study-panel.is-sliding.is-next .case-text-track > .case-text-panel:first-child,
  .case-study-panel.is-sliding.is-prev .case-text-track > .case-text-panel:last-child,
  .case-text-panel.is-incoming {
    opacity: 1;
  }
}

@media (max-width: 900px) {
  .nav { display: none; }
  .hero-grid,
  .cards,
  .case-studies-layout {
    --case-block-width: 100%;
  }

  .tools-cards {
    grid-template-columns: 1fr;
    gap: 0.85rem;
  }

  .tools-intro h2 {
    max-width: none;
  }

  .launch-grid {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }

  .launch-visual-stage {
    perspective: none;
    margin: 0;
    padding-bottom: 1rem;
  }

  .launch-visual-panel {
    min-height: 320px;
  }

  .launch-feature-card {
    position: relative;
    top: auto;
    right: auto;
    bottom: auto;
    left: auto;
    width: 100%;
    max-width: none;
    margin-top: 0.85rem;
  }

  .launch-feature-card--primary,
  .launch-feature-card--secondary,
  .launch-feature-card--tertiary {
    transform: none;
  }

  .launch-feature-card--primary {
    margin-top: -0.5rem;
  }

  .launch-main {
    max-width: none;
    padding-left: 0;
  }

  .launch-head {
    text-align: left;
  }

  .launch-head h2 {
    max-width: none;
  }

  .launch-actions {
    margin-top: 1.5rem;
  }

  .case-study-panel {
    width: 100%;
  }

  .case-slide-grid {
    grid-template-columns: 1fr;
    justify-items: center;
  }

  .case-metrics {
    grid-column: 1;
    max-width: none;
    width: min(100%, 14rem);
    justify-self: center;
  }

  .case-metrics .case-text-viewport {
    width: 100%;
    margin-right: 0;
  }

  .case-text-viewport .case-text-panel {
    max-width: none;
    padding-left: 1.35rem;
  }

  .case-stat::before {
    left: -1.35rem;
  }

  .case-stat-label {
    max-width: 14rem;
  }

  .case-hero-viewport {
    grid-column: 1;
    margin-left: 0;
    width: 100%;
    max-width: 480px;
    aspect-ratio: 1.85 / 1;
    justify-self: center;
  }

  .case-tabs-wrap {
    width: 100%;
  }

  .case-tabs {
    display: flex;
    overflow-x: auto;
    gap: 1.5rem;
    padding-bottom: 0.5rem;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
  }

  .case-tabs::-webkit-scrollbar {
    display: none;
  }

  .case-tab {
    flex: 0 0 auto;
    white-space: nowrap;
  }
  .hero-visual {
    min-height: 360px;
    max-width: 400px;
    margin-inline: auto;
  }
  .hero-accent {
    left: -4%;
    width: 55%;
  }

  .hero-stamps {
    right: 0.5rem;
  }
}

@media (max-width: 640px) {
  .container { width: min(100% - 1.5rem, 1120px); }
  .hero-btns { flex-direction: column; }
  .hero-btns .btn { width: 100%; }
  .header-cta .btn-ghost { display: none; }
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  .book-benefits {
    flex-direction: column;
    align-items: center;
    gap: 0.85rem;
  }
}
