/* Hero only. Shared navigation, footer, and the remaining section mounts are retained. */
.hero {
  position: relative;
  isolation: isolate;
  overflow: clip;
  padding-block: 4rem 3rem;
  background: var(--color-bg);
}
.hero-backdrop { position: absolute; z-index: -3; inset: -4% 0; pointer-events: none; }
.hero-backdrop img { width: 100%; height: 100%; object-fit: cover; object-position: 64% center; opacity: .85; filter: saturate(.35); }
.hero-shade {
  position: absolute;
  z-index: -2;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(180deg, rgb(8 10 8 / .9), rgb(8 10 8 / .8) 40%, rgb(8 10 8 / .45) 70%, #080A08), radial-gradient(ellipse at 55% 48%, transparent 10%, rgb(0 0 0 / .5) 100%);
}
.hero-grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: 3.5rem; align-items: center; }
.hero-copy { min-width: 0; position: relative; z-index: 2; }
.hero-eyebrow { display: flex; align-items: center; gap: .7rem; color: var(--color-brand); font-size: .625rem; letter-spacing: .18em; margin-block-end: 1.5rem; }
.hero-eyebrow > span { width: 1.5rem; height: 1px; background: var(--color-brand); }
.hero-title { font-size: clamp(2.25rem, 9.4vw, 4rem); line-height: 1.12; letter-spacing: -.055em; text-wrap: initial; }
.hero-line-mask { display: block; overflow: clip; padding-block: .09em; margin-block: -.09em; }
.hero-line { display: block; }
.hero-phrase { display: block; }
.hero-description { margin-block-start: 1.5rem; max-width: 30rem; color: #B5BBB2; font-size: .9375rem; line-height: 1.85; }
.hero-actions { display: flex; flex-direction: column; gap: .75rem; margin-block-start: 2rem; align-items: stretch; }
.hero-actions .button { min-height: 3.5rem; padding-inline: 1.25rem; }
.hero-actions .button--secondary { border-color: rgb(255 255 255 / .2); background: rgb(8 10 8 / .32); }
.hero-dashboard { min-width: 0; width: 100%; margin: 0; position: relative; perspective: 1400px; }
.hero-dashboard::before { content: ''; position: absolute; inset: 0 -4%; z-index: -1; background: radial-gradient(ellipse, rgb(160 226 32 / .06), transparent 68%); pointer-events: none; }
.dashboard-parallax, .dashboard-float { width: 100%; }
.browser-window { width: 100%; background: #101310; border: 1px solid rgb(255 255 255 / .18); border-radius: .75rem; box-shadow: 0 28px 80px rgb(0 0 0 / .55), 0 1px 0 rgb(255 255 255 / .04) inset; overflow: hidden; }
.browser-topbar { display: flex; align-items: center; justify-content: space-between; gap: .5rem; min-height: 1.8rem; padding: .4rem .7rem; background: #20241F; border-bottom: 1px solid rgb(255 255 255 / .07); font-size: .5rem; color: #A5ABA2; }
.browser-controls { display: flex; gap: .25rem; }
.browser-controls i { width: .3rem; height: .3rem; border-radius: 50%; background: #596153; }
.browser-controls i:first-child { background: #B77970; }.browser-controls i:nth-child(2) { background: #B8A66B; }.browser-controls i:nth-child(3) { background: #7C9564; }
.browser-address { display: flex; align-items: center; justify-content: center; gap: .3rem; width: 55%; padding: .15rem .3rem; border-radius: .25rem; background: rgb(0 0 0 / .18); }
.browser-address svg { width: .65rem; height: .65rem; }
.browser-topbar-end { font-size: .65rem; letter-spacing: .1em; }
/* Actual replacement screenshots always retain their intrinsic aspect ratio. */
.browser-content > .dashboard-screenshot { display: block; width: 100%; height: auto; object-fit: contain; }
.dashboard-caption { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: .5rem; margin-block-start: 1rem; font-size: .625rem; color: #9DA596; letter-spacing: .01em; }
.dashboard-caption-label { display: flex; align-items: center; gap: .5rem; }
.caption-dot { width: 4px; height: 4px; flex-shrink: 0; border-radius: 50%; background: var(--color-brand); }
.hero-motion-control { display: inline-flex; align-items: center; justify-content: center; gap: .25rem; min-height: 2.75rem; margin: -.75rem 0; padding: .5rem 0 .5rem .5rem; background: transparent; font-size: .625rem; color: #A5ABA2; }
.hero-motion-control .icon { width: .75rem; height: .75rem; }
.hero-scroll { display: none; }

/* The placeholder is an illustration, with no pretend controls or live statistics. */
.dashboard-demo { display: grid; grid-template-columns: 2rem minmax(0, 1fr); background: #101310; font-size: 8px; line-height: 1.5; color: #D8DDD4; }
.dash-sidebar { display: flex; flex-direction: column; min-width: 0; border-right: 1px solid rgb(255 255 255 / .06); padding: .8rem .25rem .5rem; background: #0C0F0C; }
.dash-brand, .dash-sidebar-label, .dash-sidebar-item > span, .dash-sidebar-bottom { display: none; }
.dash-sidebar-items { display: grid; gap: .4rem; }
.dash-sidebar-item { display: flex; align-items: center; justify-content: center; gap: .4rem; min-height: 1.65rem; padding: .3rem; border-radius: .25rem; color: #798270; }
.dash-sidebar-item.is-selected { color: var(--color-brand); background: rgb(160 226 32 / .09); }
.dash-sidebar-item svg { width: .75rem; height: .75rem; fill: none; stroke: currentColor; stroke-width: 1.35; flex-shrink: 0; }
.dash-main { min-width: 0; padding: .65rem; }
.dash-topline { display: flex; align-items: center; justify-content: space-between; gap: .25rem; font-size: 6px; color: #88927F; padding-block-end: .7rem; border-bottom: 1px solid rgb(255 255 255 / .06); }
.dash-breadcrumb { color: #B7BFB0; }
.dash-sample-tag { font-size: 5px; letter-spacing: .07em; color: #A8B19F; border: 1px solid rgb(255 255 255 / .1); border-radius: .15rem; padding: .1rem .2rem; white-space: nowrap; }
.dash-heading-row { display: flex; justify-content: space-between; align-items: center; gap: .3rem; margin-block: .8rem; }
.dash-title { font-size: 13px; line-height: 1.25; font-weight: 600; letter-spacing: -.04em; color: #F5F7F3; }
.dash-heading-row p { color: #88927F; font-size: 7px; margin-top: .2rem; }
.dash-user-avatar, .dash-avatar { display: grid; place-items: center; width: 1.3rem; height: 1.3rem; background: #283220; border-radius: 50%; color: #A0E220; font-size: 7px; font-weight: 600; }
.dash-stats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: .3rem; }
.dash-stat { min-width: 0; padding: .45rem .35rem; background: #191D18; border: 1px solid rgb(255 255 255 / .06); border-radius: .35rem; }
.dash-stat > span { display: block; font-size: 6px; color: #9EA894; white-space: nowrap; }
.dash-stat strong { display: flex; align-items: center; justify-content: space-between; gap: .15rem; font-size: 19px; font-weight: 600; line-height: 1.6; letter-spacing: -.04em; color: #F1F4EE; }
.dash-stat strong svg { width: .75rem; height: .75rem; fill: none; stroke: #A0E220; stroke-width: 1.4; }
.dash-stat small { font-size: 5px; color: #88927F; display: block; }
.dash-stat small i { display: inline-block; width: 3px; height: 3px; border-radius: 50%; background: var(--color-brand); margin-inline-end: .1rem; }
.dash-middle { display: grid; grid-template-columns: minmax(0, 1.45fr) minmax(0, 1fr); gap: .35rem; margin-block: .5rem; }
.dash-chart-card, .dash-subscription, .dash-members { min-width: 0; padding: .5rem; border: 1px solid rgb(255 255 255 / .07); border-radius: .35rem; background: #151914; }
.dash-card-title { display: flex; align-items: center; justify-content: space-between; gap: .25rem; font-size: 7px; font-weight: 600; color: #DCE2D6; }
.dash-card-title small { font-size: 5px; color: #88927F; font-weight: 400; }
.dash-chart { display: flex; gap: .3rem; height: 4rem; margin-block: .7rem .35rem; }
.dash-chart-axis { display: flex; flex-direction: column; justify-content: space-between; font-size: 5px; color: #77846D; }
.dash-chart > svg { min-width: 0; flex: 1; height: 100%; overflow: visible; }
.chart-grid { stroke: #FFFFFF; stroke-opacity: .05; stroke-width: 1; }
.chart-line { fill: none; stroke: #A0E220; stroke-width: 2.5; vector-effect: non-scaling-stroke; }
.dash-chart-days { display: flex; justify-content: space-between; gap: .1rem; padding-inline-start: .8rem; font-size: 4px; color: #88927F; }
.dash-subscription { display: flex; flex-direction: column; align-items: flex-start; }
.dash-plan-tag { display: inline-block; padding: .1rem .25rem; margin-top: .6rem; color: #A0E220; background: rgb(160 226 32 / .07); border: 1px solid rgb(160 226 32 / .13); border-radius: .2rem; font-size: 5px; }
.dash-subscription > strong { font-size: 8px; font-weight: 600; margin-top: .35rem; color: #E6EBE0; }
.dash-subscription > p { font-size: 5px; color: #88927F; margin-top: .1rem; }
.dash-usage-label { display: flex; justify-content: space-between; gap: .15rem; width: 100%; margin-top: .65rem; font-size: 5px; color: #9AA68F; }
.dash-usage-bar { width: 100%; height: 3px; background: #2D3528; border-radius: 2px; margin-block: .3rem; }
.dash-usage-bar > span { display: block; width: 64%; height: 100%; background: var(--color-brand); border-radius: inherit; }
.dash-subscription > small { font-size: 5px; color: #88927F; }
.dash-members > .dash-card-title { margin-bottom: .35rem; }
.dash-table { display: grid; }
.dash-table-row { display: grid; grid-template-columns: minmax(0, 1.8fr) minmax(0, 1fr) minmax(0, .7fr); gap: .3rem; align-items: center; padding-block: .3rem; border-top: 1px solid rgb(255 255 255 / .05); font-size: 6px; }
.dash-table-row > span:first-child { display: flex; align-items: center; gap: .3rem; }
.dash-table-head { font-size: 5px; color: #88927F; }
.member-avatar { display: inline-grid; place-items: center; flex-shrink: 0; width: .85rem; height: .85rem; background: #2A3025; color: #A9B39F; font-size: 4px; font-style: normal; border-radius: 50%; }
.dash-status { display: inline-flex; align-items: center; gap: .2rem; color: #A6D575; }
.dash-status::before { content: ''; width: 3px; height: 3px; border-radius: 50%; background: #A0E220; }

@media (min-width: 26rem) {
  .hero-actions { flex-direction: row; flex-wrap: wrap; }
  .hero-actions .button { flex: 1 1 auto; padding-inline: 1rem; font-size: .8125rem; }
}
@media (min-width: 40rem) {
  .hero { padding-block: 5rem 4rem; }
  .hero-grid { max-width: 44rem; }
  .hero-title { font-size: clamp(2.75rem, 6.5vw, 3.5rem); }
  .hero-line { white-space: nowrap; }
  .hero-phrase { display: inline; }
  .hero-actions { flex-wrap: nowrap; justify-content: flex-start; }
  .hero-actions .button { flex: initial; padding-inline: 1.5rem; font-size: .875rem; }
  .hero-eyebrow { font-size: .6875rem; }
  .dashboard-demo { grid-template-columns: 6.5rem minmax(0, 1fr); font-size: 10px; }
  .dash-sidebar { padding: 1rem .6rem .7rem; }
  .dash-brand { display: block; width: 100%; height: auto; margin-bottom: 1.5rem; }
  .dash-sidebar-label { display: block; font-size: 6px; letter-spacing: .13em; color: #6F7B65; margin: 0 .35rem .6rem; }
  .dash-sidebar-item { justify-content: flex-start; padding: .45rem .4rem; min-height: 1.9rem; }
  .dash-sidebar-item > span { display: inline; font-size: 8px; }
  .dash-sidebar-bottom { display: flex; align-items: center; gap: .35rem; border-top: 1px solid rgb(255 255 255 / .05); padding-top: .75rem; margin-top: auto; font-size: 6px; }
  .dash-sidebar-bottom small { display: block; font-size: 5px; color: #77846D; }
  .dash-main { padding: 1.1rem; }
  .dash-topline { font-size: 8px; }.dash-sample-tag { font-size: 6px; }
  .dash-heading-row { margin-block: 1.2rem; }.dash-title { font-size: 18px; }.dash-heading-row p { font-size: 9px; }
  .dash-user-avatar { width: 1.75rem; height: 1.75rem; font-size: 9px; }
  .dash-stats { gap: .5rem; }.dash-stat { padding: .65rem; }.dash-stat > span { font-size: 8px; }.dash-stat strong { font-size: 25px; }.dash-stat small { font-size: 6px; }
  .dash-middle { gap: .5rem; margin-block: .65rem; }.dash-chart-card,.dash-subscription,.dash-members { padding: .7rem; }
  .dash-card-title { font-size: 9px; }.dash-card-title small { font-size: 6px; }
  .dash-chart { height: 5.25rem; margin-top: 1rem; }.dash-chart-axis,.dash-chart-days { font-size: 6px; }
  .dash-plan-tag { font-size: 6px; }.dash-subscription > strong { font-size: 11px; }.dash-subscription > p,.dash-usage-label,.dash-subscription > small { font-size: 6px; }
  .dash-usage-label { margin-top: 1rem; }.dash-usage-bar { height: 4px; }
  .dash-table-row { font-size: 8px; padding-block: .4rem; }.dash-table-head { font-size: 7px; }.member-avatar { width: 1.1rem; height: 1.1rem; font-size: 5px; }
  .browser-topbar { min-height: 2rem; font-size: .5625rem; padding-inline: .9rem; }.browser-controls i { width: .375rem; height: .375rem; }
  .dashboard-caption,.hero-motion-control { font-size: .6875rem; }
}
@media (min-width: 64rem) {
  .hero { min-block-size: clamp(42rem, calc(100svh - var(--header-height)), 58rem); display: grid; align-items: center; padding-block: 5.5rem 7rem; }
  .hero-grid { max-width: var(--container-width); grid-template-columns: minmax(0, .45fr) minmax(0, .55fr); gap: clamp(1.75rem, 3vw, 3rem); }
  .hero-title { font-size: clamp(2.1rem, 3.5vw, 3.25rem); }
  .hero-description { font-size: .9375rem; max-width: 28rem; margin-top: 1.75rem; }
  .hero-eyebrow { margin-bottom: 1.75rem; }
  .hero-actions { gap: .75rem; margin-top: 2rem; }.hero-actions .button { padding-inline: 1.15rem; font-size: .8125rem; }
  .hero-backdrop img { object-position: center; }
  .hero-shade { background: linear-gradient(90deg, rgb(8 10 8 / .96) 0%, rgb(8 10 8 / .88) 30%, rgb(8 10 8 / .45) 67%, rgb(8 10 8 / .38)), linear-gradient(0deg, #080A08, transparent 25%, transparent 75%, rgb(8 10 8 / .15)), radial-gradient(ellipse at center, transparent 20%, rgb(0 0 0 / .55)); }
  .browser-window { transform: rotateY(-4deg) rotateX(2deg); transform-origin: center; border-radius: .85rem; }
  .dashboard-demo { grid-template-columns: 5.7rem minmax(0, 1fr); }
  .dash-main { padding: .85rem; }.dash-sidebar-item { gap: .3rem; padding-inline: .2rem; }.dash-sidebar-item > span { font-size: 7px; }
  .dash-title { font-size: 16px; }.dash-heading-row { margin-block: 1rem; }.dash-stat { padding: .5rem; }.dash-stat strong { font-size: 22px; }.dash-stat > span { font-size: 7px; }.dash-stat small { font-size: 5px; }
  .dash-chart { height: 4.75rem; }.dash-subscription > strong { font-size: 9px; }
  .hero-scroll { display: inline-flex; position: absolute; bottom: 2rem; left: 50%; transform: translateX(-50%); gap: .75rem; min-height: 2.75rem; align-items: center; color: #A5ABA2; font-size: .625rem; letter-spacing: .05em; }
  .scroll-track { display: block; width: 1px; height: 1.75rem; background: rgb(255 255 255 / .18); overflow: hidden; }
  .scroll-track > span { display: block; width: 1px; height: .65rem; background: var(--color-brand); }
}
@media (min-width: 80rem) {
  .hero-description { font-size: 1rem; }
  .hero-actions .button { font-size: .875rem; padding-inline: 1.35rem; }
  .dashboard-demo { grid-template-columns: 6.5rem minmax(0, 1fr); }
  .dash-main { padding: 1rem; }.dash-sidebar-item > span { font-size: 8px; }
  .dash-title { font-size: 18px; }.dash-stat > span { font-size: 8px; }.dash-stat strong { font-size: 26px; }.dash-stat small { font-size: 6px; }
  .dash-chart { height: 5.5rem; }.dash-subscription > strong { font-size: 11px; }
}
@media (prefers-reduced-motion: reduce) { .browser-window { transform: none; } }

/* Keep the desktop illustration in a familiar landscape dashboard proportion. */
@media (min-width: 40rem) {
  .dash-main { padding: .85rem; }
  .dash-topline { padding-bottom: .5rem; }
  .dash-heading-row { margin-block: .8rem; }
  .dash-stat strong { line-height: 1.35; }
  .dash-chart { height: 3.5rem; margin-top: .6rem; }
  .dash-usage-label { margin-top: .6rem; }
  .dash-table-row { padding-block: .25rem; }
  .member-avatar { width: .75rem; height: .75rem; }
}
