:root {
  --ink: #101317;
  --muted: #59616b;
  --paper: #ffffff;
  --soft: #f4f7ff;
  --blue-accent: #2563eb;
  --blue-soft: #8bb8ff;
  --bolt-orange: #f89000;
  --bolt-orange-dark: #d66d00;
  --charcoal: #101317;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: Roboto, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  letter-spacing: 0;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  min-height: 70px;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  padding: 14px clamp(18px, 6vw, 92px);
  background: rgba(255, 255, 255, 0.92);
  border-bottom: 1px solid rgba(16, 19, 23, 0.08);
  backdrop-filter: blur(16px);
}

.brand-mark {
  display: block;
  width: 36px;
  height: 36px;
  border-radius: 8px;
  overflow: hidden;
  background: white;
  box-shadow: 0 8px 18px rgba(16, 19, 23, 0.12);
}

.brand-mark img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.brand-name {
  font-family: Raleway, Roboto, ui-sans-serif, system-ui, sans-serif;
  font-size: 19px;
  font-weight: 900;
  line-height: 1;
}

.brand-home {
  display: inline-flex;
  align-items: center;
  flex: 0 0 auto;
  gap: 12px;
  color: inherit;
  text-decoration: none;
}

.header-links {
  margin-left: auto;
  display: flex;
  align-items: center;
  min-width: 0;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 18px;
  font-size: 14px;
  font-weight: 700;
}

.header-links a {
  color: var(--muted);
  text-decoration: none;
}

.header-links a:hover {
  color: var(--ink);
}

.language-switcher {
  margin-left: 2px;
}

.language-switcher select {
  width: 132px;
  min-height: 36px;
  border: 1px solid rgba(16, 19, 23, 0.14);
  border-radius: 8px;
  padding: 0 10px;
  color: var(--ink);
  background: white;
  font: inherit;
  font-size: 13px;
  font-weight: 800;
  outline: 0;
}

.language-switcher select:focus {
  border-color: rgba(37, 99, 235, 0.52);
  box-shadow: 0 0 0 4px rgba(37, 99, 235, 0.12);
}

.is-rtl .video-heading,
.is-rtl .slogan-top {
  text-align: left;
}

.video-block {
  position: relative;
  width: 100%;
  background: white;
}

.video-block-with-heading {
  padding-top: clamp(26px, 4vw, 64px);
}

.site-video {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  height: auto;
  object-fit: contain;
  object-position: center;
  background: white;
}

.video-slogan {
  position: absolute;
  z-index: 2;
  max-width: min(620px, calc(100% - 36px));
  color: var(--ink);
  font-family: Raleway, Roboto, ui-sans-serif, system-ui, sans-serif;
  font-size: clamp(30px, 5.2vw, 82px);
  line-height: 0.96;
  font-weight: 900;
  letter-spacing: 0;
  text-wrap: balance;
  pointer-events: none;
}

.slogan-top {
  right: clamp(18px, 6vw, 92px);
  top: clamp(24px, 5vw, 84px);
  text-align: right;
}

.video-heading {
  width: min(1120px, calc(100% - 36px));
  margin: 0 auto clamp(16px, 2.4vw, 34px);
  color: var(--ink);
  font-family: Raleway, Roboto, ui-sans-serif, system-ui, sans-serif;
  font-size: clamp(30px, 5.2vw, 82px);
  line-height: 0.96;
  font-weight: 900;
  letter-spacing: 0;
  text-align: right;
}

.legacy-video-block .site-video {
  width: min(1320px, 100%);
  margin: 0 auto;
}

.legacy-video-block.video-block-with-heading {
  padding-top: clamp(20px, 3.2vw, 46px);
}

.legacy-video-block .video-heading {
  width: min(1040px, calc(100% - 36px));
  margin-bottom: clamp(12px, 1.8vw, 24px);
  font-size: clamp(30px, 4.4vw, 68px);
}

.automation-video-block .site-video {
  width: min(1120px, calc(100% - 36px));
}

.demo-video-block {
  padding-top: clamp(18px, 2.8vw, 36px);
  padding-bottom: clamp(10px, 1.6vw, 22px);
}

.demo-video-block .video-heading {
  width: min(860px, calc(100% - 36px));
  margin-bottom: clamp(10px, 1.4vw, 18px);
  font-size: clamp(28px, 3.3vw, 50px);
}

.demo-video-block .site-video {
  width: min(860px, calc(100% - 36px));
  margin: 0 auto;
  aspect-ratio: 16 / 7.6;
  object-fit: cover;
}

.demo-video-block.demo-video-contain .site-video {
  width: min(760px, calc(100% - 36px));
  aspect-ratio: 16 / 9;
  object-fit: contain;
}

.text-block {
  position: relative;
  overflow: hidden;
  padding: clamp(32px, 3.8vw, 56px) clamp(18px, 6vw, 92px);
}

.demo-text-block {
  padding-top: clamp(22px, 2.6vw, 32px);
  padding-bottom: clamp(22px, 2.6vw, 32px);
}

.demo-text-block .text-inner {
  width: min(900px, 100%);
}

.demo-text-block h2 {
  font-size: clamp(28px, 3.1vw, 42px);
}

.demo-text-block p {
  font-size: clamp(16px, 1.1vw, 17px);
}

.text-block-light {
  background: var(--soft);
}

.text-block-has-edge-art {
  min-height: clamp(290px, 24vw, 390px);
}

.edge-art {
  position: absolute;
  right: 0;
  bottom: clamp(-74px, -4vw, -36px);
  z-index: 0;
  width: clamp(260px, 27vw, 420px);
  height: auto;
  pointer-events: none;
  user-select: none;
}

.text-block-dark {
  color: white;
  background: var(--charcoal);
}

.devices-block {
  overflow: hidden;
  padding: clamp(36px, 5.2vw, 78px) clamp(18px, 6vw, 92px) clamp(18px, 3vw, 42px);
  background: white;
}

.devices-inner {
  width: min(1240px, 100%);
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(300px, 0.52fr) minmax(420px, 1fr);
  gap: clamp(22px, 5vw, 76px);
  align-items: center;
}

.devices-copy {
  max-width: 520px;
}

.devices-copy h2 {
  margin-bottom: 18px;
}

.devices-copy p {
  max-width: 430px;
}

.devices-stage {
  position: relative;
  min-height: clamp(340px, 34vw, 520px);
}

.site-footer {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 18px;
  padding: 24px 18px 30px;
  background: white;
  border-top: 1px solid rgba(16, 19, 23, 0.08);
  font-size: 14px;
}

.site-footer a,
.legal-document a {
  color: var(--blue-accent);
  text-decoration: none;
}

.site-footer a:hover,
.legal-document a:hover {
  text-decoration: underline;
}

.support-form {
  width: min(760px, 100%);
  margin: 0 auto;
  display: grid;
  gap: 18px;
}

.support-field {
  display: grid;
  gap: 8px;
}

.support-field label {
  color: var(--ink);
  font-size: 15px;
  font-weight: 800;
}

.support-field input,
.support-field textarea {
  width: 100%;
  border: 1px solid rgba(16, 19, 23, 0.16);
  border-radius: 8px;
  padding: 15px 16px;
  color: var(--ink);
  background: white;
  font: inherit;
  line-height: 1.4;
  outline: 0;
}

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

.support-field input:focus,
.support-field textarea:focus {
  border-color: var(--blue-accent);
  box-shadow: 0 0 0 4px rgba(37, 99, 235, 0.12);
}

.support-submit {
  justify-self: start;
  min-height: 54px;
  border: 0;
  border-radius: 8px;
  padding: 0 26px;
  color: white;
  background: var(--ink);
  font: inherit;
  font-weight: 900;
  cursor: pointer;
}

.support-submit:hover {
  background: #1d232b;
}

.download-hero {
  overflow: hidden;
  padding: clamp(46px, 7vw, 96px) clamp(18px, 6vw, 92px) clamp(34px, 5vw, 72px);
  color: white;
  background: var(--charcoal);
}

.download-hero-inner {
  width: min(1120px, 100%);
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(160px, 280px);
  gap: clamp(22px, 6vw, 86px);
  align-items: center;
}

.download-copy .eyebrow {
  color: var(--blue-soft);
}

.download-copy h1 {
  margin: 0;
  font-size: clamp(52px, 9vw, 118px);
  line-height: 0.9;
}

.download-copy p {
  max-width: 580px;
  margin: 20px 0 0;
  color: rgba(255, 255, 255, 0.76);
}

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

.download-primary,
.download-secondary {
  display: inline-flex;
  min-height: 52px;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  padding: 0 22px;
  font-weight: 900;
  text-decoration: none;
}

.download-primary {
  color: var(--ink);
  background: white;
}

.download-secondary {
  color: white;
  border: 1px solid rgba(255, 255, 255, 0.28);
}

.download-device {
  display: block;
  width: min(240px, 42vw);
  justify-self: center;
  filter: drop-shadow(0 24px 42px rgba(0, 0, 0, 0.24));
}

.download-page {
  padding: clamp(28px, 5vw, 64px) clamp(18px, 6vw, 92px);
  background: white;
}

.download-grid {
  width: min(1120px, 100%);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
}

.platform-link {
  display: grid;
  min-height: 112px;
  align-content: space-between;
  border: 1px solid rgba(16, 19, 23, 0.12);
  border-radius: 8px;
  padding: 18px;
  color: var(--ink);
  background: white;
  text-decoration: none;
}

.platform-link span {
  color: var(--muted);
  font-size: 14px;
  line-height: 1.35;
}

.platform-link strong {
  font-family: Raleway, Roboto, ui-sans-serif, system-ui, sans-serif;
  font-size: 22px;
  line-height: 1;
}

.platform-link:not(.platform-link-disabled):hover {
  border-color: rgba(37, 99, 235, 0.42);
  box-shadow: 0 14px 28px rgba(16, 19, 23, 0.08);
}

.platform-link-disabled {
  color: rgba(16, 19, 23, 0.54);
  background: #f8fafc;
}

.legal-hero {
  padding: clamp(50px, 7vw, 96px) clamp(18px, 6vw, 92px);
  color: white;
  background: var(--charcoal);
}

.legal-hero-inner {
  width: min(1120px, 100%);
  margin: 0 auto;
}

.legal-hero .eyebrow {
  color: var(--blue-soft);
}

.legal-hero h1 {
  max-width: 860px;
  margin: 0;
  font-size: clamp(42px, 7vw, 92px);
  line-height: 0.96;
}

.legal-hero p {
  max-width: 620px;
  margin: 18px 0 0;
  color: rgba(255, 255, 255, 0.74);
}

.legal-page {
  padding: clamp(34px, 6vw, 76px) clamp(18px, 6vw, 92px);
  background: white;
}

.legal-document {
  width: min(920px, 100%);
  margin: 0 auto;
  padding: 0;
  background: transparent;
  border: 0;
}

.legal-document .eyebrow,
.legal-document h1,
.legal-document h2,
.legal-document p,
.legal-document li {
  grid-column: auto;
}

.legal-document h2 {
  font-family: Raleway, Roboto, ui-sans-serif, system-ui, sans-serif;
  letter-spacing: 0;
}

.legal-document h2 {
  margin: 42px 0 12px;
  font-size: clamp(21px, 2vw, 27px);
  line-height: 1.12;
}

.legal-document p,
.legal-document li {
  max-width: none;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.62;
}

.legal-document ul {
  margin: 0 0 20px;
  padding-left: 22px;
}

.device {
  position: absolute;
  display: block;
  height: auto;
  user-select: none;
  pointer-events: none;
}

.device-macbook {
  right: clamp(-90px, -5vw, -34px);
  bottom: 0;
  width: min(740px, 68vw);
}

.device-ipad {
  left: clamp(0px, 3vw, 52px);
  bottom: clamp(10px, 2vw, 34px);
  width: clamp(170px, 18vw, 300px);
}

.device-iphone {
  left: clamp(132px, 14vw, 250px);
  bottom: clamp(42px, 5vw, 86px);
  width: clamp(102px, 10vw, 165px);
}

.text-inner {
  position: relative;
  z-index: 1;
  width: min(1120px, 100%);
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(280px, 0.58fr);
  gap: clamp(20px, 3.8vw, 54px);
  align-items: center;
}

.text-block-has-edge-art .text-inner {
  width: min(850px, 100%);
  margin-left: 0;
}

.eyebrow {
  grid-column: 1;
  margin: 0 0 14px;
  color: var(--blue-accent);
  font-size: 12px;
  font-weight: 840;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.text-block-dark .eyebrow {
  color: var(--blue-soft);
}

h1,
h2,
p {
  margin-top: 0;
}

h1,
h2 {
  grid-column: 1;
  margin-bottom: 0;
  font-family: Raleway, Roboto, ui-sans-serif, system-ui, sans-serif;
  font-size: clamp(30px, 4.2vw, 58px);
  line-height: 1;
  font-weight: 900;
  letter-spacing: 0;
}

p {
  grid-column: 2;
  margin-bottom: 4px;
  color: var(--muted);
  font-size: clamp(16px, 1.35vw, 19px);
  line-height: 1.46;
}

.text-block-dark p {
  color: rgba(255, 255, 255, 0.74);
}

.home-download-block {
  padding: clamp(28px, 4.4vw, 62px) clamp(18px, 6vw, 92px);
  color: white;
  background: var(--charcoal);
}

.home-download-inner {
  width: min(1120px, 100%);
  margin: 0 auto;
  display: grid;
  gap: clamp(20px, 3vw, 34px);
  justify-items: center;
  text-align: center;
}

.home-download-inner .eyebrow {
  color: var(--blue-soft);
  margin-inline: auto;
}

.home-download-inner h2 {
  max-width: 780px;
  margin-inline: auto;
  font-size: clamp(30px, 4vw, 54px);
}

.home-download-button,
.devices-download-button {
  position: relative;
  display: inline-flex;
  min-height: 56px;
  align-items: center;
  justify-content: center;
  gap: 12px;
  border-radius: 8px;
  padding: 7px 24px 7px 9px;
  border: 1px solid rgba(214, 109, 0, 0.42);
  font-weight: 900;
  text-decoration: none;
  white-space: nowrap;
  box-shadow: 0 18px 38px rgba(248, 144, 0, 0.22);
  transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease;
}

.home-download-button::before,
.devices-download-button::before {
  content: "";
  display: block;
  width: 36px;
  height: 36px;
  flex: 0 0 auto;
  border-radius: 8px;
  background: white url("/assets/site-icon.png?v=20260625-rounded") center / cover no-repeat;
  box-shadow: 0 8px 18px rgba(16, 19, 23, 0.16);
}

.home-download-button {
  color: white;
  background: var(--bolt-orange);
}

.home-download-button:visited,
.devices-download-button:visited {
  color: white;
}

.home-download-button:hover,
.devices-download-button:hover {
  transform: translateY(-1px);
  border-color: rgba(248, 144, 0, 0.72);
  box-shadow: 0 22px 44px rgba(248, 144, 0, 0.28);
}

.devices-download-button {
  width: fit-content;
  margin-top: 24px;
  color: white;
  background: var(--bolt-orange);
}

@media (max-width: 860px) {
  .text-inner {
    grid-template-columns: 1fr;
  }

  p {
    grid-column: 1;
  }

  .text-block-has-edge-art {
    min-height: 0;
  }

  .edge-art {
    position: relative;
    display: block;
    right: auto;
    bottom: auto;
    z-index: 0;
    width: clamp(220px, 62vw, 330px);
    margin: 0 calc(-1 * clamp(18px, 6vw, 92px)) -62px auto;
  }

  .devices-block {
    padding-top: 40px;
  }

  .devices-inner {
    grid-template-columns: 1fr;
  }

  .devices-copy {
    max-width: none;
  }

  .devices-copy p {
    max-width: 620px;
  }

  .devices-stage {
    min-height: clamp(330px, 82vw, 470px);
    margin-inline: calc(-1 * clamp(18px, 6vw, 92px));
  }

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

  .download-device {
    justify-self: start;
    width: min(190px, 44vw);
  }

  .download-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .home-download-inner {
    grid-template-columns: 1fr;
  }

  .home-download-button,
  .devices-download-button {
    width: fit-content;
  }

  .demo-video-block {
    padding-top: 26px;
  }

  .demo-video-block .video-heading {
    text-align: left;
  }

  .device-macbook {
    right: clamp(-150px, -24vw, -70px);
    bottom: 0;
    width: clamp(410px, 112vw, 620px);
  }

  .device-ipad {
    left: clamp(10px, 6vw, 44px);
    bottom: clamp(22px, 8vw, 54px);
    width: clamp(150px, 40vw, 230px);
  }

  .device-iphone {
    left: clamp(118px, 33vw, 210px);
    bottom: clamp(58px, 16vw, 104px);
    width: clamp(92px, 24vw, 136px);
  }
}

@media (max-width: 640px) {
  .text-block {
    padding: 34px 18px;
  }

  .header-links {
    flex: 1 1 100%;
    gap: 10px 12px;
    font-size: 13px;
    flex-wrap: wrap;
    justify-content: flex-start;
    margin-left: 0;
  }

  .language-switcher {
    flex-basis: auto;
    display: flex;
    margin-left: 0;
  }

  .language-switcher select {
    width: 126px;
  }

  .site-footer {
    justify-content: flex-start;
    gap: 10px 16px;
  }

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