/* Scrolling home uses the platform's neutral member and studio components. */
html { scroll-padding-top: 110px; }
.home-header { position: sticky; top: 0; z-index: 30; }
.home-header .header-inner { min-height: 80px; }
.home-header .header-nav a { display: inline-flex; min-height: 44px; align-items: center; }
.hero { padding-block: 80px; }
.hero-layout { display: grid; grid-template-columns: 1.1fr 1fr; gap: 64px; align-items: center; }
.hero-copy > p { font-size: clamp(22px, 2.6vw, 30px); line-height: 1.4; margin-top: 20px; }
.hero-intro { margin-block: 28px; }
.hero-intro h2 { font-size: 20px; line-height: 1.4; margin-bottom: 12px; }
.hero-intro p { color: var(--ama-muted); margin-top: 8px; }
.quiet { background: var(--ama-surface); }
.reading-copy { max-width: 760px; }
.reading-copy h2 { margin-bottom: 24px; }
.reading-copy p + p { margin-top: 16px; }
.three-cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; margin-top: 32px; }
.reason-card, .team-card, .steps li { min-width: 0; border: 1px solid var(--ama-line); border-radius: var(--ama-radius); padding: 24px; background: var(--ama-bg); }
.reason-card strong { display: block; margin-bottom: 12px; font-size: 18px; font-weight: 600; }
.member-example { border: 1px solid var(--ama-line); border-radius: var(--ama-radius); padding: 20px; background: var(--ama-bg); min-width: 0; }
.example-top { display: flex; align-items: center; justify-content: space-between; border-bottom: 1px solid var(--ama-line); padding-bottom: 16px; font-size: 14px; font-weight: 600; }
.thread { display: flex; flex-direction: column; gap: 22px; padding-block: 24px; }
.msg { display: flex; gap: 12px; }
.msg.u { justify-content: flex-end; }
.msg.u .bub { background: var(--bubble); color: var(--text); border-radius: 18px 18px 6px 18px; padding: 11px 15px; max-width: 85%; white-space: pre-wrap; overflow-wrap: anywhere; }
.msg .aiav { width: 28px; height: 28px; flex: none; border-radius: 8px; }
.ai-body { flex: 1; min-width: 0; }
.ai-name { display: flex; align-items: center; gap: 7px; font-size: 13px; font-weight: 600; margin-bottom: 5px; }
.ai-text { font-size: 15px; }
.srcs { margin-top: 12px; }
.schip { display: flex; align-items: center; gap: 10px; min-height: 44px; padding: 8px 12px 8px 9px; border-radius: 10px; border: 1px solid var(--line); background: var(--surface); min-width: 0; }
.schip .n { width: 22px; height: 22px; border-radius: 6px; display: grid; place-items: center; font-size: 11px; font-weight: 700; flex: none; background: var(--soft); color: var(--text); }
.schip .w { flex: 1; min-width: 0; }
.schip .t { display: block; font-size: 13px; font-weight: 500; line-height: 1.3; }
.schip .l { display: block; color: var(--sub); font-size: 13px; margin-top: 2px; }
.member-example > figcaption { font-size: 12px; color: var(--ama-muted); }
.sample-chip { display: inline-flex; align-items: center; padding: 2px 8px; border-radius: var(--ama-radius-pill); background: var(--ama-surface); color: var(--ama-muted); font-size: 11.5px; font-weight: 500; overflow-wrap: anywhere; }
.team-card { display: flex; flex-direction: column; padding: 20px; }
.team-card h3 { margin-bottom: 16px; }
.team-card > p { color: var(--ama-muted); margin-bottom: 12px; }
.team-sample { border: 1px solid var(--ama-line); border-radius: var(--ama-radius); background: var(--ama-bg); margin-top: auto; overflow: hidden; }
.team-sample figcaption { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 8px; padding: 18px 12px; font-size: 12px; font-weight: 600; border-bottom: 1px solid var(--ama-line); }
.team-sample .table { font-size: 12px; }
.team-sample .table th, .team-sample .table td { padding: 11px 12px; }
.sample-row { padding: 11px 12px; font-size: 13.5px; }
.sample-row + .sample-row { border-top: 1px solid var(--ama-line); }
.ownership-copy { margin: 0 0 64px; }
.comparison h2 { margin-bottom: 24px; }
.table-frame { border: 1px solid var(--ama-line); border-radius: var(--ama-radius); overflow: hidden; }
.comparison .table th:first-child { width: 30%; }
.comparison .table tbody th { color: var(--ama-ink); }
.comparison .table tbody tr:last-child th { border-bottom: 0; }
.comparison .table thead { background: var(--ama-surface); }
.calc-intro { margin-top: 16px; color: var(--ama-muted); }
.calculator { display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); gap: 48px; margin-top: 32px; padding: 32px; border: 1px solid var(--ama-line); border-radius: var(--ama-radius); background: var(--ama-bg); align-items: start; }
.calc-fields { display: grid; gap: 20px; }
.calc-input { min-width: 0; }
.calc-input label { display: block; margin-bottom: 8px; font-size: 13px; font-weight: 500; }
.calc-input select { max-width: 100%; padding-right: 24px; }
.calc-note, .calc-footnote { color: var(--ama-muted); font-size: 12px; line-height: 1.65; }
.calc-note { margin-top: 8px; }
.calc-footnote { margin-top: 16px; }
.slider-pair { display: grid; grid-template-columns: minmax(0, 1fr) 100px; gap: 16px; align-items: center; }
.slider-pair input[type=range] { width: 100%; min-width: 0; min-height: 44px; margin: 0; accent-color: var(--ama-ink); }
.calc-toggle { display: flex; gap: 12px; min-height: 44px; align-items: center; font-size: 13px; font-weight: 500; cursor: pointer; }
.calc-toggle input { width: 20px; height: 20px; flex: none; margin: 0; accent-color: var(--ama-ink); }
#selling-fields { display: grid; gap: 20px; }
.calc-assumptions > summary { font-size: 13px; }
.calc-assumptions > div { display: grid; gap: 20px; padding-block: 16px 24px; }
.calc-assumptions .calc-note { padding: 0; }
.calc-results { min-width: 0; }
.cost-totals { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.cost-card { min-width: 0; padding: 16px 12px; border: 1px solid var(--ama-line); border-radius: var(--ama-radius); }
.cost-card h3 { font-size: 12px; font-weight: 500; }
.cost-card output { display: block; font-size: clamp(18px, 2.2vw, 28px); font-weight: 600; margin-top: 8px; overflow-wrap: anywhere; letter-spacing: -.03em; }
.alpha-cost { border-color: var(--ama-ink); }
.cost-chart { margin-block: 28px 20px; }
.cost-chart figcaption { font-size: 12px; font-weight: 500; }
.chart-legend { display: flex; flex-wrap: wrap; gap: 8px 20px; font-size: 11px; color: var(--ama-muted); margin-top: 12px; }
.chart-legend span { display: flex; align-items: center; gap: 6px; }
.chart-legend i { width: 10px; height: 10px; border-radius: 2px; }
.chart-delphi, .legend-delphi { fill: var(--ama-ink); opacity: .6; background: var(--ama-ink); }
.chart-alpha, .legend-alpha { fill: var(--ama-pink); background: var(--ama-pink); }
.cost-chart svg { width: 100%; height: auto; overflow: visible; margin-top: 12px; }
.chart-baseline { stroke: var(--ama-line); }
.chart-axis, .chart-year { fill: var(--ama-muted); font-family: var(--ama-font-b); font-size: 11px; text-anchor: middle; }
.chart-axis { text-anchor: end; }
.chart-year { font-size: 12px; }
.difference { font-size: 20px; font-weight: 600; line-height: 1.4; }
.calc-results > p + p { margin-top: 16px; }
.calc-results .ai-bill { font-weight: 600; font-size: 17px; }
#ongoing-cost, #break-even, .revenue { font-size: 13px; }
.steps { list-style: none; padding: 0; counter-reset: step; }
.steps li { counter-increment: step; }
.steps li::before { content: counter(step, decimal-leading-zero); display: block; font-size: 12px; color: var(--ama-muted); margin-bottom: 20px; }
.steps strong { display: block; margin-bottom: 8px; font-weight: 600; }
.pricing-copy > p:first-of-type { font-size: 32px; letter-spacing: -.02em; }
.pricing-copy > p:first-of-type strong { font-weight: 600; }
.final-cta { text-align: center; border-top: 1px solid var(--ama-line); }
.final-cta .btn { margin-top: 28px; }
.sticky-cta { display: none; position: fixed; z-index: 25; left: 16px; right: 16px; bottom: calc(16px + env(safe-area-inset-bottom)); }
.sticky-cta .btn { width: 100%; }
@media (max-width: 1000px) {
  .hero-layout { gap: 32px; }
  .home-header .header-inner { gap: 16px; }
  .header-nav { gap: 16px; }
  .three-cards.team-cards { grid-template-columns: minmax(0, 1fr); }
  .team-card { display: grid; grid-template-columns: 1fr 1fr; gap: 0 32px; }
  .team-card h3, .team-card > p { grid-column: 1; }
  .team-sample { grid-column: 2; grid-row: 1 / span 3; margin-block: 0; }
  .calculator { gap: 28px; padding: 24px; }
}
@media (max-width: 720px) {
  html { scroll-padding-top: 126px; }
  .home-header .header-inner { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 4px 8px; padding-block: 10px 0; }
  .home-header .brand-mark { width: 24px; height: 24px; }
  .home-header .brand-lockup { gap: 5px; }
  .home-header .wordmark { font-size: 18px; }
  .home-header .btn { padding: 8px 10px; font-size: 12px; }
  .home-header .header-nav { grid-column: 1 / -1; grid-row: 2; justify-content: space-between; gap: 12px; font-size: 12px; }
  .hero { padding-block: 40px; }
  .hero-layout, .three-cards, .calculator { grid-template-columns: minmax(0, 1fr); }
  .hero-layout { gap: 32px; }
  .three-cards { gap: 16px; margin-top: 24px; }
  .reason-card, .steps li { padding: 20px; }
  .member-example { padding: 16px; }
  .team-card { display: flex; gap: 0; }
  .team-sample { margin-top: 12px; }
  .ownership-copy { margin-bottom: 40px; }
  .comparison .table { font-size: 12px; }
  .comparison .table th, .comparison .table td { padding: 11px 8px; }
  .comparison .table th { font-size: 11px; }
  .calculator { padding: 20px 16px; margin-top: 24px; }
  .cost-card { padding: 14px 8px; }
  .cost-card output { font-size: 22px; }
  .sticky-cta { display: block; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
