:root {
  --night: #180828;
  --ink: #141518;
  --surface: #222426;
  --surface-soft: #2e3133;
  --text: #f0f2f4;
  --muted: #aaaeb3;
  --line: rgba(255, 255, 255, 0.12);
  --orange: #ff8b00;
  --apricot: #ffc26b;
  --paper: #fff1d9;
  --max-width: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  overflow-x: hidden;
  color: var(--text);
  background:
    radial-gradient(80% 44rem at 50% -10rem, rgba(255, 139, 0, 0.22), transparent 68%),
    linear-gradient(180deg, var(--ink) 0, var(--surface) 48%, var(--night) 100%);
  font-family: ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 16px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}

body::before {
  position: fixed;
  inset: 0;
  z-index: -1;
  content: "";
  pointer-events: none;
  opacity: 0.17;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 180 180' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.8' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.35'/%3E%3C/svg%3E");
}

a {
  color: inherit;
}

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

.skip-link {
  position: absolute;
  top: 12px;
  left: 12px;
  z-index: 10;
  padding: 10px 14px;
  color: #1a0e00;
  background: var(--apricot);
  border-radius: 999px;
}

.skip-link:not(:focus):not(:focus-visible) {
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  clip-path: inset(50%);
  white-space: nowrap;
  border: 0;
}

.site-header,
.hero,
.workflow,
.promise,
footer {
  width: min(calc(100% - 48px), var(--max-width));
  margin-inline: auto;
}

.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 84px;
}

.site-header nav,
footer nav {
  display: flex;
  align-items: center;
  gap: 28px;
}

.site-header nav a,
footer nav a,
.text-link {
  color: var(--muted);
  text-decoration: none;
  transition: color 160ms ease;
}

.site-header nav a:hover,
.site-header nav a:focus-visible,
footer nav a:hover,
footer nav a:focus-visible,
.text-link:hover,
.text-link:focus-visible {
  color: var(--text);
}

.wordmark {
  font-family: "Arial Black", "Helvetica Neue", sans-serif;
  font-size: 25px;
  font-weight: 900;
  line-height: 1;
  letter-spacing: -0.075em;
  text-decoration: none;
}

.wordmark span {
  color: var(--orange);
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(460px, 1.08fr);
  gap: clamp(40px, 7vw, 96px);
  align-items: center;
  min-height: 710px;
  padding: 54px 0 96px;
}

.hero-copy {
  position: relative;
  z-index: 2;
}

.eyebrow,
.step-number {
  margin: 0 0 18px;
  color: var(--orange);
  font-family: ui-monospace, "SFMono-Regular", Consolas, monospace;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

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

h1,
h2,
h3 {
  letter-spacing: -0.04em;
}

h1 {
  max-width: 700px;
  margin-bottom: 24px;
  font-size: clamp(3.5rem, 7.2vw, 6.9rem);
  font-weight: 780;
  line-height: 0.93;
  text-wrap: balance;
}

.hero-lede {
  max-width: 610px;
  margin-bottom: 32px;
  color: #d5d6d8;
  font-size: clamp(1.08rem, 1.6vw, 1.27rem);
  line-height: 1.55;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  align-items: center;
}

.coming-soon {
  display: inline-flex;
  gap: 10px;
  align-items: center;
  min-height: 52px;
  padding: 0 21px;
  color: #1a0e00;
  background: linear-gradient(180deg, var(--apricot), var(--orange) 44%, #ea6300);
  border-radius: 999px;
  box-shadow: inset 0 1px rgba(255, 255, 255, 0.55), 0 13px 36px rgba(255, 139, 0, 0.26);
  font-size: 0.95rem;
  font-weight: 750;
}

.coming-soon svg {
  width: 18px;
  height: 18px;
  fill: currentColor;
}

.text-link {
  padding: 12px 2px;
  font-weight: 650;
}

.hero-art {
  position: relative;
  min-height: 600px;
  isolation: isolate;
}

.hero-art::after {
  position: absolute;
  right: 7%;
  bottom: 1%;
  left: 7%;
  z-index: -1;
  height: 18%;
  content: "";
  background: #000;
  filter: blur(52px);
  opacity: 0.72;
}

.frame {
  position: absolute;
  overflow: hidden;
  width: 44%;
  aspect-ratio: 0.58;
  background: #08090b;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 23px;
  box-shadow: 0 28px 70px rgba(0, 0, 0, 0.46);
}

.frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.frame-back {
  top: 14%;
  left: 1%;
  z-index: 1;
  transform: rotate(-8deg);
}

.frame-front {
  top: 3%;
  left: 29%;
  z-index: 3;
}

.frame-side {
  top: 16%;
  right: 0;
  z-index: 2;
  transform: rotate(8deg);
}

.app-icon {
  position: absolute;
  right: 7%;
  bottom: 1%;
  z-index: 4;
  width: 118px;
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: 27px;
  box-shadow: 0 18px 38px rgba(0, 0, 0, 0.5);
}

.workflow {
  padding: 118px 0;
  border-top: 1px solid var(--line);
}

.section-heading {
  max-width: 730px;
  margin-bottom: 58px;
}

h2 {
  margin-bottom: 0;
  font-size: clamp(2.35rem, 5vw, 4.8rem);
  font-weight: 760;
  line-height: 1;
  text-wrap: balance;
}

.steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  padding: 1px;
  margin: 0;
  list-style: none;
  background: var(--line);
  border-radius: 22px;
  overflow: hidden;
}

.steps li {
  min-height: 260px;
  padding: 28px;
  background: rgba(46, 49, 51, 0.78);
}

.steps .step-number {
  display: block;
  margin-bottom: 58px;
  color: var(--orange);
}

.steps h3 {
  margin-bottom: 10px;
  font-size: 1.45rem;
}

.steps p {
  margin-bottom: 0;
  color: var(--muted);
}

.promise {
  padding: 118px 0 138px;
  border-top: 1px solid var(--line);
}

.promise h2 {
  max-width: 900px;
  color: var(--paper);
}

.promise-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
  margin-top: 66px;
}

.promise-grid p {
  margin-bottom: 0;
  color: var(--muted);
}

.promise-grid span {
  display: block;
  margin-bottom: 8px;
  color: var(--text);
  font-size: 1.05rem;
  font-weight: 720;
}

footer {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 30px;
  align-items: center;
  min-height: 130px;
  padding: 30px 0;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.9rem;
}

footer p {
  margin: 0;
}

.wordmark-small {
  color: var(--text);
  font-size: 19px;
}

@media (max-width: 900px) {
  .hero {
    grid-template-columns: 1fr;
    gap: 52px;
    min-height: auto;
    padding-top: 70px;
  }

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

  .hero-art {
    width: min(100%, 650px);
    min-height: 640px;
    margin-inline: auto;
  }

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

  footer {
    grid-template-columns: auto 1fr;
  }

  footer nav {
    grid-column: 1 / -1;
  }
}

@media (max-width: 620px) {
  .site-header,
  .hero,
  .workflow,
  .promise,
  footer {
    width: min(calc(100% - 32px), var(--max-width));
  }

  .site-header {
    min-height: 70px;
  }

  .site-header nav {
    gap: 18px;
    font-size: 0.9rem;
  }

  .site-header nav a:first-child {
    display: none;
  }

  .hero {
    padding-top: 50px;
    padding-bottom: 78px;
  }

  h1 {
    max-width: 100%;
    font-size: clamp(2.9rem, 14vw, 4.4rem);
    letter-spacing: -0.055em;
  }

  .hero-actions {
    align-items: flex-start;
    flex-direction: column;
    gap: 8px;
  }

  .hero-art {
    min-height: 460px;
  }

  .frame {
    width: 48%;
    border-radius: 16px;
  }

  .frame-back {
    top: 14%;
    left: 0;
  }

  .frame-front {
    left: 26%;
  }

  .frame-side {
    top: 16%;
  }

  .app-icon {
    right: 3%;
    width: 86px;
    border-radius: 20px;
  }

  .workflow,
  .promise {
    padding: 86px 0;
  }

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

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

  .steps li {
    min-height: 0;
  }

  .steps .step-number {
    margin-bottom: 36px;
  }

  .promise-grid {
    grid-template-columns: 1fr;
    gap: 28px;
    margin-top: 46px;
  }

  footer {
    display: flex;
    align-items: flex-start;
    flex-direction: column;
    min-height: 190px;
  }

  footer nav {
    flex-wrap: wrap;
    gap: 20px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }
}
