@layer base, studio, family;
@import url("/styles.css") layer(base);
@import url("/brand/brand.css") layer(studio);
@import url("/product-family.css") layer(family);

:root {
  color-scheme: light;
  --canvas: #fafbfd; --panel: #eff4f8; --ink: #202b37; --muted: #485a68;
  --line: #ccd6de; --accent: #3059a5; --on-accent: #ffffff;
  --button-hover: #24477f; --icon-filter: none;
}
.hero {
  display: grid; grid-template-columns: minmax(0, .78fr) minmax(0, 1.22fr);
  gap: clamp(28px, 4vw, 76px); align-items: center; width: 100%; max-width: none;
  margin: 0; padding: clamp(32px, 4.8vw, 76px) var(--page-edge) 30px;
  background: var(--canvas);
}
.hero .hero-copy { width: auto; margin: 0; padding: 0; }
.hero-title-line { display: block; }
.hero .showcase { min-width: 0; padding: 0; margin: 0; background: none; }
.showcase-tabs {
  display: inline-flex; width: auto; max-width: 100%; padding: 3px; gap: 2px;
  margin: 0 0 18px; border-radius: 7px; background: var(--panel); border: 1px solid var(--line);
}
.showcase-tabs button { flex: auto; background: transparent; color: var(--muted); padding: 9px 13px; min-height: 38px; border-radius: 4px; font-size: 14px; line-height: 1.25; }
.showcase-tabs button[aria-selected=true] { background: #dbe9f8; color: #203c68; box-shadow: inset 0 -2px #5078a8; }
.showcase-stage { width: 100%; padding: 0; margin: 0; display: block; }
.showcase-panel { min-height: 0; }
.hero-product { position: relative; display: block; min-height: 0; aspect-ratio: 1.43; padding: 0; margin: 0; }
.hero-product .product-window, .single-window, .wide-window {
  overflow: hidden; border: 0; border-radius: 9px; background: #f5f5f1;
  box-shadow: 0 0 0 1px #d5dce0, 0 16px 32px -18px #35495b35;
}
.hero-menu-window { position: absolute; left: 0; top: 0; z-index: 1; width: 32%; }
.hero-dashboard-window { position: absolute; right: 0; top: 20%; width: 73%; }
.hero-product .product-window img { display: block; width: 100%; height: auto; aspect-ratio: auto; }
.mobile-dashboard-link { display: none; }
.single-window { display: grid; align-items: center; height: auto; aspect-ratio: 1.43; max-width: 100%; background: transparent; box-shadow: none; }
.single-window img { width: 100%; height: 100%; object-fit: contain; }
.showcase-caption { margin: 13px 0 0; text-align: left; }
.showcase-caption h2 { font-size: clamp(17px, 1.5vw, 21px); color: var(--ink); }
.showcase-caption p, .demo-label, .image-hint { font-size: 13px; color: var(--muted); text-align: left; }
.showcase .demo-label, .showcase .image-hint { display: inline-block; margin: 8px 12px 0 0; }
.deep-dive, .benefits, .privacy-section, .installation-section, .faq, .final-cta { background: var(--canvas); color: var(--ink); }
.deep-dive { padding-top: 0; }
.deep-dive > .container { border-top: 1px solid var(--line); padding-top: clamp(32px, 4vw, 65px); display: grid; grid-template-columns: minmax(0, .64fr) minmax(0, 1.36fr); gap: 8px clamp(24px, 4vw, 62px); align-items: center; }
.deep-dive .section-intro { margin: 0; padding: 0; }
.deep-dive .wide-window { margin: 0; width: 100%; max-width: none; }
.deep-dive .demo-label, .deep-dive .image-hint { margin: 0; grid-column: 2; }
.benefits, .installation-section { background: #f1f5f7; }
.agent-install-card { background: var(--panel); border: 1px solid var(--line); color: var(--ink); }
.agent-install-card pre { color: var(--ink); background: var(--canvas); }
.install-steps li, .benefits-grid article, .privacy-section details, .install-bottom, .faq-list details { border-color: var(--line); }
.download-note, .release-meta, .image-hint, .agent-install-card p, .install-steps p, .privacy-copy p { color: var(--muted); }
.step-number, .copyright { color: var(--muted); }
.button-primary .icon { filter: brightness(0) invert(1); }
.final-cta { border-top: 1px solid var(--line); }
@media (max-width: 760px) {
  .hero { grid-template-columns: minmax(0, 1fr); gap: 24px; padding-block: 28px; }
  .hero .showcase { width: 100%; }
  .showcase-tabs { width: 100%; margin-bottom: 10px; }
  .showcase-tabs button { padding: 9px 5px; }
  .hero-product { aspect-ratio: auto; display: grid; justify-items: start; gap: 6px; }
  .hero-product .hero-menu-window { position: relative; left: auto; top: auto; width: min(100%, 386px); margin: 0; }
  .hero-product .hero-menu-window img { aspect-ratio: 386/302; object-fit: cover; object-position: top; }
  .hero-product .hero-dashboard-window { position: static; width: auto; box-shadow: none; background: none; }
  .hero-product .hero-dashboard-window img { display: none; }
  .mobile-dashboard-link { display: inline-flex; align-items: center; padding-block: 8px; color: var(--accent); text-decoration: underline; font-size: 14px; }
  .showcase-caption { margin-top: 6px; }
  .deep-dive > .container { display: block; }
  .deep-dive .wide-window { margin: 20px 0 8px; }
}
@media (max-width: 430px) {
  .header-download { display: none; }
  .header-inner { gap: 8px; }
}

.quota-reserve { margin: 20px 0 0; }
.quota-reserve figcaption { color: var(--muted); font-size: 14px; }
.quota-reserve dl { display: flex; gap: clamp(15px,2.2vw,34px); margin: 9px 0 0; }
.quota-reading { display: flex; flex-direction: column-reverse; align-items: center; gap: 4px; }
.quota-reading dt { color: var(--ink); font-size: 14px; font-weight: 600; }
.quota-reading dd { position: relative; display: grid; place-items: center; width: clamp(82px,8.6vw,128px); aspect-ratio: 1; margin: 0; }
.quota-reading svg { position: absolute; inset: 0; width: 100%; height: 100%; fill: none; stroke-width: 10px; }
.quota-reading .track { stroke: #dce6ef; }
.quota-reading .balance { stroke: #6087b5; }
.quota-reading.claude .track { stroke: #f0e3d9; }
.quota-reading.claude .balance { stroke: #be8057; }
.quota-reading strong { color: var(--ink); font-size: clamp(23px,2.6vw,38px); line-height: 1; font-weight: 570; letter-spacing: -.045em; }
.quota-reading strong small { margin-left: .06em; font-size: .52em; }
@media (max-width: 760px) {
  .quota-reserve { margin-top: 13px; }
  .quota-reserve dl { gap: 19px; margin-top: 6px; }
  .quota-reading dd { width: clamp(75px,20vw,98px); }
}
@media (forced-colors: active) {
  .quota-reading .track { stroke: GrayText; }
  .quota-reading .balance { stroke: Highlight; }
}

@media (min-width: 1000px) {
  .hero { grid-template-columns: minmax(0,.67fr) minmax(0,1.33fr); gap: clamp(30px,3.2vw,56px); padding-block: 38px 34px; }
  .hero h1 { font-size: clamp(46px,4.1vw,66px); }
  .hero-product { aspect-ratio: 1.58; }
  .hero-dashboard-window { width: 76%; top: 8%; }
  .hero-menu-window { width: 32%; }
  .single-window { aspect-ratio: 1.58; }
  .showcase-tabs { margin-bottom: 14px; }
  .showcase-caption { margin-top: 7px; }
  .final-cta { padding: 32px var(--page-edge); }
  .final-cta > .container { margin: 0; display: flex; align-items: center; justify-content: space-between; gap: 20px; }
  .final-cta .section-title, .final-cta .button { margin: 0; }
  .final-cta .section-title { font-size: 30px; }
}
.agent-install-card .prompt-source { margin-bottom: 8px; }
