/* Mono landing page: Chrome's shared santi.glass tokens, with scoped layouts. */
.mono-home { --mh-space: 24px; --mh-section: 88px; --mh-card-pad: 28px; --mh-card-radius: 24px; margin: 0; }
.mono-home a { text-decoration: none; }
.mono-home button { cursor: pointer; font: inherit; color: inherit; }
.mono-home .mh-arrow { width: 17px; height: 17px; flex-shrink: 0; }
.mono-home .mh-main { max-width: 1024px; padding: 0 24px; margin: 0 auto; }
.mono-home .mh-hero { text-align: center; padding: 168px 0 88px; }
.mono-home .mh-hero h1 { font-size: clamp(42px, 7vw, 76px); line-height: 1.06; letter-spacing: -.055em; font-weight: 750; margin: 0; }
.mono-home .mh-hero h1 span { color: var(--secondary); }
.mono-home .mh-hero p { margin: 24px auto 0; max-width: 480px; color: var(--secondary); font-size: 19px; line-height: 1.6; text-wrap: balance; }
.mono-home .mh-actions { display: flex; gap: 24px; justify-content: center; align-items: center; margin-top: 28px; flex-wrap: wrap; }
.mono-home .mh-button { display: inline-flex; gap: 8px; align-items: center; justify-content: center; padding: 0 22px; min-height: 48px; border-radius: 999px; font-size: 15px; font-weight: 600; }
.mono-home .mh-primary { background: var(--text); color: var(--bg); }
.mono-home .mh-text-link { display: inline-flex; gap: 8px; align-items: center; min-height: 44px; font-size: 15px; font-weight: 500; color: var(--secondary); }
.mono-home .mh-text-link:hover { color: var(--text); }
.mono-home .mh-section-head { margin: 0 0 24px; }
.mono-home h2 { font-size: 30px; line-height: 1.2; letter-spacing: -.025em; font-weight: 700; }
.mono-home .mh-product-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--mh-space); }
.mono-home .mh-product { padding: var(--mh-card-pad); border-radius: var(--mh-card-radius); background: var(--surface); display: flex; flex-direction: column; align-items: flex-start; min-width: 0; }
.mono-home .mh-product-kind { color: var(--secondary); font-size: 13px; line-height: 1.5; font-weight: 500; margin-bottom: 12px; }
.mono-home .mh-product h3, .mono-home .mh-feature h3 { font-size: 30px; font-weight: 650; letter-spacing: -.03em; line-height: 1.2; margin: 0; }
.mono-home .mh-product p, .mono-home .mh-feature p, .mono-home .mh-about p { color: var(--secondary); font-size: 16px; line-height: 1.65; margin: 16px 0 24px; }
.mono-home .mh-preview { width: 100%; aspect-ratio: 1.65; border-radius: 16px; overflow: hidden; margin-top: auto; background: var(--elevated); }
.mono-home .mh-pack-preview { display: flex; align-items: center; }
.mono-home .mh-pack-preview img { display: block; width: 100%; height: auto; object-fit: contain; }
.mono-home .mh-product-link { display: inline-flex; min-height: 44px; align-items: center; gap: 8px; margin-top: 20px; color: var(--accent-text); font-size: 15px; font-weight: 600; }
.mono-home .mh-product-link:hover { text-decoration: underline; text-underline-offset: 4px; }
.mono-home .mh-chrome-preview { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 4px; background: var(--bg); }
.mono-home .mh-chrome-preview a { position: relative; overflow: hidden; min-height: 44px; border-radius: 4px; }
.mono-home .mh-chrome-preview img { width: 100%; height: 100%; object-fit: cover; display: block; }
.mono-home .mh-chrome-preview span { position: absolute; inset: auto 0 0; padding: 20px 9px 9px; color: #fff; font-size: 12px; font-weight: 600; line-height: 1.25; background: linear-gradient(transparent, rgb(0 0 0 / .85)); }
.mono-home .mh-feature { padding: var(--mh-card-pad); border-radius: var(--mh-card-radius); background: var(--surface); margin-top: var(--mh-space); display: grid; grid-template-columns: .85fr 1.15fr; gap: 40px; align-items: center; }
.mono-home .mh-about { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; padding: var(--mh-section) 0; }
.mono-home .mh-about p { margin-bottom: 0; }
.mono-home .mh-resources { padding-top: 3px; }
.mono-home .mh-resources h3 { font-size: 17px; font-weight: 600; margin-bottom: 12px; }
.mono-home .mh-resources a { min-height: 48px; display: flex; align-items: center; justify-content: space-between; gap: 12px; color: var(--secondary); border-bottom: .5px solid var(--border); font-size: 15px; }
.mono-home .mh-resources a:hover { color: var(--text); }
.mono-home .mh-footer { max-width: 976px; border-top: .5px solid var(--border); margin: 0 auto; padding: 24px 0 32px; display: flex; align-items: center; gap: 24px; flex-wrap: wrap; }
.mono-home .mh-footer nav { display: flex; flex-wrap: wrap; gap: 4px 20px; margin-left: auto; }
.mono-home .mh-footer nav a { min-height: 44px; display: inline-flex; gap: 4px; align-items: center; font-size: 13px; color: var(--secondary); }
.mono-home .mh-footer nav a:hover { color: var(--text); }
.mono-home .mh-footer > span { width: 100%; font-size: 12px; color: var(--secondary); }
.mono-home .mh-appearance { position: relative; }
.mono-home .mh-appearance-button { display: flex; align-items: center; gap: 6px; min-height: 44px; border-radius: 999px; padding: 0 12px; background: rgb(128 128 128 / .12); font-size: 13px; font-weight: 500; border: .5px solid var(--border); }
.mono-home .mh-appearance-button > svg:first-child { width: 16px; height: 16px; color: var(--accent-text); }
.mono-home .mh-appearance-button > svg:last-child { width: 12px; height: 12px; opacity: .6; }
.mono-home .mh-preferences { position: absolute; right: 0; top: calc(100% + 10px); width: 280px; border-radius: 20px; padding: 16px; }
.mono-home .mh-preferences h2 { font-size: 11px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--secondary); margin-bottom: 8px; }
.mono-home .mh-pref-row { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 52px; font-size: 14px; font-weight: 500; }
.mono-home .mh-segmented { display: flex; padding: 3px; gap: 2px; border-radius: 999px; background: rgb(128 128 128 / .12); }
.mono-home .mh-segmented button { min-height: 38px; padding: 0 12px; border: 0; border-radius: 999px; font-size: 12px; background: transparent; }
.mono-home .mh-segmented button[aria-pressed="true"] { background: var(--surface); box-shadow: 0 1px 4px rgb(0 0 0 / .12); }
.mono-home .mh-segmented.theme-segment button[aria-pressed="true"] { background: transparent; box-shadow: none; }
.mono-home .mh-glass-row { border-top: .5px solid var(--border); min-height: 68px; }
.mono-home .mh-glass-row small { display: block; font-size: 11px; color: var(--secondary); font-weight: 400; margin-top: 4px; line-height: 1.4; }
.mono-home .mh-switch { width: 44px; min-width: 44px; height: 44px; position: relative; border: 0; background: transparent; padding: 0; }
.mono-home .mh-switch::before { content: ''; position: absolute; inset: 10px 0; background: var(--secondary); border-radius: 999px; transition: background .2s; }
.mono-home .mh-switch span { position: absolute; top: 12px; left: 2px; width: 20px; height: 20px; border-radius: 50%; background: #fff; transition: transform .2s; box-shadow: 0 1px 3px rgb(0 0 0 / .2); }
.mono-home .mh-switch[aria-checked="true"]::before { background: var(--accent-fill); }
.mono-home .mh-switch[aria-checked="true"] span { transform: translateX(20px); }
.mono-home #glassToggleKnob { transition: transform var(--sp-bouncy-ms) var(--sp-bouncy), scale var(--sp-bouncy-ms) var(--sp-bouncy); }
.mono-home #glassToggleBtn:active #glassToggleKnob { scale: 1.35 1.1; transition-duration: var(--sp-snappy-ms); }
.mono-home .mh-preferences p { border-radius: 12px; padding: 10px; color: var(--secondary); background: rgb(128 128 128 / .10); font-size: 11px; line-height: 1.5; margin: 0; }
.mono-home .mh-menu-grid { display: grid; grid-template-columns: 1.1fr 1fr; gap: 40px; }
.mono-home .mh-menu-grid .menu-group:last-child { grid-column: auto; border: 0; padding-top: 0; }
.mono-home .menu-resource .mh-arrow { width: 14px; margin-left: 6px; }
@media (max-width: 720px) {
  .mono-home { --mh-section: 56px; --mh-space: 16px; --mh-card-pad: 24px; }
  .mono-home .mh-main { padding: 0 16px; }
  .mono-home .mh-hero { padding: 140px 0 64px; }
  .mono-home .mh-hero h1 { font-size: clamp(38px, 9vw, 58px); }
  .mono-home .mh-hero p { font-size: 17px; max-width: 320px; }
  .mono-home .mh-product-grid, .mono-home .mh-feature, .mono-home .mh-about { grid-template-columns: 1fr; }
  .mono-home .mh-feature { gap: 24px; }
  .mono-home .mh-about { gap: 32px; }
  .mono-home .mh-product h3, .mono-home .mh-feature h3 { font-size: 28px; }
  .mono-home h2 { font-size: 26px; }
  .mono-home .mh-footer { margin: 0 16px; }
  .mono-home .mh-footer nav { margin-left: 0; width: 100%; }
  .mono-home .mh-menu-grid { gap: 24px; }
  .mono-home .mh-appearance-button > span { display: none; }
}
@media (prefers-reduced-motion: reduce) { .mono-home .mh-switch span, .mono-home .mh-switch::before { transition: none; } }
