/* Shared Forens brand — paper system used on homepage, SPA, SEO */
.forensai-btn-primary,
a.forensai-btn-primary,
button.forensai-btn-primary {
  background: var(--ink, #1a1a18) !important;
  color: #fff !important;
  border: none !important;
  border-radius: 999px !important;
  box-shadow: none !important;
}
.forensai-btn-primary:hover,
a.forensai-btn-primary:hover {
  background: #000 !important;
  color: #fff !important;
}

:root {
  --forensai-primary: #1a1a18;
  --forensai-accent: #1a1a18;
  --paper: #f4f3ef;
  --paper2: #ebe7df;
  --card: #fffcf8;
  --ink: #1a1a18;
  --ink2: #5e5e59;
  --ink4: #8a847a;
  --rule: #e4e1d8;
  --signal: #c2410c;
  --brand: #e55f2f;
  --ok: #3d6b45;
  --gutter: clamp(20px, 4vw, 64px);
  --charcoal: #1a1a18;
  --charcoal-mid: #2a2824;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 18px;
  background: var(--ink);
  color: #fff;
  text-decoration: none;
  border: none;
  border-radius: 999px;
  font-size: 15px;
  font-weight: 500;
  font-family: "Instrument Sans", system-ui, sans-serif;
  cursor: pointer;
  transition: background 0.2s ease, color 0.2s ease, transform 0.2s ease;
}
.btn:hover,
.btn:focus-visible,
.nav-links a.btn:hover,
.paper-nav-links a.btn:hover,
.auth-nav-links a.btn:hover,
.site-footer a.btn:hover {
  background: #000;
  color: #fff;
  transform: translateY(-1px);
}
.btn:disabled { opacity: 0.45; cursor: not-allowed; transform: none; }

.btn-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 18px;
  background: transparent;
  color: var(--ink);
  text-decoration: none;
  border-radius: 999px;
  border: 1.5px solid var(--ink);
  font-size: 15px;
  font-weight: 500;
  font-family: "Instrument Sans", system-ui, sans-serif;
  cursor: pointer;
  transition: background 0.2s ease, transform 0.2s ease;
}
.btn-secondary:hover {
  background: rgba(26, 26, 24, 0.05);
  transform: translateY(-1px);
}

/* Public surfaces: larger mobile tap targets (header CTAs stay compact) */
@media (max-width: 900px) {
  .btn,
  .btn-secondary,
  .btn-ghost,
  a.btn,
  a.btn-secondary,
  a.btn-ghost,
  button.btn,
  button.btn-secondary,
  .forensai-btn,
  a.forensai-btn,
  button.forensai-btn {
    min-height: 52px;
    padding: 0 22px;
    font-size: 17px;
  }
  .answer-text-btn,
  a.answer-text-btn,
  .basics-cta {
    font-size: 17px;
  }
  .nav .btn,
  .nav .btn-secondary,
  .paper-nav .btn,
  .paper-nav .btn-secondary,
  .auth-nav .btn,
  .auth-nav .btn-secondary,
  .forensai-header .forensai-btn,
  .forensai-header .forensai-btn-primary,
  .forensai-header .forensai-btn-secondary,
  .forensai-header-actions .forensai-btn,
  .forensai-nav-cta {
    min-height: 44px;
    padding: 0 16px;
    font-size: 15px;
  }
}

.mark {
  display: flex;
  align-items: center;
  gap: 14px;
  text-decoration: none;
  font-weight: 600;
  letter-spacing: -0.045em;
  font-size: clamp(30px, 3.8vw, 40px);
  color: var(--ink);
  font-family: "Instrument Sans", system-ui, sans-serif;
}
.mark img {
  width: clamp(34px, 3.8vw, 44px);
  height: clamp(34px, 3.8vw, 44px);
}

/* Living Big 3 — bare icons, no discs */
.big3 {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 28px;
  margin: 0;
  padding: 0;
  border: none;
  background: none;
}
.big3-orb {
  position: relative;
  width: auto;
  height: auto;
  border: none;
  padding: 4px;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  cursor: pointer;
  display: grid;
  place-items: center;
  transition: transform 0.25s ease, opacity 0.25s ease, filter 0.25s ease;
}
.big3-glow {
  display: none;
}
.big3-face {
  position: relative;
  z-index: 1;
  width: 28px;
  height: 28px;
  display: grid;
  place-items: center;
  animation: big3-float 4.8s ease-in-out infinite;
  animation-delay: calc(var(--i, 0) * 0.45s);
  will-change: transform;
  filter: drop-shadow(0 6px 12px rgba(26, 26, 24, 0.12));
}
.big3-face svg {
  width: 28px;
  height: 28px;
  display: block;
}
/* Apple glyph sits small in its viewBox — optically match the others */
.big3-orb--apple .big3-face svg {
  transform: scale(1.28);
  transform-origin: center;
}
.big3-orb:hover,
.big3-orb:focus-visible {
  transform: translateY(-3px) scale(1.08);
  outline: none;
  filter: none;
}
.big3-orb:hover .big3-face,
.big3-orb:focus-visible .big3-face {
  animation-play-state: paused;
  filter: drop-shadow(0 10px 18px rgba(26, 26, 24, 0.18));
}
.big3--lg {
  gap: 48px;
}
.big3--lg .big3-face,
.big3--lg .big3-face svg {
  width: 56px;
  height: 56px;
}
.big3--hero {
  gap: clamp(28px, 6vw, 56px);
}
.big3--hero .big3-face,
.big3--hero .big3-face svg {
  width: clamp(48px, 8vw, 64px);
  height: clamp(48px, 8vw, 64px);
}
.big3--hero .big3-face {
  filter: drop-shadow(0 12px 28px rgba(26, 26, 24, 0.16));
}
.big3--sm {
  gap: 18px;
}
.big3--sm .big3-face,
.big3--sm .big3-face svg {
  width: 22px;
  height: 22px;
}
@keyframes big3-float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-5px); }
}
@media (prefers-reduced-motion: reduce) {
  .big3-face {
    animation: none !important;
  }
}

.home-big3 {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 22px;
  padding: clamp(28px, 5vw, 48px) var(--gutter, 24px) clamp(36px, 6vw, 56px);
  text-align: center;
}
.home-big3-label {
  display: block;
  font-family: "IBM Plex Mono", ui-monospace, monospace;
  font-size: clamp(12px, 1.4vw, 14px);
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ink4, #8a847a);
}
.site-footer-big3,
.forensai-footer-big3 {
  margin-top: 16px;
  display: flex;
  justify-content: flex-start;
}
.forensai-footer-platforms {
  display: none;
}

/* Paper auth pages (login / signup) — not pricing chrome */
.auth-page {
  position: relative;
  min-height: 100vh;
  background: var(--paper, #f4f3ef) !important;
  color: var(--ink, #1a1a18) !important;
  font-family: "Instrument Sans", system-ui, sans-serif;
  overflow-x: hidden;
}
.auth-atmosphere {
  pointer-events: none;
  position: fixed;
  inset: 0;
  z-index: 0;
  overflow: hidden;
}
.auth-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(72px);
  opacity: 0.5;
}
.auth-orb-a {
  width: min(70vw, 640px);
  height: min(70vw, 640px);
  top: -18%;
  left: -14%;
  background: radial-gradient(circle at 40% 40%, rgba(194, 65, 12, 0.2), transparent 68%);
}
.auth-orb-b {
  width: min(55vw, 480px);
  height: min(55vw, 480px);
  top: 30%;
  right: -12%;
  background: radial-gradient(circle at 50% 50%, rgba(61, 107, 69, 0.14), transparent 70%);
}
.auth-grain {
  position: absolute;
  inset: 0;
  opacity: 0.3;
  mix-blend-mode: multiply;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.55'/%3E%3C/svg%3E");
}
.auth-nav {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px var(--gutter, 24px);
  max-width: 1100px;
  margin: 0 auto;
}
.auth-mark {
  display: flex;
  align-items: center;
  gap: 14px;
  text-decoration: none;
  color: var(--ink, #1a1a18);
  font-weight: 500;
  letter-spacing: -0.045em;
  font-size: clamp(28px, 3.4vw, 36px);
}
.auth-mark img {
  width: clamp(32px, 3.4vw, 40px);
  height: clamp(32px, 3.4vw, 40px);
}
.auth-nav-links a {
  color: var(--ink2, #5e5e59);
  text-decoration: none;
  font-size: 15px;
}
.auth-nav-links a:hover:not(.btn) { color: var(--ink, #1a1a18); }
.auth-main {
  position: relative;
  z-index: 1;
  display: flex;
  justify-content: center;
  padding: 28px var(--gutter, 24px) 64px;
}
.auth-card {
  width: 100%;
  max-width: 440px;
  padding: clamp(28px, 4vw, 40px);
  border-radius: 22px;
  background:
    radial-gradient(ellipse 70% 80% at 10% 0%, rgba(194, 65, 12, 0.07), transparent 55%),
    linear-gradient(180deg, rgba(255,252,248,0.96), rgba(235,231,223,0.65));
  border: 1px solid var(--rule, #e4e1d8);
  box-shadow: 0 22px 48px rgba(26, 26, 24, 0.06);
}
.auth-card h1 {
  font-weight: 500;
  letter-spacing: -0.04em;
  font-size: clamp(28px, 3.6vw, 36px);
  line-height: 1.05;
  margin: 0 0 10px;
  color: var(--ink, #1a1a18);
}
.auth-lede {
  margin: 0 0 20px;
  color: var(--ink2, #5e5e59);
  font-size: 16px;
  line-height: 1.5;
}
.auth-trust {
  margin: 0 0 28px;
}
.auth-trust-display {
  margin: 0 0 10px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.auth-trust-line {
  display: block;
  font-size: clamp(22px, 3.2vw, 28px);
  font-weight: 500;
  letter-spacing: -0.04em;
  line-height: 1.12;
  color: var(--ink, #1a1a18);
}
.auth-trust-note {
  margin: 0;
  font-size: 15px;
  line-height: 1.45;
  color: var(--ink2, #5e5e59);
  max-width: 32ch;
}
.auth-dev-hint {
  margin: -12px 0 22px;
  color: var(--ink3, #7a756c);
  font-size: 13px;
  line-height: 1.4;
}
.auth-dev-hint[hidden] { display: none !important; }
.auth-dev-hint code {
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 12px;
  padding: 1px 6px;
  border-radius: 6px;
  background: rgba(26, 26, 24, 0.06);
  color: var(--ink, #1a1a18);
}
#signup-page .auth-card h1,
#signup-page .auth-card .auth-lede {
  text-align: center;
}
.auth-oauth {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin: 0 0 4px;
}
.auth-oauth[hidden] { display: none !important; }
.auth-btn-apple {
  width: 100%;
  min-height: 52px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px 22px;
  border-radius: 14px;
  border: 1px solid var(--ink, #1a1a18);
  background: var(--ink, #1a1a18);
  color: #fffcf8;
  font: inherit;
  font-size: 16px;
  font-weight: 500;
  letter-spacing: -0.02em;
  cursor: pointer;
  box-sizing: border-box;
}
.auth-btn-apple.auth-btn-pill,
.auth-btn-pill {
  border-radius: 999px;
}
.auth-btn-apple svg {
  width: 18px;
  height: 18px;
  fill: currentColor;
  flex-shrink: 0;
}
.auth-btn-apple:hover {
  background: #2c2c29;
  border-color: #2c2c29;
}
.auth-btn-apple:focus-visible {
  outline: 2px solid var(--ink, #1a1a18);
  outline-offset: 3px;
}
.auth-btn-apple:disabled {
  opacity: 0.55;
  cursor: not-allowed;
}
.auth-oauth-note {
  margin: 2px 0 0;
  text-align: center;
  font-size: 14px;
  line-height: 1.45;
  color: var(--ink3, #7a756c);
}
.auth-divider {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 18px 0 16px;
  color: var(--ink4, #8a847a);
  font-size: 13px;
  line-height: 1.3;
}
.auth-divider[hidden] { display: none !important; }
.auth-divider::before,
.auth-divider::after {
  content: '';
  flex: 1;
  height: 1px;
  background: var(--rule, #e4e1d8);
}
.auth-divider span {
  flex-shrink: 0;
}
.auth-form {
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.auth-field label {
  display: block;
  font-size: 13px;
  font-weight: 500;
  color: var(--ink2, #5e5e59);
  margin-bottom: 6px;
}
.auth-field input {
  width: 100%;
  min-height: 48px;
  padding: 12px 16px;
  border-radius: 14px;
  border: 1px solid var(--rule, #e4e1d8);
  background: #fffcf8;
  color: var(--ink, #1a1a18);
  font-size: 16px;
  font-family: inherit;
  box-sizing: border-box;
}
.auth-field input:focus {
  outline: none;
  border-color: rgba(26, 26, 24, 0.45);
}
.auth-field input::placeholder { color: var(--ink4, #8a847a); }
.auth-submit {
  width: 100%;
  margin-top: 6px;
}
.auth-error {
  margin: 0;
  padding: 10px 14px;
  border-radius: 12px;
  background: rgba(194, 65, 12, 0.08);
  border: 1px solid rgba(194, 65, 12, 0.25);
  color: var(--signal, #c2410c);
  font-size: 14px;
}
.auth-error[hidden] { display: none !important; }
.auth-success {
  margin: 0;
  padding: 10px 14px;
  border-radius: 12px;
  background: rgba(61, 107, 69, 0.1);
  border: 1px solid rgba(61, 107, 69, 0.28);
  color: var(--ok, #3d6b45);
  font-size: 14px;
}
.auth-success[hidden] { display: none !important; }
.auth-alt {
  margin-top: 16px;
  text-align: center;
}
.auth-link-btn {
  border: none;
  background: transparent;
  color: var(--ink2, #5e5e59);
  font: inherit;
  font-size: 14px;
  text-decoration: underline;
  text-underline-offset: 2px;
  cursor: pointer;
  padding: 0;
}
.auth-link-btn:hover { color: var(--ink, #1a1a18); }
.auth-link-btn:disabled { opacity: 0.5; cursor: not-allowed; }
.auth-switch {
  margin: 22px 0 0;
  text-align: center;
  font-size: 14px;
  color: var(--ink4, #8a847a);
}
.auth-switch a {
  color: var(--ink, #1a1a18);
  font-weight: 500;
  text-decoration: underline;
  text-underline-offset: 2px;
}
.auth-fine {
  margin: 14px 0 0;
  text-align: center;
  font-size: 12px;
  color: var(--ink4, #8a847a);
  line-height: 1.45;
}
/* Kill legacy SPA chrome bleed on auth routes */
.auth-page .forensai-header,
.auth-page .forensai-footer,
.auth-page .quick-exit-btn { display: none !important; }
body:has(.auth-page) {
  background: var(--paper, #f4f3ef) !important;
  color: var(--ink, #1a1a18) !important;
}
body:has(.auth-page) .sign-in-modal-overlay,
body:has(.auth-page) #sign-in-modal-overlay,
body:has(.auth-page) .quick-exit,
body:has(.auth-page) #quick-exit,
body:has(.auth-page) .forensai-header,
body:has(.auth-page) .forensai-footer,
body:has(.paper-page) .sign-in-modal-overlay,
body:has(.paper-page) #sign-in-modal-overlay,
body:has(.paper-page) .quick-exit,
body:has(.paper-page) #quick-exit,
body:has(.paper-page) .forensai-header,
body:has(.paper-page) .forensai-footer {
  display: none !important;
  visibility: hidden !important;
  pointer-events: none !important;
}
#app:has(.auth-page),
#app:has(.paper-page) {
  background: transparent !important;
  min-height: 100vh;
}
body:has(.paper-page) {
  background: var(--paper, #f4f3ef) !important;
  color: var(--ink, #1a1a18) !important;
}

/* Shared paper marketing pages (insights, etc.) */
.paper-page {
  position: relative;
  min-height: 100vh;
  background: var(--paper, #f4f3ef) !important;
  color: var(--ink, #1a1a18) !important;
  font-family: "Instrument Sans", system-ui, sans-serif;
  overflow-x: hidden;
}
.paper-nav {
  max-width: 1180px;
}
.paper-nav-links {
  display: flex;
  align-items: center;
  gap: 22px;
  font-size: 15px;
  color: var(--ink2, #5e5e59);
}
.paper-nav-links a {
  text-decoration: none;
  color: inherit;
}
.paper-nav-links a.btn,
.auth-nav-links a.btn {
  color: #fff;
  background: var(--ink, #1a1a18);
}
.paper-nav-links a:hover:not(.btn),
.paper-nav-links a[aria-current="page"] {
  color: var(--ink, #1a1a18);
}
.paper-main {
  position: relative;
  z-index: 1;
  max-width: 1180px;
  margin: 0 auto;
  padding: 12px var(--gutter, 24px) 72px;
}
.paper-hero {
  max-width: 40rem;
  margin-bottom: 36px;
}
.paper-kicker {
  margin: 0 0 10px;
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink4, #8a847a);
}
.paper-hero h1 {
  margin: 0 0 12px;
  font-weight: 500;
  letter-spacing: -0.04em;
  font-size: clamp(36px, 5vw, 56px);
  line-height: 1.02;
}
.paper-lede {
  margin: 0;
  font-size: 18px;
  color: var(--ink2, #5e5e59);
  line-height: 1.5;
  max-width: 36rem;
}
.paper-featured-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  margin-bottom: 48px;
}
.paper-feature-card,
.paper-list-card {
  display: block;
  text-decoration: none;
  color: inherit;
  padding: 22px 22px 24px;
  border-radius: 18px;
  background:
    linear-gradient(180deg, rgba(255,252,248,0.96), rgba(235,231,223,0.55));
  border: 1px solid var(--rule, #e4e1d8);
  transition: transform 0.2s ease, border-color 0.2s ease;
}
.paper-feature-card:hover,
.paper-list-card:hover {
  transform: translateY(-2px);
  border-color: rgba(26, 26, 24, 0.28);
}
.paper-feature-card h2,
.paper-list-card h3 {
  margin: 0 0 8px;
  font-weight: 500;
  letter-spacing: -0.03em;
  font-size: clamp(20px, 2.2vw, 24px);
  line-height: 1.15;
}
.paper-feature-card p:last-child,
.paper-list-card p:last-child {
  margin: 0;
  color: var(--ink2, #5e5e59);
  font-size: 15px;
  line-height: 1.45;
}
.paper-list-title {
  margin: 0 0 18px;
  font-weight: 500;
  letter-spacing: -0.03em;
  font-size: 22px;
}
.paper-list-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}
.paper-cta {
  margin-top: 56px;
  padding: clamp(28px, 4vw, 40px);
  border-radius: 22px;
  text-align: center;
  background:
    radial-gradient(ellipse 70% 80% at 10% 0%, rgba(194, 65, 12, 0.07), transparent 55%),
    linear-gradient(180deg, rgba(255,252,248,0.96), rgba(235,231,223,0.65));
  border: 1px solid var(--rule, #e4e1d8);
}
.paper-cta h2 {
  margin: 0 0 10px;
  font-weight: 500;
  letter-spacing: -0.035em;
  font-size: clamp(24px, 3vw, 32px);
}
.paper-cta > p {
  margin: 0 auto 20px;
  max-width: 34rem;
  color: var(--ink2, #5e5e59);
}
.paper-cta-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
}

/* Pricing (thin checkout deep link) */
.paper-price-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  margin: 8px 0 28px;
}
.paper-price-grid-two {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  max-width: 820px;
  margin-left: auto;
  margin-right: auto;
}
.paper-price-grid-ladder {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  max-width: 1100px;
  margin-left: auto;
  margin-right: auto;
}
.paper-price-kicker {
  margin: 0 0 6px;
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink4, #8a847a);
  font-weight: 600;
}
@media (max-width: 1100px) {
  .paper-price-grid-ladder {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
.paper-price-inline-link {
  display: inline;
  margin: 0;
  padding: 0;
  border: none;
  background: none;
  color: var(--ink, #1a1a18);
  font: inherit;
  text-decoration: underline;
  text-underline-offset: 2px;
  cursor: pointer;
}
.paper-price-inline-link:hover,
.paper-price-inline-link:focus-visible {
  color: var(--brand, #e55f2f);
}
.paper-price-card {
  padding: 24px 22px 26px;
  border-radius: 18px;
  background:
    linear-gradient(180deg, rgba(255,252,248,0.96), rgba(235,231,223,0.55));
  border: 1px solid var(--rule, #e4e1d8);
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.paper-price-card-featured {
  border-color: rgba(26, 26, 24, 0.22);
  background:
    radial-gradient(ellipse 90% 80% at 8% 0%, rgba(229, 95, 47, 0.10), transparent 55%),
    linear-gradient(180deg, #fffcf8 0%, #f4f3ef 100%);
  color: var(--ink, #1a1a18);
  box-shadow: 0 18px 40px rgba(26, 26, 24, 0.08);
}
.paper-price-card-featured h2,
.paper-price-card-featured .paper-price-amount {
  color: var(--ink, #1a1a18);
}
.paper-price-card-featured .paper-price-desc,
.paper-price-card-featured li {
  color: var(--ink2, #5e5e59);
}
.paper-price-card-featured ul {
  border-top-color: var(--rule, #e4e1d8);
}
.paper-price-card-featured li::before {
  background: var(--brand, #e55f2f);
}
.paper-price-card-featured .btn {
  background: var(--ink, #1a1a18);
  color: #fff;
  border: none;
}
.paper-price-card-featured .btn:hover,
.paper-price-card-featured .btn:focus-visible {
  background: #000;
  color: #fff;
}
.paper-price-card h2 {
  margin: 0;
  font-weight: 500;
  letter-spacing: -0.03em;
  font-size: 22px;
}
.paper-price-desc {
  margin: 0;
  color: var(--ink2, #5e5e59);
  font-size: 16px;
  line-height: 1.5;
  min-height: 2.9em;
}
.paper-price-amount {
  margin: 4px 0 8px;
  font-size: 40px;
  font-weight: 500;
  letter-spacing: -0.04em;
  line-height: 1;
}
.paper-price-amount span {
  font-size: 16px;
  color: var(--ink4, #8a847a);
  letter-spacing: 0;
  font-weight: 500;
}
.paper-price-card .btn,
.paper-price-card .btn-secondary {
  width: 100%;
  justify-content: center;
  text-align: center;
}
.paper-price-card ul {
  list-style: none;
  margin: 8px 0 0;
  padding: 12px 0 0;
  border-top: 1px solid var(--rule, #e4e1d8);
  display: grid;
  gap: 8px;
}
.paper-price-card li {
  position: relative;
  padding-left: 14px;
  color: var(--ink2, #5e5e59);
  font-size: 15px;
  line-height: 1.45;
}
.paper-price-card li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 7px;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--ink, #1a1a18);
}
.paper-price-note {
  text-align: center;
  color: var(--ink4, #8a847a);
  font-size: 14px;
  line-height: 1.5;
  margin: 0 auto 8px;
  max-width: 40rem;
}
.paper-price-note a {
  color: var(--ink, #1a1a18);
  text-decoration: underline;
  text-underline-offset: 2px;
}

/* Case Log — 30 days band so $499 never fights the $99 default */
.paper-open-case {
  margin: 8px 0 36px;
  padding: 0;
}
.paper-open-case-inner {
  max-width: 40rem;
  margin: 0 auto;
  padding: 32px 28px 36px;
  border-radius: 20px;
  border: 1px solid var(--rule, #e4e1d8);
  background:
    linear-gradient(165deg, rgba(255, 252, 248, 0.98), rgba(236, 230, 220, 0.65)),
    radial-gradient(ellipse 80% 60% at 100% 0%, rgba(229, 95, 47, 0.08), transparent 55%);
  text-align: left;
}
.paper-open-case .paper-kicker {
  margin: 0 0 8px;
}
.paper-open-case h2 {
  margin: 0 0 12px;
  font-weight: 500;
  letter-spacing: -0.03em;
  font-size: 28px;
  color: var(--ink, #1a1a18);
}
.paper-open-case-lede {
  margin: 0 0 18px;
  color: var(--ink2, #5e5e59);
  font-size: 16px;
  line-height: 1.55;
}
.paper-open-case .paper-price-amount {
  margin: 0 0 8px;
}
.paper-open-case-value {
  margin: 0 0 18px;
  color: var(--ink2, #5e5e59);
  font-size: 15px;
  line-height: 1.45;
}
.paper-open-case .btn {
  width: 100%;
  max-width: 22rem;
  justify-content: center;
}
.paper-open-case-list {
  list-style: none;
  margin: 20px 0 0;
  padding: 16px 0 0;
  border-top: 1px solid var(--rule, #e4e1d8);
  display: grid;
  gap: 10px;
}
.paper-open-case-list li {
  position: relative;
  padding-left: 14px;
  color: var(--ink2, #5e5e59);
  font-size: 14px;
  line-height: 1.45;
}
.paper-open-case-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 7px;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--brand, #e55f2f);
}

/* Sample report deep link */
.paper-sample {
  max-width: 860px;
  margin: 0 auto 8px;
}
.paper-sample-frame {
  border-radius: 18px;
  overflow: hidden;
  border: 1px solid var(--rule, #e4e1d8);
  background: #fff;
  box-shadow: 0 18px 40px rgba(26, 26, 24, 0.08);
}
.paper-sample-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 12px 16px;
  border-bottom: 1px solid var(--rule, #e4e1d8);
  background: rgba(244, 243, 239, 0.92);
}
.paper-sample-bar strong {
  font-family: "IBM Plex Mono", ui-monospace, monospace;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.02em;
  color: var(--ink, #1a1a18);
}
.paper-sample-bar-links {
  display: flex;
  gap: 14px;
  font-size: 13px;
  font-weight: 500;
}
.paper-sample-bar-links a {
  color: var(--ink, #1a1a18);
  text-decoration: underline;
  text-underline-offset: 2px;
}
.paper-sample-frame iframe {
  display: block;
  width: 100%;
  height: min(78vh, 900px);
  border: 0;
  background: #fff;
}
.paper-sample-note {
  margin: 14px 0 0;
  text-align: center;
  font-size: 13px;
  color: var(--ink4, #8a847a);
}
.paper-sample-note a {
  color: var(--ink, #1a1a18);
  text-decoration: underline;
  text-underline-offset: 2px;
}

/* Story — 2.0 */
.auth-orb-story {
  width: 48vw;
  height: 48vw;
  max-width: 520px;
  max-height: 520px;
  top: 8%;
  right: -8%;
  background: radial-gradient(circle at 40% 40%, rgba(229, 95, 47, 0.28), transparent 68%);
  filter: blur(64px);
  opacity: 0.85;
  border-radius: 50%;
  position: absolute;
  pointer-events: none;
}
.paper-story-main {
  max-width: 42rem;
}
.paper-story-hero h1 {
  max-width: 14ch;
}
.paper-story-body {
  max-width: 40rem;
  display: grid;
  gap: 18px;
  margin-bottom: 36px;
}
.paper-story-body p {
  margin: 0;
  color: var(--ink2, #5e5e59);
  font-size: clamp(17px, 1.7vw, 19px);
  line-height: 1.55;
}
.paper-story-pull {
  margin: 8px 0;
  padding: 18px 0 18px 18px;
  border-left: 2px solid var(--brand, #e55f2f);
  font-size: clamp(19px, 2.2vw, 24px);
  font-weight: 500;
  letter-spacing: -0.025em;
  line-height: 1.35;
  color: var(--ink, #1a1a18);
}
.paper-story-close {
  color: var(--ink, #1a1a18) !important;
}
.paper-story-sign {
  margin-top: 4px !important;
  font-weight: 600;
  letter-spacing: -0.02em;
  color: var(--ink, #1a1a18) !important;
}
.paper-story-triad {
  margin: 0 0 40px;
  padding: 22px 22px 24px;
  border-radius: 18px;
  border: 1px solid var(--rule, #e4e1d8);
  background:
    radial-gradient(ellipse 70% 80% at 12% 0%, rgba(229, 95, 47, 0.1), transparent 55%),
    linear-gradient(180deg, rgba(255,252,248,0.96), rgba(235,231,223,0.55));
}
.paper-story-triad-line {
  margin: 0 0 10px;
  font-size: clamp(18px, 2vw, 22px);
  font-weight: 500;
  letter-spacing: -0.025em;
  line-height: 1.35;
  color: var(--ink, #1a1a18);
}
.paper-story-triad-trust {
  margin: 0;
  font-size: 14px;
  line-height: 1.45;
  color: var(--ink4, #8a847a);
}

/* Attorney partnership — 2.0 paper */
.attorney-hero {
  max-width: 40rem;
}
.attorney-apply {
  margin: 0 0 48px;
  max-width: 28rem;
}
.attorney-apply-card {
  padding: 24px 22px 26px;
  border-radius: 20px;
  border: 1px solid var(--rule, #e4e1d8);
  background:
    linear-gradient(180deg, rgba(255,252,248,0.98), rgba(235,231,223,0.6));
}
.attorney-apply-card h2 {
  margin: 0 0 8px;
  font-weight: 500;
  letter-spacing: -0.03em;
  font-size: clamp(22px, 3vw, 28px);
}
.attorney-apply-card > p {
  margin: 0 0 18px;
  color: var(--ink2, #5e5e59);
  font-size: 15px;
  line-height: 1.45;
}
.attorney-form {
  display: grid;
  gap: 14px;
}
.attorney-field {
  display: grid;
  gap: 6px;
  font-size: 13px;
  font-weight: 500;
  color: var(--ink2, #5e5e59);
}
.attorney-field em {
  font-style: normal;
  font-weight: 400;
  color: var(--ink4, #8a847a);
}
.attorney-field input {
  min-height: 44px;
  padding: 0 14px;
  border-radius: 12px;
  border: 1.5px solid var(--rule, #e4e1d8);
  background: #fffcf8;
  font: inherit;
  font-size: 16px;
  color: var(--ink, #1a1a18);
}
.attorney-field input:focus {
  outline: none;
  border-color: rgba(26, 26, 24, 0.45);
}
.attorney-form-error {
  margin: 0;
  color: var(--signal, #c2410c);
  font-size: 14px;
}
.attorney-form .btn {
  width: 100%;
  margin-top: 4px;
}
.attorney-success p {
  margin: 0;
  font-size: 16px;
  line-height: 1.45;
  color: var(--ink, #1a1a18);
}
.attorney-steps-wrap {
  margin: 0 0 48px;
}
.attorney-steps-wrap > h2,
.attorney-ladder > h2,
.attorney-forward > h2 {
  margin: 0 0 18px;
  font-weight: 500;
  letter-spacing: -0.03em;
  font-size: clamp(24px, 3.2vw, 32px);
}
.attorney-steps {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}
.attorney-steps article {
  padding: 20px 18px 22px;
  border-radius: 16px;
  border: 1px solid var(--rule, #e4e1d8);
  background: rgba(255, 252, 248, 0.78);
}
.attorney-step-n {
  margin: 0 0 10px;
  font-family: "IBM Plex Mono", ui-monospace, monospace;
  font-size: 12px;
  letter-spacing: 0.08em;
  color: var(--ink4, #8a847a);
}
.attorney-steps h3 {
  margin: 0 0 8px;
  font-weight: 500;
  letter-spacing: -0.02em;
  font-size: 18px;
}
.attorney-steps p {
  margin: 0;
  color: var(--ink2, #5e5e59);
  font-size: 15px;
  line-height: 1.45;
}
.attorney-ladder {
  margin: 0 0 48px;
}
.attorney-ladder .paper-price-card h3 {
  margin: 0 0 8px;
  font-size: 22px;
  font-weight: 500;
}
.attorney-ladder-note {
  margin: 16px 0 0;
  max-width: 46rem;
  color: var(--ink2, #5e5e59);
  font-size: 15px;
  line-height: 1.5;
}
.attorney-forward {
  margin: 0 0 28px;
  max-width: 42rem;
}
.attorney-forward > p {
  margin: 0 0 14px;
  color: var(--ink2, #5e5e59);
  font-size: 16px;
  line-height: 1.45;
}
.attorney-forward-pack {
  margin: 0 0 14px;
  padding: 18px 18px 20px;
  border-radius: 16px;
  border: 1px solid var(--rule, #e4e1d8);
  background: rgba(255, 252, 248, 0.9);
  display: grid;
  gap: 12px;
}
.attorney-forward-pack p {
  margin: 0;
  color: var(--ink, #1a1a18);
  font-size: 15px;
  line-height: 1.5;
}
.attorney-forward-status {
  margin: 10px 0 0;
  font-size: 14px;
  color: var(--ink4, #8a847a);
}
@media (max-width: 900px) {
  .attorney-steps {
    grid-template-columns: 1fr;
  }
  .attorney-apply {
    max-width: none;
  }
  .attorney-form .btn {
    width: 65%;
    max-width: 65%;
    margin-left: auto;
    margin-right: auto;
  }
}

/* Contact */
.paper-contact-cards {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin-bottom: 28px;
}
.paper-contact-card {
  text-align: left;
  cursor: pointer;
  padding: 18px 18px 20px;
  border-radius: 16px;
  border: 1px solid var(--rule, #e4e1d8);
  background:
    linear-gradient(180deg, rgba(255,252,248,0.96), rgba(235,231,223,0.55));
  color: var(--ink, #1a1a18);
  font-family: "Instrument Sans", system-ui, sans-serif;
  transition: border-color 0.2s ease, transform 0.2s ease;
}
.paper-contact-card:hover,
.paper-contact-card[aria-pressed="true"] {
  border-color: rgba(26, 26, 24, 0.35);
  transform: translateY(-1px);
}
.paper-contact-title {
  display: block;
  font-size: 16px;
  font-weight: 500;
  letter-spacing: -0.02em;
  margin-bottom: 4px;
}
.paper-contact-desc {
  display: block;
  font-size: 14px;
  color: var(--ink2, #5e5e59);
  line-height: 1.4;
}

@media (max-width: 900px) {
  .auth-main {
    padding: 16px var(--gutter, 18px) 48px;
  }
  .auth-card {
    padding: 24px 20px;
    border-radius: 18px;
  }
  .auth-card h1 {
    font-size: clamp(26px, 7vw, 32px);
  }
  .paper-main {
    padding: 8px var(--gutter, 20px) 56px;
  }
  .paper-hero {
    max-width: none;
    margin-bottom: 28px;
  }
  .paper-hero h1 {
    font-size: clamp(30px, 8vw, 44px);
  }
  .paper-lede {
    font-size: 16px;
    max-width: none;
  }
  .auth-nav,
  .paper-nav {
    padding-left: var(--gutter, 20px);
    padding-right: var(--gutter, 20px);
  }
  .paper-nav-links a:not(.btn),
  .auth-nav-links a:not(.btn) {
    display: none;
  }
  .paper-nav-links .btn,
  .auth-nav-links .btn {
    min-height: 40px;
    padding: 0 14px;
    font-size: 14px;
  }
  .paper-price-grid,
  .paper-price-grid-two,
  .paper-featured-grid,
  .paper-list-grid,
  .paper-contact-cards {
    grid-template-columns: 1fr;
    gap: 14px;
    max-width: none;
  }
  .paper-price-card {
    padding: 22px;
  }
  /* Mobile CTAs: ~65% width, centered — marketing surfaces only */
  .paper-price-card .btn,
  .paper-price-card .btn-secondary,
  .paper-cta-actions .btn,
  .paper-cta-actions .btn-secondary,
  .paper-open-case .btn,
  .home-next-actions .btn,
  .home-next-actions .btn-secondary,
  .actions-row > .btn,
  .actions-row > .btn-secondary,
  .actions-row > .btn-ghost,
  .data-export-guide-footer-cta .btn,
  .data-export-guide-footer-cta .forensai-btn,
  .answer-plate-actions .btn,
  .answer-plate-actions .btn-secondary,
  .caselog .btn,
  .caselog .btn-secondary,
  .caselog .btn-ghost,
  .sample-report .btn,
  .sample-report .btn-ghost {
    width: 65%;
    max-width: 65%;
    justify-content: center;
    margin-left: auto;
    margin-right: auto;
  }
  .paper-cta-actions,
  .home-next-actions,
  .actions-row,
  .answer-plate-actions,
  .paper-price-card,
  .paper-open-case,
  .data-export-guide-footer-cta {
    align-items: center;
  }
  .paper-cta-actions,
  .actions-row,
  .home-next-actions {
    justify-content: center;
  }
  .paper-price-note {
    max-width: none;
    text-align: left;
    font-size: 14px;
    line-height: 1.5;
  }
  .paper-sample-frame iframe {
    height: 60vh;
  }
  .paper-footer.site-footer {
    padding: 0 var(--gutter, 20px) 32px;
  }
}

@media (max-width: 480px) {
  .paper-main {
    padding-bottom: 44px;
  }
  .paper-hero h1 {
    font-size: clamp(28px, 9vw, 36px);
  }
  .paper-price-card {
    border-radius: 16px;
  }
}

.paper-footer.site-footer {
  position: relative;
  z-index: 1;
  margin-top: 24px;
  padding: 0 var(--gutter, 24px) 40px;
}
.paper-footer .site-footer-rail {
  max-width: 1180px;
  margin: 0 auto;
  padding: 28px 0 0;
  border-top: 1px solid var(--rule, #e4e1d8);
}
.paper-footer .site-footer-inner {
  display: grid;
  gap: 22px;
}
.paper-footer .site-footer-brand {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 16px;
  align-items: flex-start;
}
.paper-footer .site-footer-logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: var(--ink, #1a1a18);
  font-weight: 500;
  letter-spacing: -0.04em;
  font-size: 22px;
}
.paper-footer .site-footer-logo img {
  width: 22px;
  height: 22px;
}
.paper-footer .site-footer-meta p {
  margin: 0;
  color: var(--ink4, #8a847a);
  font-size: 14px;
}
.paper-footer .site-footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 14px 18px;
}
.paper-footer .site-footer-nav a {
  color: var(--ink2, #5e5e59);
  text-decoration: none;
  font-size: 14px;
}
.paper-footer .site-footer-nav a:hover { color: var(--ink, #1a1a18); }
.paper-footer .site-footer-bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 12px;
  color: var(--ink4, #8a847a);
  font-size: 13px;
}
.paper-footer .site-footer-bottom nav {
  display: flex;
  gap: 14px;
}
.paper-footer .site-footer-bottom a {
  color: inherit;
  text-decoration: none;
}
.paper-footer .site-footer-bottom a:hover { color: var(--ink, #1a1a18); }
@media (max-width: 700px) {
  .paper-footer.site-footer {
    padding: 0 var(--gutter, 18px) 28px;
  }
  .paper-footer .site-footer-rail {
    padding-top: 22px;
  }
  .paper-footer .site-footer-brand {
    flex-direction: column;
    align-items: stretch;
    gap: 14px;
  }
  .paper-footer .site-footer-brand > div {
    width: 100%;
  }
  .paper-footer .site-footer-meta {
    text-align: left;
    width: 100%;
  }
  .paper-footer .site-footer-nav {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0 14px;
  }
  .paper-footer .site-footer-nav a {
    padding: 11px 0;
    border-bottom: 1px solid var(--rule, #e4e1d8);
  }
  .paper-footer .site-footer-bottom {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
  }
}
@media (max-width: 900px) {
  .paper-featured-grid,
  .paper-list-grid {
    grid-template-columns: 1fr;
  }
  .paper-nav-links a:not(.btn) {
    display: none;
  }
}

/* Homepage next-step band — upload lives in the dashboard */
.home-next {
  margin: 0 var(--gutter) 48px;
  max-width: 1100px;
  margin-left: auto;
  margin-right: auto;
  scroll-margin-top: 24px;
}
.home-next-card {
  display: grid;
  grid-template-columns: minmax(240px, 1.1fr) minmax(240px, 0.9fr);
  gap: clamp(24px, 4vw, 48px);
  align-items: center;
  padding: clamp(28px, 4vw, 40px);
  border-radius: 22px;
  background:
    radial-gradient(ellipse 70% 80% at 10% 0%, rgba(194, 65, 12, 0.08), transparent 55%),
    linear-gradient(180deg, rgba(255,252,248,0.95), rgba(235,231,223,0.6));
  border: 1px solid var(--rule);
  box-shadow: 0 22px 48px rgba(26, 26, 24, 0.06);
}
.home-next-copy h2 {
  font-weight: 500;
  letter-spacing: -0.035em;
  font-size: clamp(28px, 3.4vw, 40px);
  margin-bottom: 12px;
  line-height: 1.05;
}
.home-next-copy p {
  color: var(--ink2);
  font-size: 16px;
  max-width: 34rem;
  margin: 0;
  line-height: 1.5;
}
.home-next-actions {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 12px;
}
.home-next-actions .btn,
.home-next-actions .btn-secondary {
  width: 100%;
  max-width: 280px;
  text-align: center;
}
.home-next-trust {
  margin: 4px 0 0;
  font-size: 13px;
  color: var(--ink4);
  line-height: 1.45;
}
.home-next-trust a {
  color: var(--ink);
  text-decoration: underline;
  text-underline-offset: 2px;
}
@media (max-width: 900px) {
  .home-next-card {
    grid-template-columns: 1fr;
    text-align: center;
  }
  .home-next-copy p {
    margin-left: auto;
    margin-right: auto;
  }
  .home-next-actions {
    align-items: center;
  }
}

/* Paper data-export guide (overrides legacy dark modal) */
.data-export-guide-overlay {
  position: fixed;
  inset: 0;
  background:
    linear-gradient(165deg, rgba(62, 48, 36, 0.38) 0%, rgba(40, 32, 26, 0.46) 55%, rgba(32, 28, 24, 0.52) 100%),
    rgba(90, 68, 48, 0.22);
  backdrop-filter: blur(18px) saturate(1.05);
  -webkit-backdrop-filter: blur(18px) saturate(1.05);
  z-index: 10000;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 20px;
  overflow-y: auto;
}
.data-export-guide-modal {
  background: var(--card, #fffcf8);
  border: 1px solid rgba(26, 26, 24, 0.14);
  border-radius: 22px;
  max-width: 720px;
  width: 100%;
  max-height: 90vh;
  overflow-y: auto;
  box-shadow: 0 32px 80px rgba(62, 48, 36, 0.28);
  display: flex;
  flex-direction: column;
  color: var(--ink, #1a1a18);
}
.data-export-guide-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 22px 26px;
  border-bottom: 1px solid var(--rule, #e4e1d8);
  position: sticky;
  top: 0;
  background: var(--card, #fffcf8);
  z-index: 1;
}
.data-export-guide-title {
  font-size: 22px;
  font-weight: 500;
  letter-spacing: -0.03em;
  color: var(--ink, #1a1a18);
  margin: 0;
  font-family: "Instrument Sans", system-ui, sans-serif;
  text-transform: none;
}
.data-export-guide-close {
  background: transparent;
  border: none;
  color: var(--ink2, #5e5e59);
  cursor: pointer;
  padding: 8px;
  display: flex;
  border-radius: 8px;
}
.data-export-guide-close:hover {
  background: rgba(26, 26, 24, 0.06);
  color: var(--ink, #1a1a18);
}
.data-export-guide-content {
  padding: 24px 26px 28px;
  display: flex;
  flex-direction: column;
  gap: 22px;
}
.data-export-guide-platforms {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--rule, #e4e1d8);
}
.data-export-guide-platform-btn {
  background: rgba(244, 243, 239, 0.8);
  border: 1px solid var(--rule, #e4e1d8);
  border-radius: 14px;
  padding: 18px 12px;
  cursor: pointer;
  transition: border-color 0.2s, background 0.2s, transform 0.2s;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  min-height: 96px;
  color: var(--ink2, #5e5e59);
  font-size: 14px;
  font-weight: 500;
  font-family: "Instrument Sans", system-ui, sans-serif;
}
.data-export-guide-platform-btn:hover {
  border-color: rgba(26, 26, 24, 0.35);
  color: var(--ink, #1a1a18);
}
.data-export-guide-platform-btn.active {
  background: #fff;
  border-color: var(--ink, #1a1a18);
  color: var(--ink, #1a1a18);
  box-shadow: 0 8px 20px rgba(26, 26, 24, 0.06);
}
.data-export-guide-platform-icon svg,
.data-export-guide-platform-header-icon svg {
  width: 40px;
  height: 40px;
}
.data-export-guide-platform-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--rule, #e4e1d8);
}
.data-export-guide-platform-header-left {
  display: flex;
  align-items: center;
  gap: 14px;
  flex: 1;
}
.data-export-guide-platform-title {
  font-size: 18px;
  font-weight: 500;
  letter-spacing: -0.02em;
  color: var(--ink, #1a1a18);
  margin: 0 0 4px;
  font-family: "Instrument Sans", system-ui, sans-serif;
}
.data-export-guide-time-estimate {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  color: var(--ink4, #8a847a);
  font-family: "Instrument Sans", system-ui, sans-serif;
}
.data-export-guide-steps-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.data-export-guide-step-item {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 12px 0;
  background: transparent;
  border-radius: 0;
  border: none;
  border-bottom: 1px solid var(--rule, #e4e1d8);
}
.data-export-guide-step-item:last-child {
  border-bottom: none;
}
.data-export-guide-step-number {
  flex-shrink: 0;
  width: 28px;
  height: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--ink, #1a1a18);
  border-radius: 8px;
  color: #fff;
  font-size: 13px;
  font-weight: 600;
  font-family: "IBM Plex Mono", ui-monospace, monospace;
}
.data-export-guide-step-text {
  flex: 1;
  font-size: 15px;
  line-height: 1.55;
  color: var(--ink2, #5e5e59);
  font-family: "Instrument Sans", system-ui, sans-serif;
}
.data-export-guide-link-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 11px 18px;
  background: var(--ink, #1a1a18);
  border: none;
  border-radius: 999px;
  color: #fff;
  text-decoration: none;
  font-size: 14px;
  font-weight: 500;
  transition: background 0.2s, transform 0.2s;
  font-family: "Instrument Sans", system-ui, sans-serif;
  white-space: nowrap;
}
.data-export-guide-link-btn:hover {
  background: #000;
  transform: translateY(-1px);
  color: #fff;
}
.data-export-guide-footer-cta {
  padding-top: 8px;
}
.data-export-guide-footer-cta .btn,
.data-export-guide-footer-cta .forensai-btn {
  width: 100%;
  justify-content: center;
  background: var(--ink, #1a1a18) !important;
  color: #fff !important;
  border-radius: 999px !important;
  border: none !important;
}
.data-export-guide-trust {
  margin: 12px 0 0;
  text-align: center;
  font-size: 13px;
  color: var(--ink4, #8a847a);
  line-height: 1.4;
}
.data-export-guide-note {
  margin-top: 8px;
  font-size: 13px;
  color: var(--ink4, #8a847a);
}
@media (max-width: 640px) {
  .data-export-guide-platforms {
    grid-template-columns: repeat(2, 1fr);
  }
  .data-export-guide-platform-header {
    flex-direction: column;
    align-items: flex-start;
  }
  .data-export-guide-link-btn {
    width: 100%;
    justify-content: center;
  }
}


/* === V4 brand lock: Forens paper chrome === */
/* Never show AI wordmark remnant */
.logo-ai,
.loading-logo .logo-ai,
.forensai-logo .logo-ai,
.intake-nav .logo-ai,
.intake-logo .logo-ai,
.forensai-footer .logo-ai {
  display: none !important;
}

/* Paper marketing chrome */
.forensai-header {
  background: rgba(244, 243, 239, 0.92) !important;
  border-bottom: 1px solid var(--rule, #e4e1d8) !important;
  backdrop-filter: blur(12px);
}
.forensai-logo-text,
.forensai-logo-forens,
.loading-logo-forens {
  color: var(--ink, #1a1a18) !important;
  font-family: "Instrument Sans", system-ui, sans-serif !important;
}

/* Brand wordmark weight in running copy + logos */
.forens-name,
.forensai-logo-text,
.forensai-logo-forens {
  font-weight: 600;
  color: inherit;
}
.lede .forens-name,
.paper-lede .forens-name,
.answer-lede .forens-name {
  color: var(--ink, #1a1a18);
}
.post-page,
.insights-page,
.post-article,
.forensai-insights-page {
  background: var(--paper, #f4f3ef) !important;
  color: var(--ink, #1a1a18) !important;
}
.post-page .forensai-headline,
.insights-page .forensai-headline,
.post-cta-scan h2,
.forensai-insights-cta h2 {
  color: var(--ink, #1a1a18) !important;
}
.post-cta-scan,
.forensai-insights-cta,
.forensics-cta {
  background: linear-gradient(165deg, rgba(255,252,248,0.95), rgba(235,231,223,0.7)) !important;
  border: 1px solid var(--rule, #e4e1d8) !important;
}
/* Legacy orange → ink on marketing surfaces */
.post-page [style*="#e55e31"],
.insights-page a[style*="#e55e31"] {
  color: var(--ink, #1a1a18) !important;
}


/* Orange token remap — marketing surfaces inherit ink */
:root {
  --forensai-primary: #1a1a18;
  --forensai-accent: #1a1a18;
}

/* ─── Paper answer surface (not a dashboard) ─── */
html:has(.answer-page),
body:has(.answer-page) {
  background: var(--paper, #f4f3ef) !important;
  color: var(--ink, #1a1a18);
  height: 100%;
  overflow: hidden;
}

.answer-page {
  position: relative;
  isolation: isolate;
  min-height: 100vh;
  background: var(--paper, #f4f3ef);
  color: var(--ink, #1a1a18);
  font-family: "Instrument Sans", system-ui, sans-serif;
}

.answer-page::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  background:
    radial-gradient(ellipse 48% 42% at -8% -10%, rgba(194, 65, 12, 0.16), transparent 62%),
    radial-gradient(ellipse 40% 36% at 108% 8%, rgba(61, 107, 69, 0.12), transparent 64%),
    radial-gradient(ellipse 70% 40% at 50% 110%, rgba(26, 26, 24, 0.05), transparent 70%);
}

.answer-page::after {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  opacity: 0.28;
  mix-blend-mode: multiply;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.55'/%3E%3C/svg%3E");
}

/* Private room: fixed rail + scrolling pane */
.answer-shell {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: stretch;
  height: 100vh;
  height: 100dvh;
  overflow: hidden;
}

.answer-rail {
  position: fixed;
  top: 0;
  left: 0;
  bottom: 0;
  width: 252px;
  flex-shrink: 0;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 28px 18px 22px;
  border-right: 1px solid rgba(26, 26, 24, 0.12);
  background: rgba(255, 252, 248, 0.92);
  backdrop-filter: blur(16px);
  box-sizing: border-box;
  z-index: 40;
  overflow-y: auto;
}

.answer-rail-top {
  display: flex;
  flex-direction: column;
  gap: 22px;
}

.answer-rail-reassure {
  position: relative;
  margin: 0;
  max-width: 18em;
  font-size: 13.5px;
  line-height: 1.45;
  color: var(--ink2, #5e5e59);
  overflow: hidden;
  isolation: isolate;
}

/* Thin vertical light — sweeps L→R, goes dark, then again. Slow. */
.answer-rail-reassure::after {
  content: '';
  position: absolute;
  top: -12%;
  bottom: -12%;
  left: 0;
  width: 2px;
  border-radius: 1px;
  background: rgba(255, 255, 255, 0.88);
  box-shadow:
    0 0 6px 1px rgba(255, 248, 235, 0.5),
    0 0 12px 2px rgba(229, 94, 49, 0.1);
  opacity: 0;
  pointer-events: none;
  animation: answer-rail-reassure-bar 18s linear infinite;
}

@keyframes answer-rail-reassure-bar {
  /* Sweep left → right */
  0% {
    left: 0;
    opacity: 0;
  }
  4% {
    opacity: 0.95;
  }
  36% {
    left: calc(100% - 2px);
    opacity: 0.95;
  }
  40% {
    left: 100%;
    opacity: 0;
  }
  /* Off */
  50% {
    left: 0;
    opacity: 0;
  }
  /* Sweep again */
  54% {
    opacity: 0.95;
  }
  86% {
    left: calc(100% - 2px);
    opacity: 0.95;
  }
  90% {
    left: 100%;
    opacity: 0;
  }
  100% {
    left: 0;
    opacity: 0;
  }
}

@media (prefers-reduced-motion: reduce) {
  .answer-rail-reassure::after {
    animation: none;
    content: none;
  }
}

.answer-mark {
  font-size: clamp(20px, 2.2vw, 24px);
  gap: 10px;
}

.answer-rail-nav {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.answer-rail-item {
  display: block;
  padding: 12px 14px 12px 20px;
  border: 1px solid transparent;
  border-radius: 14px;
  color: var(--ink2, #5e5e59);
  text-decoration: none;
  line-height: 1.3;
  transition:
    background 0.2s ease,
    border-color 0.2s ease,
    box-shadow 0.2s ease,
    color 0.2s ease;
}

.answer-rail-label {
  display: block;
  font-size: 15px;
  font-weight: 500;
  color: var(--ink, #1a1a18);
  letter-spacing: -0.02em;
}

.answer-rail-note {
  display: block;
  margin-top: 3px;
  font-size: 12.5px;
  font-weight: 400;
  color: var(--ink4, #8a847a);
}

.answer-rail-item:hover {
  background: rgba(26, 26, 24, 0.035);
}

/* Frosted deboss — pressed-in glass, no left dash */
.answer-rail-item.is-active {
  border-color: rgba(255, 255, 255, 0.42);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.28), rgba(255, 255, 255, 0.08)),
    rgba(26, 26, 24, 0.045);
  backdrop-filter: blur(18px) saturate(1.15);
  -webkit-backdrop-filter: blur(18px) saturate(1.15);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.55),
    inset 0 -1px 0 rgba(26, 26, 24, 0.05),
    inset 0 2px 10px rgba(26, 26, 24, 0.1),
    inset 0 8px 18px rgba(26, 26, 24, 0.045);
  color: var(--ink, #1a1a18);
}

.answer-rail-item.is-active .answer-rail-label {
  color: var(--ink, #1a1a18);
}

.answer-rail-item.is-active .answer-rail-note {
  color: var(--ink3, #7a756c);
}

.answer-rail-float {
  flex: 1 1 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 0;
  padding: 12px 0;
}

.answer-rail-exit {
  appearance: none;
  display: block;
  width: 100%;
  margin: 0;
  padding: 11px 12px;
  border: none;
  border-radius: 12px;
  color: var(--ink, #1a1a18);
  font: inherit;
  font-size: 14px;
  font-weight: 500;
  letter-spacing: -0.01em;
  text-align: center;
  cursor: pointer;
  /* Crest slots: grey bands, transparent gaps */
  background-color: transparent;
  background-image: repeating-linear-gradient(
    -52deg,
    rgba(26, 26, 24, 0.12) 0 7px,
    transparent 7px 12px
  );
}

.answer-rail-exit:hover,
.answer-rail-exit:focus-visible {
  color: var(--ink, #1a1a18);
  background-color: transparent;
  background-image: repeating-linear-gradient(
    -52deg,
    rgba(26, 26, 24, 0.18) 0 7px,
    transparent 7px 12px
  );
}

.btn.answer-quick-exit {
  border: none;
  color: var(--ink, #1a1a18);
  background-color: transparent;
  background-image: repeating-linear-gradient(
    -52deg,
    rgba(26, 26, 24, 0.12) 0 7px,
    transparent 7px 12px
  );
}

.btn.answer-quick-exit:hover,
.btn.answer-quick-exit:focus-visible {
  color: var(--ink, #1a1a18);
  background-color: transparent;
  background-image: repeating-linear-gradient(
    -52deg,
    rgba(26, 26, 24, 0.18) 0 7px,
    transparent 7px 12px
  );
}

/* Next steps — anchored above the foot menu */
.answer-rail-mid {
  flex: 0 0 auto;
  width: 100%;
  margin-top: 0;
  padding: 14px 0;
  border-top: 1px solid rgba(26, 26, 24, 0.1);
  border-bottom: 1px solid rgba(26, 26, 24, 0.1);
}

.answer-rail-foot {
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding-top: 14px;
  border-top: 0;
}

.answer-rail-link,
.answer-top-link {
  appearance: none;
  background: transparent;
  border: none;
  color: var(--ink2, #5e5e59);
  font: inherit;
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  text-decoration: none;
  padding: 8px 12px;
  border-radius: 8px;
  text-align: left;
}

.answer-rail-link:hover,
.answer-top-link:hover {
  color: var(--ink, #1a1a18);
  background: rgba(26, 26, 24, 0.04);
}

.answer-pane {
  flex: 1;
  min-width: 0;
  margin-left: 252px;
  height: 100vh;
  height: 100dvh;
  display: flex;
  flex-direction: column;
  overflow-x: hidden;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
}

.answer-mobile-top,
.answer-mobile-tabs,
.answer-mobile-more-sheet {
  display: none;
}

.answer-main {
  width: 100%;
  max-width: none;
  margin: 0;
  padding: clamp(40px, 6vh, 72px) clamp(28px, 3.5vw, 56px) 120px;
  box-sizing: border-box;
}

/* ─── Clarity — left rail + stage ─── */
.answer-page.is-clarity .answer-main {
  padding: clamp(28px, 4vh, 44px) clamp(28px, 3.5vw, 52px) 100px;
}

/* Empty: pay-first unpaid · plate-forward paid */
.clarity-empty {
  display: grid;
  gap: clamp(28px, 4vh, 40px);
  width: 100%;
  max-width: none;
}

.clarity-empty-head .answer-title {
  max-width: 18em;
}

.clarity-empty-head .answer-lede {
  max-width: 42em;
  margin-bottom: 12px;
}

.clarity-empty-head .answer-trust {
  margin: 0;
}

.clarity-empty.is-unpaid {
  gap: clamp(24px, 3.5vh, 36px);
  max-width: 52rem;
}

.clarity-empty.is-paid {
  gap: clamp(28px, 4vh, 44px);
  max-width: 56rem;
}

.clarity-empty.is-paid .answer-trust {
  margin: 10px 0 0;
}

.clarity-empty-cta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px 20px;
}

.clarity-empty-cta .btn {
  min-width: 11.5rem;
}

.clarity-empty-cta .answer-trust {
  margin: 0;
}

/* Paid empty — big platform starts */
.clarity-platforms-kicker {
  margin: 0 0 16px;
  font-family: "IBM Plex Mono", ui-monospace, monospace;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink4, #8a847a);
}

.clarity-platforms-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: clamp(12px, 2vw, 18px);
}

.clarity-platform-tile {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 14px;
  min-height: 0;
  padding: 8px 4px;
  border: none;
  background: transparent;
  box-shadow: none;
  cursor: pointer;
  color: var(--ink, #1a1a18);
  font: inherit;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.clarity-platform-tile:hover,
.clarity-platform-tile:focus-visible {
  transform: translateY(-3px);
  opacity: 0.92;
  outline: none;
}

.clarity-platform-tile:active {
  transform: translateY(-1px);
}

.clarity-platform-tile-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: auto;
  height: auto;
  background: none;
  border: none;
  box-shadow: none;
}

.clarity-platform-tile-icon svg {
  width: 56px;
  height: 56px;
}

.clarity-platform-tile-name {
  font-size: 15px;
  font-weight: 500;
  letter-spacing: -0.02em;
}

/* Paid empty — export drop (any format) */
.clarity-have-export {
  position: relative;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  align-items: center;
  gap: clamp(22px, 3vw, 36px);
  width: 100%;
  margin: 0;
  padding: clamp(28px, 4vw, 40px) clamp(24px, 3vw, 36px);
  border: 1.5px solid var(--ink, #1a1a18);
  border-radius: 0;
  background:
    linear-gradient(165deg, rgba(255, 252, 248, 0.98) 0%, rgba(235, 231, 223, 0.88) 100%);
  box-shadow: 0 24px 56px rgba(26, 26, 24, 0.08);
  cursor: pointer;
  box-sizing: border-box;
  color: var(--ink, #1a1a18);
  font: inherit;
  text-align: left;
  overflow: hidden;
  transition: transform 0.22s ease, box-shadow 0.22s ease, background 0.22s ease;
}

.clarity-have-export::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(ellipse 70% 80% at 0% 0%, rgba(194, 65, 12, 0.08), transparent 55%),
    radial-gradient(ellipse 50% 60% at 100% 100%, rgba(26, 26, 24, 0.04), transparent 60%);
  opacity: 0.9;
}

.clarity-have-export:hover,
.clarity-have-export:focus-visible,
.clarity-have-export.is-dragover {
  transform: translateY(-3px);
  box-shadow: 0 32px 72px rgba(26, 26, 24, 0.14);
  background: #fffcf8;
  outline: none;
}

.clarity-have-export.is-dragover {
  background:
    linear-gradient(165deg, #fffcf8 0%, rgba(235, 231, 223, 0.95) 100%);
}

.clarity-have-export-stack {
  position: relative;
  z-index: 1;
  width: 72px;
  height: 88px;
  flex-shrink: 0;
}

.clarity-have-export-sheet {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 52px;
  height: 66px;
  border: 1.5px solid var(--ink, #1a1a18);
  background: #fffcf8;
  box-sizing: border-box;
  transition: transform 0.28s ease;
}

.clarity-have-export-sheet.is-back {
  transform: translate(-62%, -58%) rotate(-10deg);
  background: rgba(235, 231, 223, 0.95);
}

.clarity-have-export-sheet.is-mid {
  transform: translate(-38%, -52%) rotate(7deg);
  background: #f4f3ef;
}

.clarity-have-export-sheet.is-front {
  transform: translate(-50%, -48%) rotate(-2deg);
  background: #fffcf8;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  padding-bottom: 12px;
}

.clarity-have-export-sheet-lines {
  display: block;
  width: 28px;
  height: 18px;
  background:
    linear-gradient(var(--ink, #1a1a18), var(--ink, #1a1a18)) 0 0 / 100% 2px no-repeat,
    linear-gradient(var(--ink, #1a1a18), var(--ink, #1a1a18)) 0 8px / 78% 2px no-repeat,
    linear-gradient(var(--ink, #1a1a18), var(--ink, #1a1a18)) 0 16px / 90% 2px no-repeat;
  opacity: 0.22;
}

.clarity-have-export:hover .clarity-have-export-sheet.is-back,
.clarity-have-export:focus-visible .clarity-have-export-sheet.is-back,
.clarity-have-export.is-dragover .clarity-have-export-sheet.is-back {
  transform: translate(-68%, -62%) rotate(-14deg);
}

.clarity-have-export:hover .clarity-have-export-sheet.is-mid,
.clarity-have-export:focus-visible .clarity-have-export-sheet.is-mid,
.clarity-have-export.is-dragover .clarity-have-export-sheet.is-mid {
  transform: translate(-30%, -56%) rotate(12deg);
}

.clarity-have-export:hover .clarity-have-export-sheet.is-front,
.clarity-have-export:focus-visible .clarity-have-export-sheet.is-front,
.clarity-have-export.is-dragover .clarity-have-export-sheet.is-front {
  transform: translate(-50%, -44%) rotate(-1deg);
}

.clarity-have-export-copy {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 8px;
  min-width: 0;
}

.clarity-have-export-label {
  font-size: clamp(20px, 2.4vw, 26px);
  font-weight: 500;
  letter-spacing: -0.035em;
  line-height: 1.15;
  color: var(--ink, #1a1a18);
}

.clarity-have-export-meta {
  font-size: 14px;
  line-height: 1.45;
  color: var(--ink2, #5e5e59);
  max-width: 36em;
}

@media (max-width: 720px) {
  .clarity-platforms-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .clarity-platform-tile {
    min-height: 0;
    gap: 10px;
    padding: 8px 4px;
  }

  .clarity-have-export {
    grid-template-columns: 1fr;
    justify-items: center;
    text-align: center;
    gap: 18px;
  }

  .clarity-have-export-copy {
    justify-items: center;
  }
}

/* Single-platform Clarity guide (no toggle) */
.clarity-guide-overlay {
  position: fixed;
  inset: 0;
  z-index: 10000;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 20px;
  overflow-y: auto;
  background:
    linear-gradient(165deg, rgba(62, 48, 36, 0.38) 0%, rgba(40, 32, 26, 0.46) 55%, rgba(32, 28, 24, 0.52) 100%),
    rgba(90, 68, 48, 0.22);
  backdrop-filter: blur(18px) saturate(1.05);
  -webkit-backdrop-filter: blur(18px) saturate(1.05);
  animation: clarityGuideFade 0.2s ease;
}

@keyframes clarityGuideFade {
  from { opacity: 0; }
  to { opacity: 1; }
}

.clarity-guide-modal {
  position: relative;
  width: 100%;
  max-width: 440px;
  max-height: 90vh;
  overflow-y: auto;
  padding: 28px 28px 24px;
  border: 1px solid rgba(26, 26, 24, 0.14);
  border-radius: 22px;
  background: #fffcf8;
  box-shadow: 0 32px 80px rgba(62, 48, 36, 0.28);
  color: var(--ink, #1a1a18);
  animation: clarityGuideRise 0.28s ease;
}

@keyframes clarityGuideRise {
  from { opacity: 0; transform: translateY(12px) scale(0.98); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}

.clarity-guide-close {
  position: absolute;
  top: 14px;
  right: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  padding: 0;
  border: 1px solid rgba(26, 26, 24, 0.14);
  border-radius: 999px;
  background: #fffcf8;
  color: var(--ink, #1a1a18);
  cursor: pointer;
  transition: background 0.15s ease, border-color 0.15s ease;
}

.clarity-guide-close:hover,
.clarity-guide-close:focus-visible {
  background: rgba(26, 26, 24, 0.06);
  border-color: var(--ink, #1a1a18);
  outline: none;
}

.clarity-guide-hero {
  display: grid;
  justify-items: center;
  text-align: center;
  gap: 10px;
  padding: 8px 28px 22px;
}

.clarity-guide-logo {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 72px;
  height: 72px;
}

.clarity-guide-logo svg {
  width: 64px;
  height: 64px;
}

.clarity-guide-title {
  margin: 0;
  font-size: clamp(24px, 4vw, 28px);
  font-weight: 500;
  letter-spacing: -0.04em;
  line-height: 1.15;
  font-family: "Instrument Sans", system-ui, sans-serif;
}

.clarity-guide-time {
  margin: 0;
  font-size: 13px;
  color: var(--ink4, #8a847a);
  letter-spacing: 0.01em;
}

.clarity-guide-open {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  margin-bottom: 22px;
  padding: 14px 18px;
  border: none;
  border-radius: 14px;
  background: var(--ink, #1a1a18);
  color: #fffcf8;
  text-decoration: none;
  font-size: 15px;
  font-weight: 500;
  font-family: "Instrument Sans", system-ui, sans-serif;
  transition: background 0.15s ease, transform 0.15s ease;
}

.clarity-guide-open:hover {
  background: #000;
  color: #fffcf8;
  transform: translateY(-1px);
}

.clarity-guide-steps {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0;
}

.clarity-guide-step {
  display: grid;
  grid-template-columns: 28px minmax(0, 1fr);
  gap: 12px;
  align-items: start;
  padding: 12px 0;
  border-bottom: 1px solid rgba(26, 26, 24, 0.1);
}

.clarity-guide-step:last-child {
  border-bottom: none;
}

.clarity-guide-step-num {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  border-radius: 8px;
  background: var(--ink, #1a1a18);
  color: #fffcf8;
  font-family: "IBM Plex Mono", ui-monospace, monospace;
  font-size: 12px;
  font-weight: 600;
}

.clarity-guide-step-text {
  font-size: 15px;
  line-height: 1.5;
  color: var(--ink2, #5e5e59);
  padding-top: 3px;
}

.clarity-guide-note {
  margin: 8px 0 0;
  font-size: 13px;
  line-height: 1.45;
  color: var(--ink4, #8a847a);
}

.clarity-guide-footer {
  display: grid;
  gap: 12px;
  margin-top: 22px;
  padding-top: 18px;
  border-top: 1px solid rgba(26, 26, 24, 0.12);
}

.clarity-guide-footer .btn {
  width: 100%;
  justify-content: center;
}

.clarity-guide-trust {
  margin: 0;
  text-align: center;
  font-size: 13px;
  color: var(--ink4, #8a847a);
}

.clarity-empty-includes {
  padding-top: 8px;
  border-top: 1px solid rgba(26, 26, 24, 0.12);
}

.clarity-empty-includes .answer-kicker {
  margin-bottom: 18px;
}

.clarity-includes-row {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(20px, 3vw, 36px);
}

.clarity-includes-row li {
  display: grid;
  gap: 6px;
  padding-right: 12px;
}

.clarity-includes-row li + li {
  border-left: 1px solid rgba(26, 26, 24, 0.1);
  padding-left: clamp(16px, 2vw, 28px);
}

.clarity-includes-row strong {
  font-size: 16px;
  font-weight: 500;
  letter-spacing: -0.02em;
  color: var(--ink, #1a1a18);
}

.clarity-includes-row span {
  font-size: 14px;
  line-height: 1.45;
  color: var(--ink2, #5e5e59);
}

@media (max-width: 720px) {
  .clarity-includes-row {
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .clarity-includes-row li + li {
    border-left: 0;
    padding-left: 0;
    border-top: 1px solid rgba(26, 26, 24, 0.1);
    padding-top: 18px;
  }
}

/* Result: two-column reading + places */
.clarity-stage {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(260px, 0.75fr);
  gap: clamp(28px, 4vw, 48px);
  align-items: start;
}

.clarity-col-main {
  min-width: 0;
}

.clarity-col-side {
  min-width: 0;
  position: sticky;
  top: 28px;
  padding: 22px 0 22px 28px;
  border-left: 1px solid rgba(26, 26, 24, 0.12);
}

.clarity-col-side .answer-kicker {
  margin-bottom: 16px;
}

.clarity-side-list {
  list-style: none;
  margin: 0 0 24px;
  padding: 0;
  display: grid;
  gap: 16px;
}

.clarity-side-list li {
  display: grid;
  gap: 4px;
}

.clarity-side-list strong {
  font-size: 15px;
  font-weight: 500;
  letter-spacing: -0.02em;
  color: var(--ink, #1a1a18);
}

.clarity-side-list span {
  font-size: 14px;
  line-height: 1.45;
  color: var(--ink2, #5e5e59);
}

.answer-page.is-clarity .answer-title {
  font-size: clamp(32px, 4.2vw, 48px);
  letter-spacing: -0.04em;
  line-height: 1.05;
}

.answer-page.is-clarity .answer-lede {
  margin-bottom: 18px;
}

.answer-page.is-clarity .answer-trust {
  margin: 0 0 24px;
}

.answer-page.is-clarity .answer-plate {
  box-shadow: none;
  background: #fffcf8;
}

.answer-page.is-clarity .answer-report {
  border: 0;
  background: transparent;
  padding: 0;
}

.answer-page.is-clarity .answer-report-mast {
  border-bottom: 1px solid rgba(26, 26, 24, 0.12);
  padding-bottom: 18px;
  margin-bottom: 8px;
}

.answer-page.is-clarity .answer-lock {
  border-radius: 0;
}

.answer-page.is-clarity .clarity-col-side .answer-section {
  margin-top: 28px;
  padding-top: 28px;
  border-top: 1px solid rgba(26, 26, 24, 0.12);
}

.answer-page.is-clarity .clarity-col-side .answer-section:first-child {
  margin-top: 0;
  padding-top: 0;
  border-top: 0;
}

.clarity-share-row {
  grid-column: 1 / -1;
  margin-top: 36px;
  padding-top: 28px;
  border-top: 1px solid rgba(26, 26, 24, 0.12);
}

@media (max-width: 980px) {
  .clarity-stage {
    grid-template-columns: 1fr;
    gap: 36px;
  }

  .clarity-col-side {
    position: static;
    padding: 28px 0 0;
    border-left: 0;
    border-top: 1px solid rgba(26, 26, 24, 0.12);
  }
}

@media (max-width: 860px) {
  html:has(.answer-page),
  body:has(.answer-page) {
    height: auto;
    overflow: auto;
  }

  .answer-shell {
    flex-direction: column;
    height: auto;
    min-height: 100vh;
    overflow: visible;
  }

  .answer-rail {
    display: none;
  }

  .answer-pane {
    margin-left: 0;
    height: auto;
    overflow: visible;
  }

  .answer-mobile-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding:
      calc(12px + env(safe-area-inset-top, 0px))
      max(var(--gutter, 20px), env(safe-area-inset-right, 0px))
      12px
      max(var(--gutter, 20px), env(safe-area-inset-left, 0px));
    border-bottom: 1px solid var(--rule, #e4e1d8);
    background: rgba(244, 243, 239, 0.92);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    position: sticky;
    top: 0;
    z-index: 45;
  }

  .answer-mobile-top .answer-mark {
    font-size: 20px;
    flex-shrink: 0;
  }

  .answer-mobile-actions {
    display: flex;
    align-items: center;
    gap: 8px;
    min-width: 0;
  }

  .answer-mobile-leave.answer-rail-exit {
    width: auto;
    min-height: 44px;
    padding: 10px 14px;
    margin: 0;
    font-size: 13px;
    white-space: nowrap;
  }

  .answer-mobile-more-btn {
    appearance: none;
    flex-shrink: 0;
    min-height: 44px;
    min-width: 44px;
    padding: 0 12px;
    border: 1px solid rgba(26, 26, 24, 0.12);
    border-radius: 12px;
    background: rgba(255, 252, 248, 0.7);
    color: var(--ink, #1a1a18);
    font: inherit;
    font-size: 13px;
    font-weight: 500;
    cursor: pointer;
  }

  .answer-mobile-more-btn:hover,
  .answer-mobile-more-btn:focus-visible,
  .answer-mobile-more-btn[aria-expanded="true"] {
    background: rgba(26, 26, 24, 0.06);
  }

  .answer-mobile-more-sheet {
    position: fixed;
    inset: 0;
    z-index: 60;
    display: flex;
    align-items: flex-end;
    justify-content: center;
  }

  .answer-mobile-more-sheet[hidden] {
    display: none !important;
  }

  .answer-mobile-more-backdrop {
    position: absolute;
    inset: 0;
    border: none;
    background: rgba(26, 26, 24, 0.35);
    cursor: pointer;
  }

  .answer-mobile-more-panel {
    position: relative;
    z-index: 1;
    width: 100%;
    max-width: 28rem;
    margin: 0;
    padding: 12px 16px calc(20px + env(safe-area-inset-bottom, 0px));
    border-radius: 20px 20px 0 0;
    background: var(--paper, #f4f3ef);
    border-top: 1px solid var(--rule, #e4e1d8);
    box-shadow: 0 -12px 40px rgba(26, 26, 24, 0.12);
    display: flex;
    flex-direction: column;
    gap: 4px;
  }

  .answer-mobile-more-link {
    appearance: none;
    display: block;
    width: 100%;
    min-height: 48px;
    padding: 14px 16px;
    border: none;
    border-radius: 12px;
    background: transparent;
    color: var(--ink, #1a1a18);
    font: inherit;
    font-size: 16px;
    font-weight: 500;
    text-align: left;
    text-decoration: none;
    cursor: pointer;
  }

  .answer-mobile-more-link:hover,
  .answer-mobile-more-link:focus-visible,
  .answer-mobile-more-link.is-active {
    background: rgba(26, 26, 24, 0.05);
  }

  html.answer-mobile-more-open,
  html.answer-mobile-more-open body {
    overflow: hidden;
  }

  .answer-mobile-tabs {
    display: flex;
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 40;
    gap: 0;
    padding: 0 max(8px, env(safe-area-inset-right)) max(8px, env(safe-area-inset-bottom)) max(8px, env(safe-area-inset-left));
    background: rgba(244, 243, 239, 0.96);
    border-top: 1px solid var(--rule, #e4e1d8);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
  }

  .answer-mobile-tab {
    flex: 1;
    text-align: center;
    padding: 12px 8px;
    margin: 6px 4px;
    min-height: 44px;
    font-size: 13px;
    font-weight: 500;
    color: var(--ink2, #5e5e59);
    text-decoration: none;
    border: 1px solid transparent;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
  }

  .answer-mobile-tab.is-active {
    color: var(--ink, #1a1a18);
    font-weight: 600;
    border-color: rgba(255, 255, 255, 0.42);
    background:
      linear-gradient(180deg, rgba(255, 255, 255, 0.28), rgba(255, 255, 255, 0.08)),
      rgba(26, 26, 24, 0.045);
    backdrop-filter: blur(18px) saturate(1.15);
    -webkit-backdrop-filter: blur(18px) saturate(1.15);
    box-shadow:
      inset 0 1px 0 rgba(255, 255, 255, 0.55),
      inset 0 -1px 0 rgba(26, 26, 24, 0.05),
      inset 0 2px 10px rgba(26, 26, 24, 0.1),
      inset 0 8px 18px rgba(26, 26, 24, 0.045);
  }

  .answer-main {
    padding: 24px 20px calc(120px + env(safe-area-inset-bottom, 0px));
  }

  .answer-page.is-clarity .answer-main {
    padding: 24px 20px calc(120px + env(safe-area-inset-bottom, 0px));
  }

  .answer-hero {
    margin-bottom: 28px;
  }

  .answer-section {
    margin-top: 36px;
  }

  .answer-title,
  .answer-page.is-clarity .answer-title,
  .answer-room .answer-title {
    font-size: clamp(28px, 8vw, 36px);
  }

  .answer-lede {
    font-size: 16px;
    margin-bottom: 20px;
  }

  .clarity-empty,
  .clarity-empty.is-paid,
  .clarity-empty.is-unpaid {
    gap: 24px;
  }

  .clarity-empty-cta {
    flex-direction: column;
    align-items: stretch;
    gap: 12px;
  }

  .clarity-empty-cta .btn {
    width: 100%;
    min-width: 0;
  }

  .answer-plate {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .answer-page.is-clarity .clarity-col-side .answer-section {
    margin-top: 28px;
  }
}

.answer-hero {
  margin-bottom: 48px;
}

.answer-eyebrow,
.answer-sample-banner {
  font-size: 13px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink4, #8a847a);
  margin: 0 0 12px;
  font-weight: 500;
}

.answer-sample-banner {
  display: inline-block;
  padding: 6px 10px;
  border: 1px solid var(--rule, #e4e1d8);
  border-radius: 6px;
  background: var(--paper2, #ebe7df);
  letter-spacing: 0.06em;
  margin-bottom: 20px;
}

.answer-title {
  font-size: clamp(34px, 6vw, 52px);
  line-height: 1.05;
  letter-spacing: -0.04em;
  font-weight: 500;
  margin: 0 0 16px;
  color: var(--ink, #1a1a18);
}

.answer-lede {
  font-size: clamp(17px, 2.2vw, 19px);
  line-height: 1.55;
  color: var(--ink2, #5e5e59);
  margin: 0 0 28px;
  max-width: 36em;
}

.answer-kicker {
  margin: 0 0 14px;
  font-family: "IBM Plex Mono", ui-monospace, monospace;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink4, #8a847a);
}

.answer-room .answer-title {
  max-width: none;
  font-size: clamp(40px, 5.5vw, 64px);
  font-weight: 500;
}

.answer-plate {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) auto;
  align-items: end;
  gap: 28px 40px;
  width: 100%;
  padding: clamp(28px, 4vw, 44px);
  border: 1px solid var(--ink, #1a1a18);
  background: linear-gradient(165deg, rgba(255, 252, 248, 0.97) 0%, rgba(235, 231, 223, 0.88) 100%);
  box-shadow: 0 28px 60px rgba(26, 26, 24, 0.07);
  cursor: pointer;
  box-sizing: border-box;
}

.answer-plate.is-dragover {
  background: var(--card, #fffcf8);
}

.answer-plate-kicker {
  margin: 0 0 10px;
  font-family: "IBM Plex Mono", ui-monospace, monospace;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink4, #8a847a);
}

.answer-plate-title {
  margin: 0 0 10px;
  font-size: clamp(26px, 3vw, 36px);
  font-weight: 500;
  letter-spacing: -0.04em;
  line-height: 1.05;
  color: var(--ink, #1a1a18);
}

.answer-plate-meta {
  grid-column: 1 / -1;
  margin: 4px 0 0;
  max-width: 46em;
  font-size: 15px;
  line-height: 1.45;
  color: var(--ink2, #5e5e59);
}

.answer-plate-actions {
  display: flex;
  flex-direction: column;
  gap: 10px;
  min-width: 180px;
}

.answer-plate-actions .btn,
.answer-plate-actions .btn-secondary {
  width: 100%;
  justify-content: center;
}

.answer-plate-compact {
  align-items: center;
  box-shadow: none;
  min-height: 0;
}

.answer-room > .answer-plate {
  min-height: 220px;
  align-items: center;
}

.answer-trust {
  margin: 16px 0 0;
  font-size: 15px;
  font-weight: 500;
  letter-spacing: -0.01em;
  line-height: 1.45;
  color: var(--ink2, #5e5e59);
}

.answer-page.is-clarity .answer-trust,
.clarity-empty .answer-trust,
.clarity-empty-cta .answer-trust {
  color: var(--ink2, #5e5e59);
  font-size: 15px;
  font-weight: 500;
}

.answer-instrument {
  display: grid;
  grid-template-columns: minmax(200px, 280px) minmax(0, 1fr);
  gap: 28px 56px;
  align-items: end;
  width: 100%;
  padding: clamp(28px, 4vw, 44px);
  border: 1px solid var(--ink, #1a1a18);
  background: linear-gradient(165deg, rgba(255, 252, 248, 0.97) 0%, rgba(235, 231, 223, 0.88) 100%);
  box-shadow: 0 28px 60px rgba(26, 26, 24, 0.07);
  box-sizing: border-box;
}

.answer-instrument .answer-kicker {
  margin-bottom: 18px;
}

.answer-instrument .answer-summary {
  margin: 0;
  max-width: 28em;
  font-size: clamp(18px, 2vw, 22px);
  line-height: 1.45;
  color: var(--ink, #1a1a18);
}

@media (max-width: 720px) {
  .answer-plate,
  .answer-instrument {
    grid-template-columns: 1fr;
  }
  .answer-plate-actions {
    min-width: 0;
  }
}

.answer-file-input {
  position: absolute;
  width: 1px;
  height: 1px;
  opacity: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
}

.answer-drop-title {
  font-size: 18px;
  font-weight: 500;
  margin: 0 0 8px;
  color: var(--ink, #1a1a18);
}

.answer-drop-hint {
  font-size: 14px;
  color: var(--ink4, #8a847a);
  margin: 0 0 20px;
}

.answer-empty-actions {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 14px;
  margin-top: 24px;
}

.answer-text-btn {
  appearance: none;
  background: none;
  border: none;
  padding: 0;
  font: inherit;
  font-size: 15px;
  font-weight: 500;
  color: var(--ink, #1a1a18);
  text-decoration: underline;
  text-underline-offset: 3px;
  cursor: pointer;
}

.answer-text-btn:hover {
  color: #000;
}

.answer-reading-bar {
  height: 3px;
  width: min(280px, 70%);
  background: var(--rule, #e4e1d8);
  border-radius: 999px;
  overflow: hidden;
  margin-top: 8px;
}

.answer-reading-bar span {
  display: block;
  height: 100%;
  width: 40%;
  background: var(--ink, #1a1a18);
  border-radius: inherit;
  animation: answer-read 1.4s ease-in-out infinite;
}

@keyframes answer-read {
  0% { transform: translateX(-100%); }
  100% { transform: translateX(280%); }
}

.answer-risk {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin: 0 0 20px;
  font-weight: 500;
  letter-spacing: -0.04em;
}

.answer-risk-score {
  font-size: clamp(56px, 10vw, 88px);
  line-height: 0.95;
  color: var(--ink, #1a1a18);
}

.answer-risk-of {
  font-size: 0.35em;
  color: var(--ink4, #8a847a);
  letter-spacing: -0.02em;
}

.answer-risk-label {
  font-size: clamp(22px, 3.5vw, 28px);
  color: var(--ink2, #5e5e59);
}

.answer-risk-high .answer-risk-label {
  color: var(--signal, #c2410c);
}

.answer-risk-medium .answer-risk-label {
  color: #9a6700;
}

.answer-risk-low .answer-risk-label {
  color: var(--ok, #3d6b45);
}

.answer-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px 48px;
  width: 100%;
  margin-top: 36px;
  padding-top: 8px;
}

@media (max-width: 640px) {
  .answer-split {
    grid-template-columns: 1fr;
  }
}

.answer-split-title {
  font-size: 15px;
  font-weight: 500;
  letter-spacing: 0.02em;
  margin: 0 0 12px;
  color: var(--ink, #1a1a18);
}

.answer-split-list {
  margin: 0;
  padding-left: 1.15em;
  color: var(--ink2, #5e5e59);
  font-size: 15px;
  line-height: 1.5;
}

.answer-split-list li + li {
  margin-top: 8px;
}

.answer-section {
  margin-top: 64px;
  padding-top: 8px;
  border-top: none;
  width: 100%;
}

.answer-section-title {
  font-size: clamp(22px, 3vw, 28px);
  font-weight: 500;
  letter-spacing: -0.03em;
  margin: 0 0 8px;
}

.answer-section-lede {
  font-size: 16px;
  color: var(--ink2, #5e5e59);
  margin: 0 0 24px;
}

.answer-findings-grid {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.answer-finding {
  padding: 22px 26px;
  border: 1px solid rgba(26, 26, 24, 0.14);
  border-radius: 0;
  background: rgba(255, 252, 248, 0.82);
}

.answer-finding.is-locked {
  opacity: 0.72;
  filter: saturate(0.7);
}

.answer-finding-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 12px;
  align-items: center;
  margin-bottom: 8px;
  font-size: 13px;
  color: var(--ink4, #8a847a);
}

.answer-sev {
  text-transform: uppercase;
  letter-spacing: 0.06em;
  font-weight: 500;
  font-size: 11px;
}

.answer-sev-high { color: var(--signal, #c2410c); }
.answer-sev-medium { color: #9a6700; }
.answer-sev-low { color: var(--ok, #3d6b45); }

.answer-finding-title {
  font-size: 17px;
  font-weight: 500;
  margin: 0 0 6px;
  letter-spacing: -0.02em;
}

.answer-finding-desc {
  margin: 0;
  font-size: 14px;
  line-height: 1.45;
  color: var(--ink2, #5e5e59);
}

.answer-proof-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px 18px;
}

.answer-lock {
  margin-top: 28px;
  width: 100%;
  padding: clamp(28px, 4vw, 36px);
  border: none;
  border-radius: 0;
  background:
    radial-gradient(ellipse 90% 80% at 12% 20%, rgba(194, 65, 12, 0.18), transparent 55%),
    linear-gradient(165deg, #2a2824 0%, #1a1a18 42%, #121110 100%);
  color: #fffcf8;
  box-sizing: border-box;
  box-shadow:
    inset 0 1px 0 rgba(255, 252, 248, 0.06),
    0 24px 48px rgba(26, 26, 24, 0.18);
}

.answer-lock-title {
  margin: 0 0 8px;
  font-size: 18px;
  font-weight: 500;
  letter-spacing: -0.02em;
  color: #fffcf8;
}

.answer-lock-body {
  margin: 0 0 18px;
  color: rgba(255, 252, 248, 0.72);
  font-size: 15px;
  line-height: 1.5;
}

.answer-lock-body em {
  color: #fffcf8;
  font-style: normal;
  font-weight: 500;
}

.answer-lock-includes {
  margin: 0 0 20px;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 8px;
}

.answer-lock-includes li {
  margin: 0;
  padding: 0 0 0 1.15em;
  position: relative;
  font-size: 14px;
  line-height: 1.45;
  color: rgba(255, 252, 248, 0.82);
}

.answer-lock-includes li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--brand, #e55f2f);
}

.answer-lock .btn {
  background: transparent;
  color: var(--brand, #e55f2f);
  border: 1.5px solid var(--brand, #e55f2f);
}

.answer-includes-list {
  margin: 8px 0 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 18px;
  max-width: 36em;
}

.answer-includes-list li {
  display: grid;
  gap: 4px;
  margin: 0;
  padding: 0 0 0 1.1em;
  position: relative;
}

.answer-includes-list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--brand, #e55f2f);
}

.answer-includes-list strong {
  font-size: 16px;
  font-weight: 500;
  letter-spacing: -0.02em;
  color: var(--ink, #1a1a18);
}

.answer-includes-list span {
  font-size: 15px;
  line-height: 1.45;
  color: var(--ink2, #5e5e59);
}

.answer-report-showcase-frame {
  margin: 18px 0 20px;
  border: 1px solid var(--ink, #1a1a18);
  background: #fffcf8;
  overflow: hidden;
  max-width: 420px;
}

.answer-report-showcase-frame img {
  display: block;
  width: 100%;
  height: auto;
}

.answer-specialist-included .btn-secondary {
  margin-top: 4px;
}

.answer-lock .btn:hover,
.answer-lock .btn:focus-visible {
  background: rgba(229, 95, 47, 0.12);
  color: var(--brand, #e55f2f);
}

.answer-muted {
  color: var(--ink4, #8a847a);
  font-size: 15px;
}

/* Demo wrapper — paper, not dark dashboard chrome */
.demo-dashboard-wrapper {
  background: var(--paper, #f4f3ef);
  min-height: 100vh;
}

.demo-dashboard-banner {
  background: var(--ink, #1a1a18);
  color: #fff;
  padding: 12px var(--gutter, 24px);
}

.demo-dashboard-banner-content {
  max-width: 960px;
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.demo-dashboard-banner-text {
  font-size: 14px;
  font-weight: 500;
  font-family: "Instrument Sans", system-ui, sans-serif;
  line-height: 1.4;
}

.demo-dashboard-cta-btn {
  display: inline-flex;
  align-items: center;
  min-height: 40px;
  padding: 0 16px;
  border-radius: 999px;
  background: #fff;
  color: var(--ink, #1a1a18) !important;
  text-decoration: none;
  font-size: 14px;
  font-weight: 500;
  font-family: "Instrument Sans", system-ui, sans-serif;
}

.demo-dashboard-cta-btn:hover {
  background: var(--paper, #f4f3ef);
}

/* Case Log — calm Track room */
.case-log {
  max-width: none;
  width: 100%;
}

.case-log-top {
  margin-bottom: 28px;
}

.case-log-top-row {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 20px 32px;
}

.case-log-top-copy {
  flex: 1 1 auto;
  min-width: 0;
}

.case-log .answer-title {
  max-width: none;
  margin-bottom: 8px;
}

.case-log-top .answer-lede {
  margin: 0;
  max-width: 34em;
  font-size: 16px;
}

.case-log-utils {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px 18px;
  margin-top: 14px;
}

.case-log-utils a,
.case-log-util-btn {
  appearance: none;
  border: 0;
  background: none;
  padding: 0;
  margin: 0;
  font-family: inherit;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.01em;
  color: var(--ink3, #7a756c);
  text-decoration: none;
  cursor: pointer;
}

.case-log-utils a:hover,
.case-log-utils a:focus-visible,
.case-log-util-btn:hover,
.case-log-util-btn:focus-visible {
  color: var(--ink, #1a1a18);
}

.case-log-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  flex-shrink: 0;
  align-items: flex-end;
  padding-bottom: 2px;
}

.open-case-banner {
  margin: 16px 0 8px;
  padding: 18px 18px 16px;
  border-radius: 16px;
  border: 1px solid rgba(229, 95, 47, 0.28);
  background:
    linear-gradient(165deg, rgba(255, 252, 248, 0.98), rgba(246, 236, 228, 0.9)),
    radial-gradient(ellipse 70% 80% at 0% 0%, rgba(229, 95, 47, 0.1), transparent 55%);
}
.open-case-banner-kicker {
  margin: 0 0 4px;
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--brand, #e55f2f);
  font-weight: 600;
}
.open-case-banner-title {
  margin: 0 0 8px;
  font-size: 20px;
  font-weight: 500;
  letter-spacing: -0.03em;
  color: var(--ink, #1a1a18);
}
.open-case-banner-body {
  margin: 0 0 8px;
  font-size: 15px;
  line-height: 1.5;
  color: var(--ink2, #5e5e59);
}
.open-case-banner-meta {
  margin: 0 0 10px;
  font-size: 13px;
  color: var(--ink4, #8a847a);
}
.open-case-banner-cta {
  margin: 0;
}
.case-log-next-export {
  margin: 12px 0 0;
}
.case-log-next-export-label {
  margin: 0 0 8px;
  font-size: 11px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--ink4, #8a847a);
  font-weight: 600;
}
.case-log-next-export-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.case-log-next-export-chip {
  display: inline-flex;
  align-items: center;
  padding: 8px 12px;
  border-radius: 999px;
  border: 1px solid var(--rule, #e4e1d8);
  background: rgba(255, 255, 255, 0.7);
  color: var(--ink, #1a1a18);
  font-size: 13px;
  font-weight: 500;
  text-decoration: none;
}
.case-log-next-export-chip:hover,
.case-log-next-export-chip:focus-visible {
  border-color: rgba(229, 95, 47, 0.45);
  color: var(--brand, #e55f2f);
}
.case-log-next-export-upload {
  border-color: rgba(229, 95, 47, 0.35);
  background: rgba(229, 95, 47, 0.08);
  color: var(--brand, #e55f2f);
}
.post-pay-auth-notice {
  margin: 12px 0 0;
  padding: 12px 14px;
  border-radius: 12px;
  background: rgba(26, 26, 24, 0.04);
  border: 1px solid var(--rule, #e4e1d8);
  font-size: 14px;
  line-height: 1.45;
  color: var(--ink2, #5e5e59);
}
.case-log-status {
  margin: 14px 0 0;
  max-width: 42rem;
  font-size: 15px;
  line-height: 1.45;
  color: var(--ink, #1a1a18);
}

/* Soft dashboard board — one surface for composer + many notes */
.case-log-board {
  max-width: none;
  width: 100%;
  margin: 0;
  background:
    linear-gradient(180deg, rgba(255, 253, 250, 0.96) 0%, rgba(248, 246, 241, 0.9) 100%);
  border: 1px solid rgba(26, 26, 24, 0.08);
  border-radius: 20px;
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.72) inset,
    0 18px 48px rgba(26, 26, 24, 0.045);
  overflow: hidden;
}

@media (max-width: 860px) {
  .case-log-board {
    border-radius: 16px;
    margin: 0 0 8px;
  }

  .case-log .case-log-top-row {
    flex-direction: column;
    align-items: stretch;
    gap: 12px;
  }

  .case-log .case-log-actions {
    position: sticky;
    bottom: calc(12px + env(safe-area-inset-bottom, 0px));
    z-index: 4;
  }

  .case-log .case-log-actions .btn {
    width: 100%;
    min-height: 48px;
  }

  .case-log-utils {
    gap: 8px 12px;
  }

  .case-log-utils a,
  .case-log-util-btn {
    min-height: 44px;
    display: inline-flex;
    align-items: center;
    padding: 10px 4px;
    font-size: 14px;
  }

  .answer-page .case-file-quick-log-btn {
    min-height: 44px;
    padding: 12px 18px;
  }

  .answer-page .case-file-delete-btn,
  .answer-page .case-file-strike-btn {
    min-height: 44px;
    padding: 10px 14px;
    border-radius: 10px;
  }

  .case-log-invite {
    margin: 28px 0 calc(24px + env(safe-area-inset-bottom, 0px));
  }

  .case-log-composer {
    padding-bottom: calc(12px + env(safe-area-inset-bottom, 0px));
  }

  .case-file-form-open {
    padding-bottom: calc(16px + env(safe-area-inset-bottom, 0px));
  }

  .open-case-banner,
  .case-log-first-celebrate,
  .case-log-day-nudge {
    margin-left: 0;
    margin-right: 0;
  }
}

.next-steps-in-log {
  display: inline-block;
  margin-top: 6px;
  font-size: 12px;
  letter-spacing: 0.02em;
  color: var(--brand, #e55f2f);
}

.next-steps-step-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 14px;
  align-items: center;
  margin-top: 8px;
}

.next-steps-soft-comfort {
  margin: 20px 0 8px;
  padding: 14px 16px;
  border-left: 3px solid var(--brand, #e55f2f);
  background: rgba(229, 95, 47, 0.06);
  font-size: 0.95rem;
  line-height: 1.45;
}

@media (max-width: 720px) {
  .case-log-board {
    border-radius: 16px;
  }
}

.case-log-first-celebrate {
  margin: 16px 0 8px;
  padding: 18px 20px;
  border: 1px solid rgba(26, 26, 24, 0.12);
  background: rgba(229, 95, 47, 0.06);
}

.case-log-first-celebrate-kicker {
  margin: 0 0 4px;
  font-size: 12px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--ink4, #8a847a);
}

.case-log-first-celebrate-title {
  margin: 0 0 8px;
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--ink, #1a1a18);
}

.case-log-first-celebrate-body {
  margin: 0 0 14px;
  font-size: 0.95rem;
  line-height: 1.5;
  color: var(--ink2, #3a3832);
}

.case-log-first-celebrate-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px 18px;
}

.case-log-day-nudge {
  margin: 12px 0;
  padding: 14px 16px;
  border-left: 3px solid var(--brand, #e55f2f);
  background: rgba(26, 26, 24, 0.03);
  font-size: 0.95rem;
  line-height: 1.45;
}

.case-log-day-nudge[hidden] {
  display: none;
}

/* One suite foot — Comfort / Clarity invite, never a CTA pile */
.case-log-invite {
  margin: clamp(36px, 5vh, 56px) 0 0;
  width: 100%;
}

.case-log-invite [hidden],
.case-log-invite-actions [hidden] {
  display: none !important;
}

.case-log-invite-inner {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) auto;
  align-items: end;
  gap: 20px 40px;
  width: 100%;
  padding: clamp(28px, 3.5vw, 40px) clamp(24px, 3vw, 36px);
  border-radius: 20px;
  border: 1px solid rgba(26, 26, 24, 0.08);
  background:
    linear-gradient(165deg, rgba(255, 252, 248, 0.98) 0%, rgba(247, 242, 236, 0.92) 100%),
    radial-gradient(ellipse 55% 80% at 0% 100%, rgba(229, 95, 47, 0.07), transparent 60%);
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.65) inset,
    0 14px 40px rgba(26, 26, 24, 0.035);
}

.case-log-invite-kicker {
  margin: 0 0 8px;
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  font-weight: 600;
  color: var(--brand, #e55f2f);
}

.case-log-invite-title {
  margin: 0 0 10px;
  font-size: clamp(26px, 3.2vw, 34px);
  font-weight: 500;
  letter-spacing: -0.04em;
  line-height: 1.12;
  color: var(--ink, #1a1a18);
}

.case-log-invite-body {
  margin: 0;
  max-width: 40em;
  font-size: 15px;
  line-height: 1.5;
  color: var(--ink2, #5e5e59);
}

.case-log-invite-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-end;
  gap: 10px 14px;
}

.case-log-invite[data-mode="needsAnswer"] .case-log-invite-actions {
  flex-direction: column;
  align-items: flex-end;
  min-width: min(280px, 100%);
}

.case-log-invite[data-mode="needsAnswer"] .case-log-invite-actions .btn {
  width: 100%;
  text-align: center;
  justify-content: center;
}

.case-log-invite .answer-text-btn {
  font-size: 13px;
  color: var(--ink3, #7a756c);
  text-align: right;
}

.case-log-invite .answer-text-btn:hover,
.case-log-invite .answer-text-btn:focus-visible {
  color: var(--ink, #1a1a18);
}

@media (max-width: 820px) {
  .case-log-invite-inner {
    grid-template-columns: 1fr;
    align-items: start;
  }

  .case-log-invite-actions {
    justify-content: flex-start;
  }
}

.case-log-composer {
  margin: 0;
  max-width: none;
  padding: clamp(22px, 3.2vw, 32px) clamp(20px, 3vw, 28px) 20px;
  border-bottom: 1px solid rgba(26, 26, 24, 0.06);
  background: transparent;
}

.case-log-stage.is-dialed .case-log-composer {
  padding-bottom: 18px;
}

.case-log-journal-prompt {
  margin: 0 0 8px;
  font-size: clamp(26px, 4vw, 36px);
  font-weight: 500;
  letter-spacing: -0.04em;
  line-height: 1.1;
  color: var(--ink, #1a1a18);
}

.case-log-journal-hint {
  margin: 0 0 18px;
  max-width: 34em;
  font-size: 15px;
  line-height: 1.45;
  color: var(--ink2, #5e5e59);
}

.case-log-stage.is-first .case-log-feed,
.case-log.is-first .case-log-feed {
  display: none;
}

.case-log-stage.is-first .case-file-form-cancel,
.case-log.is-first .case-file-form-cancel {
  display: none;
}

.case-log-stage.is-first .case-file-form-wrap,
.case-log.is-first .case-file-form-wrap {
  display: block;
}

.case-log-stage.is-dialed .case-log-journal-hint {
  display: none;
}

.case-log-stage.is-dialed .case-log-composer:not(:has(.case-file-form-open)) .case-log-journal-prompt {
  display: none;
}

.case-log-stage.is-dialed .case-file-form-wrap:not(.case-file-form-open) {
  display: none;
}

/* Dialed + form closed: collapse empty composer so the board is one note list */
.case-log-stage.is-dialed .case-log-composer:not(:has(.case-file-form-open)) {
  display: none;
}

.case-log-stage.is-dialed .case-log-composer:has(.case-file-form-open) {
  display: block;
  border-bottom: 1px solid rgba(26, 26, 24, 0.06);
}

.case-log-feed {
  max-width: none;
  padding: 0 clamp(20px, 3vw, 28px) clamp(18px, 2.5vw, 24px);
}

.case-log-feed-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin: 0;
  padding: 14px 0 12px;
  border-bottom: 1px solid rgba(26, 26, 24, 0.06);
}

.answer-page .case-file-form-row-split {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px 18px;
}

.answer-page .case-file-form-title-input {
  font-size: 20px;
  font-weight: 500;
  letter-spacing: -0.025em;
  min-height: 52px;
  padding: 12px 14px;
}

.answer-page .case-file-form-more {
  border-top: 1px solid var(--rule, #e4e1d8);
  padding-top: 12px;
}

.answer-page .case-file-form-more summary {
  cursor: pointer;
  font-size: 14px;
  font-weight: 500;
  color: var(--ink2, #5e5e59);
  list-style: none;
}

.answer-page .case-file-form-more summary::-webkit-details-marker {
  display: none;
}

.answer-page .case-file-form-more[open] summary {
  margin-bottom: 14px;
  color: var(--ink, #1a1a18);
}

.answer-page .case-file-form-more .case-file-form-row + .case-file-form-row,
.answer-page .case-file-form-more .case-file-form-row-split {
  margin-top: 14px;
}

.answer-page .case-file-timeline {
  display: flex;
  flex-direction: column;
  gap: 0;
  margin: 0;
  padding: 0;
  border-left: 2px solid rgba(26, 26, 24, 0.08);
}

.answer-page .case-note {
  position: relative;
  margin: 0;
  padding: 16px 0 16px 18px;
  border-bottom: 1px solid rgba(26, 26, 24, 0.06);
  background: transparent;
  border-radius: 0;
  box-shadow: none;
}

.answer-page .case-note::before {
  content: "";
  position: absolute;
  left: -5px;
  top: 22px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(26, 26, 24, 0.22);
  box-shadow: 0 0 0 3px rgba(248, 246, 241, 0.95);
}

.answer-page .case-note:last-child {
  border-bottom: none;
}

.answer-page .case-note.is-struck {
  opacity: 0.58;
}

.answer-page .case-note-head {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 6px 14px;
  margin-bottom: 6px;
}

.answer-page .case-note-when {
  margin: 0;
  font-size: 13px;
  color: var(--ink, #1a1a18);
  font-weight: 500;
}

.answer-page .case-note-tags,
.answer-page .case-note-logged {
  margin: 0;
  font-size: 12px;
  letter-spacing: 0.02em;
  color: var(--ink4, #8a847a);
}

.answer-page .case-note-title {
  margin: 0 0 6px;
  font-size: clamp(17px, 2.2vw, 20px);
  font-weight: 500;
  letter-spacing: -0.03em;
  line-height: 1.3;
  color: var(--ink, #1a1a18);
}

.answer-page .case-note.is-struck .case-note-title {
  text-decoration: line-through;
}

.answer-page .case-note-body {
  margin: 0 0 6px;
  font-size: 15px;
  line-height: 1.5;
  color: var(--ink2, #5e5e59);
}

.answer-page .case-note-proof,
.answer-page .case-note-flag {
  margin: 0 0 4px;
  font-size: 13px;
  color: var(--ink4, #8a847a);
}

.answer-page .case-note-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px 14px;
  margin-top: 10px;
}

.answer-page .case-file-quick-log-btn {
  width: auto;
  padding: 8px 14px;
  border-radius: 999px;
  border: 1px solid var(--rule, #e4e1d8);
  background: transparent;
  color: var(--ink, #1a1a18);
  font-family: "Instrument Sans", system-ui, sans-serif;
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0;
  text-transform: none;
  backdrop-filter: none;
}

.answer-page .case-file-quick-log-btn:hover {
  background: var(--ink, #1a1a18);
  border-color: var(--ink, #1a1a18);
  color: var(--paper, #f4f3ef);
}

.answer-page .case-file-sync-notice {
  margin: 12px 0 0;
  font-size: 14px;
  line-height: 1.45;
  color: var(--ink2, #5e5e59);
  text-align: left;
}

.answer-page .case-file-add-incident-gate-prompt {
  margin: -12px 0 24px;
  font-size: 15px;
  line-height: 1.45;
  color: var(--ink, #1a1a18);
}

.answer-page .case-file-add-incident-gate-prompt a {
  color: var(--ink, #1a1a18);
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.answer-page .case-file-form-wrap.case-file-form-open {
  margin-bottom: 0;
}

.case-log-stage.is-first .case-file-form-wrap {
  margin-bottom: 0;
}

.answer-page .case-file-form {
  display: grid;
  background: rgba(255, 255, 255, 0.55);
  border: 1px solid rgba(26, 26, 24, 0.08);
  border-radius: 14px;
  box-shadow: none;
  backdrop-filter: none;
  padding: clamp(16px, 2.4vw, 22px);
  gap: 14px;
}

.case-log-stage.is-first .case-file-form {
  box-shadow: none;
  background: rgba(255, 255, 255, 0.62);
}

.answer-page .case-file-form-label,
.answer-page .case-file-filter-label {
  font-family: "IBM Plex Mono", ui-monospace, monospace;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink4, #8a847a);
}

.answer-page .case-file-form-input {
  width: 100%;
  background: #fff;
  border: 1px solid var(--rule, #e4e1d8);
  border-radius: 0;
  color: var(--ink, #1a1a18);
  font-family: "Instrument Sans", system-ui, sans-serif;
}

.answer-page .case-file-status-select {
  width: auto;
  min-width: 148px;
  background: #fff;
  border: 1px solid var(--rule, #e4e1d8);
  border-radius: 0;
  color: var(--ink, #1a1a18);
  font-family: "Instrument Sans", system-ui, sans-serif;
}

.answer-page .case-file-form-input::placeholder {
  color: var(--ink4, #8a847a);
}

.answer-page .case-file-form-input:focus,
.answer-page .case-file-status-select:focus {
  border-color: var(--ink, #1a1a18);
  background: #fff;
  outline: none;
}

.answer-page .case-file-filter-bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin: 0;
  padding: 0;
  border: none;
}

.answer-page .case-file-filter-select,
.answer-page .case-file-filter-date {
  width: auto;
  min-width: 0;
  max-width: 160px;
}

.answer-page .case-file-entry-count {
  margin: 0;
  font-size: 13px;
  color: var(--ink2, #5e5e59);
}

.answer-page .case-file-timeline-empty,
.case-log-empty-note {
  margin: 0;
  padding: 22px 0 8px 18px;
  text-align: left;
  color: var(--ink2, #5e5e59);
  font-size: 15px;
  line-height: 1.5;
  background: none;
  border: none;
  border-radius: 0;
}

/* Legacy card class — keep congruent with soft board rows */
.answer-page .case-file-timeline-card {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 8px;
  background: transparent;
  border: none;
  border-bottom: 1px solid rgba(26, 26, 24, 0.06);
  border-radius: 0;
  box-shadow: none;
  backdrop-filter: none;
  padding: 16px 0 16px 18px;
}

.answer-page .case-file-card-left {
  flex-direction: row;
  align-items: center;
  justify-content: flex-start;
  gap: 8px;
}

.answer-page .case-file-card-actions {
  align-self: stretch;
  justify-content: flex-start;
}

.answer-page .case-file-type-badge {
  padding: 0;
  border: none;
  border-radius: 0;
  background: none;
  color: var(--ink4, #8a847a);
  font-family: "IBM Plex Mono", ui-monospace, monospace;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.12em;
}

.answer-page .case-file-type-badge.type-network,
.answer-page .case-file-type-badge.type-account,
.answer-page .case-file-type-badge.type-device,
.answer-page .case-file-type-badge.type-physical {
  background: none;
  border: none;
  color: var(--ink4, #8a847a);
}

.answer-page .case-file-source-pill {
  padding: 0;
  border: none;
  border-radius: 0;
  background: none;
  color: var(--ink2, #5e5e59);
  font-family: "Instrument Sans", system-ui, sans-serif;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0;
  text-transform: none;
}

.answer-page .case-file-card-meta {
  color: var(--ink4, #8a847a);
  font-size: 13px;
}

.answer-page .case-file-card-title {
  color: var(--ink, #1a1a18);
  font-family: "Instrument Sans", system-ui, sans-serif;
  font-size: 20px;
  font-weight: 500;
  letter-spacing: -0.03em;
}

.answer-page .case-file-card-desc,
.answer-page .case-file-card-desc-intro,
.answer-page .case-file-card-findings,
.answer-page .case-file-card-findings-label {
  color: var(--ink2, #5e5e59);
}

.answer-page .case-file-card-evidence {
  color: var(--ink, #1a1a18);
  font-size: 14px;
}

.answer-page .case-file-status-label {
  display: none;
}

.answer-page .case-file-delete-btn,
.answer-page .case-file-strike-btn {
  width: auto;
  min-height: 32px;
  padding: 6px 10px;
  background: transparent;
  border: 1px solid var(--rule, #e4e1d8);
  border-radius: 0;
  color: var(--ink2, #5e5e59);
  font-size: 13px;
  cursor: pointer;
}

.answer-page .case-file-delete-btn:hover,
.answer-page .case-file-strike-btn:hover {
  background: var(--ink, #1a1a18);
  border-color: var(--ink, #1a1a18);
  color: var(--paper, #f4f3ef);
}

.answer-page .case-file-timeline-card.is-struck {
  opacity: 0.72;
}

.answer-page .case-file-timeline-card.is-struck .case-file-card-title {
  text-decoration: line-through;
}

.answer-page .case-file-card-struck {
  margin: 0 0 6px;
  color: var(--ink2, #5e5e59);
  font-size: 13px;
  font-family: "IBM Plex Mono", ui-monospace, monospace;
}

.answer-page .case-file-clock-label {
  display: inline-block;
  min-width: 4.5em;
  color: var(--ink4, #8a847a);
  font-family: "IBM Plex Mono", ui-monospace, monospace;
  font-size: 11px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.answer-page .case-file-card-logged {
  margin-top: 2px;
}

.answer-page .case-file-form-hint,
.answer-page .case-file-form-approx {
  display: block;
  margin-top: 8px;
  color: var(--ink4, #8a847a);
  font-size: 13px;
  line-height: 1.4;
}

.answer-page .case-log-first-prompt {
  margin: 8px 0 12px;
  font-family: "Instrument Sans", system-ui, sans-serif;
  font-size: clamp(22px, 3vw, 28px);
  font-weight: 500;
  letter-spacing: -0.03em;
  color: var(--ink, #1a1a18);
}

.answer-page .case-file-timeline-empty-wrap {
  padding: 8px 0 28px;
}

.answer-page .case-file-card-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
}

.case-log-export-title {
  margin: 18px 0 8px;
  font-size: clamp(32px, 4vw, 44px);
  font-weight: 500;
  letter-spacing: -0.04em;
}

.case-log-back {
  appearance: none;
  background: none;
  border: none;
  padding: 0;
  font: inherit;
  font-size: 14px;
  color: var(--ink2, #5e5e59);
  cursor: pointer;
}

.case-log-back:hover {
  color: var(--ink, #1a1a18);
}

.case-log-export-list {
  display: flex;
  flex-direction: column;
  border-top: 1px solid var(--rule, #e4e1d8);
  margin-bottom: 28px;
}

.case-log-export-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 18px 0;
  border-bottom: 1px solid var(--rule, #e4e1d8);
  background: none;
}

.case-log-export-name {
  margin: 0 0 4px;
  font-size: 17px;
  font-weight: 500;
  letter-spacing: -0.02em;
}

.case-log-export-note {
  margin: 0;
  font-size: 14px;
  line-height: 1.45;
  color: var(--ink2, #5e5e59);
}

.case-log-export-past {
  margin: 0 0 8px;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink4, #8a847a);
}

.answer-page .case-file-log-locked {
  opacity: 0.55;
}

.answer-flow-score {
  margin: 8px 0 0;
  font-family: "IBM Plex Mono", ui-monospace, monospace;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink3, #5c574e);
}

.answer-report {
  border: 1px solid var(--ink, #1a1a18);
  background: rgba(255, 252, 248, 0.78);
  padding: clamp(22px, 3vw, 36px);
}

.answer-report-mast {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 24px;
  padding-bottom: 18px;
  border-bottom: 1px solid var(--ink, #1a1a18);
}

.answer-report-mast .answer-title {
  margin: 0;
  font-size: clamp(32px, 4vw, 44px);
  font-weight: 500;
  letter-spacing: -0.04em;
  line-height: 1;
}

.answer-report-export {
  flex: none;
}

.answer-report-body {
  margin: 22px 0 8px;
  max-width: 42em;
  font-size: 17px;
  line-height: 1.5;
  color: var(--ink, #1a1a18);
}

.answer-folds {
  margin-top: 8px;
}

.answer-fold {
  border-bottom: 1px solid rgba(26, 26, 24, 0.18);
}

.answer-fold summary {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 16px;
  padding: 16px 0;
  cursor: pointer;
  list-style: none;
  font-size: 16px;
  font-weight: 500;
  letter-spacing: -0.02em;
}

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

.answer-fold summary::after {
  content: "+";
  font-family: "IBM Plex Mono", ui-monospace, monospace;
  font-size: 16px;
  font-weight: 400;
}

.answer-fold[open] summary::after {
  content: "–";
}

.answer-fold-count {
  margin-left: auto;
  font-family: "IBM Plex Mono", ui-monospace, monospace;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.06em;
  color: var(--ink3, #5c574e);
}

.answer-fold-group {
  padding: 0 0 14px 0;
}

.answer-fold-name {
  display: flex;
  justify-content: space-between;
  margin: 0 0 6px;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--ink3, #5c574e);
}

.answer-fold-name span {
  font-family: "IBM Plex Mono", ui-monospace, monospace;
  letter-spacing: 0.06em;
}

.answer-fold-list {
  margin: 0;
  padding: 0;
  list-style: none;
}

.answer-fold-list li {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr);
  gap: 12px 24px;
  padding: 8px 0;
  border-top: 1px solid rgba(26, 26, 24, 0.08);
  font-size: 15px;
  line-height: 1.4;
}

.answer-fold-meta {
  color: var(--ink3, #5c574e);
  text-align: right;
}

.answer-fold-more {
  display: block;
  color: var(--ink3, #5c574e);
}

@media (max-width: 720px) {
  .answer-report-mast {
    flex-direction: column;
  }
  .answer-fold-list li {
    grid-template-columns: 1fr;
  }
  .answer-fold-meta {
    text-align: left;
  }
}

.answer-today {
  margin-top: 28px;
  padding-top: 22px;
  border-top: 1px solid rgba(26, 26, 24, 0.12);
}

.answer-habit-cta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px 20px;
  margin-top: 16px;
}

.answer-next-steps-band {
  margin-top: 36px;
}

.answer-engine-stamp {
  margin: 10px 0 0;
  font-size: 12px;
  letter-spacing: 0.02em;
  color: var(--ink4, #8a847a);
}

.answer-comfort {
  margin-top: 48px;
  width: 100%;
}

.answer-places-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px 48px;
  margin-top: 8px;
}

@media (max-width: 640px) {
  .answer-places-grid {
    grid-template-columns: 1fr;
  }
}

/* Answers / hero — street-level geofence map (same maturity both places) */
.answer-geo-map-wrap,
.hero-geo-map-wrap {
  margin: 16px 0 20px;
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid rgba(26, 26, 24, 0.16);
  background: #e8e6e0;
  box-shadow: inset 0 0 0 1px rgba(255, 252, 248, 0.5);
}
.hero-geo-map-wrap {
  margin: 12px 0 6px;
  border-radius: 12px;
  min-height: 240px;
}
.answer-geo-map-wrap {
  min-height: 320px;
}
.answer-geographic-map,
.hero-geographic-map {
  width: 100%;
  background: #e8e6e0;
}
.answer-geographic-map {
  height: 320px;
  min-height: 320px;
}
.hero-geographic-map {
  height: 240px;
  min-height: 240px;
}
.answer-geographic-map .leaflet-container,
.hero-geographic-map .leaflet-container {
  width: 100% !important;
  background: #e8e6e0;
  font: inherit;
}
.answer-geographic-map .leaflet-container {
  height: 320px !important;
}
.hero-geographic-map .leaflet-container {
  height: 240px !important;
}
.forens-map-dark .leaflet-container {
  background: #0b1220;
}
.forens-map-light .leaflet-container {
  background: #e8e6e0;
}
.forens-map-label {
  background: rgba(255, 252, 248, 0.94) !important;
  border: 1px solid rgba(26, 26, 24, 0.18) !important;
  border-radius: 6px !important;
  box-shadow: 0 4px 12px rgba(26, 26, 24, 0.12);
  color: #1a1a18 !important;
  font-family: "Instrument Sans", system-ui, sans-serif;
  font-size: 12px !important;
  font-weight: 600;
  letter-spacing: -0.01em;
  padding: 3px 8px !important;
  white-space: nowrap;
}
.forens-map-label.is-flag {
  color: #c2410c !important;
  border-color: rgba(194, 65, 12, 0.35) !important;
}
.forens-map-label.is-safe {
  color: #3d6b45 !important;
}
.forens-map-label::before {
  border-right-color: rgba(255, 252, 248, 0.94) !important;
}
.forens-map-geofence {
  pointer-events: none;
}
/* Light street map chrome (hero + Answers) */
.answer-geo-map-wrap .leaflet-control-attribution,
.hero-geo-map-wrap .leaflet-control-attribution,
.forens-map-light .leaflet-control-attribution {
  background: rgba(255, 252, 248, 0.8) !important;
  color: rgba(26, 26, 24, 0.55);
  font-size: 10px;
}
.answer-geo-map-wrap .leaflet-control-attribution a,
.hero-geo-map-wrap .leaflet-control-attribution a,
.forens-map-light .leaflet-control-attribution a {
  color: rgba(26, 26, 24, 0.7);
}
.forens-map-light .forens-map-popup-wrapper .leaflet-popup-content-wrapper,
.answer-geo-map-wrap .forens-map-popup-wrapper .leaflet-popup-content-wrapper,
.hero-geo-map-wrap .forens-map-popup-wrapper .leaflet-popup-content-wrapper {
  background: #fffcf8;
  color: #1a1a18;
  border: 1px solid rgba(26, 26, 24, 0.12);
  border-radius: 10px;
  box-shadow: 0 8px 24px rgba(26, 26, 24, 0.12);
}
.forens-map-light .forens-map-popup-wrapper .leaflet-popup-content,
.answer-geo-map-wrap .forens-map-popup-wrapper .leaflet-popup-content,
.hero-geo-map-wrap .forens-map-popup-wrapper .leaflet-popup-content {
  color: #1a1a18;
  margin: 10px 14px;
}
.forens-map-light .forens-map-popup-wrapper .leaflet-popup-tip,
.answer-geo-map-wrap .forens-map-popup-wrapper .leaflet-popup-tip,
.hero-geo-map-wrap .forens-map-popup-wrapper .leaflet-popup-tip {
  background: #fffcf8;
}
.forens-map-light .forens-map-popup-title,
.answer-geo-map-wrap .forens-map-popup-title {
  font-weight: 600;
  font-size: 14px;
  color: #1a1a18;
  margin-bottom: 4px;
}
.forens-map-light .forens-map-popup-desc,
.answer-geo-map-wrap .forens-map-popup-desc {
  font-size: 12px;
  color: rgba(26, 26, 24, 0.72);
  line-height: 1.35;
  margin-bottom: 6px;
}
.forens-map-light .forens-map-popup-meta,
.answer-geo-map-wrap .forens-map-popup-meta {
  font-size: 12px;
  color: rgba(26, 26, 24, 0.55);
  font-variant-numeric: tabular-nums;
}
.forens-map-dark .forens-map-popup-wrapper .leaflet-popup-content-wrapper {
  background: #1a1a1a;
  color: #fff;
  border: none;
  border-radius: 10px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.35);
}
.forens-map-dark .forens-map-popup-title { color: #fff; font-weight: 600; font-size: 14px; margin-bottom: 4px; }
.forens-map-dark .forens-map-popup-desc { font-size: 12px; color: rgba(255, 255, 255, 0.8); line-height: 1.35; margin-bottom: 6px; }
.forens-map-dark .forens-map-popup-meta { font-size: 12px; color: rgba(255, 255, 255, 0.65); font-variant-numeric: tabular-nums; }
@media (max-width: 720px) {
  .answer-geo-map-wrap { min-height: 260px; }
  .answer-geographic-map { height: 260px; min-height: 260px; }
  .answer-geographic-map .leaflet-container { height: 260px !important; }
  .hero-geo-map-wrap { min-height: 200px; }
  .hero-geographic-map { height: 200px; min-height: 200px; }
  .hero-geographic-map .leaflet-container { height: 200px !important; }
  .forens-map-label {
    font-size: 11px !important;
  }
}

.answer-timeline {
  list-style: none;
  margin: 0;
  padding: 0;
  border-left: 1px solid rgba(26, 26, 24, 0.14);
}

.answer-timeline-row {
  display: grid;
  grid-template-columns: 7.5rem 1fr;
  gap: 16px;
  padding: 14px 0 14px 20px;
  position: relative;
}

.answer-timeline-row::before {
  content: '';
  position: absolute;
  left: -4px;
  top: 1.35rem;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--ink, #1a1a18);
}

.answer-timeline-row.is-locked {
  opacity: 0.55;
}

.answer-timeline-when {
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 12px;
  color: var(--ink4, #8a847a);
  padding-top: 2px;
}

.answer-timeline-title {
  margin: 0;
  font-size: 15px;
  font-weight: 500;
  color: var(--ink, #1a1a18);
}

.answer-timeline-meta {
  margin: 4px 0 0;
  font-size: 13px;
  color: var(--ink4, #8a847a);
}

@media (max-width: 560px) {
  .answer-timeline-row {
    grid-template-columns: 1fr;
    gap: 4px;
  }
}

.answer-confirm {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 10px;
  margin-top: 16px;
  padding-top: 14px;
  border-top: 1px solid rgba(26, 26, 24, 0.08);
}

.answer-confirm-label {
  font-size: 13px;
  color: var(--ink4, #8a847a);
  margin-right: 4px;
}

.answer-confirm-btn {
  appearance: none;
  border: 1px solid rgba(26, 26, 24, 0.22);
  background: transparent;
  color: var(--ink, #1a1a18);
  font: inherit;
  font-size: 13px;
  font-weight: 500;
  padding: 7px 12px;
  cursor: pointer;
  border-radius: 0;
}

.answer-confirm-btn:hover {
  border-color: rgba(26, 26, 24, 0.45);
}

.answer-confirm-btn.is-on {
  background: var(--ink, #1a1a18);
  border-color: var(--ink, #1a1a18);
  color: #faf8f4;
}

.answer-confirm-btn.is-on.is-alert {
  background: var(--signal, #e55f2f);
  border-color: var(--signal, #e55f2f);
  color: #fffaf6;
}

.answer-finding.is-not-me {
  border-color: rgba(229, 95, 47, 0.35);
}

.answer-finding.is-me {
  border-color: rgba(61, 107, 69, 0.28);
}

.answer-confirm-toast {
  position: sticky;
  bottom: 18px;
  margin: 24px auto 0;
  max-width: 28rem;
  padding: 12px 16px;
  background: var(--ink, #1a1a18);
  color: #faf8f4;
  font-size: 14px;
  text-align: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s ease;
  z-index: 5;
}

.answer-confirm-toast.is-visible {
  opacity: 1;
}

.answer-findings-block .answer-folds {
  margin-top: 28px;
}

.answer-specialist-thread {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin: 8px 0 18px;
}

.answer-specialist-thread:empty {
  display: none;
}

.answer-specialist-line {
  margin: 0;
  max-width: 42em;
  font-size: 16px;
  line-height: 1.5;
  white-space: pre-wrap;
}

.answer-specialist-line.is-user {
  color: var(--ink, #1a1a18);
  font-weight: 500;
}

.answer-specialist-line.is-assistant {
  color: var(--ink2, #5e5e59);
  padding-left: 14px;
  border-left: 2px solid var(--ink, #1a1a18);
}

.answer-specialist-form {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 8px;
  padding: 6px 6px 6px 18px;
  border: 1px solid rgba(26, 26, 24, 0.12);
  border-radius: 22px;
  background: rgba(255, 252, 248, 0.92);
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.7) inset;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.answer-specialist-form:focus-within {
  border-color: rgba(26, 26, 24, 0.28);
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.7) inset,
    0 8px 24px rgba(26, 26, 24, 0.04);
}

.answer-specialist-form textarea {
  flex: 1;
  min-width: 0;
  height: 44px;
  min-height: 44px;
  max-height: 44px;
  margin: 0;
  padding: 0;
  border: 0;
  resize: none;
  background: transparent;
  color: var(--ink, #1a1a18);
  font: inherit;
  font-size: 15px;
  line-height: 44px;
  letter-spacing: -0.01em;
}

.answer-specialist-form textarea:focus {
  outline: none;
}

.answer-specialist-form .btn {
  flex: none;
  height: 44px;
  min-height: 44px;
  padding: 0 18px;
  border-radius: 999px;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}

@media (max-width: 720px) {
  .case-log-top-row {
    flex-direction: column;
    align-items: flex-start;
  }

  .case-log-feed-bar {
    flex-direction: column;
    align-items: flex-start;
  }

  .answer-page .case-file-form-row-split {
    grid-template-columns: 1fr;
  }

  .case-log-export-row {
    flex-direction: column;
    align-items: flex-start;
  }
}

.paywall-overlay {
  position: fixed;
  inset: 0;
  z-index: 9000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  background: rgba(26, 26, 24, 0.46);
}

.paywall-modal {
  position: relative;
  width: min(460px, 100%);
  margin: 0;
  padding: 0;
  overflow: hidden;
  background: var(--paper, #f4f3ef);
  color: var(--ink, #1a1a18);
  border: 1px solid var(--ink, #1a1a18);
  border-radius: 0;
  box-shadow: none;
}

.paywall-header {
  padding: 28px 28px 22px;
  background:
    radial-gradient(ellipse 90% 80% at 12% 20%, rgba(194, 65, 12, 0.18), transparent 55%),
    linear-gradient(165deg, #2a2824 0%, #1a1a18 50%, #121110 100%);
  color: #fffcf8;
}

.paywall-header .answer-kicker {
  color: rgba(255, 252, 248, 0.55);
}

.paywall-header h2 {
  margin: 0 0 12px;
  font-family: "Instrument Sans", sans-serif;
  font-size: 32px;
  font-weight: 500;
  letter-spacing: -0.04em;
  line-height: 1.05;
  color: #fffcf8;
}

.paywall-header .paywall-lede {
  color: rgba(255, 252, 248, 0.72);
}

.paywall-header .paywall-trust {
  margin: 10px 0 0;
  font-family: "Instrument Sans", sans-serif;
  font-size: 13px;
  line-height: 1.45;
  color: rgba(255, 252, 248, 0.58);
}

.paywall-options,
.paywall-restore-section {
  padding-left: 28px;
  padding-right: 28px;
}

.paywall-options {
  padding-top: 22px;
}

.paywall-restore-section {
  padding-bottom: 22px;
}

.paywall-options .btn {
  background: transparent;
  color: var(--brand, #e55f2f);
  border: 1.5px solid var(--brand, #e55f2f);
}

.paywall-options .btn:hover,
.paywall-options .btn:focus-visible {
  background: rgba(229, 95, 47, 0.1);
  color: var(--brand, #e55f2f);
}

.paywall-lede,
.option-subtext,
.restore-help-text {
  margin: 0;
  font-family: "Instrument Sans", sans-serif;
  font-size: 15px;
  line-height: 1.5;
  color: var(--ink3, #5c574e);
}

.paywall-options {
  margin: 22px 0 8px;
}

.paywall-options .btn {
  width: 100%;
}

.option-subtext {
  margin-top: 10px;
}

.restore-divider {
  height: 1px;
  margin: 22px 0 16px;
  background: rgba(26, 26, 24, 0.18);
}

.restore-title {
  margin: 0 0 10px;
  font-family: "Instrument Sans", sans-serif;
  font-size: 14px;
  font-weight: 500;
  color: var(--ink, #1a1a18);
}

.restore-form {
  display: flex;
  gap: 8px;
}

.restore-email-input {
  flex: 1;
  min-width: 0;
  padding: 10px 12px;
  border: 1px solid rgba(26, 26, 24, 0.28);
  background: transparent;
  color: var(--ink, #1a1a18);
  font-family: "Instrument Sans", sans-serif;
  font-size: 15px;
}

.paywall-close {
  position: absolute;
  top: 12px;
  right: 12px;
  width: 32px;
  height: 32px;
  border: 0;
  background: transparent;
  color: rgba(255, 252, 248, 0.7);
  font-size: 22px;
  line-height: 1;
  cursor: pointer;
  z-index: 2;
}
.paywall-close:hover {
  color: #fffcf8;
}

@media (max-width: 560px) {
  .restore-form {
    flex-direction: column;
  }
}

.sign-in-modal {
  background: var(--paper, #f4f3ef);
  color: var(--ink, #1a1a18);
  border-radius: 0;
  border: 1px solid var(--ink, #1a1a18);
  box-shadow: none;
}

.sign-in-modal-header {
  border-bottom-color: rgba(26, 26, 24, 0.16);
}

.sign-in-modal-title,
.sign-in-form-label {
  color: var(--ink, #1a1a18);
  font-weight: 500;
}

.sign-in-modal-description,
.sign-in-helper-text {
  color: var(--ink3, #5c574e);
  font-size: 14px;
  line-height: 1.5;
}

.sign-in-modal-close {
  color: var(--ink, #1a1a18);
}

.sign-in-input {
  background: transparent;
  border: 1px solid rgba(26, 26, 24, 0.28);
  border-radius: 0;
  color: var(--ink, #1a1a18);
}

.sign-in-input::placeholder {
  color: var(--ink4, #8a847a);
}

/* ——— Private fire: share tonight ——— */
.answer-share-tonight {
  margin-top: 8px;
}
.answer-share-card {
  margin-top: 18px;
  padding: 22px 22px 20px;
  background: linear-gradient(165deg, rgba(255, 252, 248, 0.98), rgba(235, 231, 223, 0.55));
  border: 1px solid var(--rule, #e4e1d8);
}
.answer-share-brand {
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: "Instrument Sans", system-ui, sans-serif;
  font-weight: 600;
  letter-spacing: -0.045em;
  font-size: 28px;
  color: var(--ink, #1a1a18);
  margin-bottom: 10px;
}
.answer-share-brand img {
  width: 36px;
  height: 36px;
}
.answer-share-line {
  margin: 0 0 18px;
  color: var(--ink2, #5e5e59);
  font-size: 16px;
  line-height: 1.45;
  max-width: 36em;
}
.answer-share-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.answer-share-status {
  margin: 12px 0 0;
  font-size: 14px;
  color: var(--ink2, #5e5e59);
}
.answer-share-status.is-ok {
  color: var(--ok, #3d6b45);
}
.answer-share-status.is-err {
  color: var(--signal, #c2410c);
}

.answer-gift-banner {
  margin-top: 20px;
  padding: 16px 18px;
  border: 1px solid var(--rule, #e4e1d8);
  background: rgba(255, 252, 248, 0.85);
}
.answer-gift-title {
  margin: 0 0 6px;
  font-weight: 600;
  color: var(--ink, #1a1a18);
}
.answer-gift-body {
  margin: 0;
  color: var(--ink2, #5e5e59);
  font-size: 15px;
  line-height: 1.45;
}
.answer-resume-note {
  margin: 0 0 14px;
  color: var(--ink2, #5e5e59);
  font-size: 15px;
}

.case-log-status-warn {
  color: var(--signal, #c2410c) !important;
  font-weight: 500;
}
.case-log-starters {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0 0 14px;
}
.case-log-starter {
  appearance: none;
  border: 1px solid rgba(26, 26, 24, 0.16);
  background: rgba(255, 252, 248, 0.72);
  color: var(--ink2, #5e5e59);
  border-radius: 999px;
  padding: 7px 12px;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: -0.01em;
  cursor: pointer;
  line-height: 1.2;
}
.case-log-starter:hover,
.case-log-starter:focus-visible {
  border-color: rgba(26, 26, 24, 0.34);
  color: var(--ink, #1a1a18);
}
.case-log-starter.is-on {
  border-color: var(--ink, #1a1a18);
  color: var(--ink, #1a1a18);
  background: rgba(26, 26, 24, 0.04);
}
.case-log-export-facts {
  margin: -4px 0 18px;
  font-size: 13px;
  line-height: 1.45;
  color: var(--ink4, #8a847a);
  max-width: 40rem;
}
.case-note-meta {
  margin: 4px 0 0;
  font-size: 13px;
  color: var(--ink3, #6b675f);
}
.case-file-form-report-wrap[hidden] {
  display: none !important;
}
.case-log-open-threads,
.case-log-from-reading {
  margin: 18px 0 8px;
  padding: 16px 18px;
  border: 1px solid var(--rule, #e4e1d8);
  background: rgba(255, 252, 248, 0.7);
}
.case-log-open-thread-btn {
  display: block;
  width: 100%;
  text-align: left;
  padding: 10px 12px;
  border: 1px solid var(--rule, #e4e1d8);
  background: #fff;
  color: var(--ink, #1c1b19);
  font: inherit;
  cursor: pointer;
}
.case-log-open-thread-btn:hover {
  border-color: var(--ink3, #9a958c);
}
.case-log-from-reading-kicker {
  margin: 0 0 4px;
  font-size: 12px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--ink4, #8a847a);
}
.case-log-from-reading-lede {
  margin: 0 0 12px;
  color: var(--ink2, #5e5e59);
  font-size: 15px;
}
.case-log-from-reading-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.case-log-from-reading-btn {
  appearance: none;
  width: 100%;
  text-align: left;
  background: transparent;
  border: 1px solid var(--rule, #e4e1d8);
  color: var(--ink, #1a1a18);
  font: inherit;
  font-size: 15px;
  padding: 10px 12px;
  cursor: pointer;
}
.case-log-from-reading-btn:hover {
  border-color: var(--ink, #1a1a18);
  background: rgba(26, 26, 24, 0.04);
}

.data-export-guide-resume {
  margin-top: 28px;
  padding-top: 20px;
  border-top: 1px solid rgba(26, 26, 24, 0.1);
  text-align: center;
}
.data-export-guide-resume-lede {
  margin: 0 0 12px;
  color: #5e5e59;
  font-size: 15px;
}
.data-export-guide-resume-status {
  margin: 12px auto 0;
  max-width: 36em;
  font-size: 14px;
  color: #3d6b45;
  line-height: 1.45;
}

.attorney-forward-pack {
  padding: 20px 22px;
  background: #fffcf8;
  border: 1px solid #e4e1d8;
  color: #1a1a18;
  font-size: 1.05rem;
  line-height: 1.7;
}
.attorney-forward-pack p {
  margin: 0 0 12px;
}
.attorney-forward-pack p:last-child {
  margin-bottom: 0;
}

/* ─── Get-started: account → Stripe (no old funnel steps) ─── */
.get-started-main {
  max-width: 480px;
  margin: 0 auto;
  padding-top: 48px;
}
#get-started-page .auth-main.get-started-main {
  padding-top: 48px;
}
.get-started-card {
  max-width: 480px;
  width: 100%;
}
.get-started-card h1 {
  text-align: center;
  margin: 0 0 22px;
  line-height: 1.12;
}
.get-started-card h1 br {
  display: block;
  content: "";
}
.get-started-kicker {
  margin: 0 0 10px;
  text-align: center;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--ink2, #5e5e59);
}
.get-started-subheadline {
  text-align: center;
  max-width: 34em;
  margin-left: auto;
  margin-right: auto;
  font-size: 17px;
  line-height: 1.5;
  color: var(--ink2, #5e5e59);
}
.get-started-platforms {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  max-width: 34em;
  margin: 4px auto 20px;
  padding: 0 28px;
  box-sizing: border-box;
  pointer-events: none;
  user-select: none;
}
.get-started-platform {
  display: flex;
  align-items: center;
  justify-content: center;
  flex: 1;
}
.get-started-platform-icon {
  width: 42px;
  height: 42px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.get-started-platform-icon svg {
  width: 42px;
  height: 42px;
  display: block;
}
#get-started-page .get-started-switch,
#get-started-page .auth-switch.get-started-switch {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  width: 100%;
  margin: 18px 0 4px;
  text-align: center;
  font-size: 16px;
  line-height: 1.45;
  color: var(--ink2, #5e5e59);
}
#get-started-page .get-started-switch-lead {
  display: block;
  font-weight: 600;
  font-size: 17px;
  color: var(--ink, #1a1a18);
}
#get-started-page .get-started-switch-note {
  display: block;
  font-weight: 400;
  color: var(--ink2, #5e5e59);
}
.get-started-alt-pay {
  width: 100%;
  margin-top: 10px;
  justify-content: center;
}
#get-started-page .auth-fine {
  margin-top: 0;
  font-size: 14px;
  color: var(--ink2, #5e5e59);
  line-height: 1.45;
}
.get-started-error[hidden] {
  display: none !important;
}

/* Calm “check your email” — magic-link continue (no error scream) */
#get-started-page .get-started-magic-status {
  margin: 8px 0 18px;
  padding: 18px 18px 16px;
  text-align: center;
  background: rgba(26, 26, 24, 0.04);
  border: 1px solid var(--rule, #e4e1d8);
  border-radius: 10px;
}
#get-started-page .get-started-magic-status[hidden] {
  display: none !important;
}
#get-started-page .get-started-magic-title {
  margin: 0 0 8px;
  font-size: 17px;
  font-weight: 600;
  color: var(--ink, #1a1a18);
  letter-spacing: -0.01em;
}
#get-started-page .get-started-magic-body {
  margin: 0 0 12px;
  font-size: 15px;
  line-height: 1.5;
  color: var(--ink2, #5e5e59);
}
#get-started-page #get-started-resend-link {
  font-size: 14px;
  color: var(--ink, #1a1a18);
  text-decoration: underline;
  text-underline-offset: 3px;
  background: none;
  border: none;
  padding: 0;
  cursor: pointer;
}
#get-started-page #get-started-resend-link:disabled {
  opacity: 0.5;
  cursor: default;
}
#get-started-page #get-started-password-field[hidden] {
  display: none !important;
}

/* ─── Intake / upload: force paper (kill legacy dark glass) ─── */
.intake-nav {
  background: rgba(244, 243, 239, 0.92) !important;
  border-bottom: 1px solid var(--rule, #e4e1d8) !important;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}
.intake-nav.is-scrolled {
  background: rgba(244, 243, 239, 0.96) !important;
  border-bottom-color: var(--rule, #e4e1d8) !important;
}
.intake-nav .forensai-logo,
.intake-nav .forensai-logo-forens,
.intake-nav .forensai-logo-text,
.intake-logo,
.intake-logo .logo-text {
  color: var(--ink, #1a1a18) !important;
}
.intake-btn-ghost,
.upload-page #sign-in-btn,
.phone-hacked-page #sign-in-btn {
  color: var(--ink, #1a1a18) !important;
  border-color: var(--ink, #1a1a18) !important;
  border-radius: 999px !important;
}
.intake-btn-ghost:hover {
  color: var(--ink, #1a1a18) !important;
  background: rgba(26, 26, 24, 0.05) !important;
}
.intake-trust-item {
  color: var(--ink4, #8a847a) !important;
}
.intake-trust-divider {
  background: var(--rule, #e4e1d8) !important;
}
.intake-zone {
  background: rgba(255, 252, 248, 0.9) !important;
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
  border: 1.5px dashed rgba(26, 26, 24, 0.28) !important;
  border-radius: 22px !important;
  box-shadow: 0 16px 40px rgba(26, 26, 24, 0.06) !important;
}
.intake-zone:hover,
.intake-zone.drag-over {
  border-color: var(--ink, #1a1a18) !important;
  box-shadow: 0 20px 48px rgba(26, 26, 24, 0.1) !important;
}
.intake-zone-title {
  color: var(--ink, #1a1a18) !important;
}
.intake-zone-sub,
.intake-zone-formats {
  color: var(--ink2, #5e5e59) !important;
}
.intake-zone-icon,
.intake-zone-drop-here {
  color: var(--brand, #e55f2f) !important;
}
.intake-file-item {
  background: rgba(244, 243, 239, 0.8) !important;
  border: 1px solid var(--rule, #e4e1d8) !important;
}
.intake-file-check {
  background: rgba(61, 107, 69, 0.14) !important;
  color: var(--ok, #3d6b45) !important;
}
.intake-file-item .file-name {
  color: var(--ink, #1a1a18) !important;
}
.intake-file-item .file-size {
  color: var(--ink4, #8a847a) !important;
}
.intake-export-help {
  color: var(--ink2, #5e5e59) !important;
}
.intake-export-link {
  color: var(--brand, #e55f2f) !important;
}
.intake-platform-strip {
  border-top: 1px solid var(--rule, #e4e1d8) !important;
}
.upload-discount-banner {
  background: rgba(255, 252, 248, 0.95) !important;
  border: 1px solid var(--brand, #e55f2f) !important;
  color: var(--ink, #1a1a18) !important;
}

/* ─── Case log exports / reports: paper, not dark glass ─── */
.answer-page .evidence-export-card,
.answer-page .evidence-report-card {
  background: rgba(255, 252, 248, 0.86) !important;
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
  border: 1px solid var(--rule, #e4e1d8) !important;
  border-radius: 0 !important;
  box-shadow: none !important;
  color: var(--ink, #1a1a18) !important;
}
.answer-page .evidence-export-card:hover,
.answer-page .evidence-report-card:hover {
  background: #fffcf8 !important;
  border-color: rgba(26, 26, 24, 0.28) !important;
  transform: none !important;
  box-shadow: none !important;
}
.answer-page .evidence-export-title,
.answer-page .evidence-report-title,
.answer-page .evidence-generated-title {
  color: var(--ink, #1a1a18) !important;
}
.answer-page .evidence-export-description,
.answer-page .evidence-no-reports {
  color: var(--ink2, #5e5e59) !important;
}
.answer-page .evidence-export-icon,
.answer-page .evidence-report-icon {
  background: rgba(229, 95, 47, 0.1) !important;
  border: 1px solid rgba(229, 95, 47, 0.28) !important;
  color: var(--brand, #e55f2f) !important;
  border-radius: 12px !important;
}
.answer-page .evidence-export-generate-btn {
  background: var(--ink, #1a1a18) !important;
  color: #fff !important;
  border-radius: 999px !important;
  box-shadow: none !important;
}
.answer-page .evidence-export-generate-btn:hover:not(:disabled) {
  background: #000 !important;
  transform: translateY(-1px);
  box-shadow: none !important;
}
.answer-page .badge-pdf,
.answer-page .badge-zip,
.answer-page .badge-csv,
.answer-page .badge-json {
  background: transparent !important;
  border: 1px solid var(--rule, #e4e1d8) !important;
  color: var(--ink4, #8a847a) !important;
  border-radius: 0 !important;
  font-family: "IBM Plex Mono", ui-monospace, monospace;
  letter-spacing: 0.08em;
}

/* Marketing SEO / legacy chrome → paper CTAs */
.forensai-btn-primary,
a.forensai-btn-primary,
button.forensai-btn-primary,
.forensai-nav-cta {
  background: var(--ink, #1a1a18) !important;
  color: #fff !important;
  border: none !important;
  border-radius: 999px !important;
  box-shadow: none !important;
}
.forensai-btn-secondary,
a.forensai-btn-secondary,
button.forensai-btn-secondary {
  background: transparent !important;
  color: var(--ink, #1a1a18) !important;
  border: 1.5px solid var(--ink, #1a1a18) !important;
  border-radius: 999px !important;
  box-shadow: none !important;
}
.forensai-section-dark,
.landing-hero-dark {
  background:
    radial-gradient(ellipse 90% 80% at 12% 20%, rgba(194, 65, 12, 0.16), transparent 55%),
    linear-gradient(165deg, #2a2824 0%, #1a1a18 42%, #121110 100%) !important;
}

/* Comfort — specialist room: light paper rail + warm brand-dark chat */
.specialist-page,
.specialist-page .answer-shell {
  background: #f4f3ef;
}

.specialist-page .answer-pane.specialist-pane,
.specialist-pane {
  padding: 0;
  background: #f4f3ef;
}

.specialist-layout {
  display: grid;
  grid-template-columns: 240px minmax(0, 1fr);
  min-height: 100%;
  flex: 1;
  background: #f4f3ef;
  color: var(--ink, #1a1a18);
}

.specialist-sidebar {
  display: flex;
  flex-direction: column;
  gap: 16px;
  padding: 28px 16px 24px;
  border-right: 1px solid var(--rule, #e4e1d8);
  background: rgba(255, 252, 248, 0.92);
  color: var(--ink, #1a1a18);
}

.specialist-side-title {
  margin: 0 0 12px;
  font-size: 22px;
  font-weight: 500;
  letter-spacing: -0.03em;
  color: var(--ink, #1a1a18);
}

.specialist-new-chat {
  width: auto;
  justify-content: flex-start;
  align-self: flex-start;
}

.specialist-thread-list {
  display: flex;
  flex-direction: column;
  gap: 4px;
  flex: 1;
  overflow-y: auto;
  min-height: 120px;
}

.specialist-thread-row {
  display: flex;
  align-items: center;
  gap: 2px;
  border-radius: 10px;
}

.specialist-thread-row.is-active {
  background: rgba(26, 26, 24, 0.07);
}

.specialist-thread-item {
  appearance: none;
  flex: 1;
  min-width: 0;
  text-align: left;
  border: none;
  background: transparent;
  color: var(--ink2, #5e5e59);
  font: inherit;
  font-size: 14px;
  line-height: 1.35;
  padding: 10px 8px 10px 12px;
  border-radius: 10px;
  cursor: pointer;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.specialist-thread-row:hover .specialist-thread-item,
.specialist-thread-item:hover {
  color: var(--ink, #1a1a18);
}

.specialist-thread-row.is-active .specialist-thread-item {
  color: var(--ink, #1a1a18);
  font-weight: 500;
}

.specialist-thread-delete {
  appearance: none;
  flex-shrink: 0;
  width: 28px;
  height: 28px;
  margin-right: 4px;
  border: none;
  border-radius: 8px;
  background: transparent;
  color: var(--ink4, #8a847a);
  font: inherit;
  font-size: 18px;
  line-height: 1;
  cursor: pointer;
}

.specialist-thread-delete:hover,
.specialist-thread-delete:focus-visible {
  background: rgba(26, 26, 24, 0.08);
  color: var(--ink, #1a1a18);
  outline: none;
}

.specialist-side-note {
  margin: 0;
  font-size: 12px;
  line-height: 1.4;
  color: var(--ink4, #8a847a);
}

.specialist-main {
  display: flex;
  flex-direction: column;
  min-height: 100%;
  padding: 28px clamp(20px, 4vw, 48px) 28px;
  box-sizing: border-box;
  background:
    radial-gradient(ellipse 90% 70% at 12% 0%, rgba(194, 65, 12, 0.16), transparent 55%),
    linear-gradient(165deg, #2a2824 0%, #1a1a18 48%, #121110 100%);
  color: #fffcf8;
}

.specialist-main-head {
  margin-bottom: 10px;
  max-width: min(48rem, 100%);
}

.specialist-main-head[hidden],
.specialist-main-head.is-dismissed {
  display: none !important;
}

.specialist-welcome-wrap {
  position: relative;
  padding-right: 40px;
  max-width: min(48rem, 100%);
}

.specialist-intro-close {
  appearance: none;
  position: absolute;
  top: 0;
  right: 0;
  width: 28px;
  height: 28px;
  border: none;
  border-radius: 999px;
  background: rgba(255, 252, 248, 0.08);
  color: rgba(255, 252, 248, 0.7);
  font: inherit;
  font-size: 18px;
  line-height: 1;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.specialist-intro-close:hover,
.specialist-intro-close:focus-visible {
  background: rgba(255, 252, 248, 0.14);
  color: #fffcf8;
  outline: none;
}

.specialist-main-title {
  margin: 0 0 10px;
  max-width: min(28em, 100%);
  font-size: clamp(28px, 4vw, 40px);
  font-weight: 500;
  letter-spacing: -0.04em;
  line-height: 1.12;
  color: #fffcf8;
}

.specialist-welcome {
  margin: 0;
  max-width: min(48rem, 100%);
  font-size: clamp(15px, 1.7vw, 17px);
  font-weight: 400;
  letter-spacing: -0.015em;
  line-height: 1.45;
  color: rgba(255, 252, 248, 0.72);
}

.specialist-memory {
  margin: 0;
  max-width: 48rem;
  font-size: 14px;
  line-height: 1.45;
  color: rgba(255, 252, 248, 0.62);
}

.specialist-thread {
  flex: 1;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 8px;
  padding: 4px 0 20px;
  min-height: 220px;
}

.specialist-empty {
  margin: 0;
  max-width: min(78%, 36rem);
  font-size: 16px;
  line-height: 1.35;
  color: rgba(255, 252, 248, 0.62);
}

/* Warm dark chat bubbles */
.specialist-bubble {
  margin: 0;
  max-width: min(78%, 36rem);
  padding: 10px 14px;
  font-size: 16px;
  line-height: 1.35;
  letter-spacing: -0.01em;
  white-space: pre-wrap;
  word-wrap: break-word;
  border: none;
  box-shadow: none;
}

.specialist-bubble.is-user {
  align-self: flex-end;
  background: rgba(255, 252, 248, 0.12);
  color: #fffcf8;
  border-radius: 18px 18px 5px 18px;
}

.specialist-bubble.is-assistant {
  align-self: flex-start;
  background: transparent;
  color: #fffcf8;
  padding-left: 0;
  padding-right: 0;
  border-radius: 0;
  max-width: min(92%, 42rem);
}

.specialist-bubble.is-starter {
  margin-top: 2px;
  background: rgba(255, 252, 248, 0.08);
  padding: 12px 16px;
  border-radius: 18px 18px 18px 5px;
}

.specialist-bubble.is-assistant + .specialist-bubble.is-assistant {
  border-top-left-radius: 0;
}

.specialist-bubble.is-user + .specialist-bubble.is-user {
  border-top-right-radius: 6px;
}

.specialist-prompts {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0 0 14px;
}

.specialist-prompts[hidden],
.specialist-composer[hidden],
.specialist-paywall[hidden] {
  display: none !important;
}

.specialist-prompts button {
  appearance: none;
  border: 1px solid rgba(255, 252, 248, 0.14);
  background: rgba(255, 252, 248, 0.06);
  color: #fffcf8;
  font: inherit;
  font-size: 13px;
  padding: 8px 12px;
  border-radius: 999px;
  cursor: pointer;
}

.specialist-prompts button:hover {
  border-color: rgba(255, 252, 248, 0.28);
  background: rgba(255, 252, 248, 0.1);
}

.specialist-composer {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: auto;
  padding: 6px 6px 6px 18px;
  border: 1px solid rgba(255, 252, 248, 0.14);
  border-radius: 22px;
  background: rgba(255, 252, 248, 0.08);
  box-shadow: none;
  transition: border-color 0.15s ease, background 0.15s ease;
}

.specialist-composer:focus-within {
  border-color: rgba(255, 252, 248, 0.28);
  background: rgba(255, 252, 248, 0.11);
  box-shadow: none;
}

.specialist-composer textarea {
  flex: 1;
  min-width: 0;
  height: 44px;
  min-height: 44px;
  max-height: 44px;
  margin: 0;
  padding: 0;
  border: 0;
  resize: none;
  background: transparent;
  color: #fffcf8;
  font: inherit;
  font-size: 15px;
  line-height: 44px;
  letter-spacing: -0.01em;
}

.specialist-composer textarea::placeholder {
  color: rgba(255, 252, 248, 0.4);
}

.specialist-composer textarea:focus {
  outline: none;
}

.specialist-composer .btn {
  flex: none;
  height: 44px;
  min-height: 44px;
  padding: 0 18px;
  background: #fffcf8 !important;
  color: #1a1a18 !important;
}

.specialist-composer .btn:hover {
  background: #fff !important;
}

.specialist-trust {
  margin: 10px 0 0;
  font-size: 12px;
  color: rgba(255, 252, 248, 0.45);
}

/* Composer slot when locked — one centered CTA, nothing else */
.specialist-paywall {
  display: flex;
  justify-content: center;
  align-items: center;
  margin-top: auto;
  padding: 16px 0 8px;
}

.specialist-paywall .btn {
  min-width: min(280px, 100%);
  justify-content: center;
  text-align: center;
}

/* Unlock mid-state — Answers first (scan + 30d specialist), $39 quiet */
.specialist-unlock-overlay {
  position: fixed;
  inset: 0;
  z-index: 9200;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  background: rgba(26, 26, 24, 0.4);
  backdrop-filter: blur(6px);
}

.specialist-unlock-modal {
  position: relative;
  width: min(400px, 100%);
  padding: 32px 28px 28px;
  background: #fffcf8;
  border: 1px solid var(--rule, #e4e1d8);
  border-radius: 16px;
  box-shadow: 0 24px 50px rgba(26, 26, 24, 0.12);
  text-align: center;
}

.specialist-unlock-close {
  position: absolute;
  top: 10px;
  right: 12px;
  width: 32px;
  height: 32px;
  border: 0;
  background: transparent;
  color: var(--ink4, #8a847a);
  font-size: 22px;
  line-height: 1;
  cursor: pointer;
}

.specialist-unlock-close:hover {
  color: var(--ink, #1a1a18);
}

.specialist-unlock-title {
  margin: 0 0 10px;
  font-size: clamp(22px, 3vw, 26px);
  font-weight: 500;
  letter-spacing: -0.03em;
  line-height: 1.2;
  color: var(--ink, #1a1a18);
}

.specialist-unlock-lede {
  margin: 0 0 22px;
  font-size: 15px;
  line-height: 1.5;
  color: var(--ink2, #5e5e59);
}

.specialist-unlock-primary {
  width: 100%;
  justify-content: center;
}

.specialist-unlock-alt {
  display: inline-flex;
  margin-top: 14px;
  font-size: 13px;
  color: var(--ink3, #7a756c);
}

.specialist-unlock-alt:hover,
.specialist-unlock-alt:focus-visible {
  color: var(--ink, #1a1a18);
}

.specialist-unlock-trust {
  margin: 18px 0 0;
  font-size: 12px;
  line-height: 1.4;
  color: var(--ink4, #8a847a);
}

@media (max-width: 860px) {
  .specialist-layout {
    grid-template-columns: 1fr;
  }
  .specialist-sidebar {
    border-right: none;
    border-bottom: 1px solid var(--rule, #e4e1d8);
    padding: 16px 20px;
  }
  .specialist-thread-list {
    flex-direction: row;
    overflow-x: auto;
    min-height: 0;
  }
  .specialist-thread-item {
    flex: 0 0 auto;
    max-width: 200px;
    min-height: 44px;
  }
  .specialist-thread-delete {
    width: 44px;
    height: 44px;
  }
  .specialist-main {
    padding: 20px 20px calc(120px + env(safe-area-inset-bottom, 0px));
    min-height: min(70vh, 640px);
  }
  .specialist-thread {
    min-height: 240px;
  }
  .specialist-composer,
  .specialist-paywall {
    margin-bottom: 8px;
  }
  .specialist-intro-close {
    width: 44px;
    height: 44px;
  }
}

/* —— Forens 2.0 site menu (burger) —— */
.nav[data-forens-nav],
.paper-nav[data-forens-nav],
.auth-nav[data-forens-nav] {
  position: relative;
  z-index: 70;
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 44px;
  padding-top: calc(12px + env(safe-area-inset-top, 0px));
  padding-left: max(var(--gutter, 24px), env(safe-area-inset-left, 0px));
  padding-right: max(var(--gutter, 24px), env(safe-area-inset-right, 0px));
  background: transparent;
}
@media (min-width: 901px) {
  .nav[data-forens-nav],
  .paper-nav[data-forens-nav],
  .auth-nav[data-forens-nav] {
    position: sticky;
    top: 0;
    background: transparent;
  }
}
.nav[data-forens-nav] .mark,
.auth-nav[data-forens-nav] .auth-mark,
.paper-nav[data-forens-nav] .auth-mark {
  position: relative;
  z-index: 72;
  display: inline-flex;
  align-items: center;
  align-self: center;
  min-height: 44px;
  line-height: 1;
}
.forens-nav-end {
  position: relative;
  z-index: 72;
  display: inline-flex;
  align-items: center;
  align-self: center;
  gap: 10px;
  margin-left: auto;
  min-height: 44px;
}
.forens-privacy-meter {
  position: static;
  margin: 0;
  pointer-events: none;
  user-select: none;
  font-family: "IBM Plex Mono", ui-monospace, monospace;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink4, #8a847a);
  white-space: nowrap;
  opacity: 0.92;
  line-height: 1;
}
.forens-privacy-meter-value {
  font-variant-numeric: tabular-nums;
  letter-spacing: 0.08em;
}
.forens-privacy-ready .forens-privacy-meter {
  color: var(--ink3, #6b675f);
}
html.forens-menu-open .forens-privacy-meter {
  visibility: hidden;
  pointer-events: none;
}
@media (max-width: 420px) {
  .forens-nav-end {
    gap: 8px;
  }
  .forens-privacy-meter {
    font-size: 10px;
    letter-spacing: 0.1em;
  }
}
@media (prefers-reduced-motion: reduce) {
  .forens-privacy-meter {
    transition: none;
  }
}
.forens-menu-toggle {
  position: relative;
  z-index: 72;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  width: 44px;
  height: 44px;
  margin: 0;
  padding: 0;
  border: 1.5px solid var(--ink, #1a1a18);
  border-radius: 999px;
  background: transparent;
  color: var(--ink, #1a1a18);
  cursor: pointer;
  transition: background 0.2s ease, transform 0.2s ease, border-color 0.2s ease;
}
.forens-menu-toggle:hover,
.forens-menu-toggle:focus-visible {
  background: transparent;
}
.forens-menu-toggle-bars {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 16px;
}
.forens-menu-toggle-bars span {
  display: block;
  height: 1.5px;
  width: 100%;
  background: currentColor;
  border-radius: 1px;
  transition: transform 0.22s ease, opacity 0.22s ease;
  transform-origin: center;
}
.forens-menu-toggle.is-open .forens-menu-toggle-bars span:nth-child(1) {
  transform: translateY(6.5px) rotate(45deg);
}
.forens-menu-toggle.is-open .forens-menu-toggle-bars span:nth-child(2) {
  opacity: 0;
}
.forens-menu-toggle.is-open .forens-menu-toggle-bars span:nth-child(3) {
  transform: translateY(-6.5px) rotate(-45deg);
}

.forens-menu-panel {
  position: fixed;
  inset: 0;
  z-index: 65;
}
.forens-menu-scrim {
  display: none;
}
.forens-menu-sheet {
  position: absolute;
  inset: 0;
  width: 100%;
  max-width: none;
  padding: 0;
  overflow: hidden;
  background: #f4f3ef;
  box-shadow: none;
  font-family: "Instrument Sans", system-ui, sans-serif;
  animation: forens-menu-in 0.32s cubic-bezier(0.22, 1, 0.36, 1) both;
}
.forens-menu-atmosphere {
  pointer-events: none;
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
}
.forens-menu-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(72px);
  will-change: transform;
}
.forens-menu-orb-a {
  width: min(92vw, 860px);
  height: min(92vw, 860px);
  top: -32%;
  left: -24%;
  background: radial-gradient(circle at 40% 40%, rgba(229, 95, 47, 0.88), rgba(194, 65, 12, 0.36) 48%, transparent 72%);
  opacity: 1;
}
.forens-menu-orb-b {
  width: min(78vw, 680px);
  height: min(78vw, 680px);
  top: 8%;
  right: -22%;
  background: radial-gradient(circle at 50% 50%, rgba(229, 95, 47, 0.7), rgba(194, 65, 12, 0.26) 55%, transparent 72%);
  opacity: 1;
}
.forens-menu-orb-c {
  width: min(80vw, 720px);
  height: min(56vw, 480px);
  bottom: -24%;
  left: 10%;
  background: radial-gradient(circle at 50% 30%, rgba(229, 95, 47, 0.52), rgba(194, 65, 12, 0.22) 55%, transparent 72%);
  opacity: 1;
}
.forens-menu-grain {
  position: absolute;
  inset: 0;
  opacity: 0.35;
  mix-blend-mode: multiply;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.55'/%3E%3C/svg%3E");
}
.forens-menu-veil {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(244, 243, 239, 0.22) 0%, transparent 28%, transparent 70%, rgba(244, 243, 239, 0.58) 100%),
    radial-gradient(ellipse 80% 50% at 50% -10%, rgba(255, 252, 248, 0.45), transparent 55%);
}
.forens-menu-body {
  position: relative;
  z-index: 1;
  height: 100%;
  overflow-y: auto;
  padding: calc(88px + env(safe-area-inset-top, 0px)) max(var(--gutter, 24px), env(safe-area-inset-right, 0px)) max(36px, env(safe-area-inset-bottom, 0px)) max(var(--gutter, 24px), env(safe-area-inset-left, 0px));
  max-width: 520px;
  margin: 0 auto;
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
}
.forens-menu-col {
  display: flex;
  flex-direction: column;
  min-width: 0;
}
@keyframes forens-menu-in {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: none; }
}
@media (prefers-reduced-motion: reduce) {
  .forens-menu-sheet { animation: none; }
  .forens-menu-toggle-bars span { transition: none; }
}

/* Menu expand: hide logo on all viewports */
html.forens-menu-open .nav[data-forens-nav] .mark,
html.forens-menu-open .auth-nav[data-forens-nav] .auth-mark,
html.forens-menu-open .paper-nav[data-forens-nav] .auth-mark,
html.forens-menu-open .nav .mark,
html.forens-menu-open header .mark,
html.forens-menu-open .site-header .mark {
  visibility: hidden;
  pointer-events: none;
}

/* Desktop expand: full-width two columns */
@media (min-width: 860px) {
  .forens-menu-body {
    max-width: none;
    width: 100%;
    margin: 0;
    padding: 96px clamp(40px, 6vw, 96px) max(48px, env(safe-area-inset-bottom));
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    column-gap: clamp(48px, 8vw, 120px);
    align-content: stretch;
    align-items: stretch;
  }
  .forens-menu-col {
    justify-content: center;
  }
  .forens-menu-col-actions {
    justify-content: center;
    padding-right: clamp(12px, 2vw, 32px);
  }
  .forens-menu-col-links {
    justify-content: center;
    padding-left: clamp(12px, 2vw, 32px);
    border-left: 1px solid rgba(26, 26, 24, 0.12);
  }
  .forens-menu-actions {
    align-items: stretch;
    gap: 18px;
  }
  .forens-menu-actions .btn,
  .forens-menu-actions .btn-secondary {
    width: 100%;
    max-width: none;
    min-height: 58px;
    padding: 0 26px;
    font-size: 18px;
  }
  .forens-menu-links a {
    font-size: clamp(20px, 2.2vw, 28px);
    padding: 14px 0;
  }
}

.forens-menu-section {
  margin-bottom: 28px;
}
.forens-menu-section-account {
  margin-bottom: 20px;
  padding-top: 8px;
  border-top: 1px solid rgba(26, 26, 24, 0.12);
}
.forens-menu-label {
  margin: 0 0 12px;
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink4, #8a847a);
}
.forens-menu-actions {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
}
.forens-menu-actions .btn,
.forens-menu-actions .btn-secondary {
  width: 72%;
  max-width: 72%;
  min-height: 56px;
  margin: 0;
  padding: 0 24px;
  font-size: 18px;
  justify-content: center;
  text-align: center;
}
.forens-menu-actions .btn-secondary {
  background: rgba(255, 252, 248, 0.72);
}
.forens-menu-actions a[data-home-have] {
  margin-top: 8px;
}
.forens-menu-links {
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.forens-menu-links a {
  display: block;
  padding: 14px 0;
  text-decoration: none;
  color: var(--ink, #1a1a18);
  font-size: 18px;
  font-weight: 500;
  letter-spacing: -0.02em;
  border-bottom: 1px solid transparent;
}
.forens-menu-links a:hover,
.forens-menu-links a:focus-visible,
.forens-menu-links a[aria-current="page"] {
  color: var(--ink, #1a1a18);
  border-bottom-color: rgba(26, 26, 24, 0.14);
}
html.forens-menu-open,
body.forens-menu-open {
  overflow: hidden;
}

.nav[data-forens-nav] .nav-links,
.paper-nav[data-forens-nav] .paper-nav-links,
.auth-nav[data-forens-nav] .paper-nav-links,
.auth-nav[data-forens-nav] .auth-nav-links {
  display: none;
}

/* Settings — paper room */
.settings-main {
  max-width: 720px;
}

.settings-hero {
  margin: 0 0 clamp(36px, 5vh, 52px);
  padding-bottom: 28px;
  border-bottom: 1px solid rgba(26, 26, 24, 0.08);
}

.settings-title {
  margin: 0 0 12px;
  font-size: clamp(34px, 4.5vw, 46px);
  font-weight: 500;
  letter-spacing: -0.045em;
  line-height: 1.05;
  color: var(--ink, #1a1a18);
}

.settings-lede {
  margin: 0;
  max-width: 32em;
  font-size: 17px;
  line-height: 1.45;
  color: var(--ink2, #5e5e59);
}

.settings-block {
  margin: 0 0 clamp(32px, 4.5vh, 44px);
  padding: clamp(22px, 3vw, 28px);
  border-radius: 18px;
  border: 1px solid rgba(26, 26, 24, 0.08);
  background:
    linear-gradient(180deg, rgba(255, 253, 250, 0.96), rgba(248, 246, 241, 0.9));
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.7) inset,
    0 10px 28px rgba(26, 26, 24, 0.03);
}

.settings-block-title {
  margin: 0 0 14px;
  font-size: 20px;
  font-weight: 500;
  letter-spacing: -0.03em;
  color: var(--ink, #1a1a18);
}

.settings-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 16px;
  margin: 0 0 10px;
  align-items: baseline;
}

.settings-label {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink4, #8a847a);
  min-width: 4.5em;
}

.settings-value {
  font-size: 16px;
  font-weight: 500;
  color: var(--ink, #1a1a18);
}

.settings-note {
  margin: 0 0 14px;
  font-size: 14px;
  line-height: 1.5;
  color: var(--ink2, #5e5e59);
}

.settings-trust {
  margin: 0 0 12px;
  font-size: 15px;
  line-height: 1.5;
  color: var(--ink, #1a1a18);
}

.settings-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px 14px;
}

.settings-actions-stack {
  flex-direction: column;
  align-items: flex-start;
}

.settings-danger {
  color: var(--ink3, #7a756c);
}

.settings-danger:hover,
.settings-danger:focus-visible {
  color: var(--brand, #e55f2f);
}

.answer-rail-link[aria-current="page"] {
  color: var(--ink, #1a1a18);
  font-weight: 600;
}

/* Next steps — suite page, not a thin checklist */
.next-steps-main {
  max-width: min(72rem, 100%);
  width: 100%;
}

.next-steps-hero {
  display: grid;
  grid-template-columns: minmax(0, 1.6fr) minmax(220px, 0.7fr);
  gap: clamp(28px, 4vw, 56px);
  align-items: end;
  margin: 0 0 clamp(40px, 6vh, 64px);
  padding-bottom: clamp(28px, 4vh, 40px);
  border-bottom: 1px solid rgba(26, 26, 24, 0.08);
}

.next-steps-hero-pack {
  position: relative;
  display: block;
  grid-template-columns: none;
  align-items: start;
  padding-right: 52px;
  max-width: none;
  width: 100%;
}

.next-steps-hero-pack .next-steps-hero-copy {
  max-width: none;
  width: 100%;
}

.next-steps-hero-pack .next-steps-hero-title,
.next-steps-hero-pack .next-steps-hero-lede,
.next-steps-hero-pack .next-steps-pack-meta {
  max-width: none;
}

.next-steps-pack-close {
  appearance: none;
  position: absolute;
  top: 0;
  right: 0;
  z-index: 2;
  width: 36px;
  height: 36px;
  border: none;
  border-radius: 999px;
  background: rgba(26, 26, 24, 0.06);
  color: var(--ink3, #6f6b63);
  font: inherit;
  font-size: 22px;
  line-height: 1;
  text-decoration: none;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.next-steps-pack-close:hover,
.next-steps-pack-close:focus-visible {
  background: rgba(26, 26, 24, 0.1);
  color: var(--ink, #1a1a18);
  outline: none;
}

.next-steps-hero-title {
  margin: 0 0 16px;
  font-size: clamp(36px, 5vw, 52px);
  font-weight: 500;
  letter-spacing: -0.045em;
  line-height: 1.05;
  color: var(--ink, #1a1a18);
}

.next-steps-hero-lede {
  margin: 0 0 14px;
  max-width: none;
  font-size: clamp(17px, 2vw, 20px);
  line-height: 1.45;
  color: var(--ink2, #5e5e59);
}

.next-steps-hero-usp {
  margin: 0;
  max-width: none;
  font-size: 15px;
  line-height: 1.5;
  font-weight: 500;
  color: var(--ink, #1a1a18);
}

.next-steps-hero-aside {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 16px;
}

.next-steps-disclaimer {
  display: none;
}

.next-steps-back-wrap {
  grid-column: 1 / -1;
  margin: 0 0 8px;
}

.next-steps-back {
  display: inline-block;
  font-size: 13px;
  font-weight: 500;
  color: var(--ink3, #7a756c);
  text-decoration: none;
}

.next-steps-back:hover,
.next-steps-back:focus-visible {
  color: var(--ink, #1a1a18);
}

.next-steps-safety-suite {
  margin: 0 0 clamp(28px, 4vh, 40px);
  padding: clamp(28px, 3.5vw, 40px);
  border-radius: 20px;
  border: 1px solid rgba(185, 50, 40, 0.22);
  background:
    linear-gradient(165deg, rgba(255, 242, 239, 0.98) 0%, rgba(252, 228, 222, 0.94) 100%),
    radial-gradient(ellipse 70% 90% at 0% 0%, rgba(220, 60, 45, 0.14), transparent 55%),
    radial-gradient(ellipse 55% 70% at 100% 100%, rgba(229, 95, 47, 0.1), transparent 50%);
  box-shadow:
    0 1px 0 rgba(255, 252, 248, 0.55) inset,
    0 14px 40px rgba(140, 40, 30, 0.06);
}

.next-steps-safety-suite-title {
  margin: 0 0 10px;
  font-size: clamp(24px, 3vw, 30px);
  font-weight: 500;
  letter-spacing: -0.035em;
  color: #8f2a22;
}

.next-steps-safety-suite-lede {
  margin: 0 0 28px;
  max-width: none;
  font-size: 16px;
  line-height: 1.5;
  color: rgba(90, 36, 30, 0.82);
}

.next-steps-packs-intro {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 16px 28px;
  margin: 0 0 clamp(28px, 4vh, 44px);
}

.next-steps-packs-intro-copy {
  flex: 1 1 18rem;
  min-width: 0;
  max-width: 40em;
}

.next-steps-packs-intro-aside {
  flex: 0 0 auto;
}

.next-steps-packs-intro .next-steps-hero-lede {
  margin: 0 0 8px;
}

.next-steps-packs-intro .next-steps-hero-usp {
  margin: 0;
}

.next-steps-hotline-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.next-steps-hotline {
  padding: 18px 18px 16px;
  border-radius: 14px;
  border: 1px solid rgba(26, 26, 24, 0.08);
  background: rgba(255, 255, 255, 0.55);
}

.next-steps-hotline-label {
  margin: 0 0 8px;
  font-size: 14px;
  font-weight: 600;
  color: var(--ink, #1a1a18);
}

.next-steps-hotline-phone {
  margin: 0 0 6px;
}

.next-steps-phone {
  color: var(--ink, #1a1a18);
  font-size: 18px;
  font-weight: 500;
  letter-spacing: -0.02em;
  text-decoration: none;
}

.next-steps-phone:hover,
.next-steps-phone:focus-visible {
  color: var(--brand, #e55f2f);
}

.next-steps-hotline-note {
  margin: 0 0 8px;
  font-size: 13px;
  line-height: 1.4;
  color: var(--ink3, #7a756c);
}

.next-steps-hotline-link {
  margin: 0;
}

.next-steps-hotline-site {
  font-size: 13px;
  font-weight: 500;
  color: var(--ink3, #7a756c);
  text-decoration: none;
}

.next-steps-hotline-site:hover,
.next-steps-hotline-site:focus-visible {
  color: var(--ink, #1a1a18);
}

.next-steps-packs {
  margin: 0 0 clamp(48px, 7vh, 72px);
}

.next-steps-packs-head {
  margin: 0 0 28px;
  max-width: none;
}

.next-steps-packs-title {
  margin: 0 0 10px;
  font-size: clamp(26px, 3.2vw, 34px);
  font-weight: 500;
  letter-spacing: -0.04em;
  color: var(--ink, #1a1a18);
}

.next-steps-packs-lede {
  margin: 0;
  font-size: 16px;
  line-height: 1.5;
  color: var(--ink2, #5e5e59);
}

.next-steps-pack-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.next-steps-pack {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 24px;
  align-items: center;
  padding: clamp(24px, 3vw, 32px) clamp(22px, 2.8vw, 30px);
  border-radius: 18px;
  border: 1px solid rgba(26, 26, 24, 0.08);
  background:
    linear-gradient(180deg, rgba(255, 253, 250, 0.96), rgba(248, 246, 241, 0.9));
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.7) inset,
    0 10px 28px rgba(26, 26, 24, 0.03);
  text-decoration: none;
  color: inherit;
  transition:
    border-color 0.2s ease,
    box-shadow 0.2s ease,
    transform 0.2s ease;
}

.next-steps-pack:hover,
.next-steps-pack:focus-visible {
  border-color: rgba(26, 26, 24, 0.18);
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.75) inset,
    0 16px 36px rgba(26, 26, 24, 0.06);
  transform: translateY(-1px);
  outline: none;
}

.next-steps-pack.is-safety {
  border-color: rgba(229, 95, 47, 0.22);
  background:
    linear-gradient(165deg, rgba(255, 252, 248, 0.98), rgba(250, 240, 232, 0.92)),
    radial-gradient(ellipse 50% 80% at 0% 0%, rgba(229, 95, 47, 0.08), transparent 60%);
}

.next-steps-pack-title {
  margin: 0 0 10px;
  font-size: clamp(22px, 2.6vw, 28px);
  font-weight: 500;
  letter-spacing: -0.035em;
  line-height: 1.15;
  color: var(--ink, #1a1a18);
}

.next-steps-pack-lede {
  margin: 0 0 12px;
  max-width: none;
  font-size: 16px;
  line-height: 1.5;
  color: var(--ink2, #5e5e59);
}

.next-steps-pack-meta {
  margin: 0;
  font-size: 13px;
  color: var(--ink4, #8a847a);
}

.next-steps-pack-go {
  flex-shrink: 0;
  padding: 10px 16px;
  border-radius: 999px;
  border: 1px solid rgba(26, 26, 24, 0.14);
  font-size: 13px;
  font-weight: 500;
  color: var(--ink, #1a1a18);
  background: rgba(255, 255, 255, 0.65);
}

.next-steps-pack:hover .next-steps-pack-go,
.next-steps-pack:focus-visible .next-steps-pack-go {
  background: var(--ink, #1a1a18);
  border-color: var(--ink, #1a1a18);
  color: #faf8f4;
}

.next-steps-foot-invite {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) auto;
  gap: 24px 40px;
  align-items: end;
  margin: clamp(8px, 2vh, 16px) 0 0;
  padding: clamp(28px, 3.5vw, 40px);
  border-radius: 20px;
  border: 1px solid rgba(26, 26, 24, 0.08);
  background:
    linear-gradient(165deg, rgba(255, 252, 248, 0.98), rgba(247, 242, 236, 0.92)),
    radial-gradient(ellipse 55% 80% at 0% 100%, rgba(229, 95, 47, 0.07), transparent 60%);
}

.next-steps-foot-title {
  margin: 0 0 10px;
  font-size: clamp(24px, 3vw, 30px);
  font-weight: 500;
  letter-spacing: -0.035em;
  color: var(--ink, #1a1a18);
}

.next-steps-foot-body {
  margin: 0;
  max-width: none;
  font-size: 15px;
  line-height: 1.5;
  color: var(--ink2, #5e5e59);
}

.next-steps-foot-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px 16px;
}

.next-steps-muted {
  color: var(--ink2, #5e5e59);
  font-size: 14px;
  line-height: 1.45;
}

.next-steps-label {
  font-family: "IBM Plex Mono", ui-monospace, monospace;
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink4, #8a847a);
  margin-right: 6px;
}

.next-steps-safety,
.next-steps-bridge {
  margin: 0 0 clamp(36px, 5vh, 52px);
  padding: clamp(22px, 3vw, 28px);
  border-radius: 18px;
  border: 1px solid rgba(26, 26, 24, 0.08);
  background: rgba(235, 231, 223, 0.4);
}

.next-steps-safety-title {
  margin: 0 0 8px;
  font-size: 18px;
  font-weight: 600;
  color: var(--ink, #1a1a18);
}

.next-steps-safety-body,
.next-steps-bridge-body {
  margin: 0 0 14px;
  font-size: 15px;
  line-height: 1.5;
  color: var(--ink2, #5e5e59);
}

.next-steps-page .answer-section {
  margin-top: clamp(28px, 4vh, 44px);
  max-width: none;
}

.next-steps-page .answer-section-title,
.next-steps-page .answer-section-lede,
.next-steps-page .next-steps-option,
.next-steps-page .next-steps-option p,
.next-steps-page .next-steps-step-text,
.next-steps-page .next-steps-safety-body,
.next-steps-page .next-steps-bridge-body,
.next-steps-page .next-steps-res-list {
  max-width: none;
}

/* Vital guides: simple stacked text, full width, tight rhythm — not a card grid */
.next-steps-option-list,
.next-steps-res-list {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 0;
  width: 100%;
}

.next-steps-option {
  padding: 14px 0;
  border: none;
  border-top: 1px solid rgba(26, 26, 24, 0.06);
  background: transparent;
}

.next-steps-option:first-child {
  border-top: none;
  padding-top: 0;
}

.next-steps-option-title {
  margin: 0 0 4px;
  font-size: 17px;
  font-weight: 500;
  letter-spacing: -0.02em;
  line-height: 1.3;
  color: var(--ink, #1a1a18);
}

.next-steps-option-meta {
  margin: 0;
  font-size: 13px;
  line-height: 1.45;
}

.next-steps-res {
  padding: 8px 0;
  border: none;
  font-size: 15px;
  line-height: 1.45;
}

.next-steps-res a {
  color: var(--ink, #1a1a18);
  font-weight: 500;
  text-underline-offset: 3px;
}

.next-steps-res a:hover,
.next-steps-res a:focus-visible {
  color: var(--brand, #e55f2f);
}

.next-steps-step-list {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 0;
  width: 100%;
}

.next-steps-step {
  padding: 14px 0;
  border: none;
  border-top: 1px solid rgba(26, 26, 24, 0.06);
}

.next-steps-step:first-child {
  border-top: none;
  padding-top: 0;
}

.next-steps-check {
  display: grid;
  grid-template-columns: auto auto 1fr;
  gap: 14px;
  align-items: start;
  cursor: pointer;
}

.next-steps-check input {
  margin-top: 5px;
}

.next-steps-step-num {
  font-family: "IBM Plex Mono", ui-monospace, monospace;
  font-size: 12px;
  color: var(--ink4, #8a847a);
  margin-top: 5px;
}

.next-steps-step-title {
  display: block;
  font-size: 18px;
  font-weight: 500;
  color: var(--ink, #1a1a18);
  margin-bottom: 8px;
}

.next-steps-step-text {
  display: block;
  font-size: 15px;
  line-height: 1.55;
  color: var(--ink2, #5e5e59);
}

.next-steps-step.is-done .next-steps-step-title {
  text-decoration: line-through;
  color: var(--ink4, #8a847a);
}

.next-steps-step-actions {
  margin: 8px 0 0 0;
  padding-left: 42px;
}

.next-steps-checklist .answer-section-lede {
  max-width: 42em;
}

.next-steps-toast {
  margin: 0 0 20px;
  padding: 12px 16px;
  border-radius: 12px;
  background: rgba(235, 231, 223, 0.7);
  border: 1px solid rgba(26, 26, 24, 0.08);
  font-size: 14px;
  color: var(--ink, #1a1a18);
}

@media (max-width: 860px) {
  .next-steps-hero,
  .next-steps-foot-invite {
    grid-template-columns: 1fr;
  }

  .next-steps-hotline-grid {
    grid-template-columns: 1fr;
  }

  .next-steps-pack {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .next-steps-pack-go {
    justify-self: start;
  }
}
