.homepage main { container: public-page / inline-size; padding: clamp(2rem, 4.4vw, 4.5rem) 0 clamp(2rem, 5vw, 4rem); }
.product-hero {
  display: grid; grid-template-columns: minmax(0,.97fr) minmax(0,1.03fr);
  gap: clamp(2rem, 6vw, 6.7rem); align-items: center;
}
.intro { min-width: 0; }
.product-hero h1, .agent-copy h2 {
  font-family: 'DM Sans', sans-serif; font-weight: 540; letter-spacing: -.08em;
}
.product-hero h1 { font-size: clamp(3.6rem, 6.1vw, 6rem); line-height: .96; margin: 0 0 1.45rem; }
.product-hero em, .agent-copy em {
  font-family: 'Instrument Serif', Georgia, serif; font-weight: 400; letter-spacing: -.04em;
}
.product-hero em { font-size: 1.1em; }
.hero-copy { max-width: 31rem; font-size: clamp(1.06rem, 1.4vw, 1.225rem); color: var(--muted); line-height: 1.55; margin-bottom: 1.6rem; }
.hero-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 1.55rem; }
.intro .signup-availability { margin: .8rem 0 0; max-width: 32rem; }
.hero-actions .primary { padding: .78rem 1.12rem; gap: 1.65rem; }
.text-link { display: inline-flex; align-items: center; gap: .6rem; font-size: .94rem; font-weight: 650; text-decoration: none; }
.text-link:hover { text-decoration: underline; }
.route-picker { min-inline-size: 0; max-width: 28.5rem; margin: clamp(2rem,3.8vw,3.35rem) 0 0; padding: 0; border: 0; }
.route-picker legend { color: var(--muted); padding: 0; margin: 0 0 .7rem; font-size: .82rem; font-weight: 570; }
.route-picker label {
  position: relative; display: grid; grid-template-columns: 1.25rem auto 1fr .85rem;
  align-items: center; column-gap: .55rem; margin: 0; padding: .72rem .5rem;
  border-top: 1px solid var(--line); cursor: pointer; font-size: .95rem; font-weight: 650;
}
.route-picker label:last-child { border-bottom: 1px solid var(--line); }
.route-picker label:hover { background: #e9eedf; }
.route-picker label:has(:checked) { background: #e8eddd; }
.route-picker label:has(:focus-visible) { outline: 2px solid var(--green); outline-offset: 2px; z-index: 1; }
.route-picker input {
  position: absolute; width: 1px; height: 1px; opacity: 0;
}
.route-picker small { justify-self: end; font-size: .76rem; color: var(--muted); font-weight: 460; }
.route-mark { color: var(--green); text-align: center; }
.route-picker i { width: .75rem; height: .75rem; border: 1px solid #8e9d8b; border-radius: 50%; }
.route-picker :checked ~ i { border: 4px solid var(--green); background: var(--accent); }
.preview-shell {
  min-width: 0; background: #173a2c; color: white; border: 1px solid #163a2d;
  border-radius: 1rem; overflow: hidden; box-shadow: 0 12px 24px -19px #1c3429aa;
}
.preview-bar, .delivery-row { display: flex; flex-wrap: wrap; align-items: center; gap: .8rem; }
.preview-bar {
  justify-content: space-between; padding: .68rem 1rem; background: #193e30;
}
.preview-bar > span:first-child { display: flex; align-items: center; gap: .45rem; font-size: .85rem; font-weight: 600; }
.preview-bar img { border: 1px solid #547644; border-radius: 6px; }
.preview-filename, .media-heading span, .request-header { font: .73rem/1.4 ui-monospace, SFMono-Regular, Menlo, monospace; }
.preview-filename { color: #d6dece; }
.preview-frame { height: clamp(19rem, 28.5vw, 28rem); position: relative; isolation: isolate; overflow: hidden; background: #567a69; }
.cut-image { display: block; width: 100%; height: 100%; object-fit: cover; object-position: 50% 50%; }
.preview-frame::after { content: ''; position: absolute; inset: 0; background: linear-gradient(0deg,#0d221be0,transparent 45%); pointer-events: none; }
.media-heading { position: absolute; z-index: 1; left: 1.5rem; bottom: 1.1rem; display: flex; flex-direction: column; gap: .12rem; }
.media-heading span { letter-spacing: .12em; font-size: .63rem; font-weight: 650; }
.media-heading strong { font: italic 400 clamp(2.65rem,4vw,4.2rem)/1 'Instrument Serif',Georgia,serif; letter-spacing: -.055em; }
.delivery-row { background: #edf4df; color: var(--ink); padding: 1.05rem; min-height: 5.6rem; }
.status-light { width: .62rem; height: .62rem; margin: .22rem .12rem 0 0; border: 1px solid #506f48; border-radius: 50%; flex-shrink: 0; }
.status-light.complete { background: #458058; }
.delivery-row > div { flex: 1 1 9em; min-width: 0; }
.delivery-row strong { font-size: .95rem; }
.delivery-row p { color: #506047; font-size: .8rem; line-height: 1.45; margin: .15rem 0 0; }
.delivery-row button {
  white-space: nowrap; font-size: .8rem; border-color: #aebbaa; background: #fffef6;
  padding: .55rem .72rem; flex-shrink: 0;
}
.delivery-row button:hover { background: #f6ffd9; }
.agent-section {
  display: grid; grid-template-columns: minmax(0,.95fr) minmax(0,1fr); gap: clamp(2rem,5.5vw,5.5rem);
  align-items: center; background: #193d30; color: #f6f8ea; border-radius: 1.05rem;
  margin-top: clamp(2.8rem,5.5vw,5rem); padding: clamp(1.6rem,4vw,3.6rem);
}
.agent-copy h2 { font-size: clamp(2.3rem,3.75vw,3.85rem); line-height: .98; margin: 0 0 1rem; }
.agent-copy h2 em { color: var(--accent); font-size: 1.12em; }
.agent-copy p { max-width: 27rem; font-size: 1rem; color: #d4dfd1; }
.agent-copy .text-link { color: var(--accent); }
.request-card { min-width: 0; border: 1px solid #587063; border-radius: .75rem; background: #112c22; overflow: hidden; }
.request-header { min-height: 2.75rem; display: flex; align-items: center; justify-content: space-between; padding: .55rem .95rem; border-bottom: 1px solid #3b5649; }
.request-header b { color: var(--accent); }
.request-header button { color: #e1eadc; border: 1px solid #566e5f; font: 500 .73rem 'DM Sans',sans-serif; padding: .34rem .58rem; }
.request-header button:hover { background: #2e4b3d; }
.request-card pre { color: #d4ebcf; overflow: auto; margin: 0; padding: 1.15rem; background: transparent; font-size: clamp(.76rem,1.1vw,.89rem); line-height: 1.5; }
.request-card code { font-size: inherit; }

@media (max-width: 920px) and (min-width: 701px) {
  .product-hero { gap: 1.7rem; }
  .route-picker label { grid-template-columns: 1.2rem 1fr .8rem; }
  .route-picker small { display: none; }
  .delivery-row { display: grid; grid-template-columns: .7rem 1fr; }
  .delivery-row button { grid-column: 2; justify-self: start; }
}
@media (max-width: 700px) {
  .homepage main { padding-top: 2.3rem; }
  .product-hero { display: flex; flex-direction: column; align-items: stretch; gap: 0; }
  .intro { display: contents; }
  .product-hero h1 { font-size: clamp(3.5rem,10.7vw,4.55rem); margin-bottom: 1.1rem; }
  .hero-copy { max-width: 30rem; margin-bottom: 1.2rem; font-size: 1.04rem; }
  .hero-actions { gap: 1.2rem; }
  .hero-actions .primary { font-size: .91rem; padding: .67rem .9rem; gap: 1.3rem; }
  .preview-shell { order: 1; margin-top: 1.7rem; }
  .route-picker { order: 2; max-width: none; margin-top: 1.4rem; }
  .preview-frame { height: clamp(12rem,62vw,19rem); }
  .media-heading { left: 1rem; bottom: .85rem; }
  .delivery-row { padding: .8rem; gap: .55rem; min-height: 5rem; }
  .delivery-row strong { font-size: .87rem; }
  .delivery-row p { font-size: .74rem; }
  .delivery-row button { font-size: .73rem; padding: .48rem .55rem; }
  .preview-bar { padding: .55rem .75rem; }
  .preview-filename { font-size: .62rem; }
  .agent-section { grid-template-columns: 1fr; gap: 1.5rem; }
  .agent-copy h2 br { display: none; }
  .agent-copy p { font-size: .95rem; }
}
@media (max-width: 360px) {
  .route-picker small { font-size: .67rem; }
  .preview-bar .preview-filename { display: none; }
}
.learning-preview {display:grid;grid-template-columns:minmax(0,.95fr) minmax(0,1fr);align-items:center;gap:clamp(1.6rem,5.5vw,5.5rem);border-top:1px solid var(--line);margin-top:clamp(3rem,7vw,6rem);padding-top:clamp(2.5rem,5vw,4.25rem)}
.learning-copy h2 {font-size:clamp(2.4rem,4.7vw,4.5rem);line-height:.99;margin-bottom:1.15rem}
.learning-copy em {font-family:"Instrument Serif",Georgia,serif;font-weight:400}
.learning-copy p {max-width:28rem;color:var(--muted)}
.sample-report {background:#fffef8;border:1px solid var(--line);border-radius:1rem;padding:clamp(1rem,3vw,1.75rem)}
.sample-top,.sample-report li {display:flex;justify-content:space-between;align-items:baseline;gap:.7rem}
.sample-top span {font-size:.8rem;color:var(--muted)}
.sample-metric {display:flex;flex-wrap:wrap;gap:.35rem;margin:1rem 0}
.sample-metric button {border:1px solid var(--line);padding:.35rem .7rem;font-size:.78rem}
.sample-metric button[aria-pressed=true] {background:var(--green);color:#fff}
.sample-report ol {list-style:none;margin:0;padding:0}
.sample-report li {padding:.55rem 0;border-bottom:1px solid var(--line)}
.sample-report li strong {font-variant-numeric:tabular-nums}
.sample-note {border-left:3px solid #a5c26b;margin:.95rem 0 0;padding-left:.7rem;font-size:.92rem}
.sample-note strong {display:block}
@media(max-width:700px){.learning-preview{grid-template-columns:1fr}.learning-copy h2 br{display:none}}

@container public-page (max-width: 20rem) {
  .route-picker label { grid-template-columns: 1.25rem minmax(0,1fr) .85rem; }
  .route-picker small { grid-column: 2; grid-row: 2; justify-self: start; }
  .route-picker i { grid-column: 3; grid-row: 1 / 3; }
  .request-header, .sample-top { flex-wrap: wrap; }
  .agent-section { padding: 1rem; }
  .product-hero h1, .learning-copy h2, .agent-copy h2 { overflow-wrap: anywhere; }
}

@container public-page (max-width: 16rem) {
  .product-hero h1 { font-size: 2.35rem; }
  .hero-actions .primary { max-width: 100%; gap: .45rem; padding-inline: .65rem; }
}
