/* Shared chrome (header, nav, brand, notice band, footer) now lives in chrome.css. */

.hero { position: relative; overflow: hidden; color: #fff; background: radial-gradient(circle at 78% 50%, #213b59 0, var(--ink) 40%, #101923 100%); }
.hero-layout { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(320px, .8fr); gap: clamp(32px, 6vw, 84px); align-items: center; padding-block: clamp(76px, 10vw, 130px); }
.hero-inner { max-width: 760px; }
.hero .eyebrow { color: #91b7f2; }
.hero h1 { max-width: 900px; margin: 16px 0 20px; font-size: clamp(56px, 9vw, 106px); font-weight: 600; line-height: .95; letter-spacing: -.045em; }
.hero h1 em { color: #a9c4ef; font-style: italic; }
.hero-lede { max-width: 770px; margin: 0; color: rgba(255,255,255,.74); font-size: clamp(18px, 2.2vw, 24px); line-height: 1.55; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 34px; }
.hero .button-secondary { color: #fff; background: transparent; border-color: rgba(255,255,255,.22); }
.hero .button-secondary:hover { border-color: rgba(255,255,255,.5); }
.hero-meta { display: flex; flex-wrap: wrap; gap: 18px 34px; margin-top: 46px; color: rgba(255,255,255,.52); font-size: 11px; }
.hero-meta strong { color: rgba(255,255,255,.84); }
.hero-art { position: relative; display: grid; place-items: center; min-width: 0; }
.hero-art::before { position: absolute; width: 78%; aspect-ratio: 1; content: ""; border: 1px solid rgba(145,183,242,.16); border-radius: 50%; box-shadow: 0 0 80px rgba(27,79,160,.2); }
.hero-art img { position: relative; z-index: 1; display: block; width: min(100%, 520px); height: auto; filter: drop-shadow(0 26px 28px rgba(0,0,0,.28)); transition: transform .45s cubic-bezier(.2,.8,.2,1); }
.interaction-cue { position: absolute; z-index: 2; right: 2%; bottom: 2%; color: rgba(255,255,255,.54); font-family: var(--mono); font-size: 10px; letter-spacing: .08em; text-transform: uppercase; }

.section-block { padding: clamp(76px, 10vw, 122px) 0; }
.section-heading { margin-bottom: 34px; }
.section-heading + .tool-card,
.tool-card + .tool-card { margin-top: 24px; }
.section-heading > p { margin: 0; color: var(--muted); }
.section-heading h2 + p { max-width: 720px; margin-top: 12px; font-size: 15px; line-height: 1.65; }
.tool-card { display: grid; grid-template-columns: minmax(0, 1.45fr) minmax(260px, .55fr); overflow: hidden; background: #fff; border: 1px solid var(--line); border-radius: 22px; box-shadow: var(--shadow-md); }
.tool-card-copy { padding: clamp(28px, 5vw, 54px); }
.tool-meta { display: flex; flex-wrap: wrap; gap: 9px 18px; align-items: center; color: var(--muted); font-size: 10px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; }
.status { padding: 5px 8px; border-radius: 999px; }
.status { color: var(--verified); background: var(--verified-wash); }
.status--beta { color: var(--blue-dark); background: var(--wash); }
.status--preview { color: #765010; background: #fbf4e6; }
.tool-kicker { margin: 34px 0 4px; color: var(--blue); font-size: 11px; font-weight: 800; letter-spacing: .11em; text-transform: uppercase; }
.tool-card h3 { margin: 0 0 18px; font-size: clamp(38px, 6vw, 66px); line-height: 1; letter-spacing: -.025em; }
.tool-description { max-width: 720px; margin: 0; color: var(--muted); font-size: 15px; line-height: 1.7; }
.tool-features { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 9px 24px; margin: 28px 0 0; padding: 0; list-style: none; }
.tool-features li { padding-top: 9px; color: var(--ink); border-top: 1px solid var(--line); font-size: 12px; font-weight: 600; }
.tool-card-action { display: flex; flex-direction: column; justify-content: flex-end; gap: 22px; padding: clamp(28px, 4vw, 42px); background: var(--wash); border-left: 1px solid var(--line); }
.tool-card-art { overflow: hidden; margin: calc(clamp(28px, 4vw, 42px) * -1) calc(clamp(28px, 4vw, 42px) * -1) 2px; border-bottom: 1px solid var(--line); }
.tool-card-art img { display: block; width: 100%; height: auto; aspect-ratio: 28 / 17; object-fit: cover; transition: transform .3s ease; }
.home-preview { position: relative; width: 100%; aspect-ratio: 28 / 17; overflow: hidden; background: var(--surface-subtle); }
.home-preview-svg { display: block; width: 100%; height: 100%; }
[data-preview-part="plexus-nodes"] { transform-box: fill-box; transform-origin: center; }
.home-preview-caption { position: absolute; z-index: 3; left: 12px; bottom: 12px; padding: 5px 8px; color: var(--ink); background: rgba(255,255,255,.9); border: 1px solid rgba(220,227,236,.9); border-radius: 999px; font: 700 9px/1.2 var(--mono); letter-spacing: .04em; text-transform: uppercase; }
.home-preview-replay { position: absolute; z-index: 3; right: 8px; bottom: 8px; display: grid; width: 44px; height: 44px; padding: 0; place-items: center; color: var(--blue); background: rgba(255,255,255,.94); border: 1px solid var(--line); border-radius: 50%; box-shadow: var(--shadow-sm); cursor: pointer; }
.home-preview-replay[hidden] { display: none; }
.home-preview-replay svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.home-preview-replay:hover,
.home-preview-replay:focus-visible { color: #fff; background: var(--blue); border-color: var(--blue); }
.tool-card-art--icon { display: grid; min-height: 230px; place-items: center; background: var(--surface-subtle); }
.tool-card-art--icon img { width: min(48%, 190px); aspect-ratio: 1; object-fit: contain; }
.home-preview--icon { display: grid; min-height: 230px; place-items: center; }
.home-preview--icon .home-preview-svg { width: min(48%, 190px); height: auto; aspect-ratio: 1; }
.home-vector-logo { display: block; width: 100%; height: 100%; border: 0; pointer-events: none; }

.home-motion-ready [data-home-reveal] { opacity: 0; transform: translateY(14px); }
.home-motion-ready [data-home-reveal].is-revealed { opacity: 1; transform: translateY(0); transition: opacity 460ms ease, transform 460ms cubic-bezier(.2,.7,.2,1); transition-delay: var(--home-reveal-delay, 0ms); }
@media (hover: hover) and (pointer: fine) {
  .hero-art:hover img { transform: rotate(-3deg) scale(1.025); }
  .tool-card:hover .tool-card-art > img { transform: scale(1.025); }
}
.tool-card--featured { position: relative; border-color: #b9cce8; box-shadow: 0 22px 64px rgba(18,59,123,.16); }
.tool-card--featured::before { position: absolute; z-index: 2; inset: 0 0 auto; height: 4px; content: ""; background: linear-gradient(90deg, var(--blue), #4c8fe8, var(--teal)); }
.tool-card--featured .tool-card-action { background: linear-gradient(155deg, #edf3fc, #f7f9fc 58%, #edf7f5); }
.tool-card-art--featured { display: grid; min-height: 300px; place-items: center; background: radial-gradient(circle at center, #fff 0, #eef3fb 66%, #e4ebf5 100%); }
.tool-card-art--featured img { width: min(58%, 230px); aspect-ratio: 1; object-fit: contain; filter: drop-shadow(0 18px 24px rgba(22,32,43,.15)); }
.home-preview--featured { display: grid; min-height: 300px; aspect-ratio: auto; place-items: center; background: radial-gradient(circle at center, #fff 0, #eef3fb 66%, #e4ebf5 100%); }
.home-radiograph-logo { display: block; width: min(58%, 230px); aspect-ratio: 1; border: 0; filter: drop-shadow(0 18px 24px rgba(22,32,43,.15)); pointer-events: none; }
.home-preview-overlay { position: absolute; z-index: 2; inset: 0; display: block; width: 100%; height: 100%; pointer-events: none; }
.tool-group-heading { margin-top: clamp(64px, 9vw, 104px); }
.tool-card-action p { margin: 0; color: var(--muted); font-size: 12px; line-height: 1.65; }
.home-module-group { margin: 0; }
.home-module-group > summary { list-style: none; }
.home-module-group > summary::-webkit-details-marker { display: none; }
.home-module-group-title,
.home-module-group-description { display: block; }
.home-module-group-title { margin-top: 8px; font: 700 clamp(34px, 5vw, 52px)/1.06 var(--serif); }
.home-module-group-description { max-width: 720px; margin-top: 12px; color: var(--muted); font-size: 15px; line-height: 1.65; }
.home-module-group-count { display: none; }
.home-module-group-content > .tool-card + .tool-card { margin-top: 24px; }

.growth-section { color: #fff; background: var(--ink); }
.growth-inner { display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(260px, .65fr); gap: clamp(36px, 8vw, 110px); align-items: center; }
.growth-section .eyebrow { color: #91b7f2; }
.growth-section h2 { max-width: 760px; margin-bottom: 18px; color: #fff; }
.growth-section p { max-width: 760px; margin: 0; color: rgba(255,255,255,.7); font-size: 17px; line-height: 1.7; }
.growth-actions { display: flex; flex-wrap: wrap; gap: 10px; justify-content: flex-end; }
.growth-section .button-secondary { color: #fff; background: transparent; border-color: rgba(255,255,255,.24); }
.growth-section .button-secondary:hover { border-color: rgba(255,255,255,.5); }

.section-tint { background: #fff; border-block: 1px solid var(--line); }
.split-section { display: grid; grid-template-columns: .85fr 1.15fr; gap: clamp(42px, 8vw, 110px); align-items: start; }
.split-copy { position: sticky; top: 110px; }
.split-copy h2 { max-width: 520px; }
.prose p { margin: 0 0 22px; color: var(--muted); font-size: 17px; line-height: 1.75; }
.principle-list { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; }
.principle-list article { display: grid; grid-template-columns: 46px 1fr; gap: 15px; padding: 24px; background: #fff; border: 1px solid var(--line); border-radius: 15px; }
.principle-list article > span { color: var(--blue); font-family: var(--mono); font-size: 12px; font-weight: 700; }
.principle-list h3 { margin: 0 0 6px; font-size: 21px; }
.principle-list p { margin: 0; color: var(--muted); font-size: 12px; line-height: 1.6; }

@media (max-width: 820px) {
  .hero-layout { grid-template-columns: 1fr; }
  .hero-art { width: min(78vw, 430px); margin-inline: auto; }
  .tool-card { grid-template-columns: 1fr; }
  .tool-card-action { border-top: 1px solid var(--line); border-left: 0; }
  .split-section { grid-template-columns: 1fr; }
  .growth-inner { grid-template-columns: 1fr; }
  .growth-actions { justify-content: flex-start; }
  .split-copy { position: static; }
  .principle-list { grid-template-columns: 1fr; }
}
@media (max-width: 560px) {
  .shell, .narrow-shell { width: min(calc(100% - 28px), var(--shell)); }
  .hero-layout { gap: 22px; padding-block: 48px 38px; }
  .hero h1 { margin: 12px 0 16px; font-size: clamp(46px, 14vw, 54px); line-height: .96; }
  .hero-lede { font-size: 17px; line-height: 1.5; }
  .hero-art { width: min(70vw, 280px); }
  .hero-art img { filter: drop-shadow(0 18px 22px rgba(0,0,0,.25)); }
  .interaction-cue { display: none; }
  .hero-actions { flex-direction: column; align-items: stretch; margin-top: 24px; }
  .growth-actions { flex-direction: column; align-items: stretch; }
  .tool-features { grid-template-columns: 1fr; }
  .home-module-group { margin-top: 24px; overflow: hidden; background: var(--surface); border: 1px solid var(--line); border-radius: 16px; }
  .home-module-group > .tool-group-heading { display: flex; min-height: 68px; align-items: center; justify-content: space-between; gap: 12px; margin: 0; padding: 15px 14px; cursor: pointer; }
  .home-module-group > .tool-group-heading > span:first-child { min-width: 0; }
  .home-module-group > .tool-group-heading::after { display: grid; flex: none; width: 28px; height: 28px; place-items: center; content: '+'; color: var(--blue); background: var(--wash); border-radius: 50%; font: 700 20px/1 var(--sans); }
  .home-module-group[open] > .tool-group-heading::after { content: '−'; }
  .home-module-group > .tool-group-heading:focus-visible { outline: 3px solid var(--focus-ring); outline-offset: -3px; }
  .home-module-group .eyebrow { font-size: 9px; }
  .home-module-group-title { margin-top: 4px; font-size: 25px; }
  .home-module-group-description { display: none; }
  .home-module-group-count { display: block; margin-left: auto; color: var(--muted); font: 600 10px/1.3 var(--mono); white-space: nowrap; }
  .home-module-group-content { padding: 0 10px 10px; background: var(--bg); border-top: 1px solid var(--line); }
  .home-module-group-content > .tool-card,
  .home-module-group-content > .tool-card + .tool-card { margin-top: 10px; }
  .home-preview-caption { left: 8px; bottom: 8px; }
}
@media (prefers-reduced-motion: reduce) {
  .home-motion-ready [data-home-reveal],
  .home-motion-ready [data-home-reveal].is-revealed { opacity: 1; transform: none; transition: none; }
  .home-preview-replay { display: none; }
}
