.hero,
.idea,
.build,
.site-footer {
  width: min(100% - 2rem, 72rem);
  margin-inline: auto;
}

.hero {
  padding: 2.75rem 0 2.5rem;
}

.eyebrow {
  margin: 0 0 0.85rem;
  color: var(--gold);
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.hero h1 {
  margin: 0;
  font-weight: 500;
  line-height: 1.15;
}

.hero-name {
  display: block;
  font-family: var(--display);
  font-style: italic;
  font-size: clamp(3.25rem, 12vw, 6.5rem);
  font-weight: 560;
  letter-spacing: -0.03em;
  line-height: 0.95;
  background: linear-gradient(120deg, var(--foam) 10%, var(--turquoise) 80%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero-rest {
  display: block;
  margin-top: 0.85rem;
  max-width: 22ch;
  font-family: var(--display);
  font-size: clamp(1.45rem, 4.2vw, 2.15rem);
  font-weight: 500;
  letter-spacing: -0.02em;
  color: var(--foam);
}

.hero-by {
  margin: 1rem 0 0;
  color: var(--gold-soft);
  font-weight: 600;
  letter-spacing: 0.02em;
}

.hero-lead {
  margin: 1.25rem 0 0;
  max-width: 42rem;
  color: var(--foam-dim);
  font-size: 1.125rem;
}

.idea,
.build {
  scroll-margin-top: calc(var(--header-h) + 0.75rem);
  padding: 2.75rem 0;
  border-top: 1px solid var(--line);
}

.idea {
  display: grid;
  gap: 1.75rem;
  align-items: center;
}

.idea-num {
  margin: 0 0 0.4rem;
  font-family: var(--display);
  font-style: italic;
  font-size: 1.25rem;
  color: var(--gold);
}

.idea h2,
.build h2 {
  margin: 0 0 0.9rem;
  font-family: var(--display);
  font-weight: 550;
  font-size: clamp(1.6rem, 3.4vw, 2.15rem);
  letter-spacing: -0.02em;
  line-height: 1.2;
  color: var(--foam);
}

.idea-copy p {
  margin: 0 0 0.9rem;
  color: var(--foam-dim);
  max-width: 40rem;
}

.idea-copy p:last-child {
  margin-bottom: 0;
}

.wireframe-wrap {
  margin: 0;
  min-width: 0;
  max-width: 100%;
}

.wireframe-scroll {
  overflow-x: auto;
  overscroll-behavior-x: contain;
  background: #e8e4db;
  border-radius: 1.15rem;
  box-shadow: var(--shadow);
  -webkit-overflow-scrolling: touch;
  min-width: 0;
  max-width: 100%;
}

.wireframe-scroll img {
  width: 52rem;
  max-width: none;
  height: auto;
}

.wireframe-wrap figcaption {
  margin-top: 0.7rem;
  font-size: 1rem;
  color: var(--foam-dim);
}

.phone-frame {
  width: min(100%, 17.5rem);
  aspect-ratio: 9 / 18.4;
  margin-inline: auto;
  border: 2px dashed rgba(30, 200, 196, 0.55);
  border-radius: var(--radius-phone);
  background:
    linear-gradient(180deg, rgba(30, 200, 196, 0.08), rgba(232, 177, 90, 0.06)),
    var(--navy-card);
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 2rem 1.25rem;
  position: relative;
}

.phone-notch {
  position: absolute;
  top: 0.7rem;
  width: 5.5rem;
  height: 0.7rem;
  border-radius: 999px;
  background: rgba(246, 241, 232, 0.16);
}

.phone-kicker {
  margin: 0;
  font-family: var(--display);
  font-style: italic;
  font-size: 1.2rem;
  color: var(--foam);
}

.phone-soon {
  margin: 0.35rem 0 0;
  color: var(--gold);
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}


.dashboard-frame {
  width: 100%;
  border: 2px dashed rgba(30, 200, 196, 0.55);
  border-radius: 1.15rem;
  background:
    linear-gradient(180deg, rgba(30, 200, 196, 0.08), rgba(232, 177, 90, 0.06)),
    var(--navy-card);
  box-shadow: var(--shadow);
  padding: 1.1rem 1rem 1.15rem;
}

.dashboard-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 0.75rem;
  margin-bottom: 0.9rem;
  flex-wrap: wrap;
}

.dashboard-kicker {
  margin: 0;
  font-family: var(--display);
  font-style: italic;
  font-size: 1.2rem;
  color: var(--foam);
}

.dashboard-soon {
  margin: 0;
  color: var(--gold);
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.dashboard-tiles {
  display: grid;
  gap: 0.75rem;
}

.dash-tile {
  background: rgba(7, 16, 25, 0.55);
  border: 1px solid var(--line);
  border-radius: 0.85rem;
  padding: 0.8rem 0.85rem 0.9rem;
  min-height: 9.5rem;
  display: flex;
  flex-direction: column;
}

.dash-title {
  margin: 0 0 0.7rem;
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--foam-dim);
}

.dash-chart {
  flex: 1;
  min-height: 6rem;
  border-radius: 0.4rem;
  position: relative;
  overflow: hidden;
}

.dash-bars {
  display: flex;
  align-items: flex-end;
  gap: 0.35rem;
  padding: 0.2rem 0.15rem 0;
}

.dash-bars span {
  flex: 1;
  background: rgba(30, 200, 196, 0.22);
  border-radius: 0.2rem 0.2rem 0 0;
  border: 1px dashed rgba(30, 200, 196, 0.4);
  border-bottom: none;
  min-height: 1.2rem;
}

.dash-bars span:nth-child(1) { height: 35%; }
.dash-bars span:nth-child(2) { height: 48%; }
.dash-bars span:nth-child(3) { height: 62%; }
.dash-bars span:nth-child(4) { height: 44%; }
.dash-bars span:nth-child(5) { height: 78%; }
.dash-bars span:nth-child(6) { height: 56%; }
.dash-bars span:nth-child(7) { height: 30%; }

.dash-line,
.dash-area {
  background-color: transparent;
  background-repeat: no-repeat;
  background-position: center;
  background-size: 100% 100%;
  border-bottom: 1px dashed rgba(246, 241, 232, 0.16);
  border-left: 1px dashed rgba(246, 241, 232, 0.16);
}

.dash-line {
  background-image:
    linear-gradient(transparent 0, transparent 100%),
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 200 80' fill='none'%3E%3Cpath d='M4 58 C 28 58, 36 22, 60 28 C 84 34, 92 62, 116 50 C 140 38, 150 18, 174 24 C 186 27, 194 36, 196 40' stroke='%231ec8c4' stroke-width='2' stroke-dasharray='4 5' stroke-linecap='round'/%3E%3C/svg%3E");
}

.dash-area {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 200 80' fill='none'%3E%3Cpath d='M4 64 C 30 60, 40 28, 70 36 C 100 44, 110 18, 140 26 C 160 32, 170 50, 196 42 L 196 76 L 4 76 Z' fill='rgba(232,177,90,0.16)' stroke='%23e8b15a' stroke-width='2' stroke-dasharray='4 5'/%3E%3C/svg%3E");
}

@media (min-width: 800px) {
  .dashboard-tiles {
    grid-template-columns: repeat(3, 1fr);
  }

  .dashboard-frame {
    padding: 1.25rem 1.2rem 1.3rem;
  }
}

.build-lead {
  margin: 0 0 1.5rem;
  max-width: 42rem;
  color: var(--foam-dim);
}

.stack {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.75rem;
}

.stack li {
  background: var(--navy-card);
  border: 1px solid var(--line);
  border-radius: 1rem;
  padding: 1rem 1.1rem;
  min-height: 100%;
}

.stack strong {
  display: block;
  color: var(--turquoise);
  font-weight: 650;
  margin-bottom: 0.2rem;
}

.stack span {
  color: var(--foam-dim);
  font-size: 1rem;
}

@media (min-width: 800px) {
  .hero {
    padding-top: 4rem;
    padding-bottom: 3.5rem;
  }

  .hero-rest {
    max-width: 28ch;
  }

  .idea:not(.idea-wide) {
    grid-template-columns: 1fr 17.5rem;
    gap: 3rem;
    align-items: center;
  }

  .idea-flip:not(.idea-wide) {
    grid-template-columns: 17.5rem 1fr;
  }

  .idea-flip:not(.idea-wide) .idea-copy {
    order: 2;
  }

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

  .stack li:last-child {
    grid-column: 1 / -1;
  }
}

@media (min-width: 1100px) {
  .stack {
    grid-template-columns: repeat(5, 1fr);
  }

  .stack li:last-child {
    grid-column: auto;
  }

  .wireframe-scroll img {
    width: 100%;
    min-width: 0;
  }
}

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

  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }
}

/* ---- hub additions ---- */
.hero{padding-top:2.5rem}
.demo-row{display:grid;gap:2rem;margin-top:1.75rem;align-items:start}
.demo-phone{text-align:center}
.wireframe-scroll{background:#e8e4db}
.wireframe-wrap h3{margin:0 0 .6rem;font-size:1.3rem}
.idea:not(.idea-wide) .phone{width:min(100%,17.5rem);margin-inline:auto}
.idea:not(.idea-wide) .phone-screen{padding:1.1rem .9rem 1.2rem;min-height:21rem;display:flex;flex-direction:column;justify-content:center}
.phone a{color:#0b5d5b}
.mock-title{font:560 italic 1.25rem/1.2 var(--display);margin:0 0 .2rem;color:#161616}
.mock-tag{font-size:1rem;font-weight:700;color:#0b5d5b;margin:0}
.lvl-list{list-style:none;margin:0;padding:0;display:grid;gap:.5rem}
.lvl-list li{display:flex;align-items:center;gap:.7rem;font-weight:600;font-size:1.0625rem;color:#161616}
.lvl-list .lvl{width:1.5rem;height:1.5rem;font-size:.85rem}
.next-link{margin-top:1.1rem}
@media (min-width:900px){.demo-row{grid-template-columns:22.5rem 1fr}}
