/* ============================================
   Landing Page Styles
   Uses the app's existing Tailwind color palette:
   - Primary/accent: blue-600 (#2563eb), blue-700 (#1d4ed8)
   - Dark text: gray-900 (#111827)
   - Body text: gray-600 (#4b5563)
   - Secondary text: gray-500 (#6b7280), gray-400 (#9ca3af)
   - Borders: gray-200 (#e5e7eb)
   - Light bg: gray-50 (#f9fafb)
   - White: #fff
   ============================================ */

/* Page reset for landing */
.landing-page {
  background: #fff;
  color: #111827;
  font-family: ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

.landing-page > main {
  flex: 1;
}

.landing-page a {
  text-decoration: none;
}


/* ---- Navigation ---- */

.landing-nav {
  position: sticky;
  top: 0;
  z-index: 40;
  padding: 12px 0;
  display: flex;
  align-items: center;
  background: #fff;
  transition: border-color 0.2s, box-shadow 0.2s;
  border-bottom: 1px solid transparent;
}

.landing-nav--scrolled {
  border-bottom-color: #e5e7eb;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.04);
}

.landing-nav__inner {
  max-width: 1120px;
  width: 100%;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.landing-nav__brand {
  display: flex;
  align-items: center;
}

/* ---- Inline brand text (used in body copy) ---- */

.landing-wordmark__run {
  color: #0f172a;
  font-weight: 800;
}

.landing-wordmark__sheet {
  color: #2563eb;
  font-weight: 500;
}

.landing-nav__links {
  display: flex;
  align-items: center;
  gap: 8px;
}

.landing-nav__link {
  background: none;
  border: none;
  padding: 6px 12px;
  font-size: 14px;
  font-weight: 500;
  color: #6b7280;
  cursor: pointer;
  border-radius: 6px;
  transition: color 0.15s, background 0.15s;
  text-decoration: none;
}

.landing-nav__link:hover {
  color: #111827;
  background: #f9fafb;
}

.landing-nav__cta {
  background: #2563eb;
  color: #fff;
  border: none;
  padding: 6px 16px;
  font-size: 14px;
  font-weight: 600;
  border-radius: 6px;
  cursor: pointer;
  transition: background 0.15s;
  margin-left: 4px;
}

.landing-nav__cta:hover {
  background: #1d4ed8;
}

/* ---- Mobile Nav ---- */

.landing-nav__hamburger {
  display: none;
  background: none;
  border: none;
  padding: 6px;
  cursor: pointer;
  border-radius: 6px;
  color: #374151;
  transition: background 0.15s;
}

.landing-nav__hamburger:hover {
  background: #f3f4f6;
}

.landing-nav__hamburger svg {
  width: 22px;
  height: 22px;
}

.landing-nav__mobile-menu {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  background: #fff;
  border-bottom: 1px solid #e5e7eb;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.06);
  padding: 8px 24px 16px;
}

.landing-nav__mobile-menu--open {
  display: block;
}

.landing-nav__mobile-link {
  display: block;
  width: 100%;
  background: none;
  border: none;
  text-align: left;
  text-decoration: none;
  padding: 12px 0;
  font-size: 15px;
  font-weight: 500;
  color: #374151;
  cursor: pointer;
  border-bottom: 1px solid #f3f4f6;
  transition: color 0.15s;
}

.landing-nav__mobile-link:last-child {
  border-bottom: none;
}

.landing-nav__mobile-link:hover {
  color: #2563eb;
}

.landing-nav__mobile-link--active {
  color: #2563eb;
}

.landing-nav__mobile-cta {
  display: block;
  width: 100%;
  background: #2563eb;
  color: #fff;
  border: none;
  padding: 12px;
  font-size: 15px;
  font-weight: 600;
  border-radius: 8px;
  cursor: pointer;
  text-align: center;
  margin-top: 8px;
  transition: background 0.15s;
}

.landing-nav__mobile-cta:hover {
  background: #1d4ed8;
}

@media (max-width: 768px) {
  .landing-nav__hamburger {
    display: flex;
    align-items: center;
  }
}

/* ---- Section Label (reused) ---- */

.landing-section-label {
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #2563eb;
  margin-bottom: 32px;
}

/* ---- Hero ---- */

.landing-hero {
  max-width: 1120px;
  margin: 0 auto;
  padding: 80px 24px 64px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}

.landing-hero__headline {
  font-size: 40px;
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.025em;
  color: #111827;
  margin: 0 0 20px;
}

.landing-hero__headline-accent {
  color: #4b5563;
  font-weight: 700;
}

.landing-hero__sub {
  font-size: 17px;
  line-height: 1.65;
  color: #4b5563;
  margin: 0 0 32px;
  max-width: 520px;
}

.landing-hero__actions {
  display: flex;
  align-items: center;
  gap: 20px;
}

.landing-hero__cta {
  background: #2563eb;
  color: #fff;
  border: none;
  padding: 12px 28px;
  font-size: 15px;
  font-weight: 600;
  border-radius: 8px;
  cursor: pointer;
  transition: background 0.15s, transform 0.1s;
}

.landing-hero__cta:hover {
  background: #1d4ed8;
}

.landing-hero__cta:active {
  transform: scale(0.98);
}

.landing-hero__secondary {
  background: none;
  border: none;
  color: #6b7280;
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  padding: 0;
  transition: color 0.15s;
}

.landing-hero__secondary:hover {
  color: #2563eb;
}

.landing-hero__trust {
  font-size: 13px;
  color: #9ca3af;
  margin: 16px 0 0;
}

/* ---- Runsheet Mock Visual ---- */

.landing-runsheet-mock {
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.06), 0 8px 24px rgba(0, 0, 0, 0.04);
  font-size: 13px;
}

.landing-runsheet-mock__header {
  padding: 14px 18px 12px;
  border-bottom: 1px solid #e5e7eb;
}

.landing-runsheet-mock__title-row {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
}

.landing-runsheet-mock__show-name {
  font-weight: 700;
  font-size: 15px;
  color: #111827;
}

.landing-runsheet-mock__time {
  font-size: 12px;
  color: #9ca3af;
  font-weight: 500;
  font-variant-numeric: tabular-nums;
}

.landing-runsheet-mock__meta {
  font-size: 12px;
  color: #9ca3af;
  margin-top: 2px;
}

.landing-runsheet-mock__segments {
  padding: 4px 0;
}

.landing-runsheet-mock__seg {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 8px 18px;
  transition: background 0.15s;
}

.landing-runsheet-mock__seg:hover {
  background: #f9fafb;
}

.landing-runsheet-mock__seg-label {
  color: #374151;
  font-weight: 500;
}

.landing-runsheet-mock__seg-time {
  color: #9ca3af;
  font-size: 12px;
  font-variant-numeric: tabular-nums;
  font-weight: 500;
}

.landing-runsheet-mock__seg--break {
  background: #f3f4f6;
}

.landing-runsheet-mock__seg--break:hover {
  background: #e5e7eb;
}

.landing-runsheet-mock__seg--break .landing-runsheet-mock__seg-label {
  color: #6b7280;
  font-weight: 400;
  font-size: 12px;
}

.landing-runsheet-mock__seg--promo {
  background: #fefce8;
}

.landing-runsheet-mock__seg--promo:hover {
  background: #fef9c3;
}

.landing-runsheet-mock__seg--promo .landing-runsheet-mock__seg-label {
  color: #854d0e;
  font-weight: 400;
  font-size: 12px;
}

.landing-runsheet-mock__footer {
  padding: 10px 18px;
  border-top: 1px solid #e5e7eb;
  display: flex;
  justify-content: space-between;
  font-size: 12px;
  color: #9ca3af;
}

.landing-runsheet-mock__footer-total {
  font-weight: 600;
  color: #2563eb;
}

/* ---- Features ---- */

.landing-features {
  background: #f9fafb;
  padding: 80px 0;
}

.landing-features__inner {
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 24px;
}

.landing-feature {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: start;
  margin-bottom: 64px;
}

.landing-feature:last-child {
  margin-bottom: 0;
}

.landing-feature--reverse {
  grid-template-columns: 1fr 1fr;
  direction: rtl;
}

.landing-feature--reverse > * {
  direction: ltr;
}

.landing-feature__aside {
  max-width: 420px;
}

.landing-feature--reverse .landing-feature__aside {
  margin-left: auto;
}

.landing-feature__heading {
  font-size: 22px;
  font-weight: 700;
  color: #111827;
  margin: 0 0 10px;
  letter-spacing: -0.015em;
  line-height: 1.3;
}

.landing-feature__body {
  font-size: 15px;
  line-height: 1.7;
  color: #4b5563;
  margin: 0;
}

/* Feature aside demos */

.landing-timing-demo {
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: 8px;
  padding: 16px 20px;
  font-size: 14px;
}

.landing-timing-demo__row {
  display: flex;
  justify-content: space-between;
  padding: 6px 0;
  border-bottom: 1px solid #f3f4f6;
}

.landing-timing-demo__row:last-child {
  border-bottom: none;
  padding-top: 10px;
  margin-top: 4px;
  border-top: 2px solid #e5e7eb;
}

.landing-timing-demo__label {
  color: #6b7280;
  font-weight: 500;
}

.landing-timing-demo__value {
  font-variant-numeric: tabular-nums;
  font-weight: 600;
  color: #111827;
}

.landing-timing-demo__value--over {
  color: #dc2626;
}

.landing-timing-demo__row--result .landing-timing-demo__label {
  color: #dc2626;
  font-weight: 600;
}

.landing-guest-demo {
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: 8px;
  padding: 16px 20px;
  font-size: 14px;
}

.landing-guest-demo__seg-title {
  font-size: 12px;
  font-weight: 600;
  color: #9ca3af;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  margin-bottom: 12px;
  padding-bottom: 10px;
  border-bottom: 1px solid #f3f4f6;
}

.landing-guest-demo__guest {
  padding-left: 12px;
  border-left: 3px solid #2563eb;
}

.landing-guest-demo__name {
  font-weight: 600;
  color: #111827;
  margin-bottom: 2px;
}

.landing-guest-demo__detail {
  color: #6b7280;
  font-size: 13px;
  line-height: 1.5;
}

.landing-print-demo {
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: 8px;
  overflow: hidden;
  font-size: 13px;
}

.landing-print-demo__header {
  display: grid;
  grid-template-columns: 1fr 1fr;
  padding: 10px 20px;
  background: #f9fafb;
  border-bottom: 1px solid #e5e7eb;
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: #9ca3af;
}

.landing-print-demo__row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  padding: 8px 20px;
  border-bottom: 1px solid #f3f4f6;
}

.landing-print-demo__row:last-child {
  border-bottom: none;
}

.landing-print-demo__planned {
  font-variant-numeric: tabular-nums;
  color: #374151;
  font-weight: 500;
}

.landing-print-demo__actual {
  border-bottom: 1px dashed #d1d5db;
  min-height: 18px;
}

.landing-steps-mini {
  display: flex;
  align-items: center;
  gap: 0;
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: 8px;
  padding: 12px 14px;
}

.landing-steps-mini__step {
  display: flex;
  align-items: center;
  gap: 5px;
  font-size: 11px;
  color: #9ca3af;
  font-weight: 500;
  white-space: nowrap;
}

.landing-steps-mini__step--done {
  color: #111827;
}

.landing-steps-mini__step--active {
  color: #2563eb;
  font-weight: 600;
}

.landing-steps-mini__num {
  width: 20px;
  height: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  font-size: 10px;
  font-weight: 700;
  background: #f3f4f6;
  color: #9ca3af;
  flex-shrink: 0;
}

.landing-steps-mini__step--done .landing-steps-mini__num {
  background: #111827;
  color: #fff;
}

.landing-steps-mini__step--active .landing-steps-mini__num {
  background: #2563eb;
  color: #fff;
}

.landing-steps-mini__connector {
  width: 14px;
  height: 2px;
  background: #111827;
  margin: 0 4px;
  flex-shrink: 0;
}

.landing-steps-mini__connector--inactive {
  background: #e5e7eb;
}

/* -- Live Tracking demo -- */

.landing-live-demo {
  background: #111827;
  border-radius: 8px;
  padding: 14px;
  color: #f9fafb;
  font-size: 13px;
}

.landing-live-demo__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 12px;
}

.landing-live-demo__badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: #dc2626;
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.05em;
  padding: 3px 10px;
  border-radius: 4px;
}

.landing-live-demo__pulse {
  width: 6px;
  height: 6px;
  background: #fff;
  border-radius: 50%;
  animation: landing-pulse 1.5s ease-in-out infinite;
}

@keyframes landing-pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.3; }
}

.landing-live-demo__clock {
  font-size: 13px;
  font-weight: 600;
  font-variant-numeric: tabular-nums;
  color: #9ca3af;
}

.landing-live-demo__segment {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 6px;
  padding: 10px 12px;
  margin-bottom: 10px;
}

.landing-live-demo__seg-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 8px;
}

.landing-live-demo__seg-label {
  font-weight: 600;
  font-size: 14px;
  color: #f9fafb;
}

.landing-live-demo__seg-timer {
  font-size: 12px;
  font-weight: 600;
  font-variant-numeric: tabular-nums;
  color: #93c5fd;
}

.landing-live-demo__progress {
  height: 4px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 2px;
  overflow: hidden;
}

.landing-live-demo__progress-bar {
  height: 100%;
  background: linear-gradient(90deg, #3b82f6, #60a5fa);
  border-radius: 2px;
  transition: width 0.3s ease;
}

.landing-live-demo__metrics {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}

.landing-live-demo__metric {
  display: flex;
  flex-direction: column;
  gap: 2px;
  background: rgba(255, 255, 255, 0.04);
  border-radius: 4px;
  padding: 8px 10px;
}

.landing-live-demo__metric-label {
  font-size: 10px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: #6b7280;
}

.landing-live-demo__metric-value {
  font-size: 13px;
  font-weight: 600;
  font-variant-numeric: tabular-nums;
  color: #f9fafb;
}

.landing-live-demo__metric-value--ahead {
  color: #34d399;
}

.landing-live-demo__metric-value--behind {
  color: #f87171;
}

.landing-live-demo__metric-value--backtime {
  color: #fbbf24;
}

/* ---- How It Works ---- */

.landing-how {
  padding: 80px 0;
  background: #fff;
}

.landing-how__inner {
  max-width: 720px;
  margin: 0 auto;
  padding: 0 24px;
}

.landing-how__steps {
  display: flex;
  flex-direction: column;
  gap: 40px;
}

.landing-how__step {
  display: flex;
  gap: 24px;
  align-items: flex-start;
}

.landing-how__number {
  flex-shrink: 0;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 10px;
  background: #eff6ff;
  color: #2563eb;
  font-size: 18px;
  font-weight: 800;
  margin-top: 2px;
}

.landing-how__step-title {
  font-size: 17px;
  font-weight: 700;
  color: #111827;
  margin: 0 0 6px;
}

.landing-how__step-body {
  font-size: 15px;
  line-height: 1.65;
  color: #4b5563;
  margin: 0;
}

/* ---- Privacy / Data ---- */

.landing-privacy {
  padding: 80px 0;
  background: #fff;
  border-top: 1px solid #f3f4f6;
}

.landing-privacy__inner {
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 24px;
}

.landing-privacy__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}

.landing-privacy__card {
  padding: 24px;
  background: #f9fafb;
  border: 1px solid #f3f4f6;
  border-radius: 10px;
}

.landing-privacy__icon {
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  background: #eff6ff;
  margin-bottom: 16px;
}

.landing-privacy__icon svg {
  width: 20px;
  height: 20px;
  color: #2563eb;
}

.landing-privacy__heading {
  font-size: 15px;
  font-weight: 700;
  color: #111827;
  margin: 0 0 8px;
}

.landing-privacy__body {
  font-size: 14px;
  line-height: 1.65;
  color: #4b5563;
  margin: 0;
}

/* ---- Docs / FAQ ---- */

.landing-docs {
  padding: 80px 0;
  background: #f9fafb;
}

.landing-docs__inner {
  max-width: 720px;
  margin: 0 auto;
  padding: 0 24px;
}

.landing-docs__intro {
  font-size: 15px;
  color: #6b7280;
  margin: -20px 0 32px;
}

.landing-docs__list {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.landing-docs__item {
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: 8px;
  overflow: hidden;
  margin-bottom: 6px;
}

.landing-docs__trigger {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 16px 20px;
  background: none;
  border: none;
  cursor: pointer;
  text-align: left;
  transition: background 0.15s;
}

.landing-docs__trigger:hover {
  background: #f9fafb;
}

.landing-docs__trigger-text {
  font-size: 15px;
  font-weight: 600;
  color: #111827;
}

.landing-docs__chevron {
  width: 18px;
  height: 18px;
  color: #9ca3af;
  flex-shrink: 0;
  transition: transform 0.2s ease;
}

.landing-docs__item--open .landing-docs__chevron {
  transform: rotate(180deg);
}

.landing-docs__panel {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.25s ease;
}

.landing-docs__item--open .landing-docs__panel {
  max-height: 1200px;
}

.landing-docs__panel-inner {
  padding: 0 20px 20px;
  font-size: 14px;
  line-height: 1.7;
  color: #4b5563;
}

.landing-docs__panel-inner p {
  margin: 0 0 12px;
}

.landing-docs__panel-inner p:last-child {
  margin-bottom: 0;
}

.landing-docs__panel-inner ul {
  margin: 8px 0 12px;
  padding-left: 20px;
}

.landing-docs__panel-inner li {
  margin-bottom: 6px;
}

.landing-docs__panel-inner h4 {
  font-size: 13px;
  font-weight: 600;
  color: #374151;
  margin: 20px 0 6px;
  letter-spacing: 0.025em;
}

.landing-docs__panel-inner h4:first-of-type {
  margin-top: 8px;
}

.landing-docs__panel-inner pre {
  background: #f3f4f6;
  border: 1px solid #e5e7eb;
  border-radius: 6px;
  padding: 12px 14px;
  font-family: ui-monospace, 'SF Mono', 'Cascadia Code', Menlo, monospace;
  font-size: 12.5px;
  line-height: 1.6;
  color: #374151;
  overflow-x: auto;
  white-space: pre;
  margin: 0 0 12px;
}

/* ---- About ---- */

.landing-about {
  padding: 64px 0;
  background: #fff;
  border-top: 1px solid #f3f4f6;
}

.landing-about__inner {
  max-width: 620px;
  margin: 0 auto;
  padding: 0 24px;
}

.landing-about__body {
  font-size: 15px;
  line-height: 1.7;
  color: #4b5563;
  margin: 0 0 12px;
}

.landing-about__body:last-child {
  margin-bottom: 0;
}

.landing-about__link {
  color: #2563eb;
  text-decoration: none;
}

.landing-about__link:hover {
  text-decoration: underline;
}

/* ---- Final CTA ---- */

.landing-final-cta {
  padding: 80px 0;
  background: #fff;
}

.landing-final-cta__inner {
  max-width: 600px;
  margin: 0 auto;
  padding: 0 24px;
  text-align: center;
}

.landing-final-cta__heading {
  font-size: 28px;
  font-weight: 800;
  color: #111827;
  letter-spacing: -0.02em;
  line-height: 1.3;
  margin: 0 0 28px;
}

.landing-final-cta__button {
  background: #2563eb;
  color: #fff;
  border: none;
  padding: 14px 36px;
  font-size: 16px;
  font-weight: 600;
  border-radius: 8px;
  cursor: pointer;
  transition: background 0.15s, transform 0.1s;
}

.landing-final-cta__button:hover {
  background: #1d4ed8;
}

.landing-final-cta__button:active {
  transform: scale(0.98);
}

/* ---- Legal Page ---- */

.legal-page {
  max-width: 720px;
  margin: 0 auto;
  padding: 120px 24px 64px;
}

.legal-page__inner {
  display: flex;
  flex-direction: column;
}

.legal-page__title {
  font-size: 32px;
  font-weight: 700;
  color: #111827;
  letter-spacing: -0.01em;
  margin-bottom: 4px;
}

.legal-page__updated {
  font-size: 14px;
  color: #9ca3af;
  margin-bottom: 48px;
}

.legal-page__section {
  margin-bottom: 48px;
}

.legal-page__section--contact {
  padding-top: 24px;
  border-top: 1px solid #e5e7eb;
}

.legal-page__heading {
  font-size: 22px;
  font-weight: 600;
  color: #111827;
  margin-bottom: 24px;
  letter-spacing: -0.01em;
}

.legal-page__subheading {
  font-size: 15px;
  font-weight: 600;
  color: #374151;
  margin-top: 24px;
  margin-bottom: 8px;
}

.legal-page p {
  font-size: 15px;
  line-height: 1.6;
  color: #4b5563;
  margin: 0 0 12px;
}

.legal-page__link {
  color: #2563eb;
  text-decoration: none;
}

.legal-page__link:hover {
  text-decoration: underline;
}

@media (max-width: 480px) {
  .legal-page {
    padding: 100px 16px 48px;
  }

  .legal-page__title {
    font-size: 26px;
  }

  .legal-page__heading {
    font-size: 20px;
  }
}

/* ---- Footer ---- */

.landing-footer {
  background: #111827;
  padding: 32px 0;
}

.landing-footer__inner {
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.landing-footer__brand {
  display: flex;
  align-items: center;
}

.landing-footer__tagline {
  font-size: 13px;
  color: #9ca3af;
  font-weight: 400;
  font-style: italic;
  margin: 8px 0 0;
}

.landing-footer__meta {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: #6b7280;
}

.landing-footer__heart {
  width: 14px;
  height: 14px;
  color: #ef4444;
}

.landing-footer__link {
  color: #6b7280;
  text-decoration: none;
  transition: color 0.15s;
}

.landing-footer__link:hover {
  color: #d1d5db;
}

.landing-footer__sep {
  color: #374151;
}

/* ---- Pricing Page ---- */

.pricing-hero {
  padding: 80px 0 48px;
  text-align: center;
}

.pricing-hero__inner {
  max-width: 600px;
  margin: 0 auto;
  padding: 0 24px;
}

.pricing-hero .landing-section-label {
  margin-bottom: 20px;
}

.pricing-hero__headline {
  font-size: 36px;
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: -0.025em;
  color: #111827;
  margin: 0 0 16px;
}

.pricing-hero__sub {
  font-size: 17px;
  line-height: 1.65;
  color: #4b5563;
  margin: 0;
}

.pricing-card-section {
  padding: 0 0 80px;
}

.pricing-cards {
  max-width: 900px;
  margin: 0 auto;
  padding: 0 24px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  align-items: start;
}

.pricing-card {
  border: 2px solid #e5e7eb;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 1px 8px rgba(0, 0, 0, 0.04);
}

.pricing-card--pro {
  border-color: #2563eb;
  box-shadow: 0 4px 24px rgba(37, 99, 235, 0.08);
}

.pricing-card__header {
  padding: 32px 32px 28px;
  text-align: center;
  border-bottom: 1px solid #eff6ff;
}

.pricing-card__badge {
  display: inline-block;
  padding: 4px 12px;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: #2563eb;
  background: #eff6ff;
  border-radius: 20px;
  margin-bottom: 16px;
}

.pricing-card__name {
  font-size: 24px;
  font-weight: 800;
  color: #111827;
  margin: 0 0 8px;
}

.pricing-card__price {
  display: flex;
  align-items: baseline;
  justify-content: center;
  gap: 4px;
  margin-bottom: 12px;
}

.pricing-card__amount {
  font-size: 48px;
  font-weight: 800;
  color: #111827;
  letter-spacing: -0.03em;
  line-height: 1;
}

.pricing-card__period {
  font-size: 15px;
  color: #9ca3af;
  font-weight: 500;
}

.pricing-card__desc {
  font-size: 15px;
  line-height: 1.5;
  color: #6b7280;
  margin: 0 0 24px;
}

.pricing-card__cta {
  display: inline-block;
  background: #2563eb;
  color: #fff;
  border: none;
  padding: 12px 32px;
  font-size: 15px;
  font-weight: 600;
  border-radius: 8px;
  cursor: pointer;
  text-decoration: none;
  transition: background 0.15s, transform 0.1s;
}

.pricing-card__cta:hover {
  background: #1d4ed8;
}

.pricing-card__cta:active {
  transform: scale(0.98);
}

.pricing-card__cta--secondary {
  background: #fff;
  color: #374151;
  border: 1.5px solid #d1d5db;
}

.pricing-card__cta--secondary:hover {
  background: #f9fafb;
  border-color: #9ca3af;
}

.pricing-card__badge--beta {
  color: #059669;
  background: #ecfdf5;
}

.pricing-card__check--pro {
  color: #059669;
}

.pricing-card__features {
  padding: 28px 32px 32px;
}

.pricing-card__features-title {
  font-size: 13px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: #9ca3af;
  margin: 0 0 16px;
}

.pricing-card__list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.pricing-card__list-item {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  font-size: 14px;
  line-height: 1.5;
  color: #374151;
}

.pricing-card__check {
  width: 18px;
  height: 18px;
  color: #2563eb;
  flex-shrink: 0;
  margin-top: 1px;
}

/* Future plans note */

.pricing-future {
  padding: 0 0 80px;
}

.pricing-future__inner {
  max-width: 620px;
  margin: 0 auto;
  padding: 0 24px;
}

.pricing-future__card {
  padding: 24px 28px;
  background: #f9fafb;
  border: 1px solid #f3f4f6;
  border-radius: 10px;
}

.pricing-future__heading {
  font-size: 15px;
  font-weight: 700;
  color: #111827;
  margin: 0 0 8px;
}

.pricing-future__body {
  font-size: 14px;
  line-height: 1.65;
  color: #6b7280;
  margin: 0;
}

/* Active nav link */

.landing-nav__link--active {
  color: #111827;
  background: #f9fafb;
}

/* ============================================
   Responsive
   ============================================ */

/* Tablet (768px) */
@media (max-width: 768px) {
  .landing-hero {
    grid-template-columns: 1fr;
    padding: 48px 24px 40px;
    gap: 40px;
  }

  .landing-hero__headline {
    font-size: 32px;
  }

  .landing-hero__sub {
    font-size: 16px;
  }

  .landing-feature {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .landing-feature--reverse {
    grid-template-columns: 1fr;
    direction: ltr;
  }

  .landing-feature__aside {
    max-width: 100%;
  }

  .pricing-cards {
    grid-template-columns: 1fr;
    max-width: 480px;
  }

  .landing-privacy__grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
  }

  .landing-feature--reverse .landing-feature__aside {
    margin-left: 0;
  }

  .landing-nav__links {
    display: none;
  }

  .pricing-hero {
    padding: 48px 0 32px;
  }

  .pricing-hero__headline {
    font-size: 28px;
  }


  .landing-footer__inner {
    flex-direction: column;
    gap: 12px;
    text-align: center;
  }
}

/* Mobile (480px) */
@media (max-width: 480px) {
  .landing-nav__inner {
    padding: 0 16px;
  }

  .landing-hero {
    padding: 36px 16px 32px;
  }

  .landing-hero__headline {
    font-size: 26px;
  }

  .landing-hero__headline-accent {
    font-weight: 700;
  }

  .landing-hero__sub {
    font-size: 15px;
  }

  .landing-hero__actions {
    flex-direction: column;
    align-items: flex-start;
    gap: 14px;
  }

  .landing-hero__cta {
    width: 100%;
    text-align: center;
  }

  .landing-features,
  .landing-how,
  .landing-docs,
  .landing-privacy,
  .landing-about,
  .landing-final-cta {
    padding: 56px 0;
  }

  .landing-features__inner,
  .landing-how__inner,
  .landing-docs__inner,
  .landing-privacy__inner,
  .landing-about__inner {
    padding: 0 16px;
  }

  .landing-feature {
    margin-bottom: 48px;
  }

  .landing-feature__heading {
    font-size: 19px;
  }

  .landing-how__step {
    gap: 16px;
  }

  .landing-how__number {
    width: 34px;
    height: 34px;
    font-size: 15px;
  }

  .landing-final-cta__heading {
    font-size: 22px;
  }

  .landing-final-cta__inner {
    padding: 0 16px;
  }

  .landing-steps-mini {
    padding: 12px 14px;
    gap: 0;
    flex-wrap: wrap;
    row-gap: 8px;
    justify-content: center;
  }

  .landing-steps-mini__connector {
    width: 12px;
    margin: 0 4px;
  }

  .landing-privacy__grid {
    grid-template-columns: 1fr;
  }

  .pricing-hero {
    padding: 36px 0 24px;
  }

  .pricing-hero__inner {
    padding: 0 16px;
  }

  .pricing-hero__headline {
    font-size: 24px;
  }

  .pricing-hero__sub {
    font-size: 15px;
  }

  .pricing-card-section__inner,
  .pricing-future__inner {
    padding: 0 16px;
  }

  .pricing-card-section,
  .pricing-future {
    padding-bottom: 56px;
  }

  .pricing-card__header {
    padding: 24px 20px 20px;
  }

  .pricing-card__features {
    padding: 20px 20px 24px;
  }

  .pricing-card__amount {
    font-size: 40px;
  }

  .landing-footer__inner {
    padding: 0 16px;
  }
}

/* Small phones (375px) */
@media (max-width: 375px) {
  .landing-hero__headline {
    font-size: 22px;
  }

  .landing-hero__sub {
    font-size: 14px;
  }

  .landing-final-cta__heading {
    font-size: 20px;
  }
}

/* ---- Docs Page ---- */

.docs-page {
  max-width: 720px;
  margin: 0 auto;
  padding: 48px 24px 64px;
}

.docs-page__title {
  font-size: 32px;
  font-weight: 700;
  color: #111827;
  letter-spacing: -0.01em;
  margin-bottom: 8px;
}

.docs-page__subtitle {
  font-size: 17px;
  line-height: 1.65;
  color: #4b5563;
  margin-bottom: 48px;
}

/* Docs sub-nav (horizontal strip below hero on docs pages) */

.docs-subnav {
  display: flex;
  gap: 4px;
  flex-wrap: wrap;
  margin-bottom: 48px;
  padding-bottom: 24px;
  border-bottom: 1px solid #e5e7eb;
}

.docs-subnav__link {
  font-size: 13px;
  font-weight: 500;
  color: #6b7280;
  text-decoration: none;
  padding: 6px 12px;
  border-radius: 6px;
  transition: color 0.15s, background 0.15s;
}

.docs-subnav__link:hover {
  color: #111827;
  background: #f9fafb;
}

.docs-subnav__link--active {
  color: #2563eb;
  background: #eff6ff;
  font-weight: 600;
}

/* Docs content cards (index page) */

.docs-cards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.docs-card {
  display: block;
  text-decoration: none;
  padding: 24px;
  background: #f9fafb;
  border: 1px solid #e5e7eb;
  border-radius: 10px;
  transition: border-color 0.15s, box-shadow 0.15s;
}

.docs-card:hover {
  border-color: #2563eb;
  box-shadow: 0 2px 8px rgba(37, 99, 235, 0.08);
}

.docs-card__icon {
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  background: #eff6ff;
  margin-bottom: 14px;
}

.docs-card__icon svg {
  width: 20px;
  height: 20px;
  color: #2563eb;
}

.docs-card__title {
  font-size: 15px;
  font-weight: 700;
  color: #111827;
  margin-bottom: 6px;
}

.docs-card__desc {
  font-size: 14px;
  line-height: 1.55;
  color: #6b7280;
  margin: 0;
}

/* Docs prose content (sub-pages) */

.docs-content h2 {
  font-size: 22px;
  font-weight: 700;
  color: #111827;
  margin: 48px 0 16px;
  letter-spacing: -0.01em;
}

.docs-content h2:first-child {
  margin-top: 0;
}

.docs-content h3 {
  font-size: 16px;
  font-weight: 600;
  color: #374151;
  margin: 32px 0 10px;
}

.docs-content p {
  font-size: 15px;
  line-height: 1.7;
  color: #4b5563;
  margin: 0 0 16px;
}

.docs-content ul, .docs-content ol {
  margin: 0 0 16px;
  padding-left: 24px;
}

.docs-content li {
  font-size: 15px;
  line-height: 1.7;
  color: #4b5563;
  margin-bottom: 8px;
}

.docs-content strong {
  color: #111827;
  font-weight: 600;
}

.docs-content pre {
  background: #f3f4f6;
  border: 1px solid #e5e7eb;
  border-radius: 6px;
  padding: 14px 16px;
  font-family: ui-monospace, 'SF Mono', 'Cascadia Code', Menlo, monospace;
  font-size: 13px;
  line-height: 1.6;
  color: #374151;
  overflow-x: auto;
  white-space: pre;
  margin: 0 0 16px;
}

.docs-content .docs-tip {
  padding: 16px 20px;
  background: #eff6ff;
  border: 1px solid #bfdbfe;
  border-radius: 8px;
  margin: 0 0 16px;
}

.docs-content .docs-tip p {
  margin: 0;
  color: #1e40af;
  font-size: 14px;
}

.docs-content .docs-tip strong {
  color: #1e40af;
}

/* Docs table */

.docs-content table {
  width: 100%;
  border-collapse: collapse;
  margin: 0 0 16px;
  font-size: 14px;
}

.docs-content th {
  text-align: left;
  font-weight: 600;
  color: #111827;
  padding: 10px 12px;
  border-bottom: 2px solid #e5e7eb;
  font-size: 13px;
}

.docs-content td {
  padding: 10px 12px;
  border-bottom: 1px solid #f3f4f6;
  color: #4b5563;
  line-height: 1.5;
}

/* Docs page bottom nav */

.docs-nav-bottom {
  display: flex;
  justify-content: space-between;
  margin-top: 48px;
  padding-top: 24px;
  border-top: 1px solid #e5e7eb;
}

.docs-nav-bottom__link {
  display: flex;
  flex-direction: column;
  gap: 4px;
  text-decoration: none;
  padding: 12px 16px;
  border-radius: 8px;
  transition: background 0.15s;
}

.docs-nav-bottom__link:hover {
  background: #f9fafb;
}

.docs-nav-bottom__link--next {
  text-align: right;
  margin-left: auto;
}

.docs-nav-bottom__label {
  font-size: 12px;
  font-weight: 500;
  color: #9ca3af;
}

.docs-nav-bottom__title {
  font-size: 15px;
  font-weight: 600;
  color: #2563eb;
}

@media (max-width: 768px) {
  .docs-cards {
    grid-template-columns: 1fr;
  }

  .docs-page {
    padding: 36px 24px 48px;
  }

  .docs-page__title {
    font-size: 26px;
  }

}

@media (max-width: 480px) {
  .docs-page {
    padding: 32px 16px 40px;
  }

  .docs-page__title {
    font-size: 24px;
  }

  .docs-subnav {
    gap: 2px;
  }

  .docs-subnav__link {
    font-size: 12px;
    padding: 5px 8px;
  }

  .docs-content h2 {
    font-size: 19px;
  }

  .docs-nav-bottom {
    flex-direction: column;
    gap: 8px;
  }

  .docs-nav-bottom__link--next {
    text-align: left;
  }

}

/* ---- Focus styles for keyboard nav ---- */

.landing-nav__link:focus-visible,
.landing-nav__cta:focus-visible,
.landing-hero__cta:focus-visible,
.landing-hero__secondary:focus-visible,
.landing-final-cta__button:focus-visible,
.landing-docs__trigger:focus-visible,
.pricing-card__cta:focus-visible {
  outline: 2px solid #2563eb;
  outline-offset: 2px;
  border-radius: 4px;
}

/* ---- Subtle entrance animation ---- */

@media (prefers-reduced-motion: no-preference) {
  .landing-hero__content {
    animation: landing-fade-up 0.5s ease both;
  }

  .landing-hero__visual {
    animation: landing-fade-up 0.5s ease 0.15s both;
  }
}

@keyframes landing-fade-up {
  from {
    opacity: 0;
    transform: translateY(12px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
