:root {
  --ink: #17110e;
  --paper: #f8efe0;
  --paper-2: #fff8ec;
  --ember: #ff5a2f;
  --ember-dark: #bd2f18;
  --acid: #ccff47;
  --char: #201a17;
  --muted: #7a6c62;
  --line: rgba(32, 26, 23, 0.14);
  --panel: rgba(255, 248, 236, 0.78);
  --shadow: 0 28px 90px rgba(50, 25, 10, 0.18);
  --mono: "IBM Plex Mono", "Courier New", monospace;
  --display: "Space Grotesk", "Trebuchet MS", sans-serif;
  --webview-height: 100vh;
  --webview-width: 100vw;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}

body {
  margin: 0;
  min-height: var(--webview-height);
  padding:
    env(safe-area-inset-top, 0)
    env(safe-area-inset-right, 0)
    env(safe-area-inset-bottom, 0)
    env(safe-area-inset-left, 0);
  background:
    radial-gradient(circle at 12% 10%, rgba(255, 90, 47, 0.28), transparent 32rem),
    radial-gradient(circle at 90% 0%, rgba(204, 255, 71, 0.24), transparent 28rem),
    linear-gradient(135deg, #f8efe0 0%, #f3dcc3 42%, #ead0b4 100%);
  color: var(--ink);
  font-family: var(--display);
  -webkit-tap-highlight-color: transparent;
}

body::before {
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  content: "";
  opacity: 0.38;
  background-image:
    linear-gradient(rgba(32, 26, 23, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(32, 26, 23, 0.05) 1px, transparent 1px);
  background-size: 42px 42px;
}

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

button,
input {
  font: inherit;
}

textarea {
  font: inherit;
}

button,
input,
textarea,
select {
  border-radius: 0;
  -webkit-appearance: none;
  appearance: none;
}

summary,
button,
a {
  touch-action: manipulation;
}

.is-in-app-browser body {
  min-height: var(--webview-height);
  overflow-x: hidden;
}

.is-in-app-browser .site-header,
.is-in-app-browser .dashboard-topbar {
  background: rgba(248, 239, 224, 0.96);
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
}

.is-in-app-browser input,
.is-in-app-browser textarea {
  font-size: 16px;
}

.is-in-app-browser .mobile-nav-menu nav,
.is-in-app-browser .dashboard-menu nav {
  max-height: min(72vh, calc(var(--webview-height) - 110px));
  overflow: auto;
  overscroll-behavior: contain;
}

.page-shell {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 16px;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin: 16px 0 40px;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(248, 239, 224, 0.78);
  box-shadow: 0 16px 60px rgba(32, 26, 23, 0.1);
  backdrop-filter: blur(18px);
}

.brand,
.nav-links,
.header-actions,
.nav-login,
.nav-cta {
  display: flex;
  align-items: center;
}

.brand {
  gap: 10px;
  font-weight: 800;
  letter-spacing: -0.04em;
}

.brand-mark {
  display: block;
  width: 42px;
  height: 42px;
  overflow: hidden;
  border-radius: 50%;
  object-fit: contain;
}

.nav-links {
  gap: 22px;
  color: var(--muted);
  font-size: 0.94rem;
  font-weight: 700;
}

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

.header-actions {
  gap: 14px;
}

.nav-login {
  min-height: 42px;
  padding: 0 6px;
  color: var(--ink);
  font-weight: 900;
  transition:
    color 180ms ease,
    transform 180ms ease;
}

.nav-login:hover {
  color: var(--ember-dark);
  transform: translateY(-1px);
}

.mobile-nav-menu {
  position: relative;
  display: none;
}

.mobile-nav-menu summary {
  display: grid;
  width: 44px;
  height: 44px;
  place-items: center;
  border: 2px solid var(--ink);
  border-radius: 999px;
  background: var(--paper-2);
  cursor: pointer;
  list-style: none;
  box-shadow: 4px 4px 0 var(--ember);
  transition:
    transform 180ms ease,
    box-shadow 180ms ease,
    background-color 180ms ease;
}

.mobile-nav-menu summary::-webkit-details-marker {
  display: none;
}

.mobile-nav-menu summary span {
  display: block;
  grid-area: 1 / 1;
  width: 18px;
  height: 2px;
  border-radius: 999px;
  background: var(--ink);
  transition:
    opacity 180ms ease,
    transform 180ms ease;
}

.mobile-nav-menu summary span:nth-child(1) {
  transform: translateY(-6px);
}

.mobile-nav-menu summary span:nth-child(3) {
  transform: translateY(6px);
}

.mobile-nav-menu[open] summary {
  background: var(--acid);
  transform: translate(-2px, -2px);
  box-shadow: 6px 6px 0 var(--ink);
}

.mobile-nav-menu[open] summary span:nth-child(1) {
  transform: rotate(45deg);
}

.mobile-nav-menu[open] summary span:nth-child(2) {
  opacity: 0;
}

.mobile-nav-menu[open] summary span:nth-child(3) {
  transform: rotate(-45deg);
}

.mobile-nav-menu nav {
  position: absolute;
  top: calc(100% + 12px);
  right: 0;
  display: grid;
  min-width: min(290px, calc(100vw - 32px));
  gap: 8px;
  padding: 14px;
  border: 2px solid var(--ink);
  border-radius: 24px;
  background: rgba(255, 248, 236, 0.96);
  box-shadow: 8px 8px 0 var(--ink), var(--shadow);
  backdrop-filter: blur(18px);
}

.mobile-nav-menu nav a {
  display: flex;
  align-items: center;
  min-height: 44px;
  padding: 0 14px;
  border-radius: 15px;
  color: var(--ink);
  font-weight: 900;
}

.mobile-nav-menu nav > a:hover,
.mobile-nav-actions a:not(.mobile-nav-cta):hover {
  background: rgba(204, 255, 71, 0.34);
}

.mobile-nav-actions {
  display: grid;
  gap: 8px;
  padding-top: 8px;
  border-top: 1px solid var(--line);
}

.mobile-nav-actions .mobile-nav-cta {
  justify-content: center;
  border: 2px solid var(--ink);
  background: var(--ink);
  color: var(--paper-2);
  box-shadow: 4px 4px 0 var(--ember);
}

.mobile-nav-actions .mobile-nav-cta:hover {
  background: var(--ember);
  color: var(--paper-2);
  transform: translate(-1px, -1px);
  box-shadow: 5px 5px 0 var(--ink);
}

.nav-cta {
  min-height: 42px;
  padding: 0 18px;
  border: 2px solid var(--ink);
  border-radius: 999px;
  background: var(--ink);
  color: var(--paper);
  font-weight: 800;
  box-shadow: 4px 4px 0 var(--ember);
}

.nav-cta,
.input-row button,
.final-cta a,
.pricing-cards a,
.flow-card button,
.stripe-button,
.running-board a,
.dashboard-hero a,
.dashboard-card a,
.plan-bottom-cta button,
.persona-submit-bar button,
.summary-edit-button {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  transform: translate(0, 0);
  transition:
    transform 180ms ease,
    box-shadow 180ms ease,
    background-color 180ms ease,
    color 180ms ease,
    border-color 180ms ease;
}

.nav-cta::after,
.input-row button::after,
.final-cta a::after,
.pricing-cards a::after,
.flow-card button::after,
.stripe-button::after,
.running-board a::after,
.dashboard-hero a::after,
.dashboard-card a::after,
.plan-bottom-cta button::after,
.persona-submit-bar button::after,
.summary-edit-button::after {
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(110deg, transparent 0%, rgba(255, 255, 255, 0.34) 45%, transparent 58%);
  content: "";
  opacity: 0;
  transform: translateX(-120%);
  transition:
    opacity 180ms ease,
    transform 520ms ease;
}

.nav-cta:hover,
.input-row button:hover,
.final-cta a:hover,
.pricing-cards a:hover,
.flow-card button:hover,
.stripe-button:hover,
.running-board a:hover,
.dashboard-hero a:hover,
.dashboard-card a:hover,
.plan-bottom-cta button:hover,
.persona-submit-bar button:hover,
.summary-edit-button:hover {
  transform: translate(-2px, -2px);
  box-shadow: 6px 6px 0 var(--ink), 0 12px 26px rgba(32, 26, 23, 0.16);
}

.nav-cta:hover::after,
.input-row button:hover::after,
.final-cta a:hover::after,
.pricing-cards a:hover::after,
.flow-card button:hover::after,
.stripe-button:hover::after,
.running-board a:hover::after,
.dashboard-hero a:hover::after,
.dashboard-card a:hover::after,
.plan-bottom-cta button:hover::after,
.persona-submit-bar button:hover::after,
.summary-edit-button:hover::after {
  opacity: 1;
  transform: translateX(120%);
}

.nav-cta:active,
.input-row button:active,
.final-cta a:active,
.pricing-cards a:active,
.flow-card button:active,
.stripe-button:active,
.running-board a:active,
.dashboard-hero a:active,
.dashboard-card a:active,
.plan-bottom-cta button:active,
.persona-submit-bar button:active,
.summary-edit-button:active {
  transform: translate(1px, 1px);
  box-shadow: 2px 2px 0 var(--ink);
}

.nav-cta:focus-visible,
.nav-login:focus-visible,
.input-row button:focus-visible,
.final-cta a:focus-visible,
.pricing-cards a:focus-visible,
.flow-card button:focus-visible,
.stripe-button:focus-visible,
.running-board a:focus-visible,
.dashboard-hero a:focus-visible,
.dashboard-card a:focus-visible,
.plan-bottom-cta button:focus-visible,
.persona-submit-bar button:focus-visible,
.summary-edit-button:focus-visible {
  outline: 3px solid var(--acid);
  outline-offset: 4px;
}

.hero-section {
  display: grid;
  grid-template-columns: minmax(0, 1.04fr) minmax(360px, 0.96fr);
  gap: 34px;
  align-items: center;
  padding: 24px 0 42px;
}

.hero-copy,
.hero-visual,
.section,
.page-hero,
.site-footer,
.final-cta {
  animation: rise-in 720ms ease both;
}

.eyebrow {
  width: fit-content;
  margin: 0 0 16px;
  padding: 8px 12px;
  border: 1px solid rgba(32, 26, 23, 0.2);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.42);
  color: var(--ember-dark);
  font-family: var(--mono);
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  max-width: 820px;
  margin-bottom: 22px;
  font-size: clamp(3.2rem, 8vw, 6.9rem);
  line-height: 0.86;
  letter-spacing: -0.08em;
}

h2 {
  margin-bottom: 16px;
  font-size: clamp(2.15rem, 4vw, 4.15rem);
  line-height: 0.95;
  letter-spacing: -0.065em;
}

h3 {
  margin-bottom: 10px;
  font-size: 1.1rem;
  letter-spacing: -0.025em;
}

.hero-lede,
.section-heading p,
.pricing-copy p {
  max-width: 660px;
  color: #51453d;
  font-size: clamp(1.05rem, 1.5vw, 1.22rem);
  line-height: 1.65;
}

.url-card {
  max-width: 680px;
  margin: 30px 0 22px;
  padding: 12px;
  border: 2px solid var(--ink);
  border-radius: 26px;
  background: var(--paper-2);
  box-shadow: 8px 8px 0 var(--ink);
}

.url-card label {
  display: block;
  margin: 4px 8px 10px;
  color: var(--muted);
  font-family: var(--mono);
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
}

.input-row {
  display: flex;
  gap: 10px;
}

.input-row input {
  min-width: 0;
  flex: 1;
  border: 1px solid rgba(32, 26, 23, 0.14);
  border-radius: 18px;
  padding: 17px 18px;
  background: #fffaf1;
  color: var(--ink);
  outline: none;
}

.input-row input:focus {
  border-color: var(--ember);
  box-shadow: 0 0 0 4px rgba(255, 90, 47, 0.13);
}

.input-row button,
.final-cta a,
.pricing-cards a {
  border: 0;
  border-radius: 18px;
  background: var(--ember);
  color: #fff8ec;
  cursor: pointer;
  font-weight: 900;
}

.input-row button {
  padding: 0 24px;
}

.form-note {
  margin: 10px 8px 2px;
  color: var(--muted);
  font-family: var(--mono);
  font-size: 0.78rem;
  line-height: 1.45;
}

.form-note.is-error,
.form-note.is-warning {
  padding: 10px 12px;
  border-radius: 14px;
}

.form-note.is-error {
  background: rgba(255, 90, 47, 0.12);
  color: var(--ember-dark);
}

.form-note.is-warning {
  background: rgba(204, 255, 71, 0.18);
  color: var(--ink);
}

.terms-note {
  margin: -2px 8px 0;
  color: var(--muted);
  font-size: 0.76rem;
  line-height: 1.45;
}

.terms-note a {
  color: var(--ember-dark);
  font-weight: 900;
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

.optional-label {
  color: var(--ember-dark);
  font-family: var(--display);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: normal;
  text-transform: none;
}

.hero-stats {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.hero-stats div {
  min-width: 140px;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 22px;
  background: rgba(255, 248, 236, 0.58);
}

.hero-stats strong,
.hero-stats span {
  display: block;
}

.hero-stats strong {
  font-family: var(--mono);
  font-size: 1.5rem;
}

.hero-stats span {
  color: var(--muted);
  font-size: 0.88rem;
  font-weight: 700;
}

.hero-visual {
  position: relative;
  overflow: hidden;
  border: 2px solid var(--ink);
  border-radius: 32px;
  background:
    radial-gradient(circle at 20% 10%, rgba(255, 90, 47, 0.35), transparent 18rem),
    linear-gradient(145deg, #241713 0%, #120f0e 100%);
  color: #fff7ed;
  box-shadow: 14px 14px 0 var(--ink), var(--shadow);
}

.hero-visual::after {
  position: absolute;
  right: -70px;
  bottom: -90px;
  width: 220px;
  height: 220px;
  border-radius: 50%;
  background: var(--acid);
  filter: blur(8px);
  opacity: 0.26;
  content: "";
}

.browser-bar {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 18px;
  border-bottom: 1px solid rgba(255, 248, 236, 0.12);
}

.browser-bar span {
  width: 11px;
  height: 11px;
  border-radius: 50%;
  background: var(--ember);
}

.browser-bar span:nth-child(2) {
  background: #ffcf4a;
}

.browser-bar span:nth-child(3) {
  background: var(--acid);
}

.browser-bar p {
  margin: 0 0 0 auto;
  color: rgba(255, 248, 236, 0.52);
  font-family: var(--mono);
  font-size: 0.74rem;
}

.score-card,
.chat-stack {
  position: relative;
  z-index: 1;
  margin: 18px;
}

.score-card {
  padding: 20px;
  border: 1px solid rgba(255, 248, 236, 0.14);
  border-radius: 26px;
  background: rgba(255, 248, 236, 0.07);
}

.score-card > div:first-child {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 14px;
}

.label,
.agent-message span,
.terminal-line,
.priority,
.plan-label {
  font-family: var(--mono);
  text-transform: uppercase;
}

.label {
  color: rgba(255, 248, 236, 0.58);
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.08em;
}

#friction-score {
  color: var(--acid);
  font-family: var(--mono);
  font-size: 4.4rem;
  line-height: 0.85;
}

.score-meter {
  overflow: hidden;
  height: 12px;
  margin: 18px 0 12px;
  border-radius: 999px;
  background: rgba(255, 248, 236, 0.1);
}

.score-meter span {
  display: block;
  width: 87%;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, #2fe878, #ffcf4a, var(--ember));
  transition: width 600ms ease;
}

.score-card p {
  margin: 0;
  color: rgba(255, 248, 236, 0.64);
  line-height: 1.5;
}

.chat-stack {
  display: grid;
  gap: 12px;
  padding-bottom: 18px;
}

.agent-message {
  padding: 16px;
  border: 1px solid rgba(255, 248, 236, 0.12);
  border-left: 5px solid var(--ember);
  border-radius: 20px;
  background: rgba(255, 248, 236, 0.08);
  animation: message-pop 480ms ease both;
}

.agent-message div {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 8px;
}

.agent-message strong {
  font-size: 0.94rem;
}

.agent-message span {
  color: rgba(255, 248, 236, 0.52);
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.08em;
}

.agent-message p {
  margin: 0;
  color: rgba(255, 248, 236, 0.78);
  font-family: var(--mono);
  font-size: 0.82rem;
  line-height: 1.55;
}

.agent-message.good {
  border-left-color: var(--acid);
}

.agent-message.warning {
  border-left-color: #ffcf4a;
}

.ticker {
  overflow: hidden;
  margin: 10px 0 84px;
  border-block: 2px solid var(--ink);
  background: var(--acid);
  transform: rotate(-1deg);
}

.ticker div {
  display: flex;
  width: max-content;
  gap: 0;
  padding: 14px 0;
  animation: ticker 46s linear infinite;
  will-change: transform;
}

.ticker span {
  flex: 0 0 auto;
  padding-right: 44px;
  font-family: var(--mono);
  font-size: 0.86rem;
  font-weight: 900;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.section {
  margin-bottom: 92px;
}

.split-section {
  display: grid;
  grid-template-columns: 0.82fr 1.18fr;
  gap: 42px;
  align-items: start;
}

.steps {
  display: grid;
  gap: 16px;
}

.steps article,
.pipeline-card,
.report-card,
.persona-card,
.pricing-cards article,
.final-cta {
  border: 2px solid var(--ink);
  border-radius: 28px;
  background: var(--panel);
  box-shadow: 8px 8px 0 var(--ink);
}

.steps article {
  padding: 24px;
}

.steps span {
  display: inline-grid;
  width: 44px;
  height: 44px;
  margin-bottom: 14px;
  place-items: center;
  border: 2px solid var(--ink);
  border-radius: 50%;
  background: var(--ember);
  color: white;
  font-family: var(--mono);
  font-weight: 900;
}

.steps p,
.pipeline-card p,
.report-card li,
.persona-row p,
.pricing-cards p {
  color: #5f5148;
  line-height: 1.55;
}

.section-heading {
  max-width: 800px;
  margin-bottom: 28px;
}

.product-grid {
  display: grid;
  grid-template-columns: 1.08fr 0.92fr;
  gap: 18px;
}

.pipeline-card,
.report-card,
.persona-card {
  padding: 24px;
}

.pipeline-card {
  grid-row: span 2;
  min-height: 440px;
  background:
    radial-gradient(circle at 10% 0%, rgba(255, 90, 47, 0.22), transparent 18rem),
    rgba(255, 248, 236, 0.82);
}

.pipeline {
  display: grid;
  grid-template-columns: 1fr 52px 1fr 52px 1fr;
  align-items: center;
  margin: 40px 0;
}

.node {
  display: grid;
  min-height: 112px;
  place-items: center;
  padding: 16px;
  border: 2px solid var(--ink);
  border-radius: 24px;
  background: #fff8ec;
  text-align: center;
}

.node span {
  color: var(--muted);
  font-family: var(--mono);
  font-size: 0.72rem;
}

.safe {
  box-shadow: 6px 6px 0 #42d972;
}

.warn {
  box-shadow: 6px 6px 0 #ffcf4a;
}

.danger-node {
  box-shadow: 6px 6px 0 var(--ember);
}

.path {
  height: 8px;
  border: 2px solid var(--ink);
  border-inline: 0;
}

.warning-path {
  background: repeating-linear-gradient(90deg, #ffcf4a 0 12px, transparent 12px 20px);
}

.danger-path {
  background: repeating-linear-gradient(90deg, var(--ember) 0 12px, transparent 12px 20px);
}

.terminal-line {
  margin: 0;
  padding: 16px;
  border-radius: 16px;
  background: var(--char);
  color: rgba(255, 248, 236, 0.74) !important;
  font-size: 0.78rem;
}

.report-card ul {
  display: grid;
  gap: 12px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.report-card li {
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.38);
}

.priority {
  display: block;
  width: fit-content;
  margin-bottom: 8px;
  padding: 5px 8px;
  border-radius: 999px;
  color: white;
  font-size: 0.64rem;
  font-weight: 900;
}

.priority.high {
  background: var(--ember);
}

.priority.med {
  background: #a36c00;
}

.priority.low {
  background: #196b38;
}

.persona-card {
  display: grid;
  gap: 14px;
}

.persona-row {
  display: flex;
  gap: 13px;
  align-items: flex-start;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.38);
}

.persona-row > span {
  display: grid;
  flex: 0 0 42px;
  height: 42px;
  place-items: center;
  border-radius: 50%;
  background: var(--ink);
  color: var(--acid);
  font-family: var(--mono);
  font-weight: 900;
}

.persona-row p {
  margin: 4px 0 0;
  font-size: 0.9rem;
}

.roast-wall {
  padding: 46px;
  border: 2px solid var(--ink);
  border-radius: 36px;
  background: var(--char);
  color: var(--paper);
  box-shadow: 10px 10px 0 var(--ember);
}

.roast-wall .eyebrow {
  background: rgba(204, 255, 71, 0.12);
  color: var(--acid);
}

.roast-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

blockquote {
  margin: 0;
  padding: 24px;
  border: 1px solid rgba(255, 248, 236, 0.14);
  border-radius: 24px;
  background: rgba(255, 248, 236, 0.07);
  font-size: 1.2rem;
  font-weight: 800;
  letter-spacing: -0.035em;
  line-height: 1.2;
}

cite {
  display: block;
  margin-top: 18px;
  color: rgba(255, 248, 236, 0.52);
  font-family: var(--mono);
  font-size: 0.74rem;
  font-style: normal;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.pricing-section {
  display: grid;
  grid-template-columns: 0.78fr 1.22fr;
  gap: 32px;
  align-items: start;
}

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

.pricing-cards article {
  display: flex;
  min-height: 320px;
  flex-direction: column;
  padding: 22px;
}

.featured-plan {
  background: var(--acid) !important;
  transform: translateY(-14px);
}

.plan-label {
  color: var(--ember-dark);
  font-size: 0.72rem;
  font-weight: 900;
  letter-spacing: 0.08em;
}

.pricing-cards strong {
  display: block;
  margin: 16px 0 12px;
  font-size: 2.8rem;
  letter-spacing: -0.065em;
}

.sale-kicker {
  width: fit-content;
  margin: 14px 0 -8px;
  padding: 7px 10px;
  border: 1px solid rgba(255, 79, 47, 0.35);
  border-radius: 999px;
  background: rgba(255, 79, 47, 0.1);
  color: var(--ember-dark) !important;
  font-family: var(--mono);
  font-size: 0.68rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  line-height: 1;
  text-transform: uppercase;
}

.sale-price {
  display: flex !important;
  flex-wrap: wrap;
  gap: 10px;
  align-items: baseline;
}

.sale-price s {
  color: rgba(32, 26, 23, 0.48);
  font-size: 0.72em;
  text-decoration-color: var(--ember);
  text-decoration-thickness: 4px;
}

.sale-price span {
  color: var(--ink);
}

.pricing-cards a {
  display: grid;
  min-height: 48px;
  margin-top: auto;
  place-items: center;
}

.page-hero {
  max-width: 960px;
  margin: 0 0 72px;
  padding: 22px 0 10px;
}

.page-hero p:not(.eyebrow) {
  max-width: 760px;
  color: #51453d;
  font-size: clamp(1.08rem, 1.8vw, 1.28rem);
  line-height: 1.65;
}

.process-board {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.process-board article,
.insight-list article,
.sample-score,
.faq-grid article,
.plan-detail-card,
.plan-bottom-cta,
.comparison-card,
.comparison-grid article,
.selected-persona-grid article,
.persona-depth-section,
.persona-depth-grid article,
.persona-profile-preview,
.profile-card,
.copy-grid article,
.objection-table,
.after-purchase,
.legal-page,
.site-footer {
  border: 2px solid var(--ink);
  border-radius: 28px;
  background: var(--panel);
  box-shadow: 8px 8px 0 var(--ink);
}

.process-board article {
  min-height: 340px;
  padding: 22px;
}

.process-board span {
  display: inline-grid;
  width: 46px;
  height: 46px;
  margin-bottom: 24px;
  place-items: center;
  border: 2px solid var(--ink);
  border-radius: 50%;
  background: var(--acid);
  font-family: var(--mono);
  font-weight: 900;
}

.process-board h2 {
  font-size: clamp(1.65rem, 2.4vw, 2.4rem);
}

.process-board p,
.insight-list p,
.sample-score p,
.faq-grid p,
.plan-bottom-cta p,
.selected-persona-grid p,
.persona-depth-section p,
.persona-profile-preview p,
.copy-grid p,
.comparison-card p,
.plan-detail-card p,
.legal-page p {
  color: #5f5148;
  line-height: 1.62;
}

.insight-list {
  display: grid;
  gap: 14px;
}

.insight-list article {
  padding: 22px;
}

.insight-list strong {
  display: block;
  margin-bottom: 8px;
  font-size: 1.15rem;
}

.sample-layout {
  display: grid;
  grid-template-columns: 0.78fr 1.22fr;
  gap: 20px;
  align-items: start;
}

.sample-score {
  position: sticky;
  top: 120px;
  padding: 28px;
  background:
    radial-gradient(circle at 90% 12%, rgba(204, 255, 71, 0.4), transparent 12rem),
    var(--char);
  color: var(--paper-2);
}

.sample-score strong {
  display: block;
  margin: 14px 0 10px;
  color: var(--acid);
  font-family: var(--mono);
  font-size: clamp(5rem, 10vw, 8rem);
  line-height: 0.85;
}

.sample-score p {
  color: rgba(255, 248, 236, 0.72);
}

.sample-meta {
  display: grid;
  gap: 10px;
  margin: 22px 0 0;
}

.sample-meta div {
  padding: 12px;
  border: 1px solid rgba(255, 248, 236, 0.14);
  border-radius: 14px;
  background: rgba(255, 248, 236, 0.07);
}

.sample-meta dt {
  color: rgba(255, 248, 236, 0.46);
  font-family: var(--mono);
  font-size: 0.68rem;
  font-weight: 900;
  text-transform: uppercase;
}

.sample-meta dd {
  margin: 4px 0 0;
  color: rgba(255, 248, 236, 0.84);
  font-weight: 800;
}

.sample-feed {
  display: grid;
  gap: 16px;
}

.sample-feed .agent-message {
  background: var(--char);
  color: var(--paper-2);
}

.sample-overview-card {
  background: var(--acid) !important;
}

.sample-overview-card p {
  color: #51453d;
  line-height: 1.6;
}

.persona-snapshot-card {
  background: rgba(255, 248, 236, 0.82);
}

.persona-snapshot-card h2 {
  margin-bottom: 8px;
}

.persona-snapshot-card p {
  color: #51453d;
  line-height: 1.5;
}

.report-section {
  margin-bottom: 78px;
}

.selected-persona-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.selected-persona-grid article,
.copy-grid article {
  padding: 22px;
}

.selected-persona-grid strong {
  display: block;
  margin-bottom: 8px;
  font-size: 1.1rem;
}

.persona-depth-section,
.persona-profile-preview {
  display: grid;
  grid-template-columns: 0.82fr 1.18fr;
  gap: 24px;
  align-items: start;
  padding: clamp(26px, 4vw, 42px);
  background:
    radial-gradient(circle at 90% 10%, rgba(204, 255, 71, 0.45), transparent 18rem),
    var(--paper-2);
}

.persona-depth-section h2,
.persona-profile-preview h2 {
  font-size: clamp(2rem, 3.6vw, 3.6rem);
}

.persona-depth-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
}

.persona-depth-grid article {
  padding: 18px;
  box-shadow: 4px 4px 0 var(--ink);
}

.persona-depth-grid strong {
  display: block;
  margin-bottom: 6px;
  font-size: 1rem;
}

.persona-depth-grid span {
  color: #5f5148;
  line-height: 1.45;
}

.profile-card {
  padding: 24px;
  background: var(--char);
  color: var(--paper-2);
}

.profile-card h3 {
  font-size: clamp(1.6rem, 3vw, 2.6rem);
}

.profile-card dl {
  display: grid;
  gap: 10px;
  margin: 0;
}

.profile-card div {
  padding: 13px;
  border: 1px solid rgba(255, 248, 236, 0.14);
  border-radius: 14px;
  background: rgba(255, 248, 236, 0.07);
}

.profile-card dt {
  color: var(--acid);
  font-family: var(--mono);
  font-size: 0.7rem;
  font-weight: 900;
  text-transform: uppercase;
}

.profile-card dd {
  margin: 5px 0 0;
  color: rgba(255, 248, 236, 0.82);
  line-height: 1.45;
}

.copy-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}

.copy-grid p {
  margin-bottom: 0;
  color: var(--ink);
  font-size: clamp(1.25rem, 2vw, 1.75rem);
  font-weight: 900;
  letter-spacing: -0.04em;
  line-height: 1.14;
}

.copy-grid article:last-child {
  background: var(--acid);
}

.objection-table {
  display: grid;
  overflow: hidden;
  background: var(--paper-2);
}

.objection-table div {
  display: grid;
  grid-template-columns: 180px 1fr;
  gap: 18px;
  padding: 18px 22px;
  border-bottom: 1px solid var(--line);
}

.objection-table div:last-child {
  border-bottom: 0;
}

.objection-table strong {
  font-family: var(--mono);
  color: var(--ember-dark);
}

.objection-table span {
  color: #51453d;
  line-height: 1.45;
}

.pricing-page-cards {
  margin-top: -34px;
}

.faq-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.faq-grid article {
  padding: 24px;
}

.faq-grid h2 {
  font-size: clamp(1.45rem, 2vw, 2rem);
}

.legal-page {
  max-width: 860px;
  margin: 0 auto 72px;
  padding: clamp(28px, 5vw, 58px);
}

.legal-policy-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 0 0 28px;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 24px;
  background: rgba(255, 248, 236, 0.72);
}

.legal-policy-nav a {
  padding: 9px 12px;
  border: 1px solid rgba(32, 26, 23, 0.12);
  border-radius: 999px;
  background: var(--paper-2);
  color: var(--ink);
  font-family: var(--mono);
  font-size: 0.72rem;
  font-weight: 900;
  text-decoration: none;
  text-transform: uppercase;
}

.legal-policy-nav a:hover {
  background: var(--acid);
  color: var(--ink);
}

.legal-page section {
  margin: 24px 0;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 24px;
  background: rgba(255, 248, 236, 0.58);
}

.legal-page h1 {
  font-size: clamp(3rem, 7vw, 5.8rem);
}

.legal-page h2 {
  margin-top: 34px;
  font-size: clamp(1.45rem, 2vw, 2.2rem);
}

.legal-page section h2 {
  margin-top: 0;
}

.legal-page p {
  color: #51453d;
  line-height: 1.64;
}

.legal-page a {
  color: var(--ember-dark);
  font-weight: 900;
  text-decoration: underline;
  text-decoration-thickness: 2px;
  text-underline-offset: 4px;
}

.legal-updated {
  font-family: var(--mono);
  font-size: 0.84rem;
  font-weight: 800;
  text-transform: uppercase;
}

.blog-hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 0.38fr);
  gap: 28px;
  align-items: stretch;
  margin: 0 0 42px;
}

.blog-hero > div,
.blog-hero aside,
.blog-card,
.article-hero,
.article-featured-card,
.table-of-contents,
.article-page article section,
.author-box {
  border: 2px solid var(--ink);
  border-radius: 32px;
  box-shadow: 9px 9px 0 var(--ink);
}

.blog-hero > div {
  padding: clamp(34px, 6vw, 72px);
  background:
    radial-gradient(circle at 86% 12%, rgba(204, 255, 71, 0.52), transparent 22rem),
    var(--paper-2);
}

.blog-hero h1 {
  max-width: 900px;
  font-size: clamp(4rem, 8vw, 7.8rem);
}

.blog-hero p:not(.eyebrow) {
  max-width: 760px;
  color: #51453d;
  font-size: clamp(1.18rem, 2vw, 1.55rem);
  line-height: 1.55;
}

.blog-hero aside {
  display: grid;
  align-content: end;
  padding: 28px;
  background: var(--acid);
}

.blog-hero aside span,
.blog-meta,
.article-byline,
.breadcrumbs {
  color: var(--ember-dark);
  font-family: var(--mono);
  font-size: 0.82rem;
  font-weight: 900;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.blog-hero aside strong {
  margin: 8px 0;
  font-size: clamp(2rem, 3vw, 3rem);
  letter-spacing: -0.06em;
  line-height: 0.95;
}

.blog-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  margin: 0 0 64px;
}

.blog-card {
  overflow: hidden;
  background: var(--paper-2);
}

.blog-card a {
  display: grid;
  height: 100%;
  color: inherit;
}

.featured-blog-card {
  grid-column: span 2;
}

.blog-card-art {
  display: grid;
  min-height: 210px;
  place-items: center;
  background:
    linear-gradient(rgba(32, 26, 23, 0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(32, 26, 23, 0.06) 1px, transparent 1px),
    radial-gradient(circle at 78% 20%, rgba(255, 90, 47, 0.45), transparent 14rem),
    var(--acid);
  background-size: 32px 32px, 32px 32px, auto, auto;
  text-align: center;
}

.blog-card-art span {
  display: block;
  font-size: clamp(3.4rem, 7vw, 6.4rem);
  font-weight: 900;
  letter-spacing: -0.1em;
  line-height: 0.85;
}

.blog-card-art small {
  display: block;
  font-family: var(--mono);
  font-weight: 900;
  text-transform: uppercase;
}

.blog-card-copy {
  display: grid;
  gap: 12px;
  padding: 24px;
}

.blog-card h2,
.blog-card h3 {
  margin: 0;
  font-size: clamp(1.55rem, 2.5vw, 2.6rem);
  letter-spacing: -0.06em;
  line-height: 1;
}

.blog-card p {
  margin: 0;
  color: #51453d;
  line-height: 1.5;
}

.read-more {
  width: fit-content;
  margin-top: 8px;
  padding: 10px 14px;
  border: 2px solid var(--ink);
  border-radius: 999px;
  background: var(--ink);
  color: var(--paper-2);
  font-weight: 900;
  box-shadow: 4px 4px 0 var(--ember);
}

.blog-card.is-planned {
  opacity: 0.82;
}

.blog-card.is-planned .blog-card-art {
  background:
    linear-gradient(rgba(32, 26, 23, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(32, 26, 23, 0.05) 1px, transparent 1px),
    var(--paper);
  background-size: 32px 32px;
}

.breadcrumbs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0 0 18px;
}

.breadcrumbs a {
  color: var(--ink);
}

.article-page {
  max-width: 980px;
  margin: 0 auto;
}

.article-hero {
  padding: clamp(34px, 6vw, 70px);
  background:
    radial-gradient(circle at 88% 14%, rgba(204, 255, 71, 0.5), transparent 18rem),
    var(--paper-2);
}

.article-hero h1 {
  font-size: clamp(3.4rem, 7vw, 6.8rem);
}

.article-hero > p {
  max-width: 780px;
  color: #51453d;
  font-size: clamp(1.18rem, 2vw, 1.45rem);
  line-height: 1.55;
}

.article-byline {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 18px;
  margin-top: 24px;
}

.article-featured-card {
  display: grid;
  grid-template-columns: 180px 1fr;
  gap: 24px;
  align-items: center;
  margin: 30px 0;
  padding: 26px;
  background: var(--char);
  color: var(--paper-2);
}

.article-featured-card div {
  display: grid;
  min-height: 130px;
  place-items: center;
  border-radius: 24px;
  background: var(--acid);
  color: var(--ink);
}

.article-featured-card span {
  font-size: 4.6rem;
  font-weight: 900;
  letter-spacing: -0.08em;
  line-height: 0.85;
}

.article-featured-card small {
  font-family: var(--mono);
  font-weight: 900;
  text-transform: uppercase;
}

.article-featured-card p {
  margin: 0;
  font-size: clamp(1.35rem, 2.5vw, 2rem);
  font-weight: 900;
  letter-spacing: -0.04em;
  line-height: 1.15;
}

.table-of-contents {
  margin: 0 0 30px;
  padding: 26px;
  background: var(--paper-2);
}

.table-of-contents h2 {
  font-size: clamp(1.5rem, 2vw, 2rem);
}

.table-of-contents ol {
  display: grid;
  gap: 10px;
  margin: 16px 0 0;
  padding-left: 22px;
}

.table-of-contents a {
  color: var(--ember-dark);
  font-weight: 900;
  text-decoration: underline;
  text-underline-offset: 4px;
}

.article-page article section {
  margin: 0 0 24px;
  padding: clamp(28px, 5vw, 48px);
  background: rgba(255, 248, 236, 0.78);
}

.article-page article section h2 {
  font-size: clamp(2rem, 4vw, 3.4rem);
}

.article-page article section p,
.article-page article section li {
  color: #423730;
  font-size: 1.08rem;
  line-height: 1.72;
}

.article-example {
  display: grid;
  gap: 8px;
  margin-top: 22px;
  padding: 22px;
  border-radius: 22px;
  background: var(--paper-2);
}

.article-example p {
  margin: 0 0 10px;
  font-weight: 900;
  letter-spacing: -0.03em;
}

.article-cta {
  background:
    radial-gradient(circle at 90% 12%, rgba(204, 255, 71, 0.48), transparent 18rem),
    var(--ember) !important;
  color: var(--paper-2);
}

.article-cta h2 {
  color: var(--paper-2);
}

.article-cta a {
  display: inline-grid;
  min-height: 54px;
  margin-top: 8px;
  padding: 0 22px;
  place-items: center;
  border: 2px solid var(--ink);
  border-radius: 999px;
  background: var(--ink);
  color: var(--paper-2);
  font-weight: 900;
  box-shadow: 4px 4px 0 var(--acid);
}

.article-checklist {
  display: grid;
  gap: 10px;
  margin: 20px 0 0;
  padding-left: 22px;
}

.author-box {
  display: grid;
  grid-template-columns: 92px 1fr;
  gap: 22px;
  align-items: center;
  margin: 30px 0 64px;
  padding: 26px;
  background: var(--paper-2);
}

.author-avatar {
  display: grid;
  width: 82px;
  height: 82px;
  place-items: center;
  border: 4px solid var(--ink);
  border-radius: 999px;
  background: var(--acid);
  font-size: 2.4rem;
  font-weight: 900;
  box-shadow: 5px 5px 0 var(--ink);
}

.author-box h2 {
  font-size: clamp(1.6rem, 3vw, 2.4rem);
}

.author-box p {
  margin: 8px 0 0;
  color: #51453d;
  line-height: 1.55;
}

.recommended-posts {
  margin-bottom: 64px;
}

.compact-blog-grid {
  grid-template-columns: 1fr 1fr;
  margin-bottom: 0;
}

.final-cta {
  margin: 0 0 64px;
  padding: 54px;
  background:
    radial-gradient(circle at 85% 10%, rgba(204, 255, 71, 0.48), transparent 22rem),
    var(--ember);
  color: var(--paper-2);
  text-align: center;
}

.final-cta .eyebrow {
  margin-inline: auto;
  background: rgba(32, 26, 23, 0.18);
  color: #fff8ec;
}

.final-cta h2 {
  max-width: 900px;
  margin-inline: auto;
}

.final-cta a {
  display: inline-grid;
  min-height: 56px;
  margin-top: 10px;
  padding: 0 28px;
  place-items: center;
  border: 2px solid var(--ink);
  background: var(--ink);
  box-shadow: 5px 5px 0 var(--acid);
}

.final-cta-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  justify-content: center;
  margin-top: 10px;
}

.final-cta-actions a {
  margin-top: 0;
}

.final-cta-actions .secondary-action {
  background: var(--paper-2);
  color: var(--ink);
}

.site-footer {
  display: grid;
  grid-template-columns: minmax(260px, 420px) minmax(0, 1fr);
  gap: 32px;
  align-items: end;
  margin: 0 0 28px;
  padding: 26px;
}

.site-footer p {
  max-width: 480px;
  margin: 16px 0 0;
  color: #5f5148;
  line-height: 1.5;
}

.footer-brand {
  width: fit-content;
}

.site-footer nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 12px 18px;
}

.site-footer nav a[href$="cookie-policy.html"],
.site-footer nav a[href$="data-processing-agreement.html"],
.site-footer nav a[href$="ai-governance-policy.html"],
.site-footer nav a[href$="data-request.html"] {
  display: none;
}

.site-footer nav a {
  color: var(--muted);
  font-family: var(--mono);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.site-footer nav a:hover {
  color: var(--ink);
}

.flow-layout,
.plan-landing,
.checkout-layout,
.auth-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(340px, 460px);
  gap: 34px;
  align-items: start;
  margin-bottom: 84px;
}

.login-layout {
  align-items: center;
  min-height: calc(var(--webview-height) - 190px);
}

.login-layout .page-hero {
  margin-bottom: 0;
}

.login-layout .page-hero h1 {
  max-width: 720px;
}

.login-layout .page-hero p:not(.eyebrow) {
  max-width: 580px;
}

.dashboard-topbar {
  position: sticky;
  top: 16px;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin: 16px 0 38px;
  padding: 10px 12px;
  border: 1px solid var(--line);
  border-radius: 24px;
  background: rgba(248, 239, 224, 0.82);
  box-shadow: 0 16px 60px rgba(32, 26, 23, 0.1);
  backdrop-filter: blur(18px);
}

.dashboard-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 900;
  letter-spacing: -0.04em;
}

.dashboard-menu {
  position: relative;
}

.dashboard-menu summary {
  display: grid;
  width: 48px;
  height: 48px;
  place-items: center;
  border: 2px solid var(--ink);
  border-radius: 16px;
  background: var(--ink);
  cursor: pointer;
  box-shadow: 4px 4px 0 var(--ember);
  list-style: none;
}

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

.dashboard-menu summary span {
  display: block;
  width: 20px;
  height: 2px;
  border-radius: 999px;
  background: var(--paper-2);
}

.dashboard-menu nav {
  position: absolute;
  top: calc(100% + 12px);
  right: 0;
  display: grid;
  min-width: 260px;
  padding: 12px;
  border: 2px solid var(--ink);
  border-radius: 22px;
  background: var(--paper-2);
  box-shadow: 8px 8px 0 var(--ink);
}

.dashboard-menu nav a {
  padding: 13px 14px;
  border-radius: 14px;
  color: #51453d;
  font-weight: 800;
}

.dashboard-menu nav a:hover {
  background: rgba(204, 255, 71, 0.36);
  color: var(--ink);
}

.dashboard-menu nav .logout-link {
  margin-top: 8px;
  border-top: 1px solid var(--line);
  border-radius: 0 0 14px 14px;
  color: var(--ember-dark);
}

.dashboard-hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 24px;
  align-items: end;
  margin-bottom: 30px;
}

.dashboard-hero h1 {
  max-width: 920px;
  margin-bottom: 14px;
}

.dashboard-hero p:not(.eyebrow) {
  max-width: 700px;
  color: #51453d;
  font-size: clamp(1.05rem, 1.6vw, 1.22rem);
  line-height: 1.62;
}

.dashboard-hero a,
.dashboard-card a {
  display: grid;
  min-height: 52px;
  width: fit-content;
  place-items: center;
  padding: 0 22px;
  border: 2px solid var(--ink);
  border-radius: 16px;
  background: var(--ember);
  color: var(--paper-2);
  font-weight: 900;
  box-shadow: 4px 4px 0 var(--ink);
}

.dashboard-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(320px, 0.85fr);
  gap: 20px;
  align-items: start;
  margin-bottom: 20px;
}

.dashboard-side {
  display: grid;
  gap: 20px;
}

.dashboard-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-bottom: 72px;
}

.dashboard-card {
  padding: 24px;
  border: 2px solid var(--ink);
  border-radius: 28px;
  background: var(--panel);
  box-shadow: 8px 8px 0 var(--ink);
}

.latest-report-card {
  min-height: 480px;
  background:
    radial-gradient(circle at 88% 10%, rgba(204, 255, 71, 0.5), transparent 18rem),
    var(--paper-2);
}

.upgrade-card {
  background:
    radial-gradient(circle at 92% 14%, rgba(255, 90, 47, 0.2), transparent 14rem),
    var(--acid);
}

.dashboard-card-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  margin-bottom: 22px;
}

.status-pill {
  padding: 7px 10px;
  border-radius: 999px;
  background: var(--ink);
  color: var(--acid);
  font-family: var(--mono);
  font-size: 0.72rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.dashboard-card h2 {
  font-size: clamp(1.8rem, 3vw, 3.3rem);
}

.dashboard-card p {
  color: #5f5148;
  line-height: 1.58;
}

.mini-progress {
  height: 16px;
  overflow: hidden;
  margin: 24px 0;
  border: 2px solid var(--ink);
  border-radius: 999px;
  background: rgba(32, 26, 23, 0.08);
}

.mini-progress span {
  display: block;
  width: 62%;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--ember), var(--acid));
}

.latest-report-card.is-ready .status-pill {
  background: var(--acid);
  color: var(--ink);
}

.latest-report-card.is-ready .mini-progress span {
  width: 100%;
}

.dashboard-list {
  display: grid;
  gap: 10px;
  margin: 0 0 24px;
  padding: 0;
  list-style: none;
}

.dashboard-list li {
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.46);
  color: #51453d;
  line-height: 1.45;
}

.dashboard-list b {
  color: var(--ink);
}

.dashboard-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.dashboard-card .secondary-action {
  background: var(--paper-2);
  color: var(--ink);
  box-shadow: 4px 4px 0 rgba(32, 26, 23, 0.28);
}

.dashboard-copyright {
  margin: 0 0 28px;
  color: var(--muted);
  font-family: var(--mono);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.03em;
  text-align: center;
}

.flow-copy {
  margin-bottom: 0;
}

.flow-card,
.stripe-panel,
.order-summary,
.running-board {
  border: 2px solid var(--ink);
  border-radius: 30px;
  background: var(--paper-2);
  box-shadow: 8px 8px 0 var(--ink);
}

.flow-card {
  display: grid;
  gap: 16px;
  padding: 26px;
}

.flow-card label,
.flow-card legend {
  color: var(--muted);
  font-family: var(--mono);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.flow-card input,
.flow-card textarea {
  display: block;
  width: 100%;
  margin-top: 8px;
  border: 1px solid rgba(32, 26, 23, 0.16);
  border-radius: 18px;
  padding: 16px;
  background: #fffaf1;
  color: var(--ink);
  outline: none;
}

.flow-card textarea {
  min-height: 132px;
  resize: vertical;
}

.flow-card input:focus,
.flow-card textarea:focus {
  border-color: var(--ember);
  box-shadow: 0 0 0 4px rgba(255, 90, 47, 0.13);
}

.flow-card button,
.stripe-button,
.running-board a {
  display: grid;
  min-height: 56px;
  place-items: center;
  border: 2px solid var(--ink);
  border-radius: 18px;
  background: var(--ember);
  color: var(--paper-2);
  cursor: pointer;
  font-weight: 900;
  box-shadow: 4px 4px 0 var(--ink);
}

.featured-flow {
  background: var(--acid);
}

.price-display {
  display: block;
  margin: -6px 0 2px;
  font-size: 4rem;
  letter-spacing: -0.08em;
}

.checkout-bullets,
.feature-list {
  display: grid;
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.checkout-bullets {
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.42);
}

.checkout-bullets li,
.feature-list li {
  position: relative;
  padding-left: 28px;
  color: #51453d;
  line-height: 1.5;
}

.checkout-bullets li::before,
.feature-list li::before {
  position: absolute;
  top: 0.32em;
  left: 0;
  display: grid;
  width: 17px;
  height: 17px;
  place-items: center;
  border-radius: 50%;
  background: var(--acid);
  color: var(--ink);
  content: "!";
  font-family: var(--mono);
  font-size: 0.62rem;
  font-weight: 900;
}

.feature-list strong {
  color: var(--ink);
}

.plan-detail-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}

.plan-detail-card {
  padding: clamp(24px, 3vw, 34px);
}

.plan-detail-card h2 {
  font-size: clamp(2rem, 3.4vw, 3.2rem);
}

.accent-card {
  background:
    radial-gradient(circle at 92% 6%, rgba(204, 255, 71, 0.5), transparent 14rem),
    var(--paper-2);
}

.plan-story {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 28px;
  align-items: start;
}

.pro-story .insight-list article {
  background: rgba(204, 255, 71, 0.18);
}

.after-purchase {
  padding: clamp(28px, 5vw, 52px);
  background:
    radial-gradient(circle at 86% 12%, rgba(255, 90, 47, 0.28), transparent 18rem),
    var(--char);
  color: var(--paper-2);
}

.after-purchase .eyebrow {
  background: rgba(204, 255, 71, 0.12);
  color: var(--acid);
}

.after-purchase h2 {
  max-width: 780px;
}

.after-purchase .run-steps {
  margin-bottom: 0;
}

.plan-bottom-cta {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 24px;
  align-items: center;
  margin: -34px 0 64px;
  padding: clamp(26px, 4vw, 42px);
  background:
    radial-gradient(circle at 92% 12%, rgba(255, 90, 47, 0.25), transparent 16rem),
    var(--paper-2);
}

.plan-bottom-cta h2 {
  margin-bottom: 10px;
  font-size: clamp(2rem, 4vw, 3.7rem);
}

.plan-bottom-cta p:not(.eyebrow) {
  max-width: 620px;
  margin-bottom: 0;
}

.plan-bottom-cta button {
  display: grid;
  min-width: 220px;
  min-height: 64px;
  place-items: center;
  border: 2px solid var(--ink);
  border-radius: 20px;
  background: var(--ember);
  color: var(--paper-2);
  cursor: pointer;
  font-size: 1.05rem;
  font-weight: 900;
  box-shadow: 5px 5px 0 var(--ink);
}

.success-panel {
  display: grid;
  gap: 18px;
  max-width: 860px;
  margin: 42px auto 84px;
  padding: clamp(32px, 6vw, 64px);
  border: 2px solid var(--ink);
  border-radius: 34px;
  background:
    radial-gradient(circle at 85% 15%, rgba(203, 255, 47, 0.42), transparent 18rem),
    var(--panel);
  box-shadow: 8px 8px 0 var(--ink);
}

.success-panel h1 {
  max-width: 760px;
}

.success-panel > p:not(.eyebrow):not(.form-note) {
  max-width: 620px;
  color: #51453d;
  font-size: clamp(1.1rem, 2vw, 1.35rem);
  line-height: 1.55;
}

.success-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  align-items: center;
  margin-top: 8px;
}

.plan-picker {
  display: grid;
  gap: 10px;
  margin: 0;
  padding: 0;
  border: 0;
}

.plan-picker legend {
  margin-bottom: 10px;
}

.plan-picker label {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  padding: 14px;
  border: 2px solid rgba(32, 26, 23, 0.16);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.5);
  cursor: pointer;
  text-transform: none;
  transition:
    background 180ms ease,
    border-color 180ms ease,
    box-shadow 180ms ease,
    transform 180ms ease;
}

.plan-picker label:hover {
  border-color: rgba(255, 79, 47, 0.58);
  background: rgba(255, 255, 255, 0.78);
  transform: translateY(-1px);
}

.plan-picker label:has(input:checked) {
  border-color: rgba(255, 79, 47, 0.82);
  background: rgba(255, 79, 47, 0.08);
  box-shadow: 0 0 0 4px rgba(255, 79, 47, 0.08);
}

.buyer-picker {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin: 0;
  padding: 0;
  border: 0;
}

.buyer-picker legend {
  grid-column: 1 / -1;
  margin-bottom: 2px;
}

.buyer-picker label {
  display: flex;
  gap: 9px;
  align-items: flex-start;
  min-height: 54px;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.52);
  color: var(--ink);
  cursor: pointer;
  font-family: var(--display);
  font-size: 0.92rem;
  font-weight: 800;
  letter-spacing: -0.01em;
  text-transform: none;
}

.buyer-picker input {
  width: auto;
  margin: 2px 0 0;
  accent-color: var(--ember);
}

.compact-picker {
  grid-template-columns: 1fr;
}

.plan-picker input {
  position: relative;
  width: 34px;
  height: 34px;
  flex: 0 0 34px;
  margin: 3px 0 0;
  border: 2px solid rgba(32, 26, 23, 0.2);
  border-radius: 999px;
  background: var(--paper-2);
  box-shadow: inset 0 0 0 5px var(--paper-2);
  cursor: pointer;
  accent-color: var(--ember);
}

.plan-picker input:checked {
  border-color: var(--ember);
  background: var(--ember);
  box-shadow:
    inset 0 0 0 7px var(--paper-2),
    0 0 0 3px rgba(255, 79, 47, 0.14);
}

.plan-picker input:focus-visible {
  outline: 3px solid var(--acid);
  outline-offset: 3px;
}

.plan-picker strong {
  display: block;
  color: var(--ink);
  font-size: 1rem;
}

.form-note a {
  color: var(--ember-dark);
  font-weight: 900;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.comparison-card {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 24px;
  align-items: start;
  padding: clamp(26px, 4vw, 42px);
  background:
    radial-gradient(circle at 12% 0%, rgba(255, 90, 47, 0.22), transparent 16rem),
    var(--paper-2);
}

.comparison-card h2 {
  font-size: clamp(2rem, 3.6vw, 3.6rem);
}

.comparison-grid {
  display: grid;
  gap: 14px;
}

.comparison-grid article {
  padding: 22px;
  box-shadow: none;
}

.comparison-grid article:first-child {
  background: rgba(255, 255, 255, 0.5);
}

.comparison-grid article:last-child {
  background: var(--acid);
}

.comparison-grid strong {
  display: block;
  margin-bottom: 8px;
  font-size: 1.1rem;
}

.persona-hero {
  margin-bottom: 36px;
}

.persona-selection {
  display: grid;
  gap: 16px;
  margin-bottom: 82px;
}

.choose-for-me-card,
.manual-choice-card,
.persona-option,
.persona-submit-bar {
  border: 2px solid var(--ink);
  border-radius: 24px;
  background: var(--paper-2);
  box-shadow: 6px 6px 0 var(--ink);
}

.choose-for-me-card,
.manual-choice-card {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  padding: 24px;
  cursor: pointer;
}

.choose-for-me-card {
  background:
    radial-gradient(circle at 94% 14%, rgba(255, 90, 47, 0.28), transparent 14rem),
    var(--acid);
}

.choose-for-me-card input,
.manual-choice-card input,
.persona-option input {
  flex: 0 0 auto;
  margin-top: 5px;
  accent-color: var(--ember);
}

.choose-for-me-card strong,
.manual-choice-card strong,
.persona-option strong {
  display: block;
  margin-bottom: 7px;
  color: var(--ink);
  font-size: 1.1rem;
}

.choose-for-me-card span,
.manual-choice-card span,
.persona-option span {
  color: #51453d;
  line-height: 1.5;
}

.persona-option em {
  display: inline-block;
  margin-bottom: 10px;
  padding: 5px 9px;
  border-radius: 999px;
  background: var(--ink);
  color: var(--acid);
  font-family: var(--mono);
  font-size: 0.66rem;
  font-style: normal;
  font-weight: 900;
  letter-spacing: 0.03em;
  text-transform: uppercase;
}

.persona-option small {
  display: block;
  color: #5f5148;
  font-size: 0.88rem;
  line-height: 1.42;
}

.persona-option small + small {
  margin-top: 5px;
}

.persona-option small b {
  color: var(--ink);
  font-weight: 800;
}

.persona-card-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}

.persona-card-grid[hidden] {
  display: none;
}

.persona-option {
  display: flex;
  min-height: 206px;
  gap: 12px;
  align-items: flex-start;
  padding: 18px;
  cursor: pointer;
  box-shadow: 4px 4px 0 var(--ink);
}

.persona-option:has(input:checked) {
  background: rgba(204, 255, 71, 0.42);
}

.persona-submit-bar {
  position: sticky;
  bottom: 18px;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 16px;
  background: rgba(255, 248, 236, 0.9);
  backdrop-filter: blur(16px);
}

.persona-submit-bar p {
  margin: 0;
  color: #51453d;
  font-weight: 800;
}

.persona-submit-bar button {
  display: grid;
  min-height: 52px;
  min-width: 240px;
  place-items: center;
  border: 2px solid var(--ink);
  border-radius: 16px;
  background: var(--ember);
  color: var(--paper-2);
  cursor: pointer;
  font-weight: 900;
  box-shadow: 4px 4px 0 var(--ink);
}

.checkout-layout {
  grid-template-columns: minmax(0, 1.1fr) minmax(320px, 0.9fr);
}

.stripe-panel,
.order-summary {
  padding: clamp(28px, 4vw, 46px);
}

.stripe-panel {
  order: 2;
  min-height: 560px;
  background:
    radial-gradient(circle at 88% 12%, rgba(99, 91, 255, 0.3), transparent 16rem),
    var(--char);
  color: var(--paper-2);
}

.stripe-panel p:not(.eyebrow) {
  max-width: 680px;
  color: rgba(255, 248, 236, 0.7);
  font-size: 1.1rem;
  line-height: 1.65;
}

.stripe-button {
  width: fit-content;
  margin-top: 28px;
  padding: 0 24px;
  background: #635bff;
}

.stripe-button[aria-disabled="true"] {
  cursor: wait;
  opacity: 0.74;
  pointer-events: none;
  transform: none;
}

.order-summary {
  order: 1;
  position: sticky;
  top: 120px;
}

.order-summary h2 {
  font-size: clamp(2.2rem, 4vw, 3.4rem);
}

.order-summary strong {
  display: block;
  margin: 12px 0 24px;
  font-size: 4.6rem;
  letter-spacing: -0.08em;
}

.order-summary .checkout-sale-price {
  display: grid;
  gap: 8px;
  margin-top: 14px;
}

.checkout-sale-price small {
  width: fit-content;
  padding: 7px 10px;
  border: 1px solid rgba(255, 79, 47, 0.35);
  border-radius: 999px;
  background: rgba(255, 79, 47, 0.1);
  color: var(--ember-dark);
  font-family: var(--mono);
  font-size: 0.68rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  line-height: 1;
  text-transform: uppercase;
}

.checkout-sale-price span {
  display: flex;
  gap: 12px;
  align-items: baseline;
}

.checkout-sale-price s {
  color: rgba(32, 26, 23, 0.48);
  font-size: 0.58em;
  text-decoration-color: var(--ember);
  text-decoration-thickness: 4px;
}

.checkout-sale-price b {
  color: var(--ink);
  font: inherit;
}

.order-summary dl {
  display: grid;
  gap: 12px;
  margin: 0;
}

.order-summary div {
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.42);
}

.order-summary dt {
  color: var(--muted);
  font-family: var(--mono);
  font-size: 0.72rem;
  font-weight: 900;
  text-transform: uppercase;
}

.order-summary dd {
  overflow-wrap: anywhere;
  margin: 5px 0 0;
  font-weight: 800;
}

.summary-edit-button {
  display: grid;
  min-height: 48px;
  margin-top: 16px;
  place-items: center;
  border: 2px solid var(--ink);
  border-radius: 16px;
  background: var(--acid);
  color: var(--ink);
  font-weight: 900;
  box-shadow: 4px 4px 0 var(--ink);
}

.running-board {
  margin: 0 0 80px;
  padding: clamp(32px, 6vw, 70px);
  background:
    radial-gradient(circle at 86% 16%, rgba(204, 255, 71, 0.52), transparent 24rem),
    var(--char);
  color: var(--paper-2);
}

.running-board p:not(.eyebrow) {
  max-width: 760px;
  color: rgba(255, 248, 236, 0.72);
  font-size: 1.14rem;
  line-height: 1.65;
}

.report-progress {
  max-width: 880px;
  margin: 32px 0 26px;
  padding: 20px;
  border: 1px solid rgba(255, 248, 236, 0.18);
  border-radius: 24px;
  background: rgba(255, 248, 236, 0.09);
  box-shadow: inset 0 1px 0 rgba(255, 248, 236, 0.12);
}

.progress-topline {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 14px;
}

.progress-topline span {
  color: var(--paper-2);
  font-size: clamp(1.15rem, 2vw, 1.65rem);
  font-weight: 900;
  letter-spacing: -0.03em;
}

.progress-topline strong {
  color: var(--acid);
  font-family: var(--mono);
  font-size: clamp(1.8rem, 4vw, 3.1rem);
  letter-spacing: -0.08em;
  line-height: 0.9;
}

.progress-track {
  height: 22px;
  overflow: hidden;
  border: 2px solid rgba(255, 248, 236, 0.2);
  border-radius: 999px;
  background: rgba(255, 248, 236, 0.1);
}

.progress-track span {
  display: block;
  width: 0%;
  height: 100%;
  border-radius: inherit;
  background:
    linear-gradient(90deg, var(--ember), var(--acid)),
    var(--acid);
  box-shadow: 0 0 28px rgba(204, 255, 71, 0.42);
  transition: width 800ms ease;
}

.report-progress p {
  margin: 14px 0 0;
  color: rgba(255, 248, 236, 0.72);
  font-size: 0.98rem;
  line-height: 1.5;
}

.running-board.is-complete .report-progress {
  border-color: rgba(204, 255, 71, 0.7);
  background: rgba(204, 255, 71, 0.14);
}

.run-steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
  margin: 0 0 34px;
}

.run-steps span {
  min-height: 104px;
  padding: 18px;
  border: 1px solid rgba(255, 248, 236, 0.16);
  border-radius: 18px;
  background: rgba(255, 248, 236, 0.08);
  color: rgba(255, 248, 236, 0.78);
  font-family: var(--mono);
  font-size: 0.84rem;
  font-weight: 800;
}

.run-steps span.is-active {
  border-color: rgba(204, 255, 71, 0.85);
  background: rgba(204, 255, 71, 0.18);
  color: var(--paper-2);
}

.run-steps span.is-complete {
  border-color: rgba(204, 255, 71, 0.42);
  color: var(--acid);
}

.running-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.running-board a {
  width: fit-content;
  padding: 0 22px;
}

.running-board a.secondary-action {
  background: var(--paper-2);
  color: var(--ink);
}

.paid-report-hero {
  margin-bottom: 34px;
}

.report-summary-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
  margin: 28px 0 0;
}

.report-summary-strip div {
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: rgba(255, 248, 236, 0.64);
}

.report-summary-strip dt {
  color: var(--muted);
  font-family: var(--mono);
  font-size: 0.72rem;
  font-weight: 900;
  text-transform: uppercase;
}

.report-summary-strip dd {
  overflow-wrap: anywhere;
  margin: 6px 0 0;
  font-weight: 900;
}

.paid-score {
  border-color: var(--acid);
}

.device-review-grid,
.implementation-grid,
.pdf-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.implementation-grid article {
  padding: 24px;
  border: 2px solid var(--ink);
  border-radius: 28px;
  background: var(--panel);
  box-shadow: 6px 6px 0 var(--ink);
}

.implementation-grid strong {
  display: block;
  margin-bottom: 10px;
  color: var(--ember-dark);
  font-family: var(--mono);
  font-size: 0.82rem;
  text-transform: uppercase;
}

.pdf-report-body {
  background: #f5ead9;
}

.pdf-shell {
  max-width: 1040px;
}

.pdf-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin: 22px 0;
  padding: 12px 16px;
  border: 1px solid var(--line);
  border-radius: 24px;
  background: rgba(255, 248, 236, 0.88);
}

.pdf-toolbar button {
  min-height: 46px;
  padding: 0 18px;
  border: 2px solid var(--ink);
  border-radius: 16px;
  background: var(--ember);
  color: var(--paper-2);
  cursor: pointer;
  font-weight: 900;
  box-shadow: 4px 4px 0 var(--ink);
}

.pdf-toolbar-actions {
  display: flex;
  align-items: center;
  gap: 14px;
}

.pdf-toolbar-actions p {
  max-width: 280px;
  margin: 0;
  color: var(--muted);
  font-size: 0.78rem;
  line-height: 1.3;
  text-align: right;
}

.pdf-report {
  display: grid;
  gap: 12px;
  margin-bottom: 34px;
  font-size: 0.92rem;
}

.pdf-report .pdf-grid {
  gap: 12px;
}

.pdf-report-brand {
  display: block;
  width: 54px;
  height: 54px;
  margin: 0 auto 4px;
  padding: 0;
}

.pdf-report-brand img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.pdf-report .agent-message {
  min-height: 0;
  padding: 13px 14px;
  border: 2px solid var(--ink);
  background: rgba(255, 248, 236, 0.82);
  box-shadow: 4px 4px 0 var(--ink);
}

.pdf-report .agent-message strong {
  color: var(--ink);
  font-size: 0.86rem;
}

.pdf-report .agent-message span {
  color: var(--muted);
  font-size: 0.56rem;
}

.pdf-report .agent-message p {
  color: #51453d;
  font-size: 0.78rem;
  line-height: 1.42;
}

.pdf-cover,
.verification-footer {
  padding: clamp(20px, 3vw, 30px);
  border: 2px solid var(--ink);
  border-radius: 24px;
  background: var(--panel);
  box-shadow: 5px 5px 0 var(--ink);
}

.pdf-cover h1 {
  max-width: 800px;
  margin-bottom: 10px;
  font-size: clamp(2.8rem, 6vw, 4.9rem);
}

.pdf-cover p:not(.eyebrow) {
  max-width: 780px;
  margin-bottom: 0;
  font-size: 0.98rem;
  line-height: 1.45;
}

.pdf-report .report-summary-strip {
  gap: 8px;
  margin-top: 16px;
}

.pdf-report .report-summary-strip div {
  padding: 10px 12px;
  border-radius: 14px;
}

.pdf-report .report-summary-strip dt {
  font-size: 0.58rem;
}

.pdf-report .report-summary-strip dd {
  margin-top: 4px;
  font-size: 0.78rem;
}

.pdf-report .report-card {
  padding: 16px;
  border-radius: 22px;
  box-shadow: 4px 4px 0 var(--ink);
}

.pdf-report .report-card h2,
.verification-footer h2 {
  margin-bottom: 8px;
  font-size: clamp(1.8rem, 4vw, 3rem);
  letter-spacing: -0.07em;
}

.pdf-report .report-card p,
.pdf-report .report-card li,
.verification-footer p {
  font-size: 0.84rem;
  line-height: 1.4;
}

.pdf-report .report-card ul {
  gap: 7px;
}

.pdf-report .report-card li {
  padding: 9px 10px;
  border-radius: 12px;
}

.pdf-report .report-card li strong,
.pdf-copy-grid strong {
  color: var(--ink);
  font-family: var(--mono);
  font-size: 0.72rem;
  font-weight: 900;
  text-transform: uppercase;
}

.pdf-score {
  display: block;
  margin: 4px 0;
  color: var(--ember-dark);
  font-size: clamp(2.7rem, 6vw, 4.3rem);
  letter-spacing: -0.08em;
}

.pdf-copy-grid {
  grid-template-columns: 1fr;
  gap: 7px;
  margin-top: 8px;
}

.pdf-copy-grid article {
  padding: 12px;
  border-radius: 14px;
  box-shadow: 3px 3px 0 var(--ink);
}

.pdf-copy-grid p {
  font-size: clamp(1rem, 1.7vw, 1.22rem);
}

.pdf-report .objection-table div {
  grid-template-columns: 150px 1fr;
  gap: 12px;
  padding: 10px 12px;
}

.pdf-report .objection-table strong,
.pdf-report .objection-table span {
  font-size: 0.78rem;
}

.pdf-report .implementation-grid {
  gap: 10px;
}

.pdf-report .implementation-grid article {
  padding: 13px;
  border-radius: 16px;
  box-shadow: 3px 3px 0 var(--ink);
}

.pdf-report .implementation-grid strong {
  margin-bottom: 6px;
  font-size: 0.68rem;
}

.pdf-report .implementation-grid p {
  margin: 0;
  font-size: 0.78rem;
  line-height: 1.38;
}

.verification-footer {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 18px;
  align-items: center;
}

.verification-qr {
  display: block;
  width: 118px;
  height: 118px;
  padding: 8px;
  border: 2px solid var(--ink);
  border-radius: 14px;
  background: var(--paper-2);
}

@keyframes rise-in {
  from {
    opacity: 0;
    transform: translateY(22px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes message-pop {
  from {
    opacity: 0;
    transform: translateY(12px) scale(0.98);
  }

  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

@keyframes ticker {
  to {
    transform: translateX(-50%);
  }
}

@media (prefers-reduced-motion: reduce) {
  .nav-cta,
  .input-row button,
  .final-cta a,
  .pricing-cards a,
  .flow-card button,
  .stripe-button,
  .running-board a,
  .dashboard-hero a,
  .dashboard-card a,
  .plan-bottom-cta button,
  .persona-submit-bar button,
  .summary-edit-button {
    transition: none;
  }

  .nav-cta::after,
  .input-row button::after,
  .final-cta a::after,
  .pricing-cards a::after,
  .flow-card button::after,
  .stripe-button::after,
  .running-board a::after,
  .dashboard-hero a::after,
  .dashboard-card a::after,
  .plan-bottom-cta button::after,
  .persona-submit-bar button::after,
  .summary-edit-button::after {
    display: none;
  }
}

@media (max-width: 980px) {
  .site-header {
    align-items: flex-start;
    border-radius: 28px;
  }

  .nav-links {
    display: none;
  }

  .header-actions {
    display: none;
  }

  .mobile-nav-menu {
    display: block;
  }

  .hero-section,
  .split-section,
  .pricing-section,
  .sample-layout,
  .blog-hero,
  .article-featured-card,
  .dashboard-hero,
  .dashboard-layout,
  .flow-layout,
  .plan-landing,
  .plan-detail-grid,
  .plan-story,
  .plan-bottom-cta,
  .comparison-card,
  .persona-depth-section,
  .persona-profile-preview,
  .checkout-layout,
  .auth-layout {
    grid-template-columns: 1fr;
  }

  .hero-section {
    padding-top: 6px;
  }

  .hero-visual {
    min-width: 0;
  }

  .product-grid,
  .roast-grid,
  .blog-grid,
  .compact-blog-grid,
  .dashboard-grid,
  .pricing-cards,
  .process-board,
  .faq-grid,
  .selected-persona-grid,
  .persona-depth-grid,
  .copy-grid,
  .buyer-picker,
  .persona-card-grid,
  .site-footer {
    grid-template-columns: 1fr;
  }

  .report-summary-strip {
    grid-template-columns: 1fr 1fr;
  }

  .device-review-grid,
  .implementation-grid,
  .pdf-grid,
  .verification-footer {
    grid-template-columns: 1fr;
  }

  .dashboard-hero {
    align-items: start;
  }

  .sample-score {
    position: static;
  }

  .site-footer {
    align-items: start;
  }

  .site-footer nav {
    justify-content: flex-start;
  }

  .order-summary {
    order: 1;
    position: static;
  }

  .stripe-panel {
    order: 2;
    min-height: auto;
  }

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

  .pipeline-card {
    min-height: unset;
    grid-row: auto;
  }

  .featured-plan {
    transform: none;
  }

  .featured-blog-card {
    grid-column: span 1;
  }
}

@media (max-width: 640px) {
  .page-shell {
    width: min(100% - 22px, 1180px);
  }

  .site-header {
    top: 10px;
  }

  .dashboard-topbar {
    top: 10px;
    margin-top: 10px;
  }

  .brand span:last-child {
    display: none;
  }

  .header-actions {
    gap: 10px;
  }

  .nav-login {
    min-height: 38px;
    padding-inline: 2px;
    font-size: 0.88rem;
  }

  .dashboard-menu nav {
    right: -4px;
    min-width: min(280px, calc(100vw - 32px));
  }

  .nav-cta {
    min-height: 38px;
    padding-inline: 14px;
    font-size: 0.88rem;
  }

  .stripe-button {
    width: 100%;
  }

  .report-summary-strip {
    grid-template-columns: 1fr;
  }

  .final-cta-actions {
    flex-direction: column;
  }

  .final-cta-actions a {
    width: 100%;
  }

  .auth-layout.login-layout {
    gap: 18px;
    min-height: unset;
    margin-bottom: 38px;
  }

  .login-layout .page-hero {
    margin-bottom: 0;
  }

  .login-layout .page-hero h1 {
    font-size: clamp(2.75rem, 14vw, 4rem);
  }

  .login-layout .page-hero p:not(.eyebrow) {
    max-width: 34rem;
    font-size: 1.02rem;
  }

  h1 {
    font-size: clamp(3rem, 17vw, 4.4rem);
  }

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

  .input-row button {
    min-height: 54px;
  }

  .hero-stats {
    display: grid;
    grid-template-columns: 1fr;
  }

  .hero-visual,
  .url-card,
  .blog-hero > div,
  .blog-hero aside,
  .blog-card,
  .article-hero,
  .article-featured-card,
  .table-of-contents,
  .article-page article section,
  .author-box,
  .flow-card,
  .stripe-panel,
  .order-summary,
  .running-board,
  .dashboard-card,
  .plan-detail-card,
  .plan-bottom-cta,
  .comparison-card,
  .comparison-grid article,
  .selected-persona-grid article,
  .persona-depth-section,
  .persona-depth-grid article,
  .persona-profile-preview,
  .profile-card,
  .copy-grid article,
  .objection-table,
  .choose-for-me-card,
  .manual-choice-card,
  .persona-option,
  .persona-submit-bar,
  .after-purchase,
  .steps article,
  .process-board article,
  .insight-list article,
  .pipeline-card,
  .report-card,
  .persona-card,
  .sample-score,
  .faq-grid article,
  .legal-page,
  .pricing-cards article,
  .site-footer,
  .final-cta,
  .roast-wall {
    box-shadow: 5px 5px 0 var(--ink);
  }

  .agent-message div {
    align-items: flex-start;
    flex-direction: column;
  }

  .pipeline {
    grid-template-columns: 1fr;
    gap: 14px;
    margin: 22px 0;
  }

  .path {
    width: 8px;
    height: 40px;
    margin: 0 auto;
    border: 2px solid var(--ink);
    border-block: 0;
  }

  .roast-wall,
  .final-cta {
    padding: 28px;
  }

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

  .progress-topline {
    align-items: flex-start;
    flex-direction: column;
  }

  .dashboard-hero a,
  .dashboard-card a {
    width: 100%;
  }

  .dashboard-actions,
  .running-actions {
    flex-direction: column;
  }

  .persona-submit-bar {
    position: static;
    align-items: stretch;
    flex-direction: column;
  }

  .persona-submit-bar button {
    width: 100%;
  }

  .plan-bottom-cta {
    margin-top: -20px;
  }

  .plan-bottom-cta button {
    width: 100%;
  }

  .objection-table div {
    grid-template-columns: 1fr;
    gap: 6px;
  }

  .blog-hero h1,
  .article-hero h1 {
    font-size: clamp(3rem, 15vw, 4.6rem);
  }

  .article-featured-card,
  .author-box {
    grid-template-columns: 1fr;
  }

  .article-featured-card div {
    min-height: 110px;
  }
}

.consent-banner {
  position: fixed;
  right: max(18px, env(safe-area-inset-right));
  bottom: max(18px, env(safe-area-inset-bottom));
  z-index: 80;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  width: min(760px, calc(100vw - 32px));
  gap: 18px;
  padding: 18px;
  border: 2px solid var(--ink);
  border-radius: 28px;
  background:
    radial-gradient(circle at 100% 0%, rgba(204, 255, 71, 0.42), transparent 14rem),
    var(--paper-2);
  box-shadow: 8px 8px 0 var(--ink), var(--shadow);
  animation: consent-rise 260ms ease-out;
}

.consent-banner.is-hiding {
  opacity: 0;
  transform: translateY(12px);
  transition:
    opacity 180ms ease,
    transform 180ms ease;
}

.consent-copy {
  display: grid;
  gap: 6px;
}

.consent-copy h2,
.consent-copy p {
  margin: 0;
}

.consent-copy h2 {
  max-width: 20ch;
  font-size: clamp(1.25rem, 3vw, 2rem);
  line-height: 0.95;
  letter-spacing: -0.07em;
}

.consent-copy p:not(.eyebrow) {
  max-width: 56ch;
  color: var(--muted);
  font-size: 0.96rem;
  line-height: 1.42;
}

.consent-copy a {
  width: fit-content;
  color: var(--ember-dark);
  font-family: var(--mono);
  font-size: 0.76rem;
  font-weight: 800;
  text-decoration: underline;
  text-transform: uppercase;
}

.consent-actions {
  display: flex;
  align-items: flex-end;
  justify-content: flex-end;
  flex-wrap: wrap;
  gap: 10px;
  padding-right: 32px;
}

.consent-primary,
.consent-secondary,
.consent-close {
  border: 2px solid var(--ink);
  cursor: pointer;
  font-weight: 900;
  transition:
    background-color 180ms ease,
    box-shadow 180ms ease,
    color 180ms ease,
    transform 180ms ease;
}

.consent-primary,
.consent-secondary {
  min-height: 44px;
  padding: 0 16px;
  border-radius: 999px;
}

.consent-primary {
  background: var(--acid);
  color: var(--ink);
  box-shadow: 4px 4px 0 var(--ink);
}

.consent-secondary {
  background: var(--paper);
  color: var(--ink);
  box-shadow: 3px 3px 0 rgba(32, 26, 23, 0.3);
}

.consent-primary:hover,
.consent-secondary:hover,
.consent-close:hover {
  transform: translate(-2px, -2px);
  box-shadow: 6px 6px 0 var(--ink);
}

.consent-close {
  position: absolute;
  top: 12px;
  right: 12px;
  display: grid;
  width: 34px;
  height: 34px;
  place-items: center;
  border-radius: 50%;
  background: var(--ink);
  color: var(--paper-2);
  font-family: var(--mono);
  line-height: 1;
}

@keyframes consent-rise {
  from {
    opacity: 0;
    transform: translateY(18px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (max-width: 760px) {
  .consent-banner {
    right: 12px;
    bottom: 12px;
    left: 12px;
    grid-template-columns: 1fr;
    width: auto;
    padding: 16px;
    border-radius: 24px;
  }

  .consent-actions {
    align-items: stretch;
    flex-direction: column;
    padding-right: 0;
  }

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

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

@page {
  size: Letter;
  margin: 0.42in;
}

@media print {
  body {
    background: #f5ead9 !important;
    color-adjust: exact;
    print-color-adjust: exact;
    -webkit-print-color-adjust: exact;
  }

  .pdf-toolbar,
  .site-header,
  .consent-banner {
    display: none !important;
  }

  .page-shell,
  .pdf-shell {
    width: 100%;
    max-width: none;
  }

  .pdf-report {
    gap: 8px;
    margin: 0;
    font-size: 9.5pt;
  }

  .pdf-report-brand {
    width: 34px;
    height: 34px;
  }

  .pdf-report-brand img {
    width: 100%;
    height: 100%;
  }

  .pdf-cover,
  .verification-footer,
  .report-card {
    break-inside: avoid;
    box-shadow: 3px 3px 0 var(--ink);
  }

  .pdf-cover,
  .verification-footer {
    padding: 18px;
    border-radius: 18px;
  }

  .pdf-cover h1 {
    font-size: 34pt;
    line-height: 0.92;
  }

  .pdf-cover p:not(.eyebrow) {
    font-size: 9.5pt;
  }

  .pdf-report .report-card {
    padding: 12px;
    border-radius: 16px;
  }

  .pdf-report .report-card h2,
  .verification-footer h2 {
    font-size: 22pt;
    line-height: 0.95;
  }

  .pdf-report .report-card p,
  .pdf-report .report-card li,
  .pdf-report .agent-message p,
  .verification-footer p {
    font-size: 8.2pt;
    line-height: 1.32;
  }

  .pdf-report .report-card li {
    padding: 6px 8px;
  }

  .pdf-score {
    font-size: 36pt;
  }

  .pdf-report .report-summary-strip {
    gap: 6px;
    margin-top: 12px;
  }

  .pdf-report .report-summary-strip div {
    padding: 7px 8px;
    border-radius: 10px;
  }

  .pdf-report .report-summary-strip dt,
  .pdf-report .priority,
  .pdf-report .implementation-grid strong,
  .pdf-report .agent-message span {
    font-size: 6pt;
  }

  .pdf-report .report-summary-strip dd,
  .pdf-report .agent-message strong,
  .pdf-report .objection-table strong,
  .pdf-report .objection-table span {
    font-size: 7.3pt;
  }

  .pdf-report .agent-message {
    padding: 9px 10px;
    border-left-width: 4px;
    border-radius: 13px;
    box-shadow: 3px 3px 0 var(--ink);
  }

  .pdf-copy-grid article,
  .pdf-report .implementation-grid article {
    padding: 8px;
    border-radius: 12px;
    box-shadow: 2px 2px 0 var(--ink);
  }

  .pdf-copy-grid p {
    font-size: 10pt;
  }

  .pdf-report .objection-table div {
    grid-template-columns: 110px 1fr;
    gap: 8px;
    padding: 7px 8px;
  }

  .verification-qr {
    width: 92px;
    height: 92px;
    padding: 6px;
  }
}
