@font-face {
  font-family: "TWK Everett";
  src: url("assets/fonts/TWKEverett-Regular.woff") format("woff");
  font-style: normal;
  font-weight: 400;
  font-display: swap;
}

@font-face {
  font-family: "TWK Everett";
  src: url("assets/fonts/TWKEverett-Medium.woff2") format("woff2");
  font-style: normal;
  font-weight: 500 600;
  font-display: swap;
}

@font-face {
  font-family: "TWK Everett";
  src: url("assets/fonts/TWKEverett-Bold.woff") format("woff");
  font-style: normal;
  font-weight: 700;
  font-display: swap;
}

:root {
  color-scheme: light;
  --ink: #0f0e2b;
  --paper: #fffaf0;
  --cream: #fffaf0;
  --blue: #1f24e9;
  --blue-bright: #6da5ff;
  --blue-pale: #eaf0fa;
  --line: #dedee8;
  --font-body: "TWK Everett", Arial, sans-serif;
  --font-display: "TWK Everett", Arial, sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 6rem;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.65;
  overflow-wrap: anywhere;
  -webkit-font-smoothing: antialiased;
}

a {
  color: inherit;
  text-decoration: none;
}

a:focus-visible,
summary:focus-visible {
  outline: 3px solid var(--blue);
  outline-offset: 4px;
  border-radius: 3px;
}

.hero a:focus-visible,
.features a:focus-visible,
.final-cta a:focus-visible,
.site-footer a:focus-visible {
  outline-color: var(--cream);
}

main:focus {
  outline: none;
}

img {
  display: block;
  max-width: 100%;
}

.container {
  width: min(1280px, calc(100% - 64px));
  margin-inline: auto;
}

.skip-link {
  position: absolute;
  z-index: 10;
  top: 12px;
  left: 12px;
  padding: 12px 16px;
  transform: translateY(-160%);
  color: #fff;
  background: var(--ink);
  font-weight: 700;
}

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

.site-header {
  position: relative;
  z-index: 2;
  background: var(--paper);
}

.header-inner,
.main-nav,
.brand,
.hero-actions,
.footer-inner {
  display: flex;
  align-items: center;
}

.header-inner {
  min-height: 84px;
  justify-content: space-between;
  gap: 30px;
}

.brand {
  flex: 0 0 auto;
}

.brand-logo {
  display: block;
  width: 174px;
  height: auto;
}

.main-nav {
  gap: clamp(18px, 3vw, 38px);
  font-size: 0.88rem;
  font-weight: 600;
}

.main-nav > a:not(.nav-cta):hover,
.text-link:hover {
  color: var(--blue);
}

.main-nav .nav-cta {
  padding: 11px 16px;
  border: 1px solid var(--ink);
  transition:
    color 160ms ease,
    background-color 160ms ease;
}

.main-nav .nav-cta:hover {
  color: #fff;
  background: var(--ink);
}

.hero {
  overflow: hidden;
  color: var(--cream);
  background: var(--ink);
}

.hero-grid {
  display: grid;
  min-height: 615px;
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
  align-items: center;
  gap: clamp(36px, 4vw, 64px);
  padding-block: 80px;
}

.eyebrow {
  margin: 0 0 20px;
  color: var(--blue-bright);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

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

.eyebrow-dot,
.live-indicator {
  display: inline-block;
  width: 8px;
  height: 8px;
  margin-right: 9px;
  border-radius: 50%;
  background: var(--blue-bright);
  vertical-align: 1px;
}

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

h1,
h2,
h3 {
  font-family: var(--font-display);
  letter-spacing: -0.045em;
}

.hero h1 {
  max-width: 680px;
  margin-bottom: 25px;
  font-size: clamp(2.65rem, 4.3vw, 4.1rem);
  font-weight: 500;
  line-height: 1.04;
}

.hero h1 span {
  display: block;
  margin-top: 10px;
  font-size: 0.68em;
  letter-spacing: -0.035em;
  line-height: 1.15;
}

.hero h1 span,
.section-heading h2 span,
.use-cases-intro h2 span,
.platform h2 span {
  color: var(--blue-bright);
}

.hero-lead {
  max-width: 575px;
  margin-bottom: 29px;
  color: #d8d7e2;
  font-size: clamp(1rem, 1.4vw, 1.15rem);
  line-height: 1.75;
}

.hero-actions {
  flex-wrap: wrap;
  gap: 14px 23px;
}

.button {
  display: inline-flex;
  min-height: 51px;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 13px 19px;
  font-size: 0.92rem;
  font-weight: 700;
  transition:
    background-color 160ms ease,
    color 160ms ease,
    transform 160ms ease;
}

.button:hover {
  transform: translateY(-2px);
}

.button-primary {
  color: #fff;
  background: var(--blue);
}

.button-primary:hover {
  background: #363bd3;
}

.button-quiet {
  color: #fff;
}

.button-quiet:hover {
  color: var(--blue-bright);
}

.hero-note {
  margin: 25px 0 0;
  color: #b9b9ce;
  font-size: 0.86rem;
}

.hero-visual {
  min-width: 0;
}

.hero-photo {
  margin: 0;
}

.hero-photo img {
  width: 100%;
  height: auto;
  border-radius: 12px;
}

.hero-photo figcaption {
  margin-top: 18px;
  font-size: 0.86rem;
}

.screen-kicker {
  margin: 0 0 24px;
  color: var(--blue-bright);
  font-weight: 700;
}

.screen-stage {
  display: grid;
  grid-template-columns: repeat(20, minmax(0, 1fr));
  align-items: end;
  padding-block: 12px 60px;
  isolation: isolate;
}

.screen-stage figure {
  min-width: 0;
  margin: 0;
  grid-row: 1;
}

.screen-desktop {
  grid-column: 1 / 19;
}

.screen-stage .screen-mobile {
  z-index: 1;
  grid-column: 16 / -1;
  transform: translateY(50px);
}

.screen-frame {
  display: block;
  border: 1px solid #bcbccf;
  background: var(--ink);
  box-shadow: 0 18px 45px rgb(15 14 43 / 18%);
}

.screen-frame img {
  width: 100%;
  height: auto;
}

.screen-desktop .screen-frame {
  padding: 8px;
  border-radius: 12px;
}

.screen-toolbar {
  display: flex;
  gap: 5px;
  padding: 3px 2px 9px;
}

.screen-toolbar i {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: #bcbccf;
}

.screen-mobile {
  margin: 0;
}

.screen-mobile .screen-frame {
  padding: 6px;
  border-radius: 18px;
}

.screen-mobile img {
  border-radius: 12px;
}

.screen-stage figcaption,
.learning-visual figcaption {
  margin-top: 12px;
  color: #55556b;
  font-size: 0.76rem;
  line-height: 1.4;
  text-align: center;
}

.screen-desktop figcaption {
  padding-right: 18%;
}

.hero-visual figcaption,
.screen-hint {
  color: #c3c3d2;
}

.screen-hint {
  margin: 14px 0 0;
  font-size: 0.78rem;
}

.hero-ribbon {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-around;
  gap: 30px;
  padding: 13px 24px;
  color: var(--ink);
  background: var(--blue-bright);
  font-family: var(--font-display);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.hero-ribbon i {
  width: 6px;
  height: 6px;
  background: var(--ink);
  transform: rotate(45deg);
}

.section-space {
  padding-block: 112px;
}

.section-heading {
  max-width: 720px;
  margin: 0 auto 54px;
  text-align: center;
}

.section-heading .eyebrow {
  margin-bottom: 14px;
}

.section-heading h2,
.use-cases-intro h2,
.platform h2 {
  margin-bottom: 18px;
  font-size: clamp(2.25rem, 4vw, 3.6rem);
  font-weight: 500;
  line-height: 1.1;
}

.section-heading h2 span,
.use-cases-intro h2 span {
  color: var(--blue);
}

.section-heading > p:last-child {
  margin-bottom: 0;
  color: #55556b;
  font-size: 1.05rem;
}

.steps {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 18px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.steps li {
  min-height: 182px;
  padding: 22px 18px;
  border-top: 2px solid var(--blue);
  background: #f6f7fb;
}

.step-number,
.use-case-number {
  color: var(--blue);
  font-family: var(--font-display);
  font-size: 0.8rem;
  font-weight: 700;
}

.steps h3 {
  margin: 25px 0 7px;
  font-size: 1.2rem;
}

.steps p {
  margin: 0;
  color: #5d5d71;
  font-size: 0.88rem;
}

.interface-gallery {
  background: #f6f7fb;
}

.interface-gallery .section-heading {
  margin-bottom: 64px;
}

.experience-story {
  display: grid;
  grid-template-columns: minmax(0, 0.7fr) minmax(0, 1.3fr);
  gap: clamp(32px, 5vw, 72px);
  align-items: center;
}

.question-story {
  grid-template-columns: minmax(0, 1.3fr) minmax(0, 0.7fr);
}

.experience-story + .experience-story {
  margin-top: 72px;
  padding-top: 72px;
  border-top: 1px solid var(--line);
}

.story-copy h3 {
  margin-bottom: 24px;
  font-size: clamp(2rem, 3vw, 2.8rem);
  font-weight: 500;
  line-height: 1.1;
}

.story-copy h3 span {
  color: var(--blue);
}

.story-copy > p:not(.eyebrow) {
  color: #55556b;
}

.story-copy .story-payoff {
  margin-block: 24px;
  padding-left: 18px;
  border-left: 3px solid var(--blue);
  color: var(--ink);
  font-weight: 700;
}

.demo-note {
  font-size: 0.78rem;
}

.learning-story {
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
}

.learning-visual {
  display: grid;
  justify-items: center;
  padding: 36px 24px;
  border-radius: 24px;
  background: #e5ebfa;
}

.learning-label {
  color: var(--blue);
  font-weight: 700;
  text-align: center;
}

.learning-visual .screen-mobile {
  width: min(100%, 230px);
}

.screen-frame:hover {
  border-color: var(--blue-bright);
}

.gallery-cta {
  margin-top: 48px;
  text-align: center;
}

.benefits,
.features {
  color: var(--cream);
  background: var(--ink);
}

.section-heading-light h2 {
  margin-bottom: 0;
}

.section-heading-light h2 span {
  color: var(--blue-bright);
}

.benefit-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  border: 1px solid #383852;
  background: #383852;
}

.benefit-card {
  min-height: 225px;
  padding: 28px 29px;
  background: var(--ink);
}

.card-index {
  color: var(--blue-bright);
  font-size: 0.67rem;
  font-weight: 700;
  letter-spacing: 0.12em;
}

.benefit-card h3 {
  margin: 29px 0 9px;
  font-size: 1.35rem;
}

.benefit-card p {
  margin: 0;
  color: #c3c3d2;
  font-size: 0.9rem;
}

.accessibility-note {
  max-width: 770px;
  margin: 21px auto 0;
  color: #c3c3d2;
  font-size: 0.78rem;
  text-align: center;
}

.use-cases-layout {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: clamp(55px, 9vw, 120px);
}

.use-cases-intro,
.platform-intro {
  position: sticky;
  top: 35px;
  align-self: start;
}

.use-cases-intro .eyebrow {
  margin-bottom: 15px;
}

.use-cases-intro > p:not(.eyebrow) {
  max-width: 370px;
  margin-bottom: 25px;
  color: #55556b;
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  color: var(--blue);
  font-size: 0.9rem;
  font-weight: 700;
}

.use-case-list {
  border-top: 1px solid var(--line);
}

.use-case {
  display: grid;
  grid-template-columns: 48px 1fr;
  gap: 15px;
  padding: 22px 0;
  border-bottom: 1px solid var(--line);
}

.use-case-number {
  padding-top: 4px;
}

.use-case h3 {
  margin: 0 0 5px;
  font-size: 1.2rem;
}

.use-case p {
  margin: 0;
  color: #5d5d71;
  font-size: 0.9rem;
}

.features-layout {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: clamp(55px, 8vw, 110px);
  align-items: start;
}

.features-heading {
  position: sticky;
  top: 35px;
}

.features-heading h2 {
  margin: 0 0 18px;
  font-size: clamp(2.3rem, 4vw, 3.65rem);
  font-weight: 500;
  line-height: 1.08;
}

.features-heading > p:last-child {
  color: #c3c3d2;
}

.feature-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0 30px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.feature-list li {
  position: relative;
  padding: 16px 0 16px 23px;
  border-bottom: 1px solid #383852;
  color: #e3e3eb;
  font-size: 0.91rem;
}

.feature-list li::before {
  position: absolute;
  top: 25px;
  left: 1px;
  width: 8px;
  height: 2px;
  background: var(--blue-bright);
  content: "";
}

.platform {
  background: var(--blue-pale);
}

.platform-grid {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  align-items: center;
  gap: clamp(45px, 8vw, 100px);
}

.platform h2 span {
  color: var(--blue);
}

.platform-grid > div:first-child > p:last-child {
  max-width: 450px;
  margin-bottom: 0;
  color: #4f4f67;
}

.tech-panel {
  padding: 34px;
  background: var(--paper);
  box-shadow: 12px 12px 0 #c6d5f4;
}

.tech-panel h3 {
  margin: 0;
  font-size: clamp(1.5rem, 2.4vw, 2rem);
  font-weight: 500;
  line-height: 1.15;
}

.tech-intro {
  margin: 18px 0 24px;
  color: #55556b;
}

.tech-logos {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.tech-logos li {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  gap: 12px;
  padding: 18px 8px;
  border: 1px solid var(--line);
  border-radius: 8px;
  font-size: 0.76rem;
  font-weight: 600;
  text-align: center;
}

.tech-logos img {
  width: 32px;
  height: 32px;
}

.proof {
  text-align: center;
}

.proof-inner {
  max-width: 960px;
}

.proof-mark {
  height: 65px;
  color: var(--blue);
  font-family: var(--font-display);
  font-size: 6rem;
  line-height: 1;
}

.proof h2 {
  margin-bottom: 14px;
  font-size: clamp(2.1rem, 4vw, 3.2rem);
}

.proof-inner > p:not(.eyebrow) {
  color: #55556b;
}

.event-logos {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  margin: 38px 0 0;
  padding: 0;
  list-style: none;
}

.event-card {
  padding: 28px 24px;
  border-radius: 12px;
  color: var(--cream);
  background: var(--ink);
}

.event-card-devfest {
  background: var(--ink);
}

.event-logo {
  display: flex;
  min-height: 100px;
  align-items: center;
  justify-content: center;
  margin-bottom: 22px;
}

.event-logo img {
  width: auto;
  max-width: 100%;
  height: auto;
  max-height: 90px;
}

.event-card h3 {
  margin: 0 0 6px;
  font-size: 1.05rem;
}

.event-card p {
  margin: 0;
  font-size: 0.85rem;
}

.final-cta {
  color: #fff;
  background: var(--blue);
}

.final-cta-inner {
  display: grid;
  grid-template-columns: 1.3fr 0.7fr;
  align-items: center;
  gap: 60px;
  padding-block: 80px;
}

.final-cta .eyebrow {
  color: #d8e6ff;
}

.final-cta h2 {
  margin-bottom: 18px;
  font-size: clamp(2.5rem, 5vw, 4rem);
  font-weight: 500;
  line-height: 1.03;
}

.final-cta-inner > div:first-child > p:last-child {
  max-width: 600px;
  margin: 0;
  color: #e4e7ff;
}

.cta-actions .button-primary {
  color: var(--ink);
  background: var(--blue-bright);
}

.cta-actions .button-primary:hover {
  color: #fff;
  background: var(--ink);
}

.cta-actions > p {
  max-width: 280px;
  margin: 14px 0 0;
  color: #e4e7ff;
  font-size: 0.8rem;
}

.site-footer {
  color: #fff;
  background: var(--ink);
}

.footer-inner {
  min-height: 112px;
  justify-content: space-between;
  gap: 25px;
}

.brand-footer .brand-logo {
  filter: brightness(0) invert(1);
}

.footer-inner > p {
  margin: 0;
  color: #bdbdd0;
  font-size: 0.82rem;
}

.footer-inner > a:last-child {
  color: var(--blue-bright);
  font-size: 0.84rem;
  font-weight: 700;
}

@media (max-width: 900px) {
  .tech-logos {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .hero-grid {
    min-height: auto;
    grid-template-columns: 1fr;
    gap: 48px;
  }

  .hero-copy {
    max-width: 680px;
  }

  .hero-visual {
    width: min(100%, 720px);
    margin-inline: auto;
  }

  .steps {
    grid-template-columns: repeat(3, 1fr);
  }

  .steps li {
    min-height: 165px;
  }

  .use-cases-layout,
  .features-layout {
    gap: 50px;
  }

  .experience-story {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .story-copy {
    max-width: 600px;
  }

  .learning-story {
    grid-template-columns: minmax(0, 1fr) minmax(0, 0.75fr);
  }

  .feature-list {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 680px) {
  html {
    scroll-padding-top: 1rem;
  }

  .container {
    width: min(100% - 36px, 520px);
  }

  .header-inner {
    min-height: 72px;
    align-items: flex-start;
    flex-direction: column;
    gap: 14px;
    padding-block: 14px;
  }

  .brand-logo {
    width: 154px;
  }

  .main-nav {
    width: 100%;
    flex-wrap: wrap;
    gap: 7px 17px;
    font-size: 0.78rem;
  }

  .main-nav .nav-cta {
    padding: 7px 9px;
  }

  .hero-grid {
    grid-template-columns: 1fr;
    gap: 35px;
    padding-block: 62px 60px;
  }

  .hero h1 {
    font-size: clamp(2.6rem, 12vw, 4rem);
  }

  .hero-visual {
    margin: 0;
  }

  .screen-stage {
    padding-bottom: 0;
  }

  .screen-stage .screen-desktop {
    grid-column: 1 / -1;
  }

  .screen-stage .screen-mobile {
    grid-row: 2;
    grid-column: 15 / -1;
    align-self: start;
    margin-top: -70px;
    transform: none;
  }

  .screen-desktop .screen-frame {
    padding: 4px;
    border-radius: 8px;
  }

  .screen-mobile .screen-frame {
    padding: 4px;
    border-radius: 12px;
  }

  .screen-mobile img {
    border-radius: 8px;
  }

  .screen-desktop figcaption {
    padding-right: 28%;
  }

  .hero-ribbon {
    justify-content: space-between;
    gap: 6px;
    padding-inline: 12px;
    font-size: 0.7rem;
  }

  .section-space {
    padding-block: 76px;
  }

  .section-heading {
    margin-bottom: 36px;
    text-align: left;
  }

  .steps {
    grid-template-columns: repeat(2, 1fr);
    gap: 11px;
  }

  .steps li {
    min-height: 155px;
    padding: 17px;
  }

  .interface-gallery .section-heading {
    margin-bottom: 40px;
  }

  .experience-story + .experience-story {
    margin-top: 50px;
    padding-top: 50px;
  }

  .learning-story {
    grid-template-columns: 1fr;
  }

  .learning-visual {
    padding: 28px 18px;
  }

  .learning-visual .screen-mobile {
    width: min(100%, 210px);
  }

  .steps h3 {
    margin-top: 18px;
  }

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

  .benefit-card {
    min-height: auto;
    padding: 23px;
  }

  .benefit-card h3 {
    margin-top: 18px;
  }

  .use-cases-layout,
  .features-layout,
  .platform-grid,
  .final-cta-inner {
    grid-template-columns: 1fr;
    gap: 37px;
  }

  .use-cases-intro,
  .platform-intro,
  .features-heading {
    position: static;
  }

  .use-case {
    grid-template-columns: 36px 1fr;
    gap: 8px;
  }

  .tech-panel {
    padding: 24px 20px;
    box-shadow: 7px 7px 0 #c6d5f4;
  }

  .event-logos {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .event-logo img {
    max-width: min(100%, 220px);
  }

  .final-cta-inner {
    padding-block: 62px;
  }

  .footer-inner {
    align-items: flex-start;
    flex-direction: column;
    gap: 15px;
    padding-block: 25px;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }
}
