@font-face {
  font-family: "Electrolize";
  src: url("../fonts/electrolize-latin.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Raleway";
  src: url("../fonts/raleway-latin.woff2") format("woff2");
  font-weight: 300 700;
  font-style: normal;
  font-display: swap;
}

:root {
  --ink: #2e3842;
  --purple: #6a51a3;
  --purple-dark: #442d65;
  --teal: #92c5ce;
  --sky: #c0f3fe;
  --lavender: #f2f0f7;
  --lavender-deep: #ece9f3;
  --white: #fff;

  --font-body: "Raleway", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-brand: "Electrolize", "Raleway", system-ui, sans-serif;

  --container: 1120px;
  --gutter: clamp(16px, 4vw, 32px);
  --section-space: clamp(48px, 8vw, 88px);
  --radius: 14px;
  --shadow: 0 6px 24px rgba(46, 56, 66, 0.08);
}

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

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.6;
  color: var(--ink);
  background: var(--lavender);
  font-variant-numeric: lining-nums;
  -webkit-font-smoothing: antialiased;
}

img,
video {
  display: block;
  max-width: 100%;
  height: auto;
}

h1,
h2,
h3 {
  line-height: 1.2;
}

a {
  color: var(--purple);
  text-decoration: none;
}

a:hover {
  color: var(--purple-dark);
  text-decoration: underline;
  text-underline-offset: 0.15em;
}

a:focus-visible {
  outline: 2px solid var(--purple);
  outline-offset: 3px;
  border-radius: 3px;
}

::selection {
  background: #b3d4fc;
}

.container {
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

/* Splash */

.splash {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  display: grid;
  place-items: center;
  min-height: 66vh;
  min-height: 66svh;
  padding: clamp(40px, 8vh, 72px) var(--gutter);
  text-align: center;
  color: var(--purple-dark);
  background: var(--sky);
}

.splash-particles {
  position: absolute;
  inset: 0;
  z-index: -1;
  width: 100%;
  height: 100%;
}

.lang-switch {
  position: absolute;
  top: 16px;
  right: var(--gutter);
  z-index: 1;
  display: flex;
  gap: 2px;
  padding: 4px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.75);
  box-shadow: var(--shadow);
}

.lang-switch a {
  padding: 7px 13px;
  border-radius: 999px;
  font-family: var(--font-brand);
  font-size: 0.9375rem;
  line-height: 1;
  letter-spacing: 0.04em;
  color: var(--purple-dark);
}

.lang-switch a:hover {
  text-decoration: none;
  background: rgba(106, 81, 163, 0.12);
}

.lang-switch a[aria-current] {
  color: var(--white);
  background: var(--purple);
}

.splash-logo {
  width: auto;
  height: clamp(160px, min(32vw, 40vh), 360px);
  margin-inline: auto;
}

.wordmark {
  margin: 12px 0 0;
  font-family: var(--font-brand);
  font-weight: 700;
  font-size: clamp(2rem, 11vw, 5.375rem);
  line-height: 1.1;
  letter-spacing: 0.01em;
}

.wordmark .accent {
  color: var(--purple);
}

.tagline {
  margin: 0.25em 0 0;
  font-size: clamp(1.25rem, 1rem + 1vw, 1.625rem);
  font-weight: 700;
  color: var(--purple);
}

/* Sections */

.section {
  padding-block: var(--section-space);
}

.section h2 {
  margin: 0 0 0.6em;
  font-size: clamp(1.5rem, 1.15rem + 1.3vw, 2.125rem);
  font-weight: 700;
}

.section-video {
  background: var(--lavender);
}

.section-partners {
  background: var(--lavender-deep);
}

.section-contact {
  background: var(--lavender);
}

/* Video */

.title-domain {
  display: block;
  margin-top: 0.3em;
  font-family: var(--font-brand);
  font-weight: 400;
  font-size: 0.8em;
}

.lead {
  margin: 0 0 1.75rem;
  font-size: clamp(1.125rem, 1rem + 0.5vw, 1.3125rem);
  font-weight: 500;
}

.video-frame {
  overflow: hidden;
  aspect-ratio: 16 / 9;
  border-radius: var(--radius);
  background: #000;
  box-shadow: var(--shadow);
}

.video-frame video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.cta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px 16px;
  margin: 1.75rem 0 0;
  font-size: 1.125rem;
  font-weight: 600;
}

.button {
  display: inline-block;
  padding: 0.6em 1.3em;
  border-radius: 999px;
  font-family: var(--font-brand);
  font-weight: 400;
  color: var(--white);
  background: var(--purple);
  transition: background-color 0.2s ease;
}

.button:hover {
  color: var(--white);
  background: var(--purple-dark);
  text-decoration: none;
}

/* Partners */

.partners {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 14px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.partners li {
  flex: 0 0 100%;
}

.partners a {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 88px;
  padding: 12px 24px;
  border-radius: var(--radius);
  transition: background-color 0.3s ease, box-shadow 0.3s ease;
}

.partners a:hover,
.partners a:focus-visible {
  background: var(--white);
  box-shadow: var(--shadow);
}

.partners img {
  width: 100%;
  max-width: 240px;
  height: 56px;
  object-fit: contain;
}

@media (min-width: 560px) {
  .partners li {
    flex-basis: calc((100% - 14px) / 2);
  }

  .partners a {
    height: 112px;
    padding: 16px 24px;
  }

  .partners img {
    max-width: 280px;
    height: 72px;
  }
}

@media (min-width: 960px) {
  .partners li {
    flex-basis: calc((100% - 3 * 14px) / 4);
  }

  .partners a {
    height: 128px;
  }

  .partners img {
    height: 88px;
  }
}

/* Contact */

.contact-mail {
  margin: 0 0 1.5rem;
  font-size: clamp(1.25rem, 1.1rem + 0.6vw, 1.5rem);
  font-weight: 600;
}

.contact-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 16px;
}

.contact-card {
  padding: 24px 26px;
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: var(--shadow);
  font-style: normal;
}

.contact-card p {
  margin: 0;
}

.contact-card p + p {
  margin-top: 0.75em;
}

.contact-card h3 {
  margin: 0 0 0.6em;
  font-size: 0.8125rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--purple);
}

.contact-card .company {
  font-family: var(--font-brand);
  font-size: 1.25rem;
  line-height: 1.3;
  color: var(--ink);
}

/* Footer */

.footer {
  padding: 40px var(--gutter);
  text-align: center;
  font-size: 0.875rem;
  color: var(--teal);
  background: var(--ink);
}

.footer p {
  margin: 0;
}

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

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

.footer a:focus-visible {
  outline-color: var(--teal);
}

/* Error page */

.error-page {
  display: grid;
  place-items: center;
  min-height: 100vh;
  min-height: 100svh;
  padding: var(--gutter);
  text-align: center;
  background: var(--sky);
}

.error-page .splash-logo {
  height: 140px;
}

.error-page h1 {
  margin: 20px 0 0.3em;
  font-family: var(--font-brand);
  font-weight: 400;
  font-size: clamp(1.75rem, 1.3rem + 2vw, 2.5rem);
  color: var(--purple-dark);
}

.error-page p {
  margin: 0 0 1.5rem;
}

.error-page .error-en {
  margin-top: -0.5rem;
  font-size: 1.125rem;
  color: var(--purple);
}

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

/* ===== Video rooms site ===== */

html {
  scroll-behavior: smooth;
  scroll-padding-top: 80px;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* Navigation */

.site-nav {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.9);
  -webkit-backdrop-filter: saturate(1.4) blur(10px);
  backdrop-filter: saturate(1.4) blur(10px);
  box-shadow: 0 1px 0 rgba(46, 56, 66, 0.08);
}

.nav-inner {
  position: relative;
  display: flex;
  align-items: center;
  gap: 16px;
  min-height: 64px;
}

.nav-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-right: auto;
  font-family: var(--font-brand);
  font-size: 1.25rem;
  color: var(--purple-dark);
}

.nav-brand:hover {
  text-decoration: none;
  color: var(--purple);
}

.nav-brand img {
  width: 36px;
  height: 36px;
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 12px;
}

.nav-links {
  display: flex;
  gap: 2px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.nav-links a {
  display: block;
  padding: 8px 10px;
  border-radius: 8px;
  font-size: 0.9375rem;
  font-weight: 600;
  color: var(--ink);
}

.nav-links a:hover {
  text-decoration: none;
  color: var(--purple-dark);
  background: rgba(106, 81, 163, 0.1);
}

.nav-links a[aria-current="page"] {
  color: var(--purple);
}

.site-nav .lang-switch {
  position: static;
  box-shadow: none;
  background: var(--lavender);
}

.nav-toggle {
  display: none;
}

@media (max-width: 1099px) {
  .nav-toggle {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 9px 14px;
    border: 0;
    border-radius: 999px;
    font: 600 0.9375rem var(--font-body);
    color: var(--purple-dark);
    background: var(--lavender);
    cursor: pointer;
  }

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

  .nav-toggle-bars,
  .nav-toggle-bars::before,
  .nav-toggle-bars::after {
    display: block;
    width: 18px;
    height: 2px;
    border-radius: 2px;
    background: currentColor;
  }

  .nav-toggle-bars {
    position: relative;
  }

  .nav-toggle-bars::before,
  .nav-toggle-bars::after {
    content: "";
    position: absolute;
    left: 0;
  }

  .nav-toggle-bars::before {
    top: -6px;
  }

  .nav-toggle-bars::after {
    top: 6px;
  }

  .nav-menu {
    position: absolute;
    top: 100%;
    left: calc(-1 * var(--gutter));
    right: calc(-1 * var(--gutter));
    flex-direction: column;
    align-items: stretch;
    padding: 8px var(--gutter) 20px;
    background: var(--white);
    box-shadow: 0 16px 24px rgba(46, 56, 66, 0.12);
  }

  .js .nav-menu {
    display: none;
  }

  .js .nav-menu.is-open {
    display: flex;
  }

  .nav-links {
    flex-direction: column;
  }

  .nav-links a {
    padding: 12px;
    font-size: 1rem;
  }

  .site-nav .lang-switch {
    align-self: flex-start;
    margin: 8px 0 0 4px;
  }
}

/* Hero */

.hero {
  display: block;
  place-items: normal;
  min-height: 0;
  padding: clamp(40px, 7vw, 88px) 0 clamp(48px, 7vw, 96px);
  text-align: left;
}

.hero,
.splash-compact {
  background: linear-gradient(160deg, var(--sky) 0%, #e2f8fd 55%, var(--lavender) 100%);
}

.hero::before,
.splash-compact::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background-image: radial-gradient(rgba(106, 81, 163, 0.16) 1.2px, transparent 1.6px);
  background-size: 22px 22px;
  -webkit-mask-image: linear-gradient(100deg, transparent 40%, #000 85%);
  mask-image: linear-gradient(100deg, transparent 40%, #000 85%);
}

@media (max-width: 959px) {
  .hero::before {
    -webkit-mask-image: linear-gradient(to bottom, transparent 55%, #000 90%);
    mask-image: linear-gradient(to bottom, transparent 55%, #000 90%);
  }

  .splash-compact::before {
    display: none;
  }
}

.hero-grid {
  display: grid;
  gap: 40px;
  align-items: center;
}

@media (min-width: 960px) {
  .hero-grid {
    grid-template-columns: 1.05fr 1fr;
    gap: 56px;
  }
}

.kicker {
  display: inline-block;
  margin-bottom: 12px;
  font-family: var(--font-brand);
  font-size: 1.125rem;
  letter-spacing: 0.04em;
  color: var(--purple);
}

.hero h1 {
  margin: 0 0 0.5em;
  font-size: clamp(2rem, 1.3rem + 2vw, 2.75rem);
  font-weight: 700;
  line-height: 1.12;
  letter-spacing: -0.01em;
  color: var(--purple-dark);
}

.hero-lead {
  margin: 0 0 1rem;
  font-size: clamp(1.125rem, 1rem + 0.5vw, 1.375rem);
  font-weight: 500;
  color: var(--ink);
}

.hero-alt {
  margin: 0 0 0.75rem;
  font-weight: 700;
  color: var(--ink);
}

.chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0 0 1.75rem;
  padding: 0;
  list-style: none;
}

.chips li {
  position: relative;
  padding: 6px 14px 6px 32px;
  border-radius: 999px;
  font-size: 0.9375rem;
  font-weight: 600;
  color: var(--purple-dark);
  background: rgba(255, 255, 255, 0.85);
}

.chips li::before,
.check-list li::before {
  content: "";
  position: absolute;
  width: 11px;
  height: 6px;
  border-left: 2px solid var(--purple);
  border-bottom: 2px solid var(--purple);
  transform: rotate(-45deg);
}

.chips li::before {
  left: 13px;
  top: 0.75em;
}

.hero-shot img {
  width: 100%;
}

.browser-frame {
  overflow: hidden;
  border-radius: var(--radius);
  background: var(--ink);
  box-shadow: 0 24px 60px rgba(46, 56, 66, 0.25);
}

.browser-bar {
  display: flex;
  gap: 6px;
  padding: 10px 12px;
  background: #1f262d;
}

.browser-bar span {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.25);
}

.actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px 16px;
  margin: 0;
}

.actions .button {
  padding: 0.75em 1.5em;
  font-size: 1.0625rem;
}

.actions-center {
  justify-content: center;
  margin-top: 2.5rem;
  font-weight: 600;
}

.button-ghost {
  color: var(--purple);
  background: transparent;
  box-shadow: inset 0 0 0 2px var(--purple);
}

.button-ghost:hover {
  color: var(--white);
  background: var(--purple);
}

/* Banner and section headings */

.banner {
  padding: 14px 0;
  text-align: center;
  font-size: 1.0625rem;
  font-weight: 700;
  color: var(--white);
  background: var(--purple);
}

.banner p {
  margin: 0;
}

.section-title {
  text-align: center;
}

.section-lead {
  max-width: 46em;
  margin: 0 auto 2rem;
  text-align: center;
  font-size: 1.125rem;
}

.pill {
  display: table;
  margin: 0 auto 1rem;
  padding: 8px 18px;
  border-radius: 999px;
  text-align: center;
  font-weight: 700;
  color: var(--purple-dark);
  background: var(--white);
  box-shadow: var(--shadow);
}

.section-intro,
.section-pricing,
.section-customers,
.section-doc {
  background: var(--lavender);
}

.section-rooms,
.section-form,
.section-contact {
  background: var(--lavender-deep);
}

/* Cards */

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

.card {
  padding: 28px;
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: var(--shadow);
}

.card p {
  margin: 0;
}

.card-icon,
.tile-icon {
  display: inline-grid;
  place-items: center;
  flex: none;
  width: 48px;
  height: 48px;
  border-radius: 12px;
  color: var(--purple);
  background: var(--sky);
}

.card-icon {
  margin-bottom: 16px;
}

.section .card-title {
  margin: 0 0 0.6em;
  font-size: 1.1875rem;
  line-height: 1.3;
  color: var(--purple-dark);
}

.check-list {
  margin: 0;
  padding: 0;
  list-style: none;
}

.check-list li {
  position: relative;
  padding: 7px 0 7px 28px;
  border-top: 1px solid var(--lavender);
}

.check-list li:first-child {
  border-top: 0;
}

.check-list li::before {
  left: 4px;
  top: 1em;
}

.check-list small {
  font-size: 0.875rem;
  color: #5b6672;
}

/* Videos */

.video-grid {
  display: grid;
  gap: 20px;
  margin-top: 32px;
}

@media (min-width: 800px) {
  .video-grid {
    grid-template-columns: 1fr 1fr;
  }
}

/* Pricing */

.price-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 16px;
  margin-bottom: 16px;
}

.price-card {
  display: flex;
  flex-direction: column;
  padding: 26px 20px;
  border-radius: var(--radius);
  text-align: center;
  background: var(--white);
  box-shadow: var(--shadow);
}

.section .price-card h3 {
  margin: 0 0 0.25em;
  font-size: 1.1875rem;
  color: var(--purple-dark);
}

.price-participants {
  margin: 0 0 1rem;
  font-size: 0.9375rem;
  color: #5b6672;
}

.price {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
  margin: auto 0 0.35rem;
}

.price s {
  font-size: 1rem;
  color: #8a94a0;
}

.price strong {
  font-family: var(--font-brand);
  font-size: 2rem;
  font-weight: 400;
  line-height: 1.1;
  color: var(--purple);
}

.price-unit {
  margin: 0;
  font-size: 0.875rem;
  color: #5b6672;
}

.pricing-note {
  max-width: 48em;
  margin: 1.75rem auto 0;
  text-align: center;
  font-size: 0.9375rem;
  color: #4a5560;
}

/* Contact form */

.container-narrow {
  max-width: 880px;
}

.contact-form {
  padding: clamp(20px, 4vw, 36px);
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: var(--shadow);
}

.form-grid {
  display: grid;
  gap: 18px 20px;
}

@media (min-width: 640px) {
  .form-grid {
    grid-template-columns: 1fr 1fr;
  }

  .field-wide {
    grid-column: 1 / -1;
  }
}

.field label {
  display: block;
  margin-bottom: 6px;
  font-size: 0.9375rem;
  font-weight: 700;
}

.req {
  margin-left: 2px;
  color: var(--purple);
}

.field input,
.field textarea {
  width: 100%;
  padding: 12px 14px;
  border: 1.5px solid #cfd3e0;
  border-radius: 10px;
  font: inherit;
  color: var(--ink);
  background: #fbfbfe;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.field textarea {
  min-height: 160px;
  resize: vertical;
}

.field input:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--purple);
  background: var(--white);
  box-shadow: 0 0 0 3px rgba(106, 81, 163, 0.18);
}

.field [aria-invalid="true"] {
  border-color: #c0392b;
}

.field-error {
  margin: 6px 0 0;
  font-size: 0.875rem;
  font-weight: 600;
  color: #b42318;
}

.form-honeypot {
  position: absolute;
  left: -10000px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

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

.form-footer .button {
  padding: 0.75em 1.6em;
  border: 0;
  font-size: 1.0625rem;
  cursor: pointer;
}

.form-hint {
  margin: 16px 0 0;
  font-size: 0.8125rem;
  color: #5b6672;
}

altcha-widget {
  --altcha-color-primary: var(--purple);
  --altcha-border-radius: 10px;
  --altcha-border-color: #cfd3e0;
  --altcha-max-width: 320px;
}

.alert {
  margin: 0 0 20px;
  padding: 14px 18px;
  border-radius: 10px;
  font-weight: 600;
}

.alert-success {
  border: 1px solid #b7e1c4;
  color: #1e6b3a;
  background: #e7f6ec;
}

.alert-error {
  border: 1px solid #f5c2bc;
  color: #a12a1f;
  background: #fdecea;
}

/* Customers */

.tiles {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 14px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.tiles li {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 16px 20px;
  border-radius: var(--radius);
  font-weight: 700;
  background: var(--white);
  box-shadow: var(--shadow);
}

.tile-icon {
  width: 44px;
  height: 44px;
}

/* Document pages */

.splash-compact {
  display: block;
  place-items: normal;
  min-height: 0;
  padding: clamp(36px, 6vw, 64px) 0;
  text-align: left;
}

.splash-compact .kicker {
  margin-bottom: 6px;
}

.splash-compact h1 {
  margin: 0;
  font-size: clamp(1.75rem, 1.2rem + 2vw, 2.75rem);
  color: var(--purple-dark);
}

.doc {
  max-width: 820px;
  margin: 0 auto;
  padding: clamp(24px, 5vw, 56px);
  border-radius: var(--radius);
  overflow-wrap: break-word;
  background: var(--white);
  box-shadow: var(--shadow);
}

.section .doc h2 {
  margin: 2em 0 0.6em;
  font-size: 1.375rem;
}

.section .doc h2:first-child,
.doc .doc-date + h2 {
  margin-top: 0;
}

.doc h3 {
  margin: 1.6em 0 0.5em;
  font-size: 1.125rem;
  color: var(--purple-dark);
}

.doc p,
.doc ul {
  margin: 0 0 1em;
}

.doc ul {
  padding-left: 1.25em;
}

.doc li {
  margin-bottom: 0.4em;
}

.doc-date {
  font-size: 0.9375rem;
  color: #5b6672;
}

.doc-note {
  padding: 12px 16px;
  border-left: 4px solid var(--purple);
  border-radius: 10px;
  background: var(--lavender);
}

/* Footer */

.footer-logo {
  display: inline-block;
  margin-bottom: 16px;
}

.footer-logo img {
  width: 56px;
  height: 56px;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px 24px;
  margin: 0 0 12px;
  padding: 0;
  list-style: none;
}

.splash-compact .container {
  max-width: calc(820px + 2 * var(--gutter));
}

/* Line breaking */

p,
li {
  text-wrap: pretty;
}

.nowrap {
  white-space: nowrap;
}
