:root {
  --bg: #f4f5f7;
  --bg2: #fff;
  --bg3: #eef0f3;
  --border: #e0e3e8;
  --text: #1a1d23;
  --muted: #6e7585;
  --accent: #2563eb;
  --accent-l: #eff4ff;
  --green: #16a34a;
  --green-l: #f0fdf4;
  --red: #dc2626;
  --red-l: #fef2f2;
  --yellow: #ca8a04;
  --yellow-l: #fefce8;
  --r: 8px;
  --r2: 14px;
  --sh: 0 1px 3px rgba(0, 0, 0, 0.08), 0 4px 16px rgba(0, 0, 0, 0.06);
  --sh-lg: 0 8px 32px rgba(37, 99, 235, 0.12), 0 2px 8px rgba(0, 0, 0, 0.06);
  --max: 1120px;
  --header-h: 64px;
}

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

html {
  font-size: 17px;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) - 8px);
  -webkit-font-smoothing: antialiased;
}

body {
  background: var(--bg);
  color: var(--text);
  font-family: "DM Sans", sans-serif;
  line-height: 1.6;
  overflow-x: hidden;
}

a {
  color: var(--accent);
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

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

.landing-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  height: var(--header-h);
  background: rgba(255, 255, 255, 0.97);
  border-bottom: 1px solid var(--border);
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.04);
}

.landing-header-inner {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 24px;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.landing-logo {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 22px;
  font-weight: 800;
  color: var(--accent);
  letter-spacing: -0.5px;
  text-decoration: none;
}

.landing-logo-icon {
  width: 32px;
  height: 32px;
  border-radius: 8px;
  flex-shrink: 0;
  object-fit: cover;
  display: block;
}

.landing-logo span {
  color: var(--muted);
  font-weight: 500;
}

a.landing-header-cta.btn {
  display: none;
}

body.landing-logged-in .landing-auth-guest {
  display: none !important;
}

.landing-menu-btn {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 1px solid var(--border);
  border-radius: var(--r);
  background: var(--bg2);
  cursor: pointer;
  flex-shrink: 0;
}

.landing-menu-btn span {
  display: block;
  width: 18px;
  height: 2px;
  margin: 0 auto;
  border-radius: 1px;
  background: var(--text);
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.landing-menu-btn[aria-expanded="true"] span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.landing-menu-btn[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
}

.landing-menu-btn[aria-expanded="true"] span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

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

.landing-nav a:not(.btn) {
  color: var(--muted);
  font-size: 15px;
  font-weight: 600;
  padding: 8px 12px;
  border-radius: var(--r);
  text-decoration: none;
}

.landing-nav a:not(.btn):hover {
  color: var(--text);
  background: var(--bg3);
  text-decoration: none;
}

.landing-nav a:not(.btn).is-active {
  color: var(--accent);
  background: var(--accent-l);
}

.landing-nav a:not(.btn).is-active:hover {
  color: var(--accent);
  background: var(--accent-l);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 11px 20px;
  border-radius: var(--r);
  font-family: inherit;
  font-size: 16px;
  font-weight: 700;
  cursor: pointer;
  border: none;
  transition: all 0.15s;
  text-decoration: none;
  white-space: nowrap;
}

.landing-auth-user.btn {
  display: none;
}

body.landing-logged-in .landing-nav .landing-auth-user.btn {
  display: inline-flex;
}

.btn-primary {
  background: var(--accent);
  color: #fff;
  box-shadow: 0 2px 8px rgba(37, 99, 235, 0.28);
}

.btn-primary:hover {
  background: #1d4ed8;
  text-decoration: none;
  transform: translateY(-1px);
}

.btn-ghost {
  background: transparent;
  color: var(--muted);
  border: 1px solid var(--border);
}

.btn-ghost:hover {
  color: var(--text);
  border-color: var(--text);
  text-decoration: none;
}

.btn-lg {
  padding: 14px 28px;
  font-size: 17px;
  border-radius: 10px;
}

.landing-section {
  padding: 72px 24px;
}

.landing-section--tight {
  padding-top: 48px;
  padding-bottom: 48px;
}

.landing-wrap {
  max-width: var(--max);
  margin: 0 auto;
}

.section-label {
  display: inline-block;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--accent);
  margin-bottom: 12px;
}

.section-title {
  font-size: clamp(1.75rem, 3.5vw, 2.35rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.15;
  margin-bottom: 16px;
}

.section-lead {
  font-size: 18px;
  color: var(--muted);
  line-height: 1.6;
  max-width: 640px;
}

/* Hero: vše důležité nad foldem na běžném monitoru */
.hero {
  padding: calc(var(--header-h) + 28px) 24px 40px;
  min-height: calc(100vh - 1px);
  min-height: calc(100dvh - 1px);
  display: flex;
  align-items: center;
  background:
    radial-gradient(ellipse 80% 60% at 70% -10%, rgba(37, 99, 235, 0.1), transparent),
    radial-gradient(ellipse 50% 40% at 0% 100%, rgba(22, 163, 74, 0.06), transparent),
    var(--bg);
}

.hero-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-areas:
    "intro screenshots"
    "pills screenshots";
  gap: 24px 40px;
  align-items: start;
}

.hero-intro {
  grid-area: intro;
}

.hero-intro h1 {
  font-size: clamp(2rem, 4.2vw, 2.85rem);
  font-weight: 800;
  letter-spacing: -0.04em;
  line-height: 1.12;
  margin-bottom: 14px;
}

.hero-intro .hero-sub {
  font-size: 18px;
  color: var(--muted);
  line-height: 1.6;
  margin-bottom: 16px;
  max-width: 520px;
}

.hero-pills {
  grid-area: pills;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.hero-cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 10px;
}

.hero-cta-note {
  font-size: 14px;
  color: var(--muted);
  line-height: 1.55;
  max-width: 420px;
}

.hero-proof-note {
  font-weight: 600;
  color: var(--text);
  margin-bottom: 18px;
  display: flex;
  align-items: flex-start;
  gap: 6px;
}

.inline-icon {
  display: inline-block;
  flex-shrink: 0;
  font-size: 1.1em;
  line-height: 1.2;
  vertical-align: -0.1em;
}

.cta-section-note {
  margin: 14px auto 0;
  text-align: center;
  max-width: none;
}

.hero-pill {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 12px;
  background: var(--bg2);
  border: 1px solid var(--border);
  border-radius: 10px;
  font-size: 14px;
  line-height: 1.45;
  box-shadow: var(--sh);
}

.hero-pill-icon {
  flex-shrink: 0;
  font-size: 26px;
  line-height: 1;
}

.hero-pill strong {
  display: block;
  font-size: 15px;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 1px;
}

.hero-pill span {
  color: var(--muted);
  font-size: 14px;
}

.story-cta {
  margin-top: 28px;
  text-align: center;
}

.proof-row {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
  gap: 12px;
  margin: 24px 0 32px;
}

.proof-item {
  padding: 14px 16px;
  background: var(--bg2);
  border: 1px solid var(--border);
  border-radius: 10px;
  box-shadow: var(--sh);
}

.proof-item strong {
  display: block;
  font-size: 15px;
  font-weight: 700;
  margin-bottom: 4px;
}

.proof-item span {
  font-size: 14px;
  color: var(--muted);
  line-height: 1.5;
}

/* Hero screenshots */
.hero-screenshots {
  grid-area: screenshots;
  align-self: center;
  transform: perspective(1200px) rotateY(-4deg) rotateX(2deg);
  transition: transform 0.3s ease;
}

.hero-screenshots:hover {
  transform: perspective(1200px) rotateY(-2deg) rotateX(1deg);
}

.app-screenshot {
  background: var(--bg2);
  border: 1px solid var(--border);
  border-radius: 16px;
  box-shadow: var(--sh-lg);
  overflow: hidden;
}

.app-screenshot-body {
  line-height: 0;
  background: #f3f4f6;
}

.app-screenshot-body img {
  display: block;
  width: 100%;
  height: auto;
}

.mockup-bar {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 10px 14px;
  background: var(--bg3);
  border-bottom: 1px solid var(--border);
}

.mockup-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #d1d5db;
}

.mockup-dot:nth-child(1) {
  background: #fca5a5;
}

.mockup-dot:nth-child(2) {
  background: #fcd34d;
}

.mockup-dot:nth-child(3) {
  background: #86efac;
}

.mockup-title {
  margin-left: 8px;
  font-size: 12px;
  font-weight: 700;
  color: var(--muted);
}

/* Screenshot gallery */
.screenshot-gallery {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin-top: 36px;
}

.screenshot-gallery-item {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 0;
  border: 1px solid var(--border);
  border-radius: 12px;
  background: var(--bg);
  overflow: hidden;
  cursor: zoom-in;
  text-align: left;
  font-family: inherit;
  box-shadow: var(--sh);
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.screenshot-gallery-item:hover {
  transform: translateY(-2px);
  border-color: #bfdbfe;
  box-shadow: var(--sh-lg);
}

.screenshot-gallery-item img {
  display: block;
  width: 100%;
  height: 120px;
  object-fit: cover;
  object-position: top center;
  background: #f3f4f6;
}

.screenshot-gallery-item:nth-child(3) img,
.screenshot-gallery-item:nth-child(4) img,
.screenshot-gallery-item:nth-child(5) img,
.screenshot-gallery-item:nth-child(6) img {
  object-position: top center;
}

.screenshot-gallery-label {
  padding: 0 10px 10px;
  font-size: 12px;
  font-weight: 700;
  color: var(--muted);
  line-height: 1.3;
}

.screenshot-lightbox {
  border: none;
  padding: 0;
  margin: auto;
  max-width: min(1100px, calc(100vw - 48px));
  width: 100%;
  background: transparent;
  overflow: visible;
}

.screenshot-lightbox::backdrop {
  background: rgba(15, 23, 42, 0.72);
}

.screenshot-lightbox-panel {
  position: relative;
  max-height: calc(100vh - 48px);
  margin: 0;
  background: var(--bg2);
  border: 1px solid var(--border);
  border-radius: 14px;
  box-shadow: var(--sh-lg);
  overflow: hidden;
}

.screenshot-lightbox-img {
  display: block;
  width: 100%;
  max-height: calc(100vh - 120px);
  object-fit: contain;
  background: #f3f4f6;
}

.screenshot-lightbox-caption {
  padding: 12px 16px;
  font-size: 14px;
  font-weight: 700;
  color: var(--text);
  border-top: 1px solid var(--border);
}

.screenshot-lightbox-close {
  position: absolute;
  top: 10px;
  right: 10px;
  z-index: 2;
  width: 36px;
  height: 36px;
  border: 0;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.92);
  color: var(--text);
  font-size: 24px;
  line-height: 1;
  cursor: pointer;
  box-shadow: var(--sh);
}

@media (max-width: 1100px) {
  .screenshot-gallery {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

/* Pain section */
.pain-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 36px;
}

.pain-card {
  display: grid;
  grid-template-columns: auto 1fr;
  column-gap: 14px;
  row-gap: 12px;
  background: var(--bg2);
  border: 1px solid var(--border);
  border-radius: var(--r2);
  padding: 28px 26px;
  box-shadow: var(--sh);
}

.pain-icon {
  grid-column: 1;
  grid-row: 1;
  align-self: center;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border-radius: 12px;
  font-size: 24px;
  line-height: 1;
}

.pain-card--ignore .pain-icon {
  background: var(--red-l);
}

.pain-card--interrupt .pain-icon {
  background: var(--yellow-l);
}

.pain-card--money .pain-icon {
  background: #fff7ed;
}

.pain-card--roi-chat .pain-icon {
  background: var(--accent-l);
}

.pain-card--roi-check .pain-icon {
  background: var(--green-l);
}

.pain-card--roi-chart .pain-icon {
  background: var(--yellow-l);
}

.pain-card h3 {
  grid-column: 2;
  grid-row: 1;
  align-self: center;
  font-size: 19px;
  font-weight: 700;
  margin: 0;
  letter-spacing: -0.02em;
  line-height: 1.25;
}

.pain-card p {
  grid-column: 1 / -1;
  grid-row: 2;
  font-size: 16px;
  color: var(--muted);
  line-height: 1.6;
}

/* Solution */
.solution-box {
  margin-top: 32px;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 32px;
  align-items: start;
}

.solution-text {
  font-size: 16px;
  line-height: 1.65;
  color: var(--text);
}

.solution-text p + p {
  margin-top: 14px;
}

.solution-acronym {
  background: var(--accent-l);
  border: 1px solid #bfdbfe;
  border-radius: var(--r2);
  padding: 24px;
}

.solution-acronym dt {
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--accent);
  margin-bottom: 8px;
}

.solution-acronym dd {
  font-size: 16px;
  line-height: 1.6;
  color: var(--text);
}

.solution-acronym .letters {
  display: flex;
  gap: 8px;
  margin-top: 16px;
}

.solution-acronym .letter {
  flex: 1;
  text-align: center;
  padding: 12px 8px;
  background: var(--bg2);
  border-radius: 10px;
  font-size: 22px;
  font-weight: 800;
  color: var(--accent);
  border: 1px solid #bfdbfe;
}

.solution-acronym .letter span {
  display: block;
  font-size: 10px;
  font-weight: 600;
  color: var(--muted);
  margin-top: 4px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

/* Dva režimy */
.devices-section {
  background: var(--bg2);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.modes-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  margin-top: 32px;
}

.mode-card {
  background: var(--bg);
  border: 1.5px solid var(--border);
  border-radius: var(--r2);
  padding: 26px 24px;
  box-shadow: var(--sh);
}

.mode-card--mobile {
  background: var(--bg2);
  border-color: var(--green);
  box-shadow: var(--sh-lg);
}

.mode-card--featured {
  background: var(--bg2);
  border-color: var(--accent);
  box-shadow: var(--sh-lg);
}

.mode-card-icon {
  font-size: 32px;
  line-height: 1;
  margin-bottom: 12px;
}

.mode-card-title {
  font-size: 20px;
  font-weight: 700;
  letter-spacing: -0.02em;
  margin-bottom: 6px;
}

.mode-card--mobile .mode-card-title {
  color: var(--green);
}

.mode-card--featured .mode-card-title {
  color: var(--accent);
}

.mode-card-lead {
  font-size: 16px;
  color: var(--muted);
  line-height: 1.55;
  margin-bottom: 14px;
}

.mode-card-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.mode-card-list li {
  font-size: 16px;
  line-height: 1.55;
  color: var(--text);
  padding-left: 18px;
  position: relative;
}

.mode-card-list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--green);
  font-weight: 700;
  font-size: 12px;
}

.modes-note {
  margin-top: 20px;
  font-size: 16px;
  line-height: 1.6;
  color: var(--muted);
  text-align: center;
  max-width: 640px;
  margin-left: auto;
  margin-right: auto;
}

/* Story */
.story-section {
  background: linear-gradient(180deg, var(--bg2) 0%, var(--bg) 100%);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.story-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  gap: 20px;
  margin-top: 28px;
  align-items: stretch;
}

.story-grid-main,
.story-grid-aside {
  display: flex;
  flex-direction: column;
  gap: 20px;
  min-width: 0;
}

.story-card {
  margin-top: 0;
  background: var(--bg2);
  border: 1px solid var(--border);
  border-left: 4px solid var(--accent);
  border-radius: 16px;
  padding: 28px 32px;
  box-shadow: var(--sh);
}

.story-founder-photo {
  margin: 0;
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid var(--border);
  box-shadow: var(--sh);
}

.story-founder-photo img {
  width: 100%;
  height: auto;
  aspect-ratio: 1024 / 498;
  object-fit: cover;
  object-position: center 20%;
}

.story-quote {
  font-size: 16px;
  line-height: 1.6;
  color: var(--text);
}

.story-author {
  margin-top: 20px;
  font-size: 15px;
  font-weight: 700;
  color: var(--muted);
}

.story-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 20px;
  padding: 8px 14px;
  background: var(--green-l);
  border: 1px solid #86efac;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 700;
  color: var(--green);
}

.story-motto {
  margin: 0;
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  text-align: center;
  font-size: clamp(18px, 1.6vw, 22px);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.3;
  color: var(--muted);
}

.story-motto::before,
.story-motto::after {
  content: "";
  flex: 1;
  max-width: 56px;
  height: 1px;
  background: var(--border);
}

.story-motto-accent {
  color: var(--accent);
}

.story-example {
  margin-top: 0;
  display: flex;
  flex-direction: column;
  padding: 28px 32px;
  background: var(--bg2);
  border: 1px solid var(--border);
  border-left: 4px solid #f59e0b;
  border-radius: 16px;
  box-shadow: var(--sh);
}

.story-card-title,
.story-example-title,
.story-philosophy-title {
  font-size: 19px;
  font-weight: 700;
  letter-spacing: -0.02em;
  margin-bottom: 12px;
  color: var(--text);
}

.story-example p,
.story-philosophy-lead {
  font-size: 16px;
  line-height: 1.6;
  color: var(--text);
}

.story-example p + p {
  margin-top: 12px;
}

.story-example-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 16px;
  padding: 8px 14px;
  background: var(--yellow-l);
  border: 1px solid #fde68a;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 700;
  color: #854d0e;
}

.story-philosophy {
  margin-top: 0;
  display: flex;
  flex-direction: column;
  padding: 28px 32px;
  background: var(--bg2);
  border: 1px solid var(--border);
  border-left: 4px solid #16a34a;
  border-radius: 16px;
  box-shadow: var(--sh);
}

.story-philosophy-title {
  margin-bottom: 8px;
}

.story-philosophy-lead {
  margin-bottom: 20px;
}

.story-philosophy-points {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 16px;
  flex: 1;
  counter-reset: philosophy;
}

.story-philosophy-points li {
  display: flex;
  align-items: flex-start;
  gap: 14px;
}

.story-philosophy-points li::before {
  content: counter(philosophy);
  counter-increment: philosophy;
  flex-shrink: 0;
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: #16a34a;
  color: #fff;
  font-size: 14px;
  font-weight: 700;
  line-height: 1;
  box-shadow: 0 0 0 4px rgba(22, 163, 74, 0.14);
}

.story-philosophy-point-body {
  flex: 1;
  min-width: 0;
}

.story-philosophy-point-body p {
  font-size: 16px;
  line-height: 1.6;
  color: var(--muted);
}

.story-philosophy-points strong {
  display: block;
  color: var(--text);
  font-weight: 700;
  font-size: 16px;
  line-height: 1.3;
  margin-bottom: 4px;
}

/* Benefits */
.benefits-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  margin-top: 36px;
}

.benefit-card--wide {
  grid-column: 1 / -1;
}

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

  .benefit-card--wide {
    grid-column: 1 / -1;
  }
}

.benefit-card {
  background: var(--bg2);
  border: 1px solid var(--border);
  border-radius: var(--r2);
  padding: 26px;
  box-shadow: var(--sh);
}

.benefit-card h3 {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  font-size: 20px;
  font-weight: 700;
  letter-spacing: -0.02em;
  margin-bottom: 10px;
}

.benefit-icon {
  flex-shrink: 0;
  font-size: 1.25em;
  line-height: 1;
  margin-top: 0.12em;
}

.benefit-title {
  flex: 1;
  min-width: 0;
}

.benefit-card p {
  font-size: 16px;
  color: var(--muted);
  line-height: 1.6;
}

.benefit-card ul {
  margin-top: 12px;
  padding-left: 18px;
  font-size: 16px;
  color: var(--muted);
  line-height: 1.65;
}

.benefit-card li + li {
  margin-top: 6px;
}

.benefit-card-list--cols {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 6px 28px;
}

.benefit-card-list--cols li + li {
  margin-top: 0;
}

@media (max-width: 640px) {
  .benefit-card-list--cols {
    grid-template-columns: 1fr;
  }
}

/* ROI kalkulačka — kompaktní layout, ideálně na jeden monitor */
.roi-section {
  padding: clamp(36px, 5vh, 48px) 24px;
}

.roi-section .section-label {
  margin-bottom: 8px;
}

.roi-section .section-title {
  margin-bottom: 10px;
  font-size: clamp(1.5rem, 2.8vw, 2rem);
}

.roi-intro-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 16px 24px;
  align-items: start;
  margin-bottom: 18px;
}

.roi-intro-row .section-lead {
  max-width: none;
  margin: 0;
}

.roi-section .section-lead strong {
  color: var(--text);
  font-weight: 700;
}

.roi-intro-note {
  margin: 0;
  max-width: none;
  font-size: 15px;
  line-height: 1.5;
  color: var(--muted);
  padding: 10px 14px;
  border-left: 3px solid var(--accent);
  background: var(--accent-l);
  border-radius: 0 var(--r) var(--r) 0;
}

.roi-intro-note strong {
  color: var(--text);
  font-weight: 700;
}

.roi-annual-switch {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 14px;
  padding-top: 14px;
  border-top: 1px solid var(--border);
  cursor: pointer;
  user-select: none;
}

.roi-annual-switch input {
  position: absolute;
  opacity: 0;
  width: 0;
  height: 0;
}

.roi-annual-switch-ui {
  position: relative;
  flex-shrink: 0;
  width: 44px;
  height: 26px;
  border-radius: 999px;
  background: var(--border);
  transition: background 0.15s ease;
}

.roi-annual-switch-ui::after {
  content: "";
  position: absolute;
  top: 3px;
  left: 3px;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.18);
  transition: transform 0.15s ease;
}

.roi-annual-switch input:checked + .roi-annual-switch-ui {
  background: var(--green);
}

.roi-annual-switch input:checked + .roi-annual-switch-ui::after {
  transform: translateX(18px);
}

.roi-annual-switch input:focus-visible + .roi-annual-switch-ui {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}

.roi-annual-switch-text {
  font-size: 15px;
  font-weight: 600;
  color: var(--muted);
  line-height: 1.4;
}

.roi-annual-switch-text strong {
  color: var(--green);
  font-weight: 800;
}

.roi-annual-switch input:checked ~ .roi-annual-switch-text {
  color: var(--text);
}

.roi-calc-box {
  background: var(--bg2);
  border: 1px solid var(--border);
  border-radius: var(--r2);
  padding: 18px 22px;
  margin-bottom: 14px;
  box-shadow: var(--sh);
}

.roi-columns {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-bottom: 16px;
}

.roi-column {
  background: var(--bg2);
  border: 1px solid var(--border);
  border-radius: var(--r2);
  padding: 14px 16px;
  box-shadow: var(--sh);
}

.roi-column--annual {
  border-color: rgba(22, 163, 74, 0.35);
  background: linear-gradient(180deg, var(--green-l) 0%, var(--bg2) 42%);
  box-shadow: var(--sh), 0 0 0 1px rgba(22, 163, 74, 0.08);
}

.roi-column-heading {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 6px;
  font-size: 15px;
  font-weight: 800;
  letter-spacing: -0.02em;
  margin-bottom: 10px;
  color: var(--text);
}

.roi-annual-badge {
  display: inline-block;
  padding: 4px 10px;
  border-radius: 999px;
  background: var(--green);
  color: #fff;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0;
}

.roi-annual-badge[hidden] {
  display: none !important;
}

.roi-license-saving {
  margin-top: 8px;
  padding: 8px 12px;
  border-radius: var(--r);
  background: rgba(22, 163, 74, 0.1);
  border: 1px solid rgba(22, 163, 74, 0.2);
  font-size: 13px;
  color: var(--muted);
  line-height: 1.4;
}

.roi-license-saving strong {
  color: var(--green);
  font-weight: 800;
}

.roi-monthly-note {
  margin-top: 8px;
  padding: 8px 12px;
  border-radius: var(--r);
  background: var(--accent-l);
  border: 1px solid rgba(37, 99, 235, 0.2);
  font-size: 13px;
  color: var(--muted);
  line-height: 1.4;
}

.roi-monthly-note strong {
  color: var(--accent);
  font-weight: 800;
}

.roi-sliders-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin-bottom: 0;
}

.roi-slider-col {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 8px;
  min-width: 0;
}

.roi-slider-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 10px;
}

.roi-slider-label {
  font-size: 13px;
  font-weight: 600;
  color: var(--muted);
  line-height: 1.3;
}

.roi-slider-val {
  flex-shrink: 0;
  font-size: 20px;
  font-weight: 800;
  color: var(--text);
  font-variant-numeric: tabular-nums;
  line-height: 1.1;
}

.roi-slider-val--desktop {
  text-align: right;
}

.roi-slider-val--mobile {
  display: none;
  min-width: 3ch;
  text-align: center;
}

.roi-stepper {
  display: none;
  align-items: center;
  justify-content: center;
  gap: 6px;
}

.roi-stepper-btn {
  flex: 0 0 34px;
  width: 34px;
  height: 34px;
  padding: 0;
  border: 1px solid var(--border);
  border-radius: var(--r);
  background: var(--bg3);
  color: var(--text);
  font-size: 20px;
  font-weight: 700;
  line-height: 1;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
  touch-action: manipulation;
}

.roi-stepper-btn:active:not(:disabled) {
  background: var(--accent-l);
  border-color: var(--accent);
  color: var(--accent);
}

.roi-stepper-btn:disabled {
  opacity: 0.35;
  cursor: not-allowed;
}

.roi-slider-col input.roi-range-input {
  -webkit-appearance: none;
  appearance: none;
  width: 100%;
  height: 36px;
  margin: 0;
  padding: 0;
  background: transparent;
  border: none;
  outline: none;
  cursor: pointer;
}

.roi-slider-col input.roi-range-input::-webkit-slider-runnable-track {
  height: 6px;
  background: var(--border);
  border-radius: 999px;
}

.roi-slider-col input.roi-range-input::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 24px;
  height: 24px;
  margin-top: -9px;
  border-radius: 50%;
  background: var(--accent);
  cursor: pointer;
  box-shadow: 0 1px 4px rgba(37, 99, 235, 0.35);
}

.roi-slider-col input.roi-range-input::-moz-range-track {
  height: 6px;
  background: var(--border);
  border-radius: 999px;
  border: none;
}

.roi-slider-col input.roi-range-input::-moz-range-thumb {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: var(--accent);
  cursor: pointer;
  border: none;
  box-shadow: 0 1px 4px rgba(37, 99, 235, 0.35);
}

@media (hover: none), (pointer: coarse) {
  .roi-stepper {
    display: flex;
  }

  .roi-slider-val--desktop {
    display: none;
  }

  .roi-slider-val--mobile {
    display: block;
  }

  .roi-slider-col input.roi-range-input {
    display: none;
  }
}

.roi-results-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 8px;
}

.roi-result-card {
  background: var(--bg3);
  border-radius: var(--r);
  padding: 10px 12px;
}

.roi-column--annual .roi-result-card {
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid rgba(22, 163, 74, 0.12);
}

.roi-result-card--net {
  grid-column: 1 / -1;
}

.roi-result-card--highlight {
  padding: 10px 12px;
}

.roi-result-card--highlight .roi-result-value {
  font-size: clamp(18px, 2.2vw, 22px);
}

.roi-column--monthly .roi-result-card--highlight {
  background: var(--accent-l);
  border: 1px solid rgba(37, 99, 235, 0.25);
}

.roi-column--monthly .roi-result-card--highlight .roi-net-positive {
  color: var(--accent);
}

.roi-column--annual .roi-result-card--highlight {
  background: var(--green-l);
  border: 1px solid rgba(22, 163, 74, 0.25);
}

.roi-result-label {
  font-size: 11px;
  font-weight: 600;
  color: var(--muted);
  margin-bottom: 2px;
  line-height: 1.25;
}

.roi-result-value {
  font-size: clamp(16px, 1.8vw, 18px);
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--text);
  line-height: 1.15;
}

.roi-net-positive {
  color: var(--green);
}

.roi-net-negative {
  color: var(--red);
}

.roi-section .pain-grid.roi-benefits-grid {
  margin-top: 36px;
  margin-bottom: 0;
}

.roi-intro-row .section-lead {
  font-size: 16px;
  line-height: 1.5;
}

@media (max-width: 900px) {
  .story-grid {
    grid-template-columns: 1fr;
    display: flex;
    flex-direction: column;
  }

  .story-grid-main,
  .story-grid-aside {
    display: contents;
  }

  .story-card { order: 1; }
  .story-motto {
    flex: none;
    order: 2;
    padding: 4px 0 8px;
  }
  .story-motto::before,
  .story-motto::after {
    max-width: 32px;
  }
  .story-founder-photo { order: 3; }
  .story-example { order: 4; }
  .story-philosophy { order: 5; }

  .roi-columns {
    grid-template-columns: 1fr;
  }

  .roi-intro-row {
    grid-template-columns: 1fr;
    gap: 12px;
  }
}

@media (max-width: 768px) {
  .roi-calc-box {
    padding: 16px 14px;
    margin-bottom: 16px;
  }

  .roi-column {
    padding: 20px 18px;
  }

  .roi-sliders-grid {
    gap: 10px;
    margin-bottom: 12px;
  }

  .roi-slider-col {
    gap: 4px;
  }

  .roi-slider-label {
    font-size: 11px;
    line-height: 1.2;
  }

  .roi-slider-val--desktop {
    display: none;
  }

  .roi-slider-val--mobile {
    display: block;
    font-size: 17px;
  }

  .roi-slider-col input.roi-range-input {
    display: none;
  }

  .roi-stepper {
    display: flex;
  }

  .roi-stepper-btn {
    flex: 0 0 30px;
    width: 30px;
    height: 30px;
    font-size: 18px;
  }

  .roi-annual-switch {
    margin-top: 12px;
    padding-top: 12px;
    gap: 10px;
  }

  .roi-annual-switch-text {
    font-size: 14px;
  }

  .roi-intro-note {
    padding: 12px 14px;
  }
}

/* Pricing */
.pricing-section {
  background: var(--bg2);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.pricing-toggle-wrap {
  display: flex;
  justify-content: center;
  margin: 28px 0 32px;
}

.pricing-billing-toggle {
  display: flex;
  align-items: stretch;
  gap: 0;
  padding: 4px;
  border-radius: 12px;
  background: var(--bg3);
  border: 1px solid var(--border);
}

.pricing-billing-opt {
  flex: 1;
  min-width: 140px;
  border: none;
  background: transparent;
  color: var(--muted);
  font-size: 16px;
  font-weight: 700;
  padding: 12px 20px;
  border-radius: 9px;
  cursor: pointer;
  font-family: inherit;
  transition: all 0.15s;
}

.pricing-billing-opt.is-active {
  background: var(--bg2);
  color: var(--text);
  box-shadow: 0 1px 4px rgba(15, 20, 35, 0.12);
}

.pricing-discount-badge {
  display: inline-block;
  margin-left: 4px;
  padding: 2px 7px;
  border-radius: 999px;
  background: var(--accent-l);
  color: var(--accent);
  font-size: 12px;
  font-weight: 800;
}

.pricing-billing-opt.is-active .pricing-discount-badge {
  background: var(--accent);
  color: #fff;
}

.pricing-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  align-items: stretch;
}

.pricing-card {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 24px 22px 22px;
  background: var(--bg);
  border: 1.5px solid var(--border);
  border-radius: 16px;
  box-shadow: var(--sh);
}

.pricing-card--featured {
  background: var(--bg2);
  border-color: var(--accent);
  box-shadow: var(--sh-lg);
}

.pricing-card-badge {
  position: absolute;
  top: -11px;
  left: 50%;
  transform: translateX(-50%);
  padding: 4px 12px;
  border-radius: 999px;
  background: var(--accent);
  color: #fff;
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  white-space: nowrap;
}

.pricing-card-name {
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--muted);
}

.pricing-card--featured .pricing-card-name {
  color: var(--accent);
}

.pricing-card-price {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-height: 5.25rem;
}

.pricing-card-price-main {
  font-size: 32px;
  font-weight: 800;
  letter-spacing: -0.04em;
  line-height: 1.1;
}

.pricing-card-price-main small {
  font-size: 15px;
  font-weight: 600;
  color: var(--muted);
}

.pricing-card-price-anchor {
  font-size: 15px;
  font-weight: 600;
  color: var(--muted);
  text-decoration: line-through;
}

.pricing-card-discount {
  display: inline-block;
  width: fit-content;
  padding: 3px 8px;
  border-radius: 6px;
  background: var(--green-l);
  color: var(--green);
  font-size: 12px;
  font-weight: 800;
}

.pricing-card-limits {
  font-size: 15px;
  line-height: 1.6;
  color: var(--muted);
  flex: 1;
}

.pricing-card-rate {
  font-size: 14px;
  line-height: 1.5;
  color: var(--muted);
  margin-top: -2px;
}

.pricing-card-price-strike {
  font-size: 13px;
  font-weight: 500;
  color: var(--muted);
  text-decoration: line-through;
  margin-right: 4px;
}

.pricing-card-rate strong {
  color: var(--text);
  font-weight: 700;
}

.pricing-card-limits strong {
  color: var(--text);
  font-weight: 700;
}

.pricing-card .btn {
  width: 100%;
  margin-top: 4px;
}

.pricing-table-wrap {
  border: 1px solid var(--border);
  border-radius: 10px;
  overflow: hidden;
  background: var(--bg);
  margin-top: 8px;
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.pricing-table-title {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--muted);
  padding: 8px 12px;
  border-bottom: 1px solid var(--border);
  background: var(--bg3);
  flex-shrink: 0;
}

.pricing-table-scroll {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  overscroll-behavior-x: contain;
}

.pricing-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 14px;
  table-layout: fixed;
}

.pricing-table col.pricing-col-tarif { width: 12%; }
.pricing-table col.pricing-col-limits { width: 16%; }
.pricing-table col.pricing-col-slot { width: 18%; }
.pricing-table col.pricing-col-price { width: 27%; }
.pricing-table col.pricing-col-action { width: 27%; }

.pricing-table th,
.pricing-table td {
  padding: 8px 10px;
  border-bottom: 1px solid var(--border);
  vertical-align: middle;
}

.pricing-table th.pricing-col-tarif,
.pricing-table td.pricing-col-tarif {
  padding-left: 16px;
}

.pricing-table th.pricing-col-action,
.pricing-table td.pricing-col-action {
  padding-right: 16px;
}

.pricing-table th {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--muted);
  background: var(--bg3);
}

.pricing-table td {
  font-size: 14px;
}

.pricing-col-tarif,
.pricing-table th.pricing-col-tarif {
  text-align: left;
  white-space: nowrap;
}

.pricing-col-limits,
.pricing-table th.pricing-col-limits {
  text-align: center;
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}

.pricing-col-slot,
.pricing-table th.pricing-col-slot {
  text-align: center;
  font-variant-numeric: tabular-nums;
}

.pricing-col-price,
.pricing-table th.pricing-col-price {
  text-align: center;
  font-variant-numeric: tabular-nums;
}

.pricing-col-action,
.pricing-table th.pricing-col-action {
  text-align: center;
}

.pricing-table .pricing-col-price .pricing-card-price-strike,
.pricing-table .pricing-col-slot .pricing-card-price-strike {
  display: block;
  margin-right: 0;
  line-height: 1.2;
}

.pricing-table .pricing-col-price strong,
.pricing-table .pricing-col-slot strong {
  display: block;
  line-height: 1.3;
}

.pricing-limits-sep {
  color: var(--muted);
  margin: 0 2px;
  font-weight: 500;
}

.pricing-table tr:last-child td {
  border-bottom: none;
}

.pricing-table tr.pricing-row--recommended td {
  background: var(--accent-l);
  font-weight: 600;
}

.pricing-table .pricing-card-price-strike {
  font-size: 12px;
  font-weight: 500;
  color: var(--muted);
  text-decoration: line-through;
  margin-right: 4px;
}

.pricing-table .btn-pay-tier {
  font-size: 11px;
  padding: 6px 10px;
  height: auto;
  min-width: 6.75rem;
  max-width: 100%;
  white-space: nowrap;
  box-sizing: border-box;
}

.btn-green {
  background: var(--green);
  color: #fff;
  box-shadow: 0 1px 2px rgba(22, 163, 74, 0.22);
}

.btn-green:hover {
  background: #15803d;
  text-decoration: none;
}

.btn-sm {
  padding: 5px 11px;
  font-size: 12px;
}

.pricing-order-note {
  margin-top: 18px;
  text-align: center;
  font-size: 15px;
  line-height: 1.55;
  color: var(--muted);
}

.pricing-org-teaser {
  margin-top: 12px;
  background: var(--bg2);
  border: 1px dashed var(--border);
  border-radius: 10px;
  padding: 12px 16px;
  font-size: 15px;
  line-height: 1.5;
  color: var(--muted);
}

.pricing-org-teaser--compact {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.pricing-org-teaser-text {
  flex: 1;
  min-width: min(100%, 20rem);
  line-height: 1.5;
}

.pricing-org-teaser-text em {
  font-style: normal;
  font-weight: 600;
  color: var(--text);
}

.pricing-org-teaser .btn {
  flex-shrink: 0;
}

.pricing-guarantee {
  margin-top: 24px;
  padding: 14px 18px;
  border-radius: 10px;
  background: var(--yellow-l);
  border: 1px solid #fde68a;
  font-size: 15px;
  line-height: 1.55;
  color: #854d0e;
  text-align: center;
}

/* FAQ */
.faq-list {
  margin-top: 32px;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px 20px;
  align-items: start;
}

.faq-item {
  background: var(--bg2);
  border: 1px solid var(--border);
  border-radius: 12px;
  overflow: hidden;
}

.faq-item summary {
  padding: 18px 20px;
  font-size: 17px;
  font-weight: 700;
  cursor: pointer;
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

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

.faq-item summary::after {
  content: "+";
  font-size: 20px;
  font-weight: 400;
  color: var(--muted);
  flex-shrink: 0;
}

.faq-item[open] summary::after {
  content: "−";
}

.faq-item p {
  padding: 0 20px 18px;
  font-size: 16px;
  color: var(--muted);
  line-height: 1.6;
}

/* Final CTA */
.cta-section {
  text-align: center;
  background:
    radial-gradient(ellipse 70% 80% at 50% 100%, rgba(37, 99, 235, 0.12), transparent),
    var(--bg);
}

.cta-section .section-title {
  max-width: 640px;
  margin-left: auto;
  margin-right: auto;
}

.cta-section .section-lead {
  margin-left: auto;
  margin-right: auto;
  margin-bottom: 28px;
}

/* Footer */
.landing-footer {
  padding: 24px;
  border-top: 1px solid var(--border);
  background: var(--bg2);
}

.landing-footer-inner {
  max-width: var(--max);
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
  align-items: center;
  gap: 16px;
  font-size: 13px;
  color: var(--muted);
}

.landing-footer-inner > span:first-child {
  justify-self: start;
  min-width: 0;
}

.landing-footer-links {
  justify-self: center;
  display: flex;
  flex-wrap: wrap;
  gap: 4px 18px;
  align-items: center;
  justify-content: center;
}

.landing-footer-links a {
  color: var(--muted);
  font-size: 13px;
  font-weight: 600;
  text-decoration: none;
}

.landing-footer-links a:hover {
  color: var(--text);
  text-decoration: underline;
}

.landing-footer-logo {
  justify-self: end;
  font-weight: 800;
  color: var(--accent);
}

.landing-footer-easter {
  max-width: var(--max);
  margin: 12px auto 0;
  font-size: 12px;
  line-height: 1.5;
  color: var(--muted);
  opacity: 0.8;
  text-align: right;
}

@media (max-width: 960px) {
  .hero-grid {
    grid-template-columns: 1fr;
    grid-template-areas:
      "intro"
      "pills"
      "screenshots";
  }

  .solution-box,
  .pain-grid,
  .roi-benefits-grid,
  .benefits-grid,
  .pricing-cards,
  .proof-row,
  .modes-grid {
    grid-template-columns: 1fr;
  }

  .mode-card--mobile,
  .mode-card--featured {
    box-shadow: var(--sh);
  }

  .hero {
    min-height: auto;
    padding-bottom: 56px;
  }

  .hero-screenshots {
    transform: none;
    max-width: 520px;
    margin: 0 auto;
  }

  .screenshot-gallery {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .pricing-table-scroll {
    overflow-x: hidden;
    -webkit-overflow-scrolling: touch;
  }

  .pricing-table col.pricing-col-tarif { width: 16%; }
  .pricing-table col.pricing-col-limits { width: 26%; }
  .pricing-table col.pricing-col-slot { width: 0; }
  .pricing-table col.pricing-col-price { width: 29%; }
  .pricing-table col.pricing-col-action { width: 29%; }

  .pricing-table th,
  .pricing-table td {
    padding: 6px 3px;
  }

  .pricing-table th.pricing-col-tarif,
  .pricing-table td.pricing-col-tarif {
    padding-left: 8px;
  }

  .pricing-table th.pricing-col-action,
  .pricing-table td.pricing-col-action {
    padding-right: 8px;
  }

  .pricing-table th {
    font-size: 9px;
    letter-spacing: 0.02em;
    line-height: 1.25;
  }

  .pricing-table td {
    font-size: 11px;
    line-height: 1.35;
  }

  .pricing-col-slot,
  .pricing-table th.pricing-col-slot {
    display: none;
  }

  .pricing-table .pricing-card-price-strike {
    display: none;
  }

  .pricing-table .btn-pay-tier {
    font-size: 9px;
    padding: 4px 4px;
    line-height: 1.2;
    width: 100%;
    min-width: 0;
    max-width: none;
    margin: 0 auto;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    white-space: normal;
    text-align: center;
    box-sizing: border-box;
  }

  .pricing-table .pricing-col-price strong {
    font-size: 11px;
    font-weight: 700;
  }

  .pricing-card .btn {
    box-sizing: border-box;
    white-space: normal;
    line-height: 1.3;
    padding: 10px 12px;
  }

  .pricing-org-teaser--compact {
    flex-direction: column;
    align-items: stretch;
    text-align: center;
  }

  .pricing-org-teaser .btn {
    width: 100%;
    justify-content: center;
  }

  .landing-header-inner {
    flex-wrap: nowrap;
    gap: 8px;
    padding: 0 16px;
  }

  .landing-logo {
    margin-right: auto;
    flex-shrink: 0;
  }

  a.landing-header-cta.landing-auth-guest.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 1;
    min-width: 0;
    height: 44px;
    min-height: 44px;
    padding: 0 12px;
    font-size: 12px;
    line-height: 1.2;
    white-space: nowrap;
    box-sizing: border-box;
  }

  body.landing-logged-in a.landing-header-cta.landing-auth-user {
    display: inline-flex;
  }

  body.landing-logged-in a.landing-header-cta.landing-auth-guest {
    display: none !important;
  }

  .landing-menu-btn {
    display: flex;
    flex-shrink: 0;
  }

  .landing-nav {
    display: none;
    position: fixed;
    top: var(--header-h);
    left: 0;
    right: 0;
    bottom: 0;
    width: 100%;
    z-index: 99;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 8px 24px 32px;
    background: #fff;
    border-top: 1px solid var(--border);
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
  }

  .landing-nav.is-open {
    display: flex;
  }

  body.landing-menu-open {
    overflow: hidden;
  }

  .landing-nav a:not(.btn) {
    display: block;
    padding: 14px 0;
    font-size: 17px;
    border-bottom: 1px solid var(--border);
    border-radius: 0;
  }

  .landing-nav a:not(.btn):hover {
    background: transparent;
  }

  .landing-nav a:not(.btn).is-active {
    color: var(--accent);
    background: transparent;
    box-shadow: inset 3px 0 0 var(--accent);
    padding-left: 12px;
  }

  .landing-nav a:not(.btn).is-active:hover {
    background: transparent;
  }

  .landing-nav .btn-ghost {
    width: 100%;
    margin-top: 12px;
    font-size: 15px;
    padding: 12px 16px;
    white-space: normal;
  }

  .landing-nav .landing-nav-cta {
    display: none !important;
  }

  .landing-nav .landing-nav-projects {
    display: none !important;
  }

  body.landing-logged-in .landing-nav .landing-nav-projects {
    display: inline-flex !important;
    width: 100%;
    margin-top: 12px;
    font-size: 15px;
    padding: 12px 16px;
    white-space: normal;
  }

  .landing-footer-easter {
    text-align: left;
    margin-top: 16px;
    opacity: 1;
  }

  .landing-footer-inner {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .landing-footer-inner > span:first-child,
  .landing-footer-links,
  .landing-footer-logo {
    justify-self: start;
  }

  .faq-list {
    grid-template-columns: 1fr;
  }

  .landing-footer-links {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
  }
}

@media (max-width: 640px) {
  .hero {
    padding-left: 18px;
    padding-right: 18px;
  }

  .landing-section {
    padding: 56px 18px;
  }

  .landing-nav {
    padding-left: 18px;
    padding-right: 18px;
  }

  .story-card,
  .story-example,
  .story-philosophy {
    padding: 24px 20px;
  }

  .hero-cta-row .btn-lg {
    width: 100%;
  }
}
