:root {
  --brand: #3457d5;
  --brand-strong: #2c49bd;
  --brand-deep: #223a94;
  --green: #2f8f66;
  --green-soft: #e7f4ec;
  --violet: #5f43c0;
  --violet-soft: #efeafb;
  --amber: #c9781a;
  --amber-soft: #fbf1de;
  --ink: #1a1c22;
  --text: #565a63;
  --muted: #8a8579;
  --line: #e7e2d8;
  --line-soft: #f0ebe1;
  --surface: #ffffff;
  --surface-2: #faf7f2;
  --surface-tint: #f4f1ea;
  --bg: #ffffff;
  --bg-soft: #f5f2fb;
  --shadow-sm: 0 1px 2px rgba(40, 34, 24, 0.05), 0 4px 14px rgba(40, 34, 24, 0.05);
  --shadow-md: 0 16px 44px rgba(40, 34, 24, 0.1);
  --shadow-brand: 0 14px 32px rgba(52, 87, 213, 0.2);
  --radius-card: 20px;
  --radius-control: 14px;
  --radius-pill: 999px;
  --max: 1160px;
  --header-height: 72px;
  --anchor-offset: calc(var(--header-height) + 34px);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--ink);
  background: var(--bg);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

[id] {
  scroll-margin-top: var(--anchor-offset);
}

body {
  margin: 0;
  min-width: 320px;
  color: var(--ink);
  background:
    linear-gradient(180deg, rgba(214, 196, 160, 0.14), rgba(255, 255, 255, 0) 520px),
    var(--bg);
  font-size: 16px;
  line-height: 1.55;
}

body::selection {
  color: #ffffff;
  background: var(--brand);
}

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

a:focus-visible {
  outline: 3px solid rgba(52, 87, 213, 0.32);
  outline-offset: 4px;
}

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

button,
a {
  -webkit-tap-highlight-color: transparent;
}

.site-header {
  position: fixed;
  z-index: 20;
  top: 0;
  left: 50%;
  width: min(calc(100% - 24px), 1188px);
  height: var(--header-height);
  transform: translateX(-50%);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-top: 10px;
  padding: 0 10px 0 14px;
  border: 1px solid rgba(227, 225, 218, 0.78);
  border-radius: 22px;
  background: rgba(255, 253, 249, 0.84);
  box-shadow: 0 8px 26px rgba(40, 34, 24, 0.07);
  backdrop-filter: blur(18px);
}

.site-header.is-scrolled {
  background: rgba(255, 253, 249, 0.92);
  box-shadow: 0 12px 34px rgba(40, 34, 24, 0.09);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-width: max-content;
  font-size: 18px;
  font-weight: 800;
}

.brand__mark {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  object-fit: contain;
  background: #ffffff;
}

.site-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
  padding: 4px;
  border-radius: var(--radius-pill);
  background: rgba(242, 241, 237, 0.78);
}

.site-nav a {
  padding: 9px 13px;
  border-radius: var(--radius-pill);
  color: var(--text);
  font-size: 14px;
  font-weight: 700;
}

.site-nav a:hover,
.site-nav a:focus-visible,
.site-nav a[aria-current="true"],
.site-nav a[aria-current="page"] {
  color: var(--ink);
  background: #ffffff;
}

.audience-switch {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 4px;
  min-width: 320px;
  padding: 4px;
  border-radius: var(--radius-pill);
  background: rgba(242, 241, 237, 0.78);
}

.audience-switch a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 38px;
  padding: 0 15px;
  border-radius: var(--radius-pill);
  color: var(--text);
  font-size: 14px;
  font-weight: 800;
  white-space: nowrap;
}

.audience-switch a:hover,
.audience-switch a:focus-visible,
.audience-switch a[aria-current="page"] {
  color: var(--ink);
  background: #ffffff;
}

.header-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 18px;
  border-radius: var(--radius-control);
  color: #ffffff;
  background: linear-gradient(135deg, #4062df, #2c49bd);
  box-shadow: var(--shadow-brand);
  font-size: 14px;
  font-weight: 800;
}

.header-cta:focus-visible,
.store-button:focus-visible {
  outline-color: rgba(52, 87, 213, 0.42);
}

.hero {
  position: relative;
  min-height: 84svh;
  overflow: hidden;
  display: grid;
  align-items: center;
  padding: 118px 22px 56px;
  isolation: isolate;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -3;
  background:
    linear-gradient(130deg, rgba(255, 255, 255, 0.96) 0%, rgba(255, 253, 249, 0.86) 36%, rgba(244, 244, 252, 0.72) 64%, rgba(236, 246, 240, 0.6) 100%),
    linear-gradient(180deg, #ffffff, #faf7f2);
}

.hero::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: 0;
  z-index: -2;
  width: min(820px, 62vw);
  height: min(620px, 72svh);
  background:
    linear-gradient(145deg, rgba(52, 87, 213, 0.16), rgba(47, 143, 102, 0.12)),
    linear-gradient(180deg, rgba(255, 255, 255, 0.72), rgba(255, 255, 255, 0));
  clip-path: polygon(26% 0, 100% 0, 100% 100%, 0 100%, 18% 54%);
}

.hero__scene {
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
}

.phone-stack {
  position: absolute;
  right: max(24px, calc((100vw - var(--max)) / 2));
  bottom: 28px;
  width: min(560px, 46vw);
  height: min(580px, 66svh);
}

.phone {
  position: absolute;
  width: 256px;
  min-height: 520px;
  padding: 12px;
  border: 1px solid rgba(26, 28, 40, 0.08);
  border-radius: 36px;
  background: #262838;
  box-shadow: 0 26px 70px rgba(38, 40, 56, 0.2);
}

.phone--front {
  right: 88px;
  bottom: 0;
  transform: rotate(-2deg);
}

.phone--back {
  right: 0;
  bottom: 62px;
  transform: scale(0.88) rotate(5deg);
  opacity: 0.95;
}

.phone__status {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 28px;
  padding: 0 14px;
  color: #ffffff;
  font-size: 11px;
  font-weight: 800;
}

.phone__signal {
  width: 32px;
  height: 10px;
  border-radius: 10px;
  background: linear-gradient(90deg, #ffffff 0 24%, transparent 24% 34%, #ffffff 34% 58%, transparent 58% 68%, #ffffff 68%);
  opacity: 0.78;
}

.app-screen {
  min-height: 468px;
  overflow: hidden;
  border-radius: 28px;
  background:
    linear-gradient(180deg, rgba(52, 87, 213, 0.05), rgba(255, 255, 255, 0) 160px),
    #ffffff;
  padding: 18px 14px 14px;
}

.screen-header {
  display: grid;
  gap: 2px;
  margin-bottom: 12px;
}

.screen-kicker {
  color: var(--muted);
  font-size: 9px;
  font-weight: 900;
  letter-spacing: 0;
}

.screen-header strong {
  font-size: 26px;
  line-height: 1.1;
}

.range-pills {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 6px;
  padding: 5px;
  border-radius: var(--radius-pill);
  background: var(--surface-tint);
}

.range-pills span,
.format-toggle span,
.panel-tabs span,
.chip-row span,
.hero__badges span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 30px;
  border-radius: var(--radius-pill);
  font-size: 11px;
  font-weight: 800;
  color: var(--text);
}

.range-pills .is-active,
.format-toggle .is-active,
.panel-tabs .is-active {
  color: #ffffff;
  background: linear-gradient(135deg, #4062df, #2c49bd);
  box-shadow: 0 8px 20px rgba(52, 87, 213, 0.22);
}

.chart-card,
.export-sheet {
  margin-top: 12px;
  padding: 12px;
  border: 1px solid var(--line-soft);
  border-radius: 18px;
  background: #ffffff;
  box-shadow: var(--shadow-sm);
}

.chart-head {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  color: var(--muted);
  font-size: 11px;
}

.chart-head strong {
  color: var(--ink);
}

.chart-grid {
  margin-top: 8px;
  border-radius: 14px;
  background: linear-gradient(180deg, #fbfaf7, #ffffff);
}

.grid-line {
  fill: none;
  stroke: #e9e7df;
  stroke-width: 1;
}

.line {
  fill: none;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 5;
}

.line--blue {
  stroke: var(--brand);
}

.line--green {
  stroke: var(--green);
}

.line--violet {
  stroke: var(--violet);
}

.line--amber {
  stroke: var(--amber);
}

.chip-row {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 10px;
}

.chip-row span {
  min-height: 28px;
  padding: 0 9px;
  background: var(--surface-tint);
}

.sheet-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 10px 0;
  border-bottom: 1px solid var(--line-soft);
  font-size: 12px;
}

.sheet-row span {
  color: var(--muted);
}

.sheet-row strong {
  text-align: right;
  font-size: 12px;
}

.format-toggle {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5px;
  margin-top: 12px;
  padding: 5px;
  border-radius: var(--radius-pill);
  background: var(--surface-tint);
}

.report-preview {
  display: grid;
  gap: 8px;
  margin-top: 14px;
}

.report-preview span {
  height: 9px;
  border-radius: 99px;
  background: #e7eaf5;
}

.report-preview span:nth-child(2) {
  width: 76%;
}

.report-preview span:nth-child(3) {
  width: 88%;
}

.report-preview span:nth-child(4) {
  width: 58%;
}

.hero__content {
  width: min(640px, 100%);
  margin-left: max(0px, calc((100vw - var(--max)) / 2));
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--brand-strong);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

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

h1,
h2,
h3 {
  overflow-wrap: break-word;
  -webkit-hyphens: auto;
  hyphens: auto;
}

h1 {
  margin-bottom: 12px;
  font-size: 64px;
  line-height: 1.04;
  letter-spacing: -0.02em;
}

h2 {
  margin-bottom: 16px;
  font-size: 54px;
  line-height: 1.02;
  letter-spacing: 0;
}

h3 {
  margin-bottom: 10px;
  font-size: 20px;
  line-height: 1.18;
  letter-spacing: 0;
}

.hero__lead {
  max-width: 590px;
  margin-bottom: 16px;
  font-size: 35px;
  font-weight: 750;
  line-height: 1.14;
  letter-spacing: -0.005em;
}

.hero__copy {
  max-width: 560px;
  margin-bottom: 26px;
  color: var(--text);
  font-size: 18px;
}

.hero__actions,
.download-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.store-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  min-width: 178px;
  min-height: 60px;
  padding: 10px 18px;
  border-radius: 16px;
  border: 1px solid transparent;
  font-weight: 800;
  line-height: 1.02;
  transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease;
}

.store-button small {
  display: block;
  margin-bottom: 4px;
  font-size: 11px;
  font-weight: 700;
  opacity: 0.72;
}

.store-button:hover,
.store-button:focus-visible {
  transform: translateY(-2px);
}

.store-button--dark {
  color: #ffffff;
  background: #22242f;
  box-shadow: 0 12px 28px rgba(34, 36, 47, 0.22);
}

.store-button--light {
  color: var(--ink);
  background: #ffffff;
  border-color: var(--line);
  box-shadow: var(--shadow-sm);
}

.store-button__logo {
  flex: 0 0 26px;
  width: 26px;
  height: 26px;
}

.hero__badges {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 20px;
}

.hero__badges span {
  min-height: 34px;
  padding: 0 12px;
  border: 1px solid rgba(52, 87, 213, 0.14);
  color: var(--brand-deep);
  background: rgba(242, 245, 255, 0.82);
}

.section-jumps {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 22px;
}

.section-jumps a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 38px;
  padding: 0 13px;
  border: 1px solid rgba(52, 87, 213, 0.16);
  border-radius: var(--radius-pill);
  color: var(--brand-deep);
  background: rgba(255, 255, 255, 0.84);
  box-shadow: var(--shadow-sm);
  font-size: 13px;
  font-weight: 850;
}

.section-jumps a:hover,
.section-jumps a:focus-visible,
.section-jumps a[aria-current="true"] {
  color: #ffffff;
  border-color: transparent;
  background: linear-gradient(135deg, #4062df, #2c49bd);
}

.section-pad {
  padding: 92px 22px;
}

.section-shell {
  width: min(var(--max), 100%);
  margin: 0 auto;
}

.problem-section {
  padding-top: 62px;
  background: #ffffff;
}

.problem-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(320px, 1fr);
  gap: 56px;
  align-items: end;
}

.problem-grid h2,
.section-heading h2,
.analysis-copy h2,
.export-copy h2,
.download-content h2 {
  max-width: 820px;
}

.section-lead,
.section-heading p,
.analysis-copy p,
.export-copy p,
.download-content p {
  color: var(--text);
  font-size: 18px;
}

.section-lead {
  margin-bottom: 0;
}

.section-heading {
  max-width: 760px;
  margin-bottom: 34px;
}

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

.workflow-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}

.workflow-card,
.trust-card,
.export-points article {
  border: 1px solid var(--line-soft);
  border-radius: var(--radius-card);
  background: var(--surface);
  box-shadow: var(--shadow-sm);
}

.workflow-card {
  min-height: 246px;
  padding: 26px;
}

.step-index {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 32px;
  margin-bottom: 34px;
  border-radius: var(--radius-pill);
  color: var(--brand-strong);
  background: var(--bg-soft);
  font-size: 12px;
  font-weight: 900;
}

.workflow-card:nth-child(2) .step-index {
  color: var(--green);
  background: var(--green-soft);
}

.workflow-card:nth-child(3) .step-index {
  color: var(--violet);
  background: var(--violet-soft);
}

.workflow-card:nth-child(4) .step-index {
  color: #8a5a0d;
  background: var(--amber-soft);
}

.workflow-card p,
.trust-card p,
.export-points p {
  margin-bottom: 0;
  color: var(--text);
}

.analysis-section {
  overflow: hidden;
  background:
    linear-gradient(180deg, #fbfaf7 0%, #ffffff 100%);
}

.analysis-grid,
.export-grid {
  display: grid;
  grid-template-columns: minmax(300px, 0.82fr) minmax(420px, 1.18fr);
  gap: 54px;
  align-items: center;
}

.analysis-copy {
  max-width: 520px;
}

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

.check-list li {
  position: relative;
  min-height: 38px;
  padding: 8px 0 8px 42px;
  color: var(--ink);
  font-weight: 750;
}

.check-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 7px;
  width: 28px;
  height: 28px;
  border-radius: 10px;
  background:
    linear-gradient(135deg, rgba(52, 87, 213, 0.92), rgba(47, 143, 102, 0.92));
}

.check-list li::after {
  content: "";
  position: absolute;
  left: 9px;
  top: 15px;
  width: 9px;
  height: 6px;
  border-left: 2px solid #ffffff;
  border-bottom: 2px solid #ffffff;
  transform: rotate(-45deg);
}

.analysis-panel {
  padding: 18px;
  border: 1px solid var(--line-soft);
  border-radius: 26px;
  background: rgba(255, 255, 255, 0.9);
  box-shadow: var(--shadow-md);
}

.panel-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  margin-bottom: 14px;
}

.panel-toolbar > span {
  font-size: 17px;
  font-weight: 850;
}

.panel-tabs {
  display: inline-grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 4px;
  min-width: 282px;
  padding: 5px;
  border-radius: var(--radius-pill);
  background: var(--surface-tint);
}

.panel-tabs span {
  min-height: 32px;
  padding: 0 10px;
}

.large-chart {
  overflow: hidden;
  border-radius: 18px;
  background:
    linear-gradient(180deg, rgba(242, 245, 255, 0.75), rgba(255, 255, 255, 0.92)),
    #ffffff;
}

.large-chart svg {
  width: 100%;
  height: auto;
}

.legend {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 14px;
}

.legend span {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 34px;
  padding: 0 11px;
  border: 1px solid var(--line-soft);
  border-radius: var(--radius-pill);
  background: #ffffff;
  color: var(--text);
  font-size: 13px;
  font-weight: 800;
}

.legend-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
}

.legend-dot--blue {
  background: var(--brand);
}

.legend-dot--green {
  background: var(--green);
}

.legend-dot--violet {
  background: var(--violet);
}

.legend-dot--amber {
  background: var(--amber);
}

.export-section {
  color: #ffffff;
  background:
    linear-gradient(135deg, #23263a 0%, #223a94 58%, #2f8f66 138%);
}

.export-section .eyebrow,
.export-section h2,
.export-section h3 {
  color: #ffffff;
}

.export-section p {
  color: rgba(255, 255, 255, 0.78);
}

.export-grid {
  grid-template-columns: minmax(430px, 1fr) minmax(300px, 0.86fr);
}

.export-preview {
  position: relative;
  min-height: 480px;
}

.doc-page,
.markdown-page {
  position: absolute;
  border-radius: 16px;
  background: #ffffff;
  color: var(--ink);
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.32);
}

.doc-page {
  left: 0;
  top: 0;
  width: min(410px, 74%);
  min-height: 440px;
  padding: 28px;
}

.markdown-page {
  right: 0;
  bottom: 0;
  width: min(330px, 58%);
  min-height: 260px;
  padding: 22px;
  background: #141821;
  color: #f2f4f8;
}

.doc-title {
  margin-bottom: 8px;
  font-size: 23px;
  font-weight: 900;
}

.doc-meta {
  margin-bottom: 22px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 700;
}

.doc-summary {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
}

.doc-summary span {
  display: grid;
  gap: 2px;
  min-height: 72px;
  padding: 12px 10px;
  border-radius: 12px;
  background: var(--bg-soft);
  color: var(--text);
  font-size: 11px;
  font-weight: 750;
}

.doc-summary strong {
  color: var(--brand-strong);
  font-size: 25px;
}

.doc-lines {
  display: grid;
  gap: 12px;
  margin-top: 28px;
}

.doc-lines span {
  height: 14px;
  border-radius: 99px;
  background: #e7eaf5;
}

.doc-lines span:nth-child(2) {
  width: 78%;
}

.doc-lines span:nth-child(3) {
  width: 92%;
}

.doc-lines span:nth-child(4) {
  width: 58%;
}

.markdown-page code {
  display: block;
  margin-bottom: 13px;
  color: #d9e3ff;
  font-family: "SFMono-Regular", Consolas, "Liberation Mono", monospace;
  font-size: 13px;
}

.export-copy {
  max-width: 520px;
}

.export-points {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-top: 26px;
}

.export-points article {
  padding: 18px;
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.18);
  box-shadow: none;
}

.trust-section {
  background: #ffffff;
}

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

.trust-card {
  min-height: 204px;
  padding: 24px;
}

.trust-card a,
.legal-document a {
  color: var(--brand-strong);
  font-weight: 800;
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

.trust-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  margin-top: 26px;
}

.trust-links a,
.legal-back {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 0 16px;
  border: 1px solid var(--line);
  border-radius: var(--radius-control);
  color: var(--brand-deep);
  background: #ffffff;
  box-shadow: var(--shadow-sm);
  font-size: 14px;
  font-weight: 850;
}

.download-section {
  position: relative;
  overflow: hidden;
  padding: 82px 22px;
  text-align: center;
  background: #fbfaf7;
}

.download-bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(135deg, rgba(52, 87, 213, 0.14), rgba(47, 143, 102, 0.12)),
    linear-gradient(180deg, rgba(255, 255, 255, 0), rgba(255, 255, 255, 0.74));
  clip-path: polygon(0 12%, 100% 0, 100% 100%, 0 100%);
}

.download-content {
  position: relative;
  z-index: 1;
  display: grid;
  justify-items: center;
}

.download-logo {
  width: 72px;
  height: 72px;
  margin-bottom: 18px;
  padding: 12px;
  border-radius: 20px;
  background: #ffffff;
  box-shadow: var(--shadow-sm);
  object-fit: contain;
}

.download-content h2 {
  margin-right: auto;
  margin-left: auto;
}

.download-content p {
  max-width: 650px;
}

.download-actions {
  justify-content: center;
  margin-top: 12px;
}

.download-note {
  min-height: 24px;
  margin: 18px 0 0;
  color: var(--muted);
  font-size: 13px;
}

.download-note code {
  padding: 2px 5px;
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.76);
  color: var(--brand-deep);
}

.download-note.is-visible {
  color: var(--brand-deep);
}

.site-footer {
  padding: 38px 22px;
  color: var(--text);
  background: #ffffff;
  border-top: 1px solid var(--line-soft);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr;
  gap: 28px;
}

.brand--footer {
  margin-bottom: 12px;
}

.footer-feedback {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 14px;
  color: var(--brand-strong);
  font-size: 14px;
  font-weight: 800;
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

.footer-feedback:hover,
.footer-feedback:focus-visible {
  color: var(--brand-deep);
}

.site-footer h2 {
  margin: 0 0 8px;
  color: var(--ink);
  font-size: 14px;
}

.site-footer p {
  margin-bottom: 0;
  font-size: 14px;
}

.footer-links {
  display: grid;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
  font-size: 14px;
}

.footer-links a {
  color: var(--text);
}

.footer-links a:hover,
.footer-links a:focus-visible {
  color: var(--brand-strong);
}

.legal-main {
  min-height: 100svh;
  padding: 128px 22px 72px;
  background:
    linear-gradient(180deg, rgba(52, 87, 213, 0.045), rgba(255, 255, 255, 0) 360px),
    #ffffff;
}

.legal-hero {
  display: grid;
  gap: 16px;
  margin-bottom: 44px;
}

.legal-back {
  width: fit-content;
}

.legal-hero h1 {
  max-width: 840px;
  margin-bottom: 0;
  font-size: 72px;
}

.legal-hero p {
  max-width: 780px;
  margin-bottom: 0;
  color: var(--text);
  font-size: 19px;
}

.legal-layout {
  display: grid;
  grid-template-columns: 260px minmax(0, 1fr);
  gap: 58px;
  align-items: start;
}

.legal-nav {
  position: sticky;
  top: calc(var(--header-height) + 28px);
  display: grid;
  gap: 6px;
  padding: 14px;
  border: 1px solid var(--line-soft);
  border-radius: var(--radius-card);
  background: rgba(255, 255, 255, 0.88);
  box-shadow: var(--shadow-sm);
}

.legal-nav a {
  padding: 9px 10px;
  border-radius: 10px;
  color: var(--text);
  font-size: 14px;
  font-weight: 800;
}

.legal-nav a:hover,
.legal-nav a:focus-visible {
  color: var(--ink);
  background: var(--bg-soft);
}

.legal-document {
  max-width: 820px;
}

.legal-section {
  padding: 32px 0;
  border-top: 1px solid var(--line-soft);
}

.legal-section:first-child {
  padding-top: 0;
  border-top: 0;
}

.legal-section h2 {
  margin-bottom: 14px;
  font-size: 34px;
}

.legal-section h3 {
  margin-top: 24px;
  font-size: 20px;
}

.legal-section p,
.legal-section li {
  color: var(--text);
}

.legal-section p:last-child,
.legal-section ul:last-child {
  margin-bottom: 0;
}

.legal-list {
  display: grid;
  gap: 10px;
  margin: 14px 0 0;
  padding-left: 22px;
}

.legal-meta {
  display: grid;
  gap: 8px;
  margin: 18px 0;
  padding: 18px;
  border: 1px solid var(--line-soft);
  border-radius: var(--radius-control);
  background: var(--surface-2);
}

.legal-meta p {
  margin-bottom: 0;
}

.placeholder-note {
  padding: 16px 18px;
  border: 1px solid rgba(217, 119, 6, 0.28);
  border-radius: var(--radius-control);
  color: #6f4300;
  background: var(--amber-soft);
  font-weight: 760;
}

.source-list {
  display: grid;
  gap: 8px;
  margin: 12px 0 0;
  padding: 0;
  list-style: none;
}

.b2b-main {
  background: #ffffff;
}

.b2b-hero {
  position: relative;
  overflow: hidden;
  min-height: 84svh;
  display: grid;
  align-items: center;
  padding: 128px 22px 72px;
  background:
    linear-gradient(135deg, rgba(47, 143, 102, 0.12), rgba(52, 87, 213, 0.1)),
    linear-gradient(180deg, #ffffff 0%, #fbfaf7 100%);
}

.b2b-hero::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: 0;
  width: min(720px, 58vw);
  height: min(520px, 62svh);
  background:
    linear-gradient(145deg, rgba(47, 143, 102, 0.16), rgba(91, 43, 211, 0.1)),
    linear-gradient(180deg, rgba(255, 255, 255, 0.68), rgba(255, 255, 255, 0));
  clip-path: polygon(24% 0, 100% 0, 100% 100%, 0 100%, 14% 54%);
  pointer-events: none;
}

.b2b-hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 0.72fr);
  gap: 58px;
  align-items: center;
}

.b2b-hero-copy h1 {
  max-width: 780px;
  font-size: 76px;
}

.b2b-lead {
  max-width: 690px;
  margin-bottom: 24px;
  color: var(--text);
  font-size: 22px;
}

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

.section-jumps--b2b {
  margin-top: 20px;
}

.b2b-brief {
  display: grid;
  gap: 14px;
}

.brief-card {
  position: relative;
  padding: 24px;
  border: 1px solid var(--line-soft);
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.9);
  box-shadow: var(--shadow-md);
}

.brief-card--primary {
  color: #ffffff;
  background: linear-gradient(135deg, #23263a 0%, #223a94 70%, #2f8f66 140%);
}

.brief-kicker {
  display: block;
  margin-bottom: 8px;
  color: inherit;
  font-size: 12px;
  font-weight: 900;
  opacity: 0.72;
  text-transform: uppercase;
}

.brief-card strong {
  display: block;
  margin-bottom: 10px;
  font-size: 32px;
  line-height: 1.05;
}

.brief-card p {
  margin-bottom: 0;
  color: inherit;
  opacity: 0.78;
}

.brief-bars {
  display: grid;
  gap: 9px;
  margin-top: 24px;
}

.brief-bars span {
  height: 11px;
  border-radius: var(--radius-pill);
  background: rgba(255, 255, 255, 0.26);
}

.brief-bars span:nth-child(2) {
  width: 78%;
}

.brief-bars span:nth-child(3) {
  width: 58%;
}

.b2b-pain-section {
  background: #ffffff;
}

.b2b-pain-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(360px, 1fr);
  gap: 58px;
  align-items: start;
}

.pain-panel {
  padding: 24px;
  border: 1px solid var(--line-soft);
  border-radius: 22px;
  background:
    linear-gradient(180deg, rgba(242, 245, 255, 0.76), rgba(255, 255, 255, 0.96)),
    #ffffff;
  box-shadow: var(--shadow-md);
}

.pain-panel h3 {
  margin-bottom: 18px;
}

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

.pain-list li {
  position: relative;
  min-height: 42px;
  padding: 12px 0 12px 44px;
  color: var(--text);
}

.pain-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 11px;
  width: 28px;
  height: 28px;
  border-radius: 10px;
  background: linear-gradient(135deg, var(--brand), var(--green));
}

.pain-list li::after {
  content: "";
  position: absolute;
  left: 9px;
  top: 19px;
  width: 9px;
  height: 6px;
  border-left: 2px solid #ffffff;
  border-bottom: 2px solid #ffffff;
  transform: rotate(-45deg);
}

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

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

.b2b-card,
.process-step,
.use-case-list article {
  border: 1px solid var(--line-soft);
  border-radius: var(--radius-card);
  background: var(--surface);
  box-shadow: var(--shadow-sm);
}

.b2b-card {
  min-height: 250px;
  padding: 26px;
}

.b2b-card p,
.process-step p,
.use-case-list p {
  margin-bottom: 0;
  color: var(--text);
}

.b2b-use-section {
  background:
    linear-gradient(180deg, #fbfaf7 0%, #ffffff 100%);
}

.b2b-use-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(360px, 1.15fr);
  gap: 58px;
  align-items: start;
}

.use-case-list {
  display: grid;
  gap: 12px;
}

.use-case-list article {
  padding: 20px;
}

.process-step {
  min-height: 220px;
  padding: 22px;
}

.process-step span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  margin-bottom: 30px;
  border-radius: 14px;
  color: #ffffff;
  background: linear-gradient(135deg, var(--brand), var(--green));
  font-size: 15px;
  font-weight: 900;
}

.b2b-cta-section {
  position: relative;
  overflow: hidden;
  padding: 86px 22px;
  color: #ffffff;
  background:
    linear-gradient(135deg, #23263a 0%, #223a94 62%, #2f8f66 140%);
  text-align: center;
}

.b2b-cta-section .eyebrow,
.b2b-cta-section h2 {
  color: #ffffff;
}

.b2b-cta-content {
  display: grid;
  justify-items: center;
}

.b2b-cta-content h2 {
  max-width: 820px;
}

.b2b-cta-content p {
  max-width: 680px;
  color: rgba(255, 255, 255, 0.78);
  font-size: 18px;
}

.b2b-cta-content .store-button {
  margin-top: 10px;
}

.recognise-section {
  background:
    linear-gradient(180deg, #faf7f2 0%, #ffffff 100%);
}

.recognise-card h3 {
  color: var(--brand-deep);
}

.recognise-outro {
  max-width: 760px;
  margin-top: 28px;
  font-weight: 700;
  color: var(--ink);
}

.privacy-section {
  background: #ffffff;
}

.report-note {
  margin-top: 16px;
  color: var(--muted);
  font-size: 14px;
}

.privacy-badges {
  justify-content: center;
  margin-top: 24px;
}

.privacy-badges span {
  min-height: 40px;
  padding: 0 16px;
  font-size: 14px;
}

.trust-grid--duo {
  max-width: 820px;
  margin: 0 auto;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.faq-section {
  background:
    linear-gradient(180deg, #faf7f2 0%, #ffffff 100%);
}

.faq-list {
  display: grid;
  gap: 12px;
  max-width: 820px;
  margin: 0 auto;
}

.faq-item {
  overflow: hidden;
  border: 1px solid var(--line-soft);
  border-radius: var(--radius-card);
  background: var(--surface);
  box-shadow: var(--shadow-sm);
}

.faq-item summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 20px 22px;
  color: var(--ink);
  font-size: 18px;
  font-weight: 700;
  line-height: 1.3;
  cursor: pointer;
  list-style: none;
}

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

.faq-item summary::after {
  content: "";
  flex: 0 0 11px;
  width: 11px;
  height: 11px;
  margin-top: 3px;
  border-right: 2px solid var(--brand);
  border-bottom: 2px solid var(--brand);
  transform: rotate(45deg);
  transition: transform 200ms ease;
}

.faq-item[open] summary::after {
  transform: rotate(-135deg);
}

.faq-item summary:focus-visible {
  outline: 3px solid rgba(52, 87, 213, 0.3);
  outline-offset: -3px;
}

.faq-answer {
  padding: 0 22px 22px;
  color: var(--text);
}

.faq-answer p {
  margin-bottom: 0;
}

.faq-answer p + p {
  margin-top: 12px;
}

.hero__grid {
  position: relative;
  z-index: 1;
  width: min(var(--max), 100%);
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 1.06fr) minmax(320px, 420px);
  gap: 52px;
  align-items: center;
}

.hero__grid .hero__content {
  width: auto;
  max-width: 620px;
  margin-left: 0;
}

.hero-list {
  padding: 26px 28px;
  border: 1px solid var(--line-soft);
  border-radius: var(--radius-card);
  background: rgba(255, 255, 255, 0.94);
  box-shadow: var(--shadow-md);
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
}

.hero-list__title {
  margin-bottom: 18px;
  color: var(--brand-strong);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.hero-list ul {
  display: grid;
  gap: 15px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.hero-list li {
  position: relative;
  padding: 0 0 0 34px;
  color: var(--text);
  font-size: 15px;
  line-height: 1.45;
}

.hero-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 2px;
  width: 22px;
  height: 22px;
  border-radius: 8px;
  background: linear-gradient(135deg, var(--brand), var(--green));
}

.hero-list li::after {
  content: "";
  position: absolute;
  left: 7px;
  top: 9px;
  width: 8px;
  height: 5px;
  border-left: 2px solid #ffffff;
  border-bottom: 2px solid #ffffff;
  transform: rotate(-45deg);
}

.hero-list li strong {
  color: var(--ink);
  font-weight: 700;
}

.modal {
  width: min(460px, calc(100% - 32px));
  padding: 0;
  border: none;
  border-radius: var(--radius-card);
  background: transparent;
  color: var(--ink);
  overflow: visible;
}

.modal::backdrop {
  background: rgba(26, 28, 40, 0.55);
  -webkit-backdrop-filter: blur(3px);
  backdrop-filter: blur(3px);
}

.modal[open] {
  animation: modal-in 200ms ease;
}

@keyframes modal-in {
  from {
    opacity: 0;
    transform: translateY(8px) scale(0.98);
  }
}

.modal__card {
  position: relative;
  padding: 36px 30px 30px;
  border-radius: var(--radius-card);
  background: #ffffff;
  box-shadow: var(--shadow-md);
  text-align: center;
}

.modal__close {
  position: absolute;
  top: 12px;
  right: 12px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border: none;
  border-radius: 10px;
  background: var(--surface-tint);
  color: var(--text);
  font-size: 20px;
  line-height: 1;
  cursor: pointer;
}

.modal__close:hover,
.modal__close:focus-visible {
  background: var(--line-soft);
  color: var(--ink);
}

.modal__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  margin: 0 auto 18px;
  border-radius: 16px;
  background: var(--bg-soft);
  font-size: 28px;
}

.modal__title {
  margin-bottom: 12px;
  font-size: 26px;
  line-height: 1.15;
}

.modal__text {
  margin-bottom: 24px;
  color: var(--text);
  font-size: 16px;
}

.modal__cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  min-height: 54px;
  padding: 0 20px;
  border-radius: var(--radius-control);
  color: #ffffff;
  background: linear-gradient(135deg, #4062df, #2c49bd);
  box-shadow: var(--shadow-brand);
  font-size: 15px;
  font-weight: 800;
}

.modal__cta:hover,
.modal__cta:focus-visible {
  transform: translateY(-1px);
}

@media (max-width: 1040px) {
  .site-header {
    width: calc(100% - 18px);
  }

  .site-nav {
    display: none;
  }

  .audience-switch {
    min-width: min(320px, 42vw);
  }

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

  .hero__grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .hero__grid .hero-list {
    max-width: 620px;
  }

  .phone-stack {
    right: -88px;
    bottom: 24px;
    width: 480px;
    opacity: 0.52;
  }

  .hero__content {
    margin-left: 0;
  }

  h1 {
    font-size: 54px;
  }

  h2 {
    font-size: 46px;
  }

  .hero__lead {
    font-size: 34px;
  }

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

  .analysis-grid,
  .export-grid,
  .problem-grid {
    grid-template-columns: 1fr;
  }

  .analysis-copy,
  .export-copy {
    max-width: 760px;
  }

  .export-grid {
    gap: 36px;
  }

  .export-preview {
    order: 2;
  }

  .legal-layout {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .legal-nav {
    position: static;
  }

  .b2b-hero {
    min-height: auto;
  }

  .b2b-hero-grid,
  .b2b-use-grid,
  .b2b-pain-grid {
    grid-template-columns: 1fr;
  }

  .b2b-brief {
    max-width: 680px;
  }

  .b2b-card-grid,
  .process-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 760px) {
  :root {
    --header-height: 108px;
    --anchor-offset: calc(var(--header-height) + 28px);
  }

  body {
    font-size: 15px;
  }

  .site-header {
    height: auto;
    min-height: var(--header-height);
    flex-wrap: wrap;
    align-content: center;
    gap: 8px;
    margin-top: 8px;
    padding: 10px;
    border-radius: 19px;
  }

  .brand {
    order: 1;
  }

  .audience-switch {
    order: 3;
    width: 100%;
    min-width: 0;
  }

  .audience-switch a {
    min-height: 36px;
    padding: 0 10px;
    font-size: 13px;
  }

  .header-cta {
    order: 2;
    margin-left: auto;
  }

  .brand {
    font-size: 17px;
  }

  .brand__mark {
    width: 34px;
    height: 34px;
  }

  .header-cta {
    min-height: 42px;
    padding: 0 14px;
  }

  .hero {
    padding: calc(var(--header-height) + 34px) 18px 36px;
  }

  .hero::after {
    width: 100vw;
    height: 46svh;
    opacity: 0.72;
  }

  .phone-stack {
    right: -164px;
    bottom: 16px;
    transform: scale(0.84);
    transform-origin: right bottom;
    opacity: 0.28;
  }

  .hero__copy {
    font-size: 16px;
  }

  h1 {
    font-size: 40px;
  }

  h2 {
    font-size: 38px;
  }

  .hero__lead {
    font-size: 28px;
  }

  .trust-grid--duo {
    grid-template-columns: 1fr;
  }

  .hero__actions,
  .download-actions,
  .b2b-actions {
    display: grid;
    grid-template-columns: 1fr;
    width: min(360px, 100%);
  }

  .store-button {
    width: 100%;
  }

  .section-pad {
    padding: 66px 18px;
  }

  .problem-section {
    padding-top: 46px;
  }

  .section-heading {
    margin-bottom: 24px;
  }

  .section-lead,
  .section-heading p,
  .analysis-copy p,
  .export-copy p,
  .download-content p {
    font-size: 16px;
  }

  .workflow-grid,
  .trust-grid,
  .export-points {
    grid-template-columns: 1fr;
  }

  .workflow-card,
  .trust-card {
    min-height: auto;
    padding: 20px;
  }

  .step-index {
    margin-bottom: 22px;
  }

  .panel-toolbar {
    align-items: stretch;
    flex-direction: column;
  }

  .panel-tabs {
    min-width: 0;
    width: 100%;
  }

  .analysis-panel {
    padding: 12px;
    border-radius: 20px;
  }

  .export-preview {
    min-height: 430px;
  }

  .doc-page {
    width: 88%;
    min-height: 360px;
    padding: 20px;
  }

  .markdown-page {
    width: 76%;
    min-height: 210px;
    padding: 18px;
  }

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

  .doc-summary span {
    min-height: 56px;
  }

  .download-section {
    padding: 64px 18px;
  }

  .b2b-hero {
    padding: calc(var(--header-height) + 34px) 18px 50px;
  }

  .b2b-hero-copy h1 {
    font-size: 46px;
  }

  .b2b-lead,
  .b2b-cta-content p {
    font-size: 16px;
  }

  .brief-card,
  .b2b-card,
  .process-step,
  .use-case-list article {
    padding: 20px;
  }

  .brief-card strong {
    font-size: 28px;
  }

  .b2b-cta-section {
    padding: 66px 18px;
  }

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

  .legal-main {
    padding: calc(var(--header-height) + 34px) 18px 56px;
  }

  .legal-hero h1 {
    font-size: 48px;
  }

  .legal-hero p {
    font-size: 16px;
  }

  .legal-section {
    padding: 26px 0;
  }

  .legal-section h2 {
    font-size: 30px;
  }
}

@media (max-width: 430px) {
  h1 {
    font-size: 34px;
  }

  h2 {
    font-size: 34px;
  }

  .legal-hero h1 {
    font-size: 40px;
  }

  .b2b-hero-copy h1 {
    font-size: 40px;
  }

  .hero__lead {
    font-size: 25px;
  }

  .hero__badges {
    max-width: 320px;
  }

  .phone-stack {
    display: none;
  }

  .hero::after {
    display: none;
  }
}

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