.section { padding: 112px 0; }
.section-head { max-width: 760px; margin-bottom: 56px; }

/* ---------- Hero ---------- */
.hero { padding: 72px 0 88px; position: relative; overflow: hidden; }
.hero::before { content: ""; position: absolute; inset: 0; background:
  radial-gradient(800px 400px at 85% 10%, rgba(217, 201, 163, 0.45), transparent 70%),
  repeating-linear-gradient(90deg, transparent 0 79px, rgba(20, 35, 28, 0.035) 79px 80px);
  pointer-events: none; }
.hero-grid { position: relative; display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 64px; align-items: center; }
.hero h1 em { font-style: italic; color: var(--forest); font-weight: 400; }
.hero-cta { display: flex; gap: 12px; flex-wrap: wrap; margin: 32px 0 22px; }
.hero-status { display: flex; align-items: center; gap: 10px; font-size: 0.85rem; color: var(--ink-3); }
.pulse { width: 8px; height: 8px; border-radius: 50%; background: var(--forest-2); box-shadow: 0 0 0 0 rgba(44, 122, 92, 0.5); animation: pulse 2.4s infinite; }
@keyframes pulse { 70% { box-shadow: 0 0 0 9px rgba(44, 122, 92, 0); } 100% { box-shadow: 0 0 0 0 rgba(44, 122, 92, 0); } }
.hero-visual { margin: 0; }
.board { padding: 20px; box-shadow: var(--shadow-lg); transform: rotate(-0.6deg); }
.board-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; padding-bottom: 14px; border-bottom: 1px solid var(--rule-2); }
.board-head > div { display: grid; gap: 2px; }
.board-head .mono { font-size: 0.72rem; }
.board-tag { font-size: 0.72rem; background: var(--paprika-tint); color: var(--high); padding: 5px 8px; border-radius: 4px; }
.board-runs { list-style: none; margin: 0; padding: 10px 0 0; position: relative; }
.board-runs::before { content: ""; position: absolute; left: 52px; top: 22px; bottom: 22px; width: 2px; background: var(--rule); }
.b-run { display: grid; grid-template-columns: 44px 1fr; gap: 20px; padding: 8px 0; align-items: start; position: relative; animation: rise 0.6s var(--ease) both; animation-delay: calc(var(--i) * 0.12s + 0.1s); }
.b-run::before { content: ""; position: absolute; left: 47px; top: 15px; width: 12px; height: 12px; border-radius: 50%; background: var(--card); border: 2px solid var(--ink); }
.b-run strong { font-size: 0.95rem; display: block; margin-bottom: 4px; }
.b-time { font-size: 0.75rem; color: var(--ink-3); padding-top: 2px; }
.b-change { margin: 2px 0 2px 64px; display: flex; gap: 10px; align-items: center; font-size: 0.8rem; color: var(--ink-2); padding: 6px 10px; border-radius: var(--r-sm); background: var(--paper); animation: rise 0.6s var(--ease) both; animation-delay: calc(var(--i) * 0.12s + 0.16s); }
.b-change.high { background: var(--high-tint); color: #6e2417; }
.b-change.medium { background: var(--medium-tint); color: #6d4c07; }
.b-change .status { flex: none; background: var(--card); }
.board-foot { margin-top: 12px; padding-top: 14px; border-top: 1px solid var(--rule-2); display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; font-size: 0.85rem; }
.board-foot a { font-weight: 600; text-decoration: none; }
@keyframes rise { from { opacity: 0; transform: translateY(8px); } }
@media (max-width: 960px) {
  .hero-grid { grid-template-columns: 1fr; gap: 48px; }
  .board { transform: none; }
}

/* ---------- Highlights ---------- */
.highlights { border-top: 1px solid var(--rule); border-bottom: 1px solid var(--rule); background: var(--card); }
.hl-grid { display: grid; grid-template-columns: repeat(4, 1fr); }
.hl { padding: 28px 24px; border-left: 1px solid var(--rule-2); display: grid; gap: 6px; }
.hl:first-child { border-left: 0; padding-left: 0; }
.hl-k { font: 500 1.9rem/1 var(--display); color: var(--forest); }
.hl-v { font-size: 0.9rem; color: var(--ink-2); }
@media (max-width: 860px) { .hl-grid { grid-template-columns: 1fr 1fr; } .hl:nth-child(3) { border-left: 0; padding-left: 0; } .hl { border-top: 1px solid var(--rule-2); } .hl:nth-child(-n+2) { border-top: 0; } }

/* ---------- Problem ---------- */
.ps-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 72px; align-items: start; }
.problem-list { list-style: none; padding: 0; margin: 28px 0 0; display: grid; gap: 14px; }
.problem-list li { padding-left: 28px; position: relative; color: var(--ink-2); }
.problem-list li::before { content: ""; position: absolute; left: 0; top: 0.6em; width: 14px; height: 2px; background: var(--paprika); }
.anatomy { padding: 28px; position: sticky; top: 100px; }
.anatomy-k { font-size: 0.72rem; text-transform: uppercase; letter-spacing: 0.1em; color: var(--ink-3); margin-bottom: 18px; }
.anat-row { display: grid; grid-template-columns: 1fr auto 1fr; gap: 12px; align-items: stretch; }
.anat-run { display: grid; gap: 6px; align-content: start; background: var(--paper); border-radius: var(--r); padding: 14px; font-size: 0.92rem; }
.anat-run .mono { font-size: 0.72rem; }
.anat-arrow { align-self: center; font-size: 1.4rem; color: var(--ink-3); }
.anat-formula { margin: 18px 0; padding: 16px; border: 1px dashed var(--paprika); border-radius: var(--r); background: var(--paprika-tint); font-size: 0.92rem; display: grid; gap: 10px; }
.anat-formula .mono { font-size: 0.8rem; color: var(--high); }
.anat-checks { margin: 0; padding-left: 1.2em; display: grid; gap: 10px; font-size: 0.92rem; color: var(--ink-2); }
.anat-checks b { color: var(--ink); }
@media (max-width: 960px) { .ps-grid { grid-template-columns: 1fr; gap: 40px; } .anatomy { position: static; } }
@media (max-width: 520px) { .anat-row { grid-template-columns: 1fr; } .anat-arrow { transform: rotate(90deg); justify-self: center; } }

/* ---------- Features ---------- */
.features { background: var(--ink); color: var(--paper); }
.features .eyebrow { color: var(--wheat); }
.features .lede { color: #c9d1cc; }
.feature-list { display: grid; gap: 1px; background: rgba(246, 242, 234, 0.12); border: 1px solid rgba(246, 242, 234, 0.12); border-radius: var(--r-lg); overflow: hidden; }
.feature { display: grid; grid-template-columns: 1fr 1.05fr; gap: 48px; padding: 40px; background: var(--ink); align-items: center; }
.feature:nth-child(even) .f-visual { order: -1; }
.f-top { display: flex; gap: 12px; align-items: center; margin-bottom: 14px; }
.f-top .muted { color: #8fa097; font-size: 0.8rem; }
.feature h3 { font-size: 1.7rem; color: var(--paper); }
.feature p { color: #c9d1cc; }
.f-benefit { color: var(--paper) !important; font-weight: 500; border-left: 2px solid var(--paprika); padding-left: 14px; }
.f-note { font-size: 0.85rem; color: #8fa097 !important; margin: 0; }
.f-visual { background: var(--paper); color: var(--ink); border-radius: var(--r); padding: 22px; min-height: 180px; display: grid; align-content: center; box-shadow: inset 0 0 0 1px var(--rule); }
.features .status.planned, .features .status.proposed { background: rgba(246, 242, 234, 0.1); color: #c9d1cc; }
@media (max-width: 860px) { .feature { grid-template-columns: 1fr; gap: 24px; padding: 28px 22px; } .feature:nth-child(even) .f-visual { order: 0; } }

.v-risk { display: grid; gap: 12px; }
.v-pair { display: flex; gap: 10px; align-items: center; font-weight: 600; flex-wrap: wrap; }
.v-arr { color: var(--ink-3); }
.v-flag { display: flex; gap: 10px; align-items: center; font-size: 0.9rem; padding: 10px 12px; background: var(--high-tint); border-radius: var(--r-sm); }
.v-seqs { display: grid; gap: 14px; }
.v-seq-row { display: grid; grid-template-columns: 76px 1fr auto; gap: 12px; align-items: center; font-size: 0.75rem; }
.v-seq { display: flex; gap: 4px; }
.v-seq span { flex: 1; text-align: center; background: var(--card); border: 1px solid var(--rule); border-radius: 4px; padding: 7px 2px; font-size: 0.72rem; text-transform: capitalize; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.v-seq-row:last-child .v-seq span { background: var(--forest-tint); border-color: #bcd7c6; }
.v-n { font-weight: 600; }
.v-seq-row:last-child .v-n { color: var(--low); }
.v-log { width: 100%; border-collapse: collapse; font-size: 0.85rem; }
.v-log th { text-align: left; font: 500 0.7rem var(--mono); text-transform: uppercase; color: var(--ink-3); padding: 6px 8px; border-bottom: 1px solid var(--rule); }
.v-log td { padding: 9px 8px; border-bottom: 1px solid var(--rule-2); }
.v-log tr.gap td { background: var(--medium-tint); }
.v-log tr.gap td:first-child { box-shadow: inset 3px 0 var(--medium); }
.v-doc { display: grid; gap: 14px; }
.v-doc p { font-size: 0.8rem; line-height: 1.7; margin: 0; color: var(--ink-2); }
.v-doc mark { background: var(--wheat); color: var(--ink); padding: 1px 3px; border-radius: 3px; }
.v-report { background: var(--card); border: 1px solid var(--rule); border-radius: var(--r-sm); padding: 18px; display: grid; gap: 14px; max-width: 340px; justify-self: center; width: 100%; box-shadow: var(--shadow); }
.v-rh { display: flex; justify-content: space-between; font-size: 0.9rem; }
.v-rh .mono { font-size: 0.72rem; }
.v-rs { display: flex; gap: 16px; font-size: 0.82rem; }
.v-rs span:nth-child(1) b { color: var(--high); } .v-rs span:nth-child(2) b { color: var(--medium); } .v-rs span:nth-child(3) b { color: var(--low); }
.v-lines { display: grid; gap: 7px; } .v-lines i { height: 6px; border-radius: 3px; background: var(--rule-2); display: block; }
.v-sign { font-size: 0.72rem; color: var(--ink-3); }

/* ---------- How ---------- */
.steps { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; border-top: 2px solid var(--ink); }
.step { padding: 28px 24px 0 0; position: relative; }
.step::before { content: ""; position: absolute; top: -7px; left: 0; width: 12px; height: 12px; border-radius: 50%; background: var(--paper); border: 2px solid var(--ink); }
.step:nth-child(3)::before { background: var(--paprika); border-color: var(--paprika); }
.step-n { font-size: 0.8rem; color: var(--ink-3); }
.step h3 { margin-top: 10px; }
.step p { color: var(--ink-2); font-size: 0.95rem; }
@media (max-width: 860px) { .steps { grid-template-columns: 1fr 1fr; row-gap: 40px; } }
@media (max-width: 520px) { .steps { grid-template-columns: 1fr; border-top: 0; border-left: 2px solid var(--ink); } .step { padding: 0 0 8px 24px; } .step::before { left: -7px; top: 4px; } }

/* ---------- Solutions ---------- */
.solutions { background: var(--paper-2); }
.sol-grid { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 64px; align-items: start; }
.segments { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.seg { display: flex; justify-content: space-between; gap: 16px; align-items: flex-start; padding: 20px 22px; background: var(--card); border: 1px solid var(--rule); border-radius: var(--r); }
.seg h3 { font-size: 1.1rem; margin-bottom: 4px; }
.seg p { margin: 0; color: var(--ink-2); font-size: 0.92rem; }
.seg.primary { border-color: var(--forest); box-shadow: inset 4px 0 var(--forest); }
@media (max-width: 860px) { .sol-grid { grid-template-columns: 1fr; gap: 32px; } }

/* ---------- Technology ---------- */
.tech-grid { display: grid; grid-template-columns: 0.75fr 1.25fr; gap: 20px; margin-bottom: 20px; }
.tech-now, .arch { padding: 28px; }
.tech-now h3 { margin-top: 16px; }
.tech-now p { color: var(--ink-2); font-size: 0.95rem; }
.small-list { margin: 0; padding-left: 1.1em; font-size: 0.78rem; color: var(--ink-2); display: grid; gap: 6px; }
.arch-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 22px; font-size: 0.75rem; }
.arch-diagram { display: grid; grid-template-columns: 0.8fr 20px 0.9fr 20px 1.5fr 20px 1fr; align-items: center; }
.ad-col { display: grid; gap: 8px; }
.ad-node { border: 1px solid var(--rule); background: var(--paper); border-radius: var(--r-sm); padding: 10px; font-weight: 600; font-size: 0.82rem; text-align: center; line-height: 1.25; }
.ad-node small { display: block; font-weight: 400; color: var(--ink-3); font-size: 0.7rem; margin-top: 3px; }
.ad-node.user { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.ad-node.user small { color: #b8c3bd; }
.ad-node.ai { background: var(--wheat-tint); border-color: var(--wheat); }
.ad-node.store { background: var(--forest-tint); border-color: #bcd7c6; }
.ad-pair { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.ad-human { font-size: 0.68rem; text-align: center; color: var(--paprika); border: 1px dashed var(--paprika); border-radius: 4px; padding: 4px; }
.ad-link { height: 2px; background: repeating-linear-gradient(90deg, var(--ink-3) 0 4px, transparent 4px 7px); }
@media (max-width: 960px) {
  .tech-grid { grid-template-columns: 1fr; }
  .arch-diagram { grid-template-columns: 1fr; gap: 0; }
  .ad-link { width: 2px; height: 18px; justify-self: center; background: repeating-linear-gradient(180deg, var(--ink-3) 0 4px, transparent 4px 7px); }
}
.aws-table { overflow-x: auto; background: var(--card); border: 1px solid var(--rule); border-radius: var(--r-lg); }
.aws-table table { width: 100%; border-collapse: collapse; font-size: 0.92rem; min-width: 620px; }
.aws-table th, .aws-table td { text-align: left; padding: 14px 20px; border-bottom: 1px solid var(--rule-2); vertical-align: top; }
.aws-table thead th { font: 500 0.72rem var(--mono); text-transform: uppercase; letter-spacing: 0.08em; color: var(--ink-3); }
.aws-table tbody th { font-weight: 600; white-space: nowrap; }
.aws-table td { color: var(--ink-2); }
.aws-table tr:last-child > * { border-bottom: 0; }
.roadmap { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 20px; }
.rm { border-top: 2px solid var(--ink); padding-top: 14px; }
.rm:first-child { border-top-color: var(--forest); }
.rm-k { font-size: 0.75rem; text-transform: uppercase; letter-spacing: 0.1em; }
.rm ul { margin: 10px 0 0; padding-left: 1.1em; color: var(--ink-2); font-size: 0.92rem; display: grid; gap: 6px; }
@media (max-width: 760px) { .roadmap { grid-template-columns: 1fr; } }

/* ---------- Pricing ---------- */
.pricing { padding-top: 0; }
.pilot { padding: 44px; display: grid; grid-template-columns: 1.3fr 1fr; gap: 20px 48px; background: linear-gradient(135deg, var(--card), var(--wheat-tint)); }
.pilot-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; align-content: center; }
.pilot-list li { padding-left: 28px; position: relative; }
.pilot-list li::before { content: "✓"; position: absolute; left: 0; color: var(--forest); font-weight: 700; }
.pilot-cta { grid-column: 1 / -1; }
@media (max-width: 860px) { .pilot { grid-template-columns: 1fr; padding: 28px; } }

/* ---------- Team ---------- */
.team-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 16px; }
.person { padding: 24px; }

/* ---------- FAQ ---------- */
.faq { padding-top: 40px; }
.faq-grid { display: grid; grid-template-columns: 0.7fr 1.3fr; gap: 64px; }
.faq-list { border-top: 1px solid var(--rule); }
details { border-bottom: 1px solid var(--rule); padding: 4px 0; }
summary { cursor: pointer; list-style: none; padding: 18px 40px 18px 0; font-weight: 600; position: relative; }
summary::-webkit-details-marker { display: none; }
summary::after { content: "+"; position: absolute; right: 4px; top: 14px; font: 400 1.5rem/1 var(--display); color: var(--forest); transition: transform 0.2s var(--ease); }
details[open] summary::after { transform: rotate(45deg); }
details p { color: var(--ink-2); margin: 0 0 18px; max-width: 68ch; }
@media (max-width: 860px) { .faq-grid { grid-template-columns: 1fr; gap: 16px; } }

/* ---------- Final ---------- */
.final { padding: 40px 0 72px; }
.final-inner { background: var(--forest); color: var(--paper); border-radius: var(--r-lg); padding: 48px; display: flex; justify-content: space-between; align-items: center; gap: 32px; flex-wrap: wrap; position: relative; overflow: hidden; }
.final-inner::after { content: ""; position: absolute; right: -60px; top: -60px; width: 260px; height: 260px; border-radius: 50%; border: 40px solid rgba(217, 201, 163, 0.12); }
.final-inner h2 { max-width: 20ch; }
.final-inner .lede { color: #d4e2d9; margin: 0; }
.final-cta { display: flex; gap: 12px; flex-wrap: wrap; position: relative; z-index: 1; }
.final .btn.primary { --bg: var(--paper); --fg: var(--ink); }
.final .btn.ghost { --fg: var(--paper); border-color: rgba(246, 242, 234, 0.4); }
@media (max-width: 600px) { .final-inner { padding: 32px 24px; } .section { padding: 80px 0; } }
