/* Lot & Yard product page — static, no framework. Light theme, one accent (the portal's blue). */
:root {
  --ink: #0f172a; --ink-2: #334155; --ink-3: #64748b; --line: #e2e8f0; --line-2: #eef2f7;
  --bg: #ffffff; --bg-alt: #f6f8fb; --paper: #ffffff;
  --primary: #1d4ed8; --primary-hover: #1e40af; --primary-soft: #dbeafe; --primary-text: #1e40af; --primary-ring: rgba(29, 78, 216, .3);
  --ok: #15803d;
  --radius: 14px; --shadow: 0 1px 2px rgba(15, 23, 42, .04), 0 12px 32px -12px rgba(15, 23, 42, .18);
  --font: Inter, ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--bg); color: var(--ink); font: 400 16px/1.6 var(--font); -webkit-font-smoothing: antialiased; }
img { display: block; max-width: 100%; height: auto; }
a { color: var(--primary-text); text-decoration: none; }
h1, h2, h3 { margin: 0; letter-spacing: -.02em; line-height: 1.15; font-weight: 700; }
h1 { font-size: clamp(2rem, 5vw, 3.4rem); font-weight: 800; letter-spacing: -.03em; }
h2 { font-size: clamp(1.6rem, 3.2vw, 2.25rem); }
h3 { font-size: 1.2rem; }
p { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
:focus-visible { outline: 2px solid var(--primary); outline-offset: 2px; }

.wrap { width: min(1160px, 100% - 32px); margin-inline: auto; }
.wrap.narrow { width: min(820px, 100% - 32px); }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 10px 18px; border-radius: 10px; font-weight: 600; font-size: .95rem; line-height: 1.2; border: 1px solid var(--line); background: var(--paper); color: var(--ink); white-space: nowrap; transition: background .15s, border-color .15s, box-shadow .15s; }
.btn:hover { border-color: #cbd5e1; background: #f8fafc; }
.btn.pri { background: var(--primary); border-color: var(--primary); color: #fff; }
.btn.pri:hover { background: var(--primary-hover); border-color: var(--primary-hover); }
.btn.ghost { background: transparent; }
.btn.lg { padding: 14px 24px; font-size: 1.05rem; border-radius: 12px; }
.cta-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.cta-row.center { justify-content: center; }

/* Header */
.top { position: sticky; top: 0; z-index: 20; background: rgba(255, 255, 255, .86); backdrop-filter: saturate(160%) blur(10px); -webkit-backdrop-filter: saturate(160%) blur(10px); border-bottom: 1px solid transparent; transition: border-color .2s; }
.top.scrolled { border-bottom-color: var(--line); }
.top-row { display: flex; align-items: center; gap: 24px; height: 64px; }
.brand { display: inline-flex; align-items: center; gap: 10px; color: var(--ink); font-weight: 800; font-size: 1.15rem; letter-spacing: -.02em; }
.mark { width: 30px; height: 30px; flex: none; }
.nav { display: flex; gap: 6px; margin-left: auto; }
.nav a { color: var(--ink-2); font-weight: 500; padding: 8px 12px; border-radius: 8px; white-space: nowrap; }
.nav a:hover { color: var(--ink); background: var(--bg-alt); }

/* Hero */
.hero { padding: 72px 0 32px; background: radial-gradient(1200px 500px at 70% -10%, #e8efff 0%, rgba(232, 239, 255, 0) 70%); }
.hero-grid { display: grid; gap: 40px; align-items: center; }
.eyebrow { color: var(--primary-text); font-weight: 600; font-size: .9rem; margin-bottom: 18px; }
.sub { font-size: 1.15rem; color: var(--ink-2); margin-top: 20px; max-width: 58ch; }
.fine { color: var(--ink-3); font-size: .9rem; margin-top: 16px; }
.hero-shot { margin-top: 24px; }

/* Browser frame around screenshots */
.frame { margin: 0; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); overflow: hidden; }
.frame-bar { display: flex; align-items: center; gap: 6px; height: 34px; padding: 0 12px; background: #f8fafc; border-bottom: 1px solid var(--line-2); }
.frame-bar span { width: 10px; height: 10px; border-radius: 50%; background: #d7dde6; }
.frame-bar em { margin-left: 10px; flex: 1; height: 20px; line-height: 20px; padding: 0 10px; border-radius: 6px; background: #fff; border: 1px solid var(--line-2); font: 500 .72rem/20px ui-monospace, SFMono-Regular, Menlo, monospace; color: var(--ink-3); font-style: normal; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.frame img { width: 100%; }

/* Sections */
.section { padding: 80px 0; }
.section.alt { background: var(--bg-alt); }
.section-head { max-width: 62ch; margin-bottom: 40px; }
.section-head p { color: var(--ink-2); font-size: 1.1rem; margin-top: 12px; }
.note { color: var(--ink-3); font-size: .95rem; margin-top: 28px; max-width: 80ch; }
.kicker { color: var(--primary-text); font-weight: 600; font-size: .85rem; text-transform: uppercase; letter-spacing: .06em; margin-bottom: 10px; }

.ticks { display: grid; gap: 10px; margin-top: 18px; }
.ticks li { position: relative; padding-left: 28px; color: var(--ink-2); }
.ticks li::before { content: ""; position: absolute; left: 0; top: 4px; width: 18px; height: 18px; border-radius: 50%; background: var(--primary-soft); }
.ticks li::after { content: ""; position: absolute; left: 5px; top: 8px; width: 7px; height: 4px; border-left: 2px solid var(--primary-text); border-bottom: 2px solid var(--primary-text); transform: rotate(-45deg); }

/* Two kinds of lots */
.two-cards { display: grid; gap: 20px; }
.card { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; }
.card > p { color: var(--ink-2); margin-top: 10px; }
.card h3 { font-size: 1.3rem; }
.ico { width: 44px; height: 44px; border-radius: 12px; background: var(--primary-soft); display: grid; place-items: center; margin-bottom: 18px; }
.ico svg { width: 24px; height: 24px; fill: none; stroke: var(--primary); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }

/* Feature blocks */
.feature { display: grid; gap: 28px; align-items: center; padding: 40px 0; }
.feature + .feature { border-top: 1px solid var(--line); }
.feature h3 { font-size: 1.5rem; }
.feature-copy > p:not(.kicker) { color: var(--ink-2); margin-top: 12px; }
.shots-2 { display: grid; gap: 16px; }
.shots-2 img, .demo-grid img { aspect-ratio: 16 / 9; object-fit: cover; object-position: top; }

/* Templates */
.templates { display: grid; gap: 20px; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); }
.tpl { margin: 0; }
.tpl figcaption { padding: 14px 4px 0; }
.tpl figcaption b { display: block; font-size: 1.05rem; }
.tpl figcaption span { color: var(--ink-3); font-size: .9rem; line-height: 1.5; }
.mini { --t-bg: #fff; --t-paper: #fff; --t-ink: #111; --t-coal: #14120f; --t-on-coal: #fff; --t-accent: #1d4ed8; --t-on-accent: #fff; --t-font: inherit; --t-transform: none; --t-radius: 6px; --t-line: #e5e7eb;
  aspect-ratio: 5 / 4; border-radius: 12px; overflow: hidden; border: 1px solid var(--line); box-shadow: var(--shadow); background: var(--t-bg); display: flex; flex-direction: column; font-size: 10px; }
.mini-bar { display: flex; align-items: center; gap: 6px; padding: 8px 10px; background: var(--t-coal); color: var(--t-on-coal); }
.mini-bar b { font-family: var(--t-font); text-transform: var(--t-transform); font-size: 11px; margin-right: auto; letter-spacing: .01em; }
.mini-bar i { width: 16px; height: 4px; border-radius: 2px; background: currentColor; opacity: .5; }
.mini-hero { flex: 1; display: flex; flex-direction: column; justify-content: center; align-items: flex-start; gap: 8px; padding: 14px 12px; background: var(--t-coal); color: var(--t-on-coal); }
.mini-hero span { font-family: var(--t-font); text-transform: var(--t-transform); font-size: 15px; line-height: 1.1; font-weight: 700; max-width: 12ch; }
.mini-hero u { text-decoration: none; background: var(--t-accent); color: var(--t-on-accent); padding: 4px 9px; border-radius: var(--t-radius); font-weight: 600; font-size: 9px; }
.mini-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; padding: 10px; background: var(--t-bg); }
.mini-cards div { aspect-ratio: 5 / 3; border-radius: min(var(--t-radius), 6px); background: linear-gradient(180deg, var(--t-line) 0 58%, var(--t-paper) 58%); border: 1px solid var(--t-line); position: relative; }
.mini-cards div::after { content: ""; position: absolute; left: 6px; bottom: 6px; width: 40%; height: 3px; border-radius: 2px; background: var(--t-accent); }
.tpl-classic .mini { --t-bg: #f4f1eb; --t-paper: #fff; --t-coal: #14120f; --t-accent: #e8621a; --t-font: "Barlow Condensed", "Arial Narrow", sans-serif; --t-transform: uppercase; --t-radius: 6px; --t-line: #e3ddd2; }
.tpl-classic .mini-hero span { font-size: 18px; }
.tpl-showroom .mini { --t-bg: #f6f7f9; --t-coal: #fff; --t-on-coal: #0f172a; --t-accent: #1d4ed8; --t-font: Inter, sans-serif; --t-radius: 999px; --t-line: #dde2ea; }
.tpl-showroom .mini-bar { border-bottom: 1px solid #ebeef3; }
.tpl-showroom .mini-hero { background: linear-gradient(180deg, #dbe4f5, #b9c8e6); color: #0f172a; }
.tpl-yard .mini { --t-bg: #0e0f11; --t-paper: #17191d; --t-coal: #17191d; --t-on-coal: #f2f1ee; --t-accent: #facc15; --t-on-accent: #111; --t-font: Oswald, "Arial Narrow", sans-serif; --t-transform: uppercase; --t-radius: 0px; --t-line: #30343b; }
.tpl-yard .mini-hero { border-top: 3px solid #facc15; }
.tpl-boutique .mini { --t-bg: #faf5ec; --t-paper: #fffdf8; --t-coal: #2f3e34; --t-on-coal: #fffdf8; --t-accent: #9a3b2e; --t-font: "Playfair Display", Georgia, serif; --t-radius: 6px; --t-line: #e0d5c4; }
.tpl-boutique .mini-hero { align-items: center; text-align: center; }
.tpl-boutique .mini-hero span { max-width: 14ch; }

/* Pricing */
.toggle { display: inline-flex; margin-top: 22px; padding: 4px; border-radius: 12px; background: #fff; border: 1px solid var(--line); }
.toggle button { border: 0; background: transparent; padding: 8px 16px; border-radius: 9px; font: 600 .95rem var(--font); color: var(--ink-2); cursor: pointer; display: inline-flex; align-items: center; gap: 8px; }
.toggle button small { font-weight: 500; color: var(--ok); font-size: .78rem; }
.toggle button.on { background: var(--primary); color: #fff; }
.toggle button.on small { color: #dbeafe; }
.plans { display: grid; gap: 20px; }
.plan { position: relative; background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: 30px 28px; display: flex; flex-direction: column; }
.plan.featured { border-color: var(--primary); box-shadow: 0 0 0 4px var(--primary-ring), var(--shadow); }
.plan h3 { font-size: 1.35rem; }
.plan-for { color: var(--ink-3); margin-top: 6px; font-size: .95rem; }
.badge { position: absolute; top: -12px; right: 24px; background: var(--primary); color: #fff; font-size: .75rem; font-weight: 700; padding: 4px 10px; border-radius: 999px; letter-spacing: .02em; }
.price { display: flex; align-items: baseline; gap: 8px; margin-top: 22px; }
.price b { font-size: 2.6rem; font-weight: 800; letter-spacing: -.03em; line-height: 1; font-variant-numeric: tabular-nums; }
.price span { color: var(--ink-3); }
.setup { color: var(--ink-3); font-size: .9rem; margin-top: 6px; }
.plan .ticks { margin: 22px 0 28px; }
.plan .btn { margin-top: auto; }
.addons { margin-top: 40px; background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; }
.addons h3 { font-size: 1.15rem; margin-bottom: 8px; }
.addons ul li { display: grid; grid-template-columns: 1fr; gap: 2px 16px; padding: 14px 0; border-top: 1px solid var(--line-2); }
.addons ul li span { color: var(--ink-3); font-size: .92rem; }
.addons ul li em { font-style: normal; font-weight: 600; font-variant-numeric: tabular-nums; white-space: nowrap; }
.addons .note { margin-top: 18px; }

/* Onboarding */
.steps { display: grid; gap: 20px; counter-reset: step; }
.steps li { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; }
.num { display: inline-grid; place-items: center; width: 36px; height: 36px; border-radius: 50%; background: var(--primary); color: #fff; font-weight: 700; margin-bottom: 16px; }
.steps p { color: var(--ink-2); margin-top: 8px; }

/* Demo */
.demo-grid { display: grid; gap: 32px; align-items: center; }
.demo-grid > div > p { color: var(--ink-2); margin-top: 14px; font-size: 1.05rem; }

/* FAQ */
.faq { display: grid; gap: 10px; }
.faq details { background: var(--paper); border: 1px solid var(--line); border-radius: 12px; padding: 0 20px; }
.faq summary { cursor: pointer; padding: 16px 32px 16px 0; font-weight: 600; list-style: none; position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; position: absolute; right: 4px; top: 50%; width: 9px; height: 9px; border-right: 2px solid var(--ink-3); border-bottom: 2px solid var(--ink-3); transform: translateY(-70%) rotate(45deg); transition: transform .2s; }
.faq details[open] summary::after { transform: translateY(-30%) rotate(-135deg); }
.faq details p { color: var(--ink-2); padding: 0 0 18px; }

/* Closing */
.closing { text-align: center; padding: 96px 0; background: linear-gradient(180deg, #fff, #eef3ff); }
.closing p { color: var(--ink-2); margin-top: 12px; font-size: 1.1rem; }

/* Footer */
.foot { border-top: 1px solid var(--line); padding: 36px 0; color: var(--ink-3); font-size: .92rem; }
.foot-row { display: flex; flex-wrap: wrap; gap: 20px 40px; justify-content: space-between; align-items: flex-start; }
.foot-brand { color: var(--ink); font-weight: 800; letter-spacing: -.02em; margin-bottom: 4px; }
.foot nav { display: flex; flex-wrap: wrap; gap: 6px 18px; }
.foot nav a { color: var(--ink-2); }

/* Layout at width */
@media (min-width: 700px) {
  .two-cards, .plans { grid-template-columns: 1fr 1fr; }
  .steps { grid-template-columns: repeat(3, 1fr); }
  .addons ul li { grid-template-columns: 200px 1fr auto; align-items: center; }
  .feature { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 48px; padding: 56px 0; }
  .feature.flip .feature-copy { order: 2; }
  .feature.flip .shots-2, .feature.flip > .frame { order: 1; }
  .demo-grid { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); }
}
@media (min-width: 980px) {
  .hero { padding: 96px 0 48px; }
  .hero-grid { grid-template-columns: minmax(0, 11fr) minmax(0, 13fr); gap: 56px; }
  .hero-shot { margin-top: 0; }
  .plans { grid-template-columns: 1fr 1fr; max-width: 900px; }
}
@media (max-width: 699px) {
  .nav a[href="#product"], .nav a[href="#demo"] { display: none; }
  .top-row { gap: 12px; }
  .nav { gap: 0; }
  .nav a { padding: 8px 8px; }
  .section { padding: 56px 0; }
  .hero { padding: 48px 0 24px; }
  .btn.lg { width: 100%; }
  .price b { font-size: 2.2rem; }
}
@media (max-width: 420px) {
  .nav a[href="#pricing"], .nav a[href="#video"] { display: none; }
  .brand span { font-size: 1.05rem; }
  .top-row { gap: 8px; }
  .top-row .btn { padding: 8px 12px; font-size: .9rem; flex: none; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

/* launch promo: list price struck beside the price in force */
.price .was{font-size:1.1rem;font-weight:500;color:#64748b;margin-right:.45rem;text-decoration:line-through}

/* Hero proof strip */
.proof { display: flex; flex-wrap: wrap; gap: 8px 22px; margin-top: 22px; color: var(--ink-3); font-size: .9rem; }
.proof li { position: relative; padding-left: 16px; }
.proof li::before { content: ""; position: absolute; left: 0; top: .55em; width: 7px; height: 7px; border-radius: 50%; background: var(--primary); }
.section-head.center { margin-inline: auto; text-align: center; }

/* What you get */
.benefits { display: grid; gap: 18px; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); }
.benefits li { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; }
.benefits h3 { font-size: 1.05rem; }
.benefits p { color: var(--ink-2); font-size: .95rem; margin-top: 8px; }
.benefits .ico { width: 40px; height: 40px; margin-bottom: 14px; }
.benefits .ico svg { width: 22px; height: 22px; }

/* Video */
.video-frame { margin: 0 auto; max-width: 980px; }
.video-frame video { display: block; width: 100%; height: auto; aspect-ratio: 16 / 10; background: #0f172a; border-radius: var(--radius); border: 1px solid var(--line); box-shadow: var(--shadow); }
.video-frame figcaption { color: var(--ink-3); font-size: .9rem; margin-top: 14px; text-align: center; }

/* AI sales agent */
.agent-grid { display: grid; gap: 32px; align-items: start; }
.chat-demo { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); padding: 18px; display: grid; gap: 10px; }
.chat-head { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; padding-bottom: 12px; border-bottom: 1px solid var(--line-2); margin-bottom: 4px; }
.chat-head span { color: var(--ink-3); font-size: .85rem; }
.chat-head span::before { content: ""; display: inline-block; width: 8px; height: 8px; border-radius: 50%; background: var(--ok); margin-right: 6px; }
.msg { max-width: 88%; padding: 10px 14px; border-radius: 14px; font-size: .95rem; line-height: 1.5; }
.msg.bot { background: var(--bg-alt); color: var(--ink); border-bottom-left-radius: 4px; }
.msg.user { background: var(--primary); color: #fff; margin-left: auto; border-bottom-right-radius: 4px; }
.chat-foot { color: var(--ink-3); font-size: .82rem; padding-top: 8px; border-top: 1px solid var(--line-2); }
.agent-points { display: grid; gap: 22px; }
.point h3 { font-size: 1.15rem; }
.point p { color: var(--ink-2); margin-top: 8px; }
.agent-points .note { margin-top: 0; }

/* SEO & marketing */
.mkt-grid { display: grid; gap: 20px; }
.mkt { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; }
.mkt h3 { font-size: 1.15rem; }
.mkt .ticks { margin-top: 14px; font-size: .95rem; }

/* Why dealers switch */
.compare { border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; background: var(--paper); }
.cmp-head, .cmp-row { display: grid; grid-template-columns: 1fr; }
.cmp-head span { padding: 14px 20px; font-weight: 700; font-size: .85rem; text-transform: uppercase; letter-spacing: .06em; color: var(--ink-3); background: var(--bg-alt); border-bottom: 1px solid var(--line); }
.cmp-head span:last-child { color: var(--primary-text); background: var(--primary-soft); }
.cmp-row { border-top: 1px solid var(--line-2); }
.cmp-row span { padding: 16px 20px; color: var(--ink-2); font-size: .95rem; position: relative; }
.cmp-row span:first-child { padding-left: 44px; }
.cmp-row span:first-child::before { content: ""; position: absolute; left: 20px; top: 22px; width: 10px; height: 2px; background: #cbd5e1; }
.cmp-row span:last-child { color: var(--ink); padding-left: 48px; }
.cmp-row span:last-child::before { content: ""; position: absolute; left: 20px; top: 18px; width: 18px; height: 18px; border-radius: 50%; background: var(--primary-soft); }
.cmp-row span:last-child::after { content: ""; position: absolute; left: 25px; top: 22px; width: 7px; height: 4px; border-left: 2px solid var(--primary-text); border-bottom: 2px solid var(--primary-text); transform: rotate(-45deg); }
@media (max-width: 699px) {
  .cmp-head span:first-child { display: none; }
  .cmp-row span:first-child { font-size: .85rem; padding-bottom: 4px; }
  .cmp-row span:first-child::after { content: " (the usual)"; color: var(--ink-3); }
  .cmp-row span:last-child { padding-top: 4px; }
}
@media (min-width: 700px) {
  .cmp-head, .cmp-row { grid-template-columns: 1fr 1fr; }
  .cmp-row span:last-child { border-left: 1px solid var(--line-2); }
  .agent-grid { grid-template-columns: minmax(0, 6fr) minmax(0, 6fr); gap: 48px; }
  .mkt-grid { grid-template-columns: repeat(3, 1fr); }
}
@media (min-width: 980px) {
  .agent-grid { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); }
}
