/* Landing page refinements: keep Vidiom's existing navy, teal and warm yellow identity. */
:root {
  --ink: #17183f;
  --muted: #5d6472;
  --teal: #079da1;
  --teal-dark: #08777e;
  --line: #dfe5eb;
  --page: #f7f8fa;
  --wash: #e8f6f4;
  --shadow: 0 20px 54px rgb(25 34 62 / 8%);
}

html {
  scroll-padding-top: 88px;
  text-size-adjust: 100%;
  -webkit-text-size-adjust: 100%;
}

body {
  min-width: 320px;
  font-size: 16px;
  line-height: 1.65;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

::selection {
  color: var(--ink);
  background: #fff0a6;
}

.skip-link {
  position: fixed;
  z-index: 30;
  top: 10px;
  left: 10px;
  padding: 11px 16px;
  transform: translateY(-160%);
  border-radius: 10px;
  background: var(--ink);
  color: #fff;
  font-size: 14px;
  font-weight: 700;
  transition: transform 160ms ease;
}

.skip-link:focus {
  transform: translateY(0);
}

.header {
  background: rgb(255 255 255 / 94%);
}

.header-inner {
  min-height: 76px;
}

.lang {
  min-height: 44px;
  border-radius: 12px;
  font-size: 13px;
}

.btn {
  min-height: 48px;
  border-radius: 13px;
  box-shadow: 0 5px 14px rgb(8 127 135 / 14%);
}

.btn:active {
  transform: translateY(0);
}

.hero {
  padding-block: clamp(42px, 5vw, 64px) clamp(52px, 6vw, 76px);
}

.hero-grid {
  gap: clamp(38px, 5.6vw, 76px);
}

.hero h1 {
  line-height: 1.04;
  letter-spacing: -.052em;
  text-wrap: pretty;
}

.lead {
  color: #555d6c;
  line-height: 1.68;
  text-wrap: pretty;
}

.video-card {
  padding: 12px;
  border-color: #e1e7ed;
  border-radius: 22px;
  box-shadow: var(--shadow);
}

.video-wrap {
  border-radius: 15px;
}

.demo-caption {
  margin-top: 12px;
  font-size: 14px;
  line-height: 1.5;
}

.section {
  padding-block: clamp(60px, 6.5vw, 84px);
}

.section-head h2,
.split-copy h2,
.faq-intro h2,
.closing h2,
.topic-intro h2,
.process-copy h2,
.language-section h2 {
  text-wrap: balance;
}

.section-head p:not(.kicker),
.split-copy > p:not(.kicker),
.faq-intro > p:not(.kicker),
.topic-intro > p,
.process-copy > p {
  color: #5d6472;
  text-wrap: pretty;
}

.feature,
.case,
.faq-list details {
  transition: border-color 160ms ease, box-shadow 160ms ease, background-color 160ms ease;
}

.feature:hover,
.case:hover,
.faq-list details:hover {
  border-color: #b9deda;
  box-shadow: 0 8px 22px rgb(23 24 63 / 5%);
}

.feature p,
.benefit,
.step p {
  font-size: 15px;
  line-height: 1.6;
}

.language-chip {
  min-height: 44px;
  font-size: 13px;
}

.faq-list summary {
  min-height: 24px;
  line-height: 1.5;
  text-wrap: pretty;
}

.closing-inner {
  padding: clamp(24px, 3vw, 36px);
}

.footer-links a {
  min-height: 24px;
}

@media (max-width: 950px) {
  .hero-grid {
    gap: 30px;
  }

  .process-panel,
  .split,
  .topic-layout {
    gap: 30px;
  }
}

@media (max-width: 680px) {
  .header-inner {
    min-height: 66px;
  }

  .header-right {
    min-width: 0;
  }

  .lang {
    min-width: 0;
    min-height: 42px;
    padding-inline: 9px 24px;
    font-size: 12px;
  }

  .header-cta {
    min-height: 42px;
    padding: 8px 11px;
    white-space: normal;
    line-height: 1.25;
  }

  .hero {
    padding-block: 34px 48px;
  }

  .hero h1 {
    font-size: clamp(38px, 10.8vw, 54px);
    line-height: 1.04;
  }

  .hero .eyebrow {
    max-width: 100%;
    font-size: clamp(9px, 2.7vw, 12px);
    letter-spacing: .025em;
  }

  .section {
    padding-block: 54px;
  }

  .section-head h2,
  .split-copy h2,
  .process-copy h2,
  .faq-intro h2,
  .topic-intro h2 {
    font-size: clamp(29px, 8vw, 34px);
  }

  .feature p,
  .benefit,
  .step p {
    font-size: 14px;
  }

  .language-chip {
    min-height: 42px;
    padding-inline: 6px;
    font-size: 12px;
    overflow-wrap: anywhere;
  }

  .closing-inner {
    gap: 18px;
  }
}

@media (max-width: 390px) {
  .shell {
    width: calc(100% - 24px);
  }

  .header-inner {
    gap: 8px;
  }

  .brand {
    gap: 6px;
  }

  .brand img {
    height: 28px;
  }

  .brand span {
    font-size: 18px;
  }

  .header-right {
    gap: 5px;
  }

  .lang {
    width: 82px;
    padding-left: 7px;
    font-size: 11px;
  }

  .header-cta {
    max-width: 104px;
    padding-inline: 8px;
    font-size: 11px;
  }

  .hero .eyebrow {
    padding-inline: 6px;
    font-size: 9px;
  }
}

@media (max-width: 360px) {
  .brand span {
    display: none;
  }

  .lang {
    width: 76px;
  }

  .header-cta {
    max-width: 96px;
  }
}

html[dir="rtl"] .skip-link {
  right: 10px;
  left: auto;
}

@media (prefers-reduced-motion: reduce) {
  .skip-link,
  .feature,
  .case,
  .faq-list details {
    transition: none;
  }
}
