.hero-native {
  margin: 0;
  background: #14271b;
  border: 1px solid #304638;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 26px 70px -40px #1e402b;
}
.hero-native .product-chrome {
  justify-content: space-between;
  padding: 13px 18px;
}
.hero-native .product-chrome a {
  font-size: 0.67rem;
  color: #a7dfb8;
  text-decoration: underline;
  text-underline-offset: 3px;
}
.hero-native iframe {
  display: block;
  width: 100%;
  height: 440px;
  border: 0;
  background: #e7ece8;
}
.hero-native figcaption {
  padding: 12px 18px;
  color: #bdd0c3;
  font-size: 0.68rem;
  line-height: 1.5;
}
.native-product-tour .section-head {
  margin-bottom: 32px;
}
.native-workspace-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
  margin: 0 0 22px;
}
.native-workspace-list.story-chapters { display:flex; gap:6px; overflow:auto; padding-bottom:4px; scroll-margin-top:90px; }
.story-chapters button { flex:1; min-width:116px; flex-direction:column; gap:8px; padding:16px 12px; border-radius:10px; background:#fff; position:relative; }
.story-chapters button svg { width:25px; height:25px; color:#24814b; }
.native-workspace-list.story-chapters button span { font:600 12px "Hanken Grotesk",sans-serif; color:inherit; }
.story-chapters button small { position:absolute; right:9px; top:7px; color:#94a89a; font:9px "JetBrains Mono",monospace; }
.story-chapters button[aria-current="step"] { color:#fff; background:#087b3c; border-color:#087b3c; box-shadow:0 5px 15px -9px #00451f; }
.story-chapters button[aria-current="step"] :is(svg,small) { color:#c6ebd2; }
.native-gallery { scroll-margin-top:90px; }
.native-workspace-list button {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 16px;
  border: 1px solid #d2dcd3;
  border-radius: 7px;
  background: transparent;
  color: var(--steel);
  font:
    600 0.85rem "Hanken Grotesk",
    sans-serif;
  text-align: left;
  min-height: 52px;
}
.native-workspace-list button span {
  font:
    500 0.6rem "JetBrains Mono",
    monospace;
  color: #758b7c;
}
.native-workspace-list button:hover {
  background: #f0f5ed;
  border-color: #a5bba9;
}
.native-workspace-list.story-chapters button[aria-current="step"]:hover {
  background: #087b3c;
  border-color: #087b3c;
  color: #fff;
}
.native-workspace-list button[aria-pressed="true"] {
  color: #fff;
  background: #126638;
  border-color: #126638;
}
.native-workspace-list button[aria-pressed="true"] span {
  color: #b6dfc4;
}
.native-gallery {
  border: 1px solid #bccfbe;
  border-radius: 12px;
  overflow: hidden;
  background: #fff;
  box-shadow: 0 24px 60px -50px #123e21;
}
.native-gallery-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
  padding: 8px 18px;
  background: #14271b;
  color: #ebf3ed;
}
.native-gallery-title {
  margin: 0 0 5px;
  font-size: 1.08rem;
  font-weight: 600;
}
.native-gallery-badge {
  font-size: 0.59rem;
  letter-spacing: 0.055em;
  color: #addcbd;
}
.native-full-view {
  display: inline-flex;
  align-items: center;
  gap: 24px;
  min-height: 30px;
  white-space: nowrap;
  border: 1px solid #536c5b;
  border-radius: 5px;
  padding: 8px 13px;
  color: #edf4ee;
  font-size: 0.75rem;
  font-weight: 600;
}
.native-full-view:hover {
  background: #264e32;
}
.native-gallery-description {
  margin: 0;
  padding: 17px 22px;
  background: #f4f7f0;
  border-bottom: 1px solid #d9e3d8;
  color: #4d6354;
  font-size: 0.85rem;
  line-height: 1.55;
}
.native-gallery iframe {
  display: block;
  width: 100%;
  height: clamp(560px, calc(100svh - 250px), 900px);
  border: 0;
  background: #f6f8f4;
}
.native-gallery-note {
  margin: 0;
  padding: 14px 22px;
  color: #5c6c61;
  font-size: 0.69rem;
  border-top: 1px solid #d9e3d8;
}
.native-baseline-note {
  display: grid;
  grid-template-columns: 0.7fr 1.7fr;
  gap: 34px;
  padding: 22px 0 0;
  align-items: start;
}
.native-baseline-note strong {
  color: var(--green-d);
  font-size: 0.9rem;
  font-weight: 600;
}
.native-baseline-note p {
  margin: 0;
  color: var(--steel);
  font-size: 0.84rem;
  line-height: 1.6;
}
.native-lab-cards {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}
.native-lab-card {
  display: flex;
  flex-direction: column;
  gap: 16px;
  border: 1px solid #d4ded3;
  border-radius: 8px;
  padding: 26px;
  background: #fff;
  min-width: 0;
  transition:
    border-color 0.18s,
    background 0.18s;
}
.native-lab-card .mono {
  color: var(--green-d);
  font-size: 0.59rem;
  letter-spacing: 0.045em;
}
.native-lab-card h3 {
  margin: 0;
  font-size: 1.4rem;
  line-height: 1.2;
}
.native-lab-card p {
  margin: 0;
  color: var(--steel);
  font-size: 0.85rem;
}
.native-lab-card > span:last-child {
  margin-top: auto;
  padding-top: 8px;
  color: var(--green-d);
  font-size: 0.78rem;
  font-weight: 600;
  display: flex;
  justify-content: space-between;
}
.native-lab-card:hover {
  border-color: #8ba98f;
  background: #f5f8f1;
}
@media (max-width: 1050px) {
  .hero-grid {
    grid-template-columns: 1fr 1fr;
    gap: 28px;
  }
  .hero-native iframe {
    height: 440px;
  }
  .hero h1 {
    font-size: clamp(2.65rem, 5.3vw, 4.5rem);
  }
  .native-gallery iframe {
    height: clamp(560px, calc(100svh - 250px), 820px);
  }
}
@media (max-width: 760px) {
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  .hero-native iframe {
    height: 420px;
  }
  .native-workspace-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .native-workspace-list button {
    font-size: 0.77rem;
    padding: 12px;
    gap: 9px;
  }
  .native-gallery-heading {
    padding: 16px;
    gap: 12px;
    align-items: flex-start;
  }
  .native-gallery-title {
    font-size: 0.97rem;
  }
  .native-full-view {
    font-size: 0.68rem;
    gap: 12px;
    padding: 7px 9px;
  }
  .native-gallery-description,
  .native-gallery-note {
    padding: 14px 16px;
  }
  .native-gallery iframe {
    height: clamp(560px, calc(100svh - 200px), 820px);
  }
  .native-baseline-note {
    grid-template-columns: 1fr;
    gap: 10px;
  }
  .native-lab-cards {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
  }
  .native-lab-card {
    padding: 20px;
  }
}
@media (max-width: 440px) {
  .hero-native iframe {
    height: 380px;
  }
  .native-lab-cards {
    grid-template-columns: 1fr;
  }
  .native-gallery-heading {
    flex-wrap: wrap;
  }
  .native-gallery iframe {
    height: clamp(560px, calc(100svh - 180px), 840px);
  }
}
@media (prefers-reduced-motion: reduce) {
  .native-lab-card {
    transition: none;
  }
}
