/* ==========================================================================
   AIDITOR — Landing page
   A bright "light table" studio look: warm paper background, an editorial
   serif for voice, a mono timecode face for structure, and a tally-light
   motif (● live / ○ offline) that carries the "archived build" status.
   ========================================================================== */

:root {
  /* Palette */
  --paper: #faf7ef;
  --paper-raised: #ffffff;
  --ink: #18150f;
  --ink-soft: #5c564a;
  --ink-faint: #948c78;
  --line: #e6ded0;
  --line-strong: #d8cdb8;

  --tally: #d5432a;
  --tally-dim: #f6e5df;
  --tally-ink: #7c2515;

  --scope: #0e6b58;
  --scope-dim: #dfefe9;

  --amber: #c68a2e;
  --amber-dim: #f6ecd9;

  /* Shadows (warm, quiet) */
  --shadow-sm: 0 1px 2px rgba(24, 21, 15, 0.05);
  --shadow-md: 0 6px 20px -6px rgba(24, 21, 15, 0.12);
  --shadow-lg: 0 20px 45px -12px rgba(24, 21, 15, 0.18);

  /* Type */
  --font-display: "Fraunces", "Iowan Old Style", ui-serif, Georgia, serif;
  --font-body: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto,
    sans-serif;
  --font-mono: "IBM Plex Mono", ui-monospace, "SF Mono", Menlo, monospace;

  --radius-sm: 0.5rem;
  --radius-md: 0.875rem;
  --radius-lg: 1.25rem;
}

/* Reset & base
   ========================================================================== */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-body);
  line-height: 1.6;
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  min-height: 100vh;
}

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

p {
  color: var(--ink-soft);
}

a {
  color: inherit;
}

ul {
  list-style: none;
}

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

.container {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-faint);
}

.accent-italic {
  font-style: italic;
  color: var(--tally);
}

/* Status / tally-light badge
   Reused in the header and footer to signal the archived / offline state.
   ========================================================================== */
.status-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.4rem 0.85rem 0.4rem 0.65rem;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  background: var(--paper-raised);
  font-family: var(--font-mono);
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--ink-soft);
  white-space: nowrap;
}

.status-dot {
  width: 0.5rem;
  height: 0.5rem;
  border-radius: 50%;
  border: 1.5px solid var(--ink-faint);
  background: transparent;
  flex-shrink: 0;
}

.status-badge--tally .status-dot {
  border-color: var(--tally);
  background: var(--tally);
  box-shadow: 0 0 0 3px var(--tally-dim);
}

/* Buttons
   ========================================================================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  font-family: var(--font-body);
  font-size: 0.9375rem;
  font-weight: 600;
  padding: 0.85rem 1.5rem;
  border-radius: var(--radius-sm);
  border: 1.5px solid transparent;
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.15s ease,
    background-color 0.15s ease, border-color 0.15s ease, color 0.15s ease;
  text-decoration: none;
  line-height: 1;
}

.btn .icon {
  width: 1.05rem;
  height: 1.05rem;
  flex-shrink: 0;
}

.btn-primary {
  background: var(--tally);
  color: #fff8f5;
  box-shadow: var(--shadow-sm);
}

.btn-primary:hover {
  background: var(--tally-ink);
  transform: translateY(-1px);
  box-shadow: var(--shadow-md);
}

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

.btn-ghost:hover {
  border-color: var(--ink);
  transform: translateY(-1px);
}

.btn-quiet {
  background: transparent;
  color: var(--ink-soft);
  padding: 0.85rem 1rem;
}

.btn-quiet:hover {
  color: var(--ink);
}

.btn-block {
  width: 100%;
}

.btn-disabled-look {
  background: var(--paper);
  color: var(--ink-faint);
  border-color: var(--line);
}

.btn-disabled-look:hover {
  border-color: var(--line-strong);
  color: var(--ink-soft);
  transform: none;
}

button:focus-visible,
a:focus-visible {
  outline: 2px solid var(--tally);
  outline-offset: 3px;
}

/* Header
   ========================================================================== */
.header {
  position: sticky;
  top: 0;
  z-index: 75;
  background: rgba(250, 247, 239, 0.85);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}

.header-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.85rem 0;
}

.header-left {
  display: flex;
  align-items: center;
  gap: 0.9rem;
}

.logo {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 700;
  font-style: italic;
  color: var(--ink);
  letter-spacing: -0.02em;
  cursor: pointer;
  text-decoration: none;
}

.header-right {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.header-nav {
  display: flex;
  align-items: center;
  gap: 1.75rem;
}

.nav-link {
  color: var(--ink-soft);
  text-decoration: none;
  font-size: 0.875rem;
  font-weight: 500;
  transition: color 0.15s ease;
}

.nav-link:hover {
  color: var(--ink);
}

.auth-buttons {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.nav-toggle {
  display: none;
  background: transparent;
  border: none;
  font-size: 1.5rem;
  line-height: 1;
  cursor: pointer;
  color: var(--ink);
  padding: 0.4rem;
  position: relative;
  z-index: 80;
}

.nav-toggle svg {
  transition: transform 0.25s ease;
}

.nav-toggle.open svg {
  transform: rotate(90deg);
}

.mobile-nav {
  position: fixed;
  top: 0;
  right: 0;
  width: 82%;
  max-width: 320px;
  height: 100vh;
  background: var(--paper-raised);
  border-left: 1px solid var(--line);
  box-shadow: var(--shadow-lg);
  padding: 5rem 1.75rem 2rem;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  transform: translateX(100%);
  transition: transform 0.3s ease;
  z-index: 70;
}

.mobile-nav.open {
  transform: translateX(0);
}

.mobile-nav-link {
  font-size: 1.0625rem;
  font-weight: 600;
  color: var(--ink);
  text-decoration: none;
}

.mobile-signin {
  width: 100%;
}

/* Hero
   ========================================================================== */
.hero {
  padding: 4.5rem 0 3rem;
  position: relative;
}

.hero-top {
  display: flex;
  justify-content: center;
  margin-bottom: 1.75rem;
}

.hero-title {
  font-size: clamp(2.75rem, 6.4vw, 5rem);
  font-weight: 700;
  text-align: center;
  max-width: 22ch;
  margin: 0 auto 1.5rem;
}

.hero-description {
  font-size: 1.1875rem;
  color: var(--ink-soft);
  max-width: 42rem;
  margin: 0 auto 2.5rem;
  text-align: center;
  line-height: 1.65;
}

.hero-actions {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1rem;
}

.hero-buttons {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  align-items: stretch;
  justify-content: center;
  width: 100%;
  max-width: 320px;
}

.hero-note {
  font-size: 0.8125rem;
  color: var(--ink-faint);
  text-align: center;
}

.hero-stack {
  margin: 3rem 0 2.5rem;
  text-align: center;
}

.hero-stack-label {
  font-family: var(--font-mono);
  font-size: 0.6875rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-faint);
  display: block;
  margin-bottom: 1rem;
}

.tool-chips {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.6rem;
  max-width: 46rem;
  margin: 0 auto;
}

.tool-chip {
  font-size: 0.8125rem;
  font-weight: 500;
  color: var(--ink-faint);
  background: var(--paper-raised);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 0.4rem 0.9rem;
  text-decoration: line-through;
  text-decoration-color: var(--tally);
  text-decoration-thickness: 1.5px;
}

.powered-by {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  letter-spacing: 0.03em;
  color: var(--ink-faint);
  text-align: center;
}

/* Timeline ruler — the page's signature motif */
.ruler {
  position: relative;
  max-width: 840px;
  margin: 3rem auto 0;
  padding-top: 1.25rem;
  border-top: 1px solid var(--line-strong);
}

.ruler-track {
  display: flex;
  justify-content: space-between;
}

.ruler-tick {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  flex: 1;
  position: relative;
}

.ruler-tick::before {
  content: "";
  width: 1px;
  height: 8px;
  background: var(--line-strong);
  position: absolute;
  top: -1.25rem;
}

.ruler-tick span {
  font-family: var(--font-mono);
  font-size: 0.6875rem;
  letter-spacing: 0.04em;
  color: var(--ink-faint);
}

.ruler-tick strong {
  font-family: var(--font-body);
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--ink-soft);
}

.ruler-playhead {
  position: absolute;
  top: -5px;
  left: 0;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--tally);
  box-shadow: 0 0 0 4px var(--tally-dim);
  animation: playhead 9s linear infinite;
}

@keyframes playhead {
  0% {
    left: 0%;
  }
  100% {
    left: calc(100% - 9px);
  }
}

/* Sections
   ========================================================================== */
.section {
  padding: 5.5rem 0;
}

.section-tint {
  background: var(--paper-raised);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.section-head {
  max-width: 40rem;
  margin: 0 auto 3.25rem;
  text-align: center;
}

.section-eyebrow {
  justify-content: center;
  margin-bottom: 0.9rem;
}

.section-title {
  font-size: clamp(1.875rem, 3.6vw, 2.5rem);
  text-align: center;
}

.section-subtitle {
  color: var(--ink-soft);
  font-size: 1.0625rem;
  text-align: center;
  margin-top: 0.85rem;
  line-height: 1.6;
}

/* Card base */
.card {
  background: var(--paper-raised);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  transition: box-shadow 0.2s ease, transform 0.2s ease, border-color 0.2s ease;
}

.card:hover {
  box-shadow: var(--shadow-md);
  border-color: var(--line-strong);
}

/* Problem section */
.problem-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.5rem;
  margin-bottom: 3rem;
}

.problem-card {
  padding: 2rem;
}

.problem-mark {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: var(--tally);
  margin-bottom: 1rem;
  display: block;
}

.problem-card h3 {
  font-size: 1.1875rem;
  margin-bottom: 0.65rem;
}

.problem-card p {
  font-size: 0.9375rem;
  line-height: 1.6;
}

.solution-banner {
  background: var(--ink);
  color: var(--paper);
  padding: 3rem 2.5rem;
  border-radius: var(--radius-lg);
  text-align: center;
}

.solution-banner h3 {
  color: var(--paper);
  font-size: 1.75rem;
  margin-bottom: 0.85rem;
}

.solution-banner p {
  color: rgba(250, 247, 239, 0.75);
  max-width: 34rem;
  margin: 0 auto;
  font-size: 1.0625rem;
}

/* Demo section */
.demo-examples {
  display: grid;
  gap: 1.5rem;
}

.demo-card {
  padding: 2rem;
}

.demo-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1.25rem;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.demo-tag {
  font-family: var(--font-mono);
  font-size: 0.6875rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--scope);
  background: var(--scope-dim);
  padding: 0.35rem 0.7rem;
  border-radius: 0.4rem;
  font-weight: 600;
}

.demo-time {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: var(--ink-faint);
}

.message {
  padding: 0.9rem 1.25rem;
  border-radius: var(--radius-sm);
  margin-bottom: 0.75rem;
  font-size: 0.9375rem;
  line-height: 1.55;
  max-width: 92%;
}

.message.user {
  background: var(--paper);
  border: 1px solid var(--line);
  color: var(--ink);
  margin-left: auto;
}

.message.ai {
  background: var(--scope-dim);
  color: var(--ink);
}

.demo-result {
  border-top: 1px dashed var(--line-strong);
  padding-top: 0.9rem;
  margin-top: 0.5rem;
  font-size: 0.9375rem;
  color: var(--ink-soft);
}

.result-label {
  font-weight: 700;
  color: var(--ink);
  margin-right: 0.35rem;
}

/* Capabilities */
.capabilities-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.5rem;
}

.capability-card {
  padding: 2rem;
  position: relative;
}

.capability-card h3 {
  font-size: 1.25rem;
  margin-bottom: 1.15rem;
  display: flex;
  align-items: baseline;
  gap: 0.6rem;
}

.capability-index {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: var(--ink-faint);
  font-weight: 500;
}

.capability-list li {
  padding: 0.6rem 0 0.6rem 1.15rem;
  border-bottom: 1px solid var(--line);
  font-size: 0.9rem;
  line-height: 1.55;
  color: var(--ink-soft);
  position: relative;
}

.capability-list li::before {
  content: "◆";
  position: absolute;
  left: 0;
  top: 0.72rem;
  font-size: 0.5rem;
  color: var(--tally);
}

.capability-list li:last-child {
  border-bottom: none;
}

/* Use cases */
.use-cases-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.5rem;
}

.use-case {
  padding: 1.85rem;
}

.use-case-header {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  margin-bottom: 0.9rem;
}

.use-case-icon {
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 50%;
  background: var(--amber-dim);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.15rem;
  flex-shrink: 0;
}

.use-case h3 {
  font-size: 1.0625rem;
}

.use-case p {
  font-size: 0.9375rem;
  line-height: 1.6;
  margin-bottom: 1rem;
  font-style: italic;
}

.use-case-time {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: var(--scope);
  font-weight: 600;
}

/* Pricing */
.pricing-comparison {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 1.5rem;
  align-items: center;
  margin-bottom: 3.5rem;
  max-width: 860px;
  margin-left: auto;
  margin-right: auto;
}

.comparison-card {
  padding: 1.85rem;
  border-radius: var(--radius-md);
  border: 1px solid var(--line);
  background: var(--paper-raised);
}

.comparison-card.highlight {
  border-color: var(--ink);
}

.comparison-card h4 {
  text-align: center;
  margin-bottom: 1.25rem;
  font-size: 1.0625rem;
}

.comparison-list {
  margin-bottom: 1.25rem;
}

.comparison-item {
  padding: 0.5rem 0;
  display: flex;
  align-items: center;
  gap: 0.65rem;
  font-size: 0.875rem;
  color: var(--ink-soft);
}

.comparison-item.negative::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--tally);
  flex-shrink: 0;
}

.comparison-item.positive::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--scope);
  flex-shrink: 0;
}

.comparison-total {
  text-align: center;
  font-family: var(--font-mono);
  font-size: 1.125rem;
  font-weight: 600;
  color: var(--ink);
}

.comparison-arrow {
  font-size: 1.5rem;
  color: var(--ink-faint);
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 1.5rem;
  max-width: 860px;
  margin: 0 auto;
}

.pricing-card {
  padding: 2.25rem;
  position: relative;
}

.pricing-card-popular {
  border-color: var(--ink);
}

.popular-badge {
  position: absolute;
  top: -0.7rem;
  left: 2.25rem;
  background: var(--ink);
  color: var(--paper);
  padding: 0.3rem 0.85rem;
  border-radius: 999px;
  font-family: var(--font-mono);
  font-size: 0.6875rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.pricing-header {
  margin-bottom: 1.75rem;
  padding-bottom: 1.75rem;
  border-bottom: 1px solid var(--line);
}

.pricing-title {
  font-size: 1.375rem;
  margin-bottom: 0.5rem;
}

.pricing-price {
  font-family: var(--font-mono);
  font-size: 2.25rem;
  font-weight: 600;
  color: var(--ink);
  line-height: 1;
}

.pricing-period {
  font-size: 1rem;
  font-weight: 400;
  color: var(--ink-faint);
}

.pricing-subtitle {
  color: var(--ink-soft);
  margin-top: 0.5rem;
  font-size: 0.9375rem;
}

.pricing-features {
  margin-bottom: 1.75rem;
}

.pricing-feature {
  display: flex;
  align-items: flex-start;
  gap: 0.6rem;
  padding: 0.55rem 0;
  color: var(--ink-soft);
  font-size: 0.9rem;
  line-height: 1.55;
}

.check-icon {
  width: 1rem;
  height: 1rem;
  color: var(--scope);
  flex-shrink: 0;
  margin-top: 0.15rem;
}

/* About / built solo */
.about-body {
  max-width: 44rem;
  margin: 0 auto 3rem;
  text-align: center;
  font-size: 1.0625rem;
  line-height: 1.7;
}

.about-stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 1.5rem;
  max-width: 640px;
  margin: 0 auto;
}

.about-stat {
  text-align: center;
  padding: 1.5rem 1rem;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: var(--paper-raised);
}

.about-stat-number {
  display: block;
  font-family: var(--font-mono);
  font-size: 1.75rem;
  font-weight: 600;
  color: var(--tally);
  margin-bottom: 0.35rem;
}

.about-stat-label {
  font-size: 0.8125rem;
  color: var(--ink-soft);
}

/* Final CTA */
.cta-section {
  text-align: center;
  background: var(--ink);
  padding: 4rem 2.5rem;
  border-radius: var(--radius-lg);
}

.cta-title {
  font-size: clamp(1.875rem, 3.6vw, 2.375rem);
  color: var(--paper);
  margin-bottom: 0.9rem;
}

.cta-description {
  color: rgba(250, 247, 239, 0.72);
  max-width: 34rem;
  margin: 0 auto 2.25rem;
  font-size: 1.0625rem;
  line-height: 1.65;
}

.cta-buttons {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  align-items: center;
  margin-bottom: 1.75rem;
}

.cta-buttons .btn-primary {
  background: var(--tally);
}

.cta-buttons .btn-ghost {
  color: var(--paper);
  border-color: rgba(250, 247, 239, 0.3);
}

.cta-buttons .btn-ghost:hover {
  border-color: var(--paper);
}

.cta-note {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  letter-spacing: 0.04em;
  color: rgba(250, 247, 239, 0.5);
}

/* FAQ */
.faq-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(360px, 1fr));
  gap: 1.5rem;
}

.faq-item {
  padding: 1.75rem;
}

.faq-question {
  font-size: 1.0625rem;
  margin-bottom: 0.65rem;
  font-family: var(--font-body);
  font-weight: 600;
}

.faq-answer {
  font-size: 0.9375rem;
  line-height: 1.6;
}

/* Legal pages (terms / privacy)
   ========================================================================== */
.legal-hero {
  padding: 4rem 0 2.5rem;
  text-align: center;
  border-bottom: 1px solid var(--line);
}

.legal-hero .eyebrow {
  justify-content: center;
  margin-bottom: 1.1rem;
}

.legal-title {
  font-size: clamp(2.25rem, 4.5vw, 3.25rem);
  text-align: center;
  margin-bottom: 0.85rem;
}

.legal-updated {
  font-family: var(--font-mono);
  font-size: 0.8125rem;
  letter-spacing: 0.03em;
  color: var(--ink-faint);
}

.legal-content {
  max-width: 46rem;
  padding: 1rem 1.5rem 6rem;
}

.legal-section {
  padding: 2.25rem 0;
  border-bottom: 1px solid var(--line);
}

.legal-section:first-child {
  padding-top: 2.75rem;
}

.legal-section:last-child {
  border-bottom: none;
}

.legal-section h2 {
  font-family: var(--font-body);
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 0.9rem;
}

.legal-section h3 {
  font-family: var(--font-body);
  font-size: 1.0625rem;
  font-weight: 600;
  margin: 1.4rem 0 0.65rem;
}

.legal-section p {
  font-size: 0.9375rem;
  line-height: 1.7;
  margin-bottom: 0.9rem;
}

.legal-section p:last-child {
  margin-bottom: 0;
}

.legal-section ul {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  margin: 0.5rem 0 1.1rem;
}

.legal-section li {
  font-size: 0.9375rem;
  line-height: 1.65;
  color: var(--ink-soft);
  padding-left: 1.2rem;
  position: relative;
}

.legal-section li::before {
  content: "◆";
  position: absolute;
  left: 0;
  top: 0.4rem;
  font-size: 0.5rem;
  color: var(--tally);
}

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

.legal-section strong {
  color: var(--ink);
  font-weight: 600;
}

.legal-section .external-link {
  color: var(--ink);
  text-decoration: underline;
  text-decoration-color: var(--line-strong);
  text-underline-offset: 3px;
}

.legal-section .external-link:hover {
  color: var(--tally);
  text-decoration-color: var(--tally);
}

/* Footer
   ========================================================================== */
.footer {
  padding: 2.5rem 0;
  border-top: 1px solid var(--line);
}

.footer-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
  margin-bottom: 1.75rem;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 700;
  font-size: 1.125rem;
  color: var(--ink);
}

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--line);
}

.footer-links {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  flex-wrap: wrap;
}

.footer-link {
  font-size: 0.8125rem;
  color: var(--ink-soft);
  text-decoration: none;
  font-weight: 500;
}

.footer-link:hover {
  color: var(--ink);
}

.footer-credit {
  font-size: 0.8125rem;
  color: var(--ink-faint);
}

.footer-credit a {
  color: var(--ink-soft);
  text-decoration: underline;
  text-decoration-color: var(--line-strong);
  text-underline-offset: 3px;
  font-weight: 600;
}

.footer-credit a:hover {
  color: var(--tally);
  text-decoration-color: var(--tally);
}

/* Cookie banner
   ========================================================================== */
.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: var(--paper-raised);
  border-top: 1px solid var(--line);
  padding: 1.25rem 1.5rem;
  box-shadow: var(--shadow-lg);
  z-index: 50;
}

.cookie-content {
  max-width: 1180px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.cookie-text {
  font-size: 0.8125rem;
  color: var(--ink-soft);
  text-align: center;
  line-height: 1.5;
}

.cookie-link {
  color: var(--ink);
  font-weight: 600;
}

.cookie-button {
  background: var(--ink);
  color: var(--paper);
  font-weight: 600;
  padding: 0.65rem 1.35rem;
  border-radius: var(--radius-sm);
  font-size: 0.8125rem;
  white-space: nowrap;
  border: none;
  cursor: pointer;
}

/* Utilities
   ========================================================================== */
.hidden {
  display: none;
}

@keyframes popIn {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.animate-pop-in {
  animation: popIn 0.6s cubic-bezier(0.4, 0, 0.2, 1) both;
}

::-webkit-scrollbar {
  width: 8px;
  height: 8px;
}

::-webkit-scrollbar-track {
  background: transparent;
}

::-webkit-scrollbar-thumb {
  background: var(--line-strong);
  border-radius: 10px;
}

::-webkit-scrollbar-thumb:hover {
  background: var(--ink-faint);
}

/* Demo video modal */
.modal {
  display: none;
  position: fixed;
  z-index: 1000;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(24, 21, 15, 0.6);
  backdrop-filter: blur(6px);
}

.modal.show {
  display: flex;
  align-items: center;
  justify-content: center;
}

.modal-content {
  background: var(--paper-raised);
  border-radius: var(--radius-lg);
  padding: 2rem;
  box-shadow: var(--shadow-lg);
  max-width: 95vw;
  width: 100%;
  max-width: 960px;
  position: relative;
  border: 1px solid var(--line);
}

.close-button {
  position: absolute;
  top: 0.9rem;
  right: 1.25rem;
  font-size: 1.75rem;
  font-weight: 400;
  color: var(--ink-faint);
  cursor: pointer;
  line-height: 1;
}

.close-button:hover {
  color: var(--ink);
}

.modal-content h2 {
  margin: 0 0 1.5rem 0;
  font-size: 1.5rem;
  text-align: center;
}

.video-container {
  position: relative;
  width: 100%;
  aspect-ratio: 16/9;
  border-radius: var(--radius-sm);
  overflow: hidden;
  margin: 0 auto;
  background: var(--ink);
}

.video-container iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: none;
}

/* Responsive
   ========================================================================== */
@media (min-width: 560px) {
  .hero-buttons {
    flex-direction: row;
    max-width: none;
  }
  .cookie-content {
    flex-direction: row;
  }
  .cookie-text {
    text-align: left;
  }
}

@media (min-width: 640px) {
  .cta-buttons {
    flex-direction: row;
    justify-content: center;
  }
}

@media (min-width: 768px) {
  .container {
    padding: 0 2rem;
  }
}

@media (min-width: 1024px) {
  .section {
    padding: 7rem 0;
  }
  .hero {
    padding: 6rem 0 3.5rem;
  }
  .capabilities-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

@media (max-width: 760px) {
  .nav-toggle {
    display: block;
  }
  .header-nav,
  .auth-buttons {
    display: none;
  }
  .pricing-comparison {
    grid-template-columns: 1fr;
    gap: 1.25rem;
    justify-items: center;
  }
  .comparison-arrow {
    transform: rotate(90deg);
  }
  .comparison-card {
    width: 100%;
    max-width: 360px;
  }
  .footer-top,
  .footer-bottom {
    flex-direction: column;
    align-items: flex-start;
  }
  .ruler-tick span {
    display: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  .ruler-playhead {
    animation: none;
    left: 0;
  }
  .animate-pop-in {
    animation: none;
  }
  html {
    scroll-behavior: auto;
  }
}
