:root {
  --ink: #18201c;
  --muted: #647069;
  --paper: #fbfaf6;
  --panel: #ffffff;
  --line: #ddd8ce;
  --soft: #f1eee7;
  --green: #1f6b4a;
  --green-soft: #e6f0eb;
  --gold-soft: #f7ecdc;
  --blue-soft: #e8f0f4;
  --shadow: 0 22px 58px rgba(26, 31, 28, 0.14);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.5;
  overflow-x: hidden;
}

a {
  color: inherit;
}

.site-header {
  position: fixed;
  z-index: 20;
  top: 0;
  right: 0;
  left: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 14px 30px;
  background: rgba(251, 250, 246, 0.86);
  border-bottom: 1px solid rgba(221, 216, 206, 0.76);
  backdrop-filter: blur(18px);
}

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

.brand {
  text-decoration: none;
  font-weight: 800;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 32px;
  height: 32px;
  background: var(--ink);
  color: var(--paper);
  font-size: 15px;
}

.site-header nav {
  gap: 20px;
}

.site-header nav a {
  color: var(--muted);
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
}

.hero {
  position: relative;
  min-height: 92vh;
  display: grid;
  align-items: end;
  overflow: hidden;
  padding: 120px 6vw 78px;
  background: #101612;
}

.hero-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.48;
  filter: saturate(0.7);
}

.hero-shade {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(11, 15, 12, 0.92), rgba(11, 15, 12, 0.62) 46%, rgba(11, 15, 12, 0.18)),
    linear-gradient(0deg, rgba(11, 15, 12, 0.92), rgba(11, 15, 12, 0.08) 52%, rgba(11, 15, 12, 0.72));
}

.hero-content {
  position: relative;
  min-width: 0;
  width: min(100%, 920px);
  max-width: 920px;
  color: #fffdf8;
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--green);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.hero .eyebrow {
  color: #bfe2d0;
}

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

h1,
h2 {
  font-family: Georgia, "Times New Roman", serif;
  letter-spacing: 0;
}

h1 {
  max-width: 960px;
  font-size: clamp(46px, 8vw, 94px);
  line-height: 0.98;
  overflow-wrap: break-word;
}

h1 span {
  display: block;
}

h2 {
  max-width: 860px;
  font-size: clamp(34px, 5vw, 60px);
  line-height: 1.02;
}

h3 {
  font-size: 20px;
  line-height: 1.15;
}

.hero-copy {
  max-width: 720px;
  margin-top: 24px;
  color: rgba(255, 253, 248, 0.82);
  font-size: clamp(19px, 2vw, 25px);
}

.hero-actions,
.final-links {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.hero-actions {
  margin-top: 34px;
}

.button,
.final-links a,
.download-panel a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 18px;
  border: 1px solid rgba(255, 255, 255, 0.42);
  color: #fffdf8;
  text-decoration: none;
  font-weight: 800;
}

.button.primary {
  background: #fffdf8;
  color: var(--ink);
  border-color: #fffdf8;
}

.quick-strip {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  max-width: 1180px;
  margin: -34px auto 0;
  padding: 0 24px;
  position: relative;
  z-index: 4;
}

.quick-strip div {
  min-height: 118px;
  padding: 24px;
  background: var(--panel);
  border: 1px solid var(--line);
  box-shadow: 0 12px 32px rgba(26, 31, 28, 0.08);
}

.quick-strip strong {
  display: block;
  margin-bottom: 8px;
  font-size: 18px;
}

.quick-strip span {
  color: var(--muted);
}

.section {
  max-width: 1180px;
  margin: 0 auto;
  padding: 96px 24px;
}

.section-heading {
  max-width: 900px;
  margin-bottom: 34px;
}

.section-heading p:not(.eyebrow) {
  max-width: 780px;
  margin-top: 18px;
  color: var(--muted);
  font-size: 20px;
}

.deck-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 280px;
  gap: 22px;
  align-items: start;
}

.deck-frame {
  height: 720px;
  overflow: hidden;
  background: var(--panel);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}

.deck-frame iframe {
  width: 100%;
  height: 100%;
  border: 0;
}

.download-panel {
  position: sticky;
  top: 86px;
  display: grid;
  gap: 10px;
  padding: 22px;
  background: var(--ink);
  color: #fffdf8;
}

.download-panel h3 {
  margin-bottom: 6px;
}

.download-panel a {
  border-color: rgba(255, 255, 255, 0.22);
}

.phone-gallery {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 18px;
}

figure {
  margin: 0;
}

.phone-gallery figure {
  padding: 12px;
  background: var(--panel);
  border: 1px solid var(--line);
  box-shadow: 0 14px 34px rgba(26, 31, 28, 0.08);
}

.phone-gallery img {
  display: block;
  width: 100%;
  aspect-ratio: 390 / 844;
  object-fit: cover;
  border: 1px solid var(--line);
  background: var(--soft);
}

figcaption {
  margin-top: 12px;
  color: var(--muted);
  font-size: 14px;
  font-weight: 800;
}

.workflow {
  padding-top: 32px;
}

.workflow-list {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
  margin: 0;
  padding: 0;
  list-style: none;
  counter-reset: step;
}

.workflow-list li {
  min-height: 220px;
  padding: 22px;
  background: var(--panel);
  border-top: 4px solid var(--green);
  counter-increment: step;
}

.workflow-list li::before {
  content: "0" counter(step);
  display: block;
  margin-bottom: 36px;
  color: var(--green);
  font-size: 13px;
  font-weight: 900;
}

.workflow-list strong,
.workflow-list span {
  display: block;
}

.workflow-list strong {
  margin-bottom: 10px;
  font-size: 24px;
}

.workflow-list span {
  color: var(--muted);
}

.market-grid,
.feature-grid,
.stack-grid,
.roadmap {
  display: grid;
  gap: 18px;
}

.market-grid {
  grid-template-columns: repeat(4, 1fr);
}

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

.market-grid article,
.feature-grid article,
.stack-grid > div,
.roadmap article {
  background: var(--panel);
  border: 1px solid var(--line);
  padding: 24px;
}

.market-grid strong {
  display: block;
  margin-bottom: 14px;
  font-size: 44px;
  line-height: 1;
}

.market-grid span,
.market-grid a,
.feature-grid p,
.roadmap p,
.stack-grid li,
.final-section p {
  color: var(--muted);
}

.market-grid a {
  display: inline-block;
  margin-top: 16px;
  font-size: 14px;
  font-weight: 800;
}

.feature-grid article {
  min-height: 168px;
}

.feature-grid h3,
.stack-grid h3,
.roadmap h3 {
  margin-bottom: 12px;
}

.stack-grid ul {
  margin: 0;
  padding-left: 19px;
}

.stack-grid li {
  margin: 8px 0;
}

.roadmap article:nth-child(2) {
  background: var(--gold-soft);
}

.roadmap article:nth-child(3) {
  background: var(--blue-soft);
}

.roadmap span {
  display: block;
  margin-bottom: 18px;
  color: var(--green);
  font-weight: 900;
}

.final-section {
  display: grid;
  grid-template-columns: 1fr 420px;
  gap: 40px;
  align-items: center;
  padding-bottom: 120px;
}

.final-section p {
  max-width: 720px;
  margin-top: 18px;
  font-size: 20px;
}

.final-links {
  justify-content: flex-start;
}

.final-links a {
  width: 100%;
  background: var(--ink);
  border-color: var(--ink);
}

@media (max-width: 980px) {
  .site-header {
    position: static;
    align-items: flex-start;
  }

  .site-header nav {
    flex-wrap: wrap;
    justify-content: flex-end;
  }

  .quick-strip,
  .deck-layout,
  .phone-gallery,
  .workflow-list,
  .market-grid,
  .feature-grid,
  .stack-grid,
  .roadmap,
  .final-section {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: 86vh;
    padding-top: 76px;
  }

  .deck-frame {
    height: 520px;
  }

  .download-panel {
    position: static;
  }
}

@media (max-width: 620px) {
  .site-header {
    padding: 12px 18px;
  }

  .site-header nav {
    display: none;
  }

  .hero {
    display: flex;
    align-items: flex-end;
    padding: 74px 22px 54px;
  }

  .hero-content {
    flex: 1 1 auto;
    width: calc(100vw - 44px);
    max-width: calc(100vw - 44px);
  }

  h1 {
    font-size: 40px;
    line-height: 1.02;
    width: calc(100vw - 44px);
    max-width: calc(100vw - 44px);
  }

  .hero-copy {
    max-width: 330px;
    font-size: 18px;
  }

  .section {
    padding: 68px 20px;
  }

  .quick-strip {
    padding: 0 20px;
  }

  .deck-frame {
    height: 420px;
  }
}
