:root {
  --ink: #f4f6fb;
  --muted: #d1d4dc;
  --canvas: #f7f7f7;
  --card: #ffffff;
  --accent: #d4af37;
  --line: #e3e4e7;
  --shadow-soft: 0 20px 60px rgba(0, 0, 0, 0.08);
  --radius: 18px;
  --shell: min(1200px, 100% - 32px);
  --pad: clamp(16px, 4vw, 28px);
}

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

body {
  margin: 0;
  font-family: 'Manrope', 'Porsche Next', 'Segoe UI', sans-serif;
  color: var(--ink);
  background: #05060a;
  line-height: 1.6;
  position: relative;
  overflow-x: hidden;
}

main section {
  position: relative;
}

.page-backdrop {
  position: fixed;
  inset: 0;
  z-index: -1;
  background: #0b0c10 center bottom/cover no-repeat;
  filter: saturate(1.05);
  transition: background-image 0.9s ease, opacity 0.7s ease;
}

.page-backdrop::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(5, 6, 9, 0.55), rgba(5, 6, 9, 0.45));
}

.section-shell {
  width: var(--shell);
  margin: 0 auto;
  padding: 0 var(--pad);
  padding-left: max(var(--pad), env(safe-area-inset-left));
  padding-right: max(var(--pad), env(safe-area-inset-right));
}

h1,
h2,
h3,
h4 {
  margin: 0;
  font-family: 'Space Grotesk', 'Porsche Next', 'Segoe UI', sans-serif;
  letter-spacing: -0.015em;
  color: var(--ink);
}

p {
  margin: 0;
}

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

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px var(--pad);
  padding-left: max(var(--pad), env(safe-area-inset-left));
  padding-right: max(var(--pad), env(safe-area-inset-right));
  background: rgba(10, 12, 16, 0.62);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  color: #f4f6fb;
}

.logo {
  font-size: 1.1rem;
  font-weight: 700;
  letter-spacing: 0.6rem;
  text-indent: 0.6rem;
}

.logo.small {
  letter-spacing: 0.45rem;
  text-indent: 0.45rem;
  font-size: 0.95rem;
}

.primary-nav {
  display: flex;
  align-items: center;
  gap: 24px;
}

.primary-nav a {
  font-weight: 600;
  font-size: 0.95rem;
  position: relative;
  padding: 6px 0;
}

.primary-nav a::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 2px;
  background: var(--accent);
  transform: scaleX(0);
  transform-origin: center;
  transition: transform 0.3s ease;
}

.primary-nav a:hover::after,
.primary-nav a:focus-visible::after {
  transform: scaleX(1);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 14px;
}

.pill-link {
  padding: 10px 16px;
  border-radius: 999px;
  border: 1px solid var(--line);
  font-weight: 600;
  background: rgba(255, 255, 255, 0.08);
  color: #f5f7fc;
}

.pill-link:hover {
  border-color: var(--accent);
}

.subscribe-cta {
  background: linear-gradient(120deg, #f6e27a, #d4af37);
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 999px;
  padding: 11px 18px;
  font-weight: 800;
  letter-spacing: 0.02em;
  box-shadow: 0 14px 36px rgba(212, 175, 55, 0.45);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.subscribe-cta:hover,
.subscribe-cta:focus-visible {
  transform: translateY(-1px);
  box-shadow: 0 18px 44px rgba(212, 175, 55, 0.6);
}

.subscribe-cta:active {
  transform: translateY(0);
}

.menu-toggle {
  display: none;
  width: 42px;
  height: 42px;
  border-radius: 12px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.08);
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 6px;
}

.menu-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  background: var(--ink);
}

.intro {
  padding: clamp(38px, 9vw, 96px) 0 clamp(30px, 6vw, 64px);
  background: linear-gradient(135deg, rgba(10, 12, 18, 0.72), rgba(8, 9, 13, 0.78));
  color: #f1f1f1;
}

.intro-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(12px, 3vw, 20px);
  align-items: center;
}

.intro-copy h1 {
  font-size: clamp(1.9rem, 4vw, 2.6rem);
  color: #fff;
}

.intro-copy .lede {
  color: #d9dbe2;
  max-width: 54ch;
}

.intro-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 12px;
}

.intro-media {
  display: none;
}

.hero {
  position: relative;
  min-height: 64vh;
  overflow: hidden;
  padding: clamp(40px, 8vw, 82px) 0;
  color: #fff;
  background: linear-gradient(180deg, rgba(6, 7, 12, 0.55), rgba(6, 7, 12, 0.45));
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 55% 22%, rgba(0, 0, 0, 0.55), transparent 42%),
    radial-gradient(circle at 20% 40%, rgba(0, 0, 0, 0.22), transparent 42%),
    linear-gradient(120deg, rgba(0, 0, 0, 0.55), rgba(0, 0, 0, 0.18) 40%, rgba(0, 0, 0, 0.55));
  z-index: 1;
}

.hero-backdrop {
  position: absolute;
  inset: 0;
  background: #000 center bottom/cover no-repeat;
  transform: scale(1.02);
  transition: background-image 0.7s ease, opacity 0.7s ease;
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 640px;
  display: grid;
  gap: 14px;
  padding-bottom: clamp(20px, 4vw, 36px);
}

.hero h2 {
  font-size: clamp(1.9rem, 3.8vw, 2.6rem);
}

.hero-grid {
  position: relative;
  z-index: 2;
  display: grid;
  gap: 16px;
  align-items: end;
}

.eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.2em;
  font-size: 0.75rem;
  color: #d7d7d7;
}

.lede {
  font-size: 1.05rem;
  color: #e8e8e8;
  max-width: 50ch;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 8px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 20px;
  border-radius: 999px;
  font-weight: 700;
  border: 1px solid transparent;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.btn.primary {
  background: var(--accent);
  color: #fff;
  box-shadow: 0 18px 40px rgba(212, 175, 55, 0.35);
}

.btn.ghost {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.35);
  color: #fff;
}

.btn:hover,
.btn:focus-visible {
  transform: translateY(-1px);
  box-shadow: 0 14px 32px rgba(0, 0, 0, 0.12);
}

.hero-stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 12px;
  margin-top: 8px;
}

.stat {
  padding: 12px 14px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.stat-label {
  display: block;
  font-size: 0.8rem;
  color: #d6d6d6;
  margin-bottom: 6px;
  letter-spacing: 0.05em;
}

.stat-value {
  font-size: 1.05rem;
  font-weight: 700;
}

.hero-controls {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 12px;
  color: #fff;
}

.nav-btn {
  width: 48px;
  height: 48px;
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, 0.4);
  background: rgba(0, 0, 0, 0.35);
  color: #fff;
  cursor: pointer;
  font-size: 1.1rem;
}

.nav-btn:hover,
.nav-btn:focus-visible {
  border-color: #fff;
}

.video-hero {
  position: relative;
  background: transparent;
  padding: clamp(24px, 4vw, 48px) 0;
  min-height: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: visible;
  margin: 0;
  border: none;
}

.video-frame {
  position: relative;
  width: min(1100px, 92vw);
  aspect-ratio: 16 / 9;
  overflow: hidden;
  border-radius: 22px;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.06), rgba(255, 255, 255, 0.02));
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow:
    0 25px 70px rgba(0, 0, 0, 0.45),
    0 12px 30px rgba(0, 0, 0, 0.25),
    inset 0 0 0 1px rgba(255, 255, 255, 0.06);
  transform-style: preserve-3d;
  transform: translateZ(0);
  transition: transform 0.28s ease, box-shadow 0.28s ease;
}

.video-frame::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.25), rgba(0, 0, 0, 0.2));
  pointer-events: none;
}

.video-frame:hover {
  transform: translateY(-6px) scale(1.02) rotateX(-1deg);
  box-shadow:
    0 30px 80px rgba(0, 0, 0, 0.55),
    0 14px 36px rgba(0, 0, 0, 0.28),
    inset 0 0 0 1px rgba(255, 255, 255, 0.08);
}

.video-frame iframe,
.video-frame video.hero-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: none;
  pointer-events: none;
  filter: saturate(1.05) contrast(1.05);
  object-fit: cover;
}

.video-controls {
  position: absolute;
  right: clamp(18px, 4vw, 30px);
  bottom: clamp(18px, 4vw, 30px);
  z-index: 3;
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.dot-group {
  display: flex;
  align-items: center;
  gap: 10px;
}

.dot {
  width: 11px;
  height: 11px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.6);
  background: rgba(255, 255, 255, 0.2);
  cursor: pointer;
  transition: transform 0.2s ease, background 0.2s ease;
}

.dot.is-active {
  background: #fff;
  transform: scale(1.1);
}

.section-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  text-align: left;
  gap: 8px;
  margin-bottom: 18px;
  flex-wrap: wrap;
}

.model-range .section-header {
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  gap: 6px;
}

.tools .section-header {
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  gap: 6px;
}

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

.model-range {
  padding: clamp(52px, 8vw, 96px) 0 clamp(38px, 7vw, 82px);
  background: rgba(10, 12, 16, 0.55);
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  color: #f4f6fb;
}

.model-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
}

.model-card {
  background: rgba(255, 255, 255, 0.08);
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: var(--shadow-soft);
  display: grid;
  grid-template-rows: auto 1fr;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.model-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 22px 60px rgba(0, 0, 0, 0.1);
}

.model-thumb {
  position: relative;
  aspect-ratio: 16 / 9;
  background: #0b0c0f;
  overflow: hidden;
}

.model-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center bottom;
  transition: transform 0.35s ease;
}

.model-card:hover .model-thumb img {
  transform: scale(1.05);
}

.model-body {
  padding: 16px 18px 18px;
  display: grid;
  gap: 10px;
  color: #f6f7fb;
}

.model-meta {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  color: var(--muted);
  font-weight: 600;
  font-size: 0.9rem;
}

.chip {
  padding: 6px 12px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.12);
  font-weight: 700;
  font-size: 0.82rem;
}

.model-actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 6px;
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-weight: 700;
  color: var(--accent);
}

.text-link::after {
  content: "\2192";
  font-size: 0.9rem;
  transition: transform 0.2s ease;
}

.text-link:hover::after {
  transform: translateX(2px);
}

.gallery-section,
.gallery-grid,
.gallery-card,
.gallery-head,
.gallery-strip,
.gallery-thumb {
  display: none;
}

.tools {
  padding: clamp(42px, 7vw, 80px) clamp(16px, 6vw, 64px);
  background: radial-gradient(circle at 20% 20%, rgba(255, 255, 255, 0.1), rgba(10, 12, 16, 0.85));
  border-bottom: 1px solid rgba(255, 255, 255, 0.04);
  border-top: 1px solid rgba(255, 255, 255, 0.04);
  color: #eef1f8;
}

.tool-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 16px;
  margin-top: 18px;
}

.tool-card {
  padding: 18px;
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: var(--shadow-soft);
  display: grid;
  gap: 10px;
}

.story {
  position: relative;
  background: rgba(8, 9, 13, 0.8);
  color: #fff;
  padding: clamp(42px, 8vw, 90px) 0;
}

.story-grid {
  display: grid;
  align-items: stretch;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
  min-height: 420px;
  gap: 0;
  overflow: hidden;
  border-radius: var(--radius);
  box-shadow: var(--shadow-soft);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.story-media {
  background: radial-gradient(circle at 20% 20%, rgba(0, 0, 0, 0.35), rgba(0, 0, 0, 0.6));
}

.story-copy {
  padding: clamp(32px, 6vw, 56px);
  display: grid;
  gap: 14px;
  align-content: center;
  background: linear-gradient(140deg, rgba(13, 15, 18, 0.94), rgba(13, 15, 18, 0.75));
}

.story-media.collage {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 6px;
  padding: 10px;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.35));
}

.story-media.collage img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 12px;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.35);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.story-media.collage img:hover {
  transform: translateY(-4px);
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.45);
}


.story-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.site-footer {
  padding: clamp(32px, 6vw, 56px) var(--pad);
  padding-left: max(var(--pad), env(safe-area-inset-left));
  padding-right: max(var(--pad), env(safe-area-inset-right));
  background: #0d0f12;
  color: #e4e4e4;
}

.footer-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  flex-wrap: wrap;
  padding-bottom: 20px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-columns {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 16px;
  margin: 22px 0;
}

.footer-columns h4 {
  margin-bottom: 10px;
}

.footer-columns ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 6px;
  color: #b9bcc2;
}

.footer-columns a:hover {
  color: #fff;
}

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding-top: 14px;
  color: #9ca0a8;
}

.form-page {
  background: linear-gradient(160deg, rgba(5, 6, 9, 0.6), rgba(5, 6, 9, 0.35));
  color: #f4f6fb;
  padding: clamp(42px, 8vw, 96px) 0 clamp(46px, 9vw, 104px);
}

.form-hero {
  display: grid;
  gap: 10px;
  margin-bottom: 18px;
}

.form-hero h1 {
  color: #f8f9fc;
  font-size: clamp(1.8rem, 3.4vw, 2.4rem);
}

.form-hero .lede {
  color: #d6dbe5;
  max-width: 60ch;
}

.form-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
  gap: 18px;
  align-items: start;
}

.form-card,
.info-card {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: var(--radius);
  box-shadow: var(--shadow-soft);
  padding: clamp(16px, 3vw, 22px);
  color: #f8f9fc;
}

.form-card h3,
.info-card h3 {
  margin-bottom: 6px;
}

.form-card p.muted,
.info-card p.muted {
  color: #c6cad3;
}

.field-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 12px;
  margin-top: 10px;
}

.field {
  display: grid;
  gap: 6px;
}

.field label {
  font-weight: 700;
  font-size: 0.95rem;
  color: #e7eaf2;
}

.field.span-2 {
  grid-column: 1 / -1;
}

.input-control {
  width: 100%;
  padding: 12px 14px;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  background: rgba(255, 255, 255, 0.08);
  color: #f8f9fc;
  font-size: 1rem;
}

.input-control:focus {
  outline: 2px solid var(--accent);
  outline-offset: 0;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(212, 175, 55, 0.18);
}

.input-control::placeholder {
  color: #b7bcc8;
}

select.input-control {
  appearance: none;
  background: transparent;
  background-image: linear-gradient(45deg, transparent 50%, #f4f6fb 50%), linear-gradient(135deg, #f4f6fb 50%, transparent 50%);
  background-position: calc(100% - 18px) center, calc(100% - 12px) center;
  background-size: 8px 8px, 8px 8px;
  background-repeat: no-repeat;
  border-color: rgba(255, 255, 255, 0.22);
}

select.input-control:hover {
  border-color: var(--accent);
  background: rgba(212, 175, 55, 0.12);
}

select.input-control option:hover,
select.input-control option:focus,
select.input-control option:checked {
  background: var(--accent);
  color: #fff;
}

select.input-control option {
  background: rgba(0, 0, 0, 0.7);
  color: #f8f9fc;
}

textarea.input-control {
  min-height: 120px;
  resize: vertical;
}

input[type='checkbox'],
input[type='radio'] {
  accent-color: var(--accent);
}

.option-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.option-chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 10px 12px;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  background: rgba(255, 255, 255, 0.08);
  cursor: pointer;
  color: #f4f6fb;
  font-weight: 600;
}

.option-chip input {
  margin: 0;
}

.form-footer {
  margin-top: 14px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
}

.info-card ul {
  margin: 10px 0 0;
  padding-left: 18px;
  display: grid;
  gap: 6px;
  color: #c6cad3;
}

.form-alert {
  margin-top: 12px;
  padding: 12px 14px;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  background: rgba(255, 255, 255, 0.06);
  color: #eef1f8;
  font-weight: 700;
}

.form-alert.success {
  border-color: rgba(54, 197, 126, 0.6);
  background: rgba(54, 197, 126, 0.12);
  color: #c3f3d8;
}

.form-alert.error {
  border-color: rgba(212, 175, 55, 0.6);
  background: rgba(212, 175, 55, 0.12);
  color: #f9edc3;
}

@media (max-width: 1024px) {
  .intro-grid {
    grid-template-columns: 1fr;
  }

  .form-layout {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
    padding: clamp(32px, 7vw, 64px) 0;
  }

  .hero-grid {
    align-items: start;
  }

  .story-grid {
    grid-template-columns: 1fr;
    min-height: auto;
  }

  .story-media {
    min-height: 240px;
  }
}

@media (max-width: 900px) {
  .primary-nav {
    display: none;
    position: absolute;
    left: 16px;
    right: 16px;
    top: calc(100% + 10px);
    width: auto;
    background: rgba(10, 12, 16, 0.9);
    padding: 14px;
    border: 1px solid var(--line);
    border-radius: 14px;
    box-shadow: var(--shadow-soft);
    flex-direction: column;
    gap: 10px;
  }

  body.nav-open .primary-nav {
    display: flex;
  }

  .menu-toggle {
    display: inline-flex;
  }

  .logo {
    letter-spacing: 0.45rem;
    text-indent: 0.45rem;
  }

  .header-actions {
    gap: 10px;
  }

  body.nav-open {
    overflow: hidden;
  }

  .hero {
    align-items: center;
    padding-top: 56px;
  }

  .hero-content {
    max-width: 100%;
  }

  .hero-controls {
    position: static;
    margin-top: 12px;
  }
}

@media (max-width: 640px) {
  .video-hero {
    height: auto;
  }

  .video-frame {
    width: 100%;
    aspect-ratio: 16 / 9;
  }

  .hero-stats {
    grid-template-columns: 1fr;
  }

  .tool-grid {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
    padding: 24px 0 30px;
  }

  .hero-actions {
    width: 100%;
  }

  .hero-actions .btn {
    flex: 1 1 140px;
  }

  .story-copy {
    padding: 26px 18px;
  }

  .footer-top {
    align-items: flex-start;
  }

.form-footer {
  flex-direction: column;
  align-items: flex-start;
  }
}

/* Chatbot widget */
.chatbot-launcher {
  position: fixed;
  right: clamp(12px, 3vw, 22px);
  bottom: clamp(12px, 3vw, 22px);
  z-index: 1200;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.18);
  background: rgba(255, 255, 255, 0.12);
  color: #f4f6fb;
  display: grid;
  place-items: center;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.28);
  cursor: pointer;
}

.chatbot-brain {
  width: 26px;
  height: 26px;
}

.chatbot-panel {
  position: fixed;
  right: clamp(12px, 3vw, 22px);
  bottom: clamp(76px, 9vw, 110px);
  width: min(360px, 92vw);
  max-height: min(520px, 78vh);
  background: rgba(8, 10, 14, 0.92);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 18px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.38);
  display: none;
  flex-direction: column;
  overflow: hidden;
  z-index: 1199;
  backdrop-filter: blur(10px);
}

.chatbot-panel.is-open {
  display: flex;
}

.chatbot-header {
  padding: 12px 14px;
  background: rgba(255, 255, 255, 0.05);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.chatbot-header h4 {
  margin: 0;
  color: #f8f9fc;
  font-size: 1rem;
}

.chatbot-body {
  padding: 12px;
  display: grid;
  gap: 10px;
  overflow-y: auto;
}

.chatbot-msg {
  max-width: 88%;
  padding: 10px 12px;
  border-radius: 12px;
  font-size: 0.95rem;
  line-height: 1.4;
  word-break: break-word;
}

.chatbot-msg.bot {
  background: rgba(255, 255, 255, 0.08);
  color: #f6f7fb;
  border: 1px solid rgba(255, 255, 255, 0.12);
  justify-self: start;
}

.chatbot-msg.user {
  background: var(--accent);
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.1);
  justify-self: end;
}

.chatbot-input-row {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 8px;
  padding: 12px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.03);
}

.chatbot-input {
  width: 100%;
  padding: 10px 12px;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  background: rgba(255, 255, 255, 0.08);
  color: #f8f9fc;
}

.chatbot-send {
  padding: 10px 14px;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  background: var(--accent);
  color: #fff;
  font-weight: 700;
  cursor: pointer;
}

.chatbot-greeter {
  position: fixed;
  background: rgba(0, 0, 0, 0.78);
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 14px;
  padding: 8px 10px;
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 8px;
  align-items: center;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.35);
  opacity: 0;
  pointer-events: none;
  transform: translateY(6px);
  transition: opacity 0.18s ease, transform 0.18s ease;
  z-index: 1250;
}

.chatbot-greeter.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.greeter-avatar {
  font-size: 1.4rem;
}

.greeter-text {
  color: #f4f6fb;
  font-weight: 700;
  line-height: 1.2;
}

.greeter-text small {
  display: block;
  color: #cfd3dc;
  font-weight: 600;
}

/* Login page */
.login-body {
  background: radial-gradient(circle at 20% 20%, #0f111a, #080a12 50%, #05070d);
  min-height: 100vh;
  color: #f4f6fb;
}

.login-hero {
  padding: clamp(52px, 9vw, 120px) var(--pad) clamp(38px, 7vw, 96px);
  display: grid;
  justify-items: center;
  gap: 18px;
  text-align: center;
}

.login-hero h1 {
  font-size: clamp(1.8rem, 3.6vw, 2.6rem);
}

.login-grid {
  display: grid;
  justify-items: center;
  gap: 18px;
}

.login-card {
  width: min(520px, 96vw);
  background: linear-gradient(135deg, rgba(255,255,255,0.06), rgba(255,255,255,0.02));
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 22px;
  padding: clamp(18px, 4vw, 28px);
  box-shadow: 0 26px 70px rgba(0, 0, 0, 0.45);
  transform-style: preserve-3d;
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}

.login-card:hover {
  box-shadow: 0 30px 80px rgba(0,0,0,0.55);
}

.login-meta {
  color: #cfd3dc;
}

.login-footer {
  color: #b5b9c3;
  font-size: 0.95rem;
}

.user-chip {
  padding: 8px 12px;
  border-radius: 999px;
  background: rgba(255,255,255,0.12);
  border: 1px solid rgba(255,255,255,0.16);
  font-weight: 700;
  color: #f4f6fb;
  display: inline-flex;
  gap: 8px;
  align-items: center;
  cursor: pointer;
  position: relative;
}

.nav-privet {
  color: var(--accent);
  font-weight: 700;
}

.user-menu {
  position: absolute;
  top: 46px;
  left: 0;
  background: rgba(0,0,0,0.9);
  border: 1px solid rgba(255,255,255,0.18);
  border-radius: 12px;
  padding: 8px 0;
  min-width: 140px;
  box-shadow: 0 16px 36px rgba(0,0,0,0.4);
  display: none;
  z-index: 2000;
}

.user-menu a {
  display: block;
  padding: 10px 14px;
  color: #f4f6fb;
  text-decoration: none;
  font-weight: 700;
}

.user-menu a:hover {
  background: rgba(212, 175, 55, 0.16);
}

/* Private space */
.privet-body {
  background: #05060a;
}

.privet-page {
  padding: clamp(32px, 7vw, 72px) 0 clamp(36px, 8vw, 80px);
  color: #f4f6fb;
}

.privet-hero {
  display: grid;
  gap: 12px;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0.02));
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 18px;
  box-shadow: 0 22px 60px rgba(0, 0, 0, 0.32);
  padding: clamp(20px, 4vw, 28px);
}

.privet-actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.privet-meta {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.privet-layout {
  margin-top: clamp(20px, 4vw, 30px);
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(320px, 0.9fr);
  gap: clamp(18px, 3vw, 28px);
}

.privet-gallery {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 18px;
  padding: clamp(16px, 3vw, 22px);
  box-shadow: var(--shadow-soft);
}

.privet-grid {
  margin-top: 12px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 10px;
}

.privet-grid img {
  width: 100%;
  height: 100%;
  border-radius: 12px;
  object-fit: cover;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.28);
}

.privet-panel {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 18px;
  padding: clamp(16px, 3vw, 22px);
  box-shadow: var(--shadow-soft);
  display: grid;
  gap: 12px;
}

.privet-stats {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 8px;
}

.privet-stats li {
  display: flex;
  justify-content: space-between;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 12px;
  padding: 10px 12px;
  background: rgba(255, 255, 255, 0.04);
}

.privet-copy p {
  margin: 0 0 8px;
  color: #d2d6e0;
}

.privet-links {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.privet-upload {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding-top: 10px;
  display: grid;
  gap: 8px;
}

.pdf-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 6px;
  color: #dfe3eb;
}

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

/* Global mobile refinements */
@media (max-width: 768px) {
  .site-header {
    padding: 14px var(--pad);
  }

  .section-shell {
    width: 100%;
  }

  .privet-hero {
    padding: 18px var(--pad);
  }

  .privet-layout {
    gap: 14px;
  }

  .privet-grid {
    grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  }

  .team {
    grid-template-columns: 1fr;
  }

  .login-card {
    width: 100%;
  }
}

@media (max-width: 720px) {
  :root {
    --pad: 14px;
    --shell: 100%;
  }

  .site-header {
    flex-wrap: wrap;
    gap: 10px;
  }

  .header-actions {
    width: 100%;
    justify-content: space-between;
    flex-wrap: wrap;
  }

  .header-actions .pill-link,
  .header-actions .subscribe-cta {
    flex: 1 1 calc(50% - 6px);
    text-align: center;
    padding: 10px 12px;
  }

  .menu-toggle {
    margin-left: auto;
  }

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

  .model-grid,
  .tool-grid {
    grid-template-columns: 1fr;
  }

  .hero-actions .btn,
  .intro-actions .btn {
    width: 100%;
    justify-content: center;
  }

  .form-layout {
    grid-template-columns: 1fr;
  }

  .field-grid {
    grid-template-columns: 1fr;
  }

  .video-controls {
    position: static;
    justify-content: center;
    margin-top: 8px;
  }

  .footer-bottom {
    align-items: flex-start;
  }
}

@media (max-width: 540px) {
  .primary-nav {
    gap: 12px;
  }

  .team-card {
    padding: 12px;
  }

  .privet-hero h1 {
    font-size: 1.4rem;
  }

  .privet-actions .btn,
  .privet-actions .pill-link {
    width: 100%;
    justify-content: center;
  }

  .login-hero {
    padding-left: var(--pad);
    padding-right: var(--pad);
  }
}

/* About team */
.team {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 14px;
  padding: clamp(24px, 6vw, 36px) var(--pad);
  margin-top: clamp(16px, 4vw, 24px);
}

.team-card {
  background: linear-gradient(160deg, rgba(255,255,255,0.06), rgba(255,255,255,0.02));
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 18px;
  padding: 14px;
  text-align: center;
  box-shadow: 0 18px 46px rgba(0, 0, 0, 0.28);
}

.team-photo {
  width: 100%;
  aspect-ratio: 3 / 4;
  border-radius: 14px;
  background: radial-gradient(circle at 30% 30%, #d4af37, #0b0d12 65%);
  display: grid;
  place-items: center;
  color: #f4f6fb;
  font-weight: 800;
  font-size: 1.6rem;
  letter-spacing: 0.08em;
  margin-bottom: 10px;
  box-shadow: inset 0 0 0 1px rgba(255,255,255,0.12), 0 14px 32px rgba(0,0,0,0.32);
}

.team-blurb {
  color: #cfd3dc;
  margin: 6px 0 0;
}

@media (max-width: 640px) {
  .chatbot-panel {
    width: min(440px, 96vw);
  }
}

/* Promo modal */
.promo-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.55);
  backdrop-filter: blur(6px);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s ease;
  z-index: 1600;
  padding: 16px;
}

.promo-backdrop.is-open {
  opacity: 1;
  pointer-events: auto;
}

.promo-modal {
  width: min(540px, 94vw);
  background: linear-gradient(150deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.02));
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 18px;
  padding: 22px 24px 18px;
  box-shadow: 0 24px 66px rgba(0, 0, 0, 0.4);
  position: relative;
  color: #f7f8fb;
  text-align: center;
}

.promo-modal h3 {
  margin: 6px 0;
  font-size: 1.45rem;
  letter-spacing: 0.14em;
}

.promo-copy {
  color: #d7dbe5;
  margin: 10px 0 16px;
  font-size: 1.02rem;
}

.promo-actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  justify-content: center;
}

.promo-close {
  position: absolute;
  top: 10px;
  right: 12px;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.18);
  background: rgba(0, 0, 0, 0.35);
  color: #f7f8fb;
  cursor: pointer;
  font-size: 1.1rem;
  display: grid;
  place-items: center;
}
