/* RentWorks marketing site
   Layout language: large tight headlines, boxed section tags, square-cornered
   buttons, charcoal feature panels, lavender gradient card sections.
   Brand: RentWorks deep purple (#5B21B6). Typeface: DM Sans (SIL OFL), the
   RentWorks app's primary UI font. */

@font-face { font-family: "DM Sans"; font-style: normal; font-weight: 400; font-display: swap; src: url(/assets/fonts/dm-sans-400.woff2) format("woff2"); }
@font-face { font-family: "DM Sans"; font-style: normal; font-weight: 500; font-display: swap; src: url(/assets/fonts/dm-sans-500.woff2) format("woff2"); }
@font-face { font-family: "DM Sans"; font-style: normal; font-weight: 700; font-display: swap; src: url(/assets/fonts/dm-sans-700.woff2) format("woff2"); }

:root {
  --brand: #5B21B6;
  --brand-hover: #4A1A96;
  --brand-bright: #7C3AED;
  --brand-50: #F5F2FE;
  --brand-100: #ECE6FD;
  --brand-200: #DDD3FB;
  --ink: #15122B;          /* headings */
  --text: #3A3848;         /* body */
  --muted: #5F5C6E;
  --line: #E4E2EA;
  --soft: #F4F3F7;
  --dark: #211F2A;         /* charcoal panels */
  --dark-2: #2B2935;
  --black: #0E0C14;        /* footer */
  --on-dark: #FFFFFF;
  --on-dark-muted: #BDB9CC;
  --heading-on-dark: #E7E1FD;
  --green: #067647;

  --r-sm: 3px;
  --r: 6px;
  --focus: 0 0 0 3px #fff, 0 0 0 5px var(--brand-bright);

  --container: 1140px;
  --gutter: 20px;
  --section: clamp(72px, 9vw, 120px);
  --font: "DM Sans", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { transition: none !important; } }
body {
  margin: 0; display: flex; flex-direction: column; min-height: 100vh;
  font-family: var(--font); font-size: 1.0625rem; line-height: 1.6; color: var(--text); background: #fff;
  -webkit-font-smoothing: antialiased; overflow-x: hidden;
}
main { flex: 1 0 auto; }
img, svg, picture { display: block; max-width: 100%; }
img { height: auto; }
h1, h2, h3, h4 { color: var(--ink); margin: 0 0 .5em; font-weight: 700; line-height: 1.08; letter-spacing: -.035em; }
h1 { font-size: clamp(2.5rem, 5.2vw, 4.1rem); letter-spacing: -.045em; line-height: 1.02; }
h2 { font-size: clamp(2rem, 4.2vw, 3.2rem); }
h3 { font-size: 1.3rem; letter-spacing: -.02em; line-height: 1.25; }
p { margin: 0 0 1em; }
a { color: var(--brand); text-underline-offset: 3px; }
a:hover { color: var(--brand-hover); }
:focus-visible { outline: none; box-shadow: var(--focus); border-radius: 2px; }
ul { padding-left: 1.2em; }
address { font-style: normal; }
[id] { scroll-margin-top: 96px; }
.icon { width: 24px; height: 24px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; flex: none; }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip-link { position: absolute; left: 12px; top: -60px; z-index: 100; background: var(--ink); color: #fff; padding: 10px 16px; }
.skip-link:focus { top: 12px; color: #fff; }

.container { width: 100%; max-width: calc(var(--container) + var(--gutter) * 2); margin: 0 auto; padding: 0 var(--gutter); }
.narrow { max-width: calc(760px + var(--gutter) * 2); }
.section { padding: var(--section) 0; }
.lead { font-size: clamp(1.2rem, 2vw, 1.55rem); line-height: 1.4; color: var(--text); letter-spacing: -.01em; }
.muted { color: var(--muted); }
.center { text-align: center; }
.mt-lg { margin-top: clamp(32px, 4vw, 48px); }

/* Boxed section tag ("WHAT WE DO") */
.tag {
  display: inline-block; padding: 5px 9px; margin-bottom: 20px; border-radius: var(--r-sm);
  background: var(--soft); color: var(--ink); font-size: .6875rem; font-weight: 700; letter-spacing: .09em; text-transform: uppercase; line-height: 1.2;
}
.section-dark .tag { background: var(--dark-2); color: #fff; }

.section-head { max-width: 720px; margin-bottom: clamp(36px, 5vw, 56px); }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.section-head p { color: var(--muted); font-size: 1.125rem; margin: 0; }
.section-head h2:last-child { margin-bottom: 0; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 48px; padding: 12px 22px; border-radius: var(--r-sm); border: 1px solid transparent;
  font: inherit; font-size: .9375rem; font-weight: 700; line-height: 1.2; text-decoration: none; cursor: pointer;
  transition: background-color .15s, border-color .15s, color .15s;
}
.btn .icon { width: 17px; height: 17px; stroke-width: 2.25; }
.btn-primary { background: var(--brand); color: #fff; }
.btn-primary:hover { background: var(--brand-hover); color: #fff; }
.btn-secondary { background: var(--brand-100); color: var(--brand); }
.btn-secondary:hover { background: var(--brand-200); color: var(--brand-hover); }
.btn-light { background: #fff; color: var(--ink); }
.btn-light:hover { background: var(--brand-100); color: var(--ink); }
.btn-outline-light { background: transparent; color: #fff; border-color: rgba(255,255,255,.35); }
.btn-outline-light:hover { border-color: #fff; color: #fff; }
.btn-row { display: flex; flex-wrap: wrap; gap: 10px; }
.text-link { display: inline-flex; align-items: center; gap: 6px; font-weight: 700; font-size: .9375rem; color: var(--brand); text-decoration: underline; text-decoration-thickness: 1.5px; text-underline-offset: 5px; }
.text-link .icon { width: 16px; height: 16px; stroke-width: 2.25; }
.text-link:hover { color: var(--brand-hover); }

/* ---------- Header ---------- */
.site-header { position: sticky; top: 0; z-index: 50; background: #fff; }
.header-inner { display: flex; align-items: center; gap: 28px; min-height: 76px; border-bottom: 1px solid var(--line); }
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; flex: none; }
.brand img { width: 38px; height: auto; }
.wordmark { font-size: 1.4rem; font-weight: 700; letter-spacing: -.035em; line-height: 1; }
.wm-rent { color: #1E1B4B; }
.wm-works { color: var(--brand); }
.site-nav { display: flex; align-items: center; flex: 1; gap: 24px; }
.nav-links { display: flex; gap: 2px; list-style: none; margin: 0 auto; padding: 0; }
.nav-links a { display: block; padding: 8px 14px; color: var(--ink); font-weight: 500; text-decoration: none; }
.nav-links a:hover, .nav-links a[aria-current="page"] { color: var(--brand); }
.nav-actions { display: flex; align-items: center; gap: 20px; }
.nav-support { display: grid; justify-items: center; gap: 3px; text-decoration: none; color: var(--ink); line-height: 1.1; }
.nav-support .pill { display: inline-flex; align-items: center; gap: 4px; padding: 3px 7px; border-radius: var(--r-sm); background: var(--soft); font-size: .72rem; font-weight: 500; }
.nav-support .pill .icon { width: 12px; height: 12px; stroke-width: 2.5; }
.nav-support .line { font-size: .98rem; font-weight: 500; }
.nav-support:hover { color: var(--ink); }
.nav-support:hover .line { color: var(--brand); }
.nav-actions .btn { min-height: 46px; }
.nav-toggle { display: none; margin-left: auto; width: 48px; height: 48px; border: 1px solid var(--line); border-radius: var(--r-sm); background: #fff; color: var(--ink); cursor: pointer; align-items: center; justify-content: center; }
.nav-toggle .icon-close { display: none; }
.nav-toggle[aria-expanded="true"] .icon-open { display: none; }
.nav-toggle[aria-expanded="true"] .icon-close { display: block; }

@media (max-width: 980px) {
  .nav-toggle { display: inline-flex; }
  .site-nav { display: none; position: absolute; left: 0; right: 0; top: 100%; flex-direction: column; align-items: stretch; gap: 0;
    background: #fff; border-bottom: 1px solid var(--line); box-shadow: 0 18px 30px -18px rgba(21,18,43,.3); padding: 4px var(--gutter) 20px; max-height: calc(100vh - 76px); overflow-y: auto; }
  .site-nav.is-open { display: flex; }
  .no-js .site-nav { display: flex; position: static; box-shadow: none; }
  .nav-links { flex-direction: column; margin: 0; }
  .nav-links a { padding: 15px 2px; border-bottom: 1px solid var(--line); font-size: 1.0625rem; }
  .nav-actions { flex-direction: column; align-items: stretch; gap: 14px; margin-top: 18px; }
  .nav-support { justify-items: start; }
  .nav-actions .btn { min-height: 50px; }
}

/* ---------- Hero ---------- */
.hero { padding: clamp(40px, 6vw, 64px) 0 0; }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1.08fr) minmax(0, .92fr); gap: clamp(28px, 4vw, 56px); align-items: center; }
.hero h1 { margin-bottom: 26px; font-size: clamp(2.4rem, 5.4vw, 3.9rem); }
.hero h1 .accent { color: var(--brand); }
.hero .lead { max-width: 520px; margin-bottom: 36px; }
.hero-note { margin: 22px 0 0; font-size: .9rem; color: var(--muted); }

/* Diagonal-cut brand visual holding real app screenshots */
.hero-visual {
  position: relative; aspect-ratio: 1.12 / 1; border-radius: var(--r); overflow: hidden;
  background: radial-gradient(120% 90% at 85% 10%, #7C3AED 0%, #5B21B6 38%, #2A1C6B 72%, #1E1B4B 100%);
  clip-path: polygon(27% 0, 100% 0, 100% 100%, 0 100%, 27% 46%);
}
.hero-visual .pattern { position: absolute; right: -6%; bottom: -4%; width: 62%; opacity: .22; }
.hero-visual .phone { position: absolute; }
.hero-visual .phone-a { width: 40%; left: 33%; top: 9%; z-index: 2; }
.hero-visual .phone-b { width: 34%; right: 5%; top: 22%; z-index: 1; }
@media (max-width: 900px) { .hero-grid { grid-template-columns: 1fr; } .hero-visual { aspect-ratio: 1.05 / 1; } }

/* Phone frame around real app screenshots */
.phone { background: #fff; border-radius: 24px; padding: 6px; box-shadow: 0 30px 50px -24px rgba(8,6,20,.55); }
.phone img { border-radius: 19px; width: 100%; aspect-ratio: 600 / 994; background: var(--soft); }

/* ---------- Facts strip (true product facts, not marketing stats) ---------- */
.facts-strip { margin-top: clamp(40px, 6vw, 64px); border-top: 1px solid var(--line); padding: 34px 0 10px; display: grid; grid-template-columns: 1.1fr repeat(4, 1fr); gap: 20px; align-items: center; }
.facts-strip .origin { display: flex; align-items: center; gap: 12px; font-size: .72rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--ink); line-height: 1.4; margin: 0; }
.facts-strip .origin img { width: 40px; }
.fact { border-left: 2px solid var(--line); padding-left: 18px; margin: 0; }
.fact .num { display: block; font-size: 1.9rem; font-weight: 700; letter-spacing: -.04em; color: var(--ink); line-height: 1.05; }
.fact .num small { font-size: 1.05rem; letter-spacing: -.02em; margin-left: 3px; }
.fact .label { display: block; font-size: .9375rem; color: var(--text); margin-top: 2px; }
@media (max-width: 900px) { .facts-strip { grid-template-columns: 1fr 1fr; gap: 26px 20px; } .facts-strip .origin { grid-column: 1 / -1; } }

/* ---------- Charcoal feature panel ---------- */
.panel-dark { position: relative; overflow: hidden; background: var(--dark); border-radius: var(--r); padding: 20px; min-height: 520px; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); align-items: end; }
.panel-dark .tag { position: absolute; top: 20px; left: 20px; background: var(--dark-2); color: #fff; margin: 0; }
.panel-dark h2 { color: var(--heading-on-dark); margin: 0; padding: 0 0 24px 16px; position: relative; z-index: 2; }
.panel-dark .pattern { position: absolute; right: 7%; bottom: 0; width: min(360px, 45%); }
.panel-phones { position: relative; z-index: 1; display: flex; justify-content: flex-end; align-items: flex-end; gap: 16px; margin-bottom: -60px; padding-right: 12px; }
.panel-phones .phone { width: 32%; box-shadow: 0 24px 40px -20px #000; }
.panel-phones .phone:nth-child(2) { transform: translateY(-40px); }
@media (max-width: 860px) {
  .panel-dark { grid-template-columns: 1fr; min-height: 0; padding-top: 72px; }
  .panel-dark h2 { padding: 0 8px 36px; }
  .panel-phones { justify-content: center; margin-bottom: -80px; padding-right: 0; gap: 10px; }
  .panel-phones .phone:nth-child(2) { transform: none; }
  .panel-dark .pattern { width: 70%; right: -10%; }
}

/* ---------- Four value columns ---------- */
.value-cols { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 36px; padding: clamp(40px, 5vw, 56px) 0 40px; border-bottom: 1px solid var(--line); }
.value-cols .v-icon { width: 46px; height: 46px; color: var(--ink); margin-bottom: 20px; position: relative; }
.value-cols .v-icon .icon { width: 44px; height: 44px; stroke-width: 1.3; }
.value-cols .v-icon::after { content: ""; position: absolute; right: -4px; bottom: -2px; width: 16px; height: 16px; background: var(--brand); clip-path: polygon(0 100%, 100% 0, 100% 100%); }
.value-cols h3 { font-size: 1.35rem; margin-bottom: 12px; }
.value-cols p { color: var(--muted); font-size: .96rem; margin: 0; }
.after-link { padding: 22px 0 0; margin: 0; }
@media (max-width: 900px) { .value-cols { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .value-cols { grid-template-columns: 1fr; gap: 30px; } }

/* ---------- Lavender gradient card section ---------- */
.section-grad { background: linear-gradient(180deg, #D5C9F6 0%, #E6DFFA 45%, #F5F2FD 100%); }
.section-grad .section-head h2 { font-size: clamp(2.4rem, 5vw, 3.6rem); }
.section-grad .tag { background: #fff; }
.cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.card { background: #fff; border-radius: var(--r); display: flex; flex-direction: column; }
.card-body { padding: 24px 24px 22px; flex: 1; }
.card .c-icon { color: var(--brand); margin-bottom: 26px; }
.card .c-icon .icon { width: 44px; height: 44px; stroke-width: 1.3; }
.card h3 { font-size: 1.4rem; margin-bottom: 12px; }
.card p { font-size: .96rem; margin: 0; }
.card-foot { padding: 16px 24px 18px; border-top: 1px solid var(--line); }
.card-foot .text-link { font-size: .875rem; }
@media (max-width: 900px) { .cards { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) { .cards { grid-template-columns: 1fr; } }

/* ---------- Pill chips (who it's for) ---------- */
.chips { display: flex; flex-wrap: wrap; gap: 12px; list-style: none; padding: 0; margin: 0 0 22px; }
.chips li { display: inline-flex; align-items: center; gap: 10px; padding: 5px 18px 5px 5px; background: var(--soft); border-radius: 999px; font-weight: 700; color: var(--ink); letter-spacing: -.01em; }
.chip-icon { display: inline-flex; align-items: center; justify-content: center; width: 38px; height: 38px; border-radius: 50%; background: var(--brand); color: #fff; }
.chip-icon .icon { width: 19px; height: 19px; stroke-width: 1.9; }
.audience-notes { display: grid; grid-template-columns: 1fr 1fr; gap: 14px 40px; margin: 34px 0 0; padding: 0; list-style: none; }
.audience-notes li { color: var(--muted); font-size: .98rem; }
.audience-notes strong { color: var(--ink); }
@media (max-width: 600px) { .audience-notes { grid-template-columns: 1fr; } }

/* ---------- Dark carousel section ---------- */
.section-dark { background: var(--dark); color: var(--on-dark-muted); overflow: hidden; }
.section-dark h2, .section-dark h3 { color: var(--heading-on-dark); }
.section-dark .section-head p { color: #fff; font-size: 1.0625rem; }
.carousel-bar { display: flex; justify-content: center; }
.carousel-ctrl { display: inline-flex; align-items: center; gap: 22px; padding: 12px; background: var(--dark-2); border-radius: 16px 16px 0 0; color: #fff; font-weight: 700; font-size: 1.15rem; letter-spacing: -.02em; }
.carousel-ctrl button { width: 40px; height: 40px; border-radius: 50%; border: 0; background: #3A3744; color: #fff; display: inline-flex; align-items: center; justify-content: center; cursor: pointer; }
.carousel-ctrl button:hover { background: var(--brand); }
.carousel-ctrl button .icon { width: 18px; height: 18px; stroke-width: 2.2; }
.carousel-ctrl .prev .icon { transform: rotate(180deg); }
.track { display: grid; grid-auto-flow: column; grid-auto-columns: calc((100% - 48px) / 3); gap: 24px; overflow-x: auto; scroll-snap-type: x mandatory; padding: 24px 0 8px; scrollbar-width: none; }
.track::-webkit-scrollbar { display: none; }
.slide { scroll-snap-align: start; background: var(--dark-2); border-radius: var(--r); padding: 22px 22px 24px; display: flex; flex-direction: column; }
.shot { display: flex; justify-content: center; background: #3A3744; border-radius: var(--r-sm); padding: 22px 0 0; height: 300px; overflow: hidden; margin-bottom: 22px; }
.shot .phone { width: 200px; border-radius: 22px 22px 0 0; padding: 5px 5px 0; box-shadow: none; }
.shot .phone img { border-radius: 17px 17px 0 0; }
.slide h3 { font-size: 1.3rem; margin-bottom: 8px; }
.slide p { font-size: .95rem; margin: 0 0 18px; }
.more { margin-top: auto; display: inline-flex; align-items: center; gap: 10px; color: #fff; font-size: .95rem; text-decoration: none; }
.more span { width: 24px; height: 24px; border-radius: 50%; background: #4A4655; display: inline-flex; align-items: center; justify-content: center; }
.more .icon { width: 13px; height: 13px; stroke-width: 2.5; }
.more:hover { color: var(--brand-200); }
@media (max-width: 900px) { .track { grid-auto-columns: 78%; } }

/* ---------- Story-style cards (Zambia) ---------- */
.story-cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.story { border: 1px solid var(--line); border-radius: var(--r); padding: 12px 12px 24px; display: flex; flex-direction: column; }
.story-top { height: 150px; border-radius: var(--r); display: flex; align-items: center; justify-content: center; margin-bottom: 20px; color: #fff; font-size: 2.6rem; font-weight: 700; letter-spacing: -.04em; }
.story-top .icon { width: 58px; height: 58px; stroke-width: 1.4; }
.story-top.t1 { background: #1E1B4B; }
.story-top.t2 { background: var(--brand); }
.story-top.t3 { background: var(--soft); color: var(--brand); }
.story .cat { font-size: .66rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); padding: 0 8px; margin: 0 0 10px; }
.story h3 { font-size: 1.12rem; letter-spacing: -.015em; padding: 0 8px; }
.story p { font-size: .94rem; color: var(--muted); padding: 0 8px; margin: 0 0 14px; }
.story ul { list-style: none; padding: 0 8px; margin: 0; font-size: .94rem; }
.story li::before { content: "\2714\FE0E"; margin-right: 6px; color: var(--ink); }
@media (max-width: 900px) { .story-cards { grid-template-columns: 1fr; } }

/* ---------- Statement (in place of a testimonial) ---------- */
.statement { max-width: 760px; margin: 0 auto; }
.statement .mark { width: 52px; height: 52px; border-radius: var(--r-sm); background: #1E1B4B; display: flex; align-items: center; justify-content: center; margin-bottom: 26px; }
.statement .mark img { width: 34px; filter: brightness(0) invert(1); }
.statement blockquote { margin: 0 0 26px; font-size: clamp(1.4rem, 2.6vw, 1.9rem); line-height: 1.4; color: var(--ink); letter-spacing: -.02em; }
.statement .who { font-weight: 700; color: var(--ink); margin: 0; }
.statement .role { color: var(--muted); font-size: .9rem; margin: 0; }

/* ---------- Pricing ---------- */
.pricing-split { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(32px, 6vw, 80px); align-items: center; }
.price-panel { border: 1px solid var(--line); border-radius: var(--r); background: #fff; display: grid; grid-template-columns: 1fr 1fr; }
.price-main { padding: clamp(24px, 3vw, 36px); }
.price-side { padding: clamp(24px, 3vw, 36px); background: var(--soft); border-left: 1px solid var(--line); border-radius: 0 var(--r) var(--r) 0; }
.price-tag { display: flex; align-items: baseline; gap: 8px; flex-wrap: wrap; margin: 6px 0 4px; color: var(--ink); }
.price-amount { font-size: clamp(3rem, 6vw, 4.2rem); font-weight: 700; letter-spacing: -.05em; line-height: 1; }
.price-unit { font-size: 1rem; color: var(--muted); font-weight: 500; }
.price-label { font-weight: 700; color: var(--ink); margin: 0; }
.price-alt { color: var(--muted); font-size: .95rem; margin: 10px 0 24px; }
.badge { display: inline-block; padding: 4px 9px; border-radius: var(--r-sm); background: var(--ink); color: #fff; font-size: .6875rem; font-weight: 700; letter-spacing: .09em; text-transform: uppercase; }
.badge-brand { background: var(--soft); color: var(--ink); }
@media (max-width: 900px) { .pricing-split { grid-template-columns: 1fr; } }
@media (max-width: 600px) { .price-panel { grid-template-columns: 1fr; } .price-side { border-left: 0; border-top: 1px solid var(--line); border-radius: 0 0 var(--r) var(--r); } }

.plan-cards { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.plan { padding: clamp(24px, 4vw, 40px); border: 1px solid var(--line); border-radius: var(--r); background: #fff; }
.plan.featured { border: 2px solid var(--brand); }
.plan-title { margin-top: 18px; font-size: 1.5rem; }
.plan .muted { margin: 0; }
@media (max-width: 760px) { .plan-cards { grid-template-columns: 1fr; } }

/* Calculator */
.calc { border-radius: var(--r); padding: clamp(24px, 4vw, 40px); background: #fff; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 32px; align-items: center; }
.calc-fields { display: grid; gap: 20px; }
.calc-result { background: var(--dark); color: var(--on-dark-muted); border-radius: var(--r); padding: 30px; }
.calc-result p { margin: 0; }
.calc-total { font-size: clamp(2.3rem, 5vw, 3.2rem); font-weight: 700; color: #fff; letter-spacing: -.04em; line-height: 1.1; margin: 6px 0 10px !important; font-variant-numeric: tabular-nums; }
.seg { display: flex; flex-wrap: wrap; gap: 8px; border: 0; padding: 0; margin: 0; }
.seg legend { font-weight: 700; color: var(--ink); margin-bottom: 8px; padding: 0; font-size: .9375rem; }
.seg label { position: relative; }
.seg input { position: absolute; opacity: 0; inset: 0; }
.seg span { display: inline-block; padding: 9px 16px; border: 1px solid var(--line); border-radius: var(--r-sm); cursor: pointer; font-weight: 500; background: #fff; }
.seg input:checked + span { border-color: var(--brand); background: var(--brand); color: #fff; font-weight: 700; }
.seg input:focus-visible + span { box-shadow: var(--focus); }
@media (max-width: 760px) { .calc { grid-template-columns: 1fr; } }

/* ---------- Checks ---------- */
.check-list { list-style: none; padding: 0; margin: 18px 0 0; display: grid; gap: 12px; }
.check-list li { display: flex; gap: 12px; align-items: flex-start; }
.check-list .icon { width: 20px; height: 20px; margin-top: 3px; color: var(--brand); stroke-width: 2.4; }
.check-dots { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 12px 24px; }
.check-dots li { display: flex; align-items: center; gap: 10px; font-size: .96rem; color: var(--ink); }
.check-dots li::before { content: ""; flex: none; width: 17px; height: 17px; border-radius: 50%; background: var(--brand) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23fff' stroke-width='3.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E") center / 11px no-repeat; }
@media (max-width: 460px) { .check-dots { grid-template-columns: 1fr; } }

/* ---------- FAQ ---------- */
.faq { max-width: 860px; margin: 0 auto; border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 22px 0; font-weight: 700; color: var(--ink); font-size: 1.125rem; letter-spacing: -.015em; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary .icon { width: 30px; height: 30px; padding: 6px; border-radius: 50%; background: var(--soft); color: var(--ink); transition: transform .15s; }
.faq details[open] summary .icon { transform: rotate(180deg); background: var(--brand); color: #fff; }
.faq .answer { padding: 0 48px 24px 0; color: var(--muted); }
.faq .answer p:last-child { margin: 0; }

/* ---------- Contact panel (dark top, gradient bottom, overlapping form) ---------- */
.contact-panel { position: relative; border-radius: var(--r); overflow: hidden; background: linear-gradient(90deg, #EFEBFB 0%, #DCD1F7 100%); }
.contact-panel .top { position: relative; background: var(--dark); min-height: 340px; padding: 20px; display: flex; align-items: flex-end; overflow: hidden; }
.contact-panel .top .tag { position: absolute; top: 20px; left: 20px; margin: 0; background: var(--dark-2); color: #fff; }
.contact-panel .top .pattern { position: absolute; left: 30%; top: 24px; width: 280px; opacity: .35; }
.contact-panel .top h2 { color: var(--heading-on-dark); max-width: 520px; margin: 0; padding: 0 0 26px 16px; position: relative; }
.contact-grid2 { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 420px); gap: 40px; padding: 0 36px 36px; }
.contact-info { padding-top: 30px; }
.contact-info .lead { font-size: 1.125rem; max-width: 460px; }
.contact-info h3 { font-size: 1.15rem; margin: 30px 0 14px; }
.contact-info .reach { font-weight: 700; color: var(--ink); font-size: 1.1rem; margin: 0; }
.next-steps { display: grid; grid-template-columns: repeat(3, 1fr); list-style: none; padding: 0; margin: 0; }
.next-steps li { display: flex; gap: 10px; align-items: center; font-size: .9rem; line-height: 1.35; color: var(--ink); padding-right: 26px; position: relative; }
.next-steps li:not(:last-child)::after { content: ""; position: absolute; right: 8px; top: 50%; width: 12px; height: 44px; transform: translateY(-50%); background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 44' fill='none' stroke='%23AFA3D3' stroke-width='1.2'%3E%3Cpath d='M1 1l10 21L1 43'/%3E%3C/svg%3E") center / contain no-repeat; }
.next-steps b { font-size: 1.5rem; font-weight: 700; }
.form-card { background: #fff; border-radius: var(--r); box-shadow: 0 20px 40px -20px rgba(21,18,43,.35); margin-top: -210px; position: relative; z-index: 2; align-self: start; }
.form-card-head { text-align: center; padding: 20px 24px 16px; border-bottom: 1px solid var(--line); font-weight: 700; color: var(--ink); font-size: 1.1rem; letter-spacing: -.015em; margin: 0; }
.form-card form { padding: 22px 24px 26px; }
@media (max-width: 900px) {
  .contact-grid2 { grid-template-columns: 1fr; padding: 0 20px 24px; }
  .form-card { margin-top: 0; }
  .next-steps { grid-template-columns: 1fr; gap: 12px; }
  .next-steps li::after { display: none; }
}

/* ---------- Forms ---------- */
.field { display: grid; gap: 6px; }
.field label { font-weight: 500; color: var(--ink); font-size: .875rem; }
.hint { font-size: .82rem; color: var(--muted); }
input[type="text"], input[type="email"], input[type="tel"], input[type="number"], select, textarea {
  width: 100%; font: inherit; font-size: 1rem; color: var(--ink); background: #fff;
  border: 1px solid #D9D6E2; border-radius: var(--r-sm); padding: 10px 12px; min-height: 46px;
}
textarea { min-height: 110px; resize: vertical; }
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--brand); box-shadow: 0 0 0 3px var(--brand-100); }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-grid .full { grid-column: 1 / -1; }
.hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.form-status { margin: 0; padding: 12px 14px; border-radius: var(--r-sm); font-weight: 500; font-size: .95rem; }
.form-status[hidden] { display: none; }
.form-status.ok { background: #ECFDF3; color: var(--green); }
.form-status.err { background: #FEF3F2; color: #B42318; }
@media (max-width: 520px) { .form-grid { grid-template-columns: 1fr; } }

/* ---------- Inner page hero ---------- */
.page-hero { padding: clamp(48px, 7vw, 88px) 0 clamp(40px, 5vw, 60px); }
.page-hero .container > * { max-width: 860px; }
.page-hero h1 { font-size: clamp(2.4rem, 5vw, 3.8rem); }
.page-hero .lead { margin: 0; }
.page-hero + section { border-top: 1px solid var(--line); }

/* ---------- Features page gallery ---------- */
.gallery { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.gallery figure { margin: 0; background: var(--dark-2); border-radius: var(--r); padding: 22px 22px 20px; display: flex; flex-direction: column; }
.gallery figcaption { color: #fff; font-weight: 700; font-size: 1.2rem; letter-spacing: -.02em; }
.gallery figcaption span { display: block; font-weight: 400; color: var(--on-dark-muted); font-size: .95rem; letter-spacing: 0; margin-top: 4px; }
@media (max-width: 900px) { .gallery { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) { .gallery { grid-template-columns: 1fr; } }

.two-col { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 80px); }
@media (max-width: 800px) { .two-col { grid-template-columns: 1fr; } }

/* ---------- About ---------- */
.facts { display: grid; margin: 0; }
.facts div { display: grid; grid-template-columns: 160px 1fr; gap: 16px; padding: 14px 0; border-top: 1px solid var(--line); }
.facts div:last-child { border-bottom: 1px solid var(--line); }
.facts dt { font-weight: 700; color: var(--ink); }
.facts dd { margin: 0; }
@media (max-width: 480px) { .facts div { grid-template-columns: 1fr; gap: 2px; } }

/* ---------- Prose (legal) ---------- */
.prose { max-width: 780px; margin: 0 auto; }
.prose h2 { font-size: 1.6rem; margin-top: 2.2em; padding-top: 1.2em; border-top: 1px solid var(--line); }
.prose h2:first-of-type { margin-top: 0; padding-top: 0; border-top: 0; }
.prose h3 { font-size: 1.15rem; margin-top: 1.6em; }
.prose ul { margin: 0 0 1em; }
.prose li { margin-bottom: .35em; }
.toc { background: var(--soft); border-radius: var(--r); padding: 22px 26px; margin-bottom: 44px; }
.toc h2 { font-size: .75rem !important; letter-spacing: .09em; text-transform: uppercase; margin: 0 0 10px !important; padding: 0 !important; border: 0 !important; }
.toc ol { margin: 0; padding-left: 1.3em; columns: 2; column-gap: 32px; font-size: .95rem; }
@media (max-width: 600px) { .toc ol { columns: 1; } }
.callout { background: var(--soft); border-left: 3px solid var(--brand); padding: 16px 20px; border-radius: 0 var(--r-sm) var(--r-sm) 0; margin: 1.2em 0; }
.callout p:last-child { margin: 0; }

/* ---------- Footer ---------- */
.site-footer { background: var(--black); color: var(--on-dark-muted); font-size: .98rem; }
.footer-main { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 40px; padding-top: 64px; padding-bottom: 56px; }
.footer-links { display: grid; grid-template-columns: 1fr 1fr; gap: 40px 32px; align-content: start; }
.footer-heading { font-size: 1.3rem; font-weight: 700; color: #fff; letter-spacing: -.02em; margin: 0 0 16px; }
.footer-col ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 9px; }
.footer-col a { color: var(--on-dark-muted); text-decoration: none; }
.footer-col a:hover { color: #fff; text-decoration: underline; }
.footer-col address p { margin: 0 0 9px; }
.footer-art { position: relative; display: flex; align-items: center; justify-content: center; min-height: 380px; }
.footer-art .pattern { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; }
.footer-art .center { position: relative; z-index: 1; display: grid; justify-items: center; gap: 14px; background: var(--black); padding: 26px 22px; }
.footer-art .center img { width: 48px; filter: brightness(0) invert(1); }
.footer-art .wordmark { color: #fff; font-size: 1.35rem; }
.footer-art .tagline { color: var(--on-dark-muted); font-size: .9rem; margin: 0; text-align: center; }
.footer-bar { background: #fff; color: var(--ink); }
.footer-bar-inner { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 36px; padding-top: 22px; padding-bottom: 22px; font-size: .92rem; }
.footer-bar-inner > p { margin: 0; padding-left: 24px; border-left: 2px solid var(--line); line-height: 1.45; }
.footer-bar-inner > p:first-child { padding-left: 0; border-left: 0; }
.footer-bar-inner a { color: var(--ink); text-decoration: none; }
.footer-bar-inner a:hover { color: var(--brand); text-decoration: underline; }
.footer-bar-inner .app-link { margin-left: auto; }
.footer-legal { background: #fff; border-top: 1px solid var(--line); }
.footer-legal .container { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px 28px; padding-top: 14px; padding-bottom: 18px; font-size: .85rem; color: var(--muted); }
.footer-legal p { margin: 0; }
.footer-legal a { color: var(--ink); text-decoration: none; }
.footer-legal a:hover { color: var(--brand); text-decoration: underline; }
@media (max-width: 860px) {
  .footer-main { grid-template-columns: 1fr; }
  .footer-art { min-height: 300px; }
  .footer-bar-inner .app-link { margin-left: 0; }
}
@media (max-width: 480px) { .footer-links { grid-template-columns: 1fr; } .footer-bar-inner > p { padding-left: 0; border-left: 0; } }

/* ---------- 404 / message pages ---------- */
.error-page { padding: clamp(80px, 12vw, 160px) 0; text-align: center; }
.error-page .btn-row { justify-content: center; }
.error-page .lead { max-width: 620px; margin-left: auto; margin-right: auto; }
.form-note { margin: 10px 0 0; }

/* ---------- Section variants ---------- */
.section-soft { background: var(--soft); }
.section-line { border-top: 1px solid var(--line); }
.btn-row-center { justify-content: center; }

/* ---------- Charcoal CTA panel (inner pages) ---------- */
.cta-wrap { padding: 0 0 var(--section); }
.cta-band { position: relative; overflow: hidden; background: var(--dark) url("/assets/img/pattern-diamonds.svg") 58% 100% / min(300px, 40%) no-repeat; color: var(--on-dark-muted); border-radius: var(--r); padding: clamp(56px, 8vw, 110px) clamp(24px, 4vw, 40px) clamp(32px, 4vw, 40px); display: flex; justify-content: space-between; align-items: flex-end; gap: 28px; flex-wrap: wrap; }
.cta-band h2 { color: var(--heading-on-dark); margin-bottom: 10px; max-width: 620px; }
.cta-band p { color: var(--on-dark-muted); margin: 0; font-size: 1.1rem; }
.cta-band .btn-row { position: relative; z-index: 1; }

/* ---------- Module cards (features page) ---------- */
.cap-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.cap { background: #fff; border-radius: var(--r); padding: 26px 24px; }
.cap .icon { width: 40px; height: 40px; stroke-width: 1.35; color: var(--brand); margin-bottom: 22px; }
.cap h3 { font-size: 1.25rem; margin-bottom: 10px; }
.cap p { margin: 0; font-size: .96rem; }
@media (max-width: 900px) { .cap-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) { .cap-grid { grid-template-columns: 1fr; } }

/* ---------- About values ---------- */
.values { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 36px; }
.values .icon { width: 44px; height: 44px; stroke-width: 1.3; color: var(--ink); margin-bottom: 20px; }
.values h3 { font-size: 1.35rem; }
.values p { color: var(--muted); margin: 0; }
@media (max-width: 800px) { .values { grid-template-columns: 1fr; gap: 28px; } }

/* ---------- Contact details row ---------- */
.contact-row { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; margin-top: 40px; }
.contact-row > div { border-left: 2px solid var(--line); padding-left: 18px; }
.contact-row h2 { font-size: 1rem; letter-spacing: -.01em; margin: 0 0 4px; }
.contact-row p { margin: 0; font-size: .96rem; }
@media (max-width: 800px) { .contact-row { grid-template-columns: 1fr 1fr; } }
@media (max-width: 460px) { .contact-row { grid-template-columns: 1fr; } }
