﻿:root {
  color-scheme: light;
  --bg: #f7f8f5;
  --ink: #1d2421;
  --muted: #66716c;
  --line: #dfe5de;
  --sage: #5f7f74;
  --blue: #6f8198;
  --warm: #806959;
  --paper: #ffffff;
  --soft: #eef4ee;
  --danger: #714234;
  --danger-bg: #fff8f5;
}

* {
  box-sizing: border-box;
}

[hidden] {
  display: none !important;
}

html {
  scroll-behavior: smooth;
  overflow-x: hidden;
}

body {
  margin: 0;
  min-height: 100vh;
  background: var(--bg);
  color: var(--ink);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

::selection {
  background: #cddbd3;
  color: #17201d;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
textarea {
  font: inherit;
}

button {
  cursor: pointer;
}

textarea {
  resize: vertical;
}

.site-header {
  align-items: center;
  display: flex;
  gap: 16px;
  justify-content: space-between;
  margin: 0 auto;
  max-width: 1280px;
  padding: 24px 32px 18px;
  position: relative;
  width: 100%;
  z-index: 10;
}

.site-header::before {
  background: rgba(255, 255, 255, .54);
  border: 1px solid rgba(223, 231, 223, .7);
  border-radius: 999px;
  box-shadow: 0 18px 55px rgba(70, 87, 78, .08);
  content: "";
  inset: 14px 12px;
  opacity: .62;
  pointer-events: none;
  position: absolute;
  z-index: -1;
}

.site-header-landing::before {
  display: none;
}

.brand {
  font-family: "Fraunces", Georgia, serif;
  font-size: 34px;
  letter-spacing: 0;
  font-weight: 500;
}

.brand-logo {
  align-items: center;
  display: inline-flex;
  height: 66px;
  overflow: hidden;
}

.brand-logo img {
  display: block;
  height: 64px;
  max-width: none;
  width: auto;
}

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

.landing-nav {
  align-items: center;
  background: rgba(255, 255, 255, .7);
  border: 1px solid #dfe7df;
  border-radius: 999px;
  box-shadow: 0 18px 55px rgba(70, 87, 78, .08);
  display: flex;
  gap: 2px;
  left: 50%;
  padding: 4px;
  position: absolute;
  top: 26px;
  transform: translateX(-50%);
}

.nav-link,
.nav-cta,
.nav-toggle,
.user-menu-button {
  border-radius: 999px;
  border: 1px solid transparent;
  color: #36443d;
  display: inline-flex;
  font-size: 14px;
  font-weight: 700;
  min-height: 42px;
  padding: 10px 15px;
  transition: border-color .2s, background .2s, color .2s;
}

.landing-nav .nav-link {
  padding-inline: 20px;
}

.nav-link:hover,
.nav-link.is-active,
.user-menu-button:hover {
  background: #eef4ee;
  color: var(--ink);
}

.nav-cta,
.button-primary {
  background: var(--ink);
  border-color: var(--ink);
  color: white;
}

.nav-cta:hover,
.button-primary:hover {
  background: #2b3833;
}

.button-secondary {
  background: white;
  border: 1px solid var(--line);
  color: var(--ink);
}

.nav-toggle {
  background: white;
  border-color: var(--line);
  display: inline-flex;
}

.hamburger-lines {
  display: grid;
  gap: 4px;
  width: 18px;
}

.hamburger-lines i {
  background: currentColor;
  border-radius: 999px;
  display: block;
  height: 2px;
  width: 100%;
}

.menu-panel {
  background: white;
  border: 1px solid var(--line);
  border-radius: 18px;
  box-shadow: 0 22px 60px rgba(70, 87, 78, .14);
  display: none;
  min-width: 230px;
  padding: 8px;
  position: absolute;
  right: 32px;
  top: 82px;
  z-index: 20;
}

.menu-panel.is-open {
  display: grid;
}

.menu-panel a,
.menu-panel button {
  background: transparent;
  border: 0;
  border-radius: 12px;
  color: var(--ink);
  display: block;
  font-size: 14px;
  font-weight: 700;
  padding: 12px 13px;
  text-align: left;
  width: 100%;
}

.menu-panel a:hover,
.menu-panel button:hover {
  background: var(--soft);
}

.user-menu {
  position: relative;
}

.user-menu-button {
  align-items: center;
  background: white;
  border-color: var(--line);
  gap: 10px;
}

.user-avatar {
  align-items: center;
  background: var(--soft);
  border-radius: 50%;
  color: var(--sage);
  display: inline-flex;
  height: 26px;
  justify-content: center;
  width: 26px;
}

.user-email {
  max-width: 190px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.user-menu-panel {
  background: white;
  border: 1px solid var(--line);
  border-radius: 14px;
  box-shadow: 0 22px 60px rgba(70, 87, 78, .12);
  display: none;
  min-width: 220px;
  padding: 8px;
  position: absolute;
  right: 0;
  top: calc(100% + 10px);
}

.user-menu-panel.is-open {
  display: block;
}

.user-menu-panel a,
.user-menu-panel button {
  background: transparent;
  border: 0;
  border-radius: 10px;
  color: var(--ink);
  display: block;
  font-size: 14px;
  font-weight: 700;
  padding: 11px 12px;
  text-align: left;
  width: 100%;
}

.user-menu-panel a:hover,
.user-menu-panel button:hover {
  background: var(--soft);
}

.container {
  margin: 0 auto;
  max-width: 1280px;
  padding: 26px 40px 64px;
}

.narrow {
  max-width: 520px;
}

.hero {
  border-bottom: 1px solid var(--line);
  overflow: hidden;
  position: relative;
}

.hero::before {
  background-image: linear-gradient(90deg, rgba(116, 141, 129, .08) 1px, transparent 1px), linear-gradient(rgba(116, 141, 129, .08) 1px, transparent 1px);
  background-size: 72px 72px;
  content: "";
  inset: 0;
  opacity: .45;
  position: absolute;
}

.hero-inner {
  display: grid;
  gap: 40px;
  grid-template-columns: minmax(0, .9fr) minmax(320px, 1.1fr);
  min-height: 704px;
  padding-bottom: 64px;
  padding-top: 18px;
  position: relative;
}

.eyebrow {
  background: rgba(255, 255, 255, .75);
  border: 1px solid #d8e2d8;
  border-radius: 999px;
  color: var(--sage);
  display: inline-flex;
  font-size: 12px;
  font-weight: 400;
  padding: 9px 14px;
}

.dot {
  background: var(--sage);
  border-radius: 50%;
  display: inline-block;
  height: 8px;
  margin-right: 8px;
  width: 8px;
}

.hero h1,
.page-title,
.serif {
  font-family: Georgia, serif;
  letter-spacing: 0;
}

.hero h1 {
  font-size: clamp(48px, 9vw, 98px);
  font-weight: 400;
  line-height: .95;
  margin: 28px 0 0;
}

.claim {
  color: var(--warm);
  font-size: clamp(24px, 3vw, 34px);
  font-weight: 700;
  margin: 16px 0 0;
}

.lead {
  color: #3f4d46;
  font-size: 18px;
  line-height: 1.8;
  max-width: 650px;
}

.hero-card,
.card,
.auth-card {
  background: rgba(255, 255, 255, .82);
  border: 1px solid var(--line);
  border-radius: 18px;
  box-shadow: 0 20px 70px rgba(70, 87, 78, .08);
}

.hero-card {
  align-self: center;
  padding: 28px;
}

.chat-preview {
  display: grid;
  gap: 30px;
  width: 100%;
}

.chat-panel-heading {
  align-items: center;
  border-bottom: 1px solid var(--line);
  display: flex;
  justify-content: space-between;
  margin: -2px 0 24px;
  padding-bottom: 14px;
}

.chat-panel-heading .section-label {
  margin: 0;
}

.chat-panel-heading span {
  background: var(--soft);
  border: 1px solid #d6e3d8;
  border-radius: 999px;
  color: #49695d;
  font-size: 12px;
  font-weight: 700;
  padding: 6px 10px;
}

.chat-message {
  display: block;
}

.chat-message-user .chat-message-body {
  margin-left: auto;
  max-width: min(720px, 82%);
}

.chat-message-ai .chat-message-body {
  max-width: 100%;
}

.chat-avatar {
  display: none;
}

.chat-message-body {
  line-height: 1.7;
  min-width: 0;
}

.chat-message-body > strong {
  color: var(--ink);
  display: block;
  font-size: 14px;
  margin-bottom: 8px;
}

.chat-message-user .chat-message-body {
  background: #f3f3f2;
  border: 0;
  border-radius: 24px;
  padding: 16px 18px;
}

.chat-message-user .chat-message-body > strong,
.chat-message-ai .chat-message-body > strong {
  display: none;
}

.chat-message-ai .chat-message-body {
  background: transparent;
  border: 0;
  padding: 0;
}

.chat-message-user p {
  color: var(--muted);
  line-height: 1.35;
  margin: 0;
  white-space: pre-wrap;
}

.chat-message-ai .reflection-content p,
.chat-message-ai .reflection-content li {
  line-height: 1.65;
}

.inline-follow-up {
  border-top: 1px solid var(--line);
  margin-top: 28px;
  padding-top: 20px;
}

.inline-follow-up > strong {
  color: var(--ink);
  display: block;
  font-size: 14px;
  margin-bottom: 8px;
}

.follow-up-prompt {
  background: #f6f7f4;
  border: 1px solid #e0e6df;
  border-radius: 14px;
  color: var(--muted);
  display: block;
  line-height: 1.75;
  margin: 0;
  padding: 16px;
  text-align: left;
  white-space: pre-wrap;
  width: 100%;
}

.follow-up-prompt:hover,
.follow-up-prompt:focus-visible {
  background: #eef2ed;
  border-color: #cfd9cf;
  color: var(--ink);
  outline: none;
}

.bubble {
  border: 1px solid var(--line);
  border-radius: 18px;
  line-height: 1.65;
  padding: 18px;
}

.bubble-user {
  background: var(--ink);
  color: white;
  margin-left: auto;
  max-width: 88%;
}

.bubble-ai {
  background: var(--soft);
}

.bubble-follow {
  background: #fff7f1;
  border-color: #eadfd7;
}

.button-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

.button-primary,
.button-secondary {
  align-items: center;
  border-radius: 999px;
  display: inline-flex;
  font-size: 14px;
  font-weight: 400;
  gap: 10px;
  justify-content: center;
  min-height: 50px;
  padding: 12px 22px;
}

.grid {
  display: grid;
  gap: 18px;
}

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

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

.dashboard-card-actions {
  margin-top: 18px;
}

.dashboard-subscription-note {
  color: var(--muted);
  font-size: 12px;
  line-height: 1.5;
  margin: 8px 0 0;
}

.dashboard-billing-link {
  color: var(--sage);
  display: inline-flex;
  font-size: 12px;
  font-weight: 700;
  margin-top: 10px;
}

.settings-inline-form {
  margin-top: 18px;
}

.app-grid {
  align-items: stretch;
  grid-template-columns: minmax(0, .92fr) minmax(0, 1.08fr);
}

.app-grid > .analysis-workspace,
.app-grid > .upgrade-panel {
  grid-column: 1 / -1;
}

.card,
.auth-card {
  padding: 24px;
}

.auth-card {
  margin-top: 20px;
}

.field-help {
  color: var(--muted);
  display: block;
  font-size: 12px;
  line-height: 1.4;
  margin-top: 6px;
}

/* Restkontingent-Pill am Submit-Button */
.submit-pill {
  background: rgba(255, 255, 255, .18);
  border: 1px solid rgba(255, 255, 255, .28);
  border-radius: 999px;
  color: #fff;
  display: inline-flex;
  font-size: 12px;
  font-weight: 500;
  line-height: 1;
  margin-left: 10px;
  padding: 5px 10px;
  letter-spacing: .01em;
}

.submit-pill-low {
  background: rgba(255, 188, 120, .25);
  border-color: rgba(255, 188, 120, .45);
}

.submit-pill-cta {
  background: rgba(255, 255, 255, .22);
  border-color: rgba(255, 255, 255, .35);
}

/* CTA-Variante des Submit-Buttons bei erreichtem Tageslimit */
.submit-as-cta {
  align-items: center;
  display: inline-flex;
  gap: 8px;
  justify-content: center;
  text-decoration: none;
}

/* Locked-State für Formular bei Tageslimit */
.form-grid.is-locked textarea {
  background: rgba(95, 127, 116, .04);
  color: var(--muted);
  cursor: not-allowed;
}

.analysis-workspace.is-limited {
  position: relative;
}

.form-meta-hint {
  color: var(--muted);
}

/* Empty-State-Schritte */
.empty-state-steps {
  color: var(--muted);
  display: grid;
  gap: 10px;
  list-style: none;
  margin: 14px 0 0;
  padding: 0;
  counter-reset: empty-step;
}

.empty-state-steps li {
  counter-increment: empty-step;
  padding-left: 34px;
  position: relative;
  line-height: 1.5;
}

.empty-state-steps li::before {
  align-items: center;
  background: var(--sage);
  border-radius: 999px;
  color: #fff;
  content: counter(empty-step);
  display: inline-flex;
  font-size: 13px;
  font-weight: 600;
  height: 24px;
  justify-content: center;
  left: 0;
  position: absolute;
  top: 2px;
  width: 24px;
}

.empty-state-steps strong {
  color: var(--ink);
  font-weight: 600;
}

/* Google-Login Fallback-Hinweis */
/* Gast-Probe-Analyse Banner über dem Workspace */
.guest-trial-banner {
  align-items: center;
  background: linear-gradient(135deg, rgba(95, 127, 116, .14), rgba(95, 127, 116, .06));
  border: 1px solid rgba(95, 127, 116, .25);
  border-radius: 16px;
  display: flex;
  gap: 14px;
  margin: 0 0 16px;
  padding: 14px 18px;
}

.guest-trial-icon {
  color: var(--sage);
  font-size: 22px;
  line-height: 1;
}

.guest-trial-text {
  display: flex;
  flex-direction: column;
  line-height: 1.4;
  min-width: 0;
}

.guest-trial-text strong {
  color: var(--ink);
  font-size: 15px;
  font-weight: 600;
}

.guest-trial-text small {
  color: var(--muted);
  font-size: 13px;
  margin-top: 3px;
}

/* Post-Trial CTA Card (nach erster Probe-Analyse) */
.post-trial-cta {
  background: #fff;
  border: 2px solid var(--sage, #5f7f74);
  margin-top: 18px;
  animation: post-trial-cta-in .4s ease-out;
}

.post-trial-cta[hidden] {
  display: none;
}

@keyframes post-trial-cta-in {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: translateY(0); }
}

.post-trial-cta .section-label {
  color: var(--sage);
}

/* Carry-Over-Hinweis auf Register-Seite */
.trial-pickup-note {
  align-items: center;
  background: rgba(95, 127, 116, .08);
  border: 1px solid rgba(95, 127, 116, .2);
  border-radius: 12px;
  color: var(--ink);
  display: flex;
  font-size: 14px;
  gap: 10px;
  line-height: 1.45;
  margin: 0 0 14px;
  padding: 12px 14px;
}

.trial-pickup-note span {
  color: var(--sage);
  font-size: 18px;
  line-height: 1;
}

.trial-pickup-note[hidden] {
  display: none;
}

/* PWA Install-Prompt — dezente Pille unten rechts */
.install-prompt {
  align-items: center;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 999px;
  bottom: 18px;
  box-shadow: 0 18px 50px rgba(20, 30, 26, .18);
  display: flex;
  gap: 12px;
  max-width: calc(100vw - 28px);
  padding: 10px 14px 10px 18px;
  position: fixed;
  right: 18px;
  z-index: 950;
  animation: install-prompt-in .35s ease-out;
}

.install-prompt[hidden] {
  display: none;
}

@keyframes install-prompt-in {
  from { opacity: 0; transform: translateY(12px); }
  to { opacity: 1; transform: translateY(0); }
}

.install-prompt-icon {
  color: var(--sage);
  font-size: 18px;
  line-height: 1;
}

.install-prompt-text {
  display: flex;
  flex-direction: column;
  line-height: 1.2;
  min-width: 0;
}

.install-prompt-text strong {
  font-size: 14px;
  font-weight: 600;
}

.install-prompt-text small {
  color: var(--muted);
  font-size: 12px;
  margin-top: 2px;
}

.install-prompt-action {
  background: var(--ink);
  border: 0;
  border-radius: 999px;
  color: #fff;
  cursor: pointer;
  font: inherit;
  font-size: 13px;
  font-weight: 500;
  margin-left: 4px;
  padding: 8px 16px;
  white-space: nowrap;
  transition: background .2s;
}

.install-prompt-action:hover {
  background: #2b3833;
}

.install-prompt-close {
  background: transparent;
  border: 0;
  border-radius: 999px;
  color: var(--muted);
  cursor: pointer;
  font-size: 20px;
  height: 26px;
  line-height: 1;
  margin-left: -6px;
  margin-right: -2px;
  order: -1;
  width: 26px;
}

.install-prompt-close:hover {
  background: rgba(0, 0, 0, .05);
  color: var(--ink);
}

@media (max-width: 480px) {
  .install-prompt {
    bottom: 14px;
    gap: 10px;
    left: 14px;
    padding: 10px 12px 10px 14px;
    right: 14px;
  }
  .install-prompt-text small {
    display: none;
  }
}

/* Thread-Teaser im Dashboard */
.dashboard-thread-teaser {
  display: grid;
  gap: 8px;
  list-style: none;
  margin: 14px 0 18px;
  padding: 0;
}

.dashboard-thread-teaser a {
  background: rgba(95, 127, 116, .04);
  border: 1px solid var(--line);
  border-radius: 12px;
  color: inherit;
  display: block;
  padding: 12px 14px;
  text-decoration: none;
  transition: background .2s, border-color .2s;
}

.dashboard-thread-teaser a:hover {
  background: rgba(95, 127, 116, .08);
  border-color: #cddbd1;
}

.dashboard-thread-teaser strong {
  display: block;
  font-family: Georgia, serif;
  font-size: 16px;
  font-weight: 400;
  line-height: 1.3;
  margin-bottom: 4px;
}

.dashboard-thread-teaser small {
  color: var(--muted);
  font-size: 12px;
}

.hero-trust-disclaimer {
  align-items: center;
  color: var(--muted);
  display: inline-flex;
  font-size: 13px;
  gap: 8px;
  letter-spacing: .01em;
  margin: 14px 0 0;
  opacity: .85;
}

.hero-trust-disclaimer span {
  color: var(--sage);
}

.auth-fallback-note {
  background: rgba(95, 127, 116, .06);
  border: 1px solid rgba(95, 127, 116, .18);
  border-radius: 12px;
  color: var(--muted);
  font-size: 14px;
  margin: 0 0 18px;
  padding: 12px 14px;
}

/* Legal-Modal (AGB / Datenschutz inline) */
body.modal-open {
  overflow: hidden;
}

.legal-modal {
  align-items: center;
  display: flex;
  inset: 0;
  justify-content: center;
  padding: 24px;
  position: fixed;
  z-index: 1000;
}

.legal-modal[hidden] {
  display: none;
}

.legal-modal-backdrop {
  background: rgba(15, 20, 18, .55);
  cursor: pointer;
  inset: 0;
  position: absolute;
}

.legal-modal-panel {
  background: #fff;
  border-radius: 20px;
  box-shadow: 0 30px 80px rgba(20, 30, 26, .35);
  display: flex;
  flex-direction: column;
  max-height: min(85vh, 900px);
  max-width: 720px;
  position: relative;
  width: 100%;
}

.legal-modal-header {
  align-items: center;
  border-bottom: 1px solid var(--line);
  display: flex;
  justify-content: space-between;
  padding: 18px 24px;
}

.legal-modal-header h2 {
  font-family: "Fraunces", Georgia, serif;
  font-size: 22px;
  font-weight: 500;
  margin: 0;
}

.legal-modal-close {
  background: transparent;
  border: 0;
  border-radius: 999px;
  cursor: pointer;
  font-size: 28px;
  height: 36px;
  line-height: 1;
  width: 36px;
}

.legal-modal-close:hover {
  background: rgba(0, 0, 0, .05);
}

.legal-modal-body {
  overflow-y: auto;
  padding: 18px 24px;
}

.legal-modal-body h1,
.legal-modal-body h2,
.legal-modal-body h3 {
  font-family: "Fraunces", Georgia, serif;
}

.legal-modal-body h1 {
  font-size: 24px;
  margin: 0 0 12px;
}

.legal-modal-body p {
  line-height: 1.55;
}

.legal-modal-footer {
  align-items: center;
  border-top: 1px solid var(--line);
  display: flex;
  gap: 10px;
  justify-content: flex-end;
  padding: 14px 24px;
}

@media (max-width: 600px) {
  .legal-modal {
    padding: 0;
  }
  .legal-modal-panel {
    border-radius: 0;
    height: 100%;
    max-height: 100%;
  }
}

.password-suggest-button {
  justify-self: start;
}

.admin-page {
  max-width: 1180px;
}

.admin-topbar,
.admin-section-head {
  align-items: center;
  display: flex;
  gap: 18px;
  justify-content: space-between;
  margin-bottom: 22px;
}

.admin-stat-grid {
  display: grid;
  gap: 14px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-bottom: 22px;
}

.admin-stat {
  display: grid;
  gap: 6px;
}

.admin-stat span,
.admin-stat small,
.admin-table small,
.admin-list-item small {
  color: var(--muted);
}

.admin-stat strong {
  color: var(--ink);
  font-family: Georgia, serif;
  font-size: 30px;
  font-weight: 400;
}

.admin-panel h2 {
  color: var(--ink);
  font-family: Georgia, serif;
  font-size: 26px;
  font-weight: 400;
  margin: 0;
}

.admin-search {
  align-items: end;
  display: grid;
  gap: 14px;
  grid-template-columns: minmax(0, 1fr) auto;
  margin-bottom: 22px;
}

.admin-table-wrap {
  overflow-x: auto;
  width: 100%;
}

.admin-table {
  border-collapse: collapse;
  min-width: 860px;
  width: 100%;
}

.admin-table th,
.admin-table td {
  border-bottom: 1px solid var(--line);
  padding: 13px 10px;
  text-align: left;
  vertical-align: top;
}

.admin-table th {
  color: #6d7a73;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.admin-table td strong,
.admin-table td small {
  display: block;
}

.admin-table a,
.admin-section-head a {
  color: var(--sage);
}

.admin-badge {
  border-radius: 999px;
  display: inline-flex;
  font-size: 12px;
  padding: 6px 10px;
}

.admin-badge.is-active {
  background: #edf7ef;
  color: #527264;
}

.admin-badge.is-blocked {
  background: #fff1ec;
  color: #955f4e;
}

.button-danger {
  align-items: center;
  background: #7b382c;
  border: 1px solid #7b382c;
  border-radius: 999px;
  color: white;
  display: inline-flex;
  font-size: 14px;
  justify-content: center;
  padding: 12px 18px;
}

.button-danger:hover {
  background: #673025;
}

.admin-inline-form {
  margin: 0;
}

.admin-two-col {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin: 22px 0;
}

.admin-list {
  display: grid;
  gap: 10px;
  margin-top: 18px;
}

.admin-list-item {
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 12px;
}

.admin-list-item strong,
.admin-list-item small {
  display: block;
}

.check-row {
  align-items: flex-start;
  display: grid;
  gap: 10px;
  grid-template-columns: 20px 1fr;
}

.check-row input {
  accent-color: var(--sage);
  height: 18px;
  margin-top: 3px;
  width: 18px;
}

.check-row span {
  color: var(--muted);
  font-size: 14px;
  font-weight: 500;
  line-height: 1.6;
  margin: 0;
}

.check-row a,
.privacy-form-note a {
  color: var(--sage);
  font-weight: 400;
}

.privacy-form-note {
  background: #f6f9f5;
  border: 1px solid var(--line);
  border-radius: 14px;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.65;
  margin: 18px 0 0;
  padding: 13px 14px;
}

.google-button {
  align-items: center;
  background: white;
  border: 1px solid var(--line);
  border-radius: 999px;
  box-shadow: 0 14px 36px rgba(70, 87, 78, .06);
  display: flex;
  font-size: 14px;
  font-weight: 400;
  justify-content: center;
  min-height: 50px;
  width: 100%;
}

.google-button::before {
  content: "G";
  align-items: center;
  border: 1px solid var(--line);
  border-radius: 50%;
  color: #3f4d46;
  display: inline-flex;
  font-family: Georgia, serif;
  height: 24px;
  justify-content: center;
  margin-right: 10px;
  width: 24px;
}

.auth-divider {
  align-items: center;
  color: var(--muted);
  display: flex;
  font-size: 12px;
  font-weight: 400;
  gap: 12px;
  margin: 18px 0;
  text-transform: uppercase;
}

.auth-divider::before,
.auth-divider::after {
  background: var(--line);
  content: "";
  flex: 1;
  height: 1px;
}

.page-title {
  font-size: clamp(34px, 5vw, 54px);
  line-height: 1.05;
  margin: 0 0 12px;
}

.section-label {
  color: var(--sage);
  font-size: 13px;
  font-weight: 400;
  margin: 0 0 12px;
}

.muted {
  color: var(--muted);
  line-height: 1.7;
}

.legal-page {
  max-width: 980px;
  padding-bottom: 80px;
  padding-top: 72px;
}

.legal-intro {
  margin: 0 0 26px;
  max-width: 760px;
}

.legal-card {
  display: block;
}

.legal-card h2 {
  color: var(--ink);
  font-family: Georgia, serif;
  font-size: 28px;
  font-weight: 500;
  letter-spacing: 0;
  line-height: 1.2;
  margin: 34px 0 12px;
}

.legal-card h2:first-child {
  margin-top: 0;
}

.legal-card p,
.legal-card li {
  color: var(--muted);
  line-height: 1.75;
}

.legal-card ul {
  margin: 12px 0 22px;
  padding-left: 22px;
}

.legal-card a {
  color: var(--sage);
  font-weight: 400;
}

.guest-note {
  background: #fff7f1;
  border: 1px solid #eadfd7;
  border-radius: 14px;
  color: #6d5648;
  font-size: 14px;
  line-height: 1.6;
  margin: 18px 0 0;
  padding: 13px 15px;
}

.form-grid {
  align-content: start;
  display: grid;
  gap: 14px;
}

.composer-heading {
  margin-bottom: 4px;
}

.form-grid.has-result .composer-heading {
  display: none;
}

label span {
  color: #33413c;
  display: block;
  font-size: 14px;
  font-weight: 400;
  margin-bottom: 8px;
}

input,
select,
textarea {
  background: #fbfcfa;
  border: 1px solid var(--line);
  border-radius: 12px;
  color: var(--ink);
  outline: none;
  padding: 13px 14px;
  width: 100%;
}

textarea {
  min-height: 260px;
}

input:focus,
select:focus,
textarea:focus {
  border-color: var(--sage);
  box-shadow: 0 0 0 3px rgba(95, 127, 116, .18);
}

.form-meta,
.limit-row {
  color: var(--muted);
  display: flex;
  font-size: 13px;
  justify-content: space-between;
  margin-top: 10px;
}

.limit-row {
  justify-content: flex-end;
  margin-bottom: 12px;
}

#analysis-submit.button-primary {
  align-self: start;
  justify-self: start;
  min-width: 132px;
  width: auto;
}

#analysis-submit.is-loading {
  cursor: wait;
  gap: 9px;
  opacity: .9;
}

.chat-composer {
  align-items: center;
  display: grid;
  gap: 10px;
  grid-template-columns: minmax(0, 1fr);
}

.composer-tools-row {
  align-items: center;
  display: flex;
  gap: 10px;
  justify-content: space-between;
  margin-top: -4px;
}

.composer-tool,
.composer-send {
  align-items: center;
  border-radius: 50%;
  display: inline-flex;
  height: 42px;
  justify-content: center;
  width: 42px;
}

.composer-tool {
  background: #fbfcfa;
  border: 1px solid var(--line);
  color: var(--ink);
  font-size: 26px;
  font-weight: 300;
  line-height: 1;
}

.composer-tool:hover,
.composer-tool:focus-visible {
  background: var(--soft);
  outline: none;
}

.upload-status {
  color: var(--muted);
  font-size: 13px;
  line-height: 1.5;
}

.upload-status-locked {
  background: #fff7f1;
  border: 1px solid #eadfd7;
  border-radius: 12px;
  color: #6d5648;
  padding: 10px 12px;
}

.composer-input-wrap {
  min-width: 0;
}

.composer-input-wrap textarea {
  background: #fbfcfa;
  border-radius: 18px;
  font-size: 14px;
  line-height: 1.45;
  min-height: 82px;
  overflow-y: hidden;
  padding: 12px 15px;
  resize: none;
}

.composer-send {
  background: var(--ink);
  border: 0;
  color: white;
  flex-shrink: 0;
  font-size: 18px;
  min-height: 42px;
  min-width: 42px;
  padding: 0;
  transition: background .2s, transform .2s;
}

.composer-send:hover {
  background: #2b3833;
  transform: translateY(-1px);
}

.composer-send:disabled {
  cursor: wait;
  opacity: .82;
  transform: none;
}

.send-arrow {
  display: inline-block;
  transform: translateX(1px) rotate(-8deg);
}

.composer-send.is-loading .send-arrow {
  display: none;
}

.submit-loader {
  align-items: center;
  display: none;
  gap: 4px;
}

.submit-loader i {
  animation: submit-thinking 1s ease-in-out infinite;
  background: currentColor;
  border-radius: 999px;
  display: block;
  height: 5px;
  opacity: .45;
  width: 5px;
}

.submit-loader i:nth-child(2) {
  animation-delay: .15s;
}

.submit-loader i:nth-child(3) {
  animation-delay: .3s;
}

#analysis-submit.is-loading .submit-loader {
  display: inline-flex;
}

@keyframes submit-thinking {
  0%, 80%, 100% {
    opacity: .4;
    transform: translateY(0);
  }

  40% {
    opacity: 1;
    transform: translateY(-3px);
  }
}

.app-grid .page-title {
  font-size: 1.2em;
  line-height: 1.15;
  margin-bottom: 0;
}

.app-greeting span {
  color: var(--sage);
}

.upgrade-panel {
  align-self: start;
}

.app-grid > .upgrade-panel {
  grid-column: 1 / -1;
}

.upgrade-panel .serif,
.upgrade-panel .page-title {
  font-size: 30px;
  line-height: 1.1;
  margin-bottom: 14px;
}

.upgrade-feature-list {
  display: grid;
  gap: 10px;
  list-style: none;
  margin: 22px 0;
  padding: 0;
}

.upgrade-feature-list li {
  align-items: center;
  color: #405048;
  display: flex;
  gap: 10px;
  line-height: 1.5;
}

.upgrade-feature-list li::before {
  background: #edf3ee;
  border: 1px solid #dbe5dc;
  border-radius: 999px;
  color: var(--sage);
  content: "✓";
  display: inline-flex;
  flex-shrink: 0;
  height: 24px;
  justify-content: center;
  width: 24px;
}

.pricing-grid {
  display: grid;
  gap: 12px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin: 22px 0 6px;
}

.pricing-card {
  background: rgba(255, 255, 255, 0.78);
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 18px;
}

.pricing-card span,
.pricing-card small {
  color: var(--muted);
  display: block;
  font-size: 13px;
}

.pricing-card strong {
  color: var(--ink);
  display: block;
  font-family: "Fraunces", Georgia, serif;
  font-size: 32px;
  font-weight: 400;
  line-height: 1.1;
  margin: 8px 0 4px;
}

.pricing-card-featured {
  background: #edf3ee;
  border-color: #cfded3;
}

.pricing-page {
  padding-bottom: 96px;
}

.subscription-grid {
  display: grid;
  gap: 24px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin: 0 auto;
  max-width: 980px;
}

.subscription-card {
  background: rgba(255, 255, 255, .86);
  border: 1px solid var(--line);
  border-radius: 24px;
  box-shadow: var(--shadow-soft);
  display: flex;
  flex-direction: column;
  padding: 30px;
}

.subscription-card-featured {
  background: #f0f5f1;
  border-color: var(--sage, #5f7f74);
  border-width: 2px;
  position: relative;
}

@media (min-width: 861px) {
  .subscription-card-featured {
    transform: scale(1.03);
    z-index: 1;
  }
}

.subscription-card-badge {
  background: var(--sage, #5f7f74);
  border-radius: 999px;
  color: #fff;
  font-size: 12px;
  font-weight: 600;
  left: 50%;
  letter-spacing: .02em;
  padding: 6px 14px;
  position: absolute;
  text-transform: uppercase;
  top: -14px;
  transform: translateX(-50%);
  white-space: nowrap;
}

.subscription-card h2,
.subscription-card h3 {
  color: var(--ink);
  font-family: "Fraunces", Georgia, serif;
  font-size: 34px;
  font-weight: 400;
  line-height: 1.08;
  margin: 8px 0 18px;
}

.subscription-price {
  align-items: baseline;
  color: var(--ink);
  display: flex;
  gap: 8px;
  margin: 0 0 12px;
}

.subscription-price strong {
  font-family: "Fraunces", Georgia, serif;
  font-size: clamp(46px, 7vw, 64px);
  font-weight: 400;
  letter-spacing: 0;
  line-height: .95;
}

.subscription-price span,
.subscription-copy,
.subscription-trial {
  color: var(--muted);
}

.subscription-copy {
  line-height: 1.6;
  margin: 0 0 4px;
}

.subscription-card .upgrade-feature-list {
  margin-bottom: 18px;
}

.subscription-trial {
  background: rgba(255, 255, 255, .72);
  border: 1px solid #dbe5dc;
  border-radius: 14px;
  font-size: 14px;
  line-height: 1.55;
  margin: auto 0 18px;
  padding: 12px 14px;
}

.subscription-card .button-primary,
.subscription-card .button-secondary {
  width: 100%;
}

.pricing-disclaimer {
  margin: 22px auto 0;
  max-width: 760px;
  text-align: center;
}

.section-heading {
  margin: 68px auto 28px;
  max-width: 760px;
  text-align: center;
}

.plan-compare-grid,
.pricing-teaser,
.plan-mini-grid {
  display: grid;
  gap: 24px;
}

.plan-compare-grid {
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
}

.pricing-teaser {
  align-items: center;
  grid-template-columns: 1fr !important;
}

.plan-mini-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  width: 100%;
}

.pricing-teaser-intro {
  grid-column: 1 / -1;
  justify-self: center;
  max-width: 960px;
  text-align: center;
}

.pricing-teaser-intro .lead {
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}

.pricing-teaser-link {
  grid-column: 1 / -1;
  justify-self: start;
}

.pricing-teaser .plan-mini-grid {
  grid-column: 1 / -1;
}

.plan-card,
.plan-mini-card {
  background: rgba(255, 255, 255, 0.82);
  border: 1px solid var(--line);
  border-radius: 26px;
  box-shadow: var(--shadow-soft);
}

.plan-card {
  padding: 30px;
}

.plan-card h2,
.plan-mini-card h3 {
  font-size: 30px;
  font-family: "Fraunces", Georgia, serif;
  font-weight: 400;
  line-height: 1.12;
}

.plan-card-plus,
.plan-mini-card.is-plus {
  background: #f0f5f1;
  border-color: #d4e2d7;
}

.plan-price {
  color: var(--ink);
  font-family: "Fraunces", Georgia, serif;
  font-size: 40px;
  line-height: 1;
  margin: 18px 0;
}

.plan-mini-card {
  padding: 22px;
}

.plan-mini-card p {
  color: var(--sage);
  font-size: 20px;
  font-weight: 700;
  line-height: 1.35;
  margin: 4px 0 14px;
}

.plan-upgrade-button {
  margin-top: 18px;
}

.plan-mini-card ul {
  color: #405048;
  display: grid;
  gap: 8px;
  margin: 14px 0 0;
  padding-left: 18px;
}

.upgrade-note {
  color: var(--muted);
  font-size: 13px;
  line-height: 1.65;
}

.error,
.flash-error {
  background: var(--danger-bg);
  border: 1px solid #d8b9ad;
  color: var(--danger);
}

.success,
.flash-success {
  background: #f1f8f2;
  border: 1px solid #cfe0d3;
  color: #315c42;
}

.error,
.success,
.flash {
  border-radius: 12px;
  line-height: 1.6;
  margin: 14px auto;
  max-width: 1180px;
  padding: 13px 16px;
}

.analysis-output {
  color: #000;
  min-height: 0;
}

.analysis-workspace {
  background: #fff;
  color: #000;
  display: grid;
  gap: 22px;
}

.analysis-workspace .thread-compose {
  margin-top: 0;
}

#analysis-form {
  color: #000;
}

.reflection-content h3 {
  color: var(--ink);
  font-size: 20px;
  margin: 26px 0 10px;
}

.reflection-content p,
.reflection-content li {
  color: var(--muted);
  line-height: 1.75;
}

.reflection-content .reflection-question-highlight {
  background: #f6f7f4;
  border: 1px solid #e0e6df;
  border-radius: 14px;
  color: var(--ink);
  margin: 24px 0 0;
  padding: 14px 16px;
}

.reflection-content hr {
  border: 0;
  border-top: 1px solid var(--line);
  margin: 24px 0;
}

.reflection-content ol,
.reflection-content ul {
  padding-left: 22px;
}

.history-item {
  display: grid;
  gap: 10px;
  margin-top: 14px;
}

.thread-list {
  display: grid;
  gap: 12px;
  margin-top: 28px;
}

.thread-list-item {
  align-items: center;
  background: rgba(255, 255, 255, .82);
  border: 1px solid var(--line);
  border-radius: 18px;
  box-shadow: 0 14px 50px rgba(70, 87, 78, .07);
  color: var(--ink);
  display: grid;
  gap: 14px;
  grid-template-columns: minmax(0, 1fr) auto;
  padding: 18px 20px;
  transition: border-color .2s, transform .2s, background .2s;
}

.thread-list-item.is-pinned {
  border-color: #c8d9cc;
}

.thread-list-item:hover {
  background: white;
  border-color: #cddbd1;
  transform: translateY(-1px);
}

.thread-list-link {
  align-items: center;
  color: inherit;
  display: flex;
  gap: 16px;
  justify-content: space-between;
  min-width: 0;
}

.thread-list-item strong {
  display: block;
  font-family: Georgia, serif;
  font-size: 1.1rem;
  font-weight: 400;
  line-height: 1.25;
}

.thread-list-item small {
  color: var(--muted);
  display: block;
  margin-top: 6px;
}

.thread-list-text {
  display: block;
  min-width: 0;
}

.thread-list-arrow {
  color: var(--muted);
  flex: 0 0 auto;
}

.thread-meta-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 8px;
}

.meta-chip {
  background: rgba(95, 127, 116, .07);
  border-radius: 999px;
  color: var(--muted);
  font-size: 11.5px;
  line-height: 1;
  padding: 5px 10px;
  white-space: nowrap;
}

.meta-chip-pin {
  background: rgba(95, 127, 116, .18);
  color: var(--sage);
  font-weight: 600;
}

.thread-list-actions {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: flex-end;
}

.thread-list-actions form {
  margin: 0;
}

.thread-action-button {
  align-items: center;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--muted);
  cursor: pointer;
  display: inline-flex;
  font: inherit;
  font-size: 13px;
  min-height: 34px;
  padding: 7px 12px;
}

.thread-action-button:hover {
  border-color: #c8d9cc;
  color: var(--ink);
}

.thread-action-danger:hover {
  border-color: #d8b3ac;
  color: #7b382c;
}

.thread-action-danger.is-armed {
  background: var(--danger, #714234);
  border-color: var(--danger, #714234);
  color: #fff;
  animation: pulse-danger 1.2s ease-in-out infinite;
}

@keyframes pulse-danger {
  0%, 100% { box-shadow: 0 0 0 0 rgba(113, 66, 52, .45); }
  50% { box-shadow: 0 0 0 6px rgba(113, 66, 52, 0); }
}

.thread-page {
  max-width: 980px;
}

.thread-header {
  margin-bottom: 18px;
}

.thread-header .page-title {
  font-size: 1.5rem;
}

.thread-messages {
  display: grid;
  gap: 0;
}

.thread-transcript {
  display: grid;
  gap: 0;
}

.thread-turn {
  display: grid;
  gap: 18px;
  padding: 28px 0;
}

.thread-turn:first-child {
  padding-top: 0;
}

.thread-turn + .thread-turn {
  border-top: 1px solid var(--line);
}

.thread-turn-time,
.thread-turn > .pill {
  background: transparent;
  border: 0;
  color: var(--muted);
  display: block;
  font-size: 12px;
  line-height: 1.4;
  margin: 0;
  padding: 0;
  text-align: center;
}

.thread-compose {
  margin-top: 22px;
}

.upload-row {
  align-items: center;
  background: #f6f9f5;
  border: 1px dashed #cfded4;
  border-radius: 14px;
  display: grid;
  gap: 10px;
  grid-template-columns: auto 1fr;
  padding: 12px;
}

.upload-row span {
  color: var(--muted);
  font-size: 13px;
  line-height: 1.5;
}

.upload-status {
  word-break: break-word;
}

.upload-trigger:disabled {
  cursor: not-allowed;
  opacity: .65;
}

.attachment-pill {
  align-items: center;
  background: #eef6f0;
  border: 1px solid #cdded2;
  border-radius: 999px;
  color: #557467;
  display: inline-flex;
  font-size: 13px;
  line-height: 1.4;
  margin: 10px 0 0;
  max-width: 100%;
  padding: 7px 11px;
  word-break: break-word;
}

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

.pill {
  background: white;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--muted);
  display: inline-flex;
  font-size: 13px;
  font-weight: 400;
  padding: 8px 12px;
}

.privacy-note {
  color: #5b6861;
  font-size: 13px;
  line-height: 1.6;
  margin-top: 34px;
  max-width: 430px;
}

.privacy-note::before {
  border: 1px solid var(--ink);
  content: "";
  display: inline-block;
  height: 7px;
  margin-right: 10px;
  transform: rotate(45deg);
  width: 7px;
}

.disclaimer-note,
.disclaimer-box {
  color: #6d5a50;
  font-size: 13px;
  line-height: 1.6;
}

.disclaimer-note {
  margin: 12px 0 0;
  max-width: 640px;
}

.disclaimer-box {
  background: #fff7f1;
  border: 1px solid #eadfd7;
  border-radius: 14px;
  margin: 16px 0 0;
  padding: 13px 15px;
}

.app-disclaimer {
  border-top: 1px solid rgba(111, 141, 128, .18);
  color: #6f7a74;
  font-size: 12px;
  line-height: 1.7;
  margin: 34px auto 0;
  max-width: 760px;
  padding-top: 18px;
  text-align: center;
}

.button-xl {
  min-height: 56px;
  padding-inline: 28px;
}

.hero-visual {
  min-height: 680px;
  position: relative;
}

.hero-visual::before {
  background: rgba(255, 255, 255, .45);
  border: 1px solid #dce6de;
  border-radius: 48px;
  box-shadow: 0 30px 100px rgba(70, 87, 78, .11);
  content: "";
  height: 86%;
  left: 50%;
  position: absolute;
  top: 7%;
  transform: translateX(-50%);
  width: 62%;
}

.phone-frame {
  background: #17201d;
  border: 10px solid #17201d;
  border-radius: 48px;
  box-shadow: 0 45px 95px rgba(23, 32, 29, .24);
  margin: 42px auto 0;
  max-width: 350px;
  min-height: 611px;
  position: relative;
  z-index: 10;
}

.phone-screen {
  background: #fbfbf8;
  border-radius: 38px;
  overflow: hidden;
  padding: 20px;
  position: relative;
  min-height: 591px;
}

.phone-notch {
  background: #17201d;
  border-radius: 999px;
  height: 26px;
  left: 50%;
  position: absolute;
  top: 12px;
  transform: translateX(-50%);
  width: 112px;
}

.phone-status,
.phone-top,
.phone-actions {
  align-items: center;
  display: flex;
  justify-content: space-between;
}

.phone-status {
  font-size: 12px;
  font-weight: 400;
  margin-top: 3px;
}

.phone-top {
  color: var(--sage);
  margin-top: 30px;
}

.phone-top strong {
  color: var(--ink);
  font-family: Georgia, serif;
  font-size: 26px;
  font-weight: 400;
}

.phone-screen h3 {
  color: var(--ink);
  font-size: 14px;
  margin: 40px 0 10px;
}

.phone-arrow + h3 {
  margin-top: 26px;
}

.phone-bubble {
  border-radius: 24px;
  font-size: 16px;
  line-height: 1.75;
  padding: 16px;
}

.phone-user {
  background: white;
  border: 1px solid #e1e8df;
  box-shadow: 0 12px 35px rgba(70, 87, 78, .06);
}

.phone-ai {
  background: #eef5ef;
  border: 1px solid #d5e3d8;
}

.phone-arrow {
  align-items: center;
  background: white;
  border: 1px solid #dbe5dc;
  border-radius: 50%;
  color: var(--sage);
  display: flex;
  height: 42px;
  justify-content: center;
  margin: 18px auto 0;
  width: 42px;
}

.phone-actions {
  color: var(--sage);
  font-size: 22px;
  margin-top: 22px;
}

.floating-card,
.free-badge {
  background: rgba(255, 255, 255, .86);
  border: 1px solid #e0e8df;
  border-radius: 28px;
  box-shadow: 0 22px 70px rgba(70, 87, 78, .11);
  padding: 16px;
  position: absolute;
  z-index: 3;
}

.floating-card span {
  color: #7a8f84;
  display: block;
  font-size: 11px;
  font-weight: 400;
  letter-spacing: .16em;
  text-transform: uppercase;
}

.floating-input {
  left: 3%;
  top: 19%;
  width: 210px;
}

.floating-input i {
  background: #dbe5dc;
  border-radius: 999px;
  display: block;
  height: 8px;
  margin-top: 12px;
}

.floating-input i:first-of-type {
  background: #c9d8cf;
}

.floating-input i:nth-of-type(2) {
  width: 82%;
}

.floating-input i:nth-of-type(3) {
  width: 64%;
}

.floating-pattern {
  background: rgba(238, 245, 239, .92);
  right: 1%;
  top: 25%;
  width: 190px;
}

.pattern-grid {
  display: grid;
  gap: 8px;
  grid-template-columns: repeat(3, 1fr);
  margin-top: 14px;
}

.pattern-grid i {
  background: white;
  border-radius: 16px;
  height: 48px;
}

.pattern-grid i:nth-child(2) {
  background: #d9e7dc;
}

.floating-follow {
  background: rgba(251, 241, 235, .96);
  border-color: #eadfd7;
  bottom: 14%;
  left: 7%;
  width: 230px;
}

.floating-follow span {
  color: #9b765e;
}

.floating-follow p {
  color: #4d5a53;
  font-size: 14px;
  line-height: 1.6;
  margin: 12px 0 0;
}

.free-badge {
  align-items: center;
  bottom: 4%;
  display: grid;
  gap: 0 10px;
  grid-template-columns: 42px 1fr;
  right: -1%;
  width: 230px;
  z-index: 22;
}

.free-badge span {
  align-items: center;
  background: #e8f0e9;
  border-radius: 16px;
  color: var(--sage);
  display: flex;
  grid-row: span 2;
  height: 42px;
  justify-content: center;
}

.free-badge small {
  color: #64716a;
}

.section {
  padding: 70px 0;
}

#faelle .usecase-card[data-aos] {
  opacity: 1 !important;
  transform: none !important;
}

.section-band {
  background: rgba(255, 255, 255, .55);
  border-bottom: 1px solid var(--line);
  border-top: 1px solid var(--line);
}

.section-kicker {
  color: #8b6f60;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .18em;
  margin: 0;
  text-align: center;
  text-transform: uppercase;
}

.section-title {
  color: #17201d;
  font-family: Georgia, serif;
  font-size: clamp(32px, 4vw, 36px);
  font-weight: 400;
  line-height: 1.12;
  margin: 18px auto 0;
  max-width: 900px;
  text-align: center;
}

.align-left {
  margin-left: 0;
  text-align: left;
}

.usecase-grid,
.testimonial-grid {
  display: grid;
  gap: 16px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-top: 36px;
}

.usecase-card {
  align-items: flex-start;
  background: rgba(255, 255, 255, .72);
  border: 1px solid #e2e8df;
  border-radius: 28px;
  box-shadow: 0 18px 60px rgba(70, 87, 78, .07);
  display: flex;
  gap: 16px;
  padding: 22px;
  transition: transform .2s, background .2s, border-color .2s;
}

.usecase-card:hover {
  background: white;
  border-color: #cddbd1;
  transform: translateY(-2px);
}

.feature-icon {
  align-items: center;
  background: #edf3ee;
  border: 1px solid #dbe5dc;
  border-radius: 18px;
  color: var(--sage);
  display: inline-flex;
  flex-shrink: 0;
  font-size: 22px;
  height: 48px;
  justify-content: center;
  width: 48px;
}

.usecase-card h3 {
  font-family: Georgia, serif;
  font-size: 22px;
  font-weight: 400;
  margin: 0;
}

.usecase-card p,
.testimonial-card blockquote,
.footer p,
.footer a {
  color: #4b5852;
  line-height: 1.65;
}

.split-section {
  align-items: center;
  display: grid;
  gap: 42px;
  grid-template-columns: .85fr 1.15fr;
}

.example-stack {
  display: grid;
  gap: 16px;
}

.example-card {
  background: rgba(255, 255, 255, .88);
  border: 1px solid #e2e8df;
  border-radius: 28px;
  box-shadow: 0 20px 70px rgba(70, 87, 78, .08);
  padding: 24px;
}

.example-card.is-green {
  background: #eef5ef;
  border-color: #cfddd2;
}

.example-card h3 {
  color: var(--sage);
  font-size: 14px;
  margin: 0 0 12px;
}

.example-card p {
  color: #33413a;
  font-size: 16px;
  line-height: 1.75;
  margin: 0;
}

.testimonial-card {
  background: rgba(255, 255, 255, .75);
  border: 1px solid #e2e8df;
  border-radius: 28px;
  box-shadow: 0 18px 60px rgba(70, 87, 78, .07);
  margin: 0;
  padding: 26px;
}

.testimonial-card blockquote {
  display: block;
  margin-left: 0;
  margin-right: 0;
  max-width: none;
  text-align: left;
  width: 100%;
}

.testimonial-card figcaption {
  text-align: left;
  width: 100%;
}

.quote-mark {
  color: #c6a084;
  font-family: Georgia, serif;
  font-size: 50px;
  line-height: .7;
}

.testimonial-top {
  align-items: center;
  display: flex;
  gap: 12px;
  justify-content: space-between;
  margin-bottom: 18px;
  width: 100%;
}

.testimonial-avatar {
  border: 1px solid #dbe5dc;
  border-radius: 50%;
  box-shadow: 0 12px 30px rgba(70, 87, 78, .12);
  display: block;
  height: 52px;
  object-fit: cover;
  width: 52px;
}

.testimonial-top .quote-mark {
  margin-left: auto;
}

.testimonial-card figcaption {
  display: grid;
  gap: 2px;
  margin-top: 22px;
}

.testimonial-card figcaption span {
  font-weight: 400;
}

.testimonial-card figcaption small {
  color: #64716a;
}

.faq-section .section-title {
  max-width: 760px;
}

.faq-grid {
  display: grid;
  gap: 14px;
  margin: 36px auto 0;
  max-width: 900px;
}

.faq-item {
  background: rgba(255, 255, 255, .76);
  border: 1px solid #e2e8df;
  border-radius: 20px;
  box-shadow: 0 16px 50px rgba(70, 87, 78, .06);
  padding: 18px 20px;
}

.faq-item summary {
  color: var(--ink);
  cursor: pointer;
  font-family: Georgia, serif;
  font-size: 22px;
  list-style: none;
}

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

.faq-item summary::after {
  color: var(--sage);
  content: "+";
  float: right;
  font-family: Inter, ui-sans-serif, system-ui, sans-serif;
}

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

.faq-item p {
  color: #4b5852;
  line-height: 1.7;
  margin: 14px 0 0;
}

.cta-section {
  padding-top: 10px;
}

.cta-band {
  align-items: center;
  background: #eef4ee;
  border: 1px solid #dbe5dc;
  border-radius: 32px;
  box-shadow: 0 22px 70px rgba(70, 87, 78, .09);
  display: grid;
  gap: 20px;
  grid-template-columns: auto 1fr auto;
  padding: 28px;
}

.cta-band h2 {
  font-family: Georgia, serif;
  font-size: 34px;
  font-weight: 400;
  margin: 0;
}

.cta-band p {
  color: #4b5852;
  margin: 4px 0 0;
}

.footer {
  padding-bottom: 34px;
}

.footer-grid {
  border-top: 1px solid var(--line);
  display: grid;
  gap: 28px;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  padding-top: 28px;
}

.footer-brand {
  margin: 0;
}

.footer h3 {
  font-size: 14px;
  margin: 0 0 14px;
}

.footer a {
  display: block;
  font-size: 14px;
  margin-top: 8px;
}

.site-disclaimer {
  border-top: 1px solid rgba(111, 141, 128, .18);
  color: #6f7a74;
  font-size: 12px;
  line-height: 1.7;
  margin: 0 auto 34px;
  max-width: 760px;
  padding: 18px 32px 0;
  text-align: center;
}

.cookie-banner {
  align-items: center;
  background: rgba(255, 255, 255, .96);
  border: 1px solid var(--line);
  border-radius: 22px;
  bottom: 22px;
  box-shadow: 0 24px 80px rgba(24, 35, 31, .18);
  display: grid;
  gap: 18px;
  grid-template-columns: 1fr auto;
  left: 50%;
  max-width: min(920px, calc(100vw - 40px));
  padding: 20px;
  position: fixed;
  transform: translateX(-50%);
  width: 100%;
  z-index: 50;
}

.cookie-banner[hidden] {
  display: none;
}

.cookie-banner h2 {
  color: var(--ink);
  font-size: 18px;
  margin: 0 0 6px;
}

.cookie-banner p {
  color: var(--muted);
  line-height: 1.55;
  margin: 0;
}

.cookie-banner a {
  color: var(--sage);
  display: inline-flex;
  font-size: 14px;
  font-weight: 400;
  margin-top: 8px;
}

.video-modal {
  align-items: center;
  display: grid;
  inset: 0;
  padding: 28px;
  position: fixed;
  z-index: 80;
}

.video-modal[hidden] {
  display: none;
}

.video-modal-backdrop {
  background: rgba(18, 27, 24, .62);
  inset: 0;
  position: absolute;
}

.video-modal-panel {
  background: #fbfbf8;
  border: 1px solid rgba(255, 255, 255, .5);
  border-radius: 24px;
  box-shadow: 0 30px 90px rgba(18, 27, 24, .32);
  margin: 0 auto;
  max-width: 920px;
  padding: 14px;
  position: relative;
  width: min(100%, 920px);
  z-index: 1;
}

.video-modal-close {
  align-items: center;
  background: var(--ink);
  border: 0;
  border-radius: 999px;
  color: white;
  display: inline-flex;
  font-size: 24px;
  height: 42px;
  justify-content: center;
  position: absolute;
  right: 18px;
  top: 18px;
  width: 42px;
  z-index: 2;
}

.product-video {
  aspect-ratio: 16 / 9;
  background: #17201d;
  border-radius: 16px;
  display: block;
  width: 100%;
}

@media (max-width: 860px) {
  .site-header {
    padding: 16px 20px 10px;
  }

  .nav-toggle {
    display: inline-flex;
  }

  .site-nav {
    background: white;
    border: 1px solid var(--line);
    border-radius: 16px;
    box-shadow: 0 22px 60px rgba(70, 87, 78, .12);
    display: none;
    flex-direction: column;
    left: 20px;
    padding: 12px;
    position: absolute;
    right: 20px;
    top: 76px;
  }

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

  .site-header-landing .landing-nav {
    display: none;
  }

  .site-header-landing .site-nav {
    left: auto;
    right: 20px;
    top: 76px;
    width: min(260px, calc(100vw - 40px));
  }

  .nav-link,
  .nav-cta,
  .user-menu,
  .user-menu-button {
    justify-content: center;
    width: 100%;
  }

  .container {
    padding-left: 18px;
    padding-right: 18px;
  }

  .page-title {
    font-size: clamp(30px, 9vw, 42px);
    overflow-wrap: anywhere;
    word-break: normal;
  }

  .legal-page .page-title {
    font-size: clamp(28px, 8vw, 36px);
    line-height: 1.08;
  }

  [data-aos="fade-left"],
  [data-aos="fade-right"] {
    opacity: 1 !important;
    transform: none !important;
  }

  .button-row {
    flex-direction: column;
  }

  .button-primary,
  .button-secondary {
    width: 100%;
  }

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

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

  .pricing-teaser,
  .plan-mini-grid,
  .plan-compare-grid {
    grid-template-columns: 1fr;
  }

  .upload-row {
    grid-template-columns: 1fr;
  }

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

  .thread-list-actions {
    justify-content: flex-start;
  }

  .admin-topbar,
  .admin-section-head {
    align-items: flex-start;
    flex-direction: column;
  }

  .admin-search,
  .admin-stat-grid,
  .admin-two-col {
    grid-template-columns: 1fr;
  }

  .button-danger {
    width: 100%;
  }

  .cookie-banner {
    bottom: 14px;
    grid-template-columns: 1fr;
    max-width: calc(100vw - 28px);
    padding: 18px;
  }

  .site-disclaimer {
    padding-left: 32px;
    padding-right: 32px;
  }

  .user-menu-panel {
    box-shadow: none;
    margin-top: 8px;
    position: static;
    width: 100%;
  }

  .hero-inner,
  .app-grid,
  .dashboard-grid,
  .admin-stat-grid,
  .admin-two-col,
  .usecase-grid,
  .testimonial-grid,
  .split-section,
  .footer-grid,
  .cta-band {
    grid-template-columns: 1fr;
  }

  .hero-inner {
    padding-top: 37px;
    min-height: auto;
  }

  .site-header::before {
    border-radius: 24px;
  }

  .hero-visual {
    min-height: 0;
    padding-top: 12px;
  }

  .floating-input,
  .floating-pattern,
  .floating-follow {
    display: none;
  }

  .phone-frame {
    margin: 0 auto;
    max-width: min(300px, 78vw);
    transform: none;
  }

  .free-badge {
    bottom: 0;
    right: 0;
  }

  .hero {
    padding-bottom: 16px;
  }

  .hero h1 {
    font-size: clamp(34px, 9.5vw, 48px);
  }

  .section {
    padding: 52px 0;
  }

  .section-title,
  .align-left {
    text-align: left;
  }

  .section-kicker {
    text-align: left;
  }

  .cta-band {
    align-items: flex-start;
  }
}

@media (max-width: 560px) {
  .hero-visual {
    display: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
    transition-duration: .01ms !important;
  }
}
