:root {
  color-scheme: dark;
  --ink: #07111f;
  --ink-soft: #0d1a2b;
  --panel: rgba(14, 29, 48, 0.82);
  --line: rgba(181, 203, 227, 0.18);
  --paper: #f4f1e8;
  --muted: #9babc0;
  --blue: #4e7cff;
  --blue-2: #79a0ff;
  --lime: #c6ff34;
  --coral: #ff735f;
  --success: #58d7a2;
  --danger: #ff766d;
  --display: "Bricolage Grotesque", sans-serif;
  --body: "IBM Plex Sans", sans-serif;
  --mono: "IBM Plex Mono", monospace;
  --radius: 1.25rem;
  --shadow: 0 1.8rem 5rem rgba(0, 0, 0, 0.25);
}

html[data-theme="light"] {
  color-scheme: light;
  --ink: #f4f7fb;
  --ink-soft: #e9f0f8;
  --panel: rgba(255,255,255,.94);
  --line: rgba(36,64,98,.18);
  --paper: #13233a;
  --muted: #5a6a80;
  --blue: #356ce4;
  --blue-2: #245bc7;
  --lime: #a8df24;
  --success: #087a5a;
  --danger: #bf3f46;
  --shadow: 0 1.1rem 3rem rgba(33,56,85,.12);
}

* { box-sizing: border-box; }
html { overflow-x: hidden; scroll-behavior: smooth; }
body {
  margin: 0;
  min-width: 20rem;
  min-height: 100vh;
  overflow-x: hidden;
  color: var(--paper);
  background:
    radial-gradient(circle at 78% 8%, rgba(78, 124, 255, 0.22), transparent 30rem),
    linear-gradient(145deg, #07111f 0%, #081421 52%, #0a1725 100%);
  font: 400 1rem/1.6 var(--body);
}

body::before {
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  content: "";
  opacity: 0.28;
  background-image: linear-gradient(rgba(255,255,255,.025) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.025) 1px, transparent 1px);
  background-size: 3rem 3rem;
  mask-image: linear-gradient(to bottom, black, transparent 85%);
}

a { color: inherit; text-decoration: none; }
button, input, select { font: inherit; }
button { cursor: pointer; }
[hidden] { display: none !important; }

.shell { width: calc(100% - 2rem); max-width: 78rem; margin-inline: auto; }
.site-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 5.25rem;
  border-bottom: 1px solid var(--line);
}

.wordmark { display: inline-flex; align-items: center; gap: .85rem; color: var(--paper); }
.one-logo {
  display: inline-block;
  width: clamp(5.4rem, 9vw, 7.4rem);
  aspect-ratio: 320 / 112;
  flex: 0 0 auto;
  color: currentColor;
  background: currentColor;
  -webkit-mask: url("/assets/one-logo.svg") center / contain no-repeat;
  mask: url("/assets/one-logo.svg") center / contain no-repeat;
}
.wordmark-caption { display: none; color: var(--muted); font: 600 .58rem/1.2 var(--mono); letter-spacing: .12em; text-transform: uppercase; }
.sidebar .wordmark { align-items: flex-start; flex-direction: column; gap: .55rem; }
.sidebar .wordmark-caption, .auth-story .wordmark-caption { display: block; }

.platform-language-cycle {
  display: inline-grid;
  min-width: 3rem;
  min-height: 2.75rem;
  place-items: center;
  padding: 0 .65rem;
  border: 1px solid var(--line);
  border-radius: .8rem;
  color: var(--paper);
  background: rgba(255,255,255,.035);
  font: 700 .7rem/1 var(--mono);
  letter-spacing: .04em;
}
.platform-language-cycle:hover { border-color: var(--blue-2); color: var(--blue-2); }
.auth-main > .platform-language-cycle { position: absolute; top: 1rem; right: 1rem; z-index: 3; }
.auth-main { position: relative; }

.nav-links { display: none; align-items: center; gap: 1.5rem; color: #c3cedc; font-size: .94rem; }
.nav-links.mobile-open { position: absolute; top: 4.8rem; right: 1rem; z-index: 20; display: grid; min-width: 12rem; padding: .8rem; border: 1px solid var(--line); border-radius: 1rem; background: #0b1929; box-shadow: var(--shadow); }
.nav-links a:hover { color: white; }
.nav-actions { display: flex; align-items: center; gap: .55rem; }
.nav-login, .button-secondary, .icon-button {
  min-height: 2.75rem;
  border: 1px solid var(--line);
  border-radius: .8rem;
  color: var(--paper);
  background: rgba(255,255,255,.035);
}
.nav-login { display: none; padding: .55rem 1rem; }
.button-primary {
  display: inline-flex;
  min-height: 3rem;
  align-items: center;
  justify-content: center;
  gap: .65rem;
  padding: .7rem 1.15rem;
  border: 0;
  border-radius: .85rem;
  color: white;
  background: var(--blue);
  box-shadow: 0 .8rem 2rem rgba(78,124,255,.24);
  font-weight: 700;
}
.button-primary:hover { transform: translateY(-1px); background: #628cff; }
.button-primary:disabled { cursor: not-allowed; opacity: .55; transform: none; }
.button-secondary { display: inline-flex; align-items: center; justify-content: center; padding: .65rem 1rem; font-weight: 600; }
.button-danger { color: #ffaaa3; border-color: rgba(255,115,95,.35); }
.icon-button { display: grid; width: 2.75rem; padding: 0; place-items: center; }
.icon-button svg { width: 1.2rem; fill: none; stroke: currentColor; stroke-width: 2; }

.hero { display: grid; gap: 3rem; padding: 4.5rem 0 3.5rem; }
.hero > *, .module-grid > *, .value-grid > *, .owner-grid > * { min-width: 0; }
.eyebrow { display: flex; align-items: center; gap: .75rem; margin: 0 0 1.1rem; color: var(--blue-2); font: 600 .72rem/1 var(--mono); letter-spacing: .12em; text-transform: uppercase; }
.eyebrow::before { width: 2rem; height: 1px; content: ""; background: currentColor; }
.hero h1, .section-title, .auth-card h1, .dashboard-title h1 {
  margin: 0;
  font-family: var(--display);
  font-weight: 600;
  line-height: .98;
  letter-spacing: -.055em;
}
.hero h1 { max-width: 12ch; font-size: clamp(3.4rem, 12vw, 7.2rem); }
.hero h1 span { color: var(--blue-2); }
.hero-lead { max-width: 39rem; margin: 1.5rem 0 0; color: #b9c5d4; font-size: clamp(1rem, 2vw, 1.2rem); }
.hero-actions { display: flex; flex-wrap: wrap; gap: .75rem; margin-top: 2rem; }
.hero-actions a { min-height: 3.35rem; padding-inline: 1.35rem; }
.trust-row { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 1px; margin-top: 2.5rem; overflow: hidden; border: 1px solid var(--line); border-radius: 1rem; background: var(--line); }
.trust-item { padding: 1rem; background: var(--ink); }
.trust-item strong { display: block; font: 600 1.2rem/1.1 var(--display); }
.trust-item span { color: var(--muted); font-size: .76rem; }

.hero-console { position: relative; align-self: center; }
.hero-console::before { position: absolute; inset: -1.4rem; z-index: -1; border: 1px solid rgba(121,160,255,.16); border-radius: 2rem; content: ""; transform: rotate(-3deg); }
.console-card { overflow: hidden; border: 1px solid rgba(121,160,255,.3); border-radius: 1.3rem; background: rgba(7,17,31,.88); box-shadow: var(--shadow); backdrop-filter: blur(1rem); }
.console-head { display: flex; align-items: center; justify-content: space-between; padding: 1rem 1.1rem; border-bottom: 1px solid var(--line); }
.console-dots { display: flex; gap: .38rem; }
.console-dots i { width: .48rem; height: .48rem; border-radius: 50%; background: var(--muted); }
.console-dots i:first-child { background: var(--coral); }
.console-dots i:last-child { background: var(--lime); }
.console-head span { color: var(--muted); font: 500 .68rem var(--mono); }
.console-body { padding: 1.2rem; }
.console-status { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: 1rem; border: 1px solid var(--line); border-radius: 1rem; }
.signal { width: .75rem; height: .75rem; border-radius: 50%; background: var(--lime); box-shadow: 0 0 0 .35rem rgba(198,255,52,.12), 0 0 1.8rem rgba(198,255,52,.45); }
.console-number { margin: 2rem 0 1.7rem; text-align: center; }
.console-number small { display: block; margin-bottom: .5rem; color: var(--lime); font: 600 .66rem var(--mono); letter-spacing: .13em; text-transform: uppercase; }
.console-number strong { display: block; font: 600 clamp(1.35rem,7vw,2.35rem) var(--display); letter-spacing: -.04em; white-space: nowrap; }
.wave { display: flex; height: 3.5rem; align-items: center; justify-content: center; gap: .32rem; }
.wave i { width: .26rem; height: 35%; border-radius: 1rem; background: var(--blue-2); animation: wave 1.15s ease-in-out infinite alternate; }
.wave i:nth-child(2n) { animation-delay: -.35s; height: 78%; }
.wave i:nth-child(3n) { animation-delay: -.7s; height: 52%; }
@keyframes wave { to { height: 95%; opacity: .55; } }

.section { padding: 4.5rem 0; }
.section-head { display: grid; gap: 1rem; margin-bottom: 2rem; }
.section-title { max-width: 14ch; font-size: clamp(2.5rem, 8vw, 4.8rem); }
.section-copy { max-width: 38rem; color: var(--muted); }
.module-grid, .value-grid { display: grid; gap: 1rem; }
.module-card, .value-card, .metric-card, .content-card {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--panel);
  box-shadow: 0 1.1rem 3rem rgba(0,0,0,.12);
}
.module-card { position: relative; min-height: 24rem; overflow: hidden; padding: 1.35rem; }
.module-card::after { position: absolute; right: -6rem; bottom: -7rem; width: 15rem; height: 15rem; border: 1px solid rgba(198,255,52,.25); border-radius: 50%; content: ""; box-shadow: 0 0 0 2rem rgba(198,255,52,.04), 0 0 0 4rem rgba(198,255,52,.025); }
.module-card.coming::after { border-color: var(--line); box-shadow: none; }
.module-tag { display: inline-flex; align-items: center; gap: .45rem; padding: .35rem .65rem; border: 1px solid rgba(198,255,52,.28); border-radius: 99rem; color: var(--lime); font: 600 .67rem var(--mono); letter-spacing: .08em; text-transform: uppercase; }
.module-card h3 { margin: 3.5rem 0 .7rem; font: 600 3rem/1 var(--display); letter-spacing: -.05em; }
.module-card p { max-width: 29rem; color: var(--muted); }
.module-card .button-primary { position: absolute; bottom: 1.35rem; left: 1.35rem; z-index: 1; }
.coming { min-height: 15rem; opacity: .72; }
.coming h3 { margin-top: 2.5rem; font-size: 2rem; }
.value-card { padding: 1.35rem; }
.value-card span { color: var(--blue-2); font: 600 .72rem var(--mono); }
.value-card h3 { margin: 1.8rem 0 .6rem; font: 600 1.4rem var(--display); }
.value-card p { margin: 0; color: var(--muted); }

.cta-band { display: grid; gap: 1.5rem; padding: 2rem; border-radius: 1.5rem; color: var(--ink); background: var(--paper); }
.cta-band h2 { max-width: 13ch; margin: 0; font: 600 clamp(2.2rem,8vw,4.2rem)/.98 var(--display); letter-spacing: -.055em; }
.cta-band p { max-width: 35rem; color: #465163; }
.site-footer { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 1rem; padding: 2rem 0; border-top: 1px solid var(--line); color: var(--muted); font-size: .85rem; }

.auth-layout { display: grid; min-height: 100vh; }
.auth-story { display: none; padding: 2rem; background: var(--blue); }
.auth-story h2 { max-width: 11ch; margin: auto 0 0; font: 600 4.5rem/.95 var(--display); letter-spacing: -.06em; }
.auth-main { display: grid; align-items: center; padding: 1.25rem; }
.auth-wrap { width: min(100%, 29rem); margin: 0 auto; }
.auth-back { display: inline-flex; align-items: center; gap: .5rem; min-height: 2.75rem; margin-bottom: 1.5rem; color: var(--muted); }
.auth-card { padding: 1.3rem; border: 1px solid var(--line); border-radius: 1.4rem; background: rgba(10,24,39,.9); box-shadow: var(--shadow); }
.auth-card h1 { font-size: 2.4rem; }
.auth-card > p { color: var(--muted); }
.form-stack { display: grid; gap: 1rem; margin-top: 1.5rem; }
.field-label { display: grid; gap: .4rem; color: #d7dfeb; font-size: .88rem; }
.field-input {
  width: 100%;
  min-height: 3.25rem;
  padding: .75rem .9rem;
  border: 1px solid var(--line);
  border-radius: .8rem;
  outline: none;
  color: white;
  background: #091522;
}
.field-input:focus { border-color: var(--blue-2); box-shadow: 0 0 0 .2rem rgba(78,124,255,.14); }
.form-message { min-height: 1.4rem; margin: 0; color: var(--danger); font-size: .87rem; }
.form-message.success { color: var(--success); }
.auth-switch { margin-top: 1.2rem; color: var(--muted); text-align: center; }
.auth-switch a { color: var(--blue-2); font-weight: 600; }

.dashboard-body { background: #07111f; }
.dashboard-shell { display: grid; min-height: 100vh; }
.sidebar { display: none; padding: 1.4rem; border-right: 1px solid var(--line); background: #081522; }
.sidebar-nav { display: grid; gap: .45rem; margin-top: 2.5rem; }
.sidebar-link { display: flex; min-height: 3rem; align-items: center; gap: .75rem; padding: .7rem .8rem; border-radius: .75rem; color: var(--muted); }
.sidebar-link.active, .sidebar-link:hover { color: white; background: rgba(121,160,255,.12); }
.sidebar-foot { margin-top: auto; }
.dashboard-main { min-width: 0; }
.dashboard-topbar { display: flex; min-height: 4.8rem; align-items: center; justify-content: space-between; gap: 1rem; padding: .8rem 1rem; border-bottom: 1px solid var(--line); }
.mobile-brand { display: flex; }
.account-chip { min-width: 0; text-align: right; }
.account-chip strong, .account-chip span { display: block; max-width: 12rem; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.account-chip span { color: var(--muted); font-size: .76rem; }
.dashboard-content { width: min(100%, 88rem); margin: 0 auto; padding: 1.5rem 1rem 4rem; }
.dashboard-title { display: grid; gap: .8rem; margin-bottom: 1.5rem; }
.dashboard-title h1 { font-size: clamp(2.4rem,8vw,4rem); }
.dashboard-title p { margin: 0; color: var(--muted); }
.metrics { display: grid; gap: .8rem; margin-bottom: 1.5rem; }
.metric-card { padding: 1.1rem; }
.metric-card span { color: var(--muted); font-size: .78rem; }
.metric-card strong { display: block; margin-top: .5rem; font: 600 2rem var(--display); }
.content-card { overflow: hidden; }
.content-head { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: 1rem 1.1rem; border-bottom: 1px solid var(--line); }
.content-head h2 { margin: 0; font: 600 1.2rem var(--display); }
.module-list { display: grid; }
.app-module { display: grid; gap: 1rem; padding: 1.1rem; border-bottom: 1px solid var(--line); }
.app-module:last-child { border-bottom: 0; }
.app-module-icon { display: grid; width: 3rem; height: 3rem; place-items: center; border-radius: .85rem; color: var(--ink); background: var(--lime); font: 700 .72rem var(--mono); }
.app-module h3 { margin: 0; font: 600 1.15rem var(--display); }
.app-module p { margin: .2rem 0 0; color: var(--muted); font-size: .88rem; }
.module-state { display: inline-flex; align-items: center; gap: .4rem; color: var(--muted); font: 600 .68rem var(--mono); text-transform: uppercase; }
.module-state::before { width: .5rem; height: .5rem; border-radius: 50%; content: ""; background: currentColor; }
.module-state.active { color: var(--success); }
.module-state.pending, .module-state.setup_required { color: #ffd06a; }
.notice { margin-bottom: 1rem; padding: 1rem; border: 1px solid rgba(255,208,106,.28); border-radius: .9rem; color: #ffe1a0; background: rgba(255,208,106,.07); }

.owner-grid { display: grid; gap: 1rem; }
.tenant-list { display: grid; }
.tenant-row { display: grid; gap: 1rem; padding: 1.1rem; border-bottom: 1px solid var(--line); }
.tenant-row:last-child { border-bottom: 0; }
.tenant-meta strong { display: block; font: 600 1.05rem var(--display); }
.tenant-meta span { color: var(--muted); font-size: .82rem; }
.tenant-actions { display: flex; flex-wrap: wrap; gap: .55rem; align-items: center; }
.status-pill { display: inline-flex; min-height: 2rem; align-items: center; padding: .25rem .65rem; border-radius: 99rem; color: var(--success); background: rgba(88,215,162,.1); font: 600 .68rem var(--mono); text-transform: uppercase; }
.status-pill.suspended { color: var(--danger); background: rgba(255,118,109,.1); }
.mini-button { min-height: 2.65rem; padding: .55rem .8rem; border: 1px solid var(--line); border-radius: .7rem; color: white; background: rgba(255,255,255,.035); }
.mini-button.active { color: #13233a; border-color: var(--lime); background: var(--lime); }
.mini-button.button-danger { color: #ffaaa3; border-color: rgba(255,115,95,.35); }
.drawer { margin-bottom: 1rem; padding: 1.1rem; border: 1px solid rgba(121,160,255,.28); border-radius: 1rem; background: rgba(78,124,255,.08); }
.drawer h2 { margin: 0 0 1rem; font: 600 1.3rem var(--display); }
.compact-head h2 { margin: 0; }
.compact-head .eyebrow { margin-bottom: .55rem; }
.drawer-body { padding: 1.1rem; }
.drawer-grid { display: grid; gap: .8rem; }

/* Owner workspace: clear reading order for status, controls and next steps. */
.dashboard-content { max-width: 88rem; }
.dashboard-title { margin-bottom: 2rem; }
.metrics { gap: 1rem; }
.metric-card { position: relative; min-height: 7.25rem; padding: 1.25rem; }
.metric-card::after { position: absolute; right: 1.1rem; bottom: 1rem; width: 2.25rem; height: 2.25rem; border: 1px solid var(--line); border-radius: 50%; content: ""; opacity: .8; }
.metric-card strong { position: relative; z-index: 1; font-size: 2.25rem; }
.owner-grid { gap: 1.25rem; }
.owner-grid > aside.content-card { overflow: hidden; }
.owner-grid > aside.content-card .content-head { padding-bottom: .85rem; }
.owner-grid > aside.content-card .value-card { position: relative; padding: 1.1rem 1.1rem 1.15rem 3.9rem; border: 0; border-bottom: 1px solid var(--line); border-radius: 0; background: transparent; box-shadow: none; }
.owner-grid > aside.content-card .value-card:last-child { border-bottom: 0; }
.owner-grid > aside.content-card .value-card span { position: absolute; top: 1.25rem; left: 1.1rem; display: grid; width: 1.9rem; height: 1.9rem; place-items: center; border: 1px solid currentColor; border-radius: 50%; font-size: .62rem; }
.owner-grid > aside.content-card .value-card h3 { margin: 0 0 .35rem; font-size: 1.1rem; }
.owner-grid > aside.content-card .value-card p { font-size: .86rem; line-height: 1.45; }
.tenant-row { grid-template-columns: 1fr; gap: .9rem; padding: 1.25rem; }
.tenant-row > div:nth-child(2) { display: flex; flex-wrap: wrap; align-items: center; gap: .65rem; padding: .8rem; border: 1px solid var(--line); border-radius: .8rem; background: rgba(121,160,255,.055); }
.tenant-actions { padding-top: .85rem; border-top: 1px solid var(--line); }
.tenant-actions .mini-button { min-height: 2.75rem; transition: border-color .18s ease, background-color .18s ease, color .18s ease; }
.tenant-actions .mini-button:hover { border-color: var(--blue-2); }

.platform-theme-toggle {
  display: inline-grid;
  width: 2.75rem;
  min-width: 2.75rem;
  min-height: 2.75rem;
  padding: 0;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: .8rem;
  color: var(--paper);
  background: rgba(255,255,255,.035);
}
.platform-theme-toggle:hover { border-color: var(--blue-2); color: var(--blue-2); }
.platform-theme-toggle svg { width: 1.12rem; fill: none; stroke: currentColor; stroke-linecap: round; stroke-linejoin: round; stroke-width: 1.8; }
.auth-main > .platform-theme-toggle { position: absolute; top: 1rem; right: 4.45rem; z-index: 3; }

html[data-theme="light"] body,
html[data-theme="light"] .dashboard-body { color: var(--paper); background: radial-gradient(circle at 78% 4%, rgba(78,124,255,.15), transparent 30rem), linear-gradient(145deg, #f7faff 0%, #eef4fa 54%, #e7eff8 100%); }
html[data-theme="light"] body::before { opacity: .48; }
html[data-theme="light"] .sidebar { background: rgba(250,252,255,.92); }
html[data-theme="light"] .sidebar-link.active,
html[data-theme="light"] .sidebar-link:hover { color: var(--paper); background: rgba(53,108,228,.1); }
html[data-theme="light"] .auth-card { background: rgba(255,255,255,.95); }
html[data-theme="light"] .field-label { color: #34445c; }
html[data-theme="light"] .field-input { color: var(--paper); background: #fff; }
html[data-theme="light"] .mini-button { color: var(--paper); background: rgba(19,35,58,.04); }
html[data-theme="light"] .nav-login,
html[data-theme="light"] .button-secondary,
html[data-theme="light"] .icon-button,
html[data-theme="light"] .platform-language-cycle,
html[data-theme="light"] .platform-theme-toggle { color: var(--paper); background: rgba(19,35,58,.04); }
html[data-theme="light"] .hero-lead { color: #44556d; }
html[data-theme="light"] .notice { color: #855f00; background: rgba(255,208,106,.16); }
html[data-theme="light"] .button-danger { color: #a62b36; border-color: rgba(191,63,70,.42); }

button:focus-visible, a:focus-visible, input:focus-visible { outline: .18rem solid var(--blue-2); outline-offset: .16rem; }

@media (min-width: 640px) {
  .shell { width: calc(100% - 3rem); }
  .nav-login { display: inline-flex; align-items: center; }
  .trust-row { grid-template-columns: repeat(4,minmax(0,1fr)); }
  .value-grid, .metrics { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .app-module { grid-template-columns: auto 1fr auto; align-items: center; }
  .tenant-row { grid-template-columns: minmax(13rem,1fr) minmax(13rem,1fr); align-items: center; }
  .tenant-actions { grid-column: 1 / -1; }
  .drawer-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .drawer-grid .full { grid-column: 1 / -1; }
  .auth-card { padding: 2rem; }
}

@media (max-width: 639px) {
  .dashboard-topbar { gap: .45rem; padding: .65rem; }
  .dashboard-topbar > .eyebrow { display: none; }
  .mobile-brand .one-logo { width: 4.35rem; }
  .account-chip strong, .account-chip span { max-width: 6.4rem; }
  .platform-language-cycle { min-width: 2.5rem; min-height: 2.5rem; padding-inline: .45rem; }
  .platform-theme-toggle { width: 2.5rem; min-width: 2.5rem; min-height: 2.5rem; }
  .site-nav > .nav-actions > .button-primary { display: none; }
  .wordmark-caption { display: none; }
  .hero-actions { display: grid; }
  .hero-actions a { width: 100%; }
  .hero-console, .console-card { min-width: 0; max-width: 100%; }
}

@media (min-width: 768px) {
  .nav-links { display: flex; }
  #menuButton { display: none; }
  .hero { grid-template-columns: minmax(0,1.2fr) minmax(20rem,.8fr); align-items: center; min-height: calc(100vh - 5.25rem); }
  .module-grid { grid-template-columns: 1.45fr .55fr; }
  .value-grid { grid-template-columns: repeat(3,minmax(0,1fr)); }
  .section-head { grid-template-columns: 1fr 1fr; align-items: end; }
  .cta-band { grid-template-columns: 1.2fr .8fr; align-items: end; padding: 3rem; }
  .auth-layout { grid-template-columns: minmax(20rem,.85fr) minmax(28rem,1.15fr); }
  .auth-story { display: flex; flex-direction: column; }
  .metrics { grid-template-columns: repeat(4,minmax(0,1fr)); }
}

@media (min-width: 1024px) {
  .dashboard-shell { grid-template-columns: 16rem minmax(0,1fr); }
  .sidebar { display: flex; flex-direction: column; position: sticky; top: 0; height: 100vh; }
  .mobile-brand { display: none; }
  .dashboard-topbar { padding-inline: 1.8rem; }
  .dashboard-content { padding: 2.3rem 2rem 5rem; }
  .owner-grid { grid-template-columns: minmax(0,1fr) 19rem; align-items: start; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
}
