/* Public website (layouts/landing). Everything is scoped to body.lp so the
   planner and editor styles in application.css stay untouched.
   Figtree (SIL Open Font License) is served from app/assets/fonts, not Google. */

@font-face {
  font-family: "Figtree";
  font-weight: 300 900;
  font-display: swap;
  src: url("/assets/figtree-latin-wght-normal-4fb4267a.woff2") format("woff2-variations");
}

body.lp {
  --ink: #0d1f17;
  --muted: #56655e;
  --line: #dde5e0;
  --soft: #f2f6f3;
  --green: #15803d;
  --green-bright: #16a34a;
  --green-tint: #e6f4ea;
  --dark: #0c261a;
  --blue: #2563eb;
  --red: #dc2626;
  --amber: #b45309;
  --pad: clamp(20px, 4vw, 48px);
  --radius: 16px;

  display: block;
  height: auto;
  font: 400 18px/1.6 "Figtree", system-ui, -apple-system, "Segoe UI", sans-serif;
  color: var(--ink);
  background: #fff;
  -webkit-font-smoothing: antialiased;
  scroll-behavior: smooth;
}
html:has(body.lp) { scroll-behavior: smooth; scroll-padding-top: 88px; }
.lp a { color: inherit; }
.lp p { margin: 0 0 1em; }
.lp h1, .lp h2, .lp h3 { margin: 0; color: inherit; text-transform: none; letter-spacing: -0.02em; line-height: 1.12; }
.lp img { max-width: 100%; height: auto; display: block; }
.lp-sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }

.lp-wrap { max-width: 1296px; margin: 0 auto; padding: 0 var(--pad); }

/* buttons */
.lp-btn {
  display: inline-flex; align-items: center; justify-content: center;
  padding: 15px 26px;
  border: 2px solid var(--green);
  border-radius: 12px;
  background: var(--green); color: #fff !important;
  font-weight: 650; font-size: 17px; line-height: 1;
  text-decoration: none; white-space: nowrap;
  transition: background .15s, border-color .15s, color .15s;
}
.lp-btn:hover { background: #116a32; border-color: #116a32; }
.lp-btn-outline { background: transparent; color: var(--ink) !important; border-color: #b9c6bf; }
.lp-btn-outline:hover { background: var(--soft); border-color: var(--ink); }
.lp-btn-light { background: #fff; border-color: #fff; color: var(--dark) !important; }
.lp-btn-light:hover { background: var(--green-tint); border-color: var(--green-tint); }
.lp-btn-ghost { background: transparent; border-color: rgb(255 255 255 / .4); }
.lp-btn-ghost:hover { background: rgb(255 255 255 / .1); border-color: #fff; }
.lp-btn-nav { padding: 11px 18px; font-size: 16px; border-radius: 10px; }

/* navigation */
.lp-nav { position: sticky; top: 0; z-index: 20; background: rgb(255 255 255 / .94); backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); }
.lp-nav-inner { display: flex; align-items: center; gap: 28px; height: 72px; }
.lp-brand { display: flex; align-items: center; gap: 10px; text-decoration: none; font-weight: 800; font-size: 19px; letter-spacing: -0.02em; white-space: nowrap; }
.lp-brand-logo { width: 36px; height: 36px; display: block; flex-shrink: 0; }
.lp-nav-links { display: flex; gap: 28px; margin-left: auto; }
.lp-nav-links a, .lp .lp-nav-contact { text-decoration: none; font-weight: 550; font-size: 16px; color: var(--muted); }
.lp-nav-links a:hover, .lp .lp-nav-contact:hover { color: var(--ink); }
@media (max-width: 1020px) { .lp-nav-links { display: none; } .lp-nav-contact { margin-left: auto; } }
@media (max-width: 480px) { .lp-nav-contact { display: none; } .lp-nav-inner { justify-content: space-between; height: 64px; } }

/* hero */
.lp-hero { background: linear-gradient(var(--soft), #fff 78%); padding: clamp(48px, 6vw, 88px) 0 0; }
.lp-tag {
  display: inline-block; margin-bottom: 22px !important;
  padding: 7px 14px; border-radius: 999px;
  background: var(--green-tint); color: var(--green);
  font-size: 15px; font-weight: 650;
}
.lp-hero h1 { font-size: clamp(36px, 6vw, 86px); font-weight: 800; letter-spacing: -0.04em; line-height: 1; }
.lp-hero h1 span { color: var(--green); }
.lp .lp-lead { max-width: 760px; margin: clamp(22px, 2.6vw, 34px) 0 0; font-size: clamp(19px, 1.7vw, 23px); line-height: 1.5; color: var(--muted); }
.lp-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }

/* screenshots */
.lp-shot {
  margin: 0;
  border: 1px solid #cfd9d3; border-radius: var(--radius);
  overflow: hidden; background: #fff;
  box-shadow: 0 30px 70px -30px rgb(13 31 23 / .35), 0 4px 14px rgb(13 31 23 / .06);
}
.lp-shot img { width: 100%; }
.lp-shot-bar { display: flex; align-items: center; gap: 7px; padding: 11px 16px; background: #f6f8f7; border-bottom: 1px solid var(--line); }
.lp-shot-bar i { width: 11px; height: 11px; border-radius: 50%; background: #d3dcd7; }
.lp-shot-bar span { margin-left: 10px; font-size: 13px; font-weight: 550; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.lp-hero-shot { margin-top: clamp(40px, 5vw, 72px); }

/* the three parts */
.lp-parts { padding: clamp(40px, 5vw, 72px) 0 0; }
.lp-parts-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.lp-part { display: block; padding: 26px 28px 22px; border: 1px solid var(--line); border-radius: var(--radius); text-decoration: none; transition: border-color .15s, box-shadow .15s; }
.lp-part:hover { border-color: var(--green-bright); box-shadow: 0 10px 30px -18px rgb(13 31 23 / .4); }
.lp .lp-part h2 { font-size: 25px; font-weight: 750; margin: 14px 0 8px; }
.lp .lp-part p { margin: 0; color: var(--muted); font-size: 17px; line-height: 1.5; }
.lp-status { display: inline-flex; align-items: center; gap: 7px; font-size: 13px; font-weight: 700; color: var(--green); }
.lp-status::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--green-bright); }
.lp-status-soon { color: var(--amber); }
.lp-status-soon::before { background: #f59e0b; }
@media (max-width: 860px) { .lp-parts-grid { grid-template-columns: 1fr; } }

/* sections */
.lp-section { padding: clamp(72px, 9vw, 128px) 0; }
.lp-soft { background: var(--soft); }
.lp-head { max-width: 820px; margin-bottom: clamp(36px, 4.5vw, 60px); }
.lp-kicker { margin-bottom: 12px !important; font-size: 15px; font-weight: 700; color: var(--green); }
.lp-section h2, .lp-contact h2 { font-size: clamp(32px, 4vw, 56px); font-weight: 800; letter-spacing: -0.035em; line-height: 1.05; }
.lp .lp-head h2 + p { margin: 20px 0 0; font-size: clamp(18px, 1.5vw, 21px); color: var(--muted); }
.lp .lp-section h3 { font-size: 20px; font-weight: 750; margin-bottom: 8px; }

/* principle */
.lp-principle { display: grid; grid-template-columns: 1.25fr 1fr; gap: clamp(28px, 4vw, 64px); align-items: center; }
.lp-principle-map { margin: 0; }
.lp-principle-map svg { display: block; width: 100%; height: auto; border-radius: var(--radius); border: 1px solid var(--line); }
.lp-principle-map figcaption { display: flex; flex-wrap: wrap; gap: 8px 22px; margin-top: 14px; font-size: 15px; color: var(--muted); }
.lp-principle-map figcaption span { display: inline-flex; align-items: center; gap: 8px; }
.lp-key { display: inline-block; width: 26px; height: 0; border-top: 4px solid; border-radius: 2px; vertical-align: middle; }
.lp-key-route { border-color: var(--green-bright); }
.lp-key-walk { border-color: #8fb0f3; }
.lp-key-air { border-top: 3px dashed var(--red); }
.lp-key-unchecked { border-top: 3px dashed #64748b; margin-left: 14px; }
.lp-points { list-style: none; counter-reset: point; margin: 0; padding: 0; display: grid; gap: 26px; }
.lp-points li { counter-increment: point; position: relative; padding-left: 52px; }
.lp-points li::before {
  content: counter(point);
  position: absolute; left: 0; top: 0;
  width: 34px; height: 34px; border-radius: 10px;
  display: grid; place-items: center;
  background: var(--green-tint); color: var(--green); font-weight: 800; font-size: 16px;
}
.lp .lp-points p { margin: 0; color: var(--muted); }
@media (max-width: 900px) { .lp-principle { grid-template-columns: 1fr; } }

/* comparison */
.lp-compare-scroll { margin-top: clamp(48px, 6vw, 80px); overflow-x: auto; }
.lp-compare { width: 100%; min-width: 720px; border-collapse: separate; border-spacing: 0; font-size: 17px; line-height: 1.45; }
.lp-compare th, .lp-compare td { padding: 18px 22px; text-align: left; vertical-align: top; border-bottom: 1px solid var(--line); }
.lp-compare thead th { font-size: 18px; font-weight: 750; border-bottom: 0; padding-bottom: 16px; }
.lp-compare tbody th { width: 22%; font-weight: 650; padding-left: 0; }
.lp-compare td:nth-child(2) { width: 34%; color: var(--muted); }
.lp-compare thead th:nth-child(2) { color: var(--muted); }
.lp-compare td:nth-child(3), .lp-compare thead th:nth-child(3) { background: var(--green-tint); font-weight: 550; }
.lp-compare thead th:nth-child(3) { border-radius: var(--radius) var(--radius) 0 0; color: var(--green); }
.lp-compare tbody tr:last-child td:nth-child(3) { border-radius: 0 0 var(--radius) var(--radius); }
.lp-compare tbody tr:last-child th, .lp-compare tbody tr:last-child td { border-bottom: 0; }
.lp-compare td:nth-child(3) { border-bottom-color: #cfe6d6; }

/* split sections */
.lp-split { display: grid; grid-template-columns: 1.15fr 1fr; gap: clamp(32px, 5vw, 88px); align-items: center; }
.lp-split-wide { grid-template-columns: 1fr 1.1fr; }
@media (max-width: 960px) { .lp-split, .lp-split-wide { grid-template-columns: 1fr; } }
.lp .lp-intro { margin: 20px 0 28px; font-size: clamp(18px, 1.5vw, 21px); color: var(--muted); }
.lp-numbered { list-style: none; counter-reset: n; margin: 0 0 28px; padding: 0; display: grid; gap: 14px; }
.lp-numbered li { counter-increment: n; position: relative; padding-left: 46px; }
.lp-numbered li::before {
  content: counter(n);
  position: absolute; left: 0; top: -1px;
  width: 30px; height: 30px; border-radius: 50%;
  display: grid; place-items: center;
  background: var(--green); color: #fff; font-weight: 750; font-size: 15px;
}
.lp-ticks { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; color: #33443c; }
.lp-ticks li { position: relative; padding-left: 30px; }
.lp-ticks li::before {
  content: ""; position: absolute; left: 4px; top: .42em;
  width: 13px; height: 7px;
  border-left: 2.5px solid var(--green-bright); border-bottom: 2.5px solid var(--green-bright);
  transform: rotate(-45deg);
}
.lp .lp-note { margin: 28px 0 0; padding: 18px 20px; border-left: 4px solid var(--green-bright); background: #fff; border-radius: 0 12px 12px 0; }

/* example result (mirrors the planner's step list) */
.lp-result { background: #fff; border: 1px solid #cfd9d3; border-radius: var(--radius); padding: 22px; box-shadow: 0 30px 70px -34px rgb(13 31 23 / .35); }
.lp-result-head { padding: 14px 16px; border-radius: 10px; background: var(--green-tint); margin-bottom: 6px; }
.lp-result-head strong { display: block; font-size: 19px; }
.lp-result-head span { color: #33443c; font-size: 16px; }
.lp-result ol { list-style: none; margin: 0; padding: 0; }
.lp-result li { display: flex; align-items: center; gap: 14px; padding: 14px 4px; border-bottom: 1px solid var(--line); font-weight: 600; line-height: 1.3; }
.lp-result li span { flex: 1; }
.lp-result li em { font-style: normal; font-weight: 400; color: var(--muted); font-variant-numeric: tabular-nums; white-space: nowrap; }
.lp-dot { flex: 0 0 26px; height: 26px; border-radius: 50%; border: 3px solid var(--green-bright); background: #fff; position: relative; }
.lp-dot-start { background: var(--green-bright); }
.lp-dot-cross::after { content: ""; position: absolute; inset: 5px; border-radius: 50%; background: var(--green-bright); }
.lp-dot-school { border-color: #1d4ed8; background: #1d4ed8; }
.lp .lp-result-key { margin: 16px 4px 0; font-size: 14px; color: var(--muted); }
.lp .lp-result-key .lp-key { margin-right: 8px; }
.lp .lp-result-note { margin: 10px 4px 0; font-size: 14px; color: var(--muted); }

/* editor section */
.lp-features { display: grid; grid-template-columns: repeat(4, 1fr); gap: 32px; margin-top: clamp(40px, 5vw, 64px); }
.lp .lp-features p { margin: 0; color: var(--muted); font-size: 17px; }
.lp-features > div { padding-top: 20px; border-top: 3px solid var(--green-bright); }
@media (max-width: 1000px) { .lp-features { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .lp-features { grid-template-columns: 1fr; } }

.lp-legend { margin-top: clamp(40px, 5vw, 64px); padding: 28px 32px; border-radius: var(--radius); background: var(--soft); }
.lp-legend dl { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px 32px; margin: 18px 0 0; }
.lp-legend dt { font-size: 14px; font-weight: 700; color: var(--muted); margin-bottom: 8px; }
.lp-legend dd { display: flex; align-items: center; gap: 10px; margin: 0; padding: 4px 0; font-size: 16px; }
.lp-legend dd i { flex: 0 0 14px; height: 14px; border-radius: 4px; }
@media (max-width: 900px) { .lp-legend dl { grid-template-columns: 1fr 1fr; } }
@media (max-width: 480px) { .lp-legend { padding: 22px 20px; } .lp-legend dl { grid-template-columns: 1fr; } }

/* embedding mock */
.lp-embed { border: 1px solid #cfd9d3; border-radius: var(--radius); overflow: hidden; background: #fff; box-shadow: 0 30px 70px -34px rgb(13 31 23 / .35); }
.lp-embed-page { padding: 22px 26px 26px; }
.lp-embed-nav { display: flex; align-items: center; gap: 14px; padding-bottom: 16px; margin-bottom: 20px; border-bottom: 1px solid var(--line); }
.lp-embed-nav b { width: 30px; height: 30px; border-radius: 8px; background: #c7d2cc; margin-right: auto; }
.lp-embed-nav u, .lp-embed-lines u { display: block; height: 9px; border-radius: 5px; background: #e3e9e6; text-decoration: none; }
.lp-embed-nav u { width: 54px; }
.lp-embed-title { font-size: 24px; font-weight: 800; letter-spacing: -0.02em; margin-bottom: 14px; }
.lp-embed-lines { display: grid; gap: 9px; margin-bottom: 18px; }
.lp-embed-lines:last-child { margin: 18px 0 0; }
.lp-embed-frame { border: 2px solid var(--green-bright); border-radius: 10px; overflow: hidden; }

/* introduction steps */
.lp-steps { list-style: none; counter-reset: step; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 28px; }
.lp-steps li { counter-increment: step; position: relative; padding-top: 58px; }
.lp-steps li::before {
  content: counter(step);
  position: absolute; left: 0; top: 0;
  width: 40px; height: 40px; border-radius: 50%;
  display: grid; place-items: center;
  background: var(--green); color: #fff; font-weight: 800;
}
.lp-steps li:not(:last-child)::after { content: ""; position: absolute; left: 52px; right: -16px; top: 19px; border-top: 2px dashed #b7cdbf; }
.lp .lp-steps p { margin: 0; color: var(--muted); font-size: 17px; }
@media (max-width: 900px) {
  .lp-steps { grid-template-columns: 1fr; gap: 26px; }
  .lp-steps li { padding: 0 0 0 58px; }
  .lp-steps li::after { display: none; }
}

/* privacy */
.lp-dark { background: var(--dark); color: #eef4f0; }
.lp-dark .lp-kicker { color: #6ee79a; }
.lp-facts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: rgb(255 255 255 / .14); border: 1px solid rgb(255 255 255 / .14); border-radius: var(--radius); overflow: hidden; }
.lp-facts > div { background: var(--dark); padding: 28px; }
.lp .lp-facts p { margin: 0; color: #b6c6bd; font-size: 17px; }
.lp .lp-facts-more { margin: 24px 0 0; }
.lp-facts-more a { color: #6ee79a; font-weight: 600; text-underline-offset: 4px; }
@media (max-width: 900px) { .lp-facts { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .lp-facts { grid-template-columns: 1fr; } }

/* FAQ */
.lp-faq-grid { display: grid; grid-template-columns: 1fr 1.6fr; gap: clamp(28px, 5vw, 80px); align-items: start; }
.lp-faq-grid .lp-head { margin: 0; position: sticky; top: 104px; }
@media (max-width: 900px) { .lp-faq-grid { grid-template-columns: 1fr; } .lp-faq-grid .lp-head { position: static; } }
.lp-faq { border-bottom: 1px solid var(--line); }
.lp-faq:first-child { border-top: 1px solid var(--line); }
.lp-faq summary { cursor: pointer; list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 24px; padding: 22px 0; font-size: clamp(18px, 1.5vw, 21px); font-weight: 650; line-height: 1.3; }
.lp-faq summary::-webkit-details-marker { display: none; }
.lp-faq summary::after {
  content: ""; flex: 0 0 11px; height: 11px;
  border-right: 2.5px solid var(--green); border-bottom: 2.5px solid var(--green);
  transform: rotate(45deg) translate(-3px, -3px); transition: transform .15s;
}
.lp-faq[open] summary::after { transform: rotate(-135deg) translate(-3px, -3px); }
.lp .lp-faq p { color: var(--muted); padding: 0 40px 10px 0; }

/* contact */
.lp-contact { background: var(--green); color: #fff; padding: clamp(64px, 8vw, 112px) 0; }
.lp-contact-inner { display: grid; grid-template-columns: 1.4fr 1fr; gap: clamp(32px, 5vw, 80px); align-items: center; }
.lp .lp-contact p { margin: 20px 0 0; font-size: clamp(18px, 1.5vw, 21px); color: #dcf3e3; max-width: 640px; }
.lp-contact-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.lp .lp-contact-actions p { flex-basis: 100%; margin: 8px 0 0; font-size: 17px; }
.lp-contact-actions p a { color: #fff; text-underline-offset: 4px; }
@media (max-width: 900px) { .lp-contact-inner { grid-template-columns: 1fr; } }

/* legal pages */
.lp-legal { padding: clamp(48px, 6vw, 88px) 0 clamp(72px, 9vw, 120px); }
.lp-grid { display: block; max-width: 800px; }
.lp .lp-label { margin-bottom: 12px; font-size: 15px; font-weight: 700; color: var(--green); }
.lp .lp-legal-title { font-size: clamp(40px, 5.4vw, 72px); font-weight: 800; letter-spacing: -0.04em; line-height: 1; margin-bottom: 36px; }
.lp .lp-legal-body h2 { font-size: 23px; font-weight: 750; margin: 40px 0 10px; }
.lp-legal-body p, .lp-legal-body li { color: #33443c; }
.lp-legal-body ul { padding-left: 20px; display: grid; gap: 12px; }
.lp-legal-body a { color: var(--green); text-underline-offset: 3px; }

/* footer */
.lp-footer { background: var(--dark); color: #b6c6bd; font-size: 16px; }
.lp-footer-inner { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 32px; padding-top: 48px; padding-bottom: 48px; }
.lp-footer-brand { display: flex; gap: 16px; align-items: flex-start; line-height: 1.5; }
.lp-footer-brand strong { color: #fff; font-size: 18px; }
.lp-footer nav { display: flex; flex-wrap: wrap; gap: 26px; }
.lp-footer nav a { text-decoration: none; font-weight: 550; }
.lp-footer nav a:hover { color: #fff; }

/* wordmark: one word, two weights */
.lp-brand-name { font-size: 21px; font-weight: 500; letter-spacing: -0.03em; color: var(--ink); white-space: nowrap; }
.lp-brand-name b { font-weight: 800; color: var(--green); }
.lp-footer .lp-brand-name { color: #fff; }
.lp-footer .lp-brand-name b { color: #6ee79a; }
.lp-nav-links a.active { color: var(--ink); box-shadow: 0 2px 0 var(--green-bright); padding-bottom: 4px; margin-bottom: -4px; }

/* links to the detail pages */
.lp .lp-more { margin: 28px 0 0; }
.lp-more a { font-weight: 700; color: var(--green); text-decoration: none; border-bottom: 2px solid #b7dcc3; padding-bottom: 2px; }
.lp-more a::after { content: " →"; }
.lp-more a:hover { border-color: var(--green); }
.lp-kicker-soon { color: var(--amber) !important; }

/* detail pages */
.lp-page-head { background: linear-gradient(var(--soft), #fff); padding: clamp(48px, 6vw, 88px) 0 clamp(8px, 2vw, 24px); }
.lp-page-head h1 { max-width: 1000px; font-size: clamp(34px, 5vw, 68px); font-weight: 800; letter-spacing: -0.04em; line-height: 1.03; }
.lp-section-tight { padding-top: clamp(32px, 4vw, 56px); }
.lp-section-tight h2 { font-size: clamp(28px, 3vw, 40px); }

.lp-detail { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.lp-detail-2 { margin-bottom: 8px; }
.lp-detail > div { padding: 28px; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; }
.lp .lp-detail h3 { display: flex; align-items: center; gap: 12px; margin-bottom: 12px; font-size: 21px; }
.lp-detail h3 span { flex: 0 0 32px; height: 32px; border-radius: 50%; display: grid; place-items: center; background: var(--green); color: #fff; font-size: 15px; font-weight: 800; letter-spacing: 0; }
.lp .lp-detail p { margin: 0; color: var(--muted); font-size: 17px; }
.lp .lp-detail p + p { margin-top: 10px; }
@media (max-width: 960px) { .lp-detail { grid-template-columns: 1fr 1fr; } }
@media (max-width: 620px) { .lp-detail { grid-template-columns: 1fr; } }

.lp-defs { margin: 28px 0 0; }
.lp-defs dt { font-weight: 750; font-size: 19px; padding-top: 18px; border-top: 1px solid var(--line); }
.lp-defs dd { margin: 4px 0 18px; color: var(--muted); }
.lp-soft .lp-defs dt { border-color: #d3ded8; }

.lp-callout { margin-top: 32px; padding: 28px 32px; border-radius: var(--radius); background: var(--green-tint); max-width: 900px; }
.lp .lp-callout p { margin: 0; color: #2b4136; }
.lp-code { font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: 14px; overflow-wrap: anywhere; color: var(--green) !important; }

.lp-faq-group { padding: clamp(28px, 4vw, 48px) 0; }
.lp-faq-group + .lp-faq-group { border-top: 1px solid var(--line); }
.lp .lp-faq-group h2 { font-size: clamp(24px, 2.4vw, 32px); position: sticky; top: 104px; }
@media (max-width: 900px) { .lp .lp-faq-group h2 { position: static; } }

/* contact page and form */
.lp-contact-page { padding-bottom: clamp(64px, 8vw, 112px); }
.lp-contact-grid { display: grid; grid-template-columns: 1fr 1.05fr; gap: clamp(32px, 5vw, 88px); align-items: start; }
@media (max-width: 960px) { .lp-contact-grid { grid-template-columns: 1fr; } }
.lp-contact-steps { margin: 36px 0 0; }
.lp-contact-direct { margin-top: 40px; padding-top: 28px; border-top: 1px solid var(--line); }
.lp .lp-contact-direct h2 { font-size: 20px; font-weight: 750; margin-bottom: 8px; }
.lp .lp-contact-direct p { margin: 0; }
.lp-contact-email { font-size: clamp(22px, 2.2vw, 30px); font-weight: 750; letter-spacing: -0.02em; color: var(--green) !important; text-underline-offset: 5px; }
.lp .lp-contact-address { margin-top: 6px; color: var(--muted); }

.lp-form { background: #fff; border: 1px solid #cfd9d3; border-radius: var(--radius); padding: clamp(22px, 3vw, 36px); box-shadow: 0 30px 70px -34px rgb(13 31 23 / .35); display: grid; gap: 18px; }
.lp-field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
@media (max-width: 560px) { .lp-field-row { grid-template-columns: 1fr; } }
.lp-field { display: grid; gap: 6px; min-width: 0; }
.lp-field label { font-size: 15px; font-weight: 650; }
.lp-field label span { font-weight: 400; color: var(--muted); margin-left: 4px; }
.lp-field input, .lp-field select, .lp-field textarea {
  width: 100%; padding: 12px 14px;
  border: 1.5px solid #c3cfc8; border-radius: 10px; background: #fff;
  font: inherit; font-size: 17px; color: var(--ink);
}
.lp-field textarea { resize: vertical; min-height: 140px; }
.lp-field input:focus, .lp-field select:focus, .lp-field textarea:focus { outline: 3px solid #b7dcc3; border-color: var(--green); }
.lp-field ::placeholder { color: #8a9892; }
.lp-field-captcha input { max-width: 140px; }
.lp-field small { font-size: 13px; color: var(--muted); }
.lp-form-submit { cursor: pointer; font-family: inherit; justify-self: start; }
.lp .lp-form-note { margin: 0; font-size: 14px; color: var(--muted); }
.lp-form-note a { color: var(--green); }
.lp-form-alert { margin: 0 !important; padding: 14px 16px; border-radius: 10px; background: #fef2f2; border: 1px solid #fecaca; color: #991b1b; font-size: 16px; }
.lp-form-alert ul { margin: 6px 0 0; padding-left: 20px; }
.lp-hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.lp .lp-nav-contact.active { color: var(--ink); }

.lp .lp-principle-note { margin: 14px 0 0; font-size: 16px; color: var(--muted); }

/* submit button while the form is being sent */
.lp-spinner { display: none; width: 18px; height: 18px; margin-right: 10px; border-radius: 50%; border: 2.5px solid rgb(255 255 255 / .4); border-top-color: #fff; animation: lp-spin .7s linear infinite; }
.lp-form.is-busy .lp-spinner { display: inline-block; }
.lp-form.is-busy .lp-form-submit { cursor: progress; opacity: .85; pointer-events: none; }
@keyframes lp-spin { to { transform: rotate(360deg); } }
@media (prefers-reduced-motion: reduce) { .lp-spinner { animation-duration: 2s; } }

/* feature overview (/schulwegplaner) */
.lp-featgroup { display: grid; grid-template-columns: 1fr 2.4fr; gap: clamp(24px, 4vw, 64px); padding: clamp(28px, 4vw, 48px) 0; border-top: 1px solid var(--line); }
.lp .lp-featgroup-head h3 { font-size: clamp(22px, 2.2vw, 28px); font-weight: 800; letter-spacing: -0.02em; }
.lp .lp-featgroup-head p { margin: 8px 0 0; color: var(--muted); }
.lp-featlist { margin: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 24px 40px; }
.lp-featlist dt { font-weight: 750; font-size: 19px; display: flex; flex-wrap: wrap; align-items: center; gap: 6px 12px; }
.lp-featlist dd { margin: 4px 0 0; color: var(--muted); font-size: 17px; }
@media (max-width: 900px) { .lp-featgroup { grid-template-columns: 1fr; } }
@media (max-width: 620px) { .lp-featlist { grid-template-columns: 1fr; } }
.lp .lp-part h3 { font-size: 23px; font-weight: 750; margin: 0 0 8px; }
.lp-detail h3 .lp-status { font-size: 12px; }

/* small screens: the menu becomes a second, sideways scrollable row */
@media (max-width: 1020px) {
  .lp-nav-inner { flex-wrap: wrap; height: auto; padding-top: 12px; gap: 0 16px; }
  .lp-nav-inner .lp-btn-nav { margin-left: auto; }
  .lp-nav-links { display: flex; order: 3; flex-basis: 100%; margin: 0; gap: 22px; padding: 12px 0; overflow-x: auto; white-space: nowrap; scrollbar-width: none; }
  .lp-nav-links::-webkit-scrollbar { display: none; }
  .lp-nav-links a.active { margin-bottom: 0; padding-bottom: 2px; }
  html:has(body.lp) { scroll-padding-top: 120px; }
}

/* invitation to the live demo */
.lp-more-center { text-align: center; }
.lp-demo-cta { padding: 0 0 clamp(72px, 9vw, 128px); }
.lp-demo-cta-inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 24px 48px; padding: clamp(28px, 4vw, 44px); border-radius: var(--radius); background: var(--green-tint); }
.lp .lp-demo-cta h2 { font-size: clamp(26px, 2.8vw, 36px); font-weight: 800; letter-spacing: -0.03em; }
.lp .lp-demo-cta p { margin: 10px 0 0; max-width: 640px; color: #2b4136; }

/* planner sidebar: legal links */
.legal-links { margin-top: 24px; font-size: 12px; color: var(--muted); }
.legal-links a { color: var(--muted); }
