/* =========================================================================
   KaamDesk Landing Page — styles.css
   Design tokens sourced from tailwind.config.js + CLAUDE.md
   ========================================================================= */

/* -------------------------------------------------------------------------
   Design Tokens
   All color/font/radius/shadow values come from tailwind.config.js.
   No hardcoded hex values appear outside this :root block.
   ------------------------------------------------------------------------- */
:root {
  /* Primary */
  --color-primary:       #5B5BF7;
  --color-primary-dark:  #4338CA;
  --color-primary-bg:    #F5F6FF;
  --color-primary-light: #EDEDFE;

  /* Semantic */
  --color-success:       #16A34A;
  --color-success-light: #DCFCE7;
  --color-warning:       #D97706;
  --color-warning-light: #FEF3C7;
  --color-danger:        #DC2626;
  --color-danger-light:  #FEE2E2;

  /* Neutral (from tailwind.config neutral scale) */
  --color-text:    #111827;   /* neutral-900 */
  --color-text-2:  #374151;   /* neutral-700 */
  --color-muted:   #6B7280;   /* neutral-500 */
  --color-subtle:  #9CA3AF;   /* neutral-400 */
  --color-border:  #E5E7EB;   /* neutral-200 */
  --color-bg:      #F8F9FC;   /* neutral-50 */
  --color-surface: #FFFFFF;   /* neutral-0 */
  --color-chrome:  #F3F4F6;   /* neutral-100 */

  /* Stage badge tokens */
  --badge-active-bg:   #EFF6FF;
  --badge-active-text: #3B82F6;
  --badge-query-bg:    #FEF3C7;
  --badge-query-text:  #D97706;
  --badge-closed-bg:   #F0FDF4;
  --badge-closed-text: #16A34A;

  /* Browser chrome dots */
  --dot-red:    #F87171;
  --dot-yellow: #FBBF24;
  --dot-green:  #34D399;

  /* Font (from tailwind fontFamily.sans) */
  --font: 'Inter', ui-sans-serif, system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;

  /* Border radius (from tailwind.config borderRadius) */
  --radius-sm: 8px;   /* md */
  --radius:    12px;  /* lg */
  --radius-lg: 16px;  /* xl */
  --radius-xl: 24px;  /* 2xl */

  /* Shadows */
  --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.05);
  --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.10), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
  --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.10), 0 4px 6px -2px rgba(0, 0, 0, 0.05);

  /* Section rhythm */
  --pad-section: 64px;
  --pad-container: 20px;
}


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


/* -------------------------------------------------------------------------
   Reset & Base
   ------------------------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--font);
  font-size: 14px;
  line-height: 1.6;
  color: var(--color-text);
  background-color: var(--color-bg);
  -webkit-font-smoothing: antialiased;
}

ul[role="list"] { list-style: none; }

/* Focus ring */
:focus-visible {
  outline: 2px solid var(--color-primary);
  outline-offset: 2px;
  border-radius: 3px;
}


/* -------------------------------------------------------------------------
   Layout
   ------------------------------------------------------------------------- */
.container {
  max-width: 1120px;
  margin-inline: auto;
  padding-inline: var(--pad-container);
}


/* -------------------------------------------------------------------------
   Typography Helpers
   ------------------------------------------------------------------------- */
.section-title {
  font-size: clamp(22px, 4vw, 32px);
  font-weight: 700;
  letter-spacing: -0.5px;
  line-height: 1.2;
  color: var(--color-text);
  margin-bottom: 16px;
}

.section-title--center { text-align: center; }


/* -------------------------------------------------------------------------
   Buttons
   ------------------------------------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 11px 22px;
  border-radius: var(--radius-sm);
  font-family: var(--font);
  font-size: 14px;
  font-weight: 600;
  line-height: 1;
  text-decoration: none;
  border: 1.5px solid transparent;
  cursor: pointer;
  transition: background-color 0.15s ease, color 0.15s ease, border-color 0.15s ease;
}

.btn--primary {
  background-color: var(--color-primary);
  color: var(--color-surface);
  border-color: var(--color-primary);
}
.btn--primary:hover { background-color: var(--color-primary-dark); border-color: var(--color-primary-dark); }

.btn--ghost {
  background-color: transparent;
  color: var(--color-text);
  border-color: var(--color-border);
}
.btn--ghost:hover { background-color: var(--color-surface); }

.btn--inverted {
  background-color: var(--color-surface);
  color: var(--color-primary);
  border-color: var(--color-surface);
}
.btn--inverted:hover { background-color: var(--color-primary-bg); border-color: var(--color-primary-bg); }

.btn--full { width: 100%; }


/* -------------------------------------------------------------------------
   Stage Badges (shared across all sections)
   ------------------------------------------------------------------------- */
.mock-badge {
  display: inline-flex;
  align-items: center;
  padding: 4px 10px;
  border-radius: 9999px;
  font-size: 11px;
  font-weight: 500;
  white-space: nowrap;
  flex-shrink: 0;
}

.mock-badge--active {
  background-color: var(--badge-active-bg);
  color: var(--badge-active-text);
}
.mock-badge--query {
  background-color: var(--badge-query-bg);
  color: var(--badge-query-text);
}
.mock-badge--closed {
  background-color: var(--badge-closed-bg);
  color: var(--badge-closed-text);
}
.mock-badge--xs {
  font-size: 9px;
  padding: 3px 7px;
}


/* =========================================================================
   NAVBAR
   ========================================================================= */
.navbar {
  position: sticky;
  top: 0;
  z-index: 100;
  background-color: var(--color-surface);
  border-bottom: 1px solid transparent;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.navbar--scrolled {
  border-bottom-color: var(--color-border);
  box-shadow: var(--shadow-sm);
}

.navbar__inner {
  display: flex;
  align-items: center;
  height: 60px;
  gap: 8px;
}

.navbar__brand {
  display: flex;
  align-items: center;
  gap: 9px;
  text-decoration: none;
  color: var(--color-text);
  font-weight: 700;
  font-size: 16px;
  flex-shrink: 0;
  margin-right: auto;
}

.navbar__logo-svg { display: block; }

.navbar__nav {
  display: none;
  align-items: center;
  gap: 24px;
}

.navbar__link {
  color: var(--color-muted);
  text-decoration: none;
  font-size: 14px;
  font-weight: 500;
  transition: color 0.12s ease;
  white-space: nowrap;
}
.navbar__link:hover { color: var(--color-text); }

.navbar__cta {
  padding: 8px 16px;
  font-size: 13px;
  flex-shrink: 0;
}

/* Hamburger */
.navbar__hamburger {
  display: flex;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px;
  margin-left: 4px;
}

.navbar__hamburger span {
  display: block;
  width: 22px;
  height: 2px;
  background-color: var(--color-text);
  border-radius: 2px;
  transition: transform 0.15s ease, opacity 0.15s ease;
}

/* Mobile nav dropdown */
.navbar__nav--open {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 0;
  position: absolute;
  top: 60px;
  left: 0;
  right: 0;
  background-color: var(--color-surface);
  border-bottom: 1px solid var(--color-border);
  box-shadow: var(--shadow-md);
  padding: 6px 0 14px;
  z-index: 99;
}

.navbar__nav--open .navbar__link {
  padding: 11px var(--pad-container);
}


/* =========================================================================
   HERO
   ========================================================================= */
.hero {
  padding-block: var(--pad-section);
}

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

.hero__visual { order: -1; }

.hero__headline {
  font-size: clamp(28px, 6vw, 48px);
  font-weight: 700;
  letter-spacing: -0.75px;
  line-height: 1.15;
  margin-bottom: 16px;
}

.hero__sub {
  font-size: 16px;
  color: var(--color-muted);
  line-height: 1.65;
  margin-bottom: 28px;
  max-width: 460px;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}


/* -------------------------------------------------------------------------
   Browser Chrome Frame (Hero visual)
   ------------------------------------------------------------------------- */
.browser-frame {
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg), 0 0 0 1px var(--color-border);
  overflow: hidden;
}

.browser-frame__chrome {
  display: flex;
  align-items: center;
  gap: 6px;
  background-color: var(--color-chrome);
  padding: 10px 12px;
  border-bottom: 1px solid var(--color-border);
}

.browser-dot {
  display: inline-block;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  flex-shrink: 0;
}
.browser-dot--red    { background-color: var(--dot-red); }
.browser-dot--yellow { background-color: var(--dot-yellow); }
.browser-dot--green  { background-color: var(--dot-green); }

.browser-frame__url {
  margin-left: 8px;
  font-size: 11px;
  color: var(--color-muted);
  background-color: var(--color-surface);
  padding: 2px 10px;
  border-radius: 4px;
  border: 1px solid var(--color-border);
}

.browser-frame__content {
  background-color: var(--color-bg);
  padding: 14px;
}


/* -------------------------------------------------------------------------
   Mock Dashboard (Hero)
   ------------------------------------------------------------------------- */
.mock-dash__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 10px;
}

.mock-dash__title {
  font-size: 13px;
  font-weight: 600;
  color: var(--color-text);
}

.mock-summary-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 7px;
  margin-bottom: 12px;
}

.mock-summary-card {
  background-color: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-sm);
  padding: 10px 10px 8px;
}

.mock-summary-card__label {
  display: block;
  font-size: 9px;
  font-weight: 500;
  color: var(--color-muted);
  margin-bottom: 4px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.mock-summary-card__value {
  display: block;
  font-size: 22px;
  font-weight: 700;
  color: var(--color-text);
  line-height: 1;
}
.mock-summary-card__value--warn { color: var(--color-warning); }
.mock-summary-card__value--ok   { color: var(--color-success); }

/* Case list rows */
.mock-case-list {
  display: flex;
  flex-direction: column;
  gap: 1px;
  background-color: var(--color-border);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-sm);
  overflow: hidden;
}

.mock-case-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding: 9px 10px;
  background-color: var(--color-surface);
}

.mock-case-row__info {
  display: flex;
  flex-direction: column;
  gap: 1px;
  min-width: 0;
}

.mock-case-row__vehicle {
  font-size: 12px;
  font-weight: 600;
  color: var(--color-text);
  white-space: nowrap;
}

.mock-case-row__type {
  font-size: 10px;
  color: var(--color-muted);
}


/* =========================================================================
   PROBLEM SECTION
   ========================================================================= */
.problem {
  padding-block: var(--pad-section);
  background-color: var(--color-surface);
  border-top: 1px solid var(--color-border);
  border-bottom: 1px solid var(--color-border);
}

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

.problem__list {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-top: 8px;
}

.problem__item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 15px;
  line-height: 1.5;
  color: var(--color-text);
}

.problem__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 22px;
  height: 22px;
  min-width: 22px;
  border-radius: 50%;
  background-color: var(--color-danger-light);
  color: var(--color-danger);
  font-size: 10px;
  font-weight: 800;
  margin-top: 1px;
}


/* -------------------------------------------------------------------------
   Mock Spreadsheet (Problem section)
   ------------------------------------------------------------------------- */
.mock-sheet {
  border: 1px solid var(--color-border);
  border-radius: var(--radius-sm);
  overflow: hidden;
  font-size: 11px;
  background-color: var(--color-surface);
  flex-shrink: 0;
}

.mock-sheet__head,
.mock-sheet__row {
  display: grid;
  grid-template-columns: 1.1fr 1fr 1.5fr 0.7fr;
}

.mock-sheet__head {
  background-color: var(--color-chrome);
  border-bottom: 1px solid var(--color-border);
}

.mock-sheet__row {
  border-bottom: 1px solid var(--color-border);
}

.mock-sheet__row:last-of-type { border-bottom: none; }

.mock-sheet__cell {
  padding: 8px 10px;
  border-right: 1px solid var(--color-border);
  color: var(--color-text);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.mock-sheet__cell:last-child { border-right: none; }

.mock-sheet__cell--head {
  font-size: 9px;
  font-weight: 700;
  color: var(--color-muted);
  letter-spacing: 0.4px;
  text-transform: uppercase;
}

.mock-sheet__cell--trunc {
  overflow: hidden;
  text-overflow: ellipsis;
}

.mock-sheet__overflow {
  padding: 7px 12px;
  font-size: 10px;
  color: var(--color-muted);
  text-align: center;
  background-color: var(--color-bg);
  border-top: 1px solid var(--color-border);
  font-style: italic;
}


/* =========================================================================
   SOLUTION SECTION
   ========================================================================= */
.solution {
  padding-block: var(--pad-section);
}

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

.solution__body {
  font-size: 15px;
  color: var(--color-muted);
  line-height: 1.7;
  margin-bottom: 16px;
}

.solution__body:last-of-type { margin-bottom: 24px; }


/* -------------------------------------------------------------------------
   Mock Case Detail Panel (Solution section)
   ------------------------------------------------------------------------- */
.mock-detail {
  background-color: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: 20px;
  box-shadow: var(--shadow-md);
  width: 100%;
  max-width: 340px;
}

.mock-detail__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin-bottom: 18px;
}

.mock-detail__vehicle {
  font-size: 17px;
  font-weight: 700;
  color: var(--color-text);
}

.mock-detail__section {
  display: flex;
  flex-direction: column;
  gap: 11px;
}

.mock-detail__divider {
  height: 1px;
  background-color: var(--color-border);
  margin-block: 14px;
}

.mock-field {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}

.mock-field__label {
  font-size: 12px;
  color: var(--color-muted);
  font-weight: 500;
  flex-shrink: 0;
}

.mock-field__value {
  font-size: 13px;
  color: var(--color-text);
  font-weight: 500;
  text-align: right;
}

.mock-field__value--danger {
  color: var(--color-danger);
  font-weight: 700;
}

.mock-save-btn {
  display: block;
  width: 100%;
  margin-top: 18px;
  padding: 10px;
  background-color: var(--color-primary);
  color: var(--color-surface);
  font-family: var(--font);
  font-size: 13px;
  font-weight: 600;
  text-align: center;
  border: none;
  border-radius: var(--radius-sm);
  cursor: default;
  pointer-events: none;
}


/* =========================================================================
   FEATURES SECTION
   ========================================================================= */
.features {
  padding-block: var(--pad-section);
  background-color: var(--color-surface);
  border-top: 1px solid var(--color-border);
  border-bottom: 1px solid var(--color-border);
}

.features__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1px;
  background-color: var(--color-border);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  margin-top: 40px;
}

.feature-card {
  background-color: var(--color-surface);
  padding: 28px 24px;
  transition: background-color 0.15s ease;
}

.feature-card:hover { background-color: var(--color-bg); }

.feature-card__icon-wrap {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: var(--radius-sm);
  background-color: var(--color-primary-bg);
  color: var(--color-primary);
  margin-bottom: 14px;
  flex-shrink: 0;
}

.feature-card__title {
  font-size: 15px;
  font-weight: 600;
  color: var(--color-text);
  margin-bottom: 6px;
}

.feature-card__desc {
  font-size: 13px;
  color: var(--color-muted);
  line-height: 1.6;
}


/* =========================================================================
   SCREENSHOTS SECTION
   ========================================================================= */
.screenshots {
  padding-block: var(--pad-section);
}

.screenshots__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 14px;
  margin-top: 40px;
}

/* Screenshot card */
.sc-card {
  background-color: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}

.sc-card__label {
  padding: 9px 14px;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  color: var(--color-muted);
  background-color: var(--color-chrome);
  border-bottom: 1px solid var(--color-border);
}

.sc-card__body {
  padding: 12px;
  background-color: var(--color-bg);
  display: flex;
  flex-direction: column;
  gap: 9px;
  min-height: 140px;
}

/* Mini cards (Dashboard screenshot) */
.sc-mini-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 6px;
}

.sc-mini-card {
  background-color: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: 6px;
  padding: 8px 8px 6px;
}

.sc-mini-card__lbl {
  display: block;
  font-size: 8px;
  font-weight: 600;
  color: var(--color-muted);
  margin-bottom: 3px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.sc-mini-card__val {
  display: block;
  font-size: 17px;
  font-weight: 700;
  color: var(--color-text);
  line-height: 1;
}
.sc-mini-card__val--warn { color: var(--color-warning); }
.sc-mini-card__val--ok   { color: var(--color-success); }

/* Shared rows */
.sc-rows {
  display: flex;
  flex-direction: column;
  gap: 1px;
  background-color: var(--color-border);
  border: 1px solid var(--color-border);
  border-radius: 6px;
  overflow: hidden;
}

.sc-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 6px;
  padding: 8px 9px;
  background-color: var(--color-surface);
}

.sc-row__veh {
  font-size: 10px;
  font-weight: 600;
  color: var(--color-text);
}

.sc-row__type {
  font-size: 9px;
  color: var(--color-muted);
}

/* Search bar */
.sc-search {
  display: flex;
  align-items: center;
  gap: 7px;
  background-color: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: 6px;
  padding: 7px 10px;
  font-size: 11px;
  color: var(--color-muted);
}

.sc-search__val { color: var(--color-text); font-weight: 500; }

/* Filter chips */
.sc-chips {
  display: flex;
  gap: 5px;
  flex-wrap: wrap;
}

.sc-chip {
  padding: 3px 9px;
  border-radius: 9999px;
  font-size: 10px;
  font-weight: 500;
  background-color: var(--color-surface);
  border: 1px solid var(--color-border);
  color: var(--color-muted);
}

.sc-chip--on {
  background-color: var(--color-primary);
  border-color: var(--color-primary);
  color: var(--color-surface);
}

/* Case detail mini */
.sc-detail {
  display: flex;
  flex-direction: column;
  gap: 8px;
  background-color: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: 7px;
  padding: 11px;
  font-size: 11px;
}

.sc-detail__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 12px;
  font-weight: 700;
  color: var(--color-text);
  gap: 6px;
}

.sc-detail__field {
  display: flex;
  justify-content: space-between;
  gap: 8px;
  color: var(--color-muted);
}

.sc-detail__field span:last-child {
  color: var(--color-text);
  font-weight: 500;
  text-align: right;
}

.sc-detail__field--danger span:last-child {
  color: var(--color-danger);
  font-weight: 700;
}

.sc-detail__divider {
  height: 1px;
  background-color: var(--color-border);
}

/* Add Case form mock */
.sc-form {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.sc-form__field {
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.sc-form__lbl {
  font-size: 8px;
  font-weight: 700;
  color: var(--color-muted);
  text-transform: uppercase;
  letter-spacing: 0.4px;
}

.sc-form__input {
  background-color: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: 5px;
  padding: 6px 8px;
  font-size: 11px;
  color: var(--color-text);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 4px;
}

.sc-form__input--ph { color: var(--color-subtle); }

.sc-form__btn {
  margin-top: 4px;
  padding: 7px 10px;
  background-color: var(--color-primary);
  color: var(--color-surface);
  font-size: 11px;
  font-weight: 600;
  text-align: center;
  border-radius: 5px;
}


/* =========================================================================
   PILOT SECTION
   ========================================================================= */
.pilot {
  padding-block: 64px;
  background-color: var(--color-primary);
}

.pilot__inner {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.pilot__title {
  font-size: clamp(20px, 3.5vw, 28px);
  font-weight: 700;
  color: var(--color-surface);
  letter-spacing: -0.3px;
  margin-bottom: 10px;
  line-height: 1.2;
}

.pilot__body {
  font-size: 15px;
  color: rgba(255, 255, 255, 0.78);
  line-height: 1.7;
  max-width: 600px;
}

.pilot__cta { flex-shrink: 0; }


/* =========================================================================
   CONTACT SECTION
   ========================================================================= */
.contact {
  padding-block: var(--pad-section);
}

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

.contact__body {
  font-size: 15px;
  color: var(--color-muted);
  line-height: 1.7;
  margin-top: 6px;
  max-width: 420px;
}

.contact__form-wrap {
  background-color: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: 28px;
  box-shadow: var(--shadow-sm);
}

.contact__form {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

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

.form-label {
  font-size: 13px;
  font-weight: 500;
  color: var(--color-text);
}

.form-required { color: var(--color-danger); }

.form-input {
  font-family: var(--font);
  font-size: 14px;
  color: var(--color-text);
  background-color: var(--color-surface);
  border: 1.5px solid var(--color-border);
  border-radius: var(--radius-sm);
  padding: 10px 13px;
  width: 100%;
  transition: border-color 0.15s ease;
  -webkit-appearance: none;
}

.form-input::placeholder { color: var(--color-subtle); }
.form-input:focus { outline: none; border-color: var(--color-primary); }

.form-textarea {
  resize: vertical;
  min-height: 96px;
  line-height: 1.5;
}


/* =========================================================================
   FOOTER
   ========================================================================= */
.footer {
  background-color: var(--color-bg);
  border-top: 1px solid var(--color-border);
  padding-block: 40px;
}

.footer__inner {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.footer__brand {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.footer__logo-row {
  display: flex;
  align-items: center;
  gap: 8px;
}

.footer__wordmark {
  font-size: 15px;
  font-weight: 700;
  color: var(--color-text);
}

.footer__tagline {
  font-size: 12px;
  color: var(--color-muted);
}

.footer__nav {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
}

.footer__link {
  font-size: 13px;
  color: var(--color-muted);
  text-decoration: none;
  transition: color 0.12s ease;
}
.footer__link:hover { color: var(--color-text); }

.footer__copy {
  font-size: 12px;
  color: var(--color-muted);
}


/* =========================================================================
   RESPONSIVE — 640px+
   ========================================================================= */
@media (min-width: 640px) {
  :root {
    --pad-section: 80px;
    --pad-container: 32px;
  }

  /* Navbar: show links */
  .navbar__nav {
    display: flex;
    position: static;
    flex-direction: row;
    background: none;
    border: none;
    box-shadow: none;
    padding: 0;
  }

  .navbar__hamburger { display: none; }

  .navbar__brand { margin-right: 0; }

  /* Push nav + CTA to the right */
  .navbar__nav { margin-left: auto; }
  .navbar__cta { margin-left: 12px; }

  /* Hero: text left, visual right */
  .hero__inner {
    flex-direction: row;
    align-items: center;
    gap: 48px;
  }

  .hero__text  { flex: 0 0 auto; max-width: 440px; }
  .hero__visual { flex: 1; min-width: 0; order: 0; }

  /* Problem: two columns */
  .problem__inner {
    flex-direction: row;
    align-items: flex-start;
    gap: 48px;
  }

  .problem__text { flex: 1; }
  .mock-sheet { flex: 1; min-width: 0; }

  /* Solution: visual left, text right */
  .solution__inner {
    flex-direction: row;
    align-items: center;
    gap: 48px;
  }

  .mock-detail { flex: 0 0 auto; }
  .solution__text { flex: 1; }

  /* Features grid: 3 columns */
  .features__grid { grid-template-columns: repeat(3, 1fr); }

  /* Screenshots: 3-column grid */
  .screenshots__grid { grid-template-columns: repeat(3, 1fr); }
  .sc-card--wide { grid-column: span 2; }

  /* Pilot: inline */
  .pilot__inner {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
  }

  /* Contact: two columns */
  .contact__inner {
    flex-direction: row;
    align-items: flex-start;
    gap: 48px;
  }

  .contact__text     { flex: 1; }
  .contact__form-wrap { flex: 1; max-width: 440px; }

  /* Footer: single row */
  .footer__inner {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    gap: 32px;
  }
}


/* =========================================================================
   RESPONSIVE — 1024px+
   ========================================================================= */
@media (min-width: 1024px) {
  :root {
    --pad-section: 96px;
    --pad-container: 40px;
  }

  .hero__text { max-width: 500px; }
}
