:root {
  --sage-900: #0f3527;
  --sage-800: #1a4e3a;
  --sage-700: #225b46;
  --sage-600: #2d6b4f;
  --sage-500: #3a8163;
  --sage-400: #5fa685;
  --sage-300: #8fc8ac;
  --sage-200: #c4e3d2;
  --sage-100: #e3f3eb;
  --sage-50:  #f3faf6;

  --ink-900: #0a1410;
  --ink-800: #1a2420;
  --ink-700: #2b3530;
  --ink-600: #4a5550;
  --ink-500: #6b7570;
  --ink-400: #98a09b;
  --ink-300: #c8ccc9;
  --ink-200: #e4e7e5;
  --ink-100: #f1f3f2;
  --ink-50:  #f8faf9;

  --accent-purple: #7c3aed;
  --accent-amber: #f59e0b;
  --accent-coral: #ef6b5e;

  --font-display: 'Sora', sans-serif;
  --font-body: 'DM Sans', sans-serif;

  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 20px;
  --radius-xl: 28px;

  --shadow-sm: 0 1px 2px rgba(15,53,39,0.06), 0 1px 1px rgba(15,53,39,0.04);
  --shadow-md: 0 4px 12px rgba(15,53,39,0.08), 0 2px 4px rgba(15,53,39,0.04);
  --shadow-lg: 0 12px 32px rgba(15,53,39,0.10), 0 4px 12px rgba(15,53,39,0.06);
  --shadow-xl: 0 24px 64px rgba(15,53,39,0.14), 0 8px 24px rgba(15,53,39,0.08);
  --shadow-glow: 0 0 0 1px rgba(45,107,79,0.10), 0 8px 32px rgba(45,107,79,0.18);

  --layout-max: 1120px;
  --layout-gutter: 32px;
  --btn-height: 52px;
  --section-pad-y: 80px;
}

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

html { scroll-behavior: smooth; }

html.i18n-pending body {
  visibility: hidden;
}

body {
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  color: var(--ink-800);
  background: #fff;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

h1, h2, h3, h4, h5 {
  font-family: var(--font-display);
  color: var(--ink-900);
  letter-spacing: -0.02em;
  line-height: 1.15;
}

/* ============ NAV ============ */
.nav {
  position: fixed; top: 0; left: 0; right: 0;
  z-index: 100;
  backdrop-filter: blur(16px) saturate(180%);
  -webkit-backdrop-filter: blur(16px) saturate(180%);
  background: rgba(255,255,255,0.78);
  border-bottom: 1px solid rgba(45,107,79,0.08);
  transition: all 0.3s ease;
}
.nav-inner {
  width: 100%;
  max-width: var(--layout-max);
  margin: 0 auto;
  padding: 12px var(--layout-gutter);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
}
.brand {
  display: flex; align-items: center; gap: 12px;
  text-decoration: none;
  color: var(--ink-900);
}
.brand-logo {
  width: 42px; height: 42px;
  background: linear-gradient(135deg, var(--sage-600), var(--sage-800));
  border-radius: 12px;
  display: grid; place-items: center;
  box-shadow: 0 4px 12px rgba(45,107,79,0.25);
}
.brand-logo img { width: 26px; height: 26px; }
.brand-name {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 300;
  letter-spacing: -0.02em;
}
.brand-name b { font-weight: 800; }
.nav-links { display: flex; align-items: center; gap: 8px; }
.nav-link {
  font-family: var(--font-body);
  font-size: 15px;
  font-weight: 500;
  color: var(--ink-700);
  text-decoration: none;
  padding: 8px 14px;
  border-radius: 8px;
  transition: all 0.2s;
}
.nav-link:hover { background: var(--sage-50); color: var(--sage-700); }

.nav-cta {
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 600;
  color: white;
  background: var(--sage-700);
  height: 40px;
  min-height: 40px;
  max-height: 40px;
  padding: 0 16px;
  border-radius: 10px;
  text-decoration: none;
  transition: all 0.2s;
  border: 1.5px solid transparent;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
  box-sizing: border-box;
  -webkit-appearance: none;
  appearance: none;
}
.nav-cta:hover { background: var(--sage-800); transform: translateY(-1px); box-shadow: 0 6px 16px rgba(45,107,79,0.25); }

.lang-switcher {
  display: flex;
  background: var(--ink-100);
  border-radius: 8px;
  padding: 3px;
  gap: 0;
}
.lang-btn {
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 600;
  padding: 6px 12px;
  border: none;
  background: transparent;
  cursor: pointer;
  border-radius: 6px;
  color: var(--ink-500);
  transition: all 0.2s;
}
.lang-btn.active {
  background: white;
  color: var(--sage-700);
  box-shadow: 0 1px 3px rgba(0,0,0,0.08);
}

.mobile-toggle { display: none; }
.mobile-toggle-icon-close { display: none; }
.nav-backdrop {
  display: none;
  position: fixed;
  top: 66px;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: 90;
  background: rgba(10, 20, 16, 0.42);
  backdrop-filter: blur(2px);
  -webkit-backdrop-filter: blur(2px);
  border: none;
  padding: 0;
  cursor: pointer;
}
body.nav-open .nav-backdrop { display: block; }
body.nav-open { overflow: hidden; }
body.nav-open .nav {
  background: #fff;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  border-bottom-color: var(--ink-100);
  box-shadow: none;
}

/* ============ HERO ============ */
.hero {
  position: relative;
  padding: 140px var(--layout-gutter) var(--section-pad-y);
  overflow: hidden;
  background: linear-gradient(180deg, #fff 0%, var(--sage-50) 100%);
}
.hero-bg {
  position: absolute; inset: 0;
  background:
    radial-gradient(circle at 15% 20%, rgba(45,107,79,0.08), transparent 40%),
    radial-gradient(circle at 85% 60%, rgba(143,200,172,0.15), transparent 50%);
  pointer-events: none;
}
.hero-grid-bg {
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(45,107,79,0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(45,107,79,0.04) 1px, transparent 1px);
  background-size: 60px 60px;
  mask-image: radial-gradient(ellipse at center, black 30%, transparent 70%);
  -webkit-mask-image: radial-gradient(ellipse at center, black 30%, transparent 70%);
  pointer-events: none;
}
.hero-inner {
  position: relative;
  width: 100%;
  max-width: var(--layout-max);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.15fr 0.95fr;
  gap: 36px;
  align-items: center;
}
.hero-eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--font-body);
  font-size: 13px; font-weight: 600;
  color: var(--sage-700);
  background: var(--sage-100);
  padding: 8px 14px;
  border-radius: 999px;
  margin-bottom: 24px;
  letter-spacing: 0.02em;
}
.hero-eyebrow::before {
  content: '';
  width: 8px; height: 8px;
  background: var(--sage-500);
  border-radius: 50%;
  box-shadow: 0 0 0 4px rgba(58,129,99,0.2);
  animation: pulse 2s infinite;
}
@keyframes pulse {
  0%, 100% { box-shadow: 0 0 0 4px rgba(58,129,99,0.2); }
  50% { box-shadow: 0 0 0 8px rgba(58,129,99,0); }
}
.hero h1 {
  font-size: clamp(34px, 4.5vw, 56px);
  font-weight: 800;
  margin-bottom: 24px;
  padding-inline-end: 0.25em;
}
.hero h1 .accent {
  background: linear-gradient(135deg, var(--sage-600), var(--sage-400));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-box-decoration-break: clone;
  box-decoration-break: clone;
  color: transparent;
  font-style: italic;
  font-weight: 700;
  padding-inline-end: 0.25em;
}
.hero p.lead {
  font-size: 18px;
  color: var(--ink-600);
  line-height: 1.55;
  margin-bottom: 36px;
  max-width: 540px;
}
.hero-ctas { display: flex; gap: 14px; flex-wrap: wrap; align-items: center; }
.hero-note {
  margin-top: 16px;
  font-size: 14px;
  color: var(--ink-500);
  font-weight: 500;
}
.btn-primary,
.btn-secondary {
  font-family: var(--font-display);
  font-size: 16px;
  font-weight: 600;
  height: var(--btn-height);
  min-height: var(--btn-height);
  max-height: var(--btn-height);
  padding: 0 28px;
  margin: 0;
  border-radius: 12px;
  cursor: pointer;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  line-height: 1;
  box-sizing: border-box;
  -webkit-appearance: none;
  appearance: none;
}
.btn-primary {
  color: white;
  background: linear-gradient(180deg, var(--sage-600), var(--sage-800));
  border: 1.5px solid transparent;
  transition: all 0.25s ease;
  box-shadow: 0 8px 20px rgba(45,107,79,0.25), inset 0 1px 0 rgba(255,255,255,0.15);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 14px 32px rgba(45,107,79,0.32), inset 0 1px 0 rgba(255,255,255,0.15); }
.btn-primary svg {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
  transition: transform 0.25s;
}
.btn-primary:hover svg { transform: translateX(4px); }
.btn-secondary {
  color: var(--ink-800);
  background: white;
  border: 1.5px solid var(--ink-200);
  transition: all 0.2s;
}
.btn-secondary:hover { border-color: var(--sage-500); color: var(--sage-700); }

.hero-trust {
  margin-top: 36px;
  display: flex; align-items: center; gap: 20px;
  font-size: 14px; color: var(--ink-500);
}
.hero-trust strong { color: var(--ink-800); font-weight: 600; }
.stars { color: var(--accent-amber); letter-spacing: 2px; font-size: 14px; }

/* Hero Visual - dashboard preview */
.hero-visual {
  position: relative;
  perspective: 1600px;
}
.dash-stack {
  position: relative;
  height: 460px;
}
.dash-card {
  position: absolute;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: var(--shadow-xl);
  transition: transform 0.6s cubic-bezier(.2,.8,.2,1);
  border: 1px solid rgba(0,0,0,0.06);
  background: white;
}
.dash-card img { display: block; width: 100%; height: auto; }
.dash-card-main {
  top: 28px; left: 0;
  width: 86%;
  transform: rotateY(-6deg) rotateX(2deg);
  z-index: 3;
}
.dash-card-back {
  top: 0; right: 0;
  width: 54%;
  transform: rotateY(-12deg) rotateX(4deg) translateZ(-40px);
  z-index: 1;
  opacity: 0.85;
}
.dash-card-float {
  bottom: 0; right: 8%;
  width: 240px;
  transform: rotateY(-3deg) rotateX(1deg);
  z-index: 4;
  background: linear-gradient(135deg, white, var(--sage-50));
  padding: 18px;
  display: flex; flex-direction: column; gap: 12px;
}
.float-row {
  display: flex; align-items: center; gap: 10px;
}
.float-icon {
  width: 36px; height: 36px;
  border-radius: 9px;
  display: grid; place-items: center;
  font-size: 18px;
}
.float-icon.green { background: var(--sage-100); color: var(--sage-700); }
.float-icon.sage { background: var(--sage-50); color: var(--sage-700); border: 1px solid var(--sage-200); }
.float-icon svg { display: block; }
.float-text { flex: 1; }
.float-label { font-size: 11px; color: var(--ink-500); font-weight: 600; text-transform: uppercase; letter-spacing: 0.04em; }
.float-label-nowrap { white-space: nowrap; }
.float-value { font-family: var(--font-display); font-size: 18px; font-weight: 700; color: var(--ink-900); }
.float-badge {
  font-size: 10px; font-weight: 700;
  padding: 3px 7px;
  border-radius: 4px;
  background: var(--sage-100);
  color: var(--sage-700);
  text-transform: uppercase;
}

/* ============ TRUST BAR ============ */
.trust-bar {
  padding: 40px var(--layout-gutter);
  border-top: 1px solid var(--ink-200);
  border-bottom: 1px solid var(--ink-200);
  background: white;
}
.trust-inner {
  width: 100%;
  max-width: var(--layout-max);
  margin: 0 auto;
  display: flex; align-items: center; justify-content: space-between;
  gap: 32px; flex-wrap: wrap;
}
.trust-label {
  font-size: 13px;
  color: var(--ink-500);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-weight: 600;
}
.trust-logos { display: flex; gap: 40px; flex-wrap: wrap; }
.trust-logo {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 18px;
  color: var(--ink-400);
  letter-spacing: -0.01em;
  white-space: nowrap;
}

/* ============ FEATURES SECTION ============ */
.section {
  padding: var(--section-pad-y) var(--layout-gutter);
  position: relative;
}
.section-inner {
  width: 100%;
  max-width: var(--layout-max);
  margin: 0 auto;
}
.section-eyebrow {
  display: inline-block;
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 700;
  color: var(--sage-700);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: 16px;
}
.section-title {
  font-size: clamp(28px, 3.5vw, 42px);
  font-weight: 800;
  max-width: 800px;
  margin-bottom: 20px;
}
.section-title em { font-style: italic; color: var(--sage-600); font-weight: 700; }
.section-sub {
  font-size: 17px;
  color: var(--ink-600);
  max-width: 640px;
  margin-bottom: 64px;
}

/* ============ VIDEO DEMOS ============ */
.videos-section {
  background: linear-gradient(180deg, var(--sage-50) 0%, white 100%);
}
.section.videos-section {
  padding-bottom: 40px;
}
.video-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  margin-bottom: 24px;
}
.video-card {
  background: white;
  border: 1px solid var(--ink-200);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: transform .3s ease, box-shadow .3s ease, border-color .3s ease;
  display: flex;
  flex-direction: column;
}
.video-card:hover {
  transform: translateY(-4px);
  border-color: var(--sage-300);
  box-shadow: var(--shadow-lg);
}
.video-wrap {
  position: relative;
  width: 100%;
  padding-top: 50.4%; /* matches 1280x644 source (3024x1522 scaled) */
  background: var(--ink-900);
  overflow: hidden;
  cursor: pointer;
}
.video-wrap iframe,
.video-wrap .demo-video,
.video-wrap .video-poster {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
  object-fit: cover;
  background: var(--ink-900);
}
/* Poster is the default state; video fades in when hover starts playing */
.video-wrap .video-poster {
  z-index: 1;
  transition: opacity .35s ease, transform .6s ease;
}
.video-wrap .demo-video {
  z-index: 2;
  opacity: 0;
  pointer-events: none; /* invisible layer must not block taps on iOS */
  transition: opacity .4s ease;
}
.video-card.is-playing .demo-video {
  pointer-events: auto;
}
.video-card.is-playing .demo-video { opacity: 1; }
.video-card.is-playing .video-poster { opacity: 0; }

/* Subtle zoom on hover regardless of play state */
.video-card:hover .video-poster,
.video-card:hover .demo-video {
  transform: scale(1.03);
}

/* Live-Demo badge — only visible while card is actively playing */
.video-live-badge {
  position: absolute;
  top: 12px;
  left: 12px;
  z-index: 4;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 10px 5px 9px;
  background: rgba(15, 53, 39, 0.85);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  color: white;
  font-family: 'DM Sans', sans-serif;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  border-radius: 999px;
  opacity: 0;
  transform: translateY(-4px);
  transition: opacity .4s ease, transform .4s ease;
  pointer-events: none;
}
.video-card.is-playing .video-live-badge {
  opacity: 1;
  transform: translateY(0);
}
.live-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #4ade80;
  box-shadow: 0 0 0 0 rgba(74, 222, 128, 0.7);
  animation: live-pulse 2s ease-out infinite;
}
@keyframes live-pulse {
  0%   { box-shadow: 0 0 0 0 rgba(74, 222, 128, 0.7); }
  70%  { box-shadow: 0 0 0 8px rgba(74, 222, 128, 0); }
  100% { box-shadow: 0 0 0 0 rgba(74, 222, 128, 0); }
}

/* Play overlay — center play button + "click to expand" hint */
.video-play-overlay {
  position: absolute;
  inset: 0;
  z-index: 3;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  background: linear-gradient(180deg, rgba(0,0,0,0.0) 0%, rgba(0,0,0,0.25) 100%);
  pointer-events: none;
  transition: opacity .35s ease;
}
.video-card.is-playing .video-play-overlay { opacity: 0.65; }
.play-button {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: rgba(255,255,255,0.95);
  color: var(--sage-700);
  display: flex;
  align-items: center;
  justify-content: center;
  padding-left: 4px; /* visual center for play triangle */
  box-shadow: 0 8px 24px rgba(0,0,0,0.25);
  transition: transform .25s ease, background .25s ease;
}
.video-card:hover .play-button {
  transform: scale(1.1);
  background: white;
}
.play-hint {
  background: rgba(15, 53, 39, 0.9);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  color: white;
  font-family: 'DM Sans', sans-serif;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.02em;
  padding: 6px 12px;
  border-radius: 999px;
  opacity: 0;
  transform: translateY(6px);
  transition: opacity .25s ease, transform .25s ease;
}
.video-card:hover .play-hint {
  opacity: 1;
  transform: translateY(0);
}

.video-meta {
  padding: 22px 24px 26px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.video-meta .showcase-badge { align-self: flex-start; margin-bottom: 2px; }
.video-meta h3 {
  font-family: 'Sora', sans-serif;
  font-size: 20px;
  font-weight: 700;
  color: var(--ink-900);
  margin: 0;
  line-height: 1.3;
  letter-spacing: -0.01em;
}
.video-meta p {
  font-size: 15px;
  color: var(--ink-600);
  line-height: 1.55;
  margin: 0;
}
.videos-cta {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  margin: 0;
}
@media (max-width: 980px) {
  .video-grid { grid-template-columns: 1fr; gap: 22px; }
  .video-meta { padding: 20px; }
  .video-meta h3 { font-size: 18px; }
  .play-button { width: 56px; height: 56px; }
}

/* ============ VIDEO LIGHTBOX ============ */
.video-lightbox {
  position: fixed;
  inset: 0;
  z-index: 1000;
  background: rgba(10, 20, 16, 0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  display: none;
  align-items: center;
  justify-content: center;
  padding: 5vh 4vw;
  opacity: 0;
  transition: opacity .25s ease;
}
.video-lightbox.open {
  display: flex;
  opacity: 1;
  animation: lbFadeIn .3s ease;
}
@keyframes lbFadeIn {
  from { opacity: 0; }
  to   { opacity: 1; }
}
.lightbox-content {
  width: 100%;
  max-width: 1200px;
  display: flex;
  flex-direction: column;
  gap: 18px;
  animation: lbZoomIn .35s cubic-bezier(0.2, 0.9, 0.3, 1.2);
}
@keyframes lbZoomIn {
  from { transform: scale(0.92); opacity: 0; }
  to   { transform: scale(1); opacity: 1; }
}
.lightbox-video-wrap {
  position: relative;
  width: 100%;
  background: black;
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.55);
  aspect-ratio: 1280 / 644;
}
.lightbox-video-wrap video {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: contain;
  background: black;
}
.lightbox-info {
  display: flex;
  flex-direction: column;
  gap: 6px;
  color: white;
  text-align: center;
  align-items: center;
}
.lightbox-info .showcase-badge {
  display: inline-flex;
  align-self: center;
}
.lightbox-info h3 {
  margin: 0;
  font-family: 'Sora', sans-serif;
  font-size: 22px;
  font-weight: 700;
  color: white;
  letter-spacing: -0.01em;
}
.lightbox-info p {
  margin: 0;
  font-size: 15px;
  color: rgba(255, 255, 255, 0.75);
  max-width: 720px;
  line-height: 1.55;
}
.lightbox-close {
  position: fixed;
  top: 20px;
  right: 24px;
  z-index: 1001;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background .2s ease, transform .2s ease;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}
.lightbox-close:hover {
  background: rgba(255, 255, 255, 0.2);
  transform: scale(1.08);
}
@media (max-width: 768px) {
  .video-lightbox { padding: 2vh 3vw; }
  .lightbox-info h3 { font-size: 18px; }
  .lightbox-info p { font-size: 13.5px; }
  .lightbox-close { top: 12px; right: 12px; width: 38px; height: 38px; }
}

/* ============ FEATURES MODAL ============ */
.features-cta-row {
  display: flex;
  justify-content: center;
  margin-top: 48px;
}
.btn-features-all {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  height: var(--btn-height);
  min-height: var(--btn-height);
  max-height: var(--btn-height);
  padding: 0 22px;
  background: white;
  border: 1.5px solid var(--sage-300);
  border-radius: 12px;
  font-family: var(--font-display);
  font-size: 16px;
  font-weight: 600;
  line-height: 1;
  color: var(--sage-700);
  cursor: pointer;
  transition: all 0.2s ease;
  box-sizing: border-box;
  box-shadow: 0 1px 2px rgba(15,53,39,0.04);
  -webkit-appearance: none;
  appearance: none;
}
.btn-features-all:hover {
  background: var(--sage-50);
  border-color: var(--sage-500);
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(45,107,79,0.12);
}
.btn-features-all .features-count {
  background: var(--sage-600);
  color: white;
  font-size: 12px;
  font-weight: 700;
  padding: 2px 9px;
  border-radius: 999px;
  letter-spacing: 0.02em;
}

.modal-content.modal-wide {
  max-width: 980px;
  display: flex;
  flex-direction: column;
  max-height: 90vh;
}
.features-modal-header {
  padding-bottom: 20px;
}
.features-modal-tabs {
  display: flex;
  gap: 4px;
  padding: 0 32px;
  border-bottom: 1px solid var(--ink-200);
  background: var(--ink-50);
  flex-shrink: 0;
  overflow-x: auto;
}
.ftab {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 18px;
  background: transparent;
  border: none;
  border-bottom: 2px solid transparent;
  font-family: 'DM Sans', sans-serif;
  font-size: 14px;
  font-weight: 600;
  color: var(--ink-500);
  cursor: pointer;
  transition: all 0.2s ease;
  white-space: nowrap;
  margin-bottom: -1px;
}
.ftab:hover { color: var(--sage-700); }
.ftab.active {
  color: var(--sage-700);
  border-bottom-color: var(--sage-600);
}
.ftab svg { opacity: 0.85; }
.ftab-count {
  background: var(--ink-200);
  color: var(--ink-700);
  font-size: 11px;
  font-weight: 700;
  padding: 2px 7px;
  border-radius: 999px;
  margin-left: 2px;
  transition: all 0.2s ease;
}
.ftab.active .ftab-count {
  background: var(--sage-100);
  color: var(--sage-800);
}

.features-modal-body {
  flex: 1;
  overflow-y: auto;
  padding: 24px 32px 32px;
  background: white;
}
.feature-section {
  margin-bottom: 28px;
}
.feature-section:last-child { margin-bottom: 0; }
.feature-section-header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 14px;
  padding-bottom: 10px;
  border-bottom: 1px dashed var(--ink-200);
}
.feature-section-icon {
  width: 32px; height: 32px;
  border-radius: 8px;
  background: var(--sage-100);
  color: var(--sage-700);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.feature-section-title {
  font-family: 'Sora', sans-serif;
  font-size: 15px;
  font-weight: 700;
  color: var(--ink-900);
  letter-spacing: -0.005em;
  margin: 0;
  flex: 1;
}
.feature-section-count {
  font-size: 12px;
  font-weight: 600;
  color: var(--ink-500);
  background: var(--ink-100);
  padding: 3px 9px;
  border-radius: 999px;
}
.feature-items {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 8px 18px;
}
.feature-item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 8px 0;
}
.feature-item-check {
  width: 18px; height: 18px;
  border-radius: 50%;
  background: var(--sage-100);
  color: var(--sage-700);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
  margin-top: 2px;
}
.feature-item-text {
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.feature-item-name {
  font-size: 14px;
  font-weight: 600;
  color: var(--ink-800);
  line-height: 1.35;
}
.feature-item-desc {
  font-size: 12.5px;
  color: var(--ink-500);
  line-height: 1.4;
}

.features-modal-footer {
  border-top: 1px solid var(--ink-200);
  padding: 18px 32px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  background: var(--ink-50);
  flex-shrink: 0;
  border-radius: 0 0 var(--radius-xl) var(--radius-xl);
}
.features-modal-meta {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: var(--ink-600);
}
.features-modal-meta svg { color: var(--sage-600); }

@media (max-width: 768px) {
  .modal-content.modal-wide { max-width: 100%; }
  .features-modal-tabs { padding: 0 16px; }
  .ftab { padding: 12px 12px; font-size: 13px; }
  .ftab-count { display: none; }
  .features-modal-body { padding: 18px 20px 24px; }
  .feature-items { grid-template-columns: 1fr; gap: 4px; }
  .features-modal-footer { flex-direction: column; padding: 14px 20px; }
  .features-modal-footer .btn-primary { width: 100%; }
}


.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.feature-card {
  background: white;
  border: 1px solid var(--ink-200);
  border-radius: var(--radius-lg);
  padding: 32px;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}
.feature-card:hover {
  transform: translateY(-4px);
  border-color: var(--sage-300);
  box-shadow: var(--shadow-lg);
}
.feature-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--sage-500), var(--sage-300));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s;
}
.feature-card:hover::before { transform: scaleX(1); }
.feature-icon {
  width: 52px; height: 52px;
  border-radius: 12px;
  background: linear-gradient(135deg, var(--sage-100), var(--sage-200));
  display: grid; place-items: center;
  color: var(--sage-700);
  margin-bottom: 20px;
}
.feature-card h3 {
  font-size: 22px;
  font-weight: 700;
  margin-bottom: 10px;
}
.feature-card p {
  color: var(--ink-600);
  font-size: 15px;
  line-height: 1.55;
}

/* ============ SHOWCASE - Big visual sections ============ */
.showcase {
  background: linear-gradient(180deg, var(--sage-50) 0%, white 100%);
  padding: var(--section-pad-y) var(--layout-gutter);
}
.showcase-row {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 64px;
  align-items: center;
  margin-bottom: 96px;
}
.showcase-row:last-child { margin-bottom: 0; }
.showcase-row.reverse { grid-template-columns: 1fr 1fr; }
.showcase-row.reverse .showcase-text { order: 2; }
.showcase-row.reverse .showcase-img { order: 1; }

.showcase-badge {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: 12px; font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  padding: 6px 12px;
  border-radius: 999px;
  margin-bottom: 18px;
}
.badge-green { background: var(--sage-100); color: var(--sage-800); }
.badge-purple { background: #f3e8ff; color: #6b21a8; }
.badge-amber { background: #fef3c7; color: #92400e; }

.showcase-text h3 {
  font-size: clamp(24px, 2.8vw, 34px);
  font-weight: 800;
  margin-bottom: 16px;
  line-height: 1.15;
}
.showcase-text p {
  font-size: 16px;
  color: var(--ink-600);
  line-height: 1.6;
  margin-bottom: 24px;
}
.feature-list {
  list-style: none;
  display: flex; flex-direction: column; gap: 12px;
}
.feature-list li {
  display: flex; align-items: flex-start; gap: 12px;
  font-size: 15px;
  color: var(--ink-700);
}
.feature-list li::before {
  content: '';
  flex-shrink: 0;
  width: 22px; height: 22px;
  border-radius: 50%;
  background: var(--sage-100);
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%232d6b4f' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'><polyline points='20 6 9 17 4 12'/></svg>");
  background-repeat: no-repeat;
  background-position: center;
  margin-top: 1px;
}

.showcase-img {
  position: relative;
  display: flex;
  justify-content: center;
}
.showcase-img img {
  width: 92%;
  max-width: 520px;
  height: auto;
  display: block;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-xl);
  border: 1px solid rgba(0,0,0,0.06);
}
.showcase-img::after {
  content: '';
  position: absolute;
  inset: -20px;
  background: radial-gradient(circle at center, rgba(45,107,79,0.10), transparent 70%);
  z-index: -1;
  border-radius: 50%;
}

/* ============ ROLES SECTION ============ */
.roles-section { padding: var(--section-pad-y) var(--layout-gutter); background: var(--ink-900); color: white; }
.roles-section .section-title { color: white; }
.roles-section .section-sub { color: var(--ink-300); }
.roles-section .section-eyebrow { color: var(--sage-300); }

.roles-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.role-card {
  background: linear-gradient(180deg, rgba(255,255,255,0.04), rgba(255,255,255,0.01));
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: var(--radius-lg);
  padding: 32px;
  transition: all 0.3s;
  position: relative;
}
.role-card:hover {
  border-color: var(--sage-400);
  background: linear-gradient(180deg, rgba(58,129,99,0.08), rgba(58,129,99,0.02));
}
.role-icon {
  width: 56px; height: 56px;
  border-radius: 14px;
  background: linear-gradient(135deg, var(--sage-600), var(--sage-800));
  display: grid; place-items: center;
  color: white;
  margin-bottom: 24px;
  box-shadow: 0 8px 20px rgba(45,107,79,0.3);
}
.role-card h3 { color: white; font-size: 24px; margin-bottom: 8px; }
.role-card .role-sub { color: var(--sage-300); font-size: 14px; margin-bottom: 20px; font-weight: 500; }
.role-card .role-feats {
  list-style: none;
  display: flex; flex-direction: column; gap: 8px;
}
.role-card .role-feats li {
  font-size: 14px;
  color: var(--ink-300);
  padding-left: 20px;
  position: relative;
}
.role-card .role-feats li::before {
  content: '→';
  position: absolute;
  left: 0;
  color: var(--sage-400);
  font-weight: 700;
}

/* ============ PRICING ============ */
.pricing-section {
  padding: 40px var(--layout-gutter) var(--section-pad-y);
  background: linear-gradient(180deg, white 0%, var(--sage-50) 100%);
}
.pricing-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 48px;
  margin-top: 40px;
  align-items: start;
}

.pricing-card {
  background: white;
  border-radius: var(--radius-xl);
  padding: 40px;
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--ink-200);
  position: relative;
  overflow: hidden;
}
.pricing-card.featured {
  background: linear-gradient(180deg, var(--sage-900), var(--ink-900));
  color: white;
  border: none;
}
.pricing-card.featured::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 80% 0%, rgba(58,129,99,0.3), transparent 50%),
    radial-gradient(circle at 0% 100%, rgba(143,200,172,0.15), transparent 50%);
  pointer-events: none;
}
.pricing-card > * { position: relative; }

.plan-name {
  display: flex; align-items: center; gap: 10px;
  margin-bottom: 8px;
}
.plan-name h3 {
  font-size: 28px; font-weight: 800;
}
.pricing-card.featured .plan-name h3 { color: white; }
.plan-badge {
  font-size: 11px;
  font-weight: 700;
  background: var(--accent-amber);
  color: var(--ink-900);
  padding: 4px 10px;
  border-radius: 999px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}
.plan-tagline {
  color: var(--ink-600);
  margin-bottom: 28px;
  font-size: 15px;
}
.pricing-card.featured .plan-tagline { color: var(--ink-300); }

.price-display {
  display: flex; align-items: baseline; gap: 6px;
  margin-bottom: 6px;
}
.price-currency { font-size: 20px; font-weight: 600; color: var(--ink-500); }
.pricing-card.featured .price-currency { color: var(--sage-300); }
.price-amount {
  font-family: var(--font-display);
  font-size: 64px;
  font-weight: 800;
  line-height: 1;
  letter-spacing: -0.03em;
  color: var(--ink-900);
}
.pricing-card.featured .price-amount { color: white; }
.price-period { font-size: 16px; color: var(--ink-500); margin-left: 4px; }
.pricing-card.featured .price-period { color: var(--ink-300); }

.price-note {
  font-size: 13px;
  color: var(--ink-500);
  margin-bottom: 28px;
  padding: 10px 14px;
  background: var(--sage-50);
  border-radius: 8px;
}
.pricing-card.featured .price-note {
  background: rgba(255,255,255,0.06);
  color: var(--ink-300);
}

.tier-table {
  border-collapse: collapse;
  width: 100%;
  margin-bottom: 28px;
  font-size: 14px;
  caption-side: bottom;
}
.tier-caption {
  caption-side: bottom;
  padding-top: 12px;
  text-align: left;
  font-size: 12px;
  line-height: 1.4;
  font-weight: 500;
  color: var(--ink-500);
}
.pricing-card.featured .tier-caption {
  color: var(--ink-400);
}
.pricing-enterprise {
  margin: 28px 0 0;
  font-size: 14px;
  line-height: 1.5;
  color: var(--ink-500);
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: center;
  gap: 0.35rem 0.65rem;
  text-align: center;
}
.pricing-enterprise a {
  color: var(--sage-700);
  font-weight: 700;
  text-decoration: none;
  white-space: nowrap;
  border-bottom: 1px solid color-mix(in srgb, var(--sage-700) 45%, transparent);
}
.pricing-enterprise a:hover {
  color: var(--sage-800);
  border-bottom-color: var(--sage-800);
}
.tier-table th, .tier-table td {
  padding: 12px 8px;
  text-align: left;
  border-bottom: 1px solid var(--ink-200);
}
.pricing-card.featured .tier-table th,
.pricing-card.featured .tier-table td {
  border-bottom-color: rgba(255,255,255,0.08);
}
.tier-table th {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--ink-500);
  font-weight: 700;
}
.tier-table th:last-child {
  text-align: right;
}
.pricing-card.featured .tier-table th { color: var(--ink-300); }
.tier-table td:first-child { font-weight: 600; }
.tier-table td:first-child {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 2px;
}
.tier-range {
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.01em;
  color: var(--ink-500);
}
.pricing-card.featured .tier-range {
  color: var(--ink-400);
}
.tier-table td:last-child {
  text-align: right;
  font-family: var(--font-display);
  font-weight: 700;
  color: var(--sage-700);
}
.pricing-card.featured .tier-table td:last-child { color: var(--sage-300); }

.plan-features {
  list-style: none;
  margin-bottom: 32px;
  display: flex; flex-direction: column; gap: 10px;
}
.plan-features li {
  display: flex; align-items: flex-start; gap: 10px;
  font-size: 14.5px;
  color: var(--ink-700);
}
.pricing-card.featured .plan-features li { color: var(--ink-200); }
.plan-features li::before {
  content: '✓';
  color: var(--sage-600);
  font-weight: 700;
  flex-shrink: 0;
}
.pricing-card.featured .plan-features li::before { color: var(--sage-300); }

/* ============ Collapsible "What's included?" ============ */
.plan-features-collapsible {
  margin-bottom: 28px;
  border-top: 1px solid rgba(255, 255, 255, 0.10);
  border-bottom: 1px solid rgba(255, 255, 255, 0.10);
}
.plan-features-collapsible > summary {
  list-style: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 14px 0;
  font-family: var(--font-display);
  font-size: 14.5px;
  font-weight: 600;
  color: var(--ink-200);
  user-select: none;
  transition: color .2s ease;
}
.plan-features-collapsible > summary::-webkit-details-marker { display: none; }
.plan-features-collapsible > summary::marker { content: ''; }
.plan-features-collapsible > summary:hover { color: white; }
.plan-features-collapsible > summary:focus-visible {
  outline: 2px solid var(--sage-300);
  outline-offset: 4px;
  border-radius: 4px;
}
.plan-features-chevron {
  color: var(--sage-300);
  transition: transform .25s ease;
  flex-shrink: 0;
}
.plan-features-collapsible[open] .plan-features-chevron {
  transform: rotate(180deg);
}
.plan-features-collapsible .plan-features {
  margin-top: 8px;
  margin-bottom: 16px;
  animation: collapseFadeIn .3s ease;
}
@keyframes collapseFadeIn {
  from { opacity: 0; transform: translateY(-4px); }
  to   { opacity: 1; transform: translateY(0); }
}

.plan-cta {
  width: 100%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  font-family: var(--font-display);
  font-size: 16px;
  font-weight: 600;
  height: var(--btn-height);
  min-height: var(--btn-height);
  max-height: var(--btn-height);
  padding: 0 16px;
  border-radius: 12px;
  text-decoration: none;
  cursor: pointer;
  border: 1.5px solid transparent;
  line-height: 1;
  box-sizing: border-box;
  transition: all 0.25s;
  -webkit-appearance: none;
  appearance: none;
}
.plan-cta.dark {
  background: var(--ink-900);
  color: white;
}
.plan-cta.dark:hover { background: var(--ink-700); transform: translateY(-1px); }
.plan-cta.light {
  background: var(--sage-300);
  color: var(--ink-900);
}
.plan-cta.light:hover { background: var(--sage-400); transform: translateY(-1px); }

/* Calculator */
.calc-card {
  background: white;
  border-radius: var(--radius-xl);
  padding: 36px;
  border: 1px solid var(--ink-200);
  box-shadow: var(--shadow-md);
  display: flex; flex-direction: column;
}
.calc-card h3 {
  font-size: 22px;
  font-weight: 700;
  margin-bottom: 6px;
}
.calc-card .calc-sub {
  color: var(--ink-600);
  font-size: 14px;
  margin-bottom: 28px;
}
.calc-label {
  display: block;
  font-size: 13px;
  font-weight: 600;
  color: var(--ink-700);
  margin-bottom: 8px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}
.calc-revenue-display {
  font-family: var(--font-display);
  font-size: 42px;
  font-weight: 800;
  color: var(--sage-700);
  margin-bottom: 16px;
  letter-spacing: -0.02em;
}
.calc-slider {
  width: 100%;
  -webkit-appearance: none;
  appearance: none;
  height: 8px;
  background: var(--ink-100);
  border-radius: 999px;
  outline: none;
  margin-bottom: 24px;
  background-image: linear-gradient(var(--sage-500), var(--sage-500));
  background-repeat: no-repeat;
}
.calc-slider::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 24px; height: 24px;
  border-radius: 50%;
  background: white;
  border: 3px solid var(--sage-600);
  cursor: pointer;
  box-shadow: 0 4px 12px rgba(45,107,79,0.25);
  transition: transform 0.15s;
}
.calc-slider::-webkit-slider-thumb:hover { transform: scale(1.15); }
.calc-slider::-moz-range-thumb {
  width: 24px; height: 24px;
  border-radius: 50%;
  background: white;
  border: 3px solid var(--sage-600);
  cursor: pointer;
}
.calc-toggle-group {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 8px;
  background: var(--ink-100);
  padding: 4px;
  border-radius: 12px;
  margin-bottom: 24px;
}
.calc-toggle {
  padding: 12px 8px;
  border: none;
  background: transparent;
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 600;
  color: var(--ink-600);
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.2s;
}
.calc-toggle.active {
  background: white;
  color: var(--sage-700);
  box-shadow: var(--shadow-sm);
}

.calc-result {
  background: linear-gradient(135deg, var(--sage-50), var(--sage-100));
  border-radius: var(--radius-md);
  padding: 24px;
  margin-top: 8px;
}
.calc-line {
  display: flex; justify-content: space-between;
  padding: 6px 0;
  font-size: 14px;
  color: var(--ink-600);
}
.calc-line.total {
  font-family: var(--font-display);
  border-top: 1px solid var(--sage-200);
  margin-top: 10px;
  padding-top: 12px;
  font-size: 18px;
  color: var(--ink-900);
  font-weight: 700;
}
.calc-line strong {
  color: var(--ink-900);
  font-weight: 700;
}
.calc-line.total strong { color: var(--sage-700); font-size: 24px; }

/* ============ TESTIMONIALS ============ */
.testimonials {
  padding: var(--section-pad-y) var(--layout-gutter);
  background: white;
}
.testimonial-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.testimonial {
  background: var(--sage-50);
  border-radius: var(--radius-lg);
  padding: 32px;
  border: 1px solid var(--sage-100);
  position: relative;
}
.testimonial::before {
  content: '"';
  position: absolute;
  top: 12px; right: 24px;
  font-family: var(--font-display);
  font-size: 80px;
  color: var(--sage-300);
  line-height: 1;
  opacity: 0.5;
}
.testimonial p {
  font-size: 16px;
  line-height: 1.55;
  color: var(--ink-800);
  margin-bottom: 20px;
  font-style: italic;
  position: relative;
}
.testimonial-author {
  display: flex; align-items: center; gap: 12px;
}
.testimonial-avatar {
  width: 44px; height: 44px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--sage-500), var(--sage-700));
  display: grid; place-items: center;
  color: white;
  font-weight: 700;
  font-family: var(--font-display);
}
.testimonial-author strong {
  display: block;
  font-family: var(--font-display);
  font-size: 15px;
  color: var(--ink-900);
}
.testimonial-author span {
  font-size: 13px;
  color: var(--ink-500);
}

/* ============ FAQ ============ */
.faq-section { padding: var(--section-pad-y) var(--layout-gutter); background: var(--sage-50); }
.faq-grid {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: 80px;
  align-items: start;
}
.faq-intro .section-title {
  margin-bottom: 12px;
}
.faq-sub {
  color: var(--ink-600);
  font-size: 16px;
  line-height: 1.55;
  max-width: 32rem;
}
.faq-sub a {
  color: var(--sage-700);
  font-weight: 600;
  text-decoration: none;
  border-bottom: 1px solid color-mix(in srgb, var(--sage-700) 40%, transparent);
}
.faq-sub a:hover {
  color: var(--sage-800);
  border-bottom-color: var(--sage-800);
}
@media (min-width: 961px) {
  .faq-intro {
    position: sticky;
    top: 96px;
  }
}
.faq-list {
  display: flex; flex-direction: column; gap: 12px;
}
.faq-item {
  background: white;
  border-radius: 14px;
  border: 1px solid var(--ink-200);
  overflow: hidden;
  transition: all 0.2s;
}
.faq-item[open] {
  box-shadow: var(--shadow-md);
  border-color: var(--sage-300);
}
.faq-item summary {
  padding: 20px 24px;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 16px;
  color: var(--ink-900);
  cursor: pointer;
  list-style: none;
  display: flex; align-items: center; justify-content: space-between;
  gap: 16px;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: '+';
  font-size: 26px;
  font-weight: 300;
  color: var(--sage-600);
  transition: transform 0.2s;
}
.faq-item[open] summary::after { transform: rotate(45deg); }
.faq-item p {
  padding: 0 24px 20px;
  font-size: 15px;
  color: var(--ink-600);
  line-height: 1.6;
}

/* ============ CTA SECTION ============ */
.cta-section {
  padding: var(--section-pad-y) var(--layout-gutter);
  background: linear-gradient(135deg, var(--sage-800), var(--sage-900));
  position: relative;
  overflow: hidden;
}
.cta-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 20% 30%, rgba(143,200,172,0.15), transparent 50%),
    radial-gradient(ellipse at 80% 70%, rgba(58,129,99,0.2), transparent 50%);
  pointer-events: none;
}
.cta-inner {
  max-width: 800px;
  margin: 0 auto;
  text-align: center;
  position: relative;
}
.cta-section h2 {
  font-size: clamp(30px, 4vw, 46px);
  color: white;
  margin-bottom: 20px;
}
.cta-section h2 em {
  font-style: italic;
  background: linear-gradient(135deg, var(--sage-300), white);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  padding-right: 0.2em;
}
.cta-section p {
  font-size: 17px;
  color: var(--ink-300);
  margin-bottom: 36px;
}
.cta-section .btn-primary {
  background: white;
  color: var(--sage-800);
  box-shadow: none;
}
.cta-section .btn-primary:hover {
  background: var(--sage-100);
  color: var(--sage-900);
}
.cta-meta {
  margin-top: 24px;
  display: flex;
  justify-content: center;
  gap: 24px;
  font-size: 14px;
  color: var(--ink-300);
  flex-wrap: wrap;
}
.cta-meta span { display: flex; align-items: center; gap: 6px; }
.cta-meta span::before {
  content: '✓';
  color: var(--sage-400);
  font-weight: 700;
}

/* ============ FOOTER ============ */
.footer {
  background: var(--ink-900);
  color: var(--ink-300);
  padding: 64px var(--layout-gutter) 32px;
}
.footer-inner {
  width: 100%;
  max-width: var(--layout-max);
  margin: 0 auto;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 48px;
}
.footer-brand p {
  margin-top: 16px;
  font-size: 14px;
  color: var(--ink-400);
  max-width: 280px;
  line-height: 1.55;
}
.footer-col h4 {
  font-size: 13px;
  color: white;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 16px;
  font-weight: 700;
}
.footer-col ul { list-style: none; display: flex; flex-direction: column; gap: 10px; }
.footer-col a {
  color: var(--ink-300);
  text-decoration: none;
  font-size: 14px;
  transition: color 0.2s;
}
.footer-col a:hover { color: var(--sage-300); }
.footer-bottom {
  padding-top: 24px;
  border-top: 1px solid rgba(255,255,255,0.08);
  display: flex; justify-content: space-between;
  font-size: 13px;
  color: var(--ink-500);
  flex-wrap: wrap;
  gap: 16px;
}

/* ============ STATIC PAGES (about, contact, legal) ============ */
.page-body {
  background: #fff;
}
.page-main {
  position: relative;
  padding-top: 140px;
  overflow: hidden;
  background: linear-gradient(180deg, #fff 0%, var(--sage-50) 100%);
}
.page-main-bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 20% 30%, rgba(45,107,79,0.07), transparent 45%),
    radial-gradient(circle at 80% 70%, rgba(143,200,172,0.12), transparent 50%);
  pointer-events: none;
}
.page-main .section-inner {
  position: relative;
  z-index: 1;
}
.page-prose {
  width: 100%;
  max-width: none;
  font-size: 16px;
  line-height: 1.7;
  color: var(--ink-700);
}
.page-prose h2 {
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 700;
  color: var(--ink-900);
  margin: 28px 0 10px;
  letter-spacing: -0.01em;
}
.page-prose h2:first-child { margin-top: 0; }
.page-prose p { margin: 0 0 14px; }
.page-prose p + ul { margin-top: -6px; }
.page-prose ul + p { margin-top: 14px; }
.page-prose ul {
  margin: 0 0 16px 1.2em;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.page-prose a {
  color: var(--sage-700);
  font-weight: 600;
  text-decoration: none;
}
.page-prose a:hover { text-decoration: underline; }
.contact-cards {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  margin: 0;
}
.contact-card {
  background: var(--sage-50);
  border: 1px solid var(--sage-200);
  border-radius: var(--radius-md);
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.contact-card h2 {
  font-size: 17px;
  margin: 0;
}
.contact-card p {
  font-size: 14px;
  color: var(--ink-600);
  margin: 0;
  flex: 1;
}
.contact-card a {
  font-size: 15px;
  word-break: break-all;
}
.contact-note {
  font-size: 13px;
  color: var(--ink-500);
}

/* ============ MODAL: Signup ============ */
.modal {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 1000;
  background: rgba(15,53,39,0.5);
  backdrop-filter: blur(8px);
  align-items: center;
  justify-content: center;
  padding: 24px;
}
.modal.open { display: flex; animation: fadeIn 0.25s; }
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }
@keyframes slideUp { from { transform: translateY(20px); opacity: 0; } to { transform: translateY(0); opacity: 1; } }

.modal-content {
  background: white;
  border-radius: var(--radius-xl);
  width: 100%;
  max-width: 560px;
  max-height: 90vh;
  overflow-y: auto;
  box-shadow: var(--shadow-xl);
  animation: slideUp 0.3s ease;
}

/* Signup wizard: pin footer so Next stays reachable; only the body scrolls */
.signup-modal-content {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  max-width: 640px;
  max-height: min(90vh, 720px);
}

.signup-modal-content .modal-header {
  flex-shrink: 0;
}

.signup-modal-content .modal-body {
  flex: 1 1 auto;
  min-height: 0;
  overflow-y: auto;
  padding: 22px 32px 18px;
  -webkit-overflow-scrolling: touch;
}

.signup-modal-content .signup-step > .form-group:last-child {
  margin-bottom: 0;
}

.signup-modal-content .step-indicator {
  margin-bottom: 22px;
}

.signup-modal-content .modal-footer {
  flex-shrink: 0;
  justify-content: flex-end;
  gap: 10px;
  padding: 14px 32px;
  box-shadow: 0 -10px 28px rgba(15, 53, 39, 0.05);
}

.signup-modal-content .modal-footer .btn-prev {
  flex: 0 0 auto;
  min-width: 7.25rem;
  margin-right: auto;
}

.signup-modal-content .modal-footer .btn-prev.is-hidden {
  display: none;
}

.signup-modal-content .modal-footer .btn-next {
  flex: 0 1 auto;
  min-width: 11rem;
  max-width: 18rem;
  margin-left: auto;
}

@media (max-width: 560px) {
  .signup-modal-content {
    max-height: min(92vh, 100%);
  }

  .signup-modal-content .modal-header,
  .signup-modal-content .modal-body,
  .signup-modal-content .modal-footer {
    padding-left: 20px;
    padding-right: 20px;
  }

  .signup-modal-content .modal-footer .btn-next {
    flex: 1 1 auto;
    max-width: none;
    min-width: 0;
  }
}
.modal-header {
  padding: 28px 32px;
  border-bottom: 1px solid var(--ink-200);
  display: flex; justify-content: space-between; align-items: flex-start;
}
.modal-header h3 {
  font-size: 24px;
  font-weight: 700;
  margin-bottom: 4px;
}
.modal-header .modal-sub {
  font-size: 14px;
  color: var(--ink-500);
}
.modal-close {
  background: var(--ink-100);
  border: none;
  width: 36px; height: 36px;
  border-radius: 8px;
  font-size: 18px;
  cursor: pointer;
  color: var(--ink-600);
  transition: all 0.2s;
  flex-shrink: 0;
}
.modal-close:hover { background: var(--ink-200); }

.modal-body { padding: 28px 32px; }

.step-indicator {
  display: flex; align-items: center; gap: 8px;
  margin-bottom: 28px;
}
.step-dot {
  flex: 1;
  height: 4px;
  background: var(--ink-200);
  border-radius: 999px;
  transition: background 0.3s;
}
.step-dot.active { background: var(--sage-500); }
.step-dot.completed { background: var(--sage-700); }

.form-group { margin-bottom: 18px; }
.form-label {
  display: block;
  font-size: 13px;
  font-weight: 600;
  color: var(--ink-700);
  margin-bottom: 8px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}
.form-input, .form-select {
  width: 100%;
  font-family: var(--font-body);
  font-size: 15px;
  padding: 12px 14px;
  border: 1.5px solid var(--ink-200);
  border-radius: 10px;
  transition: all 0.2s;
  background: white;
}
.form-input:focus, .form-select:focus {
  outline: none;
  border-color: var(--sage-500);
  box-shadow: 0 0 0 4px rgba(58,129,99,0.12);
}

.form-input-readonly {
  background: var(--ink-100);
  color: var(--ink-600);
  cursor: default;
  border-color: var(--ink-200);
}

.form-input-readonly:focus {
  border-color: var(--ink-200);
  box-shadow: none;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.form-hint {
  display: block;
  margin-top: 10px;
  font-size: 13px;
  color: var(--ink-500);
}

.form-hint-inner {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.form-hint-inner svg {
  flex-shrink: 0;
}

.form-hint-inner strong {
  font-weight: 700;
  letter-spacing: -0.01em;
}

.form-hint-success {
  color: var(--sage-700);
}

.form-hint-success svg {
  color: var(--sage-600);
}

.form-hint-error {
  color: #b45309;
}

.form-hint-error svg {
  color: var(--accent-coral);
}

.terms-checkbox {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 14px 16px;
  border: 1.5px solid var(--ink-200);
  border-radius: 12px;
  background: white;
  cursor: pointer;
  transition: border-color 0.2s ease, background 0.2s ease, box-shadow 0.2s ease;
}

.terms-checkbox:hover {
  border-color: var(--sage-400);
}

.terms-checkbox:has(.terms-checkbox-input:checked) {
  border-color: var(--sage-600);
  background: var(--sage-50);
  box-shadow: 0 0 0 1px rgba(58, 129, 99, 0.08);
}

.terms-checkbox-input {
  position: absolute;
  opacity: 0;
  width: 1px;
  height: 1px;
  pointer-events: none;
}

.terms-checkbox-box {
  width: 22px;
  height: 22px;
  margin-top: 1px;
  border: 2px solid var(--ink-300);
  border-radius: 6px;
  flex-shrink: 0;
  display: grid;
  place-items: center;
  background: white;
  transition: all 0.2s ease;
}

.terms-checkbox-input:checked + .terms-checkbox-box {
  border-color: var(--sage-600);
  background: var(--sage-600);
}

.terms-checkbox-check {
  width: 14px;
  height: 14px;
  color: white;
  opacity: 0;
  transform: scale(0.85);
  transition: opacity 0.15s ease, transform 0.15s ease;
}

.terms-checkbox-input:checked + .terms-checkbox-box .terms-checkbox-check {
  opacity: 1;
  transform: scale(1);
}

.terms-checkbox-label {
  font-size: 14px;
  line-height: 1.55;
  color: var(--ink-700);
}

.terms-checkbox-label a {
  color: var(--sage-700);
  font-weight: 600;
  text-decoration: none;
}

.terms-checkbox-label a:hover {
  text-decoration: underline;
}

.form-error {
  margin-top: 12px;
  padding: 10px 12px;
  border-radius: 10px;
  background: #fff1f0;
  color: #9a3412;
  font-size: 13px;
  line-height: 1.45;
}

.plan-option {
  border: 2px solid var(--ink-200);
  border-radius: 12px;
  padding: 16px;
  cursor: pointer;
  margin-bottom: 12px;
  transition: all 0.2s;
  display: flex; align-items: center; gap: 14px;
}
.plan-option:hover { border-color: var(--sage-400); }
.plan-option.selected { border-color: var(--sage-600); background: var(--sage-50); }
.plan-option-radio {
  width: 22px; height: 22px;
  border: 2px solid var(--ink-300);
  border-radius: 50%;
  flex-shrink: 0;
  position: relative;
  transition: all 0.2s;
}
.plan-option.selected .plan-option-radio {
  border-color: var(--sage-600);
}
.plan-option.selected .plan-option-radio::after {
  content: '';
  position: absolute;
  inset: 4px;
  background: var(--sage-600);
  border-radius: 50%;
}
.plan-option-body { flex: 1; }
.plan-option-name {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 16px;
  color: var(--ink-900);
}
.plan-option-desc {
  font-size: 13px;
  color: var(--ink-600);
  margin-top: 2px;
}
.plan-option-price {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 18px;
  color: var(--sage-700);
}

.summary-card {
  background: var(--sage-50);
  border-radius: 14px;
  padding: 20px;
  margin-bottom: 24px;
  border: 1px solid var(--sage-200);
}
.summary-row {
  display: flex; justify-content: space-between;
  font-size: 14px;
  padding: 6px 0;
  color: var(--ink-700);
}
.summary-row.total {
  margin-top: 8px;
  padding-top: 12px;
  border-top: 1px solid var(--sage-200);
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 700;
  color: var(--ink-900);
}

.modal-footer {
  padding: 20px 32px;
  border-top: 1px solid var(--ink-200);
  display: flex; gap: 12px;
  background: var(--ink-50);
  border-radius: 0 0 var(--radius-xl) var(--radius-xl);
}
.modal-footer button {
  flex: 1;
  font-family: var(--font-display);
  font-size: 16px;
  font-weight: 600;
  height: var(--btn-height);
  min-height: var(--btn-height);
  max-height: var(--btn-height);
  padding: 0 20px;
  border-radius: 12px;
  cursor: pointer;
  line-height: 1;
  box-sizing: border-box;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s;
  -webkit-appearance: none;
  appearance: none;
}
.btn-prev {
  background: white;
  border: 1.5px solid var(--ink-200);
  color: var(--ink-700);
}
.btn-prev:hover { border-color: var(--ink-400); }
.btn-next {
  background: var(--sage-700);
  color: white;
  border: 1.5px solid transparent;
}
.btn-next-content {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}
.btn-next-icon {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
  display: none;
}
.btn-next.is-submit-step .btn-next-icon-check {
  display: block;
}
.btn-next:not(.is-submit-step) .btn-next-icon-arrow {
  display: block;
}
.btn-next:hover { background: var(--sage-800); }
.btn-next:disabled { opacity: 0.4; cursor: not-allowed; }

.success-screen {
  text-align: center;
  padding: 8px 8px 4px;
  max-width: 26rem;
  margin: 0 auto;
}
.success-screen .success-icon {
  width: 64px; height: 64px;
  margin: 0 auto 18px;
  border-radius: 50%;
  background: var(--sage-100);
  display: grid; place-items: center;
  color: var(--sage-700);
  font-size: 32px;
}
.success-screen h3 {
  font-size: 22px;
  margin-bottom: 8px;
  letter-spacing: -0.02em;
}
.success-lead {
  font-size: 15px;
  color: var(--ink-600);
  margin: 0 0 16px;
  line-height: 1.45;
}
.success-summary {
  background: var(--sage-50);
  border: 1px solid var(--sage-200);
  border-radius: 12px;
  padding: 12px 14px;
  margin-bottom: 14px;
  text-align: center;
  font-size: 15px;
  line-height: 1.45;
  color: var(--ink-800);
  word-break: break-word;
}
.success-summary strong {
  color: var(--sage-800);
  font-weight: 600;
}
.success-summary-meta {
  display: inline-block;
  margin-top: 4px;
  font-size: 13px;
  color: var(--ink-500);
}
.success-next {
  margin: 0 0 14px;
  font-size: 14px;
  line-height: 1.5;
  color: var(--ink-600);
}
.success-note {
  font-size: 13px;
  color: var(--ink-500);
  line-height: 1.5;
  margin: 0 0 22px;
}
.success-note a {
  color: var(--sage-700);
  font-weight: 600;
  text-decoration: none;
}
.success-note a:hover {
  text-decoration: underline;
}
.success-screen .btn-primary {
  min-width: 10rem;
  justify-content: center;
}

/* ============ MOTION (subtle — disabled when prefers-reduced-motion) ============ */
html.motion-enabled .nav {
  transition: background 0.35s ease, box-shadow 0.35s ease, border-color 0.35s ease;
}
html.motion-enabled .nav.is-scrolled {
  background: rgba(255, 255, 255, 0.94);
  border-bottom-color: rgba(45, 107, 79, 0.12);
  box-shadow: 0 8px 32px rgba(15, 53, 39, 0.07);
}

html.motion-enabled .hero-text > * {
  opacity: 0;
  transform: translateY(22px);
  animation: motion-hero-in 0.85s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}
html.motion-enabled .hero-text > .hero-eyebrow { animation-delay: 0.05s; }
html.motion-enabled .hero-text > h1 { animation-delay: 0.14s; }
html.motion-enabled .hero-text > .lead { animation-delay: 0.24s; }
html.motion-enabled .hero-text > .hero-ctas { animation-delay: 0.34s; }
html.motion-enabled .hero-text > .hero-note { animation-delay: 0.42s; }

html.motion-enabled .hero-visual {
  opacity: 0;
  transform: translateY(28px) scale(0.98);
  animation: motion-hero-visual 1s cubic-bezier(0.22, 1, 0.36, 1) 0.2s forwards;
}

html.motion-enabled .dash-card-float {
  animation: motion-float-bob 5.5s ease-in-out infinite;
}

html.motion-enabled .hero-grid-bg {
  animation: motion-grid-drift 48s linear infinite;
}

@keyframes motion-hero-in {
  to { opacity: 1; transform: translateY(0); }
}
@keyframes motion-hero-visual {
  to { opacity: 1; transform: translateY(0) scale(1); }
}
@keyframes motion-float-bob {
  0%, 100% { transform: rotateY(-3deg) rotateX(1deg) translateY(0); }
  50% { transform: rotateY(-3deg) rotateX(1deg) translateY(-10px); }
}
@keyframes motion-grid-drift {
  from { background-position: 0 0, 0 0; }
  to { background-position: 60px 60px, 60px 60px; }
}

html.motion-enabled .reveal {
  --reveal-delay: 0ms;
  opacity: 0;
  transform: translateY(26px);
  transition:
    opacity 0.75s cubic-bezier(0.22, 1, 0.36, 1),
    transform 0.75s cubic-bezier(0.22, 1, 0.36, 1);
  transition-delay: var(--reveal-delay);
  will-change: opacity, transform;
}
html.motion-enabled .reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* ============ MOBILE ============ */
@media (max-width: 960px) {
  :root { --layout-gutter: 20px; }
  .nav-inner { padding: 12px var(--layout-gutter); gap: 12px; }
  .nav-links { display: none; }
  .mobile-toggle {
    display: grid; place-items: center;
    width: 40px; height: 40px;
    background: var(--sage-100);
    color: var(--sage-700);
    border: none;
    border-radius: 8px;
    cursor: pointer;
    position: relative;
    z-index: 102;
  }
  .mobile-toggle:hover {
    background: var(--sage-200);
    color: var(--sage-800);
  }
  .mobile-toggle.open {
    background: var(--sage-700);
    color: white;
  }
  .mobile-toggle.open:hover {
    background: var(--sage-800);
    color: white;
  }
  .mobile-toggle.open .mobile-toggle-icon-menu { display: none; }
  .mobile-toggle.open .mobile-toggle-icon-close { display: block; }
  .nav-inner { position: relative; }
  .mobile-toggle.open ~ .nav-links {
    display: flex;
    position: absolute;
    top: calc(100% + 8px);
    left: var(--layout-gutter);
    right: var(--layout-gutter);
    z-index: 101;
    background: white;
    flex-direction: column;
    padding: 12px;
    border-radius: 14px;
    box-shadow: var(--shadow-xl);
    border: 1px solid var(--ink-100);
    gap: 4px;
  }
  .mobile-toggle.open ~ .nav-links .nav-link {
    width: 100%;
    padding: 12px 14px;
  }
  .mobile-toggle.open ~ .nav-links .lang-switcher {
    order: -1;
    width: 100%;
    justify-content: stretch;
    margin-bottom: 4px;
  }
  .mobile-toggle.open ~ .nav-links .lang-btn {
    flex: 1;
    text-align: center;
  }
  .mobile-toggle.open ~ .nav-links .nav-cta {
    width: 100%;
    margin-top: 8px;
    height: var(--btn-height);
    min-height: var(--btn-height);
    max-height: var(--btn-height);
    font-size: 16px;
    border-radius: 12px;
  }

  .section, .hero, .pricing-section, .showcase, .roles-section, .testimonials, .faq-section, .cta-section, .page-main {
    padding: 48px 20px;
  }
  .hero, .page-main { padding-top: 88px; }
  .hero-ctas,
  .videos-cta {
    flex-direction: column;
    align-items: stretch;
    gap: 12px;
  }
  .hero-note {
    text-align: center;
  }

  .btn-features-all,
  .hero-ctas .btn-primary,
  .hero-ctas .btn-secondary,
  .videos-cta .btn-secondary,
  .plan-cta,
  .cta-section .btn-primary {
    width: 100%;
  }
  .features-cta-row {
    width: 100%;
  }
  .hero p.lead { margin-bottom: 24px; }
  .section-title { margin-bottom: 12px; }
  .section-sub { margin-bottom: 36px; }
  .feature-grid { gap: 16px; }
  .feature-card { padding: 24px; }
  .features-cta-row { margin-top: 28px; }
  .section.videos-section {
    padding-bottom: 28px;
  }
  .pricing-section {
    padding-top: 28px;
  }
  .video-grid { margin-bottom: 16px; }
  .videos-cta { margin-top: 0; }
  .showcase-row { margin-bottom: 56px; }
  .contact-cards { grid-template-columns: 1fr; }
  .hero-inner, .pricing-grid, .faq-grid, .showcase-row, .showcase-row.reverse {
    grid-template-columns: 1fr;
    gap: 28px;
  }
  .pricing-grid {
    margin-top: 28px;
    gap: 20px;
  }
  .pricing-card,
  .calc-card {
    padding: 24px;
  }
  .price-amount {
    font-size: 56px;
  }
  .calc-revenue-display {
    font-size: 34px;
    margin-bottom: 12px;
  }
  .tier-table th,
  .tier-table td {
    padding: 12px 8px;
  }
  .plan-features-collapsible > summary {
    min-height: 48px;
    padding: 14px 0;
    font-size: 15px;
  }
  .plan-cta {
    width: 100%;
    margin-top: 4px;
  }
  .calc-slider {
    height: 12px;
    margin: 12px 0 28px;
    cursor: pointer;
    touch-action: pan-y;
  }
  .calc-slider::-webkit-slider-thumb {
    width: 36px;
    height: 36px;
    border-width: 3px;
    box-shadow: 0 4px 14px rgba(45, 107, 79, 0.35);
  }
  .calc-slider::-moz-range-thumb {
    width: 36px;
    height: 36px;
    border-width: 3px;
  }
  .calc-toggle-group {
    gap: 6px;
    padding: 5px;
    margin-bottom: 20px;
  }
  .calc-toggle {
    min-height: 48px;
    padding: 12px 10px;
    font-size: 14px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    line-height: 1.25;
    -webkit-appearance: none;
    appearance: none;
  }
  .calc-result {
    padding: 20px;
  }
  .calc-line.total strong {
    font-size: 22px;
  }
  .showcase-row.reverse .showcase-text { order: 1; }
  .showcase-row.reverse .showcase-img { order: 2; }
  .showcase-img img {
    width: 100%;
    max-width: none;
  }
  .feature-grid, .roles-grid, .testimonial-grid {
    grid-template-columns: 1fr;
  }
  .hero {
    overflow-x: hidden;
  }
  .hero-visual {
    perspective: none;
    max-width: 520px;
    width: 100%;
    margin: 0 auto;
    overflow: hidden;
    touch-action: pan-y;
  }
  .dash-stack {
    width: 100%;
    height: 220px;
    overflow: hidden;
  }
  .dash-card-main,
  .dash-card-back,
  .dash-card-float {
    transform: none !important;
  }
  .dash-card-back,
  .dash-card-float {
    display: none;
  }
  .dash-card-main {
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
  }
  .dash-card-main img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top center;
  }
  html.motion-enabled .dash-card-float {
    animation: none;
  }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
  .form-row { grid-template-columns: 1fr; }
}

/* Email verification page */
.verify-main {
  min-height: calc(100vh - 80px);
  display: flex;
  align-items: center;
}
.verify-main-inner {
  max-width: 640px;
  margin: 0 auto;
}
.verify-panel {
  background: #fff;
  border-radius: 20px;
  padding: 48px 40px;
  text-align: center;
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--ink-100);
}
.verify-icon {
  width: 80px;
  height: 80px;
  margin: 0 auto 24px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-size: 36px;
  font-weight: 700;
}
.verify-icon--loading {
  background: var(--sage-100);
  color: var(--sage-700);
}
.verify-icon--success {
  background: #dcfce7;
  color: #166534;
}
.verify-icon--error {
  background: #fee2e2;
  color: #b91c1c;
}
.verify-spinner {
  width: 32px;
  height: 32px;
  border: 3px solid var(--sage-200);
  border-top-color: var(--sage-700);
  border-radius: 50%;
  animation: verify-spin 0.8s linear infinite;
}
@keyframes verify-spin {
  to { transform: rotate(360deg); }
}
.verify-title {
  font-family: 'Sora', sans-serif;
  font-size: 28px;
  line-height: 1.25;
  margin: 0 0 12px;
  color: var(--ink-900);
}
.verify-message {
  margin: 0;
  color: var(--ink-600);
  line-height: 1.6;
  font-size: 16px;
}
.verify-actions {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  margin-top: 28px;
}
/* class display:flex otherwise overrides the HTML hidden attribute */
.verify-actions[hidden],
.verify-panel--loading .verify-actions {
  display: none !important;
}
#verifyCtaResend[hidden] {
  display: none !important;
}
.verify-actions .btn-primary,
.verify-actions .btn-secondary,
.verify-actions button.btn-primary {
  width: 100%;
  max-width: 280px;
  justify-content: center;
}
.verify-cta-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 24px;
  border-radius: 10px;
  border: 1.5px solid var(--ink-200);
  color: var(--ink-800);
  font-weight: 600;
  text-decoration: none;
  transition: background 0.15s ease, border-color 0.15s ease;
}
.verify-cta-secondary:hover {
  background: var(--ink-50);
  border-color: var(--ink-300);
}
.verify-cta-link {
  color: var(--sage-700);
  font-weight: 600;
  text-decoration: none;
}
.verify-cta-link:hover {
  text-decoration: underline;
}

@media (max-width: 600px) {
  .footer-grid { grid-template-columns: 1fr; }
  .price-amount { font-size: 48px; }
  .hero h1 { font-size: 32px; }
  .verify-panel { padding: 36px 24px; }
  .verify-title { font-size: 24px; }
  .dash-stack {
    height: 190px;
  }
}
