:root {
  color-scheme: light;
  --ink: #060d13;
  --muted: #6a7078;
  --soft: #f5f5f5;
  --paper: #fcfcfc;
  --vintage-paper: #f7f2e7;
  --line: #e0e0e0;
  --blue: #3e63dd;
  --primary-blue: #0584b9;
  --yellow: #ffd935;
  --green: #0f493b;
  --dark: #060d13;
  --shadow: rgba(6, 13, 19, 0.14);
  font-family: Figtree, "Avenir Next", Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-size: 16px;
  letter-spacing: 0;
}

body::selection {
  background: var(--blue);
  color: #fff;
}

a {
  color: inherit;
}

img,
svg {
  display: block;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 86px;
  padding: 16px 56px;
  border-bottom: 1px solid var(--line);
  background: rgba(252, 252, 252, 0.94);
  backdrop-filter: blur(18px);
}

.brand {
  display: inline-flex;
  width: 270px;
  min-height: 54px;
  align-items: center;
  flex: 0 0 auto;
}

.brand img {
  width: 100%;
  height: auto;
  image-rendering: auto;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 28px;
  color: var(--muted);
  font-size: 0.98rem;
  font-weight: 600;
}

.nav-links a {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  text-decoration: none;
}

.nav-links a:last-child {
  color: var(--blue);
}

.hero {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(470px, 0.78fr);
  gap: 54px;
  align-items: center;
  min-height: calc(100vh - 86px);
  padding: 72px 64px 96px;
  overflow: hidden;
  border-bottom: 1px solid var(--line);
  background:
    linear-gradient(90deg, rgba(252, 252, 252, 0.98) 0%, rgba(252, 252, 252, 0.95) 52%, rgba(247, 242, 231, 0.86) 100%),
    url("assets/assembly-piston-background.svg") center right / 720px auto no-repeat;
}

.hero::before {
  position: absolute;
  top: 0;
  left: 64px;
  width: 188px;
  height: 8px;
  background: var(--yellow);
  content: "";
}

.hero-copy {
  position: relative;
  max-width: 780px;
  z-index: 1;
}

.app-icon {
  width: 74px;
  height: 74px;
  border-radius: 16px;
  box-shadow: 0 14px 30px rgba(6, 13, 19, 0.1);
  image-rendering: auto;
}

.eyebrow,
.section-kicker {
  margin: 0 0 18px;
  color: var(--blue);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0;
  text-transform: uppercase;
}

h1,
h2,
h3 {
  margin: 0;
  color: var(--ink);
  letter-spacing: 0;
  font-weight: 600;
}

h1 {
  max-width: 760px;
  font-size: 5.55rem;
  line-height: 0.95;
}

h2 {
  max-width: 860px;
  font-size: 4.2rem;
  line-height: 1;
}

h3 {
  font-size: 1.35rem;
  line-height: 1.12;
}

.intro-copy {
  max-width: 690px;
  margin-top: 30px;
  color: #2f343a;
  font-size: 1.18rem;
  line-height: 1.58;
}

.intro-copy p,
.body-copy p,
.signup-copy p,
.feature-strip p {
  margin: 0 0 18px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 22px;
}

.availability-panel {
  display: grid;
  gap: 14px;
  max-width: 470px;
  margin-top: 28px;
  padding: 18px;
  border: 1px solid var(--line);
  background: rgba(252, 252, 252, 0.76);
  box-shadow: 0 18px 38px rgba(6, 13, 19, 0.06);
}

.availability-primary {
  display: flex;
  gap: 16px;
  align-items: center;
}

.availability-primary span {
  display: block;
  margin-bottom: 4px;
  color: var(--blue);
  font-size: 0.78rem;
  font-weight: 600;
  text-transform: uppercase;
}

.availability-primary strong {
  display: block;
  color: var(--ink);
  font-size: 1.24rem;
  font-weight: 600;
  line-height: 1.12;
}

.availability-panel p {
  margin: 0;
  color: var(--muted);
  font-size: 0.96rem;
  line-height: 1.45;
}

.primary-action,
.secondary-action,
.submit-button {
  min-height: 52px;
  border-radius: 0;
  font: inherit;
  font-weight: 600;
}

.primary-action,
.submit-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  border: 1px solid var(--ink);
  background: var(--ink);
  color: #fff;
  text-decoration: none;
  box-shadow: 0 18px 38px rgba(6, 13, 19, 0.18);
  cursor: pointer;
}

.primary-action {
  padding: 0 22px;
}

.secondary-action {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 20px;
  border: 1px solid var(--ink);
  background: #fff;
  color: var(--ink);
  text-decoration: none;
}

.primary-action svg,
.submit-button svg,
.feature-icon svg {
  width: 19px;
  height: 19px;
  flex: 0 0 auto;
}

.phone-stage {
  position: relative;
  display: flex;
  justify-content: flex-end;
  min-height: 710px;
}

.phone-frame {
  position: relative;
  margin: 0;
  overflow: hidden;
  border: 10px solid var(--ink);
  border-radius: 38px;
  background: #fff;
  box-shadow: 0 24px 70px var(--shadow);
}

.phone-frame::before {
  position: absolute;
  z-index: 2;
  top: 10px;
  left: 50%;
  width: 88px;
  height: 24px;
  border-radius: 0 0 16px 16px;
  background: var(--ink);
  content: "";
  transform: translateX(-50%);
}

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

.phone-main {
  width: 360px;
  height: 782px;
  margin-left: 0;
}

.section {
  padding: 92px 64px;
}

.product-proof {
  display: grid;
  gap: 42px;
  background: #fff;
  border-bottom: 1px solid var(--line);
}

.proof-copy {
  display: grid;
  grid-template-columns: minmax(0, 0.55fr) minmax(0, 1fr);
  gap: 42px;
  align-items: end;
}

.proof-intro {
  max-width: 720px;
  margin: 24px 0 0;
  color: var(--muted);
  font-size: 1.16rem;
  line-height: 1.55;
}

.feature-strip {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  border: 1px solid var(--line);
}

.feature-strip article {
  min-height: 250px;
  padding: 28px;
  border-right: 1px solid var(--line);
  background: var(--paper);
}

.feature-strip article:last-child {
  border-right: 0;
}

.feature-icon {
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  margin-bottom: 38px;
  color: var(--muted);
}

.feature-strip p {
  margin-top: 16px;
  color: var(--muted);
  font-size: 1rem;
  line-height: 1.48;
}

.editorial-section {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(320px, 0.72fr);
  gap: 76px;
  align-items: start;
  background: var(--dark);
  color: #fff;
}

.editorial-section h2 {
  color: #fff;
}

.editorial-section .section-kicker {
  color: var(--blue);
}

.editorial-section .body-copy {
  color: rgba(252, 252, 252, 0.86);
}

.body-copy,
.signup-copy {
  color: #2f343a;
  font-size: 1.28rem;
  line-height: 1.58;
}

.garage-band {
  display: grid;
  grid-template-columns: minmax(360px, 0.72fr) minmax(0, 1fr);
  gap: 64px;
  align-items: center;
  padding: 96px 64px;
  background: var(--dark);
  color: #fff;
}

.garage-card {
  padding: 42px;
  border: 1px solid rgba(252, 252, 252, 0.2);
  background: var(--dark);
}

.garage-card::before {
  display: block;
  width: 132px;
  height: 8px;
  margin-bottom: 36px;
  background: var(--yellow);
  content: "";
}

.garage-card img {
  width: min(100%, 360px);
  height: auto;
}

.garage-rule {
  height: 1px;
  margin: 48px 0 28px;
  background: rgba(252, 252, 252, 0.24);
}

.garage-label {
  margin: 0 0 52px;
  color: rgba(252, 252, 252, 0.58);
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 1rem;
  letter-spacing: 0;
  text-transform: uppercase;
}

.garage-stats {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  border-top: 1px solid rgba(252, 252, 252, 0.18);
}

.garage-stats span {
  display: grid;
  gap: 8px;
  padding-top: 28px;
  text-align: center;
}

.garage-stats span + span {
  border-left: 1px solid rgba(252, 252, 252, 0.18);
}

.garage-stats strong {
  color: #fff;
  font-size: 2rem;
  font-weight: 600;
  line-height: 1;
}

.garage-stats em {
  color: rgba(252, 252, 252, 0.55);
  font-style: normal;
  font-size: 0.82rem;
  font-weight: 600;
  text-transform: uppercase;
}

.garage-band h2,
.garage-band .looking-copy {
  color: #fff;
}

.garage-band .section-kicker {
  color: rgba(252, 252, 252, 0.58);
}

.criteria {
  display: grid;
  gap: 0;
  max-width: 680px;
  margin: 36px 0 0;
  padding: 0;
  border: 1px solid rgba(252, 252, 252, 0.18);
  list-style: none;
}

.criteria li {
  display: grid;
  grid-template-columns: 34px 1fr;
  gap: 18px;
  align-items: start;
  padding: 24px;
  border-bottom: 1px solid rgba(252, 252, 252, 0.18);
  color: rgba(252, 252, 252, 0.88);
  font-size: 1.16rem;
  line-height: 1.42;
}

.criteria li:last-child {
  border-bottom: 0;
}

.check {
  position: relative;
  width: 30px;
  height: 30px;
  border-radius: 0;
  background: var(--green);
}

.check::after {
  position: absolute;
  left: 9px;
  top: 5px;
  width: 8px;
  height: 15px;
  border: solid #fff;
  border-width: 0 3px 3px 0;
  content: "";
  transform: rotate(45deg);
}

.screenshot-section {
  display: flex;
  justify-content: center;
  gap: 42px;
  overflow: hidden;
  background: #fff;
  border-bottom: 1px solid var(--line);
}

.screenshot-section .phone-frame {
  width: 330px;
  height: 718px;
}

.screenshot-section .dark-phone {
  margin-top: 56px;
}

.signup-section {
  display: grid;
  grid-template-columns: minmax(0, 0.78fr) minmax(380px, 0.75fr);
  gap: 72px;
  align-items: start;
  background: var(--soft);
}

.signup-form {
  display: grid;
  gap: 18px;
  padding: 30px;
  border: 1px solid var(--line);
  background: #fff;
  box-shadow: none;
}

.field-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

label {
  display: grid;
  gap: 8px;
  color: var(--ink);
  font-size: 0.9rem;
  font-weight: 600;
}

input,
textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 0;
  background: #fff;
  color: var(--ink);
  font: inherit;
  font-size: 1rem;
}

input {
  min-height: 50px;
  padding: 0 14px;
}

textarea {
  min-height: 126px;
  padding: 13px 14px;
  resize: vertical;
}

input:focus,
textarea:focus {
  border-color: var(--blue);
  outline: 3px solid rgba(62, 99, 221, 0.16);
}

.submit-button {
  width: 100%;
  padding: 0 18px;
}

.form-note {
  min-height: 22px;
  margin: 0;
  color: var(--muted);
  font-size: 0.92rem;
  line-height: 1.45;
}

.hidden {
  display: none;
}

.site-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 18px;
  padding: 34px 56px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  background: #fff;
  font-size: 0.94rem;
}

.site-footer img {
  width: 190px;
  height: auto;
}

@media (max-width: 1180px) {
  h1 {
    font-size: 4.7rem;
  }

  h2 {
    font-size: 3.4rem;
  }

  .hero {
    grid-template-columns: 1fr;
    min-height: 0;
  }

  .phone-stage {
    width: min(100%, 720px);
    min-height: 650px;
    justify-content: center;
    margin: 0 auto;
  }

  .phone-main {
    width: 320px;
    height: 696px;
  }

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

  .feature-strip article:nth-child(2) {
    border-right: 0;
  }

  .feature-strip article:nth-child(-n + 2) {
    border-bottom: 1px solid var(--line);
  }
}

@media (max-width: 900px) {
  .site-header {
    padding: 14px 22px;
  }

  .brand {
    width: 220px;
  }

  .nav-links {
    gap: 18px;
  }

  .hero,
  .section,
  .garage-band {
    padding-left: 22px;
    padding-right: 22px;
  }

  .proof-copy,
  .editorial-section,
  .garage-band,
  .signup-section {
    grid-template-columns: 1fr;
  }

  .editorial-section {
    gap: 42px;
  }

  .screenshot-section {
    flex-wrap: wrap;
  }
}

@media (max-width: 680px) {
  .site-header {
    min-height: 74px;
  }

  .brand {
    width: 176px;
  }

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

  .hero {
    padding-top: 44px;
    padding-bottom: 60px;
    background:
      linear-gradient(180deg, rgba(252, 252, 252, 0.98), rgba(252, 252, 252, 0.92)),
      url("assets/assembly-piston-background.svg") top right / 520px auto no-repeat;
  }

  .hero::before {
    left: 22px;
    width: 132px;
    height: 7px;
  }

  .hero::after {
    position: absolute;
    top: 120px;
    right: -86px;
    width: 220px;
    height: 478px;
    border: 8px solid var(--ink);
    border-radius: 30px;
    background:
      linear-gradient(90deg, rgba(252, 252, 252, 0.38), rgba(252, 252, 252, 0.05)),
      url("assets/app-spec-screen.png") top center / cover no-repeat;
    box-shadow: 0 20px 54px rgba(6, 13, 19, 0.14);
    content: "";
    opacity: 0.18;
  }

  h1 {
    font-size: 2.96rem;
  }

  h2 {
    font-size: 2.48rem;
  }

  .intro-copy,
  .body-copy,
  .signup-copy {
    font-size: 1.04rem;
  }

  .hero-actions {
    display: grid;
  }

  .availability-panel {
    margin-top: 22px;
    padding: 16px;
  }

  .app-icon {
    width: 64px;
    height: 64px;
    border-radius: 14px;
  }

  .availability-primary strong {
    font-size: 1.1rem;
  }

  .phone-stage {
    min-height: 610px;
  }

  .phone-main {
    width: 270px;
    height: 588px;
  }

  .phone-frame {
    border-width: 8px;
    border-radius: 30px;
  }

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

  .feature-strip article {
    min-height: 0;
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .feature-icon {
    margin-bottom: 18px;
  }

  .feature-strip article:last-child {
    border-bottom: 0;
  }

  .editorial-section {
    gap: 26px;
  }

  .garage-card,
  .signup-form {
    padding: 22px;
  }

  .criteria li {
    padding: 18px;
    font-size: 1rem;
  }

  .screenshot-section .phone-frame {
    width: 270px;
    height: 588px;
  }

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

  .site-footer {
    flex-direction: column;
    align-items: flex-start;
    padding: 28px 22px;
  }

  .site-footer img {
    width: 182px;
  }
}
