/* Drive Electric Perks */
:root {
  --ink: #0a0d0b;
  --ink-2: #39423d;
  --ink-3: #6a746e;
  --paper: #ffffff;
  --wash: #f4f6f4;
  --line: #e2e7e3;
  --green: #22e07e;
  --green-d: #0a7a43;
  --green-hi: #4df09b;
  --night: #060807;
  --night-2: #101411;
  --night-line: #222a25;
  --night-ink: #a3aea8;
  --ok: #22e07e;
  --display: "Geist", -apple-system, BlinkMacSystemFont, "Helvetica Neue", Arial, sans-serif;
  --sans: "Geist", -apple-system, BlinkMacSystemFont, "Helvetica Neue", Arial, sans-serif;
  --mono: "Geist Mono", ui-monospace, "SF Mono", Menlo, Consolas, monospace;
  --r: 14px;
  color-scheme: light;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 90px; -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--paper); color: var(--ink); font: 16.5px/1.65 var(--sans); -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; }
img, svg { max-width: 100%; }
a { color: inherit; }
.wrap { display: block; max-width: 1180px; margin: 0 auto; padding: 0 28px; }
.wrap.narrow { max-width: 780px; }
h1, h2, h3 { font-family: var(--display); font-weight: 600; letter-spacing: -0.035em; line-height: 1.08; margin: 0; text-wrap: balance; }
h1 i, h2 i { font-style: normal; color: var(--green-d); }
p { margin: 0 0 1em; }
.eyebrow { font: 500 12px/1.4 var(--mono); letter-spacing: 0.12em; text-transform: uppercase; color: var(--green-d); margin: 0 0 18px; }

/* buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 9px; font: 600 15px/1 var(--sans); text-decoration: none; border: 0; cursor: pointer; padding: 15px 22px; border-radius: 999px; transition: transform .15s ease, background .15s ease, box-shadow .15s ease; white-space: nowrap; }
.btn:hover { transform: translateY(-1px); }
.btn:active { transform: translateY(0); }
.btn-go { background: var(--green); color: #04130b; box-shadow: 0 10px 26px -12px rgba(34, 224, 126, .9); }
.btn-go:hover { background: var(--green-hi); }
.btn-light { background: #fff; color: var(--night); padding: 11px 18px; font-size: 14px; }
.btn-ghost { background: transparent; color: var(--ink); box-shadow: inset 0 0 0 1px var(--line); }
.btn-ghost:hover { box-shadow: inset 0 0 0 1px var(--ink); }
:focus-visible { outline: 2px solid var(--green-d); outline-offset: 3px; border-radius: 6px; }

/* top bar */
.top { position: sticky; top: 0; z-index: 20; background: rgba(6, 8, 7, .86); backdrop-filter: saturate(1.4) blur(14px); -webkit-backdrop-filter: saturate(1.4) blur(14px); border-bottom: 1px solid var(--night-line); }
.top .wrap { display: flex; align-items: center; gap: 28px; height: 68px; }
.logo { display: inline-flex; align-items: center; gap: 11px; text-decoration: none; color: #fff; flex-shrink: 0; }
.logo .mark { display: block; }
.wm { font: 600 17.5px/1 var(--display); letter-spacing: -0.035em; }
.wm i { font-style: normal; color: var(--green-hi); }
.top nav { margin-left: auto; display: flex; gap: 26px; }
.top nav a { color: var(--night-ink); text-decoration: none; font-size: 14.5px; font-weight: 500; transition: color .15s; }
.top nav a:hover { color: #fff; }
.strip { margin: 0; background: var(--wash); border-bottom: 1px solid var(--line); font-size: 12.5px; color: var(--ink-3); padding: 9px 0; }
.strip a { color: var(--ink-2); }

/* hero */
.hero { position: relative; overflow: hidden; background: var(--night); color: #fff; }
.hero::before { content: ""; position: absolute; inset: 0; background-image: radial-gradient(rgba(255, 255, 255, .16) 1px, transparent 1.3px); background-size: 26px 26px; -webkit-mask-image: radial-gradient(ellipse 65% 85% at 78% 45%, #000, transparent 72%); mask-image: radial-gradient(ellipse 65% 85% at 78% 45%, #000, transparent 72%); }
.hero::after { content: ""; position: absolute; width: 780px; height: 780px; right: -200px; top: -260px; background: radial-gradient(circle, rgba(34, 224, 126, .38), transparent 62%); pointer-events: none; }
.route { position: absolute; left: 0; bottom: 0; width: 100%; height: 100%; pointer-events: none; opacity: .55; }
.hero .wrap { position: relative; z-index: 1; display: grid; grid-template-columns: minmax(0, 1.12fr) minmax(0, .88fr); gap: 64px; align-items: center; padding-top: 92px; padding-bottom: 104px; }
.hero h1 { text-wrap: wrap; font-size: clamp(42px, 5.4vw, 72px); line-height: .98; letter-spacing: -0.05em; font-weight: 600; }
.hero h1 i { color: var(--green-hi); }
.hero .eyebrow { color: var(--green-hi); }
.lede { font-size: 19px; line-height: 1.6; color: var(--night-ink); max-width: 33em; margin: 28px 0 0; }
.lede b { color: #fff; font-weight: 600; }
.herofoot { display: flex; flex-wrap: wrap; gap: 10px 22px; margin: 34px 0 0; padding: 0; list-style: none; font-size: 14px; color: var(--night-ink); }
.herofoot li { display: flex; align-items: center; gap: 8px; }
.herofoot li::before { content: ""; width: 15px; height: 15px; border-radius: 50%; background: rgba(31, 191, 117, .16) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 15 15'%3E%3Cpath d='M4.3 7.7l2.1 2.1 4.3-4.6' fill='none' stroke='%231fbf75' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/contain no-repeat; }

/* link card */
.linkcard { background: #fff; color: var(--ink); border-radius: 22px; padding: 26px; box-shadow: 0 40px 80px -30px rgba(0, 0, 0, .55), 0 0 0 1px rgba(255, 255, 255, .08); }
.lc-top { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 16px; }
.lc-label { font: 700 16px/1 var(--display); letter-spacing: -0.02em; }
.lc-tag { display: inline-flex; align-items: center; gap: 7px; font-size: 12px; font-weight: 500; color: var(--ink-2); background: var(--wash); border: 1px solid var(--line); border-radius: 999px; padding: 6px 11px; }
.lc-tag b { width: 7px; height: 7px; border-radius: 50%; background: var(--ok); box-shadow: 0 0 0 3px rgba(31, 191, 117, .2); }
.lc-row { display: flex; gap: 8px; margin-bottom: 10px; }
.lc-url { flex: 1; min-width: 0; display: block; font: 500 14.5px/1 var(--mono); color: var(--ink); text-decoration: none; background: var(--wash); border: 1px solid var(--line); border-radius: 12px; padding: 16px 15px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.lc-url:hover { border-color: var(--ink); }
.lc-copy { display: inline-flex; align-items: center; gap: 7px; font: 600 14px/1 var(--sans); color: var(--ink); background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 0 15px; cursor: pointer; transition: border-color .15s, color .15s; }
.lc-copy:hover { border-color: var(--ink); }
.lc-copy.ok { color: var(--green-d); border-color: var(--green-d); }
.lc-open { display: flex; width: 100%; border-radius: 12px; padding: 17px; font-size: 15.5px; }
.lc-note { font-size: 13px; line-height: 1.55; color: var(--ink-3); margin: 14px 0 0; }

/* fact band */
.facts { border-bottom: 1px solid var(--line); }
.facts .wrap { display: grid; grid-template-columns: repeat(4, 1fr); padding-top: 0; padding-bottom: 0; }
.facts .wrap > div { padding: 30px 26px 30px 0; border-right: 1px solid var(--line); margin-right: 26px; }
.facts .wrap > div:last-child { border: 0; margin: 0; }
.facts b { display: block; font: 700 25px/1.1 var(--display); letter-spacing: -0.03em; margin-bottom: 7px; }
.facts span { font-size: 14px; color: var(--ink-3); line-height: 1.45; display: block; }

/* sections */
.sec { padding: 104px 0; }
.sec.wash { background: var(--wash); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.sechead { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 40px; align-items: end; margin-bottom: 54px; }
.sechead h2 { font-size: clamp(34px, 4.2vw, 54px); letter-spacing: -0.038em; }
.sechead p { color: var(--ink-2); font-size: 17.5px; margin: 0; max-width: 32em; justify-self: end; }
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; margin: 0; padding: 0; list-style: none; border-top: 1px solid var(--ink); }
.steps li { padding: 30px 34px 6px 0; border-right: 1px solid var(--line); margin-right: 34px; }
.steps li:last-child { border: 0; margin: 0; padding-right: 0; }
.steps .n { font: 500 15px/1 var(--mono); color: var(--green-d); letter-spacing: .04em; display: block; margin-bottom: 22px; }
.steps h3 { font-size: 22px; margin-bottom: 10px; }
.steps p { color: var(--ink-2); font-size: 15.5px; margin: 0; }

/* guide cards */
.cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; margin: 0; padding: 0; list-style: none; }
.cards li { margin: 0; }
.cards a { position: relative; display: flex; flex-direction: column; height: 100%; min-height: 228px; background: #fff; border: 1px solid var(--line); border-radius: var(--r); padding: 22px 22px 24px; text-decoration: none; transition: border-color .18s, transform .18s, box-shadow .18s; }
.cards a:hover { border-color: var(--ink); transform: translateY(-3px); box-shadow: 0 18px 34px -22px rgba(14, 17, 22, .4); }
.cards .num { font: 500 12.5px/1 var(--mono); color: var(--ink-3); display: flex; justify-content: space-between; align-items: center; margin-bottom: auto; padding-bottom: 34px; }
.cards .num svg { color: var(--ink-3); transition: color .18s, transform .18s; }
.cards a:hover .num svg { color: var(--green-d); transform: translate(2px, -2px); }
.cards strong { font: 700 20px/1.15 var(--display); letter-spacing: -0.028em; display: block; margin-bottom: 9px; }
.cards em { font-style: normal; font-size: 14.5px; line-height: 1.5; color: var(--ink-3); display: block; }
.cards li.feature { grid-column: span 2; }
.cards li.feature a { background: var(--night); border-color: var(--night); color: #fff; }
.cards li.feature .num, .cards li.feature em { color: var(--night-ink); }
.cards li.feature strong { font-size: 30px; max-width: 12em; }

/* faq */
.faq { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: 64px; align-items: start; }
.faq h2 { font-size: clamp(34px, 4.2vw, 54px); letter-spacing: -0.038em; position: sticky; top: 110px; }
.faq h2 + p { color: var(--ink-2); }
details { border-top: 1px solid var(--line); }
details:last-child { border-bottom: 1px solid var(--line); }
summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 20px; padding: 24px 0; font: 600 19px/1.3 var(--display); letter-spacing: -0.02em; }
summary::-webkit-details-marker { display: none; }
summary::after { content: ""; flex-shrink: 0; width: 30px; height: 30px; border-radius: 50%; border: 1px solid var(--line); background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3E%3Cpath d='M15 10v10M10 15h10' stroke='%230a0d0b' stroke-width='1.6' stroke-linecap='round'/%3E%3C/svg%3E") center no-repeat; transition: transform .2s, background-color .2s; }
details[open] summary::after { transform: rotate(45deg); background-color: var(--wash); }
details p { color: var(--ink-2); margin: -6px 0 26px; max-width: 38em; }
details a { color: var(--green-d); }

/* owner note */
.note { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 28px; align-items: start; max-width: 880px; }
.note .av { width: 60px; height: 60px; font-size: 24px; }
.note blockquote { margin: 0; font: 500 clamp(23px, 2.5vw, 32px)/1.3 var(--display); letter-spacing: -0.03em; }
.note cite { display: block; margin-top: 20px; font: 500 14.5px/1.4 var(--sans); color: var(--ink-3); font-style: normal; }
.av { display: inline-grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; background: var(--night); color: #fff; font: 600 14px/1 var(--display); flex-shrink: 0; }

/* page heads */
.pagehead { background: var(--wash); border-bottom: 1px solid var(--line); padding: 66px 0 56px; }
.pagehead h1 { font-size: clamp(36px, 5vw, 62px); letter-spacing: -0.04em; max-width: 17em; }
.pagehead .standfirst { font-size: 20px; line-height: 1.5; color: var(--ink-2); max-width: 35em; margin: 22px 0 0; }
.pagehead.plain .wrap { max-width: 780px; }
.crumb { font: 500 12.5px/1 var(--mono); color: var(--ink-3); text-transform: uppercase; letter-spacing: .08em; margin: 0 0 24px; display: flex; gap: 10px; }
.crumb a { color: var(--green-d); text-decoration: none; }
.crumb a:hover { text-decoration: underline; }
.meta { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 14px; margin-top: 30px; font-size: 14px; color: var(--ink-3); }
.meta b { color: var(--ink); font-weight: 600; }
.meta .sep { width: 3px; height: 3px; border-radius: 50%; background: #b5bcc8; }

/* article */
.layout { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: 72px; align-items: start; padding-top: 56px; padding-bottom: 30px; }
.k-tesla-pad, .k-plain .prose, .k-index main > .wrap:first-of-type { padding-top: 52px; }
.prose { font-size: 17.5px; line-height: 1.72; color: #1d222b; max-width: 720px; }
.prose > p:first-child { font-size: 19px; color: var(--ink); }
.prose h2 { font-size: 29px; letter-spacing: -0.032em; margin: 58px 0 16px; }
.prose > h2:first-child { margin-top: 0; }
.prose h3 { font-size: 20px; letter-spacing: -0.022em; margin: 36px 0 8px; }
.prose a { color: var(--green-d); text-decoration-thickness: 1px; text-underline-offset: 3px; }
.prose a:hover { color: var(--ink); }
.prose ul, .prose ol { padding: 0; margin: 0 0 1.2em; list-style: none; counter-reset: li; }
.prose li { position: relative; padding-left: 30px; margin-bottom: 11px; }
.prose ul li::before { content: ""; position: absolute; left: 4px; top: .68em; width: 12px; height: 2px; background: var(--green-d); border-radius: 2px; }
.prose ol li { counter-increment: li; padding-left: 40px; }
.prose ol li::before { content: counter(li, decimal-leading-zero); position: absolute; left: 0; top: .28em; font: 500 13px/1.5 var(--mono); color: var(--green-d); }
.prose strong { font-weight: 650; color: var(--ink); }
.prose table { width: 100%; border-collapse: collapse; margin: 8px 0 1.6em; font-size: 15.5px; line-height: 1.5; border-top: 1px solid var(--ink); }
.prose th, .prose td { text-align: left; padding: 14px 16px 14px 0; border-bottom: 1px solid var(--line); vertical-align: top; }
.prose th { font: 600 14.5px/1.4 var(--sans); color: var(--ink); width: 30%; }
.prose tr:first-child th:not(:only-of-type) { font: 500 12px/1.4 var(--mono); text-transform: uppercase; letter-spacing: .07em; color: var(--ink-3); width: auto; }
.tablewrap { overflow-x: auto; }
.offer { border: 1px solid var(--line); border-radius: 20px; padding: 32px; margin: 36px 0 12px; background: linear-gradient(180deg, #fff, var(--wash)); }
.offer h2 { margin-top: 0 !important; }
.offer .cta { display: inline-flex; background: var(--green); color: #04130b !important; font: 600 15px/1 var(--sans); text-decoration: none; padding: 16px 24px; border-radius: 999px; margin-top: 6px; box-shadow: 0 8px 22px -10px rgba(34, 224, 126, .8); }
.offer .cta:hover { background: var(--green-hi); }
.cta-note { font-size: 13.5px; color: var(--ink-3); margin: 14px 0 0; }

.rail { position: sticky; top: 100px; display: grid; gap: 16px; }
.railbox { border: 1px solid var(--line); border-radius: var(--r); padding: 22px; }
.railtitle { font: 500 12px/1 var(--mono); text-transform: uppercase; letter-spacing: .09em; color: var(--ink-3); margin: 0 0 16px; }
.rail ol { margin: 0; padding: 0; list-style: none; display: grid; gap: 11px; }
.rail ol a { font-size: 14.5px; line-height: 1.35; color: var(--ink-2); text-decoration: none; display: block; padding-left: 14px; border-left: 2px solid var(--line); transition: color .15s, border-color .15s; }
.rail ol a:hover { color: var(--ink); border-color: var(--green); }
.railcta { background: var(--night); border-color: var(--night); color: #fff; }
.railcta .railtitle { color: var(--green-hi); }
.railcta p { font-size: 14.5px; line-height: 1.5; color: var(--night-ink); }
.railcta .btn { width: 100%; border-radius: 11px; padding: 14px; font-size: 14.5px; }
.railcta .btn-ghost { margin-top: 8px; color: #fff; background: transparent; border: 0; box-shadow: inset 0 0 0 1px var(--night-line); }
.railcta .btn-ghost:hover { box-shadow: inset 0 0 0 1px #fff; }
.railcta .lc-copy.ok { color: #49dc9a; }

.k-plain main, .k-article main { padding-bottom: 40px; }

/* end cta */
.endcta { position: relative; overflow: hidden; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 440px); gap: 56px; align-items: center; background: var(--night); color: #fff; border-radius: 28px; padding: 60px; margin: 60px 0 100px; }
.endcta::before { content: ""; position: absolute; width: 560px; height: 560px; right: -160px; bottom: -300px; background: radial-gradient(circle, rgba(34, 224, 126, .42), transparent 62%); }
.endcta > * { position: relative; }
.endcta h2 { font-size: clamp(32px, 3.8vw, 48px); letter-spacing: -0.038em; margin-bottom: 18px; }
.endcta h2 i { color: var(--green-hi); }
.endcta .eyebrow { color: var(--green-hi); }
.endcta p { color: var(--night-ink); margin: 0; }
.endcta p a { color: #fff; }
.endcta .lc-note { color: var(--ink-3); margin-top: 14px; }

/* footer */
.foot { background: var(--night); color: var(--night-ink); padding: 76px 0 40px; font-size: 14.5px; }
.footgrid { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, 1.2fr) minmax(0, .7fr); gap: 56px; padding-bottom: 54px; }
.footbrand p { margin: 20px 0 0; max-width: 25em; line-height: 1.6; }
.foottitle { font: 500 12px/1 var(--mono); text-transform: uppercase; letter-spacing: .09em; color: #6d7686; margin: 6px 0 18px; }
.foot ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.foot ul a { color: #d5dae3; text-decoration: none; }
.foot ul a:hover { color: #fff; text-decoration: underline; text-underline-offset: 3px; }
.legal { border-top: 1px solid var(--night-line); padding-top: 28px; font-size: 12.5px; line-height: 1.65; color: #7b8494; }
.legal p { max-width: 78em; }

@media (max-width: 1020px) {
  .hero .wrap { grid-template-columns: minmax(0, 1fr); gap: 48px; padding-top: 64px; padding-bottom: 72px; }
  .cards { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .layout { grid-template-columns: minmax(0, 1fr); gap: 40px; }
  .rail { position: static; grid-template-columns: 1fr 1fr; }
  .endcta { grid-template-columns: minmax(0, 1fr); padding: 40px; gap: 36px; }
  .faq { grid-template-columns: minmax(0, 1fr); gap: 30px; }
  .faq h2 { position: static; }
  .sechead { grid-template-columns: minmax(0, 1fr); gap: 18px; }
  .sechead p { justify-self: start; }
  .top nav { display: none; }
  .top .btn { margin-left: auto; }
}
@media (max-width: 700px) {
  .wrap { padding: 0 20px; }
  .sec { padding: 72px 0; }
  .facts .wrap { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .facts .wrap > div { border-right: 0; margin-right: 0; padding: 22px 12px 22px 0; border-bottom: 1px solid var(--line); }
  .facts .wrap > div:nth-last-child(-n+2) { border-bottom: 0; }
  .steps { grid-template-columns: minmax(0, 1fr); }
  .steps li { border-right: 0; margin-right: 0; padding-right: 0; padding-bottom: 26px; border-bottom: 1px solid var(--line); }
  .steps li:last-child { border-bottom: 0; }
  .cards { grid-template-columns: minmax(0, 1fr); }
  .cards li.feature { grid-column: auto; }
  .cards a { min-height: 0; }
  .rail, .footgrid { grid-template-columns: minmax(0, 1fr); }
  .footgrid { gap: 38px; }
  .endcta { padding: 30px 22px; border-radius: 22px; margin-bottom: 70px; }
  .linkcard { padding: 20px; border-radius: 18px; }
  .lc-tag { display: none; }
  .note { grid-template-columns: 1fr; gap: 18px; }
  .pagehead { padding: 46px 0 40px; }
  .wm { font-size: 16px; }
  .prose { font-size: 16.5px; }
}
@media (prefers-reduced-motion: reduce) { * { transition: none !important; scroll-behavior: auto !important; } }
