/* ==========================================================================
   KISMET BOOKING DESK V1.0 — V2 EDITORIAL STYLESHEET
   Typography: Young Serif (headings), Familjen Grotesk (body), Martian Mono (data/badges)
   Palette: Warm Linen (#f3eee4), Deep Ink (#1c211f), Terracotta (#a85a35), Forest (#2e4a3b)
   Modern Web Guidelines: individual-transform-properties, visually-stable-font-fallbacks
   ========================================================================== */

:root {
  --paper: #f3eee4;
  --paper-2: #ebe4d7;
  --card: #fbf8f2;
  --ink: #1c211f;
  --ink-light: #2c3230;
  --muted: #6e695f;
  --line: #d9cfbf;
  --line-light: #e6dfd3;
  --forest: #2e4a3b;
  --forest-dark: #22372c;
  --terra: #a85a35;
  --terra-dark: #8c4727;
  --red: #a23b2c;
  --green: #2d6b4f;
  
  --serif: "Young Serif", Georgia, serif;
  --sans: "Familjen Grotesk", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --mono: "Martian Mono", ui-monospace, SFMono-Regular, Menlo, monospace;

  --shadow-sm: 0 2px 8px rgba(28, 33, 31, 0.06);
  --shadow-md: 0 16px 36px -12px rgba(28, 33, 31, 0.16);
  --shadow-lg: 0 32px 64px -20px rgba(28, 33, 31, 0.28);
  --radius-sm: 6px;
  --radius-md: 12px;
  --radius-lg: 18px;
  --radius-full: 9999px;
}

/* Reset & Box Model */
*, *::before, *::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  text-size-adjust: 100%;
  overflow-x: hidden;
  max-width: 100%;
}

body {
  margin: 0;
  background-color: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.55;
  font-size-adjust: from-font;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
  max-width: 100%;
  position: relative;
}

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

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

button {
  font: inherit;
  border: none;
  background: none;
  cursor: pointer;
}

figure {
  margin: 0;
}

/* Container */
.wrap {
  width: min(1340px, 100% - 48px);
  margin-inline: auto;
}

@media (max-width: 768px) {
  .wrap,
  .the-story-page .wrap {
    width: 100% !important;
    max-width: 100% !important;
    padding-inline: 16px !important;
    margin-inline: auto !important;
    box-sizing: border-box !important;
  }
}

/* Typography Helpers */
.mono {
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--muted);
}

h1, h2, h3, h4 {
  font-family: var(--serif);
  font-weight: 400;
  margin: 0;
  letter-spacing: -0.01em;
  color: var(--ink);
}

/* Progress bar at the top */
#scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  height: 3px;
  background: var(--terra);
  width: 0%;
  z-index: 100;
  transition: width 0.1s linear;
}

/* ==========================================================================
   BUTTONS & MOTION SPEC
   High-performance GPU-composited transforms with independent properties
   ========================================================================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px 26px;
  border-radius: var(--radius-full);
  font-family: var(--sans);
  font-weight: 600;
  font-size: 15px;
  line-height: 1;
  cursor: pointer;
  position: relative;
  overflow: hidden;
  isolation: isolate;
  border: 1px solid transparent;
  translate: 0 0;
  scale: 1;
  transition: translate 0.25s ease, scale 0.25s ease, color 0.25s ease, border-color 0.25s ease, background-color 0.25s ease, box-shadow 0.25s ease;
}

.btn .arr {
  display: inline-block;
  translate: 0 0;
  transition: translate 0.25s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.btn-primary {
  background-color: var(--ink);
  color: var(--paper);
  border-color: var(--ink);
  box-shadow: 0 4px 12px rgba(28, 33, 31, 0.15);
}

.btn-primary::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background-color: var(--terra);
  scale: 0 1;
  transform-origin: left center;
  transition: scale 0.35s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.btn-primary:hover, .btn-primary:focus-visible {
  color: #fff;
  border-color: var(--terra);
  box-shadow: 0 8px 20px rgba(168, 90, 53, 0.25);
}

.btn-primary:hover::before, .btn-primary:focus-visible::before {
  scale: 1 1;
}

.btn-primary:hover .arr, .btn-primary:focus-visible .arr {
  translate: 4px 0;
}

/* Dedicated Free Trial Button */
.btn-trial {
  background-color: var(--forest);
  color: #fbf8f2;
  border-color: var(--forest);
  box-shadow: 0 4px 14px rgba(46, 74, 59, 0.25);
  font-weight: 600;
}

.btn-trial::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background-color: var(--forest-dark);
  scale: 0 1;
  transform-origin: left center;
  transition: scale 0.35s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.btn-trial:hover, .btn-trial:focus-visible {
  color: #ffffff;
  border-color: var(--forest-dark);
  box-shadow: 0 8px 22px rgba(46, 74, 59, 0.35);
  translate: 0 -2px;
}

.btn-trial:hover::before, .btn-trial:focus-visible::before {
  scale: 1 1;
}

.btn-trial .trial-sparkle {
  color: #f4d06f;
  font-size: 15px;
  display: inline-block;
  transition: transform 0.3s ease;
}

.btn-trial:hover .trial-sparkle {
  transform: rotate(20deg) scale(1.15);
}

.btn-ghost {
  border-color: var(--ink);
  color: var(--ink);
  background-color: transparent;
}

.btn-ghost .play-icon {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background-color: var(--ink);
  color: var(--paper);
  font-size: 9px;
  scale: 1;
  transition: scale 0.25s ease, background-color 0.25s ease;
}

.btn-ghost:hover, .btn-ghost:focus-visible {
  translate: 0 -2px;
  border-color: var(--terra);
  color: var(--terra);
  box-shadow: var(--shadow-sm);
}

.btn-ghost:hover .play-icon, .btn-ghost:focus-visible .play-icon {
  scale: 1.15;
  background-color: var(--terra);
}

.text-link {
  font-weight: 600;
  color: var(--ink);
  background: linear-gradient(currentColor, currentColor) left bottom / 0% 1.5px no-repeat;
  padding-bottom: 2px;
  transition: background-size 0.3s ease, color 0.2s ease;
}

.text-link:hover, .text-link:focus-visible {
  color: var(--terra);
  background: linear-gradient(var(--terra), var(--terra)) left bottom / 100% 1.5px no-repeat;
}

/* ==========================================================================
   PAGE VIEW TRANSITIONS (2026 EDITORIAL TURNOVER ANIMATION)
   ========================================================================== */
@view-transition {
  navigation: auto;
}

::view-transition-old(root) {
  animation: 220ms cubic-bezier(0.4, 0, 1, 1) both page-turn-out;
}

::view-transition-new(root) {
  animation: 320ms cubic-bezier(0.16, 1, 0.3, 1) both page-turn-in;
}

@keyframes page-turn-out {
  from {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
  to {
    opacity: 0;
    transform: translateY(-8px) scale(0.995);
  }
}

@keyframes page-turn-in {
  from {
    opacity: 0;
    transform: translateY(12px) scale(0.995);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

/* Fallback Scripted Page Transition Wrapper */
.page-turn-wrapper {
  animation: page-turn-in 340ms cubic-bezier(0.16, 1, 0.3, 1) both;
  will-change: opacity, transform;
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
}

body.is-page-transitioning .page-turn-wrapper {
  opacity: 0;
  transform: translateY(-10px);
  transition: opacity 180ms ease, transform 180ms cubic-bezier(0.4, 0, 1, 1);
}

/* Page turnover top indicator bar */
#page-turn-bar {
  position: fixed;
  top: 0;
  left: 0;
  width: 0%;
  height: 3px;
  background: linear-gradient(90deg, var(--forest), var(--terra));
  z-index: 1000;
  pointer-events: none;
  transition: width 200ms cubic-bezier(0.22, 1, 0.36, 1), opacity 200ms ease;
  opacity: 0;
}

#page-turn-bar.is-active {
  width: 100%;
  opacity: 1;
}

/* ==========================================================================
   NAVIGATION: OPTION 2 MODULAR ISLAND DOCK
   ========================================================================== */
.top-nav-island-container {
  padding: 20px 0 16px;
  position: sticky;
  top: 0;
  z-index: 100;
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  background: linear-gradient(
    180deg,
    rgba(243, 238, 228, 0.96) 0%,
    rgba(243, 238, 228, 0.85) 75%,
    rgba(243, 238, 228, 0) 100%
  );
  margin-bottom: 20px;
}

.nav-c2-wrap {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.nav-c2-pod {
  background: rgba(255, 255, 255, 0.88);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.95);
  box-shadow: 0 10px 28px rgba(40, 30, 15, 0.06), 0 2px 6px rgba(0, 0, 0, 0.02);
  border-radius: 16px;
  padding: 6px 14px;
  display: flex;
  align-items: center;
  transition: transform 0.25s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.25s ease;
  flex-shrink: 0;
}

.nav-c2-pod:hover {
  box-shadow: 0 14px 32px rgba(40, 30, 15, 0.09);
}

.nav-c2-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  cursor: pointer;
  flex-shrink: 0;
}

.nav-c2-brand-name {
  font-family: var(--serif);
  font-size: 20px;
  font-weight: 700;
  color: var(--forest);
  letter-spacing: -0.01em;
  white-space: nowrap;
}

.nav-c2-brand-ver {
  font-family: var(--mono);
  font-size: 10px;
  color: var(--terra);
  font-weight: 700;
  background: #fcedea;
  padding: 3px 7px;
  border-radius: 5px;
  letter-spacing: 0.04em;
  white-space: nowrap;
}

.nav-c2-menu-pod {
  flex-shrink: 0;
}

.nav-c2-menu {
  display: flex;
  align-items: center;
  list-style: none;
  gap: 2px;
  margin: 0;
  padding: 0;
  flex-wrap: nowrap;
  white-space: nowrap;
}

.nav-c2-menu li {
  white-space: nowrap;
  flex-shrink: 0;
  display: inline-flex;
}

.nav-c2-menu a {
  text-decoration: none;
  font-size: 13.5px;
  font-weight: 600;
  color: #555e56;
  padding: 7px 11px;
  border-radius: 9px;
  transition: all 0.2s cubic-bezier(0.22, 1, 0.36, 1);
  position: relative;
  display: inline-flex;
  align-items: center;
  white-space: nowrap;
  line-height: 1.2;
}

.nav-c2-menu a:hover {
  background: #f3efe6;
  color: var(--forest);
}

.nav-c2-menu a.is-active-page,
.nav-c2-menu a.active {
  color: var(--forest);
  font-weight: 700;
  background: #ede6d8;
}

.nav-c2-menu a.is-active-page::after,
.nav-c2-menu a.active::after {
  content: '';
  position: absolute;
  bottom: 3px;
  left: 50%;
  transform: translateX(-50%);
  width: 14px;
  height: 2.5px;
  background: var(--terra);
  border-radius: 99px;
  box-shadow: 0 1px 3px rgba(139, 74, 45, 0.3);
}

.nav-c2-action {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
}

.nav-c2-trial-btn {
  background: transparent;
  color: var(--forest);
  border: 1px solid rgba(46, 74, 59, 0.4);
  padding: 7px 12px;
  border-radius: 9px;
  font-family: var(--sans);
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  white-space: nowrap;
  transition: all 0.2s cubic-bezier(0.22, 1, 0.36, 1);
}

.nav-c2-trial-btn:hover {
  background: rgba(46, 74, 59, 0.08);
  border-color: var(--forest);
  color: var(--forest-dark);
  transform: translateY(-1px);
}

.nav-c2-trial-btn:active {
  transform: translateY(0);
}

.nav-c2-chip {
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 700;
  color: #065f46;
  background: #d1fae5;
  border: 1px solid rgba(16, 185, 129, 0.25);
  padding: 5px 9px;
  border-radius: 8px;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  white-space: nowrap;
}

.nav-c2-btn {
  background: var(--terra);
  color: #ffffff;
  border: none;
  padding: 8px 16px;
  border-radius: 10px;
  font-family: var(--sans);
  font-size: 13.5px;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  cursor: pointer;
  white-space: nowrap;
  box-shadow: 0 4px 12px rgba(139, 74, 45, 0.25);
  transition: all 0.2s cubic-bezier(0.22, 1, 0.36, 1);
}

.nav-c2-btn:hover {
  background: #733c24;
  transform: translateY(-1px);
  box-shadow: 0 6px 16px rgba(139, 74, 45, 0.35);
}

.nav-c2-btn:active {
  transform: translateY(0);
}

/* Mobile Hamburger Toggle */
.nav-mobile-toggle {
  display: none;
  background: rgba(255, 255, 255, 0.95);
  border: 1px solid var(--line);
  border-radius: 999px;
  width: 38px;
  height: 38px;
  padding: 8px;
  box-sizing: border-box;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 4px;
  cursor: pointer;
  transition: all 0.2s ease;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
}

.hamburger-bar {
  display: block;
  width: 18px;
  height: 2px;
  background: var(--ink);
  border-radius: 2px;
  transition: transform 0.22s ease, opacity 0.2s ease;
}

@media (max-width: 1240px) {
  .nav-c2-chip {
    display: none;
  }
  .nav-c2-menu a {
    padding: 6px 9px;
    font-size: 13px;
  }
  .nav-c2-pod {
    padding: 6px 10px;
  }
}

@media (max-width: 1080px) {
  .top-nav-island-container {
    padding: 8px 0;
    margin-bottom: 10px;
    position: sticky;
    top: 0;
    z-index: 1000;
  }
  .nav-c2-wrap {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    position: relative;
    box-sizing: border-box;
    gap: 0;
  }
  .nav-c2-pod {
    padding: 5px 10px;
    border-radius: 999px;
    box-sizing: border-box;
  }
  .nav-c2-brand {
    padding: 6px 12px;
    gap: 8px;
    flex-shrink: 0;
    background: rgba(255, 255, 255, 0.95);
  }
  .nav-c2-brand-name {
    font-size: 16px;
  }
  .nav-c2-brand-ver {
    display: none;
  }
  .nav-c2-action {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 8px;
    padding: 0;
    background: none;
    border: none;
    box-shadow: none;
  }
  .nav-c2-pod.nav-c2-action {
    background: none;
    border: none;
    box-shadow: none;
    padding: 0;
  }
  .nav-c2-chip,
  .nav-c2-trial-btn {
    display: none;
  }
  .nav-c2-btn {
    padding: 7px 14px;
    font-size: 12.5px;
    border-radius: 999px;
    white-space: nowrap;
    box-shadow: 0 4px 12px rgba(168, 90, 53, 0.25);
  }
  .nav-btn-price {
    display: none;
  }

  /* Hamburger Toggle visible on mobile */
  .nav-mobile-toggle {
    display: flex;
  }

  /* Animated X when open */
  .mobile-nav-open .hamburger-bar:nth-child(1) {
    transform: translateY(6px) rotate(45deg);
  }
  .mobile-nav-open .hamburger-bar:nth-child(2) {
    opacity: 0;
  }
  .mobile-nav-open .hamburger-bar:nth-child(3) {
    transform: translateY(-6px) rotate(-45deg);
  }

  /* Menu Drawer: Clean vertical dropdown card, eliminates horizontal scrolling */
  .nav-c2-menu-pod {
    display: none;
  }

  .mobile-nav-open .nav-c2-menu-pod {
    display: block;
    position: absolute;
    top: calc(100% + 10px);
    left: 0;
    right: 0;
    width: 100%;
    background: #ffffff;
    border: 1px solid rgba(46, 74, 59, 0.22);
    border-radius: 20px;
    box-shadow: 0 20px 48px -8px rgba(30, 25, 18, 0.28), 0 0 0 1px rgba(0, 0, 0, 0.04);
    padding: 12px;
    box-sizing: border-box;
    z-index: 999;
    animation: navMobileSlide 0.22s cubic-bezier(0.16, 1, 0.3, 1) forwards;
  }

  @keyframes navMobileSlide {
    from {
      opacity: 0;
      transform: translateY(-8px) scale(0.98);
    }
    to {
      opacity: 1;
      transform: translateY(0) scale(1);
    }
  }

  .mobile-nav-open .nav-c2-menu {
    display: flex;
    flex-direction: column;
    width: 100%;
    gap: 3px;
    padding: 0;
    margin: 0;
    list-style: none;
  }

  .mobile-nav-open .nav-c2-menu li {
    display: block;
    width: 100%;
  }

  .mobile-nav-open .nav-c2-menu a {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    box-sizing: border-box;
    padding: 13px 16px;
    font-size: 15px;
    font-weight: 500;
    color: var(--ink);
    border-radius: 12px;
    text-decoration: none;
    background: transparent;
    border-bottom: 1px solid rgba(0, 0, 0, 0.035);
    transition: all 0.15s ease;
  }

  .mobile-nav-open .nav-c2-menu a:hover,
  .mobile-nav-open .nav-c2-menu a:active {
    background: #f7f4ee;
    color: var(--forest);
  }

  .mobile-nav-open .nav-c2-menu a.is-active-page {
    background: rgba(46, 74, 59, 0.09);
    color: var(--forest);
    font-weight: 700;
    border-bottom-color: transparent;
  }

  .mobile-nav-open .nav-c2-menu a.is-active-page::after {
    display: none;
  }

  .mobile-nav-open .nav-trial-highlight {
    background: var(--forest) !important;
    color: #ffffff !important;
    font-weight: 600 !important;
    margin-top: 8px;
    padding: 14px 18px !important;
    border-radius: 12px !important;
    justify-content: center !important;
    box-shadow: 0 4px 14px rgba(46, 74, 59, 0.28);
    border: none !important;
    gap: 8px;
  }
}

/* ==========================================================================
   HOOK SECTION (EDITORIAL INTRO & SPREADSHEET CLASH)
   ========================================================================== */
.hook-section {
  display: grid;
  grid-template-columns: 0.82fr 1.18fr;
  gap: 40px;
  align-items: center;
  padding: 64px 0 88px;
}

.hook-left .eyebrow {
  margin-bottom: 16px;
  color: var(--terra);
  display: flex;
  align-items: center;
  gap: 8px;
}

.hook-left .eyebrow::before {
  content: "";
  display: inline-block;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background-color: var(--terra);
}

.hook-section h1 {
  font-size: clamp(34px, 4.5vw, 60px);
  line-height: 1.08;
  letter-spacing: -0.02em;
  word-break: normal;
  overflow-wrap: break-word;
}

.hook-section h1 em {
  font-style: normal;
  color: var(--terra);
}

.hook-lead {
  font-size: 19px;
  color: #424640;
  max-width: 44ch;
  margin: 24px 0 32px;
  line-height: 1.5;
}

.hook-actions {
  display: flex;
  gap: 16px;
  align-items: center;
  flex-wrap: wrap;
}

.hero-trial-guarantee {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 14px;
  font-size: 13px;
  color: var(--muted);
}

.hero-trial-guarantee .dot-sep {
  opacity: 0.4;
}

.hero-trial-guarantee span {
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.nav-trial-highlight {
  color: var(--forest) !important;
  font-weight: 600 !important;
}

.nav-trial-highlight:hover {
  background: rgba(46, 74, 59, 0.08) !important;
  color: var(--forest-dark) !important;
}

.hook-facts {
  display: flex;
  gap: 32px;
  margin-top: 52px;
  padding-top: 24px;
  border-top: 1px solid var(--line);
}

.hook-facts div {
  font-size: 13.5px;
  color: var(--muted);
  line-height: 1.35;
}

.hook-facts strong {
  display: block;
  font-family: var(--serif);
  font-size: 21px;
  font-weight: 400;
  color: var(--ink);
  margin-bottom: 4px;
}

/* Hero Presenter Image Card (Seamlessly Blended with Warm Editorial Canvas) */
.hero-visual-wrap {
  position: relative;
  width: 100%;
  max-width: 792px;
  justify-self: center;
  display: flex;
  justify-content: center;
  align-items: center;
}

.hero-visual-wrap::before {
  content: '';
  position: absolute;
  inset: -24px;
  background: radial-gradient(ellipse at 50% 50%, rgba(239, 219, 192, 0.65) 0%, rgba(247, 244, 238, 0) 72%);
  filter: blur(28px);
  z-index: 0;
  pointer-events: none;
}

.hero-presenter-card {
  position: relative;
  z-index: 1;
  width: 100%;
  margin: 0;
  border-radius: 24px;
  overflow: hidden;
  background: transparent;
  transition: transform 0.35s cubic-bezier(0.22, 1, 0.36, 1);
}

.hero-presenter-card:hover {
  transform: translateY(-3px);
}

.hero-presenter-card img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 24px;
  mask-image: radial-gradient(ellipse 96% 92% at 50% 50%, #000000 76%, rgba(0, 0, 0, 0.7) 88%, transparent 100%);
  -webkit-mask-image: radial-gradient(ellipse 96% 92% at 50% 50%, #000000 76%, rgba(0, 0, 0, 0.7) 88%, transparent 100%);
  filter: drop-shadow(0 20px 44px rgba(45, 32, 20, 0.16));
}

.sheet-card {
  background: #ffffff;
  border: 1px solid #cfd3d6;
  border-radius: 8px;
  box-shadow: 0 32px 64px -24px rgba(40, 30, 20, 0.35);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;
  font-size: 13px;
  color: #222;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  max-width: 100%;
  rotate: -1.2deg;
  transition: rotate 0.3s ease, box-shadow 0.3s ease;
}

.sheet-card:hover {
  rotate: 0deg;
  box-shadow: 0 36px 72px -20px rgba(40, 30, 20, 0.45);
}

.sheet-toolbar {
  display: flex;
  gap: 8px;
  align-items: center;
  padding: 10px 14px;
  background-color: #f1f3f4;
  border-bottom: 1px solid #d5d8da;
  font-size: 12px;
  color: #5f6368;
}

.sheet-toolbar .cell-badge {
  background-color: #fff;
  border: 1px solid #d5d8da;
  padding: 3px 8px;
  border-radius: 3px;
  font-weight: 600;
  color: #1a73e8;
}

.sheet-table {
  border-collapse: collapse;
  width: 100%;
}

.sheet-table th, .sheet-table td {
  border: 1px solid #e1e3e5;
  padding: 10px 12px;
  text-align: left;
  white-space: nowrap;
}

.sheet-table th {
  background-color: #f8f9fa;
  color: #5f6368;
  font-weight: 500;
  text-align: center;
  font-size: 11px;
}

.sheet-table td.rn {
  background-color: #f8f9fa;
  color: #5f6368;
  text-align: center;
  width: 36px;
  font-size: 11px;
}

.sheet-table tr.clash-row td:not(.rn) {
  background-color: #fdecea;
}

.sheet-table tr.clash-row td.clash-text {
  color: var(--red);
  font-weight: 500;
  text-decoration: underline wavy var(--red);
  text-underline-offset: 4px;
}

.sheet-annotation {
  position: absolute;
  right: -8px;
  top: -36px;
  font-family: var(--sans);
  font-style: italic;
  font-size: 18px;
  font-weight: 500;
  color: var(--red);
  rotate: 4deg;
}

.kismet-prevention-chip {
  position: absolute;
  left: 24px;
  bottom: -36px;
  rotate: 1deg;
  background-color: var(--card);
  border: 1px solid var(--line);
  border-left: 4px solid var(--terra);
  border-radius: 10px;
  padding: 14px 18px;
  box-shadow: 0 20px 45px -15px rgba(40, 30, 20, 0.35);
  font-size: 14px;
  max-width: 380px;
  line-height: 1.45;
}

.kismet-prevention-chip .chip-tag {
  color: var(--terra);
  margin-bottom: 6px;
}

@media (max-width: 980px) {
  .hook-section {
    grid-template-columns: 1fr;
    gap: 40px;
    padding: 32px 0 48px;
  }
  .hero-visual-wrap {
    max-width: 100%;
    margin: 0 auto;
  }
}

@media (max-width: 600px) {
  .hook-lead {
    font-size: 17px;
    margin: 20px 0 28px;
  }
  .hook-actions {
    flex-direction: column;
    align-items: stretch;
    width: 100%;
    gap: 10px;
  }
  .hook-actions .btn {
    width: 100%;
    justify-content: center;
    padding: 13px 20px;
    font-size: 15px;
  }
  .hook-facts {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    margin-top: 32px;
    padding-top: 20px;
  }
  .hook-facts div:last-child {
    grid-column: 1 / -1;
  }
  .sheet-card {
    rotate: 0deg !important;
  }
  .sheet-card:hover {
    rotate: 0deg !important;
  }
  .kismet-prevention-chip {
    position: static !important;
    margin-top: 14px;
    width: 100%;
    max-width: 100%;
    rotate: 0deg !important;
  }
}

/* ==========================================================================
   LAPTOP SHOWCASE SECTION (GEMINI VIDEO + INTERACTIVE DESK)
   ========================================================================== */
.block-section {
  padding: 96px 0 0;
}

.chapter-header {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  border-top: 1px solid var(--line);
  padding-top: 24px;
  margin-bottom: 32px;
}

.chapter-header h2 {
  font-size: clamp(34px, 4vw, 48px);
  line-height: 1.05;
}



.showcase-container {
  background-color: #121413;
  border: 1px solid #282d2a;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  position: relative;
}

.laptop-viewport {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  background: #000;
  overflow: hidden;
  cursor: pointer;
}

.laptop-video-element {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Dynamic screen overlay that can switch between tabs once open */
.screen-overlay {
  position: absolute;
  left: 7.27%;
  top: 2.8%;
  width: 85.9%;
  height: 85.8%;
  object-fit: cover;
  object-position: top left;
  border-radius: 2px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.5s ease;
  z-index: 5;
}

.screen-overlay.is-active {
  opacity: 1;
  pointer-events: auto;
}

/* Video Control Deck */
.showcase-control-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 24px;
  background-color: #181c1a;
  border-top: 1px solid #262c29;
  color: #f3eee4;
  gap: 16px;
  flex-wrap: wrap;
}

.showcase-screen-tabs {
  display: flex;
  gap: 8px;
  align-items: center;
  overflow-x: auto;
}

.tab-btn {
  background: rgba(255, 255, 255, 0.08);
  color: #c5c2ba;
  padding: 6px 14px;
  border-radius: var(--radius-full);
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.04em;
  transition: background-color 0.2s ease, color 0.2s ease;
}

.tab-btn:hover {
  background: rgba(255, 255, 255, 0.16);
  color: #fff;
}

.tab-btn.is-selected {
  background-color: var(--terra);
  color: #fff;
}

.showcase-playback-controls {
  display: flex;
  align-items: center;
  gap: 12px;
}

.playback-toggle-btn {
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
  border-radius: var(--radius-full);
  padding: 6px 16px;
  font-family: var(--mono);
  font-size: 11px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: background 0.2s ease;
}

.playback-toggle-btn:hover {
  background: rgba(255, 255, 255, 0.22);
}

.status-indicator {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--mono);
  font-size: 11px;
  color: #a4aba6;
}

.status-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background-color: #a4aba6;
  transition: background-color 0.2s ease;
}

.status-dot.live {
  background-color: #4ade80;
  box-shadow: 0 0 8px #4ade80;
}

/* Scrub Progress Bar */
.video-scrub-bar {
  width: 100%;
  height: 4px;
  background: rgba(255, 255, 255, 0.15);
  cursor: pointer;
  position: relative;
}

.video-scrub-fill {
  height: 100%;
  width: 0%;
  background-color: var(--terra);
  transition: width 0.1s linear;
}

.showcase-caption {
  display: flex;
  justify-content: space-between;
  margin-top: 14px;
  font-size: 14.5px;
  color: var(--muted);
}

@media (max-width: 768px) {
  .showcase-control-bar {
    padding: 12px 14px;
    flex-direction: column;
    align-items: stretch;
    gap: 12px;
  }
  .showcase-screen-tabs {
    width: 100%;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    padding-bottom: 2px;
    flex-wrap: nowrap;
    white-space: nowrap;
  }
  .showcase-screen-tabs::-webkit-scrollbar {
    display: none;
  }
  .showcase-screen-tabs span.mono {
    display: none;
  }
  .showcase-playback-controls {
    display: flex;
    justify-content: space-between;
    width: 100%;
  }
  .showcase-caption {
    padding: 8px 4px;
    flex-direction: column;
    align-items: flex-start;
    gap: 6px;
    font-size: 13px;
  }
}

.the-story-page .wrap {
  width: min(1340px, 100% - 48px);
}

/* ==========================================================================
   STORY CHAPTERS (9 CORE RESORT OPERATIONS)
   ========================================================================== */
.story-chapter {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 44px;
  align-items: center;
  padding: 80px 0;
  border-top: 1px solid var(--line);
}

.story-chapter.flip {
  grid-template-columns: 1.2fr 0.8fr;
}

.story-chapter.flip .story-copy {
  order: 2;
}

.story-copy .mono {
  margin-bottom: 14px;
}

.story-copy h3 {
  font-size: clamp(26px, 2.5vw, 36px);
  line-height: 1.15;
  margin-bottom: 20px;
}

/* Advantage Explainer Split with Small Illustration */
.advantage-explainer-with-illus {
  display: flex;
  gap: 18px;
  align-items: flex-start;
  flex-wrap: wrap;
}

.advantage-spot-card {
  flex-shrink: 0;
  width: 110px;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  padding: 8px;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  transition: transform 0.25s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.25s ease;
}

.advantage-spot-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.advantage-spot-card img {
  width: 100%;
  height: auto;
  aspect-ratio: 1 / 1;
  border-radius: 6px;
  display: block;
}

.advantage-spot-card .spot-tag {
  font-size: 10px;
  font-weight: 700;
  color: var(--terra);
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.advantage-text-body {
  flex: 1 1 260px;
  min-width: 0;
}

.advantage-text-body p {
  color: #464840;
  margin: 0 0 14px;
  font-size: 15.5px;
  line-height: 1.55;
  text-wrap: pretty;
}

@media (max-width: 680px) {
  .advantage-explainer-with-illus {
    flex-direction: column;
    gap: 12px;
    align-items: center;
    text-align: left;
  }
  .advantage-spot-card {
    width: auto;
    min-width: 140px;
    margin-inline: auto;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    gap: 12px;
    padding: 8px 16px;
  }
  .advantage-spot-card img {
    width: 44px;
    height: 44px;
    flex-shrink: 0;
    margin: 0 auto;
  }
  .advantage-spot-card .spot-tag {
    font-size: 11px;
  }
  .advantage-text-body {
    width: 100%;
  }
}

/* Operational Versus Table */
.vs-table {
  display: grid;
  gap: 10px;
  font-size: 15px;
}

.vs-row {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 10px 0;
  border-top: 1px dashed var(--line);
}

.vs-row span:not([class]) {
  font-size: 14.5px;
  line-height: 1.55;
  color: var(--ink);
  text-wrap: pretty;
}

.vs-row .label-x {
  color: var(--red);
  font-family: var(--mono);
  font-size: 10.5px;
  font-weight: 500;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.vs-row .label-k {
  color: var(--forest);
  font-family: var(--mono);
  font-size: 10.5px;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.shot-card {
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  overflow: hidden;
  background-color: var(--card);
  box-shadow: var(--shadow-md);
  margin: 0 auto;
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
  transition: translate 0.25s ease, box-shadow 0.25s ease;
}

.shot-card:hover {
  translate: 0 -3px;
  box-shadow: var(--shadow-lg);
}

.shot-card img {
  width: 100%;
  height: auto;
  display: block;
}

.shot-card figcaption {
  padding: 12px 18px;
  border-top: 1px solid var(--line);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

@media (max-width: 900px) {
  .story-chapter, .story-chapter.flip {
    grid-template-columns: 1fr;
    gap: 28px;
    padding: 44px 0;
    justify-items: center;
  }
  .story-chapter .story-copy,
  .story-chapter.flip .story-copy {
    width: 100%;
    max-width: 100%;
    order: 1;
  }
  .story-chapter .shot-card,
  .story-chapter.flip .shot-card {
    order: 2;
    width: 100%;
    max-width: 100%;
    margin: 0 auto !important;
    display: flex;
    flex-direction: column;
    align-items: center;
  }
  .shot-card img {
    width: 100%;
    max-width: 100%;
    height: auto;
    display: block;
    margin: 0 auto;
    object-fit: contain;
  }
  .shot-card figcaption {
    width: 100%;
    box-sizing: border-box;
    padding: 10px 14px;
    font-size: 11px;
    flex-direction: column;
    align-items: flex-start;
    gap: 4px;
  }
}

/* ==========================================================================
   HEAD-TO-HEAD COMPARISON TABLE
   ========================================================================== */
.compare-section h2 {
  font-size: clamp(36px, 4vw, 50px);
}

.compare-table-wrapper {
  display: block;
  width: 100%;
  max-width: 100%;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  margin-top: 40px;
  border-top: 2px solid var(--ink);
  box-sizing: border-box;
  contain: inline-size;
}

@media (max-width: 768px) {
  .compare-table-wrapper {
    margin-top: 24px;
  }
}

.compare-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 16px;
  min-width: 680px;
}

.compare-table th {
  text-align: left;
  padding: 18px 12px 14px 0;
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--muted);
  border-bottom: 1px solid var(--line);
}

.compare-table td {
  padding: 18px 12px 18px 0;
  border-bottom: 1px solid var(--line);
  vertical-align: top;
  line-height: 1.45;
}

.compare-table td:first-child {
  font-family: var(--serif);
  font-size: 18px;
  color: var(--ink);
  width: 25%;
}

.compare-table td.col-sheet {
  color: #70443d;
  width: 37%;
  padding-right: 24px;
}

.compare-table td.col-sheet::before {
  content: "✕ ";
  color: var(--red);
  font-size: 13px;
  font-weight: 700;
}

.compare-table td.col-kismet {
  color: var(--forest);
  font-weight: 500;
  width: 38%;
}

.compare-table td.col-kismet::before {
  content: "✓ ";
  color: var(--green);
  font-size: 14px;
  font-weight: 700;
}

/* ==========================================================================
   9-MENU ARCHITECTURAL GRID (CLICK / HOVER TO PREVIEW)
   ========================================================================== */
.menus-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  margin-top: 44px;
  border-top: 2px solid var(--ink);
}

.menu-card {
  padding: 24px 28px 28px 0;
  border-bottom: 1px solid var(--line);
  display: grid;
  grid-template-columns: 44px 1fr;
  gap: 6px 14px;
  cursor: pointer;
  background-color: transparent;
  transition: background-color 0.2s ease, translate 0.2s ease;
  text-align: left;
}

.menu-card:nth-child(3n+2), .menu-card:nth-child(3n) {
  padding-left: 28px;
  border-left: 1px solid var(--line);
}

.menu-card .menu-num {
  grid-row: span 2;
  padding-top: 4px;
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 600;
  color: var(--terra);
}

.menu-card strong {
  font-family: var(--serif);
  font-size: 22px;
  font-weight: 400;
  color: var(--ink);
  transition: color 0.2s ease;
}

.menu-card span {
  color: var(--muted);
  font-size: 14.5px;
  line-height: 1.4;
}

.menu-card:hover, .menu-card:focus-visible {
  background-color: var(--card);
}

.menu-card:hover strong, .menu-card:focus-visible strong {
  color: var(--terra);
}

@media (max-width: 900px) {
  .menus-grid {
    grid-template-columns: 1fr;
  }
  .menu-card:nth-child(3n+2), .menu-card:nth-child(3n) {
    padding-left: 0;
    border-left: none;
  }
}

/* ==========================================================================
   PRICING SECTION (SINGLE ONE-TIME LIFETIME PLAN)
   ========================================================================== */
.single-pricing-wrapper {
  margin-top: 44px;
}

.single-pricing-card {
  border: 1px solid var(--forest);
  border-radius: var(--radius-lg);
  padding: 56px 48px;
  background-color: var(--card);
  box-shadow: var(--shadow-lg);
  position: relative;
  overflow: hidden;
}

.single-pricing-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 6px;
  background: linear-gradient(90deg, var(--terra), var(--forest));
}

.pricing-headline {
  text-align: center;
  max-width: 680px;
  margin: 0 auto 36px;
}

.eyebrow-pill-light {
  display: inline-block;
  background-color: rgba(168, 90, 53, 0.12);
  color: var(--terra);
  padding: 6px 16px;
  border-radius: var(--radius-full);
  font-size: 11px;
  letter-spacing: 0.08em;
  margin-bottom: 14px;
}

.pricing-headline h3 {
  font-size: clamp(34px, 4vw, 44px);
  margin-bottom: 12px;
}

.single-pricing-card .pricing-amount {
  font-family: var(--serif);
  font-size: clamp(54px, 7vw, 76px);
  line-height: 1;
  color: var(--forest);
  margin: 12px 0 16px;
}

.single-pricing-card .pricing-amount small {
  display: block;
  font-family: var(--sans);
  font-size: 16px;
  font-weight: 500;
  color: var(--muted);
  margin-top: 6px;
}

.pricing-tagline {
  font-size: 18px;
  color: #484b45;
  line-height: 1.5;
  margin: 0 auto;
}

.single-tier-features-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px 48px;
  padding: 36px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  margin-bottom: 36px;
}

.single-tier-features-grid .tier-features {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 16px;
}

.single-tier-features-grid .tier-features li {
  display: flex;
  align-items: baseline;
  gap: 12px;
  font-size: 15.5px;
  line-height: 1.5;
  color: #3b3f3b;
}

.single-tier-features-grid .tier-features li strong {
  color: var(--ink);
}

.single-tier-features-grid .tier-features li::before {
  content: "✓";
  color: var(--forest);
  font-weight: 700;
  font-size: 16px;
}

.single-pricing-action {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
}

@media (max-width: 860px) {
  .single-pricing-card {
    padding: 36px 24px;
  }
  .single-tier-features-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }
}

@media (max-width: 600px) {
  .single-pricing-card {
    padding: 24px 16px;
  }
  .pricing-card-header h2 {
    font-size: 26px;
  }
  .price-amount .currency {
    font-size: 24px;
  }
  .price-amount .num {
    font-size: 42px;
  }
}

/* ==========================================================================
   FINAL CALL TO ACTION & FOOTER
   ========================================================================== */
.final-cta {
  text-align: center;
  padding: 80px 0 60px;
}

.final-cta h2 {
  font-size: clamp(32px, 8vw, 100px);
  line-height: 0.98;
  margin-bottom: 20px;
  word-break: break-word;
}

.final-cta p {
  color: var(--muted);
  font-size: 20px;
  max-width: 38ch;
  margin: 0 auto 36px;
}

footer.site-footer {
  border-top: 1px solid var(--line);
  padding: 28px 0 44px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: var(--muted);
  font-size: 14px;
  flex-wrap: wrap;
  gap: 16px;
}

@media (max-width: 600px) {
  footer.site-footer {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
    padding: 24px 0 36px;
  }
}

/* ==========================================================================
   ACCESSIBLE DIALOG MODALS (Demo Form & 9-Menu Screenshot Inspector)
   Modern Web Guidance: <dialog> element, showModal(), ::backdrop
   ========================================================================== */
dialog.custom-dialog {
  border: none;
  border-radius: var(--radius-md);
  padding: 0;
  background-color: var(--card);
  color: var(--ink);
  box-shadow: var(--shadow-lg);
  max-width: min(840px, 92vw);
  width: 100%;
  position: fixed;
  inset: 0;
  margin: auto;
}

dialog.custom-dialog::backdrop {
  background: rgba(28, 33, 31, 0.65);
  backdrop-filter: blur(4px);
}

.dialog-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 24px;
  border-bottom: 1px solid var(--line);
}

.dialog-header h3 {
  font-size: 22px;
}

.dialog-close-btn {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-size: 18px;
  color: var(--muted);
  transition: background-color 0.2s ease, color 0.2s ease;
}

.dialog-close-btn:hover {
  background-color: var(--paper-2);
  color: var(--ink);
}

.dialog-body {
  padding: 24px;
}

/* Form inputs inside demo dialog */
.form-grid {
  display: grid;
  gap: 16px;
}

.form-field {
  display: grid;
  gap: 6px;
}

.form-field label {
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 500;
  color: var(--muted);
  text-transform: uppercase;
}

.form-field input, .form-field select, .form-field textarea {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background-color: #fff;
  font-family: var(--sans);
  font-size: 15px;
  color: var(--ink);
  transition: border-color 0.2s ease;
}

.form-field input:focus, .form-field select:focus, .form-field textarea:focus {
  outline: none;
  border-color: var(--terra);
}

/* Screenshot Preview Lightbox */
#inspector-image {
  width: 100%;
  border-radius: var(--radius-sm);
  border: 1px solid var(--line);
  max-height: 70vh;
  object-fit: contain;
  background-color: #000;
}

.inspector-meta {
  margin-top: 14px;
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  color: var(--muted);
  font-size: 14.5px;
}

@media (max-width: 600px) {
  dialog.custom-dialog {
    max-width: calc(100vw - 20px);
    width: calc(100vw - 20px);
    max-height: 92dvh;
    overflow-y: auto;
  }
  .dialog-header {
    padding: 14px 16px;
  }
  .dialog-header h3 {
    font-size: 18px;
  }
  .dialog-body {
    padding: 16px;
  }
  .inspector-meta {
    flex-direction: column;
    align-items: flex-start;
    gap: 4px;
  }
}

/* Active navigation link */
.text-link.is-active-page {
  color: var(--terra);
  background: linear-gradient(var(--terra), var(--terra)) left bottom / 100% 2px no-repeat;
}

/* Comparison Illustration Card */
.comparison-illustration-card {
  margin: 0 0 54px;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  overflow: hidden;
  background-color: var(--card);
  box-shadow: var(--shadow-lg);
}

.comparison-illustration-card img {
  width: 100%;
  height: auto;
  display: block;
}

.comparison-illustration-card figcaption {
  padding: 14px 24px;
  border-top: 1px solid var(--line);
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
}

@media (max-width: 768px) {
  .comparison-illustration-card figcaption {
    padding: 10px 14px;
    font-size: 11px;
    flex-direction: column;
    align-items: flex-start;
    gap: 4px;
  }
}

/* Page Intro Header (for dedicated sub-pages) */
.page-intro-header {
  padding: 44px 0 24px;
  max-width: 820px;
}

.page-intro-header .eyebrow {
  color: var(--terra);
  margin-bottom: 12px;
}

.page-intro-header h1 {
  font-size: clamp(21px, 5.5vw, 58px);
  line-height: 1.1;
  margin-bottom: 16px;
  word-break: break-word;
  overflow-wrap: break-word;
}

.the-desk-page .page-intro-header h1,
.desk-hero-header h1,
.the-story-page .page-intro-header h1,
.story-hero-header h1,
.spreadsheet-hero-header h1,
.spreadsheet-page .page-intro-header h1,
.menus-hero-header h1,
.menus-page .page-intro-header h1 {
  font-size: clamp(21px, 5.5vw, 58px);
}

.page-intro-header h1 em {
  font-style: normal;
  color: var(--terra);
}

.page-intro-lead {
  font-size: clamp(16px, 2.4vw, 19px);
  color: #464840;
  line-height: 1.5;
  margin: 0;
}

@media (max-width: 600px) {
  .page-intro-header {
    padding: 24px 0 16px;
  }
}

/* Home Multi-Page Navigation Grid */
.home-sections-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
  margin-bottom: 60px;
}

.home-nav-card {
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  padding: 30px 26px;
  background-color: var(--card);
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: translate 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.home-nav-card:hover {
  translate: 0 -4px;
  box-shadow: var(--shadow-md);
  border-color: var(--terra);
}

.home-nav-card.feat-card {
  background-color: var(--forest);
  color: #fff;
  border-color: var(--forest);
}

.home-nav-card.feat-card .mono {
  color: #c9d6ce;
}

.home-nav-card.feat-card h3 {
  color: #fff;
}

.home-nav-card.feat-card p {
  color: #e2ede5;
}

.home-nav-card h3 {
  font-size: 26px;
  margin: 10px 0 12px;
}

.home-nav-card p {
  font-size: 15px;
  color: var(--muted);
  line-height: 1.45;
  margin: 0 0 20px;
}

.card-action-link {
  font-family: var(--sans);
  font-weight: 600;
  font-size: 14.5px;
  color: var(--terra);
}

.home-nav-card.feat-card .card-action-link {
  color: #f7d286;
}

/* Page Highlights Grid */
.page-highlights-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin: 54px 0 40px;
  padding-top: 36px;
  border-top: 1px solid var(--line);
}

.highlight-item h3 {
  font-size: 22px;
  margin: 8px 0 10px;
}

.highlight-item p {
  font-size: 15px;
  color: var(--muted);
  line-height: 1.5;
  margin: 0;
}

/* Page Navigation Callout (Next Chapter Banner) */
.page-nav-callout {
  margin: 60px 0 40px;
  padding: 36px 40px;
  background-color: var(--paper-2);
  border-radius: var(--radius-md);
  border: 1px solid var(--line);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}

.page-nav-callout h3 {
  font-size: 24px;
  margin: 6px 0 0;
}

/* Deep Dive Cards */
.menu-deep-dive-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.dive-card {
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background-color: var(--card);
}

.dive-card h3 {
  font-size: 22px;
  margin: 10px 0 12px;
}

.dive-card p {
  font-size: 15px;
  color: var(--muted);
  line-height: 1.5;
  margin: 0;
}

/* Trial Policy Spotlight Card */
.trial-spotlight-card {
  background: var(--card);
  border: 1.5px solid rgba(46, 74, 59, 0.28);
  border-left: 5px solid var(--forest);
  border-radius: var(--radius-md);
  padding: 32px 36px;
  box-shadow: 0 8px 24px rgba(46, 74, 59, 0.06);
  margin-bottom: 28px;
}

.trial-spotlight-badge {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 14px;
}

.trial-duration-chip {
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--forest);
  background: rgba(46, 74, 59, 0.1);
  padding: 4px 10px;
  border-radius: 6px;
  border: 1px solid rgba(46, 74, 59, 0.2);
}

.trial-spotlight-content h3 {
  font-size: clamp(22px, 3.5vw, 28px);
  margin: 0 0 12px;
  color: var(--ink);
}

.trial-spotlight-content p {
  font-size: 16px;
  color: #424640;
  line-height: 1.55;
  margin: 0 0 20px;
}

.trial-steps-row {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 18px;
  margin: 24px 0 28px;
  background: rgba(255, 255, 255, 0.7);
  border: 1px solid var(--line-light);
  border-radius: 12px;
  padding: 20px;
}

.trial-step-box {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.trial-step-box .step-num {
  font-size: 11px;
  font-weight: 700;
  color: var(--terra);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.trial-step-box strong {
  font-size: 16px;
  color: var(--ink);
}

.trial-step-box p {
  font-size: 13.5px;
  color: var(--muted);
  line-height: 1.45;
  margin: 0;
}

.trial-step-arrow {
  font-size: 24px;
  color: var(--terra);
  font-weight: bold;
}

.trial-spotlight-actions {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
  margin-top: 10px;
}

@media (max-width: 768px) {
  .trial-spotlight-card {
    padding: 20px 18px;
  }
  .trial-steps-row {
    grid-template-columns: 1fr;
    gap: 14px;
    padding: 16px;
  }
  .trial-step-arrow {
    display: none;
  }
  .trial-spotlight-actions {
    flex-direction: column;
    align-items: stretch;
    gap: 10px;
  }
  .trial-spotlight-actions .btn {
    width: 100%;
    justify-content: center;
  }
}

/* FAQ Grid */
.faq-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px 36px;
  margin-top: 24px;
}

.faq-item {
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background-color: var(--card);
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.faq-item:hover {
  border-color: rgba(46, 74, 59, 0.35);
  box-shadow: 0 8px 24px -6px rgba(30, 25, 18, 0.08);
}

.faq-item h4 {
  font-size: 18px;
  margin-bottom: 10px;
  color: var(--ink);
  line-height: 1.35;
}

.faq-item p {
  font-size: 15px;
  color: #4a4d47;
  line-height: 1.55;
  margin: 0;
}

/* FAQ Jump Nav Bar */
.faq-jump-nav {
  display: flex;
  align-items: center;
  gap: 16px;
  margin: 20px 0 36px;
  padding: 14px 20px;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  flex-wrap: wrap;
}

.faq-jump-label {
  font-size: 12px;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  white-space: nowrap;
}

.faq-jump-links {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.faq-jump-pill {
  display: inline-flex;
  align-items: center;
  font-family: var(--font-mono);
  font-size: 12px;
  padding: 6px 14px;
  background: #f7f4ee;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--ink);
  text-decoration: none;
  transition: all 0.18s ease;
}

.faq-jump-pill:hover {
  background: var(--forest);
  color: #fff;
  border-color: var(--forest);
  text-decoration: none;
  transform: translateY(-1px);
}

/* FAQ Support Banner */
.faq-support-banner {
  margin: 60px 0 30px;
}

.faq-support-card {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 32px;
  padding: 36px 40px;
  background: #f4efe6;
  border: 1px solid rgba(46, 74, 59, 0.2);
  border-radius: var(--radius-lg);
  box-shadow: 0 10px 30px -10px rgba(30, 25, 18, 0.06);
}

.faq-support-text {
  flex: 1;
}

.faq-support-text h3 {
  font-size: clamp(22px, 3vw, 28px);
  margin: 12px 0 10px;
  color: var(--ink);
}

.faq-support-text p {
  font-size: 15.5px;
  color: #424640;
  line-height: 1.55;
  margin: 0;
  max-width: 600px;
}

.faq-support-actions {
  display: flex;
  flex-direction: column;
  gap: 12px;
  min-width: 260px;
}

@media (max-width: 900px) {
  .page-highlights-grid,
  .menu-deep-dive-grid,
  .faq-grid {
    grid-template-columns: 1fr;
  }
  .faq-support-card {
    flex-direction: column;
    align-items: stretch;
    padding: 24px 20px;
    gap: 20px;
  }
  .faq-support-actions {
    min-width: 0;
    width: 100%;
  }
  .faq-support-actions .btn {
    width: 100%;
    justify-content: center;
  }
}

/* ==========================================================================
   HITPAY-INSPIRED INTERACTIVE BEFORE/AFTER SPLIT SLIDER & BENTO GRID
   ========================================================================== */

/* Split Slider Section */
.split-slider-section {
  padding-top: 50px;
  margin-bottom: 70px;
}

.split-comparison-container {
  position: relative;
  width: 100%;
  max-width: 1040px;
  aspect-ratio: 16 / 10;
  margin: 0 auto;
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 20px 48px -12px rgba(30, 25, 18, 0.16), 0 0 0 1px rgba(0, 0, 0, 0.08);
  background-color: #1a1a1a;
  user-select: none;
  touch-action: pan-y;
  cursor: ew-resize;
  --split-pos: 50%;
}

.split-side {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  box-sizing: border-box;
  padding: 0;
  margin: 0;
}

/* Layer 1: Left / Base (Kismet Side with Full Botanical Sidebar) */
.split-left-kismet {
  z-index: 1;
  background: #f7f4ee;
}

/* Layer 2: Right / Clipped (Spreadsheet Side with Red Double-Booking Errors) */
.split-right-sheet {
  z-index: 2;
  background: #212121;
  clip-path: inset(0 0 0 var(--split-pos));
  -webkit-clip-path: inset(0 0 0 var(--split-pos));
}

.split-compare-img {
  width: 100%;
  height: 100%;
  object-fit: fill;
  display: block;
  user-select: none;
  pointer-events: none;
}

.split-badge {
  position: absolute;
  top: 14px;
  z-index: 5;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 700;
  padding: 6px 14px;
  border-radius: 999px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.2);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  pointer-events: none;
}

.split-left-kismet .split-badge {
  left: 14px;
}

.split-right-sheet .split-badge {
  right: 14px;
}

.badge-warning {
  background: rgba(253, 236, 234, 0.95);
  color: #b3261e;
  border: 1px solid rgba(179, 38, 30, 0.3);
}

.badge-success {
  background: rgba(230, 244, 234, 0.95);
  color: #137333;
  border: 1px solid rgba(19, 115, 51, 0.3);
}

/* Split Slider Handle */
.split-handle {
  position: absolute;
  top: 0;
  bottom: 0;
  left: var(--split-pos);
  width: 4px;
  background: var(--terra);
  z-index: 10;
  transform: translateX(-50%);
  cursor: ew-resize;
  touch-action: pan-y;
}

.handle-line {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.handle-button {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: #ffffff;
  border: 2px solid var(--terra);
  box-shadow: 0 4px 14px rgba(139, 74, 45, 0.35);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--terra);
  font-size: 13px;
  font-weight: 800;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.split-handle:hover .handle-button,
.split-handle:active .handle-button {
  transform: translate(-50%, -50%) scale(1.1);
  box-shadow: 0 6px 18px rgba(139, 74, 45, 0.45);
}

.handle-arrow {
  font-size: 11px;
}

.handle-icon {
  margin: 0 1px;
  font-size: 12px;
}

.handle-hint {
  position: absolute;
  bottom: 14px;
  left: 50%;
  transform: translateX(-50%);
  background: rgba(46, 74, 59, 0.92);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  color: #ffffff;
  font-family: var(--mono);
  font-size: 10px;
  font-weight: 600;
  padding: 4px 10px;
  border-radius: 999px;
  white-space: nowrap;
  pointer-events: none;
  letter-spacing: 0.04em;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

@media (max-width: 680px) {
  .split-comparison-container {
    border-radius: 12px;
  }
  .split-badge {
    font-size: 9.5px;
    padding: 4px 10px;
    top: 8px;
  }
  .split-left-kismet .split-badge {
    left: 8px;
  }
  .split-right-sheet .split-badge {
    right: 8px;
  }
  .handle-button {
    width: 38px;
    height: 38px;
    font-size: 11px;
  }
  .handle-hint {
    font-size: 9px;
    padding: 3px 8px;
    bottom: 8px;
  }
}

/* Reduced Motion Override */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}
