:root {
  --bg: #1a1a1a;
  --surface: #212121;
  --surface-2: #262626;
  --text: #f8f8f8;
  --muted: #a3a3a3;
  --accent: #ff7700;
  --accent-hover: #e66a00;
  --accent-soft: rgba(255, 119, 0, 0.14);
  --border: #333333;
  --success: #499f79;
  --font-display: "Syne", system-ui, sans-serif;
  --font-body: "DM Sans", system-ui, sans-serif;
}

* { box-sizing: border-box; }

body {
  margin: 0;
  font-family: var(--font-body);
  background:
    radial-gradient(1200px 600px at 50% -10%, rgba(255, 119, 0, 0.12), transparent 55%),
    radial-gradient(800px 400px at 100% 40%, rgba(98, 161, 176, 0.06), transparent 50%),
    var(--bg);
  color: var(--text);
  line-height: 1.55;
  min-height: 100vh;
}

a { color: var(--accent); text-decoration: none; }
a:hover { text-decoration: underline; }

header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1rem 1.5rem;
  border-bottom: 1px solid var(--border);
  background: rgba(26, 26, 26, 0.85);
  backdrop-filter: blur(10px);
  position: sticky;
  top: 0;
  z-index: 20;
}

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

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

.nav-actions {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.nav-actions a.nav-link {
  color: var(--muted);
  font-weight: 500;
  font-size: 0.95rem;
}

.nav-actions a.nav-link:hover { color: var(--text); text-decoration: none; }

.lang-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.35rem;
  min-width: 2.5rem;
  height: 2.5rem;
  padding: 0 0.85rem;
  border-radius: 8px;
  border: 1px solid var(--border);
  background: var(--surface);
  color: var(--text);
  cursor: pointer;
  font-family: var(--font-body);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.04em;
}

.lang-toggle:hover {
  border-color: var(--accent);
  background: var(--accent-soft);
}

.lang-toggle:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}

.lang-toggle svg {
  width: 1rem;
  height: 1rem;
  flex-shrink: 0;
}

main {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 1.5rem 4rem;
}

.section {
  padding: 3.5rem 0 1rem;
}

.section-title {
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  margin: 0 0 0.75rem;
}

.section-lead {
  color: var(--muted);
  max-width: 36rem;
  margin: 0 0 1.75rem;
}

.hero {
  text-align: center;
  padding: 3.5rem 0 2rem;
  min-height: min(88vh, 920px);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.hero-brand {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(2rem, 6vw, 3.25rem);
  letter-spacing: -0.04em;
  margin: 0 0 1rem;
  color: var(--text);
}

.hero-brand span { color: var(--accent); }

.headline-carousel {
  position: relative;
  width: min(100%, 42rem);
  min-height: 4.5rem;
  margin: 0 auto 1rem;
}

.headline-slide {
  position: absolute;
  inset: 0;
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(1.35rem, 3.5vw, 2rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.25;
  opacity: 0;
  transform: translateY(0.4rem);
  transition: opacity 0.45s ease, transform 0.45s ease;
  pointer-events: none;
}

.headline-slide.is-active {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

.carousel-dots {
  display: flex;
  justify-content: center;
  gap: 0.45rem;
  margin: 0.75rem 0 1.25rem;
}

.carousel-dot {
  width: 0.5rem;
  height: 0.5rem;
  border-radius: 999px;
  border: none;
  padding: 0;
  background: var(--border);
  cursor: pointer;
}

.carousel-dot.is-active { background: var(--accent); width: 1.25rem; }

.carousel-dot:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}

.hero-support {
  color: var(--muted);
  font-size: 1.05rem;
  max-width: 34rem;
  margin: 0 auto 1.75rem;
}

.hero-ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  justify-content: center;
  margin-bottom: 2.5rem;
}

.hero-shot {
  width: min(100%, 960px);
  color: var(--muted);
}

.hero-shot-track {
  position: relative;
  border-radius: 12px;
  border: 1px solid var(--border);
  background: var(--surface);
  overflow: hidden;
  aspect-ratio: 16 / 10;
  touch-action: pan-y;
  cursor: grab;
  user-select: none;
}

.hero-shot-track.is-dragging {
  cursor: grabbing;
}

.hero-shot-track.is-dragging .hero-shot-slide.is-active {
  transition: none;
}

.hero-shot-slide {
  position: absolute;
  inset: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  opacity: 0;
  transform: translateX(1.25rem);
  transition: opacity 0.55s ease, transform 0.55s ease;
  pointer-events: none;
}

.hero-shot-slide.is-active {
  opacity: 1;
  transform: translateX(0);
  pointer-events: auto;
  z-index: 1;
}

.hero-shot-slide img {
  width: 100%;
  flex: 1 1 auto;
  min-height: 0;
  object-fit: cover;
  object-position: top left;
  display: block;
  pointer-events: none;
  -webkit-user-drag: none;
}

.hero-shot-slide figcaption {
  flex: 0 0 auto;
  padding: 0.55rem 0.85rem 0.7rem;
  font-size: 0.85rem;
  text-align: left;
  border-top: 1px solid var(--border);
  background: var(--surface);
}

.hero-shot-dots {
  display: flex;
  justify-content: center;
  gap: 0.45rem;
  margin-top: 0.85rem;
}

.hero-shot-dot {
  width: 0.5rem;
  height: 0.5rem;
  border-radius: 999px;
  border: none;
  padding: 0;
  background: var(--border);
  cursor: pointer;
}

.hero-shot-dot.is-active {
  background: var(--accent);
  width: 1.25rem;
}

.hero-shot-dot:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}

@media (prefers-reduced-motion: reduce) {
  .hero-shot-slide {
    transition: opacity 0.2s ease;
    transform: none;
  }
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.75rem 1.35rem;
  border-radius: 8px;
  font-weight: 600;
  font-family: var(--font-body);
  border: none;
  cursor: pointer;
  text-decoration: none;
  font-size: 0.95rem;
}

.btn-primary { background: var(--accent); color: #fff; }
.btn-primary:hover { background: var(--accent-hover); text-decoration: none; }

.btn-outline {
  background: transparent;
  color: var(--text);
  border: 1px solid var(--border);
}

.btn-outline:hover {
  background: var(--accent-soft);
  border-color: rgba(255, 119, 0, 0.45);
  text-decoration: none;
}

.faces {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.face-item h3 {
  font-family: var(--font-display);
  font-size: 1.1rem;
  margin: 0 0 0.35rem;
  letter-spacing: -0.02em;
  line-height: 1.35;
  overflow: visible;
  padding-bottom: 0.1em;
}

.face-item .host {
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 0.85rem;
  color: var(--accent);
  margin-bottom: 0.5rem;
  line-height: 1.4;
  overflow: visible;
  padding-bottom: 0.1em;
}

.face-item p {
  margin: 0;
  color: var(--muted);
  font-size: 0.95rem;
}

.control-list {
  list-style: none;
  padding: 0;
  margin: 0;
  max-width: 40rem;
}

.control-list li {
  padding: 0.85rem 0;
  border-bottom: 1px solid var(--border);
  color: var(--muted);
}

.control-list li strong {
  display: block;
  color: var(--text);
  font-family: var(--font-display);
  font-weight: 600;
  line-height: 1.35;
  overflow: visible;
  padding-bottom: 0.15em;
  margin-bottom: 0.15rem;
}

.plan-teaser {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
  margin-top: 1.5rem;
}

.plan-chip {
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 1.1rem 1rem;
  background: var(--surface);
  text-align: left;
}

.plan-chip.is-hero {
  border-color: rgba(255, 119, 0, 0.55);
  box-shadow: 0 0 0 1px rgba(255, 119, 0, 0.2);
  background: linear-gradient(165deg, var(--accent-soft), var(--surface) 55%);
}

.plan-chip h3 {
  font-family: var(--font-display);
  margin: 0 0 0.35rem;
  font-size: 1.05rem;
}

.plan-chip .price {
  font-weight: 700;
  margin-bottom: 0.5rem;
}

.plan-chip p {
  margin: 0;
  color: var(--muted);
  font-size: 0.85rem;
}

.plan-teaser-actions {
  margin-top: 1.5rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.cta-band {
  text-align: center;
  padding: 3rem 1rem;
  margin-top: 2rem;
  border: 1px solid var(--border);
  border-radius: 16px;
  background: var(--surface);
}

.cta-band h2 {
  font-family: var(--font-display);
  margin: 0 0 0.5rem;
}

.cta-band p { color: var(--muted); margin: 0 0 1.25rem; }

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.25rem;
  margin-top: 2rem;
}

.pricing-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 1.35rem;
}

.pricing-card.is-hero {
  border-color: rgba(255, 119, 0, 0.55);
  box-shadow: 0 0 0 1px rgba(255, 119, 0, 0.18);
}

.pricing-card h3 {
  font-family: var(--font-display);
  margin-top: 0;
  margin-bottom: 0.35rem;
}

.pricing-card .price {
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 0.75rem;
}

.pricing-card ul {
  padding-left: 1.15rem;
  color: var(--muted);
  margin: 0 0 1rem;
}

.pricing-card li { margin-bottom: 0.35rem; }

.badge {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 0.5rem;
}

footer {
  text-align: center;
  padding: 2.5rem 1.5rem 3rem;
  color: var(--muted);
  font-size: 0.875rem;
  border-top: 1px solid var(--border);
  margin-top: 2rem;
}

footer a { color: var(--muted); }
footer a:hover { color: var(--accent); }

.footer-note { margin-top: 0.75rem; max-width: 28rem; margin-left: auto; margin-right: auto; }

.legal-page {
  max-width: 44rem;
  margin: 0 auto;
  padding: 2.5rem 1.5rem 3rem;
}

.legal-page h1 {
  font-size: clamp(1.75rem, 4vw, 2.25rem);
  margin: 0 0 0.5rem;
}

.legal-lead {
  color: var(--muted);
  margin: 0 0 1.75rem;
  line-height: 1.5;
}

.legal-version {
  color: var(--muted);
  font-size: 0.875rem;
  margin-bottom: 0.75rem;
}

.legal-accordion {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}

.legal-acc {
  border: 1px solid var(--border);
  border-radius: 0.35rem;
  padding: 0 1rem;
  background: rgba(255, 255, 255, 0.02);
}

.legal-acc summary {
  cursor: pointer;
  list-style: none;
  font-weight: 600;
  padding: 1rem 0;
  color: var(--text);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
}

.legal-acc summary::-webkit-details-marker { display: none; }

.legal-acc summary::after {
  content: "";
  width: 0.45rem;
  height: 0.45rem;
  flex-shrink: 0;
  border-right: 2px solid var(--muted);
  border-bottom: 2px solid var(--muted);
  transform: rotate(45deg);
  transition: transform 0.28s ease;
  margin-top: -0.2rem;
}

.legal-acc[open] summary::after,
.legal-acc.is-open summary::after {
  transform: rotate(225deg);
  margin-top: 0.15rem;
}

.legal-acc-panel {
  height: 0;
  overflow: hidden;
  opacity: 0;
  transition:
    height 0.32s ease,
    opacity 0.24s ease;
}

.legal-acc[open] .legal-acc-panel,
.legal-acc.is-open .legal-acc-panel {
  opacity: 1;
}

.legal-acc .legal-body {
  padding-bottom: 1.1rem;
}

.legal-body h2 {
  font-size: 1.05rem;
  margin: 1.25rem 0 0.5rem;
}

.legal-body h2:first-child {
  margin-top: 0;
}

.legal-body p {
  color: var(--muted);
  line-height: 1.65;
  margin: 0 0 0.75rem;
}

@media (max-width: 900px) {
  .faces,
  .plan-teaser {
    grid-template-columns: 1fr;
  }
}

@media (prefers-reduced-motion: reduce) {
  .headline-slide {
    transition: none;
  }

  .legal-acc summary::after,
  .legal-acc-panel {
    transition: none;
  }
}
