/* ==========================================================================
   Chapter 03 - Landing page sections. Everything a section needs lives under
   .lp, which is a size container: sections respond to the width they are given
   (a card, the builder preview, a phone), not to the window.
   ========================================================================== */

.demo .tags li.sect { border-color: color-mix(in oklab, var(--k-sect) 60%, transparent); color: var(--k-sect); }

/* ---------- Chapter furniture ---------- */
.sec-brandbar {
  position: sticky; top: 92px; z-index: 20; max-width: 1400px; margin: 0 auto 26px;
  display: flex; flex-wrap: wrap; align-items: center; gap: 8px 12px; padding: 10px 12px 10px 16px;
  border: 1px solid var(--line-2); border-radius: 999px;
  background: color-mix(in oklab, var(--bg) 78%, transparent); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
}
.sec-brandbar .mono { color: var(--mute); font-size: 10.5px; }
.sec-brandbar p { margin: 0 0 0 auto; color: var(--mute); font-size: 12.5px; }
.sec-pill { border: 1px solid var(--line-2); background: var(--card); color: var(--ink); border-radius: 99px; padding: 6px 14px; font-size: 13px; cursor: pointer; display: inline-flex; align-items: center; gap: 8px; }
.sec-pill i { width: 10px; height: 10px; border-radius: 50%; background: var(--c); }
.sec-pill[aria-pressed="true"] { background: var(--ink); color: var(--bg); border-color: var(--ink); }
/* Phones: the bar scrolls with the page instead of covering the sections. */
@media (max-width: 760px) { .sec-brandbar { position: static; border-radius: 16px; gap: 6px; padding: 8px; } .sec-brandbar p, .sec-brandbar > .mono { display: none; } .sec-pill { padding: 6px 11px; font-size: 12.5px; } }

/* Sections are as tall as their content; jump links land below the sticky brand bar. */
#sections .demo .stage { height: auto; }
#sections .demo { scroll-margin-top: 160px; }
.sec-demo .stage { padding: 0; display: grid; }
.sec-tabs { display: flex; flex-wrap: wrap; gap: 6px; padding: 12px 14px; border-bottom: 1px solid var(--line); background: var(--bg-2); }
.sec-tabs .btn { color: var(--ink); background: var(--card); border-color: var(--line-2); }
.sec-tabs .btn.on { background: var(--k-sect); border-color: var(--k-sect); color: #fff; }
/* A section fills its card even when the card beside it is taller. */
.sec-demo .stage { grid-template-rows: auto 1fr; }
.sec-view { min-width: 0; display: grid; }
.sec-view > .lp { height: 100%; }

/* ---------- The section system ---------- */
.lp {
  container-type: inline-size;
  --pad: clamp(20px, 5cqi, 64px);
  background: var(--lp-bg); color: var(--lp-ink); font-family: var(--sans); line-height: 1.5; text-align: left;
}
.lp *, .lp *::before, .lp *::after { box-sizing: border-box; }
.lp a { color: inherit; }
.lp img { display: block; width: 100%; height: 100%; object-fit: cover; }
.t-cafe {
  --lp-bg: #f6efe4; --lp-ink: #2b1d14; --lp-mute: #7a6553; --lp-soft: #ecdfcc; --lp-line: rgba(43, 29, 20, .14);
  --lp-acc: #b4532a; --lp-acc-ink: #fff8f0; --lp-r: 18px; --lp-display: var(--serif); --lp-dw: 400; --lp-track: -0.01em; --lp-em: #b4532a;
}
.t-saas {
  --lp-bg: #0b1020; --lp-ink: #e8ecff; --lp-mute: #8d97bd; --lp-soft: #141b33; --lp-line: rgba(232, 236, 255, .12);
  --lp-acc: #6c8cff; --lp-acc-ink: #0b1020; --lp-r: 12px; --lp-display: var(--sans); --lp-dw: 700; --lp-track: -0.035em; --lp-em: #a5b8ff;
}
.t-studio {
  --lp-bg: #fbfaf7; --lp-ink: #111; --lp-mute: #6b6b6b; --lp-soft: #efeee9; --lp-line: rgba(0, 0, 0, .14);
  --lp-acc: #ff4d00; --lp-acc-ink: #fff; --lp-r: 0px; --lp-display: var(--serif); --lp-dw: 400; --lp-track: -0.025em; --lp-em: #ff4d00;
}
.lp-sec { padding: var(--pad); }
.lp-sec + .lp-sec { border-top: 1px solid var(--lp-line); }
.lp .lp-display { font-family: var(--lp-display); font-weight: var(--lp-dw); letter-spacing: var(--lp-track); line-height: 1.02; margin: 0; font-size: clamp(30px, 5.2cqi, 56px); }
.lp .lp-display em { color: var(--lp-em); font-style: italic; }
.lp.t-saas .lp-display em { font-style: normal; background: linear-gradient(90deg, #a5b8ff, #ff7eb6); -webkit-background-clip: text; background-clip: text; color: transparent; }
.lp .lp-display.xl { font-size: clamp(36px, 7.5cqi, 92px); }
.lp .lp-display.xxl { font-size: clamp(44px, 11cqi, 150px); line-height: .92; }
.lp-kicker { display: inline-block; font: 600 11px var(--mono); letter-spacing: .08em; text-transform: uppercase; color: var(--lp-acc); margin: 0 0 14px; }
.lp-lead { color: var(--lp-mute); font-size: clamp(15px, 1.6cqi, 18px); max-width: 52ch; margin: 16px 0 0; }
.lp-small { font-size: 13px; color: var(--lp-mute); }
.lp-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 26px; }
.lp-btn { display: inline-flex; align-items: center; gap: 8px; padding: 13px 22px; border-radius: var(--lp-r); background: var(--lp-acc); color: var(--lp-acc-ink) !important; text-decoration: none; font-weight: 600; font-size: 15px; border: 1px solid var(--lp-acc); cursor: pointer; font-family: var(--sans); transition: filter .2s, transform .2s; }
.t-cafe .lp-btn, .t-studio .lp-btn { border-radius: max(var(--lp-r), 0px); }
.t-cafe .lp-btn { border-radius: 99px; }
.lp-btn:hover { filter: brightness(1.08); transform: translateY(-1px); }
.lp-btn.ghost { background: transparent; color: var(--lp-ink) !important; border-color: var(--lp-line); }
.lp-btn.sm { padding: 9px 16px; font-size: 13.5px; }
.lp-btn:disabled { opacity: .8; cursor: default; transform: none; }
.lp-link { color: var(--lp-acc) !important; font-weight: 600; text-decoration: none; }
.lp-ico { width: 26px; height: 26px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.lp-stars { display: inline-flex; gap: 2px; color: #f5b301; vertical-align: -2px; }
.lp-stars .lp-ico { width: 15px; height: 15px; fill: currentColor; stroke: none; }
.lp-card { background: var(--lp-soft); border-radius: var(--lp-r); padding: 22px; border: 1px solid var(--lp-line); }
.lp-head { max-width: 640px; margin-bottom: 30px; }
.lp-trust { margin: 18px 0 0; font-size: 13px; color: var(--lp-mute); display: flex; align-items: center; gap: 8px; }
.lp-person { display: flex; align-items: center; gap: 12px; font-size: 14px; }
.lp-person i { width: 42px; height: 42px; border-radius: 50%; display: grid; place-items: center; font-style: normal; font-weight: 700; font-size: 14px; background: var(--lp-acc); color: var(--lp-acc-ink); flex: none; }
.lp-person span { display: grid; color: var(--lp-mute); }
.lp-person b { color: var(--lp-ink); }

/* Header */
.lp-header { display: flex; align-items: center; gap: 24px; padding-top: 18px; padding-bottom: 18px; }
.lp-brand { display: inline-flex; align-items: center; gap: 10px; font-weight: 700; font-size: 18px; letter-spacing: -0.02em; white-space: nowrap; }
.lp-brand i { width: 30px; height: 30px; display: grid; place-items: center; border-radius: var(--lp-r); background: var(--lp-acc); color: var(--lp-acc-ink); font-style: normal; font-family: var(--lp-display); font-size: 17px; }
.t-cafe .lp-brand i { border-radius: 50%; }
.t-cafe .lp-brand, .t-studio .lp-brand { font-family: var(--serif); font-weight: 400; font-size: 23px; }
.lp-header nav { display: flex; gap: 22px; margin-left: auto; font-size: 14.5px; }
.lp-header nav a { text-decoration: none; color: var(--lp-mute); }
.lp-header nav a:hover { color: var(--lp-ink); }
.lp-header.centered { justify-content: space-between; }
.lp-header.centered nav { margin: 0; flex: 1; }
.lp-header.centered nav:last-child { justify-content: flex-end; }
.lp-announce { background: var(--lp-ink); color: var(--lp-bg); text-align: center; font-size: 13px; padding: 9px var(--pad); }
.lp-announce a { color: inherit; font-weight: 600; margin-left: 6px; }
@container (max-width: 700px) {
  .lp-header nav { display: none; }
  .lp-header .lp-btn { margin-left: auto; }
  .lp-header.centered { justify-content: center; }
}

/* Heroes */
.lp-hero.split { display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(24px, 5cqi, 64px); align-items: center; }
.lp-hero-media { aspect-ratio: 4 / 5; max-height: 560px; border-radius: calc(var(--lp-r) * 1.4); overflow: hidden; }
.t-studio .lp-hero-media { aspect-ratio: 3 / 4; }
.lp-hero.centered { text-align: center; display: grid; justify-items: center; }
.lp-hero.centered .lp-lead { margin-inline: auto; }
.lp-hero.centered .lp-actions { justify-content: center; }
.lp-strip { display: grid; grid-template-columns: 2fr 1fr; gap: 14px; margin-top: 42px; width: 100%; height: clamp(180px, 34cqi, 380px); }
.lp-strip img { border-radius: var(--lp-r); }
.lp-hero.fullbleed { position: relative; min-height: clamp(380px, 56cqi, 640px); display: flex; align-items: flex-end; color: #fff; overflow: hidden; }
.lp-hero.fullbleed .lp-bg { position: absolute; inset: 0; }
.lp-hero.fullbleed::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0, 0, 0, .05), rgba(0, 0, 0, .65)); }
.lp-hero.fullbleed .lp-hero-copy { position: relative; z-index: 1; max-width: 760px; }
.lp-hero.fullbleed .lp-kicker { color: #fff; opacity: .85; }
.lp .lp-hero.fullbleed .lp-display em { color: #fff; opacity: .9; -webkit-text-fill-color: currentColor; }
.lp-hero.fullbleed .lp-btn.ghost { color: #fff !important; border-color: rgba(255, 255, 255, .5); }
.lp-mock { border-radius: calc(var(--lp-r) + 4px); background: var(--lp-soft); border: 1px solid var(--lp-line); box-shadow: 0 30px 60px -30px rgba(0, 0, 0, .5); overflow: hidden; }
.lp-mock-bar { display: flex; gap: 6px; padding: 10px 12px; border-bottom: 1px solid var(--lp-line); }
.lp-mock-bar i { width: 9px; height: 9px; border-radius: 50%; background: var(--lp-line); }
.lp-mock-body { padding: 18px; display: grid; gap: 14px; }
.lp-mock-body > b { font-size: 14px; }
.lp-mock-kpis { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.lp-mock-kpis div { background: var(--lp-bg); border-radius: calc(var(--lp-r) * .7); padding: 10px 12px; display: grid; font-size: 11px; color: var(--lp-mute); }
.lp-mock-kpis strong { font-size: clamp(16px, 2.2cqi, 24px); color: var(--lp-ink); letter-spacing: -0.02em; }
.lp-mock-chart { display: flex; align-items: flex-end; gap: 8px; height: 150px; padding: 12px; background: var(--lp-bg); border-radius: calc(var(--lp-r) * .7); }
.lp-mock-chart i { flex: 1; height: var(--h); border-radius: 4px 4px 0 0; background: linear-gradient(var(--lp-acc), color-mix(in oklab, var(--lp-acc) 40%, transparent)); }
.lp-hero.lp-ed .lp-ed-top { display: flex; justify-content: space-between; border-bottom: 1px solid var(--lp-ink); margin-bottom: 26px; }
.lp-hero.lp-ed .lp-ed-bottom { display: grid; grid-template-columns: 1fr 1.2fr; gap: 24px 40px; margin-top: 34px; align-items: start; }
.lp-hero.lp-ed .lp-ed-bottom img { grid-row: span 2; aspect-ratio: 4 / 3; border-radius: var(--lp-r); }
.lp-hero.lp-ed .lp-lead { margin: 0; }
.lp-hero.lp-ed .lp-actions { margin: 0; }
.lp-form { display: grid; gap: 12px; align-self: center; }
.lp-form b { font-size: 18px; }
.lp-form label { display: grid; gap: 5px; font-size: 12.5px; color: var(--lp-mute); }
.lp-form input, .lp-form textarea, .lp-inline input { font: inherit; font-size: 15px; color: var(--lp-ink); background: var(--lp-bg); border: 1px solid var(--lp-line); border-radius: calc(var(--lp-r) * .7); padding: 11px 13px; width: 100%; }
.lp-form small { color: var(--lp-mute); font-size: 12px; }
.lp-form .lp-btn { justify-content: center; }
.lp-form.sent, .lp-inline.sent { outline: 2px solid var(--lp-acc); outline-offset: 4px; }
@container (max-width: 760px) {
  .lp-hero.split { grid-template-columns: 1fr; }
  .lp-hero-media { aspect-ratio: 16 / 10; }
  .lp-hero.lp-ed .lp-ed-bottom { grid-template-columns: 1fr; }
  .lp-strip { grid-template-columns: 1fr; height: auto; }
  .lp-strip img { height: 200px; }
  .lp-strip img + img { display: none; }
}

/* Social proof */
.lp-logos { text-align: center; padding-top: 30px; padding-bottom: 30px; }
.lp-logos .lp-kicker { color: var(--lp-mute); }
.lp-marquee { overflow: hidden; mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent); -webkit-mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent); }
.lp-marquee > div { display: flex; gap: 56px; width: max-content; animation: lp-scroll 26s linear infinite; }
.lp-marquee:hover > div { animation-play-state: paused; }
@keyframes lp-scroll { to { transform: translateX(-50%); } }
.lp-logo { font-size: 22px; color: var(--lp-mute); white-space: nowrap; opacity: .85; }
.lp-logo.f0 { font-weight: 800; letter-spacing: .08em; }
.lp-logo.f1 { font-family: var(--serif); font-style: italic; font-size: 26px; }
.lp-logo.f2 { font-weight: 600; letter-spacing: -0.04em; }
.lp-logo.f3 { font-family: var(--mono); font-size: 18px; letter-spacing: .14em; }
.lp-logo.f4 { font-weight: 300; font-size: 24px; }
.lp-stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.lp-stats div { display: grid; gap: 4px; border-left: 2px solid var(--lp-acc); padding-left: 16px; }
.lp-stats span { color: var(--lp-mute); font-size: 14px; }
@container (max-width: 640px) { .lp-stats { grid-template-columns: repeat(2, 1fr); } }

/* Features */
.lp-fgrid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.lp-feature { background: var(--lp-soft); border-radius: var(--lp-r); padding: 22px; display: grid; gap: 8px; align-content: start; }
.lp-feature .lp-ico { color: var(--lp-acc); }
.lp-feature b { font-size: 17px; }
.lp-feature p { margin: 0; color: var(--lp-mute); font-size: 14.5px; }
.lp-zigzag { display: grid; gap: clamp(28px, 6cqi, 70px); }
.lp-zz { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(24px, 5cqi, 60px); align-items: center; }
.lp-zz img { aspect-ratio: 4 / 3; border-radius: var(--lp-r); }
.lp-zz.flip img { order: 2; }
.lp-bento { display: grid; grid-template-columns: repeat(4, 1fr); grid-auto-rows: minmax(150px, auto); gap: 14px; }
.lp-bx { background: var(--lp-soft); border-radius: var(--lp-r); padding: 20px; display: grid; gap: 6px; align-content: end; overflow: hidden; }
.lp-bx .lp-ico { color: var(--lp-acc); margin-bottom: auto; }
.lp-bx p { margin: 0; color: var(--lp-mute); font-size: 14px; }
/* The photo sits behind the text, so its own size never stretches the grid. */
.lp-bx.big { position: relative; grid-column: span 2; grid-row: span 2; min-height: 320px; color: #fff; }
.lp-bx.big img { position: absolute; inset: 0; }
.lp-bx.big::after { content: ''; position: absolute; inset: 0; background: linear-gradient(transparent 40%, rgba(0, 0, 0, .7)); }
.lp-bx.big > div { position: relative; z-index: 1; }
.lp-bx.big p { color: rgba(255, 255, 255, .85); }
.lp-bx.accent { background: var(--lp-acc); color: var(--lp-acc-ink); grid-column: span 2; align-content: center; }
.lp-bx.accent span { opacity: .85; }
@container (max-width: 760px) {
  .lp-fgrid { grid-template-columns: 1fr 1fr; }
  .lp-zz { grid-template-columns: 1fr; }
  .lp-zz.flip img { order: 0; }
  .lp-bento { grid-template-columns: 1fr 1fr; }
}
@container (max-width: 480px) {
  .lp-fgrid { grid-template-columns: 1fr; }
  .lp-bento { grid-template-columns: 1fr; }
  .lp-bx.big, .lp-bx.accent { grid-column: auto; }
}

/* Testimonials */
.lp-quote { text-align: center; display: grid; justify-items: center; gap: 22px; }
.lp .lp-quote blockquote { margin: 0; max-width: 24ch; font-size: clamp(26px, 4.4cqi, 48px); }
.lp-qgrid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.lp-qgrid figure { margin: 0; display: grid; gap: 14px; align-content: start; }
.lp-qgrid blockquote { margin: 0; font-size: 15.5px; }
@container (max-width: 760px) { .lp-qgrid { grid-template-columns: 1fr; } }

/* Pricing */
.lp-pricing .lp-head { text-align: center; margin-inline: auto; display: grid; justify-items: center; }
.lp-toggle { display: inline-flex; gap: 4px; padding: 4px; margin-top: 20px; border-radius: 99px; background: var(--lp-soft); border: 1px solid var(--lp-line); }
.lp-toggle button { font: inherit; font-size: 13.5px; border: 0; background: none; color: var(--lp-mute); padding: 7px 16px; border-radius: 99px; cursor: pointer; }
.lp-toggle button[aria-pressed="true"] { background: var(--lp-ink); color: var(--lp-bg); }
.lp-toggle em { font-style: normal; font-size: 11px; color: var(--lp-acc); margin-left: 4px; }
.lp-toggle button[aria-pressed="true"] em { color: inherit; opacity: .75; }
.lp-plans { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; align-items: stretch; }
.lp-plan { position: relative; display: grid; gap: 10px; align-content: start; padding: 26px; border-radius: var(--lp-r); border: 1px solid var(--lp-line); background: var(--lp-bg); }
.lp-plan.hot { background: var(--lp-soft); border-color: var(--lp-acc); box-shadow: 0 0 0 1px var(--lp-acc); }
.lp-plan > b { font-size: 18px; }
.lp-plan > p { margin: 0; color: var(--lp-mute); font-size: 14px; }
.lp-badge { position: absolute; top: -12px; left: 24px; background: var(--lp-acc); color: var(--lp-acc-ink); font-size: 11.5px; font-weight: 700; padding: 4px 10px; border-radius: 99px; }
.lp-price { display: flex; align-items: baseline; gap: 4px; margin: 6px 0; }
.lp-price strong { font-family: var(--lp-display); font-weight: var(--lp-dw); font-size: clamp(30px, 4cqi, 42px); letter-spacing: var(--lp-track); }
.lp-price span { color: var(--lp-mute); font-size: 14px; }
.lp-plan ul { list-style: none; margin: 4px 0 14px; padding: 0; display: grid; gap: 8px; font-size: 14px; }
.lp-plan li { display: flex; gap: 8px; align-items: center; }
.lp-plan li .lp-ico { width: 17px; height: 17px; color: var(--lp-acc); stroke-width: 2.4; flex: none; }
.lp-plan .lp-btn { justify-content: center; margin-top: auto; }
@container (max-width: 760px) { .lp-plans { grid-template-columns: 1fr; } }

/* FAQ */
.lp-faq { display: grid; grid-template-columns: .8fr 1.2fr; gap: 40px; }
.lp-qa details { border-bottom: 1px solid var(--lp-line); }
.lp-qa summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; gap: 16px; padding: 18px 0; font-weight: 600; font-size: 16px; }
.lp-qa summary::-webkit-details-marker { display: none; }
.lp .lp-qa summary::after { content: none; }   /* the site's own details style adds a + */
.lp-qa summary i { position: relative; width: 14px; height: 14px; flex: none; margin-top: 4px; }
.lp-qa summary i::before, .lp-qa summary i::after { content: ''; position: absolute; left: 0; top: 6px; width: 14px; height: 2px; background: var(--lp-acc); transition: transform .25s; }
.lp-qa summary i::after { transform: rotate(90deg); }
.lp-qa details[open] summary i::after { transform: rotate(0); }
.lp-qa p { margin: 0 0 18px; color: var(--lp-mute); font-size: 15px; max-width: 60ch; }
@container (max-width: 760px) { .lp-faq { grid-template-columns: 1fr; gap: 10px; } }

/* Process */
.lp-steps ol { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; counter-reset: s; }
.lp-steps li { counter-increment: s; position: relative; padding-top: 52px; }
.lp-steps li::before { content: counter(s, decimal-leading-zero); position: absolute; top: 0; left: 0; font-family: var(--lp-display); font-weight: var(--lp-dw); font-size: 34px; line-height: 1; color: var(--lp-acc); }
.lp-steps li::after { content: ''; position: absolute; top: 17px; left: 56px; right: 10px; height: 1px; background: var(--lp-line); }
.lp-steps li:last-child::after { display: none; }
.lp-steps b { font-size: 17px; }
.lp-steps p { margin: 4px 0 0; color: var(--lp-mute); font-size: 14px; }
@container (max-width: 640px) { .lp-steps ol { grid-template-columns: 1fr 1fr; } .lp-steps li::after { display: none; } }

/* Calls to action */
.lp-cta.band { text-align: center; display: grid; justify-items: center; background: var(--lp-acc); color: var(--lp-acc-ink); }
.lp-cta.band .lp-lead { color: inherit; opacity: .85; }
.lp-cta.band .lp-actions { justify-content: center; }
.lp-cta.band .lp-btn { background: var(--lp-acc-ink); color: var(--lp-acc) !important; border-color: var(--lp-acc-ink); }
.lp-cta.band .lp-btn.ghost { background: transparent; color: var(--lp-acc-ink) !important; border-color: color-mix(in oklab, var(--lp-acc-ink) 50%, transparent); }
.lp .lp-cta.band .lp-display em { color: inherit; }
.lp-cta.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(24px, 5cqi, 56px); align-items: center; }
.lp-cta.split img { aspect-ratio: 4 / 3; border-radius: var(--lp-r); }
.lp-cta.newsletter { display: grid; grid-template-columns: 1fr 1fr; gap: 24px 40px; align-items: center; background: var(--lp-soft); }
.lp-inline { display: flex; gap: 8px; }
.lp-inline input { flex: 1; min-width: 0; }
@container (max-width: 700px) {
  .lp-cta.split, .lp-cta.newsletter { grid-template-columns: 1fr; }
  .lp-inline { flex-direction: column; }
}

/* Contact */
.lp-contact { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 28px; align-items: start; }
.lp-contact dl { display: grid; grid-template-columns: auto 1fr; gap: 4px 16px; margin: 18px 0; font-size: 14px; }
.lp-contact dt { font-weight: 600; }
.lp-contact dd { margin: 0; color: var(--lp-mute); }
.lp-map { width: 100%; border-radius: var(--lp-r); background: var(--lp-soft); border: 1px solid var(--lp-line); }
.lp-map .w { fill: color-mix(in oklab, #4cc9f0 30%, var(--lp-soft)); }
.lp-map .r { fill: none; stroke: var(--lp-bg); stroke-width: 8; }
.lp-map .r.thin { stroke-width: 3; }
.lp-map .p { fill: var(--lp-acc); }
.lp-map .p2 { fill: none; stroke: var(--lp-acc); stroke-width: 2; opacity: .5; }
@container (max-width: 900px) { .lp-contact { grid-template-columns: 1fr 1fr; } .lp-map { grid-column: 1 / -1; order: 3; max-height: 220px; } }
@container (max-width: 560px) { .lp-contact { grid-template-columns: 1fr; } }

/* Footers */
.lp-footer { font-size: 14px; }
.lp-footer.mega { display: grid; grid-template-columns: 1.4fr repeat(3, 1fr) 1.4fr; gap: 28px; background: var(--lp-soft); }
.lp-footer nav { display: grid; gap: 8px; align-content: start; }
.lp-footer nav b { margin-bottom: 4px; }
.lp-footer nav a { color: var(--lp-mute); text-decoration: none; }
.lp-footer nav a:hover { color: var(--lp-ink); }
.lp-footer .lp-inline { align-self: start; }
.lp-legal { grid-column: 1 / -1; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px; padding-top: 20px; border-top: 1px solid var(--lp-line); color: var(--lp-mute); font-size: 13px; }
.lp-legal a { margin-left: 14px; color: inherit; }
.lp-footer.simple { display: flex; align-items: center; gap: 24px; flex-wrap: wrap; }
.lp-footer.simple nav { display: flex; gap: 20px; margin-left: auto; }
.lp-footer.simple > span { color: var(--lp-mute); }
.lp-footer.big { display: grid; gap: 24px; overflow: hidden; }
.lp-footer.big nav { display: flex; flex-wrap: wrap; gap: 10px 26px; }
.lp .lp-footer.big strong { font-size: clamp(48px, 15cqi, 210px); line-height: .85; white-space: nowrap; }
@container (max-width: 860px) { .lp-footer.mega { grid-template-columns: 1fr 1fr 1fr; } .lp-footer.mega > div:first-child, .lp-footer.mega .lp-inline { grid-column: 1 / -1; } }
@container (max-width: 520px) { .lp-footer.mega { grid-template-columns: 1fr 1fr; } .lp-footer.simple nav { margin-left: 0; width: 100%; } }

/* ---------- The builder ---------- */
#s-builder .stage { padding: 0; display: grid; grid-template-columns: 300px 1fr; min-height: 640px; }
.bld-panel { padding: 18px; border-right: 1px solid var(--line); display: grid; gap: 16px; align-content: start; background: var(--bg-2); }
.bld-row { display: grid; gap: 6px; }
.bld-row > .mono { font-size: 10px; color: var(--mute); }
.bld-row .bld-btns { display: flex; flex-wrap: wrap; gap: 6px; }
.bld-row .btn { color: var(--ink); background: var(--card); border-color: var(--line-2); }
.bld-row .btn[aria-pressed="true"] { background: var(--k-sect); border-color: var(--k-sect); color: #fff; }
.bld-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 5px; counter-reset: b; }
.bld-list li { counter-increment: b; display: grid; grid-template-columns: 1fr auto 26px 26px 26px; gap: 4px; align-items: center; padding: 5px 6px 5px 10px; border-radius: 10px; background: var(--card); border: 1px solid var(--line); font-size: 13px; }
.bld-name::before { content: counter(b) '. '; color: var(--mute); font-family: var(--mono); font-size: 11px; }
.bld-list select { font: inherit; font-size: 12px; max-width: 96px; padding: 3px 4px; border-radius: 6px; border: 1px solid var(--line-2); background: var(--bg-2); color: var(--ink); }
.bld-list button { width: 26px; height: 26px; border-radius: 7px; border: 1px solid var(--line-2); background: var(--bg-2); color: var(--ink); cursor: pointer; font-size: 13px; line-height: 1; padding: 0; }
.bld-list button:hover:not(:disabled) { border-color: var(--k-sect); }
.bld-list button:disabled { opacity: .3; cursor: default; }
.bld-add { display: flex; gap: 6px; }
.bld-add select { flex: 1; font: inherit; font-size: 13px; padding: 6px 8px; border-radius: 8px; border: 1px solid var(--line-2); background: var(--card); color: var(--ink); }
.bld-preview { display: grid; grid-template-rows: auto 1fr; min-width: 0; background: color-mix(in oklab, var(--bg-2) 60%, #000); }
.bld-chrome { display: flex; align-items: center; gap: 8px; padding: 10px 14px; border-bottom: 1px solid var(--line); }
.bld-chrome i { width: 10px; height: 10px; border-radius: 50%; background: var(--line-2); }
.bld-chrome span { margin-left: 10px; flex: 1; font: 11px var(--mono); color: var(--mute); background: var(--bg); padding: 4px 10px; border-radius: 6px; }
.bld-count { font: 11px var(--mono); color: var(--mute); }
.bld-viewport { height: 640px; overflow: auto; overscroll-behavior: contain; padding: 0; display: grid; justify-items: center; align-content: start; }
.bld-scale { position: relative; }
.bld-page { position: absolute; top: 0; left: 0; transform-origin: 0 0; }
#s-builder.phone .bld-scale { margin-top: 16px; box-shadow: 0 0 0 10px #111, 0 0 0 11px #333; border-radius: 4px; }
@media (max-width: 900px) {
  #s-builder .stage { grid-template-columns: 1fr; }
  .bld-panel { border-right: 0; border-bottom: 1px solid var(--line); }
  .bld-viewport { height: 520px; }
}
