html.home-marketing-root {
  overflow-y: hidden;
}

body.home-marketing {
  height: 100vh;
  height: 100svh;
  min-height: 100vh;
  min-height: 100svh;
  overflow-x: hidden;
  overflow-y: auto;
  scrollbar-width: none;
  background: #01040a;
}

body.home-marketing::-webkit-scrollbar {
  display: none;
}

#homepage-stack {
  --home-edge: max(24px, env(safe-area-inset-left), env(safe-area-inset-right));
  flex: 1 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  width: min(calc(100% - 2 * var(--home-edge)), 1180px);
  margin: 0 auto;
  padding: 24px 0;
}

.showcase-stack {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 32px;
}

.showcase-copy {
  width: 100%;
  min-width: 0;
  text-align: center;
}

.showcase-brand {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-size: clamp(58px, 6.2vw, 88px);
}

.showcase-logo {
  display: block;
  flex: 0 0 auto;
  width: 1.12em;
  height: 1.12em;
  object-fit: contain;
}

body.home-marketing .showcase-wordmark {
  margin: 0;
  color: #f4f7fb;
  font-size: 1em;
  font-weight: 700;
  line-height: 1.08;
  letter-spacing: -.05em;
  white-space: nowrap;
}

.showcase-lead {
  margin: 10px auto 0;
  color: #dce8f5;
  font-size: 28px;
  font-weight: 500;
  line-height: 1.3;
  letter-spacing: -.025em;
  text-wrap: balance;
}

.showcase-description {
  max-width: 670px;
  margin: 12px auto 0;
  color: #95a5b7;
  font-size: 16px;
  font-weight: 400;
  line-height: 1.5;
  letter-spacing: -.008em;
  text-wrap: balance;
}

.showcase-actions {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 12px;
  margin-top: 22px;
}

.showcase-action {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
  min-height: 46px;
  padding: 0 24px;
  border: 1px solid #283a4f;
  border-radius: 12px;
  background: #0b1420;
  color: #dde8f5;
  font-size: 15px;
  font-weight: 600;
  line-height: 1;
  text-decoration: none;
  white-space: nowrap;
}

.showcase-action-primary {
  min-width: 164px;
  border-color: #c9e5fa;
  background: #dceefc;
  color: #0a1724;
  box-shadow: inset 0 1px #ffffffa0;
}

.showcase-action svg {
  flex: 0 0 auto;
}

@media (hover: hover) {
  .showcase-action:hover { background: #142439; border-color: #55718c; }
  .showcase-action-primary:hover { background: #fff; border-color: #fff; }
}

.showcase-action:focus-visible {
  outline: 2px solid #8fd8ff;
  outline-offset: 4px;
}

.showcase-preview {
  width: 100%;
  min-width: 0;
  margin: 0;
}

.showcase-stage {
  position: relative;
  isolation: isolate;
  width: calc(min(100%, 1080px, calc((100svh - 458px) * 1.64)) * .84);
  aspect-ratio: 1.64;
  margin: 0 auto;
}

.showcase-tablet {
  position: absolute;
  left: 0;
  top: 0;
  width: 82%;
  aspect-ratio: 247.6 / 178.5;
  border: 1px solid #858c95;
  border-radius: 4.7% / 6.5%;
  background: linear-gradient(140deg, #a5abb2, #515861 25%, #1e252e 60%, #88909a);
  box-shadow: 0 16px 36px #0008, inset 0 1px 1px #e2e8ef80, 0 2px 1px #bac5d433;
}

.showcase-tablet-glass {
  position: absolute;
  inset: 3px;
  border-radius: 4.3% / 6%;
  background: #080a0d;
  box-shadow: inset 0 0 0 1px #ffffff0b;
}

.showcase-tablet-screen {
  position: absolute;
  left: 4.26%;
  right: 4.26%;
  top: 5.9%;
  bottom: 5.9%;
  overflow: hidden;
  border-radius: 1.5% / 2.15%;
  background: #0b0d10;
}

.showcase-tablet-screen img,
.showcase-phone-screen img {
  display: block;
  width: 100%;
  height: auto;
}

.showcase-tablet-camera {
  position: absolute;
  top: 2.6%;
  left: 49.65%;
  width: .7%;
  aspect-ratio: 1;
  border: 1px solid #192430;
  border-radius: 50%;
  background: radial-gradient(circle at 40% 40%, #213445, #020406 65%);
}

.showcase-tablet-button {
  position: absolute;
  left: 91%;
  top: -3px;
  width: 4%;
  height: 2px;
  border-radius: 2px 2px 0 0;
  background: #67717c;
}

.showcase-phone {
  position: absolute;
  right: 0;
  bottom: 0;
  width: 26.5%;
  padding: clamp(3px, .4vw, 6px);
  border: 1px solid #87909b;
  border-radius: 12.5% / 5.9%;
  background: linear-gradient(105deg, #939ba5, #333b46 7%, #141b24 58%, #737c87);
  box-shadow: -12px 12px 24px #0008, 0 18px 36px #0008, inset 0 0 0 1px #c7d0db33;
}

.showcase-phone-screen {
  overflow: hidden;
  border: 1px solid #06090c;
  border-radius: 10.5% / 4.9%;
  background: #0b0d10;
}

.showcase-phone-camera {
  position: absolute;
  left: 48.3%;
  top: 3.3%;
  width: 3.4%;
  aspect-ratio: 1;
  border: 1px solid #273241;
  border-radius: 50%;
  background: radial-gradient(circle at 45% 45%, #132231, #03070a 70%);
}

.showcase-phone-button {
  position: absolute;
  right: -3px;
  top: 28%;
  width: 2px;
  height: 12%;
  border-radius: 0 2px 2px 0;
  background: linear-gradient(#8b939d, #39434f);
}

body.home-marketing footer {
  flex: 0 0 auto;
  min-height: 46px;
  padding-top: 10px;
  font-size: 11px;
}

@media (min-width: 701px) and (max-height: 820px) {
  #homepage-stack { padding-top: 18px; padding-bottom: 18px; }
  .showcase-stack { gap: 24px; }
  .showcase-brand { font-size: clamp(54px, 6vw, 70px); }
  .showcase-lead { margin-top: 6px; font-size: 25px; }
  .showcase-description { margin-top: 10px; font-size: 15px; line-height: 1.45; }
  .showcase-actions { margin-top: 18px; }
  .showcase-stage { width: calc(min(100%, 920px, calc((100svh - 405px) * 1.64)) * .84); }
}

@media (max-width: 700px) {
  #homepage-stack { --home-edge: max(20px, env(safe-area-inset-left), env(safe-area-inset-right)); padding: 20px 0; }
  .showcase-stack { gap: 26px; }
  .showcase-brand { flex-direction: column; gap: 0; font-size: clamp(34px, 10.7vw, 46px); }
  .showcase-logo { width: 88px; height: 88px; }
  .showcase-lead { max-width: 370px; margin-top: 12px; font-size: 22px; line-height: 1.25; }
  .showcase-description { max-width: 400px; margin-top: 12px; font-size: 15px; line-height: 1.5; }
  .showcase-copy-break { display: none; }
  .showcase-actions { width: 100%; gap: 10px; margin-top: 22px; }
  .showcase-action { min-width: 0; min-height: 46px; padding: 0 17px; gap: 12px; font-size: 14px; }
  .showcase-stage { width: calc(min(100%, 530px, max(220px, calc((100svh - 520px) * 1.22))) * .84); aspect-ratio: 1.22; }
  .showcase-tablet { width: 87%; top: 8%; }
  .showcase-tablet-glass { inset: 2px; }
  .showcase-phone { width: 38.5%; }
  body.home-marketing footer { min-height: 42px; padding-top: 8px; font-size: 10px; }
}

@media (max-width: 700px) and (max-height: 740px) {
  #homepage-stack { padding-top: 14px; padding-bottom: 14px; }
  .showcase-stack { gap: 22px; }
  .showcase-brand { flex-direction: row; gap: 3px; font-size: clamp(29px, 8.8vw, 42px); }
  .showcase-logo { width: 1.12em; height: 1.12em; }
  .showcase-lead { margin-top: 12px; font-size: 20px; }
  .showcase-description { max-width: 370px; margin-top: 10px; font-size: 14px; }
  .showcase-actions { margin-top: 18px; }
  .showcase-action { padding: 0 14px; gap: 8px; font-size: 13px; }
  .showcase-stage { width: calc(min(100%, 480px, max(190px, calc((100svh - 390px) * 1.22))) * .84); }
}

@media (max-width: 350px) {
  .showcase-stack { gap: 18px; }
  .showcase-stage { width: calc(min(100%, max(180px, calc((100svh - 408px) * 1.22))) * .84); }
}

@media (min-width: 561px) and (max-width: 700px) {
  .showcase-brand { flex-direction: row; gap: 6px; font-size: 52px; }
  .showcase-logo { width: 1.12em; height: 1.12em; }
  .showcase-lead { max-width: none; }
  .showcase-description { max-width: 570px; }
  .showcase-stage { width: calc(min(100%, 640px, calc((100svh - 380px) * 1.64)) * .84); aspect-ratio: 1.64; }
  .showcase-tablet { top: 0; width: 82%; }
  .showcase-phone { width: 26.5%; }
}

@media (max-height: 620px) and (min-width: 561px) {
  #homepage-stack { padding-top: 16px; padding-bottom: 16px; }
  .showcase-stack { gap: 22px; }
  .showcase-brand { font-size: 40px; }
  .showcase-lead { margin-top: 4px; font-size: 21px; }
  .showcase-description { margin-top: 8px; font-size: 14px; }
  .showcase-actions { margin-top: 14px; }
  .showcase-action { min-height: 42px; padding: 0 20px; font-size: 14px; }
  .showcase-stage { width: calc(min(100%, max(300px, calc((100svh - 354px) * 1.64))) * .84); }
}

@media (max-height: 499px) and (min-width: 561px) {
  .showcase-stage { width: calc(min(100%, 580px) * .84); }
}

.showcase-copy {
  width: min(100%, 560px);
  margin-inline: auto;
  container-type: inline-size;
  text-align: left;
}

.showcase-brand {
  width: 100%;
  flex-direction: row;
  justify-content: flex-start;
  gap: .15em;
  font-size: min(78.34px, calc((100vw - 48px) / 7.148));
}

.showcase-logo {
  width: 1.12em;
  height: 1.12em;
  margin-inline: -.1684em;
}

body.home-marketing .showcase-wordmark {
  flex: 0 0 auto;
  font-size: 1em;
}

.showcase-lead {
  width: 100%;
  max-width: none;
  margin: 10px 0 0;
  font-size: 33.6px;
  line-height: 1.3;
  text-wrap: wrap;
  text-align: justify;
  text-align-last: justify;
}

.showcase-description {
  width: 100%;
  max-width: none;
  margin: 12px 0 0;
  font-size: 18px;
  line-height: 1.5;
  text-wrap: wrap;
  text-align: justify;
  text-align-last: justify;
}

.showcase-sentence {
  display: block;
}

@supports (font-size: 1cqi) {
  .showcase-brand {
    font-size: calc(100cqi / 7.148);
  }
}

@media (max-width: 620px) {
  .showcase-lead {
    font-size: clamp(20px, 5.7vw, 30px);
    text-align: left;
    text-align-last: auto;
  }
  .showcase-description {
    font-size: 15px;
    text-align: left;
    text-align-last: left;
    text-wrap: pretty;
  }
  .showcase-sentence {
    display: inline;
  }
}

@media (max-width: 350px) {
  .showcase-description {
    font-size: 14px;
  }
}

@media (min-width: 701px) and (max-height: 820px) {
  .showcase-copy {
    width: min(100%, 500px);
  }
  .showcase-lead {
    font-size: 30px;
    margin-top: 6px;
  }
  .showcase-description {
    font-size: 16px;
    margin-top: 10px;
    line-height: 1.45;
  }
}

@media (max-height: 620px) and (min-width: 561px) {
  .showcase-copy {
    width: min(100%, 440px);
  }
  .showcase-lead {
    margin-top: 4px;
    font-size: 26.4px;
  }
  .showcase-description {
    margin-top: 8px;
    font-size: 14px;
  }
}

@supports (font-size: 1cqi) {
  .showcase-lead {
    font-size: calc(100cqi * .06);
  }
}
