/* The Features page (/features/, James, 2026-11-22), in the planner's Rally
   design ("in the rally theme"), and the home page's call through to it
   (src/home/everything.html). Edited in place, like film.css.
   The site's own palette from open-road.css (body.road-site): the paper, the
   ink, the slate hairlines, and canonical Ember, flat. No gradients, no glows,
   no small labels over headings, and every title in Title Case. */

/* "LetsDrive" in a heading as the wordmark (James, 2026-11-22: "LetsDrive in
   the page hero text should be in the canonical LetsDrive style"): Lets heavy,
   Drive light and a touch faded, as the bar's lockup sets it (shared/header.css
   --brand-wordmark-*), left to right in every language. */
.ld-wordmark{font-weight:750;letter-spacing:-.035em;white-space:nowrap;direction:ltr;unicode-bidi:isolate}
.ld-wordmark i{font-style:normal;font-weight:430;opacity:.82}

/* ── Rally on this site ─────────────────────────────────────────────
   The planner's Rally surfaces (web/src/theme/rally.css: --rally-card,
   --rally-line, --rally-soft, --rally-muted), here on the site's own paper
   (open-road.css), for the Features page and the home page's doors to it. */
.road-site{--rally-card:#20252b;--rally-line:#46505a;--rally-soft:#303741;--rally-muted:#b2bac2}
html[data-theme="light"] .road-site{--rally-card:#fffefa;--rally-line:#d3d8dd;--rally-soft:#e5e9ec;--rally-muted:#626c76}

/* ── The page ─────────────────────────────────────────────────────── */
.ldfeat{padding:112px 0 32px}
.ldfeat-in{max-width:80rem;margin:0 auto;padding:0 1.5rem}
/* Rally's headline: a statement, its last words in Georgia italic on a line
   of their own (web/src/components/RallyHeadline.tsx). */
.ldfeat-top h1{font-size:clamp(2.3rem,4.4vw,3.75rem);line-height:1.05;font-weight:700;letter-spacing:-.045em;margin:0 0 18px;max-width:900px;text-wrap:balance}
.ldfeat-top h1 em{font-family:Georgia,serif;font-weight:400;letter-spacing:-.02em;color:var(--rally-muted)}
.ldfeat-lede{font-size:clamp(16px,1.3vw,18px);line-height:1.65;color:var(--rally-muted);margin:0 0 28px;max-width:40rem}
/* Rally's chips: the card with a hairline inside, its 7 px corner. */
.ldfeat-jump{display:flex;flex-wrap:wrap;gap:8px}
.ldfeat-jump a{display:inline-flex;align-items:center;min-height:38px;padding:0 14px;border-radius:7px;background:var(--rally-card);box-shadow:inset 0 0 0 1px var(--rally-line);color:var(--foreground);font-size:13px;font-weight:600;text-decoration:none;transition:box-shadow .15s}
.ldfeat-jump a:hover{box-shadow:inset 0 0 0 1px #fa6435}
.ldfeat-jump a:focus-visible,.road-everything-doors a:focus-visible{outline:3px solid #fa6435;outline-offset:3px}

/* A section: its name and a line, then its features as Postcards. */
.ldfeat-group{padding:64px 0 8px;scroll-margin-top:64px}
.ldfeat-top + .ldfeat-group{margin-top:24px}
.ldfeat-head h2{font-size:clamp(1.7rem,2.7vw,2.4rem);line-height:1.1;font-weight:700;letter-spacing:-.035em;margin:0 0 10px;text-wrap:balance}
.ldfeat-head p{color:var(--rally-muted);font-size:16px;line-height:1.65;margin:0;max-width:36rem}

/* The Postcard (the planner's tile, RoutesPage.module.css .postcard): the
   picture across the top, a glyph in a disc on the picture's edge, then the
   name and one line. Every picture is a crop of a real capture. */
.ldfeat-cards{list-style:none;margin:28px 0 0;padding:0;display:grid;gap:16px;grid-template-columns:repeat(3,minmax(0,1fr))}
@media(max-width:1023px){.ldfeat-cards{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:639px){.ldfeat-cards{grid-template-columns:minmax(0,1fr)}}
.ldfeat-card{position:relative;min-width:0;display:flex;flex-direction:column;border:1px solid var(--rally-line);border-radius:12px;background:var(--rally-card);overflow:hidden;scroll-margin-top:80px}
.ldfeat-pic{position:relative;display:block;aspect-ratio:1.9;background:var(--rally-soft);border-bottom:1px solid var(--rally-line)}
.ldfeat-pic img{position:absolute;inset:0;display:block;width:100%;height:100%;object-fit:cover}
[data-theme="light"] .ldfeat .ld-dark,[data-theme="dark"] .ldfeat .ld-light{display:none}
.ldfeat-badge{position:absolute;z-index:1;inset-inline-start:18px;bottom:-23px;display:grid;place-items:center;width:46px;height:46px;border-radius:50%;background:var(--rally-soft);box-shadow:0 0 0 4px var(--rally-card);color:#fa6435}
.ldfeat-badge svg{display:block;width:22px;height:22px}
.ldfeat-card h3{margin:36px 20px 8px;font-size:17px;font-weight:650;letter-spacing:-.01em;line-height:1.3}
.ldfeat-card p{margin:0 20px 22px;color:var(--rally-muted);font-size:15px;line-height:1.55}

/* Free and Pro, two Rally cards. */
.ldfeat-tiers{display:grid;gap:16px;margin-top:28px;max-width:58rem}
@media(min-width:640px){.ldfeat-tiers{grid-template-columns:1fr 1fr}}
.ldfeat-tier{background:var(--rally-card);border:1px solid var(--rally-line);border-radius:12px;padding:24px 24px 14px}
.ldfeat-tier.is-pro{border-color:#fa6435}
.ldfeat-tier h3{font-size:22px;font-weight:700;letter-spacing:-.02em;margin:0 0 10px}
.ldfeat-tier ul{list-style:none;margin:0;padding:0}
.ldfeat-tier li{display:flex;align-items:baseline;gap:12px;padding:10px 0;border-top:1px solid var(--rally-line);font-size:15px;line-height:1.5}
.ldfeat-tier li::before{content:"";flex:none;width:6px;height:6px;border-radius:50%;background:#fa6435;transform:translateY(-2px)}

/* The invitation closes the page as it closes the home page. */
.road-features .road-invitation{margin-top:72px}

/* ── The home page's call through ─────────────────────────────────── */
.road-everything{padding:0 0 88px}
.road-everything-in{max-width:80rem;margin:0 auto;padding:0 1.5rem}
.road-everything-head{max-width:40rem;margin:0 0 36px;padding-top:58px;border-top:1px solid var(--road-border)}
.road-everything-head h2{font-size:clamp(1.8rem,3.6vw,2.7rem);font-weight:700;line-height:1.05;letter-spacing:-.03em;margin:0 0 16px;text-wrap:balance}
.road-everything-head p{color:var(--muted-foreground);line-height:1.625;letter-spacing:-.01em;margin:0}
.road-everything-doors{list-style:none;margin:0 0 32px;padding:0;display:grid;gap:12px}
@media(min-width:640px){.road-everything-doors{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(min-width:1024px){.road-everything-doors{grid-template-columns:repeat(3,minmax(0,1fr))}}
.road-everything-doors a{display:flex;flex-direction:column;gap:6px;height:100%;box-sizing:border-box;padding:20px 22px;border:1px solid var(--rally-line);border-radius:12px;background:var(--rally-card);color:var(--foreground);text-decoration:none;transition:border-color .15s}
.road-everything-doors a:hover{border-color:#fa6435}
.road-everything-doors b{font-size:17px;font-weight:650;letter-spacing:-.01em}
.road-everything-doors span{color:var(--rally-muted);font-size:14px;line-height:1.5}
.road-everything .road-button{margin-top:0}

@media(max-width:767px){
  .ldfeat{padding-top:96px}
  .ldfeat-group{padding:48px 0 4px}
  .ldfeat-top + .ldfeat-group{margin-top:8px}
  .road-everything{padding-bottom:64px}
  .road-everything-head{padding-top:44px}
}
@media(prefers-reduced-motion:reduce){.ldfeat-jump a,.road-everything-doors a{transition:none}}
