/* =========================================================
   MOBIUS DESIGN TOKENS  (see brief, Section 4)
   ========================================================= */
:root {
  --ink: #0E1114;
  --ink-2: #1D2228;
  --ink-3: #2B3138;
  --paper: #F5F4F1;
  --white: #FFFFFF;
  --line: #E3E1DC;
  --line-dark: #2E343B;
  --muted: #5F6670;
  --muted-dark: #A7AEB6;
  --silver: #C4C9CE;
  --silver-satin: #9EA5AC;
  --silver-deep: #80878F;
  --silver-tint: #E4E7EA;
  --ok: #1E8A5A;
  --radius: 16px;
  --radius-sm: 10px;
  --wrap: 1440px;
  --display: "Inter Tight", "Inter Display", "Inter", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  --body: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  --shadow: 0 1px 2px rgba(14, 17, 20, .06), 0 8px 24px rgba(14, 17, 20, .06);
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0
}

html {
  scroll-behavior: smooth
}

body {
  font-family: var(--body);
  font-size: 16px;
  line-height: 1.55;
  color: var(--ink);
  background: var(--white);
  -webkit-font-smoothing: antialiased
}

img {
  max-width: 100%;
  display: block
}

a {
  color: inherit;
  text-decoration: none
}

button {
  font: inherit;
  cursor: pointer;
  border: 0;
  background: none;
  color: inherit
}

:focus-visible {
  outline: 3px solid var(--silver-deep);
  outline-offset: 3px;
  border-radius: 6px
}

.wrap {
  max-width: var(--wrap);
  margin-left: auto;
  margin-right: auto;
  padding-left: 20px;
  padding-right: 20px;
  width: 100%
}

@media (min-width:992px) {
  .wrap {
    padding-left: 32px;
    padding-right: 32px
  }
}

/* Bootstrap Integration Enhancements */
a {
  color: inherit;
  text-decoration: none
}

a:hover {
  color: inherit;
  text-decoration: none
}

.form-control,
.form-select {
  min-height: 48px;
  border: 1.5px solid var(--line);
  border-radius: var(--radius-sm);
  padding: 8px 14px;
  font-size: 15px;
  color: var(--ink);
  background-color: #fff;
  transition: border-color .15s ease-in-out, box-shadow .15s ease-in-out;
}

.form-control:focus,
.form-select:focus {
  border-color: var(--ink);
  box-shadow: 0 0 0 3px rgba(14, 17, 20, 0.12);
  outline: 0;
}

textarea.form-control {
  min-height: 110px;
}

.form-range {
  accent-color: var(--ink)
}

.save-card .form-range {
  accent-color: var(--silver)
}

.form-check-input {
  border: 1.5px solid var(--line);
  border-radius: 4px;
  width: 18px;
  height: 18px;
  margin-top: 3px;
}

.form-check-input:checked {
  background-color: var(--ink);
  border-color: var(--ink);
}

.form-check-input:focus {
  box-shadow: 0 0 0 3px rgba(14, 17, 20, 0.12);
  border-color: var(--ink);
}

/* Type scale */
.eyebrow {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--silver-deep)
}

.on-dark .eyebrow {
  color: #AEB5BD
}

h1,
h2,
h3,
h4 {
  font-family: var(--display);
  letter-spacing: -.02em;
  line-height: 1.05;
  font-weight: 700
}

.h-hero {
  font-size: clamp(44px, 6.4vw, 88px);
  font-weight: 800;
  letter-spacing: -.035em
}

.h1 {
  font-size: clamp(36px, 4.6vw, 60px)
}

.h2 {
  font-size: clamp(30px, 3.4vw, 44px)
}

.h3 {
  font-size: 24px;
  letter-spacing: -.015em
}

.lead {
  font-size: clamp(17px, 1.4vw, 20px);
  color: var(--muted);
  max-width: 640px
}

.on-dark .lead {
  color: var(--muted-dark)
}

.small {
  font-size: 13px;
  color: var(--muted)
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  height: 48px;
  padding: 0 22px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 15px;
  transition: .2s;
  white-space: nowrap
}

.btn-red {
  background: var(--ink);
  color: #fff
}

.btn-red:hover {
  background: var(--ink-3)
}

.on-dark .btn-red,
.dark .btn-red {
  background: var(--silver-tint);
  color: var(--ink)
}

.on-dark .btn-red:hover,
.dark .btn-red:hover {
  background: #fff
}

.btn-dark {
  background: var(--ink);
  color: #fff
}

.btn-dark:hover {
  background: var(--ink-3)
}

.btn-ghost {
  border: 1.5px solid currentColor
}

.btn-ghost:hover {
  background: rgba(127, 127, 127, .12)
}

.btn-white {
  background: #fff;
  color: var(--ink)
}

.btn-white:hover {
  background: var(--paper)
}

.btn-sm {
  height: 40px;
  padding: 0 16px;
  font-size: 14px
}

.link-arrow {
  font-weight: 600;
  display: inline-flex;
  gap: 8px;
  align-items: center
}

.link-arrow:after {
  content: "→";
  transition: .2s
}

.link-arrow:hover:after {
  transform: translateX(4px)
}

/* Powertrain chips */
.chip {
  white-space: nowrap;
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  height: 26px;
  padding: 0 10px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .02em
}

.chip:before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: currentColor
}

.chip.ev {
  background: var(--ink);
  color: #fff
}

.chip.ev:before {
  background: var(--silver)
}

.chip.phev {
  background: #DDE1E5;
  color: var(--ink)
}

.chip.hev {
  background: #EDEFF1;
  color: var(--ink-2)
}

.chip.ice {
  background: #EDEFF1;
  color: var(--muted)
}

/* Header */
.hdr {
  position: sticky;
  top: 0;
  z-index: 1030;
  background: rgba(255, 255, 255, .92);
  backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid var(--line)
}

.hdr .wrap {
  height: 72px;
  display: flex;
  align-items: center;
  gap: 28px
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--display);
  font-weight: 800;
  letter-spacing: .18em;
  font-size: 20px;
  transition: opacity .15s ease
}

.logo:hover {
  opacity: .85
}

.logo img,
.logo-img {
  height: 34px;
  max-height: 38px;
  width: auto;
  object-fit: contain;
  display: block;
  filter: contrast(1.05)
}

.logo small {
  font-size: 10px;
  letter-spacing: .12em;
  color: var(--muted);
  font-weight: 600;
  border-left: 1px solid var(--line);
  padding-left: 10px
}

.nav {
  display: flex;
  gap: 4px;
  margin-left: 12px
}

.nav a {
  padding: 10px 14px;
  border-radius: 999px;
  font-size: 15px;
  font-weight: 500;
  color: var(--ink-2)
}

.nav a:hover,
.nav a.active {
  background: var(--paper)
}

.hdr-cta {
  margin-left: auto;
  display: flex;
  gap: 10px;
  align-items: center
}

.burger {
  display: none;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid var(--line)
}

@media (max-width:1020px) {

  .nav,
  .hdr-cta .btn-ghost {
    display: none
  }

  .burger {
    display: inline-grid;
    place-items: center
  }

  .logo img,
  .logo-img {
    height: 28px
  }
}

@media (max-width:560px) {
  .hdr .wrap {
    gap: 12px
  }

  .logo img,
  .logo-img {
    height: 24px;
    max-width: 175px
  }

  .logo small {
    display: none
  }

  .hdr-cta .btn-red .full {
    display: none
  }

  .tabs {
    display: flex;
    max-width: 100%;
    overflow-x: auto
  }

  .tabs button {
    white-space: nowrap
  }
}

.hdr-cta .btn-red .short {
  display: none
}

@media (max-width:560px) {
  .hdr-cta .btn-red .short {
    display: inline
  }
}

.mobile-menu {
  display: none;
  position: fixed;
  inset: 72px 0 0;
  background: #fff;
  z-index: 1040;
  padding: 24px 20px;
  overflow: auto
}

.mobile-menu.open {
  display: block !important
}

@media (min-width:992px) {
  .mobile-menu {
    display: none !important
  }
}

.mobile-menu a {
  display: block;
  padding: 16px 4px;
  border-bottom: 1px solid var(--line);
  font-size: 20px;
  font-family: var(--display);
  font-weight: 600
}

/* mega menu */
.has-mega {
  position: relative;
  display: flex
}

.mega {
  position: absolute;
  top: 56px;
  left: -120px;
  width: 760px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 18px;
  display: none;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px
}

.has-mega:hover .mega,
.has-mega:focus-within .mega {
  display: grid
}

.mega a {
  padding: 10px;
  border-radius: 12px;
  display: block
}

.mega a:hover {
  background: var(--paper)
}

.mega img {
  aspect-ratio: 16/10;
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 10px;
  background: var(--paper)
}

.mega b {
  display: block;
  font-family: var(--display);
  font-size: 16px;
  margin: 6px 0 2px
}

/* Sections */
section {
  padding: 112px 0
}

.tight {
  padding: 72px 0
}

.paper {
  background: var(--paper)
}

.dark {
  background: var(--ink);
  color: #fff
}

.on-dark {
  color: #fff
}

.sec-head {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 32px;
  margin-bottom: 48px;
  flex-wrap: wrap
}

.sec-head .h2 {
  max-width: 720px;
  margin-top: 12px
}

@media (max-width:720px) {
  section {
    padding: 72px 0
  }
}

/* Hero */
.hero {
  position: relative;
  min-height: min(92vh, 860px);
  display: flex;
  align-items: flex-end;
  color: #fff;
  background: #1a1d21;
  overflow: hidden;
  padding: 0
}

.hero img.bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 62% 60%
}

.hero:after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(10, 12, 14, .88) 0%, rgba(10, 12, 14, .55) 38%, rgba(10, 12, 14, 0) 70%), linear-gradient(0deg, rgba(10, 12, 14, .75) 0%, rgba(10, 12, 14, 0) 40%)
}

.hero .wrap {
  position: relative;
  z-index: 2;
  width: 100%;
  padding-bottom: 72px;
  padding-top: 120px
}

.hero .h-hero {
  max-width: 820px;
  margin: 18px 0 22px
}

.hero .lead {
  color: #D6DADF;
  max-width: 560px
}

.hero .ctas {
  display: flex;
  gap: 12px;
  margin-top: 34px;
  flex-wrap: wrap
}

.hero-tag {
  position: absolute;
  right: 32px;
  bottom: 72px;
  z-index: 2;
  display: flex;
  align-items: center;
  gap: 14px;
  background: rgba(14, 17, 20, .55);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, .14);
  padding: 14px 18px;
  border-radius: 14px;
  font-size: 14px
}

.hero-tag img {
  width: 44px
}

@media (max-width:900px) {
  .hero {
    display: block;
    min-height: 0;
    background: var(--ink)
  }

  .hero:after {
    display: none
  }

  .hero img.bg {
    position: relative;
    height: 300px;
    object-position: 60% 60%
  }

  .hero .wrap {
    padding-top: 36px;
    padding-bottom: 56px
  }

  .hero-tag {
    display: none
  }
}

/* Powertrain tiles */
.pt-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px
}

.pt {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 28px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  min-height: 260px;
  transition: .2s;
  background: #fff
}

.pt:hover {
  border-color: var(--ink);
  transform: translateY(-2px)
}

.pt.lead-ev {
  background: var(--ink);
  color: #fff;
  border-color: var(--ink)
}

.pt.lead-ev p {
  color: var(--muted-dark)
}

.pt h3 {
  font-size: 26px
}

.pt p {
  color: var(--muted);
  font-size: 15px;
  flex: 1
}

.pt .go {
  font-weight: 600;
  font-size: 14px
}

.pt .ico {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  background: var(--paper)
}

.pt.lead-ev .ico {
  background: #2A3038
}

@media (max-width:1020px) {
  .pt-grid {
    grid-template-columns: repeat(2, 1fr)
  }
}

@media (max-width:560px) {
  .pt-grid {
    grid-template-columns: 1fr
  }
}

/* Model cards */
.model-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px
}

.mcard {
  border-radius: var(--radius);
  overflow: hidden;
  background: #fff;
  border: 1px solid var(--line);
  display: flex;
  flex-direction: column;
  transition: .25s
}

.mcard:hover {
  box-shadow: var(--shadow);
  transform: translateY(-3px)
}

.mcard .img {
  aspect-ratio: 16/9;
  background: var(--paper);
  overflow: hidden
}

.mcard .img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: .6s
}

.mcard:hover .img img {
  transform: scale(1.03)
}

.mcard .body {
  padding: 26px 28px 28px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  flex: 1
}

.mcard .top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px
}

.mcard h3 {
  font-size: 32px;
  letter-spacing: -.02em
}

.mcard .base {
  font-size: 13px;
  color: var(--muted);
  margin-top: 4px
}

.mcard .stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  padding-top: 16px;
  border-top: 1px solid var(--line)
}

.mcard .stats b {
  display: block;
  font-family: var(--display);
  font-size: 20px
}

.mcard .stats span {
  font-size: 12px;
  color: var(--muted)
}

.mcard .acts {
  display: flex;
  gap: 10px;
  margin-top: 6px;
  flex-wrap: wrap
}

@media (max-width:860px) {
  .model-grid {
    grid-template-columns: 1fr
  }
}

/* Savings band */
.save {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 56px;
  align-items: center
}

.save-card {
  background: var(--ink-2);
  border: 1px solid var(--line-dark);
  border-radius: 20px;
  padding: 32px
}

.save-card label {
  display: flex;
  justify-content: space-between;
  font-size: 14px;
  color: var(--muted-dark);
  margin-bottom: 12px
}

.save-card label b {
  color: #fff;
  font-size: 16px
}

.big-num {
  font-family: var(--display);
  font-size: clamp(48px, 6vw, 76px);
  font-weight: 800;
  letter-spacing: -.035em;
  line-height: 1
}

.big-num.red {
  color: #DDE1E5
}

input[type=range] {
  width: 100%;
  accent-color: var(--ink);
  height: 28px
}

.save-card input[type=range] {
  accent-color: var(--silver)
}

.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-top: 22px
}

.split div {
  background: rgba(255, 255, 255, .04);
  border: 1px solid var(--line-dark);
  border-radius: 12px;
  padding: 14px
}

.split span {
  font-size: 12px;
  color: var(--muted-dark)
}

.split b {
  display: block;
  font-family: var(--display);
  font-size: 22px
}

@media (max-width:900px) {
  .save {
    grid-template-columns: 1fr
  }
}

/* Stats */
.stats-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid var(--line)
}

.stat {
  padding: 36px 32px 8px 0
}

.stat+.stat {
  padding-left: 32px;
  border-left: 1px solid var(--line)
}

.stat b {
  display: block;
  font-family: var(--display);
  font-size: clamp(44px, 5vw, 64px);
  font-weight: 800;
  letter-spacing: -.035em;
  line-height: 1
}

.stat b em {
  font-style: normal;
  color: var(--silver-deep)
}

.stat p {
  margin-top: 12px;
  color: var(--muted);
  font-size: 15px;
  max-width: 300px
}

.stat .src {
  font-size: 12px;
  margin-top: 8px;
  color: #8A9098
}

@media (max-width:860px) {
  .stats-row {
    grid-template-columns: 1fr
  }

  .stat+.stat {
    padding-left: 0;
    border-left: 0;
    border-top: 1px solid var(--line)
  }
}

/* Promise */
.promise {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px
}

.pr {
  background: #fff;
  border-radius: var(--radius);
  padding: 28px;
  border: 1px solid var(--line)
}

.pr .k {
  font-family: var(--display);
  font-size: 34px;
  font-weight: 800;
  letter-spacing: -.03em
}

.pr h4 {
  font-size: 17px;
  margin: 10px 0 8px;
  letter-spacing: -.01em
}

.pr p {
  font-size: 14px;
  color: var(--muted)
}

@media (max-width:1020px) {
  .promise {
    grid-template-columns: repeat(2, 1fr)
  }
}

@media (max-width:560px) {
  .promise {
    grid-template-columns: 1fr
  }
}

/* Flagship band */
.flag {
  position: relative;
  background: #000;
  color: #fff;
  overflow: hidden;
  padding: 0
}

.flag img {
  width: 100%;
  height: auto;
  opacity: .95
}

.flag .over {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: flex-start
}

.flag .over .wrap {
  padding-top: 80px;
  width: 100%
}

.flag .h1 {
  max-width: 620px;
  margin: 14px 0 16px
}

/* Story */
.story {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: start
}

.timeline {
  list-style: none;
  border-left: 2px solid var(--line);
  margin-left: 6px
}

.timeline li {
  position: relative;
  padding: 0 0 28px 28px
}

.timeline li:before {
  content: "";
  position: absolute;
  left: -7px;
  top: 6px;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: #fff;
  border: 2px solid var(--ink)
}

.timeline li.now:before {
  background: var(--ink);
  border-color: var(--ink)
}

.timeline b {
  font-family: var(--display);
  font-size: 18px;
  display: block
}

.timeline span {
  color: var(--muted);
  font-size: 15px
}

@media (max-width:860px) {
  .story {
    grid-template-columns: 1fr;
    gap: 40px
  }
}

/* CTA band */
.cta-band {
  background: var(--ink-2);
  color: #fff;
  border-radius: 24px;
  padding: 56px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 32px;
  flex-wrap: wrap
}

.cta-band .h2 {
  max-width: 620px
}

.cta-band p {
  color: #C9CED4;
  margin-top: 12px
}

/* Footer */
footer {
  background: var(--ink);
  color: #C9CED4;
  padding: 80px 0 36px;
  font-size: 14px
}

.f-grid {
  display: grid;
  grid-template-columns: 1.4fr repeat(4, 1fr);
  gap: 32px
}

footer h5 {
  color: #fff;
  font-size: 13px;
  letter-spacing: .12em;
  text-transform: uppercase;
  margin-bottom: 16px;
  font-family: var(--body)
}

footer li {
  list-style: none;
  margin: 10px 0
}

footer a:hover {
  color: #fff
}

.f-bottom {
  border-top: 1px solid var(--line-dark);
  margin-top: 56px;
  padding-top: 24px;
  display: flex;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  color: #8A9098
}

@media (max-width:900px) {
  .f-grid {
    grid-template-columns: 1fr 1fr
  }
}

/* Floating chat */
.chat {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 1050;
  display: flex;
  align-items: center;
  gap: 10px;
  background: #1F2A24;
  color: #fff;
  border-radius: 999px;
  padding: 12px 18px 12px 14px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, .25);
  font-weight: 600;
  font-size: 14px
}

.chat i {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: #25D366;
  display: grid;
  place-items: center
}

/* ---------- Model page ---------- */
.m-hero {
  background: var(--paper);
  padding: 48px 0 48px;
  overflow: hidden
}

.m-hero .grid {
  display: grid;
  grid-template-columns: .85fr 1.15fr;
  gap: 40px;
  align-items: center
}

.m-hero h1 {
  font-size: clamp(56px, 8vw, 112px);
  font-weight: 800;
  letter-spacing: -.04em;
  margin: 14px 0 6px
}

.m-hero .sub {
  font-size: 20px;
  color: var(--ink-2);
  font-family: var(--display);
  font-weight: 600
}

.m-hero .base {
  color: var(--muted);
  font-size: 14px;
  margin-top: 6px
}

.m-hero .img img {
  width: 100%;
  border-radius: 20px
}

.m-hero .ctas {
  display: flex;
  gap: 10px;
  margin-top: 28px;
  flex-wrap: wrap
}

.price-line {
  margin-top: 22px;
  font-size: 14px;
  color: var(--muted)
}

.price-line b {
  color: var(--ink);
  font-size: 16px
}

.keybar {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  background: var(--ink);
  color: #fff;
  border-radius: 20px;
  margin-top: 40px
}

.keybar div {
  padding: 26px 28px
}

.keybar div+div {
  border-left: 1px solid var(--line-dark)
}

.keybar b {
  display: block;
  font-family: var(--display);
  font-size: clamp(24px, 2.6vw, 34px);
  font-weight: 700;
  letter-spacing: -.02em
}

.keybar span {
  font-size: 13px;
  color: var(--muted-dark)
}

@media (max-width:900px) {
  .m-hero .grid {
    grid-template-columns: 1fr
  }

  .keybar {
    grid-template-columns: 1fr 1fr
  }

  .keybar div:nth-child(3) {
    border-left: 0
  }

  .keybar div:nth-child(n+3) {
    border-top: 1px solid var(--line-dark)
  }
}

.subnav {
  position: sticky;
  top: 72px;
  z-index: 1020;
  background: #fff;
  border-bottom: 1px solid var(--line)
}

.subnav .wrap {
  display: flex;
  gap: 6px;
  height: 60px;
  align-items: center;
  overflow-x: auto
}

.subnav a {
  padding: 8px 14px;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 500;
  color: var(--muted);
  white-space: nowrap
}

.subnav a:hover,
.subnav a.active {
  background: var(--paper);
  color: var(--ink);
  font-weight: 600
}

.subnav .btn {
  margin-left: auto
}

.colour {
  display: grid;
  grid-template-columns: 1.4fr .6fr;
  gap: 40px;
  align-items: center
}

.colour .stage {
  background: var(--paper);
  border-radius: 20px;
  overflow: hidden
}

.swatches {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin: 20px 0 10px
}

.sw {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 2px solid #fff;
  box-shadow: 0 0 0 1px var(--line);
  cursor: pointer
}

.sw.on {
  box-shadow: 0 0 0 2px var(--ink)
}

.sw-name {
  font-weight: 600
}

@media (max-width:860px) {
  .colour {
    grid-template-columns: 1fr
  }
}

.feat {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px
}

.fcard {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 28px
}

.fcard .n {
  font-family: var(--display);
  font-size: 14px;
  color: var(--silver-deep);
  font-weight: 700
}

.fcard h4 {
  font-size: 21px;
  margin: 10px 0 8px;
  letter-spacing: -.015em
}

.fcard p {
  color: var(--muted);
  font-size: 15px
}

@media (max-width:760px) {
  .feat {
    grid-template-columns: 1fr
  }
}

.kenya {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: center
}

.kenya ol {
  list-style: none;
  counter-reset: k
}

.kenya li {
  counter-increment: k;
  position: relative;
  padding: 18px 0 18px 56px;
  border-bottom: 1px solid var(--line-dark)
}

.kenya li:before {
  content: counter(k, decimal-leading-zero);
  position: absolute;
  left: 0;
  top: 18px;
  font-family: var(--display);
  font-weight: 700;
  color: #AEB5BD
}

.kenya li b {
  display: block;
  font-family: var(--display);
  font-size: 18px;
  margin-bottom: 4px
}

.kenya li span {
  color: var(--muted-dark);
  font-size: 15px
}

.kenya img {
  border-radius: 20px
}

@media (max-width:860px) {
  .kenya {
    grid-template-columns: 1fr
  }
}

.specs {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0 48px
}

.specs .row {
  display: grid;
  grid-template-columns: 200px 1fr;
  gap: 16px;
  padding: 14px 0;
  border-bottom: 1px solid var(--line);
  font-size: 15px
}

.specs .row span {
  color: var(--muted)
}

@media (max-width:860px) {
  .specs {
    grid-template-columns: 1fr
  }

  .specs .row {
    grid-template-columns: 140px 1fr
  }
}

details.acc {
  border-top: 1px solid var(--line)
}

details.acc:last-child {
  border-bottom: 1px solid var(--line)
}

details.acc summary {
  list-style: none;
  cursor: pointer;
  padding: 22px 0;
  font-family: var(--display);
  font-weight: 700;
  font-size: 20px;
  display: flex;
  justify-content: space-between
}

details.acc summary:after {
  content: "+";
  font-weight: 400;
  font-size: 26px;
  line-height: 1
}

details.acc[open] summary:after {
  content: "–"
}

details.acc ul {
  columns: 2;
  column-gap: 48px;
  padding: 0 0 24px 18px;
  color: var(--ink-2)
}

details.acc li {
  margin: 0 0 10px;
  break-inside: avoid
}

@media (max-width:760px) {
  details.acc ul {
    columns: 1
  }
}

.own {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px
}

@media (max-width:860px) {
  .own {
    grid-template-columns: 1fr
  }
}

.sticky-buy {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 1035;
  background: #fff;
  border-top: 1px solid var(--line);
  display: none;
  padding: 12px 20px;
  gap: 10px
}

@media (max-width:720px) {
  .sticky-buy {
    display: flex
  }

  .sticky-buy .btn {
    flex: 1;
    justify-content: center
  }

  .chat {
    bottom: 84px
  }
}

/* ---------- Content pages ---------- */
.page-hero {
  background: var(--ink);
  color: #fff;
  padding: 96px 0 80px
}

.page-hero .h1 {
  max-width: 860px;
  margin: 14px 0 18px
}

.three {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px
}

.type-card {
  border-radius: var(--radius);
  padding: 30px;
  border: 1px solid var(--line);
  background: #fff;
  display: flex;
  flex-direction: column;
  gap: 12px
}

.type-card h3 {
  font-size: 28px
}

.type-card dl {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 8px 14px;
  font-size: 14px;
  margin-top: 6px
}

.type-card dt {
  color: var(--muted)
}

.type-card .eg {
  margin-top: auto;
  padding-top: 16px;
  border-top: 1px solid var(--line);
  font-size: 14px
}

@media (max-width:960px) {
  .three {
    grid-template-columns: 1fr
  }
}

.bars {
  display: flex;
  flex-direction: column;
  gap: 18px
}

.bar-row {
  display: grid;
  grid-template-columns: 150px 1fr 120px;
  gap: 16px;
  align-items: center;
  font-size: 15px
}

.bar-track {
  height: 14px;
  background: #EDEFF1;
  border-radius: 999px;
  overflow: hidden
}

.bar-fill {
  height: 100%;
  border-radius: 999px;
  background: var(--silver-satin)
}

.bar-fill.red {
  background: var(--ink)
}

.bar-row b {
  text-align: right;
  font-family: var(--display)
}

@media (max-width:640px) {
  .bar-row {
    grid-template-columns: 90px 1fr 90px;
    font-size: 13px
  }
}

.pc {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px
}

.pc>div {
  border-radius: var(--radius);
  padding: 24px;
  border: 1px solid var(--line)
}

.pc h4 {
  font-size: 16px;
  margin-bottom: 10px
}

.pc ul {
  padding-left: 18px;
  font-size: 14px;
  color: var(--ink-2)
}

.pc li {
  margin-bottom: 6px
}

.faq {
  max-width: 860px
}

.two {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px
}

@media (max-width:860px) {

  .two,
  .pc {
    grid-template-columns: 1fr
  }
}

.note {
  font-size: 13px;
  color: var(--muted);
  margin-top: 20px;
  max-width: 860px
}

/* Calculator */
.calc {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  align-items: start
}

.panel {
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 32px;
  background: #fff
}

.panel.dark {
  background: var(--ink);
  border-color: var(--ink);
  color: #fff;
  position: sticky;
  top: 96px
}

.field {
  margin-bottom: 26px
}

.field>label {
  display: flex;
  justify-content: space-between;
  font-weight: 600;
  font-size: 15px;
  margin-bottom: 10px
}

.field>label output {
  font-family: var(--display);
  font-size: 18px
}

.seg {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 8px
}

.seg button {
  border: 1.5px solid var(--line);
  border-radius: 12px;
  padding: 12px 14px;
  text-align: left;
  font-size: 14px
}

.seg button b {
  display: block;
  font-family: var(--display);
  font-size: 17px
}

.seg button.on {
  border-color: var(--ink);
  background: var(--paper)
}

.num {
  display: flex;
  align-items: center;
  border: 1.5px solid var(--line);
  border-radius: 12px;
  height: 50px;
  padding: 0 14px;
  gap: 8px
}

.num input {
  border: 0;
  outline: 0;
  font: inherit;
  font-size: 17px;
  font-weight: 600;
  width: 100%
}

.num span {
  color: var(--muted);
  font-size: 14px;
  white-space: nowrap
}

.res-line {
  display: flex;
  justify-content: space-between;
  padding: 14px 0;
  border-bottom: 1px solid var(--line-dark);
  font-size: 15px
}

.res-line b {
  font-family: var(--display);
  font-size: 18px
}

@media (max-width:900px) {
  .calc {
    grid-template-columns: 1fr
  }

  .panel.dark {
    position: static
  }
}

/* Forms */
.form {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px
}

.form .full {
  grid-column: 1/-1
}

.form label {
  font-size: 14px;
  font-weight: 600;
  display: block;
  margin-bottom: 6px
}

.form input,
.form select,
.form textarea {
  width: 100%;
  height: 50px;
  border: 1.5px solid var(--line);
  border-radius: 12px;
  padding: 0 14px;
  font: inherit;
  background: #fff
}

.form textarea {
  height: 110px;
  padding: 12px 14px
}

.tabs {
  display: inline-flex;
  background: var(--paper);
  border-radius: 999px;
  padding: 4px;
  margin-bottom: 28px
}

.tabs button {
  padding: 10px 20px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 15px
}

.tabs button.on {
  background: #fff;
  box-shadow: var(--shadow)
}

.check {
  display: flex;
  gap: 10px;
  font-size: 14px;
  color: var(--muted);
  align-items: flex-start
}

.check input {
  width: 18px;
  height: 18px;
  margin-top: 2px
}

@media (max-width:640px) {
  .form {
    grid-template-columns: 1fr
  }
}

.info-card {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 28px
}

.info-card h4 {
  font-size: 18px;
  margin-bottom: 12px
}

.info-card p,
.info-card li {
  font-size: 15px;
  color: var(--ink-2)
}

.info-card ul {
  list-style: none
}

.info-card li {
  padding: 6px 0
}

.map {
  border-radius: 20px;
  background: linear-gradient(135deg, #E9ECEF, #DDE1E5);
  aspect-ratio: 16/9;
  display: grid;
  place-items: center;
  color: var(--muted);
  font-size: 14px;
  border: 1px solid var(--line)
}

.tag-todo {
  display: inline-block;
  background: #FFF4D6;
  color: #7A5B00;
  border: 1px solid #F0D88A;
  border-radius: 6px;
  font-size: 12px;
  font-weight: 600;
  padding: 2px 8px
}

/* Anchor scroll offset */
section[id] {
  scroll-margin-top: 140px;
}

@media (max-width:860px) {
  #tdgrid {
    grid-template-columns: 1fr !important;
  }
}

/* ---------- Bootstrap compatibility ----------
   Wrappers that hold a Bootstrap .row must not also be two-column grids,
   otherwise the whole row is forced into the first grid column. */
.container-xl.two,
.container-xl.save,
.container-xl.story,
.container-xl.calc,
.container-xl.colour,
.container-xl.kenya {
  display: block
}

/* Bootstrap's .h1/.h2/.h3 and h5 would otherwise thin the brand headings */
.h1,
.h2,
.h3 {
  font-weight: 700;
  line-height: 1.05
}

footer h5 {
  font-weight: 700
}

/* Rows that are also brand grids: the grid sets the layout, so Bootstrap's
   column widths and gutters are switched off for them. */
.row:is(.pt-grid, .model-grid, .promise, .three, .feat, .own, .pc, .stats-row, .specs, .keybar, .split, .grid) {
  --bs-gutter-x: 0;
  --bs-gutter-y: 0
}

.row:is(.pt-grid, .model-grid, .promise, .three, .feat, .own, .pc, .stats-row, .specs, .keybar, .split, .grid)>*,
.specs .row>* {
  width: auto;
  max-width: none;
  min-width: 0
}

/* Forms */
.form>.row {
  grid-column: 1/-1
}

.form .form-check {
  padding-left: 0
}

.form .form-check-input {
  flex: 0 0 18px;
  width: 18px;
  height: 18px;
  padding: 0;
  margin-left: 0
}

.form .form-check-label {
  font-weight: 400;
  margin-bottom: 0
}

/* Misc */
.map {
  width: 100%
}

.tabs button.on {
  color: var(--ink) !important
}

.dark .text-muted,
.on-dark .text-muted,
.save-card .text-muted {
  color: var(--muted-dark) !important
}

@media (max-width:767.98px) {
  .sec-head.flex-column {
    align-items: flex-start
  }
}

.subnav a.btn-red,
.subnav a.btn-red:hover {
  color: #fff;
  background: var(--ink)
}

.type-card .chip {
  align-self: flex-start
}