/* Finxic — brand system and site styles */
/* Palette from FINXIC Brand Identity + PRD v1.0 */

:root {
  --navy: #101b3d;
  --navy-deep: #0a1330;
  --navy-soft: #1b2a55;
  --blue: #426bff;
  --blue-light: #6c8bff;
  --blue-strong: #3154d9;
  --blue-soft: #eaf0ff;
  --white: #ffffff;
  --grey: #eef1f6;
  --grey-soft: #f7f9fc;
  --text: #1b2545;
  --muted: #5c6784;
  --border: #dde3ee;
  --teal: #12a594;
  --teal-dark: #0b6e63;
  --teal-soft: #e6f7f4;
  --amber: #f5a524;
  --amber-dark: #8a5b00;
  --amber-soft: #fff4e0;
  --red: #d93f47;
  --red-dark: #992129;
  --red-soft: #fdecec;
  --shadow-sm: 0 1px 2px rgba(16, 27, 61, 0.06), 0 4px 14px rgba(16, 27, 61, 0.05);
  --shadow-md: 0 18px 50px rgba(16, 27, 61, 0.12);
  --shadow-lg: 0 30px 80px rgba(16, 27, 61, 0.2);
  --radius: 14px;
  --radius-lg: 20px;
  --container: 1200px;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Inter", ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;
  color: var(--text);
  background: var(--white);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

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

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

button,
input,
select,
textarea {
  font: inherit;
}

button {
  cursor: pointer;
}

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

h1,
h2,
h3,
h4 {
  color: var(--navy);
  line-height: 1.15;
  letter-spacing: -0.025em;
}

:focus-visible {
  outline: 3px solid rgba(66, 107, 255, 0.5);
  outline-offset: 3px;
}

::selection {
  background: var(--blue-soft);
  color: var(--navy);
}

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

.container {
  width: min(calc(100% - 48px), var(--container));
  margin-inline: auto;
}

.container--narrow {
  width: min(calc(100% - 48px), 820px);
}

.section {
  padding: 96px 0;
}

.section--tight {
  padding: 72px 0;
}

.section--soft {
  background: var(--grey-soft);
}

.section--navy {
  background: var(--navy);
  color: #cbd4ea;
}

.section--navy h2,
.section--navy h3 {
  color: var(--white);
}

.section-head {
  max-width: 720px;
  margin-bottom: 48px;
}

.section-head--center {
  margin-inline: auto;
  text-align: center;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 16px;
  color: var(--blue-strong);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.eyebrow::before {
  content: "";
  width: 22px;
  height: 2px;
  border-radius: 2px;
  background: currentColor;
}

.eyebrow--light {
  color: var(--blue-light);
}

.h1 {
  font-size: clamp(2.6rem, 5.4vw, 4.4rem);
  font-weight: 800;
  letter-spacing: -0.04em;
  line-height: 1.05;
}

.h2 {
  font-size: clamp(2rem, 3.6vw, 3rem);
  font-weight: 800;
  letter-spacing: -0.035em;
}

.h3 {
  font-size: 1.25rem;
  font-weight: 750;
}

.lead {
  font-size: clamp(1.05rem, 1.5vw, 1.2rem);
  color: var(--muted);
  line-height: 1.7;
}

.section--navy .lead {
  color: #b9c4df;
}

.text-blue {
  color: var(--blue-strong);
}

.text-teal {
  color: var(--teal-dark);
}

.mt-0 { margin-top: 0; }
.mb-0 { margin-bottom: 0; }
.mt-24 { margin-top: 24px; }
.mt-40 { margin-top: 40px; }
.center { text-align: center; }

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  min-height: 48px;
  padding: 12px 22px;
  border: 1px solid transparent;
  border-radius: 999px;
  font-size: 0.95rem;
  font-weight: 700;
  line-height: 1;
  text-align: center;
  transition: transform 0.15s ease, background 0.15s ease, border-color 0.15s ease, box-shadow 0.15s ease;
}

.btn:hover {
  transform: translateY(-1px);
}

.btn:active {
  transform: translateY(0);
}

.btn--primary {
  background: var(--blue-strong);
  color: var(--white);
  box-shadow: 0 8px 20px rgba(49, 84, 217, 0.24);
}

.btn--primary:hover {
  background: #2746bd;
}

.btn--secondary {
  background: var(--white);
  color: var(--navy);
  border-color: var(--border);
  box-shadow: var(--shadow-sm);
}

.btn--secondary:hover {
  border-color: var(--blue);
  color: var(--blue-strong);
}

.btn--ghost {
  background: transparent;
  color: var(--navy);
}

.btn--ghost:hover {
  background: var(--grey);
}

.btn--light {
  background: var(--white);
  color: var(--navy);
}

.btn--light:hover {
  background: var(--blue-soft);
}

.btn--outline-light {
  background: transparent;
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.45);
}

.btn--outline-light:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: var(--white);
}

.btn--small {
  min-height: 40px;
  padding: 9px 16px;
  font-size: 0.87rem;
}

.btn--block {
  width: 100%;
}

.btn svg {
  width: 17px;
  height: 17px;
  flex: 0 0 auto;
}

/* Badges and chips */
.badge {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 6px 12px;
  border-radius: 999px;
  background: var(--blue-soft);
  color: var(--blue-strong);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.01em;
}

.badge--blue { background: var(--blue-soft); color: var(--blue-strong); }
.badge--teal { background: var(--teal-soft); color: var(--teal-dark); }
.badge--amber { background: var(--amber-soft); color: var(--amber-dark); }
.badge--grey { background: var(--grey); color: var(--muted); }
.badge--light { background: rgba(255, 255, 255, 0.12); color: #e7ecfa; }

.badge__dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: currentColor;
}

.illustrative {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--muted);
  font-size: 0.75rem;
  font-weight: 650;
}

.illustrative::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--amber);
}

/* Cards and grids */
.card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px;
  box-shadow: var(--shadow-sm);
}

.card--flat {
  box-shadow: none;
}

.card--navy {
  background: var(--navy-soft);
  border-color: rgba(255, 255, 255, 0.08);
  color: #d5dcf0;
}

.card--navy h3 { color: var(--white); }

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

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

.icon-tile {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 46px;
  height: 46px;
  margin-bottom: 18px;
  border-radius: 12px;
  background: var(--blue-soft);
  color: var(--blue-strong);
}

.icon-tile svg { width: 23px; height: 23px; }
.icon-tile--teal { background: var(--teal-soft); color: var(--teal-dark); }
.icon-tile--amber { background: var(--amber-soft); color: var(--amber-dark); }
.icon-tile--navy { background: var(--navy); color: var(--white); }

.feature-card p {
  color: var(--muted);
  margin-bottom: 0;
}

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

.check-list li {
  position: relative;
  padding-left: 30px;
  color: var(--muted);
}

.check-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.42em;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--teal-soft);
}

.check-list li::after {
  content: "";
  position: absolute;
  left: 5px;
  top: 0.72em;
  width: 7px;
  height: 4px;
  border-left: 2px solid var(--teal-dark);
  border-bottom: 2px solid var(--teal-dark);
  transform: rotate(-45deg);
}

.check-list--light li { color: #cbd4ea; }
.check-list--light li::before { background: rgba(18, 165, 148, 0.25); }
.check-list--light li::after { border-color: #6ee7d7; }

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 60;
  background: rgba(255, 255, 255, 0.94);
  border-bottom: 1px solid var(--border);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}

.nav {
  display: flex;
  align-items: center;
  gap: 28px;
  height: 72px;
}

.logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  flex: 0 0 auto;
}

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

.logo__text {
  color: var(--navy);
  font-size: 1.4rem;
  font-weight: 800;
  letter-spacing: -0.045em;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 26px;
  margin-inline: auto;
}

.nav-links a {
  color: var(--muted);
  font-size: 0.92rem;
  font-weight: 600;
  transition: color 0.15s ease;
}

.nav-links a:hover,
.nav-links a[aria-current="page"] {
  color: var(--blue-strong);
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 8px;
  flex: 0 0 auto;
}

.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 42px;
  height: 42px;
  padding: 0 10px;
  border: 1px solid var(--border);
  border-radius: 10px;
  background: var(--white);
}

.nav-toggle span {
  display: block;
  width: 100%;
  height: 2px;
  border-radius: 2px;
  background: var(--navy);
}

/* Hero */
.hero {
  position: relative;
  overflow: hidden;
  padding: 88px 0 104px;
  background:
    radial-gradient(circle at 78% 18%, rgba(66, 107, 255, 0.45), transparent 42%),
    radial-gradient(circle at 12% 82%, rgba(18, 165, 148, 0.18), transparent 38%),
    linear-gradient(140deg, var(--navy-deep) 0%, var(--navy) 58%, #16265a 100%);
  color: var(--white);
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image: radial-gradient(rgba(255, 255, 255, 0.08) 1px, transparent 1px);
  background-size: 26px 26px;
  mask-image: linear-gradient(to bottom, rgba(0, 0, 0, 0.5), transparent 70%);
  -webkit-mask-image: linear-gradient(to bottom, rgba(0, 0, 0, 0.5), transparent 70%);
}

.hero > .container {
  position: relative;
  z-index: 1;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.02fr 0.98fr;
  gap: 64px;
  align-items: center;
}

.hero h1 { color: var(--white); }

.hero .lead {
  max-width: 560px;
  color: #c6d0e9;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin: 32px 0 26px;
}

.hero-proof {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 22px;
  color: #aebbd9;
  font-size: 0.86rem;
}

.hero-proof span {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.hero-proof span::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--teal);
}

/* Dashboard mock */
.mock {
  background: var(--white);
  border-radius: 18px;
  box-shadow: var(--shadow-lg);
  overflow: hidden;
  color: var(--text);
  transform: perspective(1200px) rotateY(-4deg) rotateX(2deg);
}

.mock__bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 14px 18px;
  background: var(--navy);
  color: var(--white);
}

.mock__dots { display: flex; gap: 6px; }
.mock__dots i { width: 8px; height: 8px; border-radius: 50%; background: rgba(255,255,255,.3); }
.mock__dots i:first-child { background: #ff7b72; }
.mock__dots i:nth-child(2) { background: #f5c451; }
.mock__dots i:nth-child(3) { background: #5ad19a; }

.mock__bar strong { font-size: 0.78rem; letter-spacing: 0.02em; }

.mock__body { padding: 20px; background: var(--grey-soft); }

.mock__top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 16px;
}

.mock__top h3 { margin-bottom: 2px; font-size: 1.05rem; }

.mock__stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  margin-bottom: 14px;
}

.mock__stat {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 12px;
}

.mock__stat span {
  display: block;
  color: var(--muted);
  font-size: 0.68rem;
  font-weight: 650;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.mock__stat strong {
  display: block;
  margin-top: 5px;
  color: var(--navy);
  font-size: 1.05rem;
  font-variant-numeric: tabular-nums;
}

.mock__stat small { color: var(--teal-dark); font-size: 0.68rem; font-weight: 700; }
.mock__stat small.is-down { color: var(--red-dark); }

.chart-panel {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 14px;
}

.chart-panel__head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 12px;
}

.chart-panel__head strong { font-size: 0.82rem; color: var(--navy); }

.chart-legend {
  display: flex;
  gap: 12px;
  color: var(--muted);
  font-size: 0.66rem;
}

.chart-legend span { display: inline-flex; align-items: center; gap: 5px; }
.chart-legend i { width: 7px; height: 7px; border-radius: 2px; background: var(--blue); }
.chart-legend i.muted { background: #c9d6ff; }

.chart {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 8px;
  height: 118px;
  align-items: end;
}

.chart__group {
  display: flex;
  align-items: flex-end;
  justify-content: center;
  gap: 3px;
  height: 100%;
}

.chart__bar {
  width: 9px;
  border-radius: 4px 4px 0 0;
  background: var(--blue);
}

.chart__bar--muted { background: #c9d6ff; }

.chart__labels {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 8px;
  margin-top: 7px;
  color: var(--muted);
  font-size: 0.64rem;
  text-align: center;
}

.mock__insight {
  display: flex;
  gap: 10px;
  margin-top: 12px;
  padding: 12px;
  border-radius: 10px;
  background: var(--navy);
  color: #e6ebf8;
  font-size: 0.72rem;
  line-height: 1.5;
}

.mock__insight .icon-tile {
  width: 28px;
  height: 28px;
  margin: 0;
  flex: 0 0 auto;
  background: rgba(255,255,255,.12);
  color: var(--blue-light);
  border-radius: 8px;
}

.mock__insight .icon-tile svg { width: 15px; height: 15px; }
.mock__insight strong { color: var(--white); }

/* Logo cloud / metric strip */
.strip {
  padding: 32px 0;
  border-bottom: 1px solid var(--border);
  background: var(--white);
}

.strip__inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 18px 36px;
}

.strip__label {
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

.strip__items {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 30px;
  color: var(--navy);
  font-size: 0.9rem;
  font-weight: 650;
}

.strip__items span { display: inline-flex; align-items: center; gap: 8px; }
.strip__items span::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--blue); }

/* Split feature rows */
.feature-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}

.feature-row + .feature-row { margin-top: 88px; }

.feature-row__art { min-width: 0; }

.feature-row__copy .check-list { margin-top: 22px; }

.feature-row--reverse .feature-row__art { order: -1; }

.mini-window {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  overflow: hidden;
}

.mini-window__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 18px;
  border-bottom: 1px solid var(--border);
  background: var(--grey-soft);
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--navy);
}

.mini-window__body { padding: 20px; }

.mini-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 11px 0;
  border-bottom: 1px solid var(--border);
  font-size: 0.84rem;
}

.mini-row:last-child { border-bottom: 0; }
.mini-row strong { color: var(--navy); font-variant-numeric: tabular-nums; }
.mini-row span { color: var(--muted); }

.mini-progress {
  height: 8px;
  border-radius: 999px;
  background: var(--grey);
  overflow: hidden;
  margin: 8px 0 18px;
}

.mini-progress i {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--blue), var(--blue-light));
}

/* AI spotlight */
.ai-spotlight {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 64px;
  align-items: center;
}

.chat {
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding: 26px;
  border-radius: var(--radius-lg);
  background: var(--navy);
  color: #e7ecfa;
  box-shadow: var(--shadow-lg);
}

.chat__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding-bottom: 14px;
  border-bottom: 1px solid rgba(255,255,255,.12);
}

.chat__head strong { color: var(--white); }

.chat__bubble {
  max-width: 88%;
  padding: 13px 16px;
  border-radius: 14px;
  font-size: 0.88rem;
  line-height: 1.55;
}

.chat__bubble--user {
  align-self: flex-end;
  background: rgba(255,255,255,.12);
  color: var(--white);
  border-bottom-right-radius: 4px;
}

.chat__bubble--answer {
  align-self: flex-start;
  background: var(--white);
  color: var(--text);
  border-bottom-left-radius: 4px;
}

.chat__bubble--answer strong { color: var(--navy); }

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

.source-chip {
  padding: 4px 9px;
  border-radius: 999px;
  background: var(--blue-soft);
  color: var(--blue-strong);
  font-size: 0.68rem;
  font-weight: 700;
}

.chat__note {
  color: #aebbd9;
  font-size: 0.74rem;
}

/* Steps */
.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  counter-reset: step;
}

.step {
  position: relative;
  padding: 30px 26px 26px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--white);
}

.step::before {
  counter-increment: step;
  content: "0" counter(step);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  margin-bottom: 16px;
  border-radius: 10px;
  background: var(--navy);
  color: var(--white);
  font-size: 0.78rem;
  font-weight: 800;
}

.step h3 { margin-bottom: 8px; }
.step p { color: var(--muted); margin-bottom: 0; font-size: 0.92rem; }

/* Pricing */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 14px;
  align-items: stretch;
}

.plan {
  display: flex;
  flex-direction: column;
  padding: 24px 20px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: var(--shadow-sm);
}

.plan--featured {
  border-color: var(--blue);
  box-shadow: 0 18px 44px rgba(66, 107, 255, 0.16);
}

.plan__name { margin-bottom: 6px; font-size: 1.05rem; }
.plan__for { min-height: 44px; color: var(--muted); font-size: 0.8rem; }
.plan__price { margin: 16px 0 4px; color: var(--navy); font-size: 1.02rem; font-weight: 750; }
.plan__note { color: var(--muted); font-size: 0.72rem; }
.plan__list { margin: 20px 0 24px; padding-top: 18px; border-top: 1px solid var(--border); }
.plan__list li { font-size: 0.83rem; }
.plan .btn { margin-top: auto; }

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

.faq details {
  border: 1px solid var(--border);
  border-radius: 12px;
  background: var(--white);
  padding: 0 20px;
}

.faq summary {
  padding: 18px 0;
  font-weight: 700;
  color: var(--navy);
  cursor: pointer;
  list-style: none;
}

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

.faq summary::after {
  content: "+";
  float: right;
  color: var(--blue-strong);
  font-size: 1.2rem;
  line-height: 1;
}

.faq details[open] summary::after { content: "–"; }
.faq details p { color: var(--muted); margin-bottom: 18px; }

/* Trust page */
.trust-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; }

.trust-item {
  display: flex;
  gap: 16px;
  padding: 22px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--white);
}

.trust-item .icon-tile { margin: 0; flex: 0 0 auto; width: 42px; height: 42px; }
.trust-item h3 { font-size: 1rem; margin-bottom: 5px; }
.trust-item p { margin: 0; color: var(--muted); font-size: 0.88rem; }

.notice {
  display: flex;
  gap: 14px;
  padding: 20px;
  border: 1px solid #f4dfb6;
  border-radius: 12px;
  background: var(--amber-soft);
  color: var(--amber-dark);
  font-size: 0.9rem;
}

.notice svg { flex: 0 0 auto; width: 20px; height: 20px; margin-top: 2px; }

/* Forms */
.form-card {
  padding: 32px;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  background: var(--white);
  box-shadow: var(--shadow-md);
}

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

.field--full { grid-column: 1 / -1; }

.field label {
  display: block;
  margin-bottom: 7px;
  color: var(--navy);
  font-size: 0.86rem;
  font-weight: 700;
}

.field input,
.field select,
.field textarea {
  width: 100%;
  padding: 13px 14px;
  border: 1px solid var(--border);
  border-radius: 10px;
  background: var(--white);
  color: var(--text);
  font-size: 0.92rem;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.field textarea { min-height: 130px; resize: vertical; }

.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--blue);
  box-shadow: 0 0 0 4px rgba(66, 107, 255, 0.12);
}

.field input[aria-invalid="true"],
.field select[aria-invalid="true"],
.field textarea[aria-invalid="true"] { border-color: var(--red); }

.field-error {
  display: none;
  margin-top: 6px;
  color: var(--red-dark);
  font-size: 0.78rem;
}

.field-error.is-visible { display: block; }

.checkbox-field {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  color: var(--muted);
  font-size: 0.84rem;
}

.checkbox-field input { width: 17px; height: 17px; margin-top: 3px; accent-color: var(--blue-strong); }

.form-status {
  display: none;
  margin-top: 20px;
  padding: 16px 18px;
  border: 1px solid #bfe9e2;
  border-radius: 10px;
  background: var(--teal-soft);
  color: var(--teal-dark);
  font-size: 0.9rem;
}

.form-status.is-visible { display: block; }

.form-note {
  margin-top: 14px;
  color: var(--muted);
  font-size: 0.78rem;
}

/* CTA band */
.cta-band {
  position: relative;
  overflow: hidden;
  padding: 72px 0;
  background:
    radial-gradient(circle at 85% 20%, rgba(66, 107, 255, 0.35), transparent 40%),
    linear-gradient(130deg, var(--navy-deep), var(--navy));
  color: var(--white);
  text-align: center;
}

.cta-band h2 { color: var(--white); }
.cta-band .lead { color: #c6d0e9; max-width: 640px; margin-inline: auto; }
.cta-band__actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-top: 28px; }

/* Footer */
.site-footer {
  padding: 72px 0 28px;
  background: var(--navy-deep);
  color: #aebbd9;
  font-size: 0.88rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr repeat(3, 1fr);
  gap: 40px;
}

.footer-brand .logo__text { color: var(--white); }
.footer-brand p { max-width: 280px; margin: 16px 0 0; color: #9eaccb; }

.footer-col h3 {
  margin-bottom: 16px;
  color: var(--white);
  font-size: 0.78rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.footer-col ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.footer-col a:hover { color: var(--white); }

.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 12px 24px;
  margin-top: 56px;
  padding-top: 22px;
  border-top: 1px solid rgba(255,255,255,.12);
  color: #8f9dbd;
  font-size: 0.78rem;
}

/* Product preview / app shell */
.app-shell {
  display: grid;
  grid-template-columns: 240px minmax(0, 1fr);
  min-height: calc(100vh - 72px);
  background: var(--grey-soft);
}

.app-sidebar {
  padding: 24px 14px;
  background: var(--navy);
  color: #b9c4df;
}

.side-group + .side-group { margin-top: 24px; }

.side-group__title {
  margin: 0 0 8px 12px;
  color: #7f8db2;
  font-size: 0.66rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.side-nav { display: grid; gap: 3px; }

.side-link {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 9px 12px;
  border-radius: 8px;
  color: #c4cee6;
  font-size: 0.84rem;
  font-weight: 600;
}

.side-link svg { width: 17px; height: 17px; flex: 0 0 auto; }
.side-link:hover { background: rgba(255,255,255,.07); color: var(--white); }
.side-link.is-active { background: rgba(66, 107, 255, 0.24); color: var(--white); }

.app-main { min-width: 0; }

.app-topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 16px 28px;
  border-bottom: 1px solid var(--border);
  background: var(--white);
}

.app-topbar__left,
.app-topbar__right { display: flex; align-items: center; gap: 12px; }

.app-switcher {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 7px 12px;
  border: 1px solid var(--border);
  border-radius: 9px;
  color: var(--navy);
  font-size: 0.82rem;
  font-weight: 700;
}

.app-switcher i {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  border-radius: 6px;
  background: var(--blue-soft);
  color: var(--blue-strong);
  font-style: normal;
  font-size: 0.7rem;
}

.app-icon-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border: 1px solid var(--border);
  border-radius: 9px;
  background: var(--white);
  color: var(--muted);
}

.app-icon-btn svg { width: 18px; height: 18px; }
.avatar {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: var(--teal-soft);
  color: var(--teal-dark);
  font-size: 0.75rem;
  font-weight: 800;
}

.app-content { padding: 26px 28px 56px; }

.app-heading {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 14px;
  margin-bottom: 22px;
}

.app-heading h1 { font-size: 1.6rem; margin-bottom: 3px; }
.app-heading p { margin: 0; color: var(--muted); font-size: 0.85rem; }

.app-filters { display: flex; flex-wrap: wrap; gap: 8px; }

.app-filter {
  padding: 8px 13px;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: var(--white);
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 650;
}

.app-filter.is-active { border-color: var(--blue); background: var(--blue-soft); color: var(--blue-strong); }

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

.stat-card {
  padding: 16px 18px;
  border: 1px solid var(--border);
  border-radius: 12px;
  background: var(--white);
}

.stat-card__label { display: flex; justify-content: space-between; align-items: center; gap: 8px; }
.stat-card__label span { color: var(--muted); font-size: 0.72rem; font-weight: 750; text-transform: uppercase; letter-spacing: 0.05em; }
.stat-card__value { margin: 7px 0 3px; color: var(--navy); font-size: 1.45rem; font-weight: 800; font-variant-numeric: tabular-nums; letter-spacing: -0.03em; }
.stat-card__delta { font-size: 0.75rem; font-weight: 700; }
.stat-card__delta.is-up { color: var(--teal-dark); }
.stat-card__delta.is-down { color: var(--red-dark); }
.stat-card__delta.is-neutral { color: var(--muted); }

.app-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) minmax(280px, 0.8fr);
  gap: 18px;
  align-items: start;
}

.panel {
  border: 1px solid var(--border);
  border-radius: 12px;
  background: var(--white);
  overflow: hidden;
}

.panel__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 16px 18px;
  border-bottom: 1px solid var(--border);
}

.panel__head h2 { margin: 0; font-size: 0.95rem; }
.panel__head p { margin: 2px 0 0; color: var(--muted); font-size: 0.72rem; }
.panel__body { padding: 18px; }

.app-chart { height: 190px; }
.app-chart .chart__bar { width: 12px; }

.table-wrap { overflow-x: auto; }

.data-table { width: 100%; border-collapse: collapse; font-size: 0.82rem; }

.data-table th {
  padding: 11px 16px;
  border-bottom: 1px solid var(--border);
  background: var(--grey-soft);
  color: var(--muted);
  font-size: 0.66rem;
  font-weight: 800;
  letter-spacing: 0.07em;
  text-align: left;
  text-transform: uppercase;
  white-space: nowrap;
}

.data-table td {
  padding: 12px 16px;
  border-bottom: 1px solid var(--border);
  color: var(--text);
  white-space: nowrap;
}

.data-table tr:last-child td { border-bottom: 0; }
.data-table td.amount { color: var(--navy); font-weight: 750; font-variant-numeric: tabular-nums; }
.data-table td.muted { color: var(--muted); }

.status {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 9px;
  border-radius: 999px;
  font-size: 0.68rem;
  font-weight: 750;
}

.status::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: currentColor; }
.status--posted { background: var(--teal-soft); color: var(--teal-dark); }
.status--pending { background: var(--amber-soft); color: var(--amber-dark); }
.status--review { background: var(--blue-soft); color: var(--blue-strong); }

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

.insight {
  padding: 14px;
  border: 1px solid var(--border);
  border-radius: 10px;
  background: var(--grey-soft);
}

.insight__top { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin-bottom: 5px; }
.insight__top strong { color: var(--navy); font-size: 0.85rem; }
.insight p { margin: 0; color: var(--muted); font-size: 0.78rem; }
.insight a { display: inline-block; margin-top: 8px; color: var(--blue-strong); font-size: 0.75rem; font-weight: 750; }

.ai-cta {
  width: 100%;
  margin-top: 16px;
  padding: 14px;
  border: 0;
  border-radius: 10px;
  background: var(--navy);
  color: var(--white);
  font-size: 0.86rem;
  font-weight: 750;
}

.ai-cta:hover { background: var(--navy-soft); }

.tabs {
  display: flex;
  gap: 4px;
  margin-bottom: 18px;
  border-bottom: 1px solid var(--border);
}

.tab {
  padding: 10px 15px;
  border: 0;
  border-bottom: 2px solid transparent;
  background: transparent;
  color: var(--muted);
  font-size: 0.85rem;
  font-weight: 650;
}

.tab[aria-selected="true"] { color: var(--navy); border-bottom-color: var(--blue); font-weight: 800; }

.tab-panel[hidden] { display: none; }

.ai-backdrop {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 79;
  background: rgba(10, 19, 48, 0.48);
}

.ai-backdrop.is-open { display: block; }

.ai-drawer {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  z-index: 80;
  display: flex;
  flex-direction: column;
  width: min(420px, 100%);
  background: var(--white);
  box-shadow: -20px 0 60px rgba(16, 27, 61, 0.25);
  transform: translateX(100%);
  transition: transform 0.25s ease;
}

.ai-drawer.is-open { transform: translateX(0); }

.ai-drawer__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 18px 20px;
  background: var(--navy);
  color: var(--white);
}

.ai-drawer__head strong { font-size: 0.95rem; }
.ai-drawer__head span { display: block; color: #b9c4df; font-size: 0.72rem; }

.ai-drawer__close {
  border: 0;
  background: transparent;
  color: var(--white);
  font-size: 1.5rem;
  line-height: 1;
}

.ai-drawer__body { flex: 1; overflow-y: auto; padding: 20px; display: flex; flex-direction: column; gap: 14px; }

.ai-drawer__foot { padding: 14px 20px; border-top: 1px solid var(--border); }

.ai-drawer__foot form { display: block; }
.ai-drawer__foot .field--full { display: flex; gap: 8px; }
.ai-drawer__foot .field--full + .field--full { display: block; margin-top: 10px; }
.ai-drawer__foot input { flex: 1; min-width: 0; padding: 11px 13px; border: 1px solid var(--border); border-radius: 9px; font-size: 0.85rem; }

.ai-drawer__note { margin: 10px 0 0; color: var(--muted); font-size: 0.72rem; }

/* Pitch-ready homepage additions */
.hero-visual {
  position: relative;
  min-width: 0;
  padding-top: 84px;
}

.hero-visual::before {
  content: "";
  position: absolute;
  top: -30px;
  left: -34px;
  width: 150px;
  height: 150px;
  border: 1px solid rgba(108, 139, 255, 0.28);
  border-radius: 50%;
  pointer-events: none;
}

.hero-visual::after {
  content: "FINXIC / PROOF";
  position: absolute;
  right: -6px;
  bottom: -30px;
  color: rgba(199, 208, 233, 0.32);
  font-size: 0.58rem;
  font-weight: 800;
  letter-spacing: 0.24em;
  pointer-events: none;
}

.evidence-card {
  position: absolute;
  top: -18px;
  right: -18px;
  z-index: 2;
  width: 50%;
  max-width: 240px;
  padding: 12px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 16px;
  background: linear-gradient(155deg, rgba(27, 42, 85, 0.98), rgba(10, 19, 48, 0.98));
  box-shadow: 0 24px 60px rgba(4, 10, 30, 0.45);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

.evidence-card::after {
  content: "";
  position: absolute;
  bottom: 14px;
  left: -40px;
  width: 40px;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(18, 165, 148, 0.85));
}

.evidence-card::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: linear-gradient(135deg, rgba(108, 139, 255, 0.16), transparent 46%);
  pointer-events: none;
}

.evidence-card__head {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin-bottom: 8px;
}

.evidence-card__eyebrow {
  color: #aebbd9;
  font-size: 0.58rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.evidence-card .badge {
  padding: 4px 8px;
  background: rgba(18, 165, 148, 0.18);
  color: #6ee7d7;
  font-size: 0.58rem;
}

.evidence-trail {
  position: relative;
  margin: 0;
  padding: 0 0 0 18px;
  list-style: none;
}

.evidence-trail::before {
  content: "";
  position: absolute;
  top: 10px;
  bottom: 10px;
  left: 5px;
  width: 1px;
  background: linear-gradient(var(--teal), rgba(108, 139, 255, 0.16));
}

.evidence-trail li {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding: 3px 0;
}

.evidence-trail li::before {
  content: "";
  position: absolute;
  top: 50%;
  left: -17px;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--teal);
  box-shadow: 0 0 0 3px rgba(18, 165, 148, 0.16);
  transform: translateY(-50%);
}

.evidence-trail strong { display: block; color: var(--white); font-size: 0.66rem; }
.evidence-trail small { display: block; color: #9eaccb; font-size: 0.55rem; }

.evidence-tag {
  flex: 0 0 auto;
  padding: 3px 7px;
  border-radius: 999px;
  background: rgba(108, 139, 255, 0.16);
  color: #b8c7e8;
  font-size: 0.56rem;
  font-weight: 800;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.evidence-answer {
  position: relative;
  margin-top: 8px;
  padding-top: 8px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.evidence-answer span {
  display: block;
  color: #9eaccb;
  font-size: 0.56rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.evidence-answer strong {
  display: block;
  margin-top: 2px;
  color: var(--white);
  font-size: 0.98rem;
  font-variant-numeric: tabular-nums;
}

.evidence-answer small { display: block; color: #9eaccb; font-size: 0.58rem; }

.hero-signature {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 16px;
  color: rgba(199, 208, 233, 0.7);
  font-size: 0.58rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.hero-signature i {
  flex: 1;
  height: 1px;
  background: linear-gradient(90deg, rgba(108, 139, 255, 0.55), rgba(18, 165, 148, 0.55));
}

.hero-visual .mock {
  position: relative;
  width: 94%;
  margin-left: auto;
}

.hero-demo-link { margin: 20px 0 0; }
.hero-demo-link a {
  color: #b8c7e8;
  font-size: 0.82rem;
  font-weight: 650;
  text-decoration: underline;
  text-underline-offset: 4px;
}
.hero-demo-link a:hover { color: var(--white); }

.mock__insight a { color: #9fb6ff; }

.position-strip {
  border-bottom: 1px solid var(--border);
  background: var(--white);
}

.position-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 24px;
  padding: 30px 0;
}

.position-grid article {
  position: relative;
  padding-left: 18px;
}

.position-grid article::before {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  width: 2px;
  border-radius: 2px;
  background: linear-gradient(var(--blue), var(--teal));
}

.position-grid span {
  display: block;
  margin-bottom: 5px;
  color: var(--blue-strong);
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.position-grid p { margin: 0; color: var(--navy); font-size: 0.9rem; font-weight: 650; line-height: 1.5; }

.number-list { display: grid; gap: 18px; }

.number-item {
  display: flex;
  gap: 16px;
  align-items: flex-start;
}

.number-item > span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  width: 38px;
  height: 38px;
  border-radius: 10px;
  background: var(--blue-soft);
  color: var(--blue-strong);
  font-size: 0.76rem;
  font-weight: 800;
}

.number-item h3 { margin-bottom: 4px; font-size: 1rem; }
.number-item p { margin: 0; color: var(--muted); font-size: 0.88rem; line-height: 1.6; }

.photo-frame {
  margin: 0;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--white);
  box-shadow: var(--shadow-md);
}

.photo-frame img {
  display: block;
  width: 100%;
  height: 420px;
  object-fit: cover;
}

.photo-frame figcaption {
  padding: 14px 18px;
  border-top: 1px solid var(--border);
  color: var(--muted);
  font-size: 0.76rem;
  line-height: 1.5;
}

.photo-frame--wide img { height: 300px; }

.photo-pair {
  position: relative;
  padding-bottom: 104px;
}

.photo-pair .photo-frame--accent {
  position: absolute;
  bottom: 0;
  left: -18px;
  width: 56%;
  border: 4px solid var(--white);
}

.photo-pair .photo-frame--accent img { height: 200px; }
.photo-pair .photo-frame--accent figcaption { font-size: 0.68rem; }

.ai-flow {
  display: grid;
  gap: 16px;
  margin-bottom: 0;
  padding: 0;
  list-style: none;
}

.ai-flow li {
  display: flex;
  align-items: flex-start;
  gap: 14px;
}

.ai-flow li > span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  width: 34px;
  height: 34px;
  border: 1px solid rgba(108, 139, 255, 0.45);
  border-radius: 9px;
  color: var(--blue-light);
  font-size: 0.72rem;
  font-weight: 800;
}

.ai-flow strong { display: block; color: var(--white); font-size: 0.94rem; }
.ai-flow p { margin: 3px 0 0; color: #aebbd9; font-size: 0.83rem; line-height: 1.5; }

.ai-visual {
  position: relative;
  min-width: 0;
  padding-bottom: 52px;
}

.ai-visual > img {
  display: block;
  width: 100%;
  height: 430px;
  border-radius: var(--radius-lg);
  object-fit: cover;
  box-shadow: var(--shadow-md);
}

.ai-answer-card {
  position: absolute;
  bottom: 0;
  left: -28px;
  width: min(370px, 84%);
  padding: 22px;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  background: var(--white);
  color: var(--text);
  box-shadow: var(--shadow-lg);
}

.ai-answer-card .badge { margin-bottom: 12px; }
.ai-question { margin: 0 0 10px; color: var(--navy); font-size: 0.86rem; font-weight: 650; }
.ai-answer-card > strong {
  display: block;
  color: var(--navy);
  font-size: 1.7rem;
  font-variant-numeric: tabular-nums;
  letter-spacing: -0.03em;
}
.ai-answer-card > p:not(.ai-question) { margin: 4px 0 0; color: var(--muted); font-size: 0.78rem; }
.ai-answer-card small { display: block; margin-top: 12px; color: var(--muted); font-size: 0.7rem; }

/* Responsive */
@media (max-width: 1100px) {
  .pricing-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .hero-grid,
  .ai-spotlight { gap: 40px; }
  .position-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .photo-frame img { height: 360px; }
  .ai-visual > img { height: 380px; }
  .ai-answer-card { left: 0; }
  .app-grid { grid-template-columns: 1fr; }
  .app-side-rail { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; }
}

@media (max-width: 900px) {
  .nav-toggle { display: inline-flex; }
  .nav-links {
    display: none;
    position: absolute;
    top: 72px;
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    margin: 0;
    padding: 10px 24px 18px;
    border-bottom: 1px solid var(--border);
    background: var(--white);
    box-shadow: var(--shadow-md);
  }
  .nav-links.is-open { display: flex; }
  .nav-links a { padding: 11px 0; border-bottom: 1px solid var(--border); font-size: 0.95rem; }
  .nav-actions .btn--ghost { display: none; }
  .hero { padding: 72px 0 88px; }
  .hero-grid,
  .feature-row,
  .ai-spotlight { grid-template-columns: 1fr; }
  .feature-row--reverse .feature-row__art { order: 0; }
  .mock { transform: none; }
  .hero-visual { padding-top: 0; }
  .hero-visual::before,
  .hero-visual::after { display: none; }
  .evidence-card {
    position: static;
    width: 100%;
    max-width: 420px;
    margin: 0 auto 18px;
  }
  .evidence-card::after { display: none; }
  .hero-visual .mock { width: 100%; }
  .photo-frame--wide img { height: 260px; }
  .photo-pair .photo-frame--accent { left: 0; }
  .ai-visual { padding-bottom: 0; }
  .ai-answer-card {
    position: static;
    width: 100%;
    margin: -38px auto 0;
  }
  .grid--4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .footer-grid { grid-template-columns: repeat(2, 1fr); }
  .app-shell { grid-template-columns: 1fr; }
  .app-sidebar { padding: 10px 14px; overflow-x: auto; }
  .side-group { display: flex; align-items: center; gap: 14px; }
  .side-group + .side-group { margin-top: 8px; }
  .side-group__title { display: none; }
  .side-nav { display: flex; gap: 6px; }
  .side-link { white-space: nowrap; }
  .app-content { padding: 22px 18px 48px; }
  .app-topbar { padding: 14px 18px; }
}

@media (max-width: 680px) {
  .section { padding: 68px 0; }
  .section--tight { padding: 52px 0; }
  .container,
  .container--narrow { width: min(calc(100% - 32px), var(--container)); }
  .grid--2,
  .grid--3,
  .grid--4,
  .steps,
  .pricing-grid,
  .trust-grid,
  .form-grid,
  .footer-grid,
  .app-side-rail { grid-template-columns: 1fr; }
  .stat-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .hero-actions { flex-direction: column; align-items: stretch; }
  .hero-actions .btn { width: 100%; }
  .evidence-card { padding: 14px; }
  .evidence-trail li { align-items: flex-start; }
  .hero-signature { justify-content: center; }
  .position-grid { grid-template-columns: 1fr; gap: 18px; padding: 24px 0; }
  .photo-frame img { height: 280px; }
  .photo-frame--wide img { height: 220px; }
  .photo-pair { display: grid; gap: 16px; padding-bottom: 0; }
  .photo-pair .photo-frame--accent {
    position: static;
    width: 100%;
    border-width: 1px;
  }
  .photo-pair .photo-frame--accent img { height: 240px; }
  .ai-visual > img { height: 300px; }
  .ai-answer-card { width: 100%; margin-top: -20px; padding: 18px; }
  .mock__stats { grid-template-columns: 1fr; }
  .chart { height: 96px; }
  .field--full { grid-column: auto; }
  .app-topbar__left .app-switcher span { display: none; }
  .app-heading { align-items: flex-start; }
  .ai-drawer { width: 100%; }
}

@media (max-width: 420px) {
  .stat-grid { grid-template-columns: 1fr; }
  .nav-actions .btn { padding-inline: 13px; font-size: 0.8rem; }
}

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