/* Gollog marketing — brand “Steady Growth” + SaaS layout (Inter / Plus Jakarta Sans).
   Long-form section rhythm borrows patterns from modern marketing landings (e.g. clear
   eyebrow labels, three-step strip, FAQ accordions) while keeping Gollog palette. */
:root {
  --brand-primary: #344e41;
  --brand-accent: #a3b18a;
  --bg-warm: #faf9f6;
  --text-deep: #1b2624;
  --muted: #6b7a72;
  --border-soft: #e5e7eb;
  --card: #ffffff;
  --sidebar-tone: #2c3e35;
  --font-sans: "Inter", system-ui, sans-serif;
  --font-heading: "Plus Jakarta Sans", system-ui, sans-serif;
  --radius-lg: 16px;
  --radius-md: 12px;
  --radius-sm: 8px;
  --shadow-soft: 0 24px 48px -12px rgba(27, 38, 36, 0.12);
  --shadow-card: 0 1px 0 rgba(27, 38, 36, 0.04), 0 4px 24px rgba(27, 38, 36, 0.06);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-sans);
  font-size: 1rem;
  line-height: 1.6;
  color: var(--text-deep);
  background: var(--bg-warm);
  -webkit-font-smoothing: antialiased;
}

a {
  color: var(--brand-primary);
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

a:hover {
  color: #2a3f35;
}

.wrap {
  width: min(1120px, 100% - 2rem);
  margin-inline: auto;
}

.wrap--wide {
  width: min(1200px, 100% - 2rem);
}

/* --- Header --- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: color-mix(in srgb, var(--bg-warm) 88%, white);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border-soft);
}

.site-header .inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.75rem 0;
  position: relative;
  row-gap: 0.75rem;
}

/* Wordmark asset is 2000×758; lock column width to that aspect ratio (no extra dead space). */
.header-brand {
  --logo-h: 2rem;
  --logo-w: calc(var(--logo-h) * 2000 / 758);
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 0.2rem;
  /* Exact width of the logo graphic at the chosen height, shrink on narrow viewports. */
  width: min(var(--logo-w), 100%);
  max-width: 100%;
  min-width: 0;
  flex-shrink: 0;
  box-sizing: border-box;
}

@media (min-width: 640px) {
  .header-brand {
    --logo-h: 2.35rem;
  }
}

.header-tagline {
  margin: 0;
  max-width: 100%;
  box-sizing: border-box;
  /* One line, sized so ~20ch fits the wordmark width; bold to echo the logotype */
  font-family: var(--font-heading);
  font-size: clamp(0.375rem, calc(var(--logo-w) / 10.25), 0.5625rem);
  font-weight: 800;
  letter-spacing: 0.01em;
  line-height: 1.1;
  text-transform: none;
  color: var(--brand-primary);
  text-align: left;
  white-space: nowrap;
}

.header-brand .logo-wordmark {
  width: 100%;
  height: auto;
  max-width: 100%;
  aspect-ratio: 2000 / 758;
}

.logo-link {
  display: flex;
  align-items: center;
  text-decoration: none;
  color: inherit;
}

.logo-link:hover {
  color: inherit;
}

/* 2000×758 asset: height × (758/2000) = width at native proportions */
.logo-wordmark {
  display: block;
  width: auto;
  max-width: min(100%, calc(2rem * 2000 / 758));
  height: 2rem;
  aspect-ratio: 2000 / 758;
  object-fit: contain;
  object-position: left center;
  box-sizing: border-box;
}

/* Privacy & other pages: logo is direct child of .inner, not .header-brand */
@media (min-width: 640px) {
  .site-header .inner > .logo-link > .logo-wordmark {
    height: 2.35rem;
    max-width: min(100%, calc(2.35rem * 2000 / 758));
  }
}

.nav-cta {
  display: flex;
  align-items: center;
  gap: 0.35rem;
}

.nav-toggle {
  display: none;
  position: relative;
  box-sizing: border-box;
  align-items: center;
  justify-content: center;
  margin: 0;
  margin-left: auto;
  padding: 0.4rem 0.55rem;
  background: color-mix(in srgb, var(--bg-warm) 50%, white);
  border: 1px solid var(--border-soft);
  border-radius: var(--radius-sm);
  color: var(--text-deep);
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
}

.nav-toggle-sr {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.nav-toggle-bars {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  width: 1.25rem;
  height: 0.85rem;
}

.nav-toggle-bars > span {
  display: block;
  height: 2px;
  width: 100%;
  background: var(--brand-primary);
  border-radius: 1px;
  transition: transform 0.2s ease, opacity 0.2s ease;
  transform-origin: center;
}

.site-header.is-nav-open .nav-toggle-bars > span:nth-child(1) {
  transform: translateY(0.3rem) rotate(45deg);
}

.site-header.is-nav-open .nav-toggle-bars > span:nth-child(2) {
  opacity: 0;
}

.site-header.is-nav-open .nav-toggle-bars > span:nth-child(3) {
  transform: translateY(-0.3rem) rotate(-45deg);
}

.nav-links {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.75rem;
  margin-right: 0;
}

@media (min-width: 900px) {
  .nav-links {
    flex-direction: row;
    align-items: center;
    gap: 1.25rem;
    margin-right: 0.5rem;
  }
}

@media (max-width: 899px) {
  .nav-toggle {
    display: inline-flex;
    order: 2;
    position: relative;
    z-index: 2;
  }

  .nav-cta {
    display: none;
    order: 3;
    flex: 0 0 100%;
    width: 100%;
    flex-direction: column;
    align-items: stretch;
    gap: 0.75rem;
    box-sizing: border-box;
    margin: 0.25rem 0 0;
    padding: 0.9rem 0 1.1rem;
    background: color-mix(in srgb, var(--bg-warm) 92%, white);
    border-top: 1px solid var(--border-soft);
    box-shadow: 0 0.4rem 1.25rem rgba(18, 22, 35, 0.08);
    z-index: 60;
  }

  .site-header.is-nav-open .nav-cta {
    display: flex;
  }

  .header-brand {
    order: 1;
  }

  .nav-cta .nav-links {
    padding-bottom: 0.25rem;
    border-bottom: 1px solid var(--border-soft);
  }

  .nav-cta .btn {
    width: 100%;
    text-align: center;
    box-sizing: border-box;
  }
}

.nav-links a {
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--muted);
  text-decoration: none;
}

.nav-links a:hover {
  color: var(--text-deep);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.5rem 1.1rem;
  font-family: var(--font-sans);
  font-size: 0.875rem;
  font-weight: 600;
  border-radius: var(--radius-sm);
  border: 1px solid transparent;
  cursor: pointer;
  text-decoration: none;
  transition: background 0.15s, color 0.15s, border-color 0.15s, box-shadow 0.15s;
}

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

.btn-ghost:hover {
  color: var(--text-deep);
  background: rgba(52, 78, 65, 0.06);
}

.btn-primary {
  background: var(--brand-primary);
  color: var(--bg-warm);
  border-color: var(--brand-primary);
  box-shadow: 0 1px 2px rgba(27, 38, 36, 0.08);
}

.btn-primary:hover {
  background: #2a3f35;
  border-color: #2a3f35;
  color: #fff;
}

.btn-lg {
  padding: 0.65rem 1.35rem;
  font-size: 0.9375rem;
  border-radius: 10px;
}

/* --- Hero --- */
.hero {
  padding: clamp(2.75rem, 6vw, 5rem) 0 clamp(3.25rem, 8vw, 5.5rem);
  overflow: clip;
}

.hero--rise {
  background: linear-gradient(180deg, var(--bg-warm) 0%, color-mix(in srgb, var(--bg-warm) 70%, white) 48%, var(--bg-warm) 100%);
  border-bottom: 1px solid var(--border-soft);
}

.hero-grid {
  display: grid;
  gap: 2.5rem;
  align-items: center;
}

@media (min-width: 960px) {
  .hero-grid {
    grid-template-columns: 1fr 1.05fr;
    gap: 3rem;
  }
}

.hero h1 {
  font-family: var(--font-heading);
  font-size: clamp(2.5rem, 5.5vw, 3.75rem);
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: -0.035em;
  margin: 0 0 1.1rem;
  color: var(--text-deep);
}

.hero-lead {
  margin: 0 0 1.75rem;
  color: var(--muted);
  font-size: clamp(1.02rem, 1.5vw, 1.125rem);
  max-width: 48ch;
  line-height: 1.65;
}

.hero-ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  margin-bottom: 1.25rem;
}

.hero-note {
  font-size: 0.8125rem;
  color: var(--muted);
  max-width: 42ch;
  line-height: 1.5;
}

.hero-note strong {
  color: var(--text-deep);
}

/* Hero — floating bubbles (replace mock UI card) */
.hero-visual {
  position: relative;
  min-height: min(22rem, 52vh);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0.5rem 0;
}

@media (min-width: 960px) {
  .hero-visual {
    justify-content: flex-end;
    padding-right: 0.25rem;
  }
}

.hero-bubbles-glow {
  position: absolute;
  inset: 5% -5% 10% 10%;
  background: radial-gradient(ellipse 80% 70% at 55% 45%, rgba(163, 177, 138, 0.42), transparent 68%);
  pointer-events: none;
  z-index: 0;
}

/* Hero — focus priority map (core product visual) */
.focus-map-showcase {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 34rem;
}

@media (min-width: 960px) {
  .focus-map-showcase {
    max-width: 36rem;
  }
}

.focus-map-card {
  position: relative;
  overflow: hidden;
  border-radius: calc(var(--radius-md) + 4px);
  border: 1px solid color-mix(in srgb, var(--brand-primary) 14%, var(--border-soft));
  background: color-mix(in srgb, #fff 94%, var(--bg-warm));
  box-shadow:
    0 18px 48px -22px rgba(52, 78, 65, 0.35),
    0 0 0 1px color-mix(in srgb, var(--brand-primary) 6%, transparent);
}

.focus-map-frame {
  position: relative;
  width: 100%;
  aspect-ratio: 1;
  min-height: min(22rem, 52vh);
  padding: 0.35rem;
}

.focus-map-frame svg {
  display: block;
  width: 100%;
  height: 100%;
}

.hero-bubbles {
  position: relative;
  z-index: 1;
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  width: 100%;
  max-width: 22rem;
}

@media (min-width: 960px) {
  .hero-bubbles {
    max-width: 24rem;
  }
}

.hero-bubble {
  margin: 0;
  padding: 1rem 1.2rem 1.05rem;
  font-family: var(--font-heading);
  font-size: clamp(0.95rem, 1.35vw, 1.0625rem);
  font-weight: 600;
  line-height: 1.35;
  letter-spacing: -0.02em;
  color: var(--text-deep);
  background: color-mix(in srgb, #fff 92%, var(--bg-warm));
  border: 1px solid color-mix(in srgb, var(--brand-primary) 10%, var(--border-soft));
  border-radius: 999px;
  box-shadow: var(--shadow-soft);
  max-width: 100%;
  animation: hero-bubble-in 0.65s ease backwards;
}

.hero-bubble--1 {
  align-self: flex-end;
  max-width: 95%;
  animation-delay: 0.05s;
}

.hero-bubble--2 {
  align-self: flex-start;
  margin-inline-end: 8%;
  max-width: 100%;
  animation-delay: 0.18s;
}

.hero-bubble--3 {
  align-self: flex-end;
  margin-inline-start: 4%;
  max-width: 92%;
  animation-delay: 0.31s;
}

@media (prefers-reduced-motion: reduce) {
  .hero-bubble {
    animation: none;
  }
}

@keyframes hero-bubble-in {
  from {
    opacity: 0;
    transform: translateY(12px) scale(0.98);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

/* --- Sections --- */
.section {
  padding: clamp(3.25rem, 7vw, 5.25rem) 0;
}

.section-white {
  background: #fff;
  border-top: 1px solid var(--border-soft);
  border-bottom: 1px solid var(--border-soft);
}

.section--rise-band {
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.6);
}

.section-eyebrow {
  margin: 0 0 0.65rem;
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--brand-primary);
  opacity: 0.92;
}

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

.section-head.center .section-eyebrow {
  text-align: center;
}

.section-head.center .section-eyebrow + h2 {
  margin-top: 0;
}

/* Rise-style “how it works” strip (inspired by long-form marketing landings) */
.rise-steps-title {
  font-family: var(--font-heading);
  font-size: clamp(1.75rem, 3.5vw, 2.5rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.12;
  text-align: center;
  margin: 0 auto 0.85rem;
  max-width: 22ch;
  color: var(--text-deep);
}

.rise-steps-lede {
  text-align: center;
  margin: 0 auto 2.25rem;
  max-width: 42rem;
  font-size: 1.05rem;
  color: var(--muted);
  line-height: 1.6;
}

.rise-steps-grid {
  display: grid;
  gap: 1rem;
  grid-template-columns: 1fr;
}

@media (min-width: 768px) {
  .rise-steps-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 1.15rem;
  }
}

.rise-step-card {
  position: relative;
  background: var(--bg-warm);
  border: 1px solid var(--border-soft);
  border-radius: var(--radius-lg);
  padding: 1.35rem 1.4rem 1.5rem;
  box-shadow: var(--shadow-card);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.rise-step-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-soft);
}

.rise-step-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-heading);
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  color: var(--brand-primary);
  background: color-mix(in srgb, var(--brand-accent) 35%, white);
  border-radius: 8px;
  padding: 0.35rem 0.55rem;
  margin-bottom: 0.85rem;
}

.rise-step-card h3 {
  font-family: var(--font-heading);
  font-size: 1.05rem;
  font-weight: 800;
  margin: 0 0 0.5rem;
  letter-spacing: -0.02em;
  color: var(--text-deep);
}

.rise-step-card p {
  margin: 0;
  font-size: 0.92rem;
  color: var(--muted);
  line-height: 1.55;
}

.section-muted {
  background: color-mix(in srgb, var(--brand-accent) 12%, var(--bg-warm));
  border-top: 1px solid var(--border-soft);
  border-bottom: 1px solid var(--border-soft);
}

.section-dark {
  background: var(--sidebar-tone);
  color: #e8ede9;
}

.section-dark a {
  color: var(--brand-accent);
}

.section-dark a:hover {
  color: #c8d8be;
}

.section-head {
  max-width: 42rem;
  margin-bottom: 2.5rem;
}

.section-head.center {
  text-align: center;
  margin-left: auto;
  margin-right: auto;
}

.section-head h2 {
  font-family: var(--font-heading);
  font-size: clamp(1.7rem, 3vw, 2.25rem);
  font-weight: 800;
  letter-spacing: -0.025em;
  margin: 0 0 0.6rem;
  line-height: 1.12;
}

.section-head p {
  margin: 0;
  color: var(--muted);
  font-size: 1rem;
  line-height: 1.55;
}

.section-dark .section-head p {
  color: color-mix(in srgb, #e8ede9 72%, transparent);
}

/* Gol & log — two terms */
.terms-grid {
  display: grid;
  gap: 1rem;
  max-width: 880px;
  margin: 0 auto 2rem;
}

@media (min-width: 720px) {
  .terms-grid {
    grid-template-columns: 1fr 1fr;
    gap: 1.25rem;
  }
}

.term-card {
  background: var(--card);
  border: 1px solid var(--border-soft);
  border-radius: var(--radius-lg);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  padding: 1.5rem 1.35rem;
  box-shadow: var(--shadow-card);
}

.term-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-soft);
}

.term-label {
  font-family: var(--font-heading);
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--brand-primary);
  margin: 0 0 0.5rem;
}

.term-lede {
  font-family: var(--font-heading);
  font-size: 1.2rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  margin: 0 0 0.75rem;
  color: var(--text-deep);
}

.term-card > p:last-child {
  margin: 0;
  font-size: 0.95rem;
  color: var(--muted);
  line-height: 1.55;
}

/* Philosophy */
.philosophy-inner {
  max-width: 44rem;
}

.philosophy-inner .section-eyebrow {
  margin-bottom: 0.75rem;
}

.philosophy-inner h2 {
  font-family: var(--font-heading);
  font-size: clamp(1.5rem, 2.5vw, 1.85rem);
  font-weight: 800;
  margin: 0 0 1rem;
  letter-spacing: -0.02em;
}

.philosophy-inner p {
  margin: 0 0 1rem;
  color: var(--muted);
  font-size: 1.02rem;
}

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

/* #backlog anchor: land on section headline, clear sticky header */
#backlog {
  scroll-margin-top: 5.5rem;
}

/* Feedback backlog — status colors on columns; chrome matches Gollog */
.backlog-board {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
  margin-bottom: 2.5rem;
  text-align: left;
  align-items: start;
}

@media (min-width: 900px) {
  .backlog-board {
    grid-template-columns: 1fr 1fr 1fr;
    gap: 1rem;
  }
}

.backlog-column {
  display: flex;
  flex-direction: column;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-soft);
  background: var(--card);
  box-shadow: var(--shadow-card);
  overflow: visible;
}

.backlog-todo {
  background: color-mix(in srgb, #f4f5f7 55%, var(--bg-warm));
}

.backlog-todo .backlog-col-head {
  background: #626f86;
  color: #fff;
}

.backlog-doing {
  background: color-mix(in srgb, #deebff 45%, var(--bg-warm));
}

.backlog-doing .backlog-col-head {
  background: #0052cc;
  color: #fff;
}

.backlog-done {
  background: color-mix(in srgb, #e3fcef 50%, var(--bg-warm));
}

.backlog-done .backlog-col-head {
  background: #22a06b;
  color: #fff;
}

.backlog-col-head {
  font-family: var(--font-heading);
  font-size: 0.6875rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 0.6rem 0.85rem;
  margin: 0;
  border-radius: var(--radius-md) var(--radius-md) 0 0;
}

.backlog-cards {
  list-style: none;
  margin: 0;
  padding: 0.65rem;
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
}

.backlog-column-foot {
  margin-top: 0.65rem;
  padding: 0.65rem 0.65rem 0.75rem;
  border-top: 1px dashed color-mix(in srgb, var(--brand-primary) 15%, var(--border-soft));
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.backlog-suggest-row {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.backlog-suggest-btn {
  flex: 1;
  min-width: 0;
  text-align: center;
  font-size: 0.8125rem;
  line-height: 1.35;
  white-space: normal;
  padding-left: 0.75rem;
  padding-right: 0.75rem;
}

.backlog-suggest-row .backlog-tip--foot {
  flex-shrink: 0;
  align-self: center;
}

/* Issue rows — calm cards, status stripe only */
.backlog-issue {
  margin: 0;
  padding: 0.55rem 0.6rem 0.55rem 0.5rem;
  border-radius: 10px;
  background: #fff;
  border: 1px solid var(--border-soft);
  box-shadow: 0 1px 2px rgba(27, 38, 36, 0.05);
  border-left: 3px solid #7a869a;
  font-size: 0.8125rem;
  line-height: 1.45;
  color: var(--text-deep);
}

.backlog-doing .backlog-issue {
  border-left-color: #0052cc;
}

.backlog-done .backlog-issue {
  border-left-color: #22a06b;
}

.backlog-issue-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 0.4rem;
}

.backlog-issue-title {
  font-family: var(--font-heading);
  font-size: 0.8125rem;
  font-weight: 700;
  margin: 0;
  color: var(--text-deep);
  letter-spacing: -0.01em;
  line-height: 1.25;
}

.backlog-issue-desc {
  margin: 0.35rem 0 0;
  font-size: 0.72rem;
  color: var(--muted);
  line-height: 1.4;
}

/* ? tooltips — warm panel on hover / focus */
.backlog-tip {
  position: relative;
  flex-shrink: 0;
}

.backlog-tip--foot {
  display: inline-flex;
  align-items: center;
}

.backlog-tip-btn {
  width: 1.35rem;
  height: 1.35rem;
  padding: 0;
  border-radius: 999px;
  border: 1px solid var(--border-soft);
  background: var(--bg-warm);
  color: var(--brand-primary);
  font-family: var(--font-heading);
  font-size: 0.7rem;
  font-weight: 800;
  line-height: 1;
  cursor: help;
  box-shadow: 0 1px 2px rgba(27, 38, 36, 0.06);
}

.backlog-tip-btn:hover,
.backlog-tip-btn:focus-visible {
  border-color: color-mix(in srgb, var(--brand-primary) 35%, var(--border-soft));
  outline: none;
}

.backlog-tip-panel {
  position: absolute;
  right: 0;
  top: calc(100% + 6px);
  z-index: 40;
  width: min(17.5rem, calc(100vw - 2.5rem));
  padding: 0.75rem 0.85rem;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-soft);
  background: var(--bg-warm);
  color: var(--text-deep);
  font-size: 0.8125rem;
  font-weight: 400;
  line-height: 1.5;
  box-shadow: var(--shadow-soft);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.12s ease, visibility 0.12s ease;
}

.backlog-tip-panel--wide {
  width: min(20rem, calc(100vw - 2.5rem));
}

@media (max-width: 520px) {
  .backlog-tip-panel,
  .backlog-tip-panel--wide {
    right: auto;
    left: 0;
    width: min(100%, 18rem);
  }
}

.backlog-tip:hover .backlog-tip-panel,
.backlog-tip:focus-within .backlog-tip-panel {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.backlog-tip-lede {
  display: block;
  font-weight: 700;
  font-size: 0.8125rem;
  margin-bottom: 0.35rem;
  color: var(--brand-primary);
}

/* Pricing */
.pricing-billing {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.65rem;
  margin: 0 auto 2rem;
  max-width: 28rem;
  text-align: center;
}

.pricing-period {
  display: inline-flex;
  padding: 4px;
  gap: 4px;
  border-radius: 999px;
  background: color-mix(in srgb, var(--card) 88%, var(--border-soft));
  border: 1px solid var(--border-soft);
}

.pricing-period-btn {
  appearance: none;
  border: none;
  cursor: pointer;
  font-family: var(--font-sans);
  font-size: 0.875rem;
  font-weight: 600;
  padding: 0.5rem 1.35rem;
  border-radius: 999px;
  color: var(--muted);
  background: transparent;
  transition: background 0.15s ease, color 0.15s ease, box-shadow 0.15s ease;
}

.pricing-period-btn:hover {
  color: var(--text-deep);
}

.pricing-period-btn.is-active {
  background: var(--brand-primary);
  color: var(--bg-warm);
  box-shadow: 0 1px 3px rgba(27, 38, 36, 0.12);
}

.pricing-period-btn:focus {
  outline: none;
}

.pricing-period-btn:focus-visible {
  outline: 2px solid var(--brand-accent);
  outline-offset: 2px;
}

.pricing-grid {
  display: grid;
  gap: 1.25rem;
  max-width: 880px;
  margin-inline: auto;
}

@media (min-width: 720px) {
  .pricing-grid {
    grid-template-columns: 1fr 1fr;
    align-items: stretch;
  }
}

.price-card {
  display: flex;
  flex-direction: column;
  background: var(--card);
  border: 1px solid var(--border-soft);
  border-radius: var(--radius-lg);
  padding: 1.75rem 1.5rem;
  box-shadow: var(--shadow-card);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.price-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-soft);
}

.price-card.featured {
  border-color: var(--brand-primary);
  box-shadow: 0 12px 40px rgba(52, 78, 65, 0.12);
}

.price-card.featured:hover {
  box-shadow: 0 16px 48px rgba(52, 78, 65, 0.16);
}

.badge {
  display: inline-block;
  font-size: 0.65rem;
  font-weight: 800;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  padding: 0.3rem 0.55rem;
  border-radius: 6px;
  background: var(--brand-primary);
  color: var(--bg-warm);
  margin-bottom: 0.85rem;
}

.badge-muted {
  background: var(--muted);
  color: #fff;
}

.price-card h3 {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  font-weight: 800;
  margin: 0 0 0.35rem;
}

.price-card .sub {
  font-size: 0.875rem;
  color: var(--muted);
  margin: 0 0 1rem;
  line-height: 1.45;
}

.price-row {
  display: flex;
  align-items: baseline;
  gap: 0.25rem;
}

.price-row .currency {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--text-deep);
}

.price-row .amount {
  font-family: var(--font-heading);
  font-size: 2.15rem;
  font-weight: 800;
  letter-spacing: -0.03em;
  color: var(--text-deep);
}

.price-row .period {
  font-size: 0.9rem;
  color: var(--muted);
}

.price-amount-whole {
  font-family: var(--font-heading);
  font-size: 2.15rem;
  font-weight: 800;
  letter-spacing: -0.03em;
  color: var(--text-deep);
}

.price-billed-note {
  margin: 0.5rem 0 0;
  min-height: 2.75rem;
  font-size: 0.8125rem;
  color: var(--muted);
  line-height: 1.45;
}

.price-billed-note strong {
  color: var(--text-deep);
}

.price-billed-note--basic {
  min-height: auto;
}

.price-save-pill {
  display: inline-block;
  margin-left: 0.35rem;
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  vertical-align: middle;
  padding: 0.2rem 0.45rem;
  border-radius: 6px;
  background: color-mix(in srgb, var(--brand-accent) 40%, white);
  color: var(--brand-primary);
}

.price-list {
  margin: 1.2rem 0 0;
  padding: 0;
  list-style: none;
  font-size: 0.875rem;
  color: var(--muted);
}

.price-list--grow {
  flex: 1 1 auto;
}

.price-list li.price-list-lead {
  padding-left: 0;
  color: var(--text-deep);
  border-top: none;
  padding-top: 0;
}

.price-list li.price-list-lead::before {
  display: none;
}

.price-card-cta {
  width: 100%;
  margin-top: 1.25rem;
  text-align: center;
  box-sizing: border-box;
}

.price-list li {
  padding: 0.4rem 0;
  padding-left: 1.1rem;
  position: relative;
  border-top: 1px solid var(--border-soft);
}

.price-list li:first-child {
  border-top: none;
}

.price-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.65em;
  width: 5px;
  height: 5px;
  border-radius: 1px;
  background: var(--brand-accent);
  transform: rotate(45deg);
}

/* FAQ — accordion (long-form landing pattern) */
.faq-list {
  max-width: 880px;
  margin: 0 auto;
}

/* Match pricing band + card rhythm (price-card–like rows, not one boxed accordion) */
.faq-list--stack {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.faq-details {
  margin: 0;
  background: var(--card);
  border: 1px solid var(--border-soft);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-card);
  overflow: hidden;
  transition: box-shadow 0.2s ease, transform 0.2s ease;
}

.faq-details:hover {
  box-shadow: var(--shadow-soft);
}

.faq-details[open] {
  box-shadow: 0 12px 32px -8px rgba(27, 38, 36, 0.1);
}

.faq-details summary {
  list-style: none;
  cursor: pointer;
  font-family: var(--font-heading);
  font-size: clamp(0.95rem, 1.1vw, 1.05rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.2;
  padding: 1.15rem 1.4rem 1.1rem;
  color: var(--text-deep);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  transition: background 0.15s ease;
}

.faq-details summary::-webkit-details-marker {
  display: none;
}

.faq-details summary::after {
  content: "";
  flex-shrink: 0;
  width: 0.5rem;
  height: 0.5rem;
  border-right: 2px solid var(--brand-primary);
  border-bottom: 2px solid var(--brand-primary);
  transform: rotate(45deg);
  translate: 0 -0.1rem;
  opacity: 0.65;
  transition: transform 0.2s ease;
}

.faq-details[open] summary::after {
  transform: rotate(225deg);
  translate: 0 0.15rem;
}

.faq-details summary:hover {
  background: color-mix(in srgb, var(--brand-accent) 10%, var(--card));
}

.faq-details summary:focus {
  outline: none;
}

.faq-details summary:focus-visible {
  outline: 2px solid var(--brand-primary);
  outline-offset: -2px;
}

.faq-details-body {
  padding: 0 1.4rem 1.2rem;
  border-top: 1px solid var(--border-soft);
  background: color-mix(in srgb, var(--bg-warm) 50%, var(--card));
}

.faq-details-body p {
  margin: 0;
  font-size: 0.875rem;
  color: var(--muted);
  line-height: 1.55;
}

.faq-details-body a {
  font-weight: 600;
}

/* CTA strip */
.cta-strip {
  padding: clamp(2.5rem, 5vw, 3.25rem) 0;
}

.cta-strip .inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1.25rem;
}

.cta-strip h2 {
  font-family: var(--font-heading);
  font-size: clamp(1.45rem, 2.8vw, 1.85rem);
  font-weight: 800;
  margin: 0 0 0.35rem;
  letter-spacing: -0.025em;
  line-height: 1.15;
}

.cta-strip p {
  margin: 0;
  font-size: 0.9rem;
  opacity: 0.88;
}

.section-dark .btn-on-dark {
  background: var(--bg-warm);
  color: var(--brand-primary);
  border-color: var(--bg-warm);
}

.section-dark .btn-on-dark:hover {
  background: #fff;
  border-color: #fff;
  color: #1b2624;
}

/* Footer */
.site-footer {
  padding: 1.75rem 0 2.25rem;
  border-top: 1px solid color-mix(in srgb, white 12%, var(--sidebar-tone));
  font-size: 0.8125rem;
  color: color-mix(in srgb, #e8ede9 75%, transparent);
  background: var(--sidebar-tone);
}

.site-footer a {
  color: #e8ede9;
  text-decoration: none;
}

.site-footer a:hover {
  color: var(--brand-accent);
  text-decoration: underline;
}

.site-footer .inner {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1.5rem;
  justify-content: space-between;
  align-items: center;
}

/* Utility */
.text-center {
  text-align: center;
}

.mt-0 {
  margin-top: 0;
}

/* Legal pages */
.legal {
  max-width: 40rem;
  margin: 0 auto;
  padding: 2.5rem 0 4rem;
}

.legal h1,
.legal-page h1 {
  font-family: var(--font-heading);
  font-size: clamp(1.75rem, 3vw, 2.1rem);
  font-weight: 800;
  margin: 0 0 0.5rem;
  letter-spacing: -0.02em;
}

.legal .updated {
  font-size: 0.875rem;
  color: var(--muted);
  margin: 0 0 2rem;
}

.legal h2,
.legal-page h2 {
  font-family: var(--font-heading);
  font-size: 1.1rem;
  font-weight: 700;
  margin: 2rem 0 0.5rem;
}

.legal p,
.legal li,
.legal-page p,
.legal-page li {
  color: var(--muted);
  font-size: 0.98rem;
  margin: 0 0 0.75rem;
}

.legal ul,
.legal-page ul {
  margin: 0 0 1rem;
  padding-left: 1.25rem;
}

.legal a,
.legal-page a {
  word-break: break-word;
}

/* ---------------------------------------------------------------
   Discipline-tracking layout additions (cold metric tone)
   --------------------------------------------------------------- */

/* Sticky-header offset for new section anchors */
#problem,
#system,
#how,
#features,
#discipline,
#not-this,
#dashboard,
#pricing,
#roadmap,
#faq {
  scroll-margin-top: 5.5rem;
}

/* Hero — eyebrow above H1 */
.hero-eyebrow {
  margin: 0 0 0.85rem;
  font-family: var(--font-heading);
  font-size: 0.6875rem;
  font-weight: 800;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--brand-primary);
}

/* Hero — cold metric stack visual (replaces bubbles) */
.metric-stack {
  position: relative;
  z-index: 1;
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
  width: 100%;
  max-width: 24rem;
}

@media (min-width: 960px) {
  .metric-stack {
    max-width: 26rem;
  }
}

.metric-row {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.95rem 1.1rem;
  background: var(--card);
  border: 1px solid var(--border-soft);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-card);
}

.metric-row--gap {
  border-color: color-mix(in srgb, var(--brand-primary) 35%, var(--border-soft));
  background: color-mix(in srgb, var(--brand-accent) 18%, var(--bg-warm));
  box-shadow: 0 8px 24px -10px rgba(52, 78, 65, 0.25);
}

.metric-label {
  font-family: var(--font-heading);
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--brand-primary);
}

.metric-value {
  font-family: var(--font-heading);
  font-size: 1rem;
  font-weight: 800;
  letter-spacing: -0.01em;
  color: var(--text-deep);
  text-align: right;
}

.metric-value--muted {
  color: var(--muted);
  font-weight: 700;
}

.metric-value--gap {
  color: var(--brand-primary);
}

/* Problem — three cold rows */
.cold-list {
  display: grid;
  gap: 0.75rem;
  max-width: 880px;
  margin: 0 auto;
}

@media (min-width: 720px) {
  .cold-list {
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
  }
}

.cold-item {
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
  padding: 1.2rem 1.25rem 1.4rem;
  background: var(--card);
  border: 1px solid var(--border-soft);
  border-left: 3px solid var(--brand-primary);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-card);
}

.cold-num {
  font-family: var(--font-heading);
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  color: var(--brand-primary);
}

.cold-item p {
  margin: 0;
  font-size: 0.95rem;
  color: var(--muted);
  line-height: 1.55;
}

.cold-item strong {
  color: var(--text-deep);
  font-weight: 700;
}

/* System verdict line */
.system-verdict {
  margin: 1.75rem auto 0;
  max-width: 880px;
  text-align: center;
  font-family: var(--font-heading);
  font-size: clamp(1.05rem, 2vw, 1.35rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--text-deep);
}

.system-verdict span {
  display: inline-block;
  margin-left: 0.4rem;
  color: var(--muted);
  font-weight: 600;
  letter-spacing: -0.01em;
}

/* Capabilities — cold value cards */
.value-grid {
  display: grid;
  gap: 0.85rem;
  grid-template-columns: 1fr;
}

@media (min-width: 640px) {
  .value-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .value-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

.value-card {
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
  padding: 1.25rem 1.25rem 1.35rem;
  background: var(--card);
  border: 1px solid var(--border-soft);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-card);
  transition: box-shadow 0.2s ease, transform 0.2s ease;
}

.value-card:hover {
  box-shadow: var(--shadow-soft);
  transform: translateY(-2px);
}

.value-label {
  margin: 0;
  font-family: var(--font-heading);
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--brand-primary);
}

.value-line {
  margin: 0;
  font-family: var(--font-heading);
  font-size: 1.02rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--text-deep);
}

.value-card > p:last-child {
  margin: 0;
  font-size: 0.9rem;
  color: var(--muted);
  line-height: 1.5;
}

/* Discipline mechanic */
.discipline-inner {
  max-width: 44rem;
  margin: 0 auto;
}

.mechanic-steps {
  list-style: none;
  counter-reset: mech;
  margin: 1.75rem 0 1.25rem;
  padding: 0;
  display: grid;
  gap: 0.65rem;
}

.mechanic-steps li {
  position: relative;
  padding: 1rem 1.15rem 1rem 3.4rem;
  background: var(--card);
  border: 1px solid var(--border-soft);
  border-radius: var(--radius-md);
  font-size: 0.98rem;
  color: var(--muted);
  line-height: 1.55;
  counter-increment: mech;
}

.mechanic-steps li::before {
  content: counter(mech, decimal-leading-zero);
  position: absolute;
  left: 1.1rem;
  top: 1.05rem;
  font-family: var(--font-heading);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  color: var(--brand-primary);
}

.mechanic-steps strong {
  color: var(--text-deep);
  font-weight: 700;
}

.mechanic-note {
  margin: 0;
  font-size: 0.95rem;
  color: var(--muted);
  line-height: 1.6;
}

/* Differentiation — minimal table-like list */
.diff-list {
  list-style: none;
  margin: 0 auto;
  padding: 0;
  max-width: 760px;
  border-top: 1px solid var(--border-soft);
}

.diff-list li {
  display: grid;
  grid-template-columns: minmax(8rem, 11rem) 1fr;
  gap: 1.25rem;
  padding: 1rem 0;
  border-bottom: 1px solid var(--border-soft);
}

.diff-list .diff-tool {
  font-family: var(--font-heading);
  font-size: 0.95rem;
  font-weight: 800;
  letter-spacing: -0.01em;
  color: var(--muted);
}

.diff-list .diff-fail {
  color: var(--muted);
  font-size: 0.95rem;
  line-height: 1.55;
}

.diff-list-foot .diff-tool {
  color: var(--brand-primary);
}

.diff-list-foot .diff-fail {
  color: var(--text-deep);
  font-weight: 600;
}

@media (max-width: 560px) {
  .diff-list li {
    grid-template-columns: 1fr;
    gap: 0.25rem;
  }
}

/* Product experience tiles */
.exp-grid {
  display: grid;
  gap: 1rem;
  grid-template-columns: 1fr;
}

@media (min-width: 720px) {
  .exp-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.exp-tile {
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
  padding: 1.4rem 1.4rem 1.5rem;
  background: var(--card);
  border: 1px solid var(--border-soft);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-card);
}

.exp-label {
  margin: 0;
  font-family: var(--font-heading);
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--brand-primary);
}

.exp-line {
  margin: 0;
  font-family: var(--font-heading);
  font-size: 1.05rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--text-deep);
}

.exp-tile > p:last-child {
  margin: 0;
  font-size: 0.92rem;
  color: var(--muted);
  line-height: 1.55;
}

/* Pricing supporting note */
.pricing-note {
  max-width: 720px;
  margin: 1.5rem auto 0;
  text-align: center;
  font-size: 0.9rem;
  color: var(--muted);
  line-height: 1.55;
}

/* Trust strip + roadmap heading */
.trust-strip {
  display: grid;
  gap: 0.85rem;
  grid-template-columns: 1fr;
  margin: 0 auto 2.75rem;
  max-width: 880px;
}

@media (min-width: 720px) {
  .trust-strip {
    grid-template-columns: repeat(3, 1fr);
  }
}

.trust-item {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  padding: 1.15rem 1.25rem 1.25rem;
  background: var(--bg-warm);
  border: 1px solid var(--border-soft);
  border-radius: var(--radius-md);
}

.trust-label {
  margin: 0;
  font-family: var(--font-heading);
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--brand-primary);
}

.trust-item > p:last-child {
  margin: 0;
  font-size: 0.95rem;
  color: var(--muted);
  line-height: 1.5;
}

.roadmap-head {
  text-align: center;
  margin: 0 auto 1.25rem;
  max-width: 720px;
}

.roadmap-head .section-eyebrow {
  margin-bottom: 0.5rem;
}

.roadmap-heading {
  font-family: var(--font-heading);
  font-size: clamp(1.2rem, 2vw, 1.5rem);
  font-weight: 800;
  margin: 0;
  letter-spacing: -0.02em;
  color: var(--text-deep);
}
