/* Konext Leasing — Night Drive (public SEO site) */
@import url("https://fonts.googleapis.com/css2?family=Outfit:wght@400;500;600;700&family=Syne:wght@600;700;800&display=swap");

:root {
  --color-bg: #0b0f14;
  --color-bg-elevated: #121821;
  --color-surface: #161d28;
  --color-text: #f2f5f8;
  --color-muted: #9aa8b8;
  --color-primary: #3ddcff;
  --color-primary-dim: #1a9bb8;
  --color-accent: #f5a524;
  --color-border: rgb(255 255 255 / 10%);
  --color-glow: rgb(61 220 255 / 22%);
  --font-display: "Syne", ui-sans-serif, sans-serif;
  --font-body: "Outfit", ui-sans-serif, sans-serif;
  --max-width: 1120px;
  --radius: 4px;
  --header-h: 4.25rem;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--color-text);
  background: var(--color-bg);
  background-image:
    radial-gradient(ellipse 80% 50% at 10% -10%, rgb(61 220 255 / 12%), transparent 55%),
    radial-gradient(ellipse 60% 40% at 90% 0%, rgb(245 165 36 / 8%), transparent 50%),
    linear-gradient(180deg, #0b0f14 0%, #0e131a 100%);
  background-attachment: fixed;
  padding-bottom: 4.5rem;
}

img {
  max-width: 100%;
  height: auto;
}

a {
  color: var(--color-primary);
  text-decoration: none;
  transition: color 0.2s ease;
}

a:hover {
  color: #7eebff;
}

.container {
  width: min(100% - 2rem, var(--max-width));
  margin-inline: auto;
}

/* —— Header —— */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgb(11 15 20 / 85%);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--color-border);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.875rem 0;
  flex-wrap: wrap;
}

.logo {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.35rem;
  letter-spacing: 0.04em;
  color: var(--color-text);
  text-decoration: none;
  line-height: 1.1;
}

.logo:hover {
  color: var(--color-text);
  text-decoration: none;
}

.logo .logo-mark {
  display: block;
}

.logo .logo-sub {
  display: block;
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 0.7rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--color-primary);
  margin-top: 0.15rem;
}

.nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.15rem 1.1rem;
  align-items: center;
}

.nav a {
  color: var(--color-muted);
  font-size: 0.9rem;
  font-weight: 500;
  text-decoration: none;
}

.nav a:hover,
.nav a[aria-current="page"] {
  color: var(--color-text);
}

.header-cta {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
}

/* —— Buttons —— */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.7rem 1.25rem;
  font-family: var(--font-body);
  font-size: 0.9375rem;
  font-weight: 600;
  border-radius: var(--radius);
  border: 1px solid transparent;
  cursor: pointer;
  text-decoration: none;
  transition: background 0.2s, color 0.2s, box-shadow 0.25s, border-color 0.2s;
}

.btn:hover {
  text-decoration: none;
}

.btn-primary {
  background: var(--color-primary);
  color: #041018;
  box-shadow: 0 0 0 0 var(--color-glow);
}

.btn-primary:hover {
  background: #7eebff;
  color: #041018;
  box-shadow: 0 0 28px var(--color-glow);
}

.btn-secondary {
  background: transparent;
  color: var(--color-text);
  border-color: rgb(255 255 255 / 22%);
}

.btn-secondary:hover {
  border-color: var(--color-primary);
  color: var(--color-primary);
  background: rgb(61 220 255 / 6%);
}

/* —— Hero (full-bleed) —— */
.hero {
  position: relative;
  min-height: min(92vh, 760px);
  display: flex;
  align-items: flex-end;
  padding: 0;
  overflow: hidden;
  isolation: isolate;
}

.hero-atmosphere {
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(105deg, rgb(11 15 20 / 92%) 28%, rgb(11 15 20 / 55%) 55%, rgb(11 15 20 / 75%) 100%),
    radial-gradient(ellipse 70% 80% at 75% 60%, rgb(61 220 255 / 18%), transparent 55%),
    radial-gradient(ellipse 50% 40% at 20% 90%, rgb(245 165 36 / 12%), transparent 50%),
    linear-gradient(180deg, #0b0f14 0%, #151c28 40%, #0b0f14 100%);
}

.hero-atmosphere::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 45%;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1200 280' fill='none'%3E%3Cpath d='M40 220h180l40-28h120l55-55h90l30 28h95l25-22h140l35 35h80l20-18h160l28 28h77' stroke='%233ddcff' stroke-opacity='0.15' stroke-width='2'/%3E%3Cpath d='M80 240c180-8 320-40 480-40s320 28 520 40' stroke='%23f5a524' stroke-opacity='0.12' stroke-width='3'/%3E%3Cpath d='M620 200c40-50 90-70 150-55 35 9 55 35 70 55' stroke='%23f2f5f8' stroke-opacity='0.08' stroke-width='1.5'/%3E%3C/svg%3E")
    center bottom / cover no-repeat;
  opacity: 0.9;
  pointer-events: none;
}

.hero .container {
  position: relative;
  padding: 5rem 0 4rem;
  width: min(100% - 2rem, var(--max-width));
}

.hero-brand {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(2.75rem, 9vw, 5.5rem);
  letter-spacing: 0.02em;
  line-height: 0.95;
  margin: 0 0 0.35rem;
  color: var(--color-text);
  animation: fadeUp 0.7s ease both;
}

.hero-brand-sub {
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 0.85rem;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--color-primary);
  margin: 0 0 1.75rem;
  animation: fadeUp 0.7s ease 0.08s both;
}

.hero h1 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(1.65rem, 3.8vw, 2.65rem);
  line-height: 1.15;
  margin: 0 0 1rem;
  max-width: 18ch;
  animation: fadeUp 0.7s ease 0.12s both;
}

.hero .lead {
  font-size: 1.125rem;
  color: var(--color-muted);
  max-width: 42ch;
  margin: 0 0 1.75rem;
  animation: fadeUp 0.7s ease 0.18s both;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-bottom: 1.25rem;
  animation: fadeUp 0.7s ease 0.24s both;
}

.trust-line {
  font-size: 0.8125rem;
  color: var(--color-muted);
  letter-spacing: 0.02em;
  margin: 0;
  animation: fadeUp 0.7s ease 0.3s both;
}

.trust-line span {
  color: var(--color-accent);
}

/* —— Page hero (inner pages) —— */
.page-hero {
  position: relative;
  padding: 3rem 0 2rem;
  overflow: hidden;
}

.page-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 50% 80% at 100% 0%, rgb(61 220 255 / 10%), transparent 55%),
    linear-gradient(180deg, rgb(18 24 33 / 80%), transparent);
  pointer-events: none;
}

.page-hero h1 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(1.75rem, 3.5vw, 2.5rem);
  line-height: 1.15;
  margin: 0 0 1rem;
  max-width: 22ch;
}

.answer-block {
  font-size: 1.125rem;
  color: var(--color-muted);
  max-width: 62ch;
  margin: 0;
}

.answer-block strong {
  color: var(--color-text);
  font-weight: 600;
}

/* —— Sections —— */
section {
  padding: 3rem 0;
}

section.band {
  background: var(--color-bg-elevated);
  border-top: 1px solid var(--color-border);
  border-bottom: 1px solid var(--color-border);
}

section h2 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(1.35rem, 2.5vw, 1.75rem);
  margin: 0 0 0.75rem;
  line-height: 1.25;
  max-width: 28ch;
}

.section-answer {
  color: var(--color-muted);
  max-width: 62ch;
  margin: 0 0 1.5rem;
  font-size: 1.05rem;
}

section h3 {
  font-family: var(--font-display);
  font-size: 1.1rem;
  margin: 1.5rem 0 0.5rem;
}

.reveal {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.55s ease, transform 0.55s ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: none;
}

/* —— Lists / proof —— */
.proof-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 0;
  border-top: 1px solid var(--color-border);
}

.proof-list li {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 1rem;
  padding: 1.15rem 0;
  border-bottom: 1px solid var(--color-border);
  align-items: start;
}

.proof-list .idx {
  font-family: var(--font-display);
  font-weight: 700;
  color: var(--color-primary);
  font-size: 0.9rem;
  padding-top: 0.15rem;
}

.proof-list strong {
  display: block;
  margin-bottom: 0.25rem;
}

.proof-list p {
  margin: 0;
  color: var(--color-muted);
  font-size: 0.975rem;
}

.bullets {
  padding-left: 1.15rem;
  margin: 0.5rem 0 0;
  color: var(--color-muted);
}

.bullets li {
  margin-bottom: 0.45rem;
}

.bullets li::marker {
  color: var(--color-primary);
}

.checklist {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 0.75rem;
}

.checklist li {
  position: relative;
  padding-left: 1.75rem;
  color: var(--color-muted);
}

.checklist li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.45rem;
  width: 0.65rem;
  height: 0.65rem;
  border: 2px solid var(--color-accent);
  border-radius: 1px;
}

.checklist li strong {
  display: block;
  color: var(--color-text);
  margin-bottom: 0.15rem;
}

/* —— Tables —— */
.table-wrap {
  overflow-x: auto;
  margin: 1rem 0 0;
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
}

.compare-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.95rem;
}

.compare-table th,
.compare-table td {
  text-align: left;
  padding: 0.85rem 1rem;
  border-bottom: 1px solid var(--color-border);
  vertical-align: top;
}

.compare-table th {
  font-family: var(--font-display);
  font-weight: 600;
  background: rgb(61 220 255 / 6%);
  color: var(--color-text);
}

.compare-table td {
  color: var(--color-muted);
}

.compare-table tr:last-child td {
  border-bottom: none;
}

.compare-table .yes {
  color: var(--color-primary);
}

/* —— FAQ —— */
.faq-list {
  display: grid;
  gap: 0;
  border-top: 1px solid var(--color-border);
}

.faq-item {
  padding: 1.15rem 0;
  border-bottom: 1px solid var(--color-border);
}

.faq-item h3 {
  margin: 0 0 0.5rem;
  font-size: 1.05rem;
  font-family: var(--font-display);
}

.faq-item p {
  margin: 0;
  color: var(--color-muted);
}

/* —— Pathway / CTA —— */
.pathway {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1.5rem;
  margin-top: 1rem;
}

.pathway a {
  font-weight: 600;
  text-underline-offset: 0.25em;
}

.pathway a:hover {
  text-decoration: underline;
}

.cta-band {
  margin: 0;
  padding: 2.5rem 0;
  text-align: left;
  border-top: 1px solid var(--color-border);
  background:
    radial-gradient(ellipse 60% 100% at 0% 50%, rgb(61 220 255 / 10%), transparent 55%);
}

.cta-band h2 {
  color: var(--color-text);
  margin-top: 0;
  max-width: 22ch;
}

.cta-band p {
  color: var(--color-muted);
  max-width: 48ch;
  margin-bottom: 1.25rem;
}

.disclaimer {
  border-left: 3px solid var(--color-accent);
  background: rgb(245 165 36 / 8%);
  padding: 0.9rem 1rem;
  font-size: 0.875rem;
  color: #e8d4a8;
  margin: 1.5rem 0;
}

/* —— Breadcrumbs —— */
.breadcrumbs {
  font-size: 0.8125rem;
  color: var(--color-muted);
  padding: 1rem 0 0;
}

.breadcrumbs a {
  color: var(--color-muted);
}

.breadcrumbs a:hover {
  color: var(--color-primary);
}

.breadcrumbs ol {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
}

.breadcrumbs li:not(:last-child)::after {
  content: "/";
  margin-left: 0.35rem;
  color: rgb(255 255 255 / 25%);
}

.prose {
  max-width: 65ch;
  color: var(--color-muted);
}

.prose p {
  margin: 0 0 1rem;
}

/* —— Footer —— */
.site-footer {
  background: #070a0e;
  color: var(--color-muted);
  padding: 3rem 0 2rem;
  margin-top: 0;
  border-top: 1px solid var(--color-border);
}

.footer-grid {
  display: grid;
  gap: 1.75rem;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
}

.site-footer a {
  color: #c5d0dc;
}

.site-footer a:hover {
  color: var(--color-primary);
}

.site-footer h4 {
  font-family: var(--font-display);
  color: var(--color-text);
  margin: 0 0 0.75rem;
  font-size: 0.9rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.site-footer ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.site-footer li {
  margin-bottom: 0.4rem;
  font-size: 0.9rem;
}

.footer-brand {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.25rem;
  color: var(--color-text);
  letter-spacing: 0.04em;
  margin: 0 0 0.5rem;
}

.footer-bottom {
  margin-top: 2rem;
  padding-top: 1.25rem;
  border-top: 1px solid var(--color-border);
  font-size: 0.8125rem;
}

/* —— Sticky mobile CTA —— */
.sticky-cta {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 60;
  padding: 0.65rem 1rem calc(0.65rem + env(safe-area-inset-bottom));
  background: rgb(11 15 20 / 92%);
  backdrop-filter: blur(10px);
  border-top: 1px solid var(--color-border);
  box-shadow: 0 -8px 32px rgb(0 0 0 / 35%);
}

.sticky-cta .btn {
  width: 100%;
}

@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(18px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

@media (max-width: 768px) {
  .sticky-cta {
    display: block;
  }

  .header-cta .btn-primary {
    display: none;
  }

  .header-inner {
    flex-direction: column;
    align-items: flex-start;
  }

  .nav {
    width: 100%;
  }

  .hero {
    min-height: 85vh;
    align-items: flex-end;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }

  .reveal {
    opacity: 1;
    transform: none;
  }
}
