/* LogMyFleet public site: "navy and coral" identity (warm white, serif headings, round shapes). */
:root {
  --bg: #fcf9f5; --alt: #f6efe6; --ink: #14213d; --muted: #5d6578; --line: #eadfd2;
  --coral: #ff6b57; --coral-text: #d9422c; --coral-soft: #ffe4df; --coral-deep: #a8321f;
  --display: Fraunces, Georgia, "Times New Roman", serif;
  --shadow: 0 14px 34px rgba(20, 33, 61, .1);
  color-scheme: light;
  font-family: "DM Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 84px; }
body { margin: 0; background: var(--bg); color: var(--ink); font-size: 17px; line-height: 1.6; }
img { max-width: 100%; }
h1, h2, h3 { font-family: var(--display); font-weight: 600; line-height: 1.08; margin: 0 0 .6rem; letter-spacing: -.015em; }
h1 { font-size: clamp(2.5rem, 6vw, 4.1rem); }
h2 { font-size: clamp(1.9rem, 4vw, 2.7rem); }
h3 { font-size: 1.3rem; }
p { margin: 0 0 1rem; }
a { color: var(--ink); text-decoration-color: var(--coral); text-decoration-thickness: 2px; text-underline-offset: 3px; }
:focus-visible { outline: 3px solid var(--ink); outline-offset: 3px; }
.wrap { width: min(1100px, 100% - 40px); margin-inline: auto; }
.narrow { width: min(740px, 100% - 40px); }
.skip { position: absolute; left: -999px; top: 8px; background: var(--ink); color: #fff; padding: 8px 14px; border-radius: 8px; z-index: 100; }
.skip:focus { left: 8px; }
.fine { font-size: .92rem; color: var(--muted); }
.eyebrow { font-weight: 600; font-size: .9rem; color: var(--muted); margin: 0 0 14px; }
.sub { color: var(--muted); font-size: 1.12rem; max-width: 56ch; margin-bottom: 2rem; }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 50px; padding: 0 26px; border: 0; border-radius: 999px; background: var(--ink); color: #fff;
  font: 600 1rem/1 "DM Sans", sans-serif; text-decoration: none; cursor: pointer; }
.btn:hover { filter: brightness(1.2); }
.btn-lg { min-height: 56px; padding: 0 32px; font-size: 1.05rem; }
.btn-ghost { background: transparent; color: var(--ink); box-shadow: inset 0 0 0 1.5px var(--ink); }
.btn-ghost:hover { background: var(--coral-soft); filter: none; }
.block { display: flex; width: 100%; }

/* Header */
.nav { position: sticky; top: 0; z-index: 20; background: rgba(252, 249, 245, .92); backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); }
.nav-in { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 70px; }
.brand { display: flex; align-items: center; gap: 10px; color: var(--ink); text-decoration: none; }
.wordmark { font: 700 1.5rem/1 var(--display); letter-spacing: -.01em; }
.nav-links { display: flex; gap: 28px; margin-left: auto; }
.nav-links a { font-weight: 500; text-decoration: none; color: var(--muted); }
.nav-links a:hover { color: var(--ink); }
@media (max-width: 780px) { .nav-links { display: none; } }

/* Hero */
.hero { padding: clamp(36px, 6vw, 80px) 0 clamp(28px, 5vw, 56px); }
.hero-in { display: grid; grid-template-columns: 1.05fr .95fr; gap: 48px; align-items: center; }
.hero h1 em { font-style: normal; color: var(--coral-text); }
.lead { font-size: 1.2rem; color: var(--muted); max-width: 46ch; margin-bottom: 22px; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 26px; padding: 0; list-style: none; }
.chips li { font-weight: 500; font-size: .95rem; padding: 8px 15px; background: #fff; border: 1px solid var(--line); border-radius: 999px; }
.chips li::before { content: "✓"; color: var(--coral-text); font-weight: 700; margin-right: 8px; }
.cta { display: flex; flex-wrap: wrap; align-items: center; gap: 14px; margin-bottom: 20px; }
.slogan { font: italic 600 1.35rem/1.25 var(--display); margin: 0 0 6px; }
.hero .fine { margin: 0; }
@media (max-width: 880px) { .hero-in { grid-template-columns: 1fr; gap: 36px; } }

/* Product preview, with a soft arch behind */
.visual { position: relative; display: grid; place-items: center; min-height: 380px; }
.visual::before { content: ""; position: absolute; width: min(300px, 70%); height: 92%; background: var(--coral-soft); border-radius: 160px 160px 20px 20px; right: 2%; top: 4%; }
.mock { position: relative; width: min(370px, 94%); background: #fff; border: 1px solid var(--line); border-radius: 20px; padding: 14px; display: grid; gap: 10px; box-shadow: var(--shadow); }
.mock-bar { display: flex; justify-content: space-between; font-weight: 600; font-size: .82rem; color: var(--muted); }
.odo { background: var(--bg); border-radius: 12px; padding: 12px 14px; }
.odo small, .item small { display: block; color: var(--muted); font-size: .82rem; }
.odo .n { font: 600 2.8rem/1 var(--display); }
.odo .n i { font: 500 1rem "DM Sans", sans-serif; font-style: normal; color: var(--muted); margin-left: 4px; }
.item { display: flex; justify-content: space-between; align-items: center; gap: 10px; background: var(--bg); border-radius: 12px; padding: 10px 12px; }
.item b { display: block; font-weight: 600; }
.pill { font: 600 .74rem/1 "DM Sans", sans-serif; padding: 6px 11px; border-radius: 999px; background: var(--coral-soft); color: var(--coral-deep); white-space: nowrap; }
.pill.calm { background: transparent; color: var(--muted); box-shadow: inset 0 0 0 1px var(--line); }
.sale { display: flex; justify-content: space-between; background: var(--ink); color: #fff; padding: 12px 14px; border-radius: 12px; font-weight: 600; }

/* Vehicles strip */
.fleet { padding: 20px 0 clamp(40px, 6vw, 72px); }
.tiles { display: grid; grid-template-columns: repeat(5, 1fr); gap: 14px; margin-top: 8px; }
@media (max-width: 860px) { .tiles { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 520px) { .tiles { grid-template-columns: repeat(2, 1fr); } }
.tile { background: #fff; border: 1px solid var(--line); border-radius: 20px; padding: 18px 10px 14px; text-align: center; }
.tile svg { width: 100%; max-width: 112px; height: auto; }
.tile b { display: block; font-weight: 600; margin-top: 6px; }
.v * { stroke-width: 3; stroke-linejoin: round; stroke-linecap: round; }
.v .vb { fill: var(--coral); stroke: var(--ink); }
.v .vw { fill: #fff4f0; stroke: var(--ink); }
.v .vd { fill: var(--ink); stroke: none; }
.v .vh { fill: #fff4f0; stroke: none; }
.v .vl { fill: none; stroke: var(--ink); }

/* Sections */
.section { padding: clamp(52px, 8vw, 96px) 0; }
.section.alt { background: var(--alt); }
.grid3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
@media (max-width: 920px) { .grid3 { grid-template-columns: 1fr 1fr; } }
@media (max-width: 580px) { .grid3 { grid-template-columns: 1fr; } }
.feat { background: #fff; border: 1px solid var(--line); border-radius: 20px; padding: 26px; }
.feat p { color: var(--muted); margin: 0; }
.ico { display: grid; place-items: center; width: 54px; height: 54px; border-radius: 50%; background: var(--coral-soft); margin-bottom: 16px; }
.ico svg { width: 28px; height: 28px; fill: none; stroke: var(--ink); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
@media (max-width: 840px) { .split { grid-template-columns: 1fr; gap: 32px; } }
.ticks { list-style: none; padding: 0; margin: 1rem 0; display: grid; gap: 10px; }
.ticks li { position: relative; padding-left: 32px; }
.ticks li::before { content: "✓"; position: absolute; left: 0; top: 1px; width: 22px; height: 22px; display: grid; place-items: center; border-radius: 50%; background: var(--coral-soft); color: var(--coral-deep); font-size: .8rem; font-weight: 700; }
.ticks em { font-style: normal; font-size: .72rem; font-weight: 600; background: var(--ink); color: #fff; padding: 3px 9px; border-radius: 999px; margin-left: 4px; white-space: nowrap; }
.paper { background: #fff; border: 1px solid var(--line); border-radius: 20px; padding: 26px; display: grid; gap: 4px; box-shadow: var(--shadow); }
.paper b { font: 600 1.4rem/1.1 var(--display); }
.paper small { color: var(--muted); margin-bottom: 10px; }
.paper table { border-collapse: collapse; width: 100%; font-size: .94rem; }
.paper td { padding: 10px 4px; border-bottom: 1px solid var(--line); }
.paper td:first-child { white-space: nowrap; color: var(--muted); padding-right: 12px; }
.callout { display: grid; gap: 8px; text-align: center; background: var(--ink); color: #fff; border-radius: 20px; padding: 46px 24px; }
.callout b { font: 600 clamp(2.4rem, 6vw, 3.6rem)/1 var(--display); }
.callout small { color: #ffc9c0; font-size: 1.05rem; }

.steps { list-style: none; counter-reset: s; padding: 0; margin: 2rem 0 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
@media (max-width: 840px) { .steps { grid-template-columns: 1fr; } }
.steps li { counter-increment: s; position: relative; padding: 70px 0 0; display: grid; gap: 6px; align-content: start; }
.steps li::before { content: counter(s); position: absolute; top: 0; left: 0; width: 52px; height: 52px; display: grid; place-items: center; border-radius: 50%; background: var(--coral-soft); font: 600 1.7rem var(--display); }
.steps b { font: 600 1.3rem/1.15 var(--display); }
.steps span { color: var(--muted); }

/* Pricing */
.plans { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; align-items: stretch; }
@media (max-width: 920px) { .plans { grid-template-columns: 1fr; max-width: 460px; } }
.plan { position: relative; display: flex; flex-direction: column; background: #fff; border: 1px solid var(--line); border-radius: 22px; padding: 30px; }
.plan .ticks { flex: 1; margin-bottom: 24px; }
.plan.featured { border: 2px solid var(--ink); box-shadow: var(--shadow); }
.tag { position: absolute; top: -14px; left: 26px; background: var(--coral); color: var(--ink); font-weight: 600; font-size: .78rem; padding: 6px 14px; border-radius: 999px; }
.price { font: 600 3rem/1 var(--display); margin-bottom: 1rem; }
.price small { font: 500 1rem "DM Sans", sans-serif; color: var(--muted); margin-left: 4px; }

/* FAQ */
details { background: #fff; border: 1px solid var(--line); border-radius: 16px; padding: 0 22px; margin-bottom: 10px; }
summary { cursor: pointer; font-weight: 600; padding: 18px 0; list-style: none; display: flex; justify-content: space-between; gap: 12px; }
summary::after { content: "+"; font: 600 1.5rem/1 var(--display); color: var(--coral-text); }
details[open] summary::after { content: "–"; }
summary::-webkit-details-marker { display: none; }
details p { color: var(--muted); }

/* Closing */
.final { background: var(--ink); color: #fff; text-align: center; padding: clamp(60px, 8vw, 100px) 0; }
.final h2 { color: #fff; }
.final h2 em { font-style: normal; color: var(--coral); }
.final p { color: #d6dae6; font-size: 1.15rem; }
.final .btn { background: var(--coral); color: var(--ink); }
.final :focus-visible { outline-color: #fff; }
.foot { padding: 26px 0; color: var(--muted); font-size: .92rem; border-top: 1px solid var(--line); }
.foot-in { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; align-items: center; }
.foot .wordmark { font-size: 1.2rem; }

@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
