:root {
  --page: #e0e0e0;
  --shell: #929292;
  --shell-dark: #787878;
  --text: #ffffff;
  --muted: rgba(255, 255, 255, 0.72);
  --line: rgba(255, 255, 255, 0.22);
  --panel: rgba(35, 35, 35, 0.34);
  --panel-dark: #242424;
  --coral: #ff8a63;
  --coral-bright: #ff7448;
  --cream: #fff0d5;
  --shadow: 0 18px 50px rgba(0, 0, 0, 0.16);
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  min-height: 100vh;
  padding: 20px;
  background: var(--page);
  color: var(--text);
  font-family: "Inter", sans-serif;
}

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

a {
  color: inherit;
}

.page-shell {
  max-width: 1200px;
  margin: 0 auto;
  overflow: hidden;
  background: var(--shell);
  border-radius: 10px;
  box-shadow: var(--shadow);
}

.navbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 96px;
  padding: 24px 48px;
  border-bottom: 1px solid var(--line);
}

.brand img,
footer img {
  width: 120px;
  height: auto;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 28px;
}

.nav-links a {
  color: var(--text);
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-decoration: none;
}

.nav-links a:hover {
  color: var(--cream);
}

.nav-links .nav-cta {
  padding: 12px 18px;
  background: rgba(255, 255, 255, 0.15);
  border: 1px solid var(--line);
  border-radius: 999px;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(380px, 0.9fr);
  gap: 48px;
  align-items: center;
  min-height: 690px;
  padding: 72px 48px 64px;
}

.eyebrow {
  margin-bottom: 22px;
  color: var(--cream);
  font-family: "Arimo", sans-serif;
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.eyebrow span {
  display: inline-block;
  margin-left: 10px;
  padding: 6px 10px;
  color: #2b2b2b;
  background: var(--cream);
  border-radius: 999px;
  letter-spacing: 0.08em;
}

h1,
h2,
h3 {
  text-wrap: balance;
}

h1 {
  max-width: 690px;
  font-size: clamp(3.25rem, 6.4vw, 6.1rem);
  font-weight: 800;
  letter-spacing: -0.065em;
  line-height: 0.96;
}

.hero-intro {
  max-width: 650px;
  margin-top: 30px;
  color: var(--muted);
  font-size: clamp(1rem, 1.5vw, 1.2rem);
  line-height: 1.65;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 34px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  padding: 0 22px;
  border: 1px solid transparent;
  border-radius: 999px;
  font-size: 0.9rem;
  font-weight: 700;
  text-decoration: none;
  transition: transform 160ms ease, background-color 160ms ease;
}

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

.button-primary {
  color: #1e1e1e;
  background: var(--cream);
}

.button-primary:hover {
  background: #ffffff;
}

.button-secondary {
  color: var(--text);
  background: rgba(255, 255, 255, 0.09);
  border-color: var(--line);
}

.button-secondary:hover {
  background: rgba(255, 255, 255, 0.16);
}

.hero-demo {
  padding: 16px;
  background: var(--panel-dark);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 24px;
  box-shadow: var(--shadow);
  transform: rotate(1.5deg);
}

.demo-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}

.demo-frame {
  position: relative;
  overflow: hidden;
  aspect-ratio: 3 / 4;
  background: #111111;
  border-radius: 14px;
}

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

.demo-frame span {
  position: absolute;
  left: 10px;
  bottom: 10px;
  padding: 6px 9px;
  background: rgba(0, 0, 0, 0.65);
  border-radius: 999px;
  font-size: 0.64rem;
  font-weight: 600;
}

.hero-demo figcaption {
  padding: 16px 4px 2px;
  color: rgba(255, 255, 255, 0.86);
  font-family: "Arimo", sans-serif;
  font-size: 0.84rem;
}

.prompt-mark {
  color: var(--coral);
  font-weight: 800;
}

.metrics {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.metrics div {
  display: flex;
  flex-direction: column;
  gap: 7px;
  padding: 30px 28px;
  border-right: 1px solid var(--line);
}

.metrics div:last-child {
  border-right: 0;
}

.metrics strong {
  font-size: 1.45rem;
  letter-spacing: -0.035em;
}

.metrics span {
  color: var(--muted);
  font-size: 0.76rem;
}

.section {
  display: grid;
  grid-template-columns: 220px minmax(0, 1fr);
  gap: 48px;
  padding: 96px 48px;
  border-bottom: 1px solid var(--line);
}

.section-label {
  padding-top: 7px;
  color: var(--cream);
  font-family: "Arimo", sans-serif;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.section-content h2,
.examples-heading h2,
.research-card h2,
.closing-cta h2 {
  max-width: 780px;
  font-size: clamp(2.3rem, 4.8vw, 4.7rem);
  font-weight: 800;
  letter-spacing: -0.055em;
  line-height: 1.02;
}

.two-column-copy {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 36px;
  margin-top: 44px;
}

.two-column-copy p,
.decision-grid p,
.product-flow p,
.engineering-list p,
.research-card p,
.closing-cta > p:not(.eyebrow) {
  color: var(--muted);
  font-size: 0.98rem;
  line-height: 1.7;
}

.decision-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-top: 44px;
}

.decision-grid article {
  min-height: 220px;
  padding: 26px;
  background: var(--panel);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 18px;
}

.decision-grid article > span {
  display: block;
  margin-bottom: 40px;
  color: var(--coral);
  font-family: "Arimo", sans-serif;
  font-size: 0.74rem;
  font-weight: 700;
}

.decision-grid h3,
.product-flow h3,
.engineering-list h3 {
  margin-bottom: 10px;
  font-size: 1.15rem;
}

.flow-section {
  background: var(--shell-dark);
}

.product-flow {
  margin-top: 44px;
  list-style: none;
}

.product-flow li {
  display: grid;
  grid-template-columns: 58px 1fr;
  gap: 22px;
  align-items: start;
  padding: 24px 0;
  border-top: 1px solid var(--line);
}

.product-flow li:last-child {
  border-bottom: 1px solid var(--line);
}

.product-flow li > span {
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  color: #222222;
  background: var(--cream);
  border-radius: 50%;
  font-size: 0.8rem;
  font-weight: 800;
}

.examples {
  padding: 96px 48px;
  background: #303030;
}

.examples-heading {
  max-width: 850px;
  margin-bottom: 48px;
}

.example-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}

.example-grid figure {
  overflow: hidden;
  background: #1f1f1f;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 20px;
}

.media-pair {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2px;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: #111111;
}

.media-pair img,
.media-pair video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.example-grid figcaption {
  padding: 18px;
  color: rgba(255, 255, 255, 0.85);
  font-family: "Arimo", sans-serif;
  font-size: 0.82rem;
}

.example-grid figcaption span {
  color: var(--coral);
  font-weight: 800;
}

.engineering {
  background: #858585;
}

.engineering-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0 36px;
  margin-top: 44px;
  border-top: 1px solid var(--line);
}

.engineering-list article {
  padding: 26px 0;
  border-bottom: 1px solid var(--line);
}

.research-card {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 48px;
  align-items: end;
  margin: 48px;
  padding: 48px;
  background: var(--panel-dark);
  border-radius: 24px;
}

.research-card p:not(.eyebrow) {
  max-width: 680px;
  margin-top: 24px;
}

.closing-cta {
  padding: 120px 48px;
  text-align: center;
}

.closing-cta h2 {
  max-width: 820px;
  margin: 0 auto;
}

.closing-cta > p:not(.eyebrow) {
  max-width: 600px;
  margin: 24px auto 34px;
}

footer {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 28px;
  align-items: center;
  padding: 34px 48px;
  color: var(--muted);
  background: rgba(0, 0, 0, 0.08);
  border-top: 1px solid var(--line);
  font-size: 0.73rem;
}

footer p:last-child {
  text-align: right;
}

@media (max-width: 900px) {
  body {
    padding: 0;
  }

  .page-shell {
    border-radius: 0;
  }

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

  .hero-demo {
    max-width: 620px;
    transform: none;
  }

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

  .metrics div:nth-child(2) {
    border-right: 0;
  }

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

  .section {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .research-card {
    grid-template-columns: 1fr;
    align-items: start;
  }

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

  footer p:last-child {
    text-align: left;
  }
}

@media (max-width: 640px) {
  .navbar {
    min-height: 76px;
    padding: 18px 20px;
  }

  .brand img {
    width: 98px;
  }

  .nav-links > a:not(.nav-cta) {
    display: none;
  }

  .nav-links .nav-cta {
    padding: 10px 13px;
    font-size: 0.72rem;
  }

  .hero,
  .section,
  .examples,
  .closing-cta {
    padding-right: 20px;
    padding-left: 20px;
  }

  .hero {
    min-height: auto;
    padding-top: 64px;
    padding-bottom: 48px;
  }

  h1 {
    font-size: clamp(3rem, 15vw, 4.2rem);
  }

  .hero-actions {
    flex-direction: column;
  }

  .button {
    width: 100%;
  }

  .metrics div {
    padding: 24px 18px;
  }

  .metrics strong {
    font-size: 1.1rem;
  }

  .section {
    padding-top: 72px;
    padding-bottom: 72px;
  }

  .two-column-copy,
  .decision-grid,
  .example-grid,
  .engineering-list {
    grid-template-columns: 1fr;
  }

  .research-card {
    gap: 32px;
    margin: 20px;
    padding: 30px 22px;
  }

  .section-content h2,
  .examples-heading h2,
  .research-card h2,
  .closing-cta h2 {
    font-size: clamp(2.25rem, 12vw, 3.45rem);
  }

  .media-pair {
    aspect-ratio: 4 / 3;
  }

  footer {
    padding: 32px 20px;
  }
}

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

  .button {
    transition: none;
  }
}
