:root {
  --ink: #17143e;
  --blue: #3e38d6;
  --mint: #3df0ad;
  --paper: #f6f5ff;
  --line: #a9a5c9;
  --pad: clamp(18px, 6vw, 92px)
}

* {
  box-sizing: border-box
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font: 16px/1.58 "DM Sans", system-ui, sans-serif
}

a {
  color: inherit;
  text-underline-offset: 4px
}

a:focus-visible {
  outline: 3px solid #006148;
  outline-offset: 4px
}

footer a:focus-visible,
.mast a:focus-visible {
  outline-color: var(--mint)
}

.skip {
  position: absolute;
  top: 8px;
  left: 8px;
  background: white;
  padding: 8px;
  transform: translateY(-160%);
  z-index: 2
}

.skip:focus {
  transform: none
}

.mast,
footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 18px;
  padding: 10px var(--pad);
  background: #413cde;
  color: white
}

.logo {
  width: clamp(150px, 22vw, 223px);
  display: block
}

.logo img {
  width: 100%;
  height: auto;
  display: block
}

nav {
  display: flex;
  flex-wrap: wrap;
  gap: 8px clamp(12px, 3vw, 34px);
  font-weight: 700
}

nav a {
  text-decoration: none
}

nav a:hover,
nav a[aria-current=page] {
  text-decoration: underline
}

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

h1,
h2 {
  line-height: 1.01;
  letter-spacing: -.055em
}

h1 {
  font-size: clamp(49px, 9vw, 135px);
  margin-bottom: 23px
}

h2 {
  font-size: clamp(29px, 4.5vw, 63px);
  margin-bottom: 14px
}

.opening {
  background: #221a65;
  color: white;
  text-align: center
}

.opening-copy {
  padding: clamp(34px, 6vw, 86px) var(--pad) clamp(26px, 4vw, 58px)
}

.opening-copy h1 {
  font-size: clamp(42px, 6.5vw, 103px);
  max-width: 17ch;
  margin: 0 auto 20px;
  text-wrap: balance
}

.opening-copy p,
.page-head p {
  max-width: 43ch;
  font-size: clamp(17px, 2vw, 23px)
}

.opening-copy p {
  margin: 0 auto 22px;
  color: #e8e5ff
}

.opening-actions {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  gap: 14px 22px;
  font-weight: 750
}

.opening a:focus-visible {
  outline-color: var(--mint)
}

.opening-image {
  margin: 0;
  min-width: 0
}

.opening-image img {
  width: 100%;
  height: clamp(230px, 32vw, 470px);
  display: block;
  object-fit: cover
}

.button {
  display: inline-block;
  background: var(--mint);
  color: var(--ink);
  padding: 11px 17px;
  border: 1px solid var(--ink);
  font-weight: 800;
  text-decoration: none
}

.button:hover {
  background: white
}

.statement,
.sequence,
.review,
.brief,
.page-head,
.services,
.about,
.contact,
.policy {
  padding: clamp(28px, 6vw, 83px) var(--pad)
}

.statement {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px
}

.statement p,
.review p {
  max-width: 57ch
}

.sequence {
  background: #e7e5ff
}

.sequence-head {
  max-width: 710px
}

.storyboard {
  display: grid;
  grid-template-columns: 1fr 1.1fr .9fr;
  gap: 10px
}

.storyboard article {
  padding: clamp(14px, 2.5vw, 35px);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 275px
}

.storyboard .street {
  background: #30299d;
  color: white
}

.storyboard .screen {
  background: #17143e;
  color: white
}

.storyboard .feed {
  background: var(--mint)
}

.storyboard strong {
  display: block;
  font-size: clamp(25px, 3.4vw, 53px);
  letter-spacing: -.05em;
  line-height: 1.05;
  margin-bottom: 14px
}

.storyboard a,
.review a {
  font-weight: 750
}

.storyboard .context {
  font-size: 13px
}

.review {
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  gap: 20px;
  border-bottom: 1px solid var(--line)
}

.brief {
  background: var(--blue);
  color: white;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px
}

.brief h2 {
  max-width: 20ch;
  margin: 0
}

.brief .button {
  flex-shrink: 0
}

.page-head {
  background: #e7e5ff
}

.page-head h1 {
  font-size: clamp(47px, 7vw, 110px);
  max-width: 15ch
}

.page-head p {
  margin-bottom: 0
}

.services {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 22px
}

.services article,
.policy section {
  border-top: 2px solid var(--blue);
  padding-top: 15px
}

.services h2,
.policy h2,
.contact h2 {
  font-size: clamp(26px, 3.5vw, 44px)
}

.about ol {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 25px;
  padding-left: 23px
}

.about li {
  border-top: 1px solid var(--line);
  padding-top: 12px
}

.contact {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 25px
}

.contact address {
  font-style: normal
}

.contact .button+p {
  margin-top: 10px
}

.policy {
  max-width: 970px;
  margin: auto
}

.policy section {
  padding-bottom: 13px
}

footer {
  background: var(--ink);
  align-items: flex-start;
  padding-block: 24px
}

footer a {
  overflow-wrap: anywhere
}

@media(max-width:740px) {

  .storyboard,
  .services,
  .about ol {
    grid-template-columns: 1fr
  }

  .storyboard article {
    min-height: 0
  }

  .opening h1 br {
    display: none
  }

  .opening-image img {
    object-position: 65% center
  }

  .brief,
  footer,
  .mast {
    flex-wrap: wrap
  }

  footer {
    display: block;
    text-align: center;
  }
}

@media(max-width:520px) {

  .statement,
  .review,
  .contact {
    grid-template-columns: 1fr;
    gap: 10px
  }

  .mast nav {
    width: 100%
  }
}

.moments,
.launch-check,
.home-faq {
  padding: clamp(28px, 6vw, 83px) var(--pad)
}

.moments,
.home-faq {
  display: grid;
  grid-template-columns: .85fr 1.15fr;
  gap: clamp(16px, 5vw, 72px)
}

.moments dl {
  margin: 0
}

.moments dl>div,
.home-faq details {
  border-top: 1px solid var(--line);
  padding: 15px 0
}

.moments dt,
.home-faq summary {
  font-weight: 800
}

.moments dd {
  margin: 5px 0 0
}

.launch-check {
  background: var(--ink);
  color: white
}

.launch-check ol {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
  padding-left: 22px;
  margin: 20px 0 0
}

.launch-check li {
  border-top: 1px solid #bcb8e8;
  padding-top: 14px
}

.launch-check li::marker {
  color: var(--mint)
}

.launch-check strong {
  display: block;
  margin-bottom: 6px
}

.home-faq summary {
  cursor: pointer
}

.home-faq details p {
  margin: 8px 0 0
}

@media(max-width:740px) {

  .moments,
  .launch-check ol,
  .home-faq {
    grid-template-columns: 1fr
  }
}

/* Mobile Navigation & Hamburger Toggle */
.menu-toggle {
  display: none;
}

@media (max-width: 768px) {
  .mast {
    position: relative;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
  }

  .js-ready .menu-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    padding: 0;
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.35);
    border-radius: 8px;
    color: white;
    cursor: pointer;
    flex-shrink: 0;
    transition: background-color 0.2s ease, border-color 0.2s ease;
    -webkit-tap-highlight-color: transparent;
  }

  .js-ready .menu-toggle:hover {
    background-color: rgba(255, 255, 255, 0.12);
    border-color: rgba(255, 255, 255, 0.6);
  }

  .js-ready .menu-toggle:focus-visible {
    outline: 3px solid var(--mint);
    outline-offset: 2px;
  }

  .hamburger-box {
    width: 22px;
    height: 16px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    position: relative;
    pointer-events: none;
  }

  .hamburger-line {
    display: block;
    width: 100%;
    height: 2px;
    background-color: white;
    border-radius: 2px;
    transition: transform 0.25s cubic-bezier(0.4, 0, 0.2, 1), opacity 0.2s ease, background-color 0.25s ease;
    transform-origin: center;
  }

  /* Hamburger to X animation when expanded */
  .menu-toggle[aria-expanded="true"] .hamburger-line:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
    background-color: var(--mint);
  }

  .menu-toggle[aria-expanded="true"] .hamburger-line:nth-child(2) {
    opacity: 0;
    transform: scaleX(0);
  }

  .menu-toggle[aria-expanded="true"] .hamburger-line:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
    background-color: var(--mint);
  }

  .js-ready .mast nav {
    display: none;
    width: 100%;
    flex-direction: column;
    gap: 4px;
    margin-top: 12px;
    padding-top: 14px;
    padding-bottom: 6px;
    border-top: 1px solid rgba(255, 255, 255, 0.18);
  }

  .js-ready .mast nav.is-open {
    display: flex;
    animation: menuSlideDown 0.22s ease-out forwards;
  }

  .mast nav a {
    display: flex;
    align-items: center;
    padding: 12px 14px;
    font-size: 17px;
    line-height: 1.4;
    color: white;
    text-decoration: none;
    border-radius: 6px;
    transition: background-color 0.15s ease, color 0.15s ease, padding-left 0.15s ease;
  }

  .mast nav a:hover {
    background-color: rgba(255, 255, 255, 0.12);
    color: var(--mint);
    text-decoration: none;
    padding-left: 18px;
  }

  .mast nav a[aria-current="page"] {
    background-color: rgba(61, 240, 173, 0.18);
    color: var(--mint);
    font-weight: 800;
    text-decoration: none;
  }
}

@keyframes menuSlideDown {
  from {
    opacity: 0;
    transform: translateY(-8px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (prefers-reduced-motion: reduce) {

  .hamburger-line,
  .menu-toggle,
  .mast nav a {
    transition: none !important;
  }

  .js-ready .mast nav.is-open {
    animation: none !important;
  }
}