/* The public pages' look, from the Figma design (Flash Optima Website Templates). Every rule is scoped to the pages that carry
   body.fo (templates/site/base.html), so the app and the Car Market are untouched. Fonts: the system stack (no outside download). */
body.fo { --font-body: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif; --font-head: var(--font-body); }
/* the older public pages (pricing, contact, legal) read these names: they take the new palette */
body.fo { --site-brand: var(--accent); --site-brand-ink: #ffffff; --site-soft: var(--accent-soft); --site-line: var(--line); }
html[data-bs-theme="dark"] body.fo { --site-brand-ink: #0d121b; }


body.fo {
  color-scheme: light;
  --accent: #3568ee;
  --accent-hover: #2858d6;
  --accent-soft: #edf2ff;
  --ink: #122033;
  --muted: #647286;
  --line: #dde3ec;
  --surface: #ffffff;
  --surface-2: #f5f7fa;
  --surface-3: #e9edf3;
  --nav: rgba(255, 255, 255, 0.88);
  --dark-band: #101b2c;
  --shadow: 0 24px 60px rgba(22, 36, 58, 0.1);
}

html[data-bs-theme="dark"] body.fo {
  color-scheme: dark;
  --accent: #7ea0ff;
  --accent-hover: #97b3ff;
  --accent-soft: #1d2c52;
  --ink: #f2f5fa;
  --muted: #aeb9c9;
  --line: #303b4b;
  --surface: #111925;
  --surface-2: #17212f;
  --surface-3: #273345;
  --nav: rgba(17, 25, 37, 0.88);
  --dark-band: #0a1019;
  --shadow: 0 26px 70px rgba(0, 0, 0, 0.25);
}

.fo * {
  scrollbar-width: thin;
  scrollbar-color: var(--surface-3) transparent;
}

html {
  scroll-behavior: smooth;
}

body.fo {
  background: var(--surface);
  color: var(--ink);
  font-family: var(--font-body);
  transition:
    background 200ms ease,
    color 200ms ease;
}

.fo h1,
.fo h2,
.fo h3 {
  font-family: var(--font-head);
  letter-spacing: -0.035em;
}

.fo a {
  text-decoration: none;
}

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

.app-shell {
  min-height: 100vh;
  overflow: hidden;
}

.site-header {
  background: var(--nav);
  backdrop-filter: blur(18px);
  border-bottom: 1px solid color-mix(in srgb, var(--line) 75%, transparent);
  position: sticky;
  top: 0;
  z-index: 50;
}

.nav-shell {
  align-items: center;
  display: flex;
  height: 76px;
  justify-content: space-between;
  margin: auto;
  max-width: 1240px;
  padding: 0 24px;
}

.logo {
  align-items: center;
  color: var(--ink);
  display: inline-flex;
  flex: 0 0 auto;
  font-family: var(--font-head);
  font-size: 18px;
  font-weight: 700;
  gap: 10px;
  letter-spacing: -0.025em;
}

.logo-mark {
  align-items: center;
  background: var(--accent);
  border-radius: 9px;
  color: white;
  display: inline-flex;
  height: 34px;
  justify-content: center;
  width: 34px;
}

.icon {
  display: block;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.8;
}

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

.nav-links a {
  color: var(--muted);
  font-size: 14px;
  font-weight: 600;
  transition: color 150ms ease;
}

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

.nav-actions {
  align-items: center;
  display: flex;
  gap: 10px;
}

.icon-button {
  align-items: center;
  background: transparent;
  border: 1px solid var(--line);
  border-radius: 10px;
  color: var(--ink);
  cursor: pointer;
  display: inline-flex;
  height: 40px;
  justify-content: center;
  transition: background 150ms ease;
  width: 40px;
}

.icon-button:hover {
  background: var(--surface-2);
}

.menu-button {
  display: none;
}

.button {
  align-items: center;
  background: var(--accent);
  border: 1px solid var(--accent);
  border-radius: 11px;
  color: white;
  display: inline-flex;
  font-size: 15px;
  font-weight: 700;
  gap: 10px;
  justify-content: center;
  min-height: 48px;
  padding: 0 19px;
  transition:
    background 150ms ease,
    transform 150ms ease;
}

.button:hover {
  background: var(--accent-hover);
  transform: translateY(-1px);
}

.button-secondary {
  background: transparent;
  border-color: var(--line);
  color: var(--ink);
}

.button-secondary:hover {
  background: var(--surface-2);
}

.button-small {
  font-size: 14px;
  min-height: 40px;
  padding: 0 16px;
}

.button-small .icon {
  display: none;
}

.eyebrow {
  align-items: center;
  color: var(--accent);
  display: flex;
  font-size: 12px;
  font-weight: 700;
  gap: 9px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

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

.chooser-hero {
  background: linear-gradient(
    180deg,
    color-mix(in srgb, var(--accent-soft) 50%, var(--surface)) 0%,
    var(--surface) 78%
  );
  min-height: calc(100vh - 76px);
  overflow: hidden;
  padding: 100px 24px 54px;
  position: relative;
}

.ambient {
  background: var(--accent);
  border-radius: 999px;
  filter: blur(1px);
  opacity: 0.07;
  position: absolute;
}

.ambient-one {
  height: 420px;
  right: -210px;
  top: -130px;
  width: 420px;
}

.ambient-two {
  bottom: -120px;
  height: 260px;
  left: -130px;
  width: 260px;
}

.chooser-intro {
  margin: 0 auto 58px;
  max-width: 770px;
  position: relative;
  text-align: center;
}

.chooser-intro .eyebrow {
  justify-content: center;
}

.chooser-intro h1 {
  font-size: clamp(40px, 5vw, 66px);
  font-weight: 600;
  line-height: 1.06;
  margin-top: 22px;
}

.chooser-intro p {
  color: var(--muted);
  font-size: 18px;
  line-height: 1.75;
  margin: 25px auto 0;
  max-width: 690px;
}

.choice-grid {
  display: grid;
  gap: 22px;
  grid-template-columns: repeat(2, 1fr);
  margin: auto;
  max-width: 1060px;
  position: relative;
}

.choice-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 22px;
  box-shadow: 0 1px 0 rgba(22, 36, 58, 0.02);
  color: var(--ink);
  display: flex;
  flex-direction: column;
  min-height: 430px;
  padding: 34px;
  transition:
    border 180ms ease,
    box-shadow 180ms ease,
    transform 180ms ease;
}

.choice-card:hover {
  border-color: color-mix(in srgb, var(--accent) 55%, var(--line));
  box-shadow: var(--shadow);
  transform: translateY(-4px);
}

.choice-top {
  align-items: flex-start;
  display: flex;
  justify-content: space-between;
  margin-bottom: 44px;
}

.large-icon,
.feature-icon {
  align-items: center;
  background: var(--accent-soft);
  border-radius: 13px;
  color: var(--accent);
  display: inline-flex;
  height: 54px;
  justify-content: center;
  width: 54px;
}

.choice-arrow {
  align-items: center;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--muted);
  display: inline-flex;
  height: 40px;
  justify-content: center;
  transition: 180ms ease;
  width: 40px;
}

.choice-card:hover .choice-arrow {
  background: var(--accent);
  border-color: var(--accent);
  color: white;
  transform: translateX(3px);
}

.choice-tag {
  color: var(--accent);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.choice-card h2 {
  font-size: 28px;
  font-weight: 600;
  margin-top: 10px;
}

.choice-card p {
  color: var(--muted);
  line-height: 1.7;
  margin-top: 13px;
  max-width: 440px;
}

.choice-card ul {
  border-top: 1px solid var(--line);
  display: grid;
  gap: 10px;
  list-style: none;
  margin-top: auto;
  padding-top: 23px;
}

.choice-card li {
  align-items: center;
  color: var(--muted);
  display: flex;
  font-size: 14px;
  gap: 9px;
}

.choice-card li .icon {
  color: var(--accent);
}

.product-note {
  color: var(--muted);
  font-size: 11px;
  line-height: 1.6;
}

.chooser-hero > .product-note {
  margin: 28px auto 0;
  max-width: 760px;
  position: relative;
  text-align: center;
}

.trust-strip {
  border-bottom: 1px solid var(--line);
  border-top: 1px solid var(--line);
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  margin: auto;
  max-width: 1240px;
  padding: 35px 24px;
}

.trust-strip > div {
  align-items: center;
  display: flex;
  gap: 15px;
  justify-content: center;
}

.trust-strip > div + div {
  border-left: 1px solid var(--line);
}

.trust-strip > div > .icon {
  color: var(--accent);
}

.trust-strip span {
  color: var(--muted);
  display: grid;
  font-size: 13px;
  gap: 2px;
}

.trust-strip strong {
  color: var(--ink);
  font-size: 14px;
}

footer {
  margin: auto;
  max-width: 1240px;
  padding: 70px 24px 28px;
}

.footer-main {
  display: grid;
  gap: 80px;
  grid-template-columns: 0.8fr 1.2fr;
  padding-bottom: 65px;
}

.footer-brand p {
  color: var(--muted);
  line-height: 1.65;
  margin-top: 20px;
  max-width: 330px;
}

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

.footer-links > div {
  display: grid;
  gap: 13px;
}

.footer-links strong {
  font-size: 13px;
  margin-bottom: 4px;
}

.footer-links a,
.footer-bottom,
.footer-bottom a {
  color: var(--muted);
  font-size: 13px;
}

.footer-links a:hover,
.footer-bottom a:hover {
  color: var(--ink);
}

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

.footer-bottom div {
  display: flex;
  gap: 24px;
}

.marketing-hero {
  align-items: center;
  display: grid;
  gap: 50px;
  grid-template-columns: 0.82fr 1.18fr;
  margin: auto;
  max-width: 1320px;
  min-height: 740px;
  padding: 90px 24px;
}

.hero-copy {
  padding-left: 40px;
}

.hero-copy h1 {
  font-size: clamp(42px, 4.6vw, 64px);
  font-weight: 600;
  line-height: 1.05;
  margin-top: 23px;
}

.hero-copy > p {
  color: var(--muted);
  font-size: 18px;
  line-height: 1.75;
  margin-top: 25px;
  max-width: 590px;
}

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

.mini-proof {
  display: flex;
  flex-wrap: wrap;
  gap: 22px;
  margin-top: 26px;
}

.mini-proof span {
  align-items: center;
  color: var(--muted);
  display: inline-flex;
  font-size: 13px;
  gap: 6px;
}

.mini-proof .icon {
  color: var(--accent);
}

.hero-screen {
  position: relative;
}

.hero-screen::before {
  background: var(--accent);
  border-radius: 50%;
  content: "";
  filter: blur(1px);
  height: 420px;
  opacity: 0.08;
  position: absolute;
  right: -100px;
  top: -90px;
  width: 420px;
}

.screenshot {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 16px;
  box-shadow: var(--shadow);
  margin: 0;
  overflow: hidden;
  position: relative;
}

.screenshot figcaption {
  align-items: center;
  background: var(--surface-2);
  border-bottom: 1px solid var(--line);
  color: var(--muted);
  display: flex;
  font-size: 11px;
  font-weight: 600;
  gap: 8px;
  min-height: 43px;
  padding: 0 15px;
}

.screen-dot {
  background: var(--accent);
  border-radius: 50%;
  height: 7px;
  width: 7px;
}

.screen-chip {
  background: var(--accent-soft);
  border-radius: 5px;
  color: var(--accent);
  font-size: 9px;
  letter-spacing: 0.08em;
  margin-left: auto;
  padding: 4px 7px;
  text-transform: uppercase;
}

.mock-app {
  display: grid;
  grid-template-columns: 88px 1fr;
  min-height: 420px;
}

.mock-sidebar {
  background: var(--dark-band);
  display: flex;
  flex-direction: column;
  gap: 24px;
  padding: 21px 18px;
}

.mock-logo {
  background: var(--accent);
  border-radius: 5px;
  display: block;
  height: 21px;
  margin-bottom: 8px;
  width: 21px;
}

.mock-nav {
  background: rgba(255, 255, 255, 0.14);
  border-radius: 4px;
  display: block;
  height: 7px;
}

.mock-nav:nth-child(3) {
  background: var(--accent);
}

.mock-content {
  background: var(--surface-2);
  padding: 28px;
}

.mock-top {
  align-items: center;
  display: flex;
  justify-content: space-between;
  margin-bottom: 28px;
}

.mock-top span,
.mock-form-head span {
  background: var(--surface-3);
  border-radius: 4px;
  height: 12px;
  width: 120px;
}

.mock-top i,
.mock-form-head i {
  background: var(--accent);
  border-radius: 7px;
  height: 29px;
  width: 76px;
}

.metric-row {
  display: grid;
  gap: 11px;
  grid-template-columns: repeat(3, 1fr);
}

.metric-row span {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 9px;
  height: 81px;
}

.mock-table {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 10px;
  margin-top: 14px;
  padding: 12px 16px;
}

.mock-table > div {
  align-items: center;
  border-bottom: 1px solid var(--line);
  display: grid;
  gap: 16px;
  grid-template-columns: 30px 1.3fr 0.7fr 50px;
  height: 52px;
}

.mock-table > div:last-child {
  border: 0;
}

.mock-table i {
  background: var(--accent-soft);
  border-radius: 5px;
  height: 28px;
}

.mock-table span {
  background: var(--surface-3);
  border-radius: 4px;
  height: 7px;
}

.mock-table b {
  background: #dcefe7;
  border-radius: 9px;
  height: 15px;
}

.audience-section {
  align-items: start;
  background: var(--dark-band);
  border-radius: 24px;
  color: #f4f7fb;
  display: grid;
  gap: 90px;
  grid-template-columns: 1fr 1fr;
  margin: 10px auto 110px;
  max-width: 1190px;
  padding: 62px 70px;
}

.audience-section h2 {
  font-size: 34px;
  font-weight: 600;
  line-height: 1.22;
  margin-top: 18px;
}

.audience-section > p {
  color: #aeb9c9;
  line-height: 1.85;
}

.feature-section,
.steps-section,
.faq-section {
  margin: auto;
  max-width: 1190px;
  padding: 0 24px 120px;
}

.section-heading {
  max-width: 680px;
}

.section-heading h2 {
  font-size: clamp(34px, 4vw, 47px);
  font-weight: 600;
  line-height: 1.14;
  margin-top: 17px;
}

.section-heading > p {
  color: var(--muted);
  line-height: 1.75;
  margin-top: 16px;
  max-width: 610px;
}

.feature-grid {
  display: grid;
  gap: 16px;
  grid-template-columns: repeat(6, 1fr);
  margin-top: 52px;
}

.feature-card {
  border: 1px solid var(--line);
  border-radius: 17px;
  grid-column: span 2;
  min-height: 290px;
  padding: 27px;
}

.feature-card:nth-child(4),
.feature-card:nth-child(5) {
  grid-column: span 3;
}

.feature-icon {
  border-radius: 10px;
  height: 44px;
  width: 44px;
}

.feature-card h3 {
  font-size: 19px;
  font-weight: 600;
  margin-top: 24px;
}

.feature-card p {
  color: var(--muted);
  font-size: 14px;
  line-height: 1.7;
  margin-top: 10px;
}

.feature-card a {
  align-items: center;
  color: var(--accent);
  display: flex;
  font-size: 13px;
  font-weight: 700;
  gap: 6px;
  margin-top: 23px;
}

.steps-section {
  background: var(--surface-2);
  border-radius: 24px;
  margin-bottom: 120px;
  padding: 72px;
}

.numbered-steps {
  display: grid;
  gap: 0;
  grid-template-columns: repeat(4, 1fr);
  margin-top: 60px;
}

.numbered-steps article {
  border-top: 1px solid var(--line);
  padding: 30px 25px 0 0;
  position: relative;
}

.numbered-steps article::before {
  background: var(--accent);
  border: 4px solid var(--surface-2);
  border-radius: 50%;
  content: "";
  height: 14px;
  left: 0;
  position: absolute;
  top: -7px;
  width: 14px;
}

.numbered-steps article > span {
  color: var(--accent);
  font-family: var(--font-head);
  font-size: 13px;
  font-weight: 700;
}

.numbered-steps h3 {
  font-size: 17px;
  margin-top: 13px;
}

.numbered-steps p {
  color: var(--muted);
  font-size: 13px;
  line-height: 1.65;
  margin-top: 9px;
}

.product-section {
  align-items: center;
  display: grid;
  gap: 70px;
  grid-template-columns: 0.75fr 1.25fr;
  margin: auto;
  max-width: 1190px;
  padding: 0 24px 130px;
}

.product-copy h2 {
  font-size: 38px;
  font-weight: 600;
  line-height: 1.17;
  margin-top: 18px;
}

.product-copy > p {
  color: var(--muted);
  line-height: 1.75;
  margin-top: 18px;
}

.check-list {
  display: grid;
  gap: 13px;
  list-style: none;
  margin-top: 27px;
}

.check-list li {
  align-items: center;
  color: var(--muted);
  display: flex;
  font-size: 14px;
  gap: 9px;
}

.check-list .icon {
  color: var(--accent);
}

.product-section .mock-app {
  min-height: 340px;
}

.faq-section {
  display: grid;
  gap: 100px;
  grid-template-columns: 0.8fr 1.2fr;
}

.faq-list {
  border-top: 1px solid var(--line);
}

.faq-list details {
  border-bottom: 1px solid var(--line);
  padding: 0 4px;
}

.faq-list summary {
  align-items: center;
  cursor: pointer;
  display: flex;
  font-family: var(--font-head);
  font-size: 16px;
  font-weight: 600;
  justify-content: space-between;
  list-style: none;
  padding: 22px 0;
}

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

.faq-list summary span {
  color: var(--muted);
  transition: transform 150ms ease;
}

.faq-list details[open] summary span {
  transform: rotate(90deg);
}

.faq-list details p {
  color: var(--muted);
  font-size: 14px;
  line-height: 1.7;
  max-width: 540px;
  padding: 0 40px 22px 0;
}

.closing-cta {
  align-items: center;
  background: var(--dark-band);
  border-radius: 24px;
  color: #f4f7fb;
  display: flex;
  justify-content: space-between;
  margin: 0 auto 40px;
  max-width: 1190px;
  overflow: hidden;
  padding: 65px 70px;
  position: relative;
}

.closing-cta > div {
  position: relative;
}

.closing-cta h2 {
  font-size: 36px;
  margin-top: 15px;
}

.closing-cta p {
  color: #aeb9c9;
  line-height: 1.7;
  margin-top: 12px;
}

.closing-cta .button-secondary {
  border-color: #445066;
  color: #f4f7fb;
}

.closing-cta .button-secondary:hover {
  background: rgba(255, 255, 255, 0.07);
}

.closing-cta .hero-actions {
  flex: 0 0 auto;
  margin: 0 0 0 50px;
}

.cta-orb {
  background: var(--accent);
  border-radius: 50%;
  filter: blur(1px);
  opacity: 0.1;
  position: absolute;
}

.cta-orb-one {
  height: 230px;
  right: 22%;
  top: -160px;
  width: 230px;
}

.cta-orb-two {
  bottom: -170px;
  height: 250px;
  left: -80px;
  width: 250px;
}

.guide-hero {
  background: var(--surface-2);
  border-bottom: 1px solid var(--line);
  padding: 42px max(24px, calc((100vw - 1140px) / 2)) 70px;
}

.breadcrumbs {
  align-items: center;
  color: var(--muted);
  display: flex;
  font-size: 12px;
  gap: 7px;
}

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

.guide-title {
  align-items: end;
  display: grid;
  gap: 100px;
  grid-template-columns: 1fr auto;
  margin-top: 55px;
}

.guide-title h1 {
  font-size: clamp(43px, 5vw, 66px);
  font-weight: 600;
  margin-top: 18px;
}

.guide-title p {
  color: var(--muted);
  font-size: 18px;
  line-height: 1.75;
  margin-top: 20px;
  max-width: 700px;
}

.guide-meta {
  align-items: center;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 13px;
  display: flex;
  gap: 13px;
  min-width: 235px;
  padding: 17px;
}

.guide-meta > .icon {
  color: var(--accent);
}

.guide-meta span {
  color: var(--muted);
  display: grid;
  font-size: 12px;
  gap: 3px;
}

.guide-meta strong {
  color: var(--ink);
  font-size: 13px;
}

.guide-layout {
  display: grid;
  gap: 80px;
  grid-template-columns: 220px minmax(0, 770px);
  margin: 0 auto;
  max-width: 1140px;
  padding: 80px 24px 120px;
}

.guide-nav {
  align-self: start;
  display: grid;
  gap: 4px;
  position: sticky;
  top: 110px;
}

.guide-nav > span {
  color: var(--muted);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.1em;
  margin-bottom: 13px;
  text-transform: uppercase;
}

.guide-nav a {
  align-items: center;
  border-radius: 8px;
  color: var(--muted);
  display: flex;
  font-size: 13px;
  gap: 10px;
  padding: 9px;
}

.guide-nav a:hover {
  background: var(--surface-2);
  color: var(--ink);
}

.guide-nav i {
  align-items: center;
  background: var(--surface-2);
  border-radius: 50%;
  display: flex;
  font-size: 10px;
  font-style: normal;
  height: 22px;
  justify-content: center;
  width: 22px;
}

.guide-step {
  border-bottom: 1px solid var(--line);
  margin-bottom: 75px;
  padding-bottom: 75px;
  scroll-margin-top: 105px;
}

.step-number {
  color: var(--accent);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.step-copy h2 {
  font-size: 31px;
  font-weight: 600;
  margin-top: 10px;
}

.step-copy p {
  color: var(--muted);
  line-height: 1.75;
  margin-top: 13px;
}

.guide-step .screenshot {
  box-shadow: 0 18px 50px rgba(22, 36, 58, 0.08);
  margin-top: 33px;
}

.mock-form {
  background: var(--surface-2);
  min-height: 370px;
  padding: 34px;
}

.mock-form-head {
  align-items: center;
  display: flex;
  justify-content: space-between;
  margin-bottom: 28px;
}

.mock-form-grid {
  display: grid;
  gap: 20px 15px;
  grid-template-columns: repeat(2, 1fr);
}

.mock-form-grid > div {
  position: relative;
}

.mock-form-grid span {
  background: var(--surface-3);
  border-radius: 3px;
  display: block;
  height: 7px;
  margin-bottom: 9px;
  width: 45%;
}

.mock-form-grid i {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 7px;
  display: block;
  height: 42px;
}

.mock-form-grid .active-field i {
  border: 2px solid var(--accent);
}

.mock-form-grid ul {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 7px;
  box-shadow: 0 12px 30px rgba(22, 36, 58, 0.12);
  left: 0;
  list-style: none;
  padding: 9px;
  position: absolute;
  right: 0;
  top: 63px;
  z-index: 2;
}

.mock-form-grid li {
  background: var(--surface-2);
  border-radius: 4px;
  height: 24px;
  margin-bottom: 5px;
}

.mock-form-grid li:first-child {
  background: var(--accent-soft);
}

.mock-form-grid li:last-child {
  margin-bottom: 0;
}

.mock-summary {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 8px;
  display: grid;
  gap: 11px;
  margin-top: 30px;
  padding: 17px;
}

.mock-summary span,
.mock-summary strong {
  background: var(--surface-3);
  border-radius: 4px;
  height: 7px;
  width: 65%;
}

.mock-summary strong {
  background: var(--accent);
  margin-left: auto;
  width: 25%;
}

.highlight-callout {
  align-items: flex-start;
  background: var(--accent-soft);
  border-left: 3px solid var(--accent);
  border-radius: 0 10px 10px 0;
  display: flex;
  gap: 13px;
  margin-top: 24px;
  padding: 20px;
}

.highlight-callout > span {
  color: var(--accent);
  padding-top: 2px;
}

.highlight-callout strong {
  font-size: 13px;
}

.highlight-callout p {
  color: var(--muted);
  font-size: 13px;
  line-height: 1.65;
  margin-top: 5px;
}

.good-to-know {
  align-items: flex-start;
  background: var(--dark-band);
  border-radius: 17px;
  color: #f4f7fb;
  display: flex;
  gap: 22px;
  margin-top: 10px;
  padding: 34px;
}

.good-to-know h2 {
  font-size: 23px;
}

.good-to-know > div > p:not(.product-note) {
  color: #b8c2d1;
  line-height: 1.75;
  margin-top: 10px;
}

.good-to-know .product-note {
  border-top: 1px solid #344054;
  color: #8e9bad;
  margin-top: 22px;
  padding-top: 18px;
}

.next-steps {
  margin-top: 80px;
}

.next-steps h2 {
  font-size: 31px;
  margin-top: 14px;
}

.next-steps > div {
  display: grid;
  gap: 12px;
  grid-template-columns: repeat(2, 1fr);
  margin-top: 25px;
}

.next-steps a {
  align-items: center;
  border: 1px solid var(--line);
  border-radius: 12px;
  color: var(--ink);
  display: flex;
  font-family: var(--font-head);
  font-size: 15px;
  font-weight: 600;
  justify-content: space-between;
  padding: 20px;
}

.next-steps a:hover {
  border-color: var(--accent);
  color: var(--accent);
}

.not-built {
  align-items: center;
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-height: calc(100vh - 76px);
  padding: 40px 24px;
  text-align: center;
}

.not-built h1 {
  font-size: 48px;
  margin-top: 20px;
}

.not-built p {
  color: var(--muted);
  margin: 18px 0 30px;
}

@media (max-width: 1000px) {
  .nav-links {
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: 14px;
    box-shadow: var(--shadow);
    display: none;
    left: 18px;
    padding: 16px;
    position: absolute;
    right: 18px;
    top: 68px;
  }

  .nav-links.is-open {
    display: grid;
  }

  .nav-links a {
    border-bottom: 1px solid var(--line);
    padding: 12px 5px;
  }

  .nav-links a:last-child {
    border: 0;
  }

  .menu-button {
    display: inline-flex;
  }

  .marketing-hero {
    gap: 55px;
    grid-template-columns: 1fr;
    padding-top: 75px;
  }

  .hero-copy {
    max-width: 720px;
    padding-left: 0;
  }

  .audience-section,
  .feature-section,
  .steps-section,
  .product-section,
  .faq-section,
  .closing-cta {
    margin-left: 24px;
    margin-right: 24px;
  }

  .feature-card,
  .feature-card:nth-child(4),
  .feature-card:nth-child(5) {
    grid-column: span 3;
  }

  .numbered-steps {
    gap: 30px 0;
    grid-template-columns: repeat(2, 1fr);
  }

  .product-section {
    gap: 45px;
    grid-template-columns: 1fr;
  }

  .faq-section {
    gap: 50px;
    grid-template-columns: 1fr;
  }

  .closing-cta {
    align-items: flex-start;
    flex-direction: column;
  }

  .closing-cta .hero-actions {
    margin: 32px 0 0;
  }

  .guide-layout {
    gap: 45px;
    grid-template-columns: 180px minmax(0, 1fr);
  }
}

@media (max-width: 760px) {
  .nav-shell {
    height: 66px;
    padding: 0 18px;
  }

  .desktop-cta {
    display: none;
  }

  .chooser-hero {
    min-height: 0;
    padding: 70px 18px 42px;
  }

  .chooser-intro {
    margin-bottom: 38px;
    text-align: left;
  }

  .chooser-intro .eyebrow {
    justify-content: flex-start;
  }

  .chooser-intro h1 {
    font-size: 40px;
  }

  .chooser-intro p {
    font-size: 16px;
  }

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

  .choice-card {
    min-height: 390px;
    padding: 27px;
  }

  .choice-top {
    margin-bottom: 34px;
  }

  .choice-card h2 {
    font-size: 25px;
  }

  .trust-strip {
    gap: 25px;
    grid-template-columns: 1fr;
    padding: 32px 24px;
  }

  .trust-strip > div {
    justify-content: flex-start;
  }

  .trust-strip > div + div {
    border-left: 0;
  }

  footer {
    padding-top: 55px;
  }

  .footer-main {
    gap: 50px;
    grid-template-columns: 1fr;
  }

  .footer-links {
    gap: 35px 20px;
    grid-template-columns: repeat(2, 1fr);
  }

  .footer-bottom {
    align-items: flex-start;
    flex-direction: column;
    gap: 15px;
  }

  .marketing-hero {
    min-height: 0;
    padding: 66px 18px 75px;
  }

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

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

  .hero-actions {
    align-items: stretch;
    flex-direction: column;
  }

  .hero-actions .button {
    width: 100%;
  }

  .mock-app {
    grid-template-columns: 52px 1fr;
    min-height: 270px;
  }

  .mock-sidebar {
    gap: 18px;
    padding: 15px 11px;
  }

  .mock-content {
    padding: 16px;
  }

  .metric-row span {
    height: 53px;
  }

  .mock-table > div {
    grid-template-columns: 22px 1fr 40px;
    height: 38px;
  }

  .mock-table span:nth-child(3) {
    display: none;
  }

  .audience-section,
  .feature-section,
  .steps-section,
  .product-section,
  .faq-section,
  .closing-cta {
    margin-left: 18px;
    margin-right: 18px;
  }

  .audience-section {
    gap: 30px;
    grid-template-columns: 1fr;
    margin-bottom: 85px;
    padding: 39px 28px;
  }

  .audience-section h2 {
    font-size: 29px;
  }

  .feature-section,
  .product-section,
  .faq-section {
    padding-left: 0;
    padding-right: 0;
    padding-bottom: 90px;
  }

  .section-heading h2 {
    font-size: 34px;
  }

  .feature-grid {
    grid-template-columns: 1fr;
    margin-top: 38px;
  }

  .feature-card,
  .feature-card:nth-child(4),
  .feature-card:nth-child(5) {
    grid-column: auto;
    min-height: 0;
  }

  .steps-section {
    margin-bottom: 90px;
    padding: 45px 27px;
  }

  .numbered-steps {
    grid-template-columns: 1fr;
    margin-top: 45px;
  }

  .product-copy h2 {
    font-size: 32px;
  }

  .closing-cta {
    padding: 43px 27px;
  }

  .closing-cta h2 {
    font-size: 30px;
  }

  .guide-hero {
    padding: 30px 18px 52px;
  }

  .guide-title {
    align-items: start;
    gap: 35px;
    grid-template-columns: 1fr;
    margin-top: 43px;
  }

  .guide-title h1 {
    font-size: 42px;
  }

  .guide-title p {
    font-size: 16px;
  }

  .guide-meta {
    width: 100%;
  }

  .guide-layout {
    display: block;
    padding: 60px 18px 90px;
  }

  .guide-nav {
    display: none;
  }

  .guide-step {
    margin-bottom: 58px;
    padding-bottom: 58px;
  }

  .step-copy h2 {
    font-size: 27px;
  }

  .mock-form {
    min-height: 300px;
    padding: 22px 18px;
  }

  .mock-form-grid {
    gap: 17px;
    grid-template-columns: 1fr;
  }

  .mock-form-grid > div:nth-child(n + 3) {
    display: none;
  }

  .good-to-know {
    padding: 27px 24px;
  }

  .good-to-know > .large-icon {
    display: none;
  }

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

  .not-built h1 {
    font-size: 38px;
  }
}


/* ---- additions for the Django pages ---- */
.fo .logo img { max-height: 34px; max-width: 190px; object-fit: contain; display: block; }
.fo .nav-signin { color: var(--muted); font-size: 14px; font-weight: 600; padding: 8px 6px; }
.fo .nav-signin:hover { color: var(--ink); }
.fo .fo-moon { display: none; }
html[data-bs-theme="dark"] .fo .fo-sun { display: none; }
html[data-bs-theme="dark"] .fo .fo-moon { display: inline; }
.fo .icon-button i { font-size: 18px; line-height: 1; }
.fo .footer-bottom a { color: inherit; margin-left: 16px; }
.fo main { min-height: 50vh; }
@media (max-width: 1000px) { .fo .nav-signin { display: none; } }

/* ---- the older public pages (features, private sellers, what is, bill of sale, FAQ, contact, pricing, start) take the same look ---- */
.fo .hero { background: linear-gradient(180deg, var(--accent-soft) 0%, var(--surface) 100%); padding: 84px 24px 60px; }
.fo .hero h1 { font-family: var(--font-head); font-weight: 800; letter-spacing: -0.04em; color: var(--ink); }
.fo .hero .lead { color: var(--muted); font-size: 1.12rem; }
.fo .section h2, .fo .cta-band h2 { font-family: var(--font-head); letter-spacing: -0.035em; color: var(--ink); }
.fo .cta-band h2 { color: #fff; }
.fo .section .sub, .fo .text-body-secondary { color: var(--muted) !important; }
.fo .tile { border: 1px solid var(--line); border-radius: 20px; background: var(--surface); transition: transform .16s ease, border-color .16s ease, box-shadow .16s ease; }
.fo .tile:hover { transform: translateY(-2px); border-color: color-mix(in srgb, var(--accent) 45%, var(--line)); box-shadow: var(--shadow); }
.fo .tile > i { display: inline-grid; place-items: center; width: 46px; height: 46px; border-radius: 13px; background: var(--accent-soft); color: var(--accent); font-size: 1.4rem; }
.fo .tile h2, .fo .tile h3 { font-family: var(--font-head); letter-spacing: -0.03em; }
.fo .btn-brand { background: var(--accent); color: #fff; border: 0; border-radius: 12px; font-weight: 700; }
.fo .btn-brand:hover { background: var(--accent-hover); color: #fff; filter: none; }
html[data-bs-theme="dark"] .fo .btn-brand, html[data-bs-theme="dark"] .fo .btn-brand:hover { color: #0d121b; }
.fo .btn-outline-brand { border: 1.5px solid var(--line); color: var(--ink); border-radius: 12px; font-weight: 700; background: var(--surface); }
.fo .btn-outline-brand:hover { border-color: var(--accent); background: var(--accent-soft); color: var(--accent); }
.fo .cta-band { background: var(--dark-band); color: #fff; }
.fo .cta-band .btn { background: #fff; color: #101b2c; border-radius: 12px; }
.fo .steps li::before { background: var(--accent); color: #fff; }
.fo .faq-item { border-color: var(--line) !important; }
.fo .faq-item summary { font-weight: 600; }
.fo a { color: inherit; }
.fo main a:not(.button):not(.btn):not(.choice-card):not(.cta):not(.feature-card a):not(.guide-nav a):not(.next-steps a):not(.logo):not(.rd-btn) { color: var(--accent); }

/* the existing light / dark button, in the Figma button shape */
.fo .theme-toggle { width: 40px; height: 40px; border: 1px solid var(--line); border-radius: 10px; color: var(--ink); }
.fo .theme-toggle:hover { background: var(--surface-2); }
.fo .theme-toggle i { font-size: 17px; }
