:root {
  --color-bg: #f5f7f9;
  --color-surface: #ffffff;
  --color-text: #14181c;
  --color-text-inverse: #eef2f4;
  --color-primary: #10b981;
  --color-primary-dark: #0a5f55;
  --color-muted: #667079;
  --color-border: #e1e6ea;
  --color-dark: #0f172a;
  --color-dark-alt: #16213a;
  --max-width: 960px;
  --radius: 10px;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  color: var(--color-text);
  background: var(--color-bg);
  line-height: 1.6;
}

a {
  color: var(--color-primary-dark);
}

/* --- Top navigation --- */

header.site-header {
  position: relative;
  z-index: 2;
  padding: 1.1rem 1.5rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.5rem;
}

header.site-header.on-dark {
  background: transparent;
}

header.site-header .site-title {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-weight: 700;
  font-size: 1.1rem;
  letter-spacing: 0.02em;
  text-decoration: none;
}

header.site-header.on-dark .site-title,
header.site-header.on-dark .lang-switch a {
  color: var(--color-text-inverse);
}

.site-title .badge-dot {
  width: 0.6rem;
  height: 0.6rem;
  border-radius: 50%;
  background: var(--color-primary);
  box-shadow: 0 0 0 4px rgba(16, 185, 129, 0.2);
}

nav.lang-switch {
  display: flex;
  gap: 0.25rem;
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: 999px;
  padding: 0.2rem;
}

header.site-header:not(.on-dark) nav.lang-switch {
  border-color: var(--color-border);
}

nav.lang-switch a {
  padding: 0.3rem 0.75rem;
  border-radius: 999px;
  text-decoration: none;
  color: var(--color-muted);
  font-size: 0.85rem;
  font-weight: 600;
}

nav.lang-switch a[aria-current="true"] {
  background: var(--color-primary);
  color: #04231b;
}

/* --- Hero --- */

.hero {
  position: relative;
  overflow: hidden;
  background: radial-gradient(circle at 15% 20%, #16603f 0%, transparent 45%),
    linear-gradient(160deg, var(--color-dark) 0%, var(--color-dark-alt) 100%);
  color: var(--color-text-inverse);
  padding-bottom: 3.5rem;
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.05) 1px, transparent 1px);
  background-size: 42px 42px;
  pointer-events: none;
}

.hero-inner {
  position: relative;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 1.5rem 1.5rem 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  flex-wrap: wrap;
}

.hero-text {
  flex: 1 1 420px;
}

.hero-visual {
  flex: 0 0 260px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-visual svg {
  width: 100%;
  height: auto;
  max-width: 260px;
}

@media (max-width: 820px) {
  .hero-visual {
    display: none;
  }
}

.eyebrow {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #6ee7b7;
  border: 1px solid rgba(110, 231, 183, 0.35);
  border-radius: 999px;
  padding: 0.3rem 0.8rem;
  margin-bottom: 1rem;
}

.hero h1 {
  font-size: 2.4rem;
  max-width: 30ch;
  margin: 0 0 0.75rem;
}

.hero .lead {
  max-width: 55ch;
  color: #c7d0d9;
  font-size: 1.05rem;
}

.hero .lead a {
  color: #ffffff;
  font-weight: 700;
  text-decoration: none;
}

.partners {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  align-items: center;
  margin: 1.75rem 0 0;
}

.partner-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: var(--radius);
  padding: 0.6rem 1rem;
  font-size: 0.9rem;
  color: var(--color-text-inverse);
  text-decoration: none;
}

.partner-badge img,
.partner-badge .partner-logo-fallback {
  width: 1.75rem;
  height: 1.75rem;
  border-radius: 6px;
  flex-shrink: 0;
}

.partner-badge .partner-logo-fallback {
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--color-primary);
  color: #04231b;
  font-weight: 700;
  font-size: 0.75rem;
}

.partner-badge:hover {
  border-color: var(--color-primary);
}

/* --- Main content --- */

main {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 1.5rem 4rem;
}

main.no-hero {
  padding-top: 3rem;
}

.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.25rem;
  position: relative;
  z-index: 1;
}

.card-grid.stacked {
  grid-template-columns: 1fr;
  max-width: 760px;
}

main > .card-grid:first-child {
  margin-top: -2.75rem;
}

main > .setup-teaser:first-child {
  margin-top: -2.75rem;
}

.card {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  padding: 1.5rem;
  box-shadow: 0 10px 30px -18px rgba(15, 23, 42, 0.35);
}

.card .card-icon {
  width: 2.25rem;
  height: 2.25rem;
  flex-shrink: 0;
  border-radius: 8px;
  background: rgba(16, 185, 129, 0.12);
  color: var(--color-primary-dark);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  margin-bottom: 0.75rem;
}

.card-heading {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 0.75rem;
}

.card-heading .card-icon {
  margin-bottom: 0;
}

.card-heading h2 {
  margin: 0;
}

section {
  margin: 3rem 0;
}

section ul {
  padding-left: 1.25rem;
}

section li + li {
  margin-top: 0.4rem;
}

h1 {
  font-size: 2rem;
  margin-bottom: 0.5rem;
}

h2 {
  font-size: 1.2rem;
  margin: 0 0 0.75rem;
}

.placeholder {
  border: 1px dashed var(--color-border);
  padding: 1rem;
  color: var(--color-muted);
  font-style: italic;
  border-radius: var(--radius);
  background: #fafcfd;
}

.screenshot-placeholder {
  aspect-ratio: 16 / 9;
  border: 1px dashed var(--color-border);
  border-radius: var(--radius);
  background: #fafcfd;
  color: var(--color-muted);
  font-style: italic;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 1rem;
}

p code,
li code {
  background: #eef2f4;
  color: var(--color-primary-dark);
  padding: 0.1rem 0.35rem;
  border-radius: 4px;
  font-size: 0.9em;
}

.screenshot {
  margin: 0;
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--color-surface);
  box-shadow: 0 10px 30px -18px rgba(15, 23, 42, 0.35);
}

.screenshot img {
  display: block;
  width: 100%;
  height: auto;
}

.screenshot figcaption {
  padding: 0.6rem 1rem;
  font-size: 0.85rem;
  color: var(--color-muted);
  border-top: 1px solid var(--color-border);
}

pre.code-block {
  background: var(--color-dark);
  color: #d1fae5;
  border-radius: var(--radius);
  padding: 1rem;
  overflow-x: auto;
}

.small-link {
  margin-top: 0.75rem;
  font-size: 0.85rem;
}

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

.button-link {
  display: inline-block;
  margin-top: 0.5rem;
  padding: 0.7rem 1.4rem;
  background: var(--color-primary);
  color: #04231b;
  font-weight: 700;
  text-decoration: none;
  border-radius: 999px;
}

.button-link:hover {
  background: var(--color-primary-dark);
  color: #fff;
}

.button-link-secondary {
  background: #eef2f4;
  color: var(--color-primary-dark);
}

.button-link-secondary:hover {
  background: var(--color-dark);
  color: var(--color-text-inverse);
}

/* --- Contact form --- */

.contact-hero .hero-inner,
.subpage-hero .hero-inner {
  display: block;
  padding-top: 3rem;
  padding-bottom: 1rem;
}

.contact-hero .hero-inner h1,
.subpage-hero .hero-inner h1 {
  max-width: 24ch;
  margin-bottom: 0.75rem;
}

.contact-hero .hero-inner .lead,
.subpage-hero .hero-inner .lead {
  max-width: 62ch;
  margin-bottom: 1.5rem;
}

.contact-layout {
  max-width: 820px;
  margin: 3rem auto 4rem;
}

.contact-layout > .card {
  padding: clamp(1.25rem, 4vw, 2.25rem);
}

.contact-layout > .card > p:first-child {
  max-width: 66ch;
  margin-top: 0;
  margin-bottom: 1.75rem;
  color: var(--color-muted);
}

.contact-form {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}

.contact-form label {
  display: grid;
  gap: 0.35rem;
  font-weight: 700;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  border: 1px solid var(--color-border);
  border-radius: 6px;
  padding: 0.75rem 0.85rem;
  font: inherit;
  color: var(--color-text);
  background: var(--color-surface);
}

.contact-form textarea {
  min-height: 10rem;
  resize: vertical;
}

.contact-form input:focus,
.contact-form textarea:focus {
  outline: 3px solid rgba(16, 185, 129, 0.2);
  border-color: var(--color-primary-dark);
}

.contact-form > label:nth-of-type(1),
.contact-form > label:nth-of-type(2) {
  min-width: 0;
}

.contact-form > label:nth-of-type(3),
.contact-form > .captcha-row,
.contact-form > .privacy-note,
.contact-form > button,
.contact-form > .form-status {
  grid-column: 1 / -1;
}

.contact-form > label:nth-of-type(3) textarea {
  min-height: 12rem;
}

.contact-form .captcha-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 8rem;
  align-items: end;
  gap: 1rem;
}

.captcha-question {
  display: block;
  min-height: 1.6rem;
  font-weight: 800;
  color: var(--color-primary-dark);
}

.privacy-note,
.form-status {
  color: var(--color-muted);
  font-size: 0.9rem;
}

.form-status {
  min-height: 1.6rem;
  margin: 0;
  font-weight: 700;
}

.form-status[data-state="success"] {
  color: #087443;
}

.form-status[data-state="error"] {
  color: #a32929;
}

.contact-form .honeypot {
  display: none !important;
}

.contact-form button[type="submit"] {
  justify-self: start;
  border: 0;
  cursor: pointer;
  font: inherit;
}

.contact-form button[type="submit"]:disabled {
  cursor: wait;
  opacity: 0.65;
}

.teaser-open-link {
  position: absolute;
  top: 1rem;
  right: 1rem;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.35rem;
  height: 2.35rem;
  margin-top: 0;
  padding: 0;
  font-size: 0.95rem;
  line-height: 1;
  border: 1px solid rgba(16, 185, 129, 0.2);
  background: rgba(255, 255, 255, 0.74);
  box-shadow: 0 10px 22px -18px rgba(15, 23, 42, 0.5);
}

.action-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
}

/* --- Setup teaser --- */

.setup-teaser {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(360px, 1.15fr);
  align-items: center;
  gap: 2rem;
  margin: 3rem 0 4rem;
  padding: 1.5rem;
  border: 1px solid rgba(16, 185, 129, 0.24);
  border-radius: var(--radius);
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.92), rgba(239, 253, 247, 0.9)),
    radial-gradient(circle at 86% 14%, rgba(16, 185, 129, 0.24), transparent 36%);
  box-shadow: 0 18px 45px -32px rgba(15, 23, 42, 0.45);
}

.setup-teaser .eyebrow {
  color: var(--color-primary-dark);
  border-color: rgba(16, 185, 129, 0.35);
  background: rgba(16, 185, 129, 0.08);
}

.setup-teaser-copy h2 {
  font-size: 1.55rem;
  line-height: 1.25;
  margin-bottom: 0.75rem;
}

.setup-teaser-copy p {
  color: var(--color-muted);
  margin: 0 0 1rem;
}

.setup-teaser-copy {
  padding-right: 2.5rem;
}

.setup-teaser-stage {
  display: grid;
  gap: 1rem;
}

.teaser-media-slot {
  position: relative;
  min-height: 330px;
  overflow: hidden;
  border-radius: var(--radius);
  background:
    linear-gradient(rgba(255, 255, 255, 0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.06) 1px, transparent 1px),
    linear-gradient(145deg, #0f172a 0%, #123135 100%);
  background-size: 34px 34px, 34px 34px, auto;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.08);
}

.teaser-media-slot::after {
  content: "";
  position: absolute;
  right: 1.2rem;
  bottom: 1.2rem;
  width: 42%;
  height: 0.35rem;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--color-primary), #6ee7b7);
  transform-origin: left center;
  animation: teaser-progress 36s linear infinite;
}

.teaser-scene {
  position: absolute;
  inset: 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transform: translateY(0.65rem) scale(0.98);
  animation: teaser-scene 36s ease-in-out infinite;
}

.teaser-scene-download {
  animation-delay: 0s;
}

.teaser-scene-extract {
  animation-delay: 6s;
}

.teaser-scene-env {
  animation-delay: 12s;
}

.teaser-scene-compose {
  animation-delay: 18s;
}

.teaser-scene-designer {
  animation-delay: 24s;
}

.teaser-scene-viewer {
  animation-delay: 30s;
}

.teaser-window {
  width: min(100%, 25rem);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 8px;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.95);
  color: var(--color-text);
  box-shadow: 0 18px 34px -20px rgba(0, 0, 0, 0.7);
}

.teaser-terminal,
.teaser-editor {
  background: #07131f;
  color: #d1fae5;
}

.teaser-window-bar {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.55rem 0.7rem;
  background: rgba(15, 23, 42, 0.08);
  font-size: 0.75rem;
  color: var(--color-muted);
}

.teaser-terminal .teaser-window-bar,
.teaser-editor .teaser-window-bar {
  background: rgba(255, 255, 255, 0.08);
  color: #9fb4c9;
}

.teaser-window-bar span {
  width: 0.55rem;
  height: 0.55rem;
  border-radius: 50%;
  background: var(--color-primary);
  opacity: 0.75;
}

.teaser-window-bar strong {
  margin-left: 0.35rem;
  font-weight: 700;
}

.teaser-homepage-body {
  display: grid;
  gap: 0.65rem;
  padding: 1rem;
}

.teaser-pill {
  justify-self: start;
  padding: 0.2rem 0.55rem;
  border: 1px solid rgba(16, 185, 129, 0.28);
  border-radius: 999px;
  color: var(--color-primary-dark);
  font-size: 0.7rem;
  font-weight: 800;
  text-transform: uppercase;
}

.teaser-button-press {
  position: relative;
  justify-self: start;
  padding: 0.55rem 1rem;
  border-radius: 999px;
  background: var(--color-primary);
  color: #04231b;
  font-size: 0.82rem;
  font-weight: 800;
  animation: teaser-button-press 36s ease-in-out infinite;
}

.teaser-download-options {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.55rem;
}

.teaser-download-alt {
  display: inline-flex;
  align-items: center;
  min-height: 2.15rem;
  padding: 0.5rem 0.9rem;
  border: 1px solid var(--color-border);
  border-radius: 999px;
  background: #eef2f4;
  color: var(--color-primary-dark);
  font-size: 0.82rem;
  font-weight: 800;
}

.teaser-pointer {
  position: absolute;
  left: 58%;
  top: 55%;
  width: 0;
  height: 0;
  border-top: 0.9rem solid #fff;
  border-right: 0.5rem solid transparent;
  filter: drop-shadow(0 4px 6px rgba(0, 0, 0, 0.35));
  transform: rotate(-18deg);
  animation: teaser-pointer-click 36s ease-in-out infinite;
}

.teaser-file-list {
  display: grid;
  gap: 0.55rem;
  padding: 1rem;
}

.teaser-file-list div {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  min-height: 2.15rem;
  padding: 0.35rem 0.45rem;
  border-radius: 6px;
  background: #f7fafb;
  font-size: 0.82rem;
  font-weight: 700;
}

.teaser-file-list .teaser-tree {
  margin-left: 2.15rem;
  color: var(--color-muted);
  font-size: 0.76rem;
  font-weight: 600;
}

.teaser-file-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 1.65rem;
  height: 1.65rem;
  flex-shrink: 0;
  border-radius: 5px;
  background: linear-gradient(160deg, #10b981, #6ee7b7);
  color: #04231b;
  font-size: 0.62rem;
  font-weight: 800;
}

.teaser-folder-icon {
  width: 1.65rem;
  height: 1.25rem;
  flex-shrink: 0;
  border-radius: 4px;
  background: #f6c453;
  box-shadow: inset 0 0.35rem 0 rgba(255, 255, 255, 0.26);
}

.teaser-terminal pre,
.teaser-editor pre {
  margin: 0;
  padding: 0.9rem 1rem 1.05rem;
  overflow: hidden;
  font-size: 0.82rem;
  line-height: 1.7;
}

.teaser-terminal code::after {
  content: "";
  display: inline-block;
  width: 0.55rem;
  height: 1em;
  margin-left: 0.18rem;
  background: var(--color-primary);
  vertical-align: -0.12em;
  animation: teaser-cursor 1s steps(2, start) infinite;
}

.teaser-editor code {
  color: #bfdbfe;
}

.teaser-address {
  margin: 1rem 1rem 0;
  padding: 0.45rem 0.65rem;
  border-radius: 999px;
  background: #eef2f4;
  color: var(--color-muted);
  font-size: 0.78rem;
  font-weight: 700;
}

.teaser-app {
  width: min(100%, 29rem);
}

.teaser-app-shot {
  display: block;
  width: calc(100% - 2rem);
  aspect-ratio: 16 / 9;
  margin: 0.75rem 1rem 1rem;
  border: 1px solid var(--color-border);
  border-radius: 6px;
  object-fit: cover;
  object-position: left top;
}

.teaser-current-steps {
  position: relative;
  min-height: 7.25rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.teaser-current-steps li {
  position: absolute;
  inset: 0;
  display: grid;
  gap: 0.35rem;
  align-content: center;
  padding: 1rem 1.1rem;
  border: 1px solid var(--color-border);
  border-radius: 8px;
  background: var(--color-surface);
  box-shadow: 0 12px 28px -24px rgba(15, 23, 42, 0.5);
  opacity: 0;
  transform: translateY(0.45rem);
  animation: teaser-current-step 36s ease-in-out infinite;
}

.teaser-current-steps li:nth-child(2) {
  animation-delay: 6s;
}

.teaser-current-steps li:nth-child(3) {
  animation-delay: 12s;
}

.teaser-current-steps li:nth-child(4) {
  animation-delay: 18s;
}

.teaser-current-steps li:nth-child(5) {
  animation-delay: 24s;
}

.teaser-current-steps li:nth-child(6) {
  animation-delay: 30s;
}

.teaser-current-steps h3 {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  margin: 0;
  color: var(--color-text);
  font-size: 1rem;
}

.teaser-current-steps p {
  margin: 0;
  color: var(--color-muted);
  font-size: 0.88rem;
}

.teaser-current-steps span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1.55rem;
  height: 1.55rem;
  border-radius: 50%;
  background: rgba(16, 185, 129, 0.12);
  color: var(--color-primary-dark);
}

.teaser-page {
  min-height: 100vh;
  background:
    radial-gradient(circle at 12% 15%, rgba(16, 185, 129, 0.22), transparent 32%),
    linear-gradient(145deg, var(--color-dark) 0%, #102f36 100%);
}

.teaser-presentation-shell {
  min-height: 100vh;
  background: var(--color-bg);
}

.teaser-presentation-shell:fullscreen {
  width: 100vw;
  height: 100vh;
  overflow: auto;
  background: var(--color-bg);
}

.teaser-page-hero {
  padding-bottom: 2.5rem;
}

.teaser-page-hero-inner {
  padding-top: 1rem;
}

.teaser-page-hero .partners {
  margin-top: 1.1rem;
}

.teaser-fullscreen-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.35rem;
  height: 2.35rem;
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: 999px;
  background: var(--color-primary);
  color: #04231b;
  cursor: pointer;
  font: inherit;
  font-weight: 800;
}

.teaser-fullscreen-button:hover {
  background: #6ee7b7;
}

.teaser-card-fullscreen-button {
  position: absolute;
  top: 1rem;
  right: 1rem;
  z-index: 2;
}

.teaser-page-main {
  max-width: 1280px;
  min-height: auto;
  display: grid;
  align-content: start;
  gap: 1rem;
  padding: 0 1.25rem 2rem;
}

.setup-teaser-fullscreen {
  min-height: calc(100vh - 20rem);
  margin: 0;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.96), rgba(239, 253, 247, 0.92)),
    radial-gradient(circle at 86% 14%, rgba(16, 185, 129, 0.32), transparent 36%);
}

.teaser-page-main > .setup-teaser-fullscreen:first-child {
  margin-top: -2rem;
}

.setup-teaser-standalone {
  display: block;
  padding: clamp(1rem, 2vw, 2rem);
}

.setup-teaser-heading {
  margin: 0 0 1rem;
  color: var(--color-text);
  font-size: clamp(1.55rem, 3vw, 3rem);
  line-height: 1.08;
  text-align: center;
}

.setup-teaser-fullscreen .teaser-media-slot {
  min-height: clamp(26rem, 50vh, 38rem);
}

.setup-teaser-fullscreen .teaser-window {
  width: min(100%, 38rem);
}

.setup-teaser-fullscreen .teaser-app {
  width: min(100%, 48rem);
}

.setup-teaser-fullscreen .teaser-current-steps {
  min-height: 8.75rem;
}

.setup-teaser-fullscreen .teaser-current-steps li {
  padding: 1.25rem 1.4rem;
}

.setup-teaser-fullscreen .teaser-current-steps h2 {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  margin: 0;
  font-size: clamp(1.25rem, 1.8vw, 1.8rem);
}

.setup-teaser-fullscreen .teaser-current-steps p {
  font-size: clamp(1rem, 1.25vw, 1.2rem);
}

@keyframes teaser-scene {
  0%, 16.7%, 100% {
    opacity: 0;
    transform: translateY(0.65rem) scale(0.98);
  }

  1.6%, 15.1% {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

@keyframes teaser-current-step {
  0%, 16.7%, 100% {
    opacity: 0;
    transform: translateY(0.45rem);
  }

  1.6%, 15.1% {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes teaser-progress {
  0% {
    transform: scaleX(0.06);
  }

  100% {
    transform: scaleX(1);
  }
}

@keyframes teaser-button-press {
  0%, 7%, 100% {
    transform: scale(1);
  }

  3%, 5% {
    transform: scale(0.96);
  }
}

@keyframes teaser-pointer-click {
  0%, 7%, 100% {
    transform: translate(0, 0) rotate(-18deg);
  }

  3%, 5% {
    transform: translate(-0.25rem, 0.25rem) rotate(-18deg);
  }
}

@keyframes teaser-cursor {
  0%, 45% {
    opacity: 1;
  }

  46%, 100% {
    opacity: 0;
  }
}

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

  .contact-form > label:nth-of-type(1),
  .contact-form > label:nth-of-type(2),
  .contact-form > label:nth-of-type(3),
  .contact-form > .captcha-row,
  .contact-form > .privacy-note,
  .contact-form > button,
  .contact-form > .form-status {
    grid-column: 1;
  }

  .contact-form .captcha-row {
    grid-template-columns: minmax(0, 1fr) 7rem;
  }

  .setup-teaser {
    grid-template-columns: 1fr;
    padding: 1rem;
  }

  .teaser-media-slot {
    min-height: 360px;
  }

  .teaser-window {
    width: 100%;
  }

  .teaser-current-steps {
    min-height: 7.8rem;
  }
}

@media (max-width: 520px) {
  .contact-hero .hero-inner,
  .subpage-hero .hero-inner {
    padding-top: 2rem;
  }

  .contact-form .captcha-row {
    grid-template-columns: 1fr;
    align-items: stretch;
  }

  .setup-teaser-copy h2 {
    font-size: 1.32rem;
  }

  .teaser-media-slot {
    min-height: 390px;
  }

  .teaser-terminal pre,
  .teaser-editor pre {
    font-size: 0.74rem;
  }

  .teaser-current-steps {
    min-height: 9.2rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  .teaser-media-slot::after,
  .teaser-scene,
  .teaser-button-press,
  .teaser-pointer,
  .teaser-terminal code::after,
  .teaser-current-steps li {
    animation: none;
  }

  .teaser-media-slot::after {
    transform: scaleX(1);
  }

  .teaser-scene {
    opacity: 1;
    position: static;
    transform: none;
    margin: 1rem;
  }

  .teaser-media-slot {
    height: auto;
  }

  .teaser-current-steps {
    display: grid;
    gap: 0.65rem;
  }

  .teaser-current-steps li {
    position: static;
    opacity: 1;
    transform: none;
  }
}

footer.site-footer {
  border-top: 1px solid var(--color-border);
  padding: 1.5rem;
  text-align: center;
  color: var(--color-muted);
  font-size: 0.9rem;
}

footer.site-footer p {
  margin: 0.25rem 0;
}

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