/* Page-scoped rules for /home (v2). Append only; shared rules live in marketing.css. */

/* Hero: the open hero class stays (morph.js finds it). Two columns from 1024px, copy left, product icons right on one center line. */
.mesh-hero.hero-open { display: block; min-height: 0; align-items: initial; padding-top: clamp(104px, 12vw, 150px); padding-bottom: clamp(56px, 7vw, 96px); }
.home-hero-grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: 48px; align-items: center; }
.hero-copy .lede { max-width: 34em; }
.hero-icons { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(12px, 3vw, 24px); align-items: center; justify-items: center; max-width: 520px; width: 100%; }
.hero-icons .app-icon { width: 100%; max-width: 128px; height: auto; aspect-ratio: 1; box-shadow: 0 24px 40px -18px rgba(26, 54, 93, 0.35); }
.hero-icons img.app-icon { border-radius: 22%; }
.hero-next { display: grid; place-items: center; color: var(--ink-3); border-radius: 22%;
  background: linear-gradient(180deg, #ffffff, #e6e8ee);
  box-shadow: inset 0 0 0 1px rgba(26, 54, 93, 0.12), inset 0 2px 1px rgba(255, 255, 255, 0.9), 0 24px 40px -18px rgba(26, 54, 93, 0.3); }
.dark .hero-next { background: linear-gradient(180deg, #3b3e46, #25272d); color: #c9ccd4; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.14), inset 0 2px 1px rgba(255, 255, 255, 0.12), 0 24px 40px -18px rgba(0, 0, 0, 0.6); }
.hero-next svg { width: 36%; height: 36%; }
@media (min-width: 1024px) {
  .home-hero-grid { grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); gap: 56px; min-height: 480px; }
  .hero-icons { justify-self: end; }
}

/* Section heads */
.head { max-width: 760px; margin-bottom: clamp(36px, 5vw, 56px); }
.head .headline { max-width: 20em; }
.head .lede { margin-top: 16px; }

/* Map, Build, Run */
.step-icon { display: inline-flex; margin-bottom: 14px; color: var(--ink); }
.step-icon .ficon { width: 28px; height: 28px; }
.three-up .gate { display: inline-flex; align-items: center; gap: 6px; margin-top: 16px; font-size: 14px; font-weight: 600; color: var(--ink-3); }
.three-up .gate .ficon { width: 16px; height: 16px; color: #2E7D52; }
.dark .three-up .gate .ficon { color: #5FBF8A; }

/* Feature rows */
.tools-sec .feature-row + .feature-row { padding-top: clamp(24px, 4vw, 48px); }
.feature-copy .mark-icon { display: block; margin-bottom: 16px; }
.feature-copy .headline { max-width: 12em; }
.row-list { list-style: none; margin: 24px 0 0; padding: 0; display: grid; gap: 12px; max-width: 34em; }
.row-list li { display: flex; gap: 12px; align-items: flex-start; font-size: 16px; line-height: 1.5; color: var(--ink-3); }
.row-list li b { color: var(--ink); font-weight: 600; }
.row-list.plain li { align-items: center; }
.row-list .ficon { width: 20px; height: 20px; margin-top: 2px; color: var(--ink-3); }
.row-list.plain .ficon { margin-top: 0; }
.feature-copy .btn-row { align-items: center; gap: 20px; }
.feature-copy .text-link { font-size: 16px; }

/* Template and tool cards drawn inside scenes */
.tc-panel { overflow: hidden; }
.tc-head { display: flex; align-items: center; justify-content: space-between; gap: 1em; margin-bottom: 1em; }
.tc-head .scene-title { font-size: 1.35em; }
.tc-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0.8em; }
.tc { border-radius: 0.8em; overflow: hidden; box-shadow: 0 0 0 1px var(--line); padding-bottom: 0.9em; }
.tc-art { position: relative; height: 4.6em; margin-bottom: 0.8em; background: color-mix(in srgb, var(--hue) 11%, var(--panel)); overflow: hidden; }
.tc-title { padding: 0 0.9em; font-size: 0.98em; font-weight: 600; line-height: 1.25; color: var(--ink); }
.tc-desc { padding: 0 0.9em; margin-top: 0.3em !important; font-size: 0.86em; line-height: 1.4; color: var(--muted) !important; }
.tc-sheet { position: absolute; left: 50%; top: 0.7em; bottom: -1em; width: 46%; transform: translateX(-50%); padding: 0.8em 0.8em 0; display: flex; flex-direction: column; gap: 0.45em; }
.tc-sheet .scene-line { height: 0.4em; }
.tc-sheet .tc-acc { width: 40%; background: color-mix(in srgb, var(--hue) 55%, #ffffff) !important; }
.tc-b { position: absolute; border-radius: 0.3em; box-shadow: 0 0 0 1px var(--line); }
.tc-dia { width: 18%; aspect-ratio: 1; transform: rotate(45deg); background: var(--panel); border-radius: 0.2em; margin-left: 1%; }
.tc-note { position: absolute; width: 26%; height: 36%; background: var(--panel); border-radius: 0.25em; box-shadow: 0 0 0 1px var(--line), 0 0.4em 0.6em -0.4em rgba(0, 0, 0, 0.3); }

/* Lab scene: the idea board's empty state */
.lab-tabs { display: flex; flex-wrap: wrap; gap: 0.5em; }
.lab-tabs .scene-chip { font-size: 0.9em; padding: 0.3em 0.95em; }
.lab-tools { display: flex; align-items: center; gap: 0.6em; margin-top: 1.1em; }
.lab-tools .scene-input { flex: 1; padding: 0.5em 1em; }
.lab-empty { margin-top: 2.2em !important; padding: 3.4em 1em 2.4em; text-align: center; font-size: 1.05em; line-height: 1.5; color: var(--muted) !important; border-top: 1px solid var(--line); }

/* Pricing (the one grey section) */
.plans-wrap { display: grid; gap: 24px; justify-items: start; }
.price-grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: 20px; width: 100%; }
.price-grid .price-card { max-width: none; }
.price-grid .price-card .figure { font-size: clamp(48px, 5vw, 64px); }
.price-grid .price-name { display: flex; align-items: center; gap: 10px; font-size: 17px; }
.price-grid .price-per { font-size: 16px; }
.price-grid .plan-actions { margin-top: auto; display: grid; gap: 14px; justify-items: start; }
.price-grid .plan-actions .btn { cursor: pointer; }
.price-grid .price-card:not(.featured) .price-name { color: var(--ink-2); }
@media (min-width: 960px) { .price-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }

/* Compare */
.compare .row-icon { vertical-align: middle; margin-right: 10px; }
#compare .compare-scroll { max-width: 920px; }
.ground-grey + #compare { }

/* Closing band and fine print */
#start .btn-row { justify-content: center; margin-top: 32px; }
#start .lede { margin-top: 20px; }
#start .headline { margin-inline: auto; max-width: 16em; }
.fine-print { margin: 72px auto 0; max-width: 40em; font-size: 14px; line-height: 1.5; color: var(--ink-3); text-align: center; }
