@font-face {
  font-family: "DM Sans";
  src: url("/assets/ap-dm-sans-latin.woff2") format("woff2");
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
}
:root {
  --night: #082f39;
  --deep: #104b51;
  --mint: #adf2cc;
  --paper: #faf9f5;
  --ink: #152d32;
  --muted: #476168;
  --ice: #deeaf1;
  --line: #cbd6d6;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 24px; }
body.dealer-front { margin: 0; background: var(--paper); color: var(--ink); font: 450 16px/1.55 "DM Sans", system-ui, sans-serif; -webkit-font-smoothing: antialiased; }
a { color: inherit; text-decoration: none; }
fieldset, h1, h2, h3, p, ol, ul { margin: 0; padding: 0; }
img { display: block; max-width: 100%; }
a:focus-visible, summary:focus-visible, .demo-controls input:focus-visible + label { outline: 3px solid #07856e; outline-offset: 4px; }
.top a:focus-visible, .offer a:focus-visible { outline-color: var(--mint); }
.sr, .skip:not(:focus), .demo-controls input { position: absolute; width: 1px; height: 1px; margin: -1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.skip:focus { position: fixed; top: 8px; left: 8px; background: white; padding: 10px 16px; z-index: 5; }
.wrap { width: min(1240px, calc(100% - 112px)); margin-inline: auto; }
.top { color: #f7fbf9; background: var(--night); }
.bar, .actions, .nav, .cta-row, .demo-heading, .demo-heading > span:first-child, .footer-inner, .footer-inner nav { display: flex; align-items: center; }
.bar { min-height: 82px; gap: 36px; border-bottom: 1px solid #ffffff30; }
.identity { display: inline-flex; align-items: center; min-height: 44px; flex-shrink: 0; }
.identity img { width: 200px; height: auto; }
.nav { gap: 26px; margin-left: auto; }
.nav a, .login { display: inline-flex; align-items: center; min-height: 44px; color: #e5f0ee; font-size: 14px; font-weight: 650; }
.actions { gap: 22px; padding-left: 28px; position: relative; }
.actions::before { content: ""; position: absolute; left: 0; width: 1px; height: 18px; background: #ffffff40; }
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 24px; min-height: 52px; padding: 12px 21px; border-radius: 7px; font-size: 15px; font-weight: 700; line-height: 1.25; text-align: center; transition: background .16s ease-out; }
.btn span { font-size: 20px; line-height: 1; }
.btn.mint { background: var(--mint); color: #103c38; }
.btn.mint:hover { background: #d0ffe2; }
.btn.small { min-height: 42px; font-size: 13px; padding: 10px 16px; gap: 13px; }
.hero-bg { background: radial-gradient(ellipse at 95% 90%, #155762 0, transparent 57%), var(--night); }
.hero { padding-block: clamp(60px,6.5vw,94px); display: grid; grid-template-columns: 1fr 1.02fr; gap: clamp(38px,6vw,94px); align-items: center; }
h1,h2,h3 { line-height: 1.07; font-weight: 700; letter-spacing: -.048em; }
.intro h1 { font-size: clamp(64px,6.1vw,92px); line-height: .99; letter-spacing: -.066em; }
.intro em { color: var(--mint); font-style: normal; }
.intro > p:not(.terms) { max-width: 420px; color: #d4e4e5; font-size: clamp(16px,1.3vw,20px); line-height: 1.52; margin-top: 23px; }
.cta-row { gap: 22px; flex-wrap: wrap; margin-top: 30px; }
.sub-link, .ink-link { display: inline-flex; align-items: center; min-height: 44px; gap: 14px; font-size: 14px; font-weight: 700; text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 5px; }
.sub-link { color: #f2fbf8; text-decoration-color: #81a6ad; }
.terms { color: #bbd1d4; font-size: 12px; margin-top: 14px; }
.demowrap { min-width: 0; scroll-margin-block: 24px; }
.demo { min-width: 0; position: relative; background: #f8faf9; color: var(--ink); border: 1px solid #bed3d4; border-radius: 14px; box-shadow: 0 19px 60px #001e2440; }
.demo-heading { padding: 14px 20px; justify-content: space-between; gap: 8px; border-bottom: 1px solid #dae2df; }
.demo-heading > span:first-child { gap: 9px; font-size: 14px; font-weight: 700; }
.demo-label { color: #50686b; font-size: 11px; font-weight: 600; }
.demo-controls { display: grid; grid-template-columns: repeat(3,1fr); margin: 13px 15px 12px; background: #e5ebea; border-radius: 7px; padding: 3px; position: relative; }
.demo-controls label { text-align: center; padding: 8px 4px; font-size: 13px; line-height: 1.25; font-weight: 650; border-radius: 5px; cursor: pointer; color: #3d565a; }
.demo-controls input:checked + label { background: white; color: #153f43; box-shadow: 0 1px 4px #173d3526; }
.demo-panel { margin: 0 15px 15px; min-height: clamp(288px,24vw,350px); border: 1px solid #dce3df; border-radius: 8px; overflow: hidden; background: white; }
.demo-panel:not(.car-panel) { display: none; }
.demo:has(#demo-customer:checked) .car-panel, .demo:has(#demo-contract:checked) .car-panel { display: none; }
.demo:has(#demo-customer:checked) .follow-panel, .demo:has(#demo-contract:checked) .contract-panel { display: block; }
.car-photo { position: relative; height: clamp(184px,16vw,243px); background: #424b46; }
.car-photo img { width: 100%; height: 100%; object-fit: cover; object-position: center 56%; }
.pill { position: absolute; top: 12px; left: 12px; background: #e3f7e8; color: #193f34; border-radius: 4px; padding: 3px 9px; font-size: 11px; font-weight: 700; }
.demo-foot { display: grid; padding: 12px 16px 16px; gap: 2px; }
.demo-foot > span, .mini-label, .doc-foot { color: #4c6265; font-size: 12px; }
.demo-foot strong { font-size: clamp(20px,2vw,30px); line-height: 1.15; letter-spacing: -.04em; }
.demo-foot i { font-style: normal; margin-inline: 4px; }
.record-top { padding: 22px 23px 12px; }
.record-top h2 { font-size: clamp(24px,2vw,30px); margin-top: 5px; }
.timeline { list-style: none; padding: 3px 23px 16px; }
.timeline li { display: grid; gap: 2px; position: relative; padding: 10px 0 10px 22px; border-bottom: 1px solid #e1e8e4; }
.timeline li:last-child { border: none; }
.timeline li::before { content:""; width: 8px; height: 8px; border-radius: 50%; background: #328675; position: absolute; top: 17px; left: 0; }
.timeline li:last-child::before { background: #88734d; }
.timeline strong { font-size: 14px; }.timeline li span { font-size: 13px; color: var(--muted); }
.signed { display: grid; margin: 4px 23px 11px; padding: 14px; border: 1px solid #d3dfd9; background: #f5f9f7; border-radius: 5px; }
.signed span, .signed strong { font-size: 12px; }.signed strong { color: #236049; }
.signed svg { height: 56px; max-width: 100%; fill: none; stroke: #214d54; stroke-width: 1.9; stroke-linecap: round; margin-block: 4px; }
.doc-foot { margin: 0 23px 16px; }
.workflow, .pricing, .faq { padding-block: clamp(62px,7vw,104px); }
.workflow h2, .sign-copy h2, .price-copy h2, .faq h2 { font-size: clamp(35px,4.1vw,63px); }
.steps { display: grid; grid-template-columns: repeat(3,1fr); gap: 36px; margin-top: 34px; }
.steps article { padding-top: 20px; border-top: 1px solid #b6c7c8; }
.steps svg { width: 28px; height: 28px; fill: none; stroke: #176667; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; margin-bottom: 16px; }
.steps h3 { font-size: clamp(21px,2.1vw,30px); }
.steps p, .sign-copy > p:not(.kicker), .price-copy > p:not(.kicker) { margin-top: 12px; color: var(--muted); line-height: 1.64; max-width: 43ch; }
.sign-section { background: var(--ice); }
.sign-grid, .pricing, .faq { display: grid; grid-template-columns: 1.05fr 1fr; align-items: center; gap: clamp(46px,7.5vw,120px); }
.sign-grid { padding-block: clamp(40px,5vw,76px); }
.sign-photo { width: 100%; aspect-ratio: 1.35; object-fit: cover; border-radius: 9px; }
.kicker { font-size: 13px; font-weight: 700; color: #265d60; margin-bottom: 14px; }
.sign-copy .ink-link { margin-top: 16px; }
.ink-link { color: #124f54; }
.pricing { align-items: center; }
.offer { border-radius: 11px; background: var(--night); color: #f7fbf9; padding: clamp(25px,3.2vw,43px); }
.offer > p, .offer small { font-size: 13px; color: #c5dadb; }.offer small { display: block; margin-top: 10px; }
.price { display: flex; align-items: center; gap: 16px; margin-block: 5px 23px; }
.price strong { font-size: clamp(44px,4.8vw,72px); letter-spacing: -.07em; line-height: 1.15; }
.price span { font-size: 13px; color: #d2e4e1; line-height: 1.4; }
.offer ul { list-style: none; display: grid; gap: 9px; border-top: 1px solid #507077; padding-top: 21px; margin-bottom: 24px; }
.offer li { font-size: 15px; }.offer li::before { content: "✓"; color: var(--mint); margin-right: 10px; }
.offer .btn { width: 100%; justify-content: space-between; }
.faq { border-top: 1px solid var(--line); align-items: start; }
.faq h2 { font-size: clamp(31px,3.5vw,46px); margin-bottom: 14px; }
.faq details { border-bottom: 1px solid var(--line); }
.faq details:first-child { border-top: 1px solid var(--line); }
.faq summary { cursor: pointer; list-style: none; display: flex; align-items: center; justify-content: space-between; min-height: 64px; padding-block: 14px; gap: 20px; font-weight: 650; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-size: 22px; color: #256569; }.faq details[open] summary::after { content: "−"; }
.faq details p { padding: 0 22px 19px 0; color: var(--muted); }
.faq details a { text-decoration: underline; }
footer { background: #e8edeb; border-top: 1px solid var(--line); }.footer-inner { justify-content: space-between; gap: 24px; padding-block: 27px; }
.footer-inner small { display: block; font-size: 12px; color: var(--muted); }
.footer-inner .identity img { width: 162px; }.footer-inner nav { gap: 26px; flex-wrap: wrap; font-size: 13px; font-weight: 650; }
.footer-inner nav a { display: inline-flex; align-items: center; min-height: 44px; }
.nav a:hover, .login:hover, footer a:hover { text-decoration: underline; text-underline-offset: 5px; }
@media (max-width: 980px) {
  .wrap { width: calc(100% - 64px); }.bar { gap: 23px; }.hero { gap: 32px; }.nav { gap: 19px; }
  .intro h1 { font-size: clamp(57px,7vw,69px); }.steps { gap: 24px; }.hero { padding-block: 56px; }
  .actions { padding-left: 20px; }.identity img { width: 181px; }
}
@media (max-width: 760px) {
  .wrap { width: calc(100% - 40px); }.bar { min-height: 68px; gap: 12px; justify-content: space-between; }
  .nav, .actions::before { display: none; }.actions { gap: 14px; padding: 0; }
  .hero { grid-template-columns: minmax(0,1fr); gap: 32px; padding-block: 38px 42px; }
  .intro h1 { font-size: clamp(54px,9vw,72px); }.intro > p:not(.terms) { margin-top: 18px; }.cta-row { margin-top: 22px; }
  .demo { max-width: 560px; }.demo-controls label { padding-block: 12px; }
  .car-photo { height: clamp(170px,44vw,260px); }.demo-panel { min-height: clamp(264px,calc(44vw + 94px),354px); }
  .steps { grid-template-columns: 1fr; gap: 18px; margin-top: 24px; }
  .steps article { display: grid; grid-template-columns: 32px 1fr; gap: 4px 13px; align-items: start; padding-top: 16px; }
  .steps svg { grid-row: span 2; width: 23px; height: 23px; margin: 1px 0 0; }.steps p { margin: 0; max-width: 55ch; }
  .sign-grid, .pricing, .faq { grid-template-columns: minmax(0,1fr); gap: 25px; }
  .sign-grid { padding-block: 38px; }.sign-photo { aspect-ratio: 1.7; }.sign-copy h2 br, .price-copy h2 br { display:none; }
  .workflow, .pricing, .faq { padding-block: 45px; }.footer-inner { align-items: flex-start; flex-direction: column; gap: 8px; }.footer-inner nav { gap: 20px; }
}
@media (max-width: 460px) {
  .identity img { width: 145px; }.login { font-size: 12px; }.btn.small { padding-inline: 11px; font-size: 12px; min-height: 44px; }.btn.small span { display: none; }
  .demo-heading { padding: 11px 13px; }.demo-controls { margin: 9px 9px 8px; }.demo-panel { margin: 0 9px 9px; }
  .cta-row { gap: 18px; }.terms { font-size: 11.5px; }.faq summary { font-size: 15px; }.footer-inner nav { gap: 16px; }
}
@media (max-width: 355px) {
  .wrap { width: calc(100% - 28px); }.identity img { width: 119px; }.actions { gap: 10px; }.intro h1 { font-size: 47px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }.btn { transition: none; }
}
