/* Story: #1 | Date: 2026-08-06 | Agent: George | Change: Established reusable DevsOff.ai theme tokens and global components. */
:root {
  color-scheme: light;
  --color-bg: #f7f8fc;
  --color-bg-strong: #eff3fb;
  --color-surface: #ffffff;
  --color-surface-soft: rgba(255, 255, 255, 0.78);
  --color-text: #0b111d;
  --color-heading: #05070b;
  --color-muted: #263a63;
  --color-soft: #66718a;
  --color-border: #cfd6e5;
  --color-border-strong: #b9c4d8;
  --color-primary: #1264f5;
  --color-primary-dark: #0750ce;
  --color-primary-soft: #e8f0ff;
  --color-success: #13a468;
  --color-success-bg: #dff7e9;
  --shadow-soft: 0 16px 42px rgb(16 28 48 / 14%);
  --shadow-device: 0 24px 60px rgb(7 18 38 / 24%);
  --shadow-float: 0 16px 32px rgb(12 24 42 / 16%);
  --radius-xs: 6px;
  --radius-sm: 8px;
  --radius-control: 8px;
  --radius-device: 20px;
  --content-max: 1760px;
  --header-block: 104px;
  --page-gutter: clamp(20px, 3vw, 52px);
  --focus-ring: 0 0 0 3px #ffffff, 0 0 0 6px var(--color-primary);
  font-family:
    Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
    sans-serif;
  font-synthesis: none;
  text-rendering: optimizeLegibility;
}

* {
  box-sizing: border-box;
}

html {
  min-width: 320px;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-width: 320px;
  overflow-x: hidden;
  background:
    radial-gradient(circle at 22% 8%, rgba(255, 255, 255, 0.95), transparent 30%),
    radial-gradient(circle at 72% 42%, rgba(223, 232, 250, 0.95), transparent 34%),
    var(--color-bg);
  color: var(--color-text);
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input {
  font: inherit;
}

button {
  border: 0;
  cursor: pointer;
}

button,
a,
input {
  min-height: 44px;
}

:where(a, button, input):focus-visible {
  outline: 0;
  box-shadow: var(--focus-ring);
}

.page-shell {
  min-height: 100svh;
  display: grid;
  grid-template-rows: auto 1fr auto;
}

/* Story: #1 | Date: 2026-08-06 | Agent: George | Change: Added reusable header, brand, button, and footer components. */
.site-header {
  width: min(100%, var(--content-max));
  min-height: var(--header-block);
  margin-inline: auto;
  padding: 28px var(--page-gutter) 16px;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: start;
  gap: 32px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-height: 52px;
}

.brand-mark {
  position: relative;
  display: inline-grid;
  place-items: center;
  width: 72px;
  height: 48px;
  flex: 0 0 auto;
  color: var(--color-text);
  font-weight: 950;
  font-size: 42px;
  line-height: 1;
  letter-spacing: 0;
}

.brand-mark__d {
  position: absolute;
  left: 0;
  z-index: 2;
}

.brand-mark__loop {
  position: absolute;
  right: 0;
  width: 34px;
  height: 34px;
  border: 10px solid var(--color-primary);
  border-radius: 50%;
  box-shadow: -15px 0 0 -5px #73a6ff;
}

.brand-wordmark {
  display: grid;
  gap: 2px;
}

.brand-wordmark > span {
  font-size: clamp(1.45rem, 2vw, 2.05rem);
  font-weight: 950;
  line-height: 0.9;
  letter-spacing: 0;
}

.brand-wordmark > span > span {
  color: var(--color-primary);
}

.brand-wordmark small {
  color: var(--color-text);
  font-size: 0.42rem;
  font-weight: 900;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.site-nav {
  justify-self: end;
  display: flex;
  align-items: center;
  gap: clamp(24px, 4vw, 54px);
  color: #172c5c;
  font-size: 1rem;
  font-weight: 560;
  padding-top: 16px;
}

.site-nav a {
  border-radius: var(--radius-control);
  padding: 4px 2px;
}

.button {
  min-width: 0;
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border-radius: var(--radius-control);
  border: 1px solid transparent;
  padding: 0 20px;
  color: var(--color-primary);
  background: transparent;
  font-weight: 720;
  line-height: 1;
  white-space: nowrap;
  transition:
    background-color 160ms ease,
    border-color 160ms ease,
    color 160ms ease,
    transform 160ms ease;
}

.button:hover {
  transform: translateY(-1px);
}

.button--primary {
  min-height: 52px;
  color: #ffffff;
  background: var(--color-primary);
  border-color: var(--color-primary);
  box-shadow: 0 12px 22px rgba(18, 100, 245, 0.22);
}

.button--primary:hover {
  background: var(--color-primary-dark);
  border-color: var(--color-primary-dark);
}

.button--outline,
.button--quiet,
.button--pill {
  border-color: #8cb4ff;
  background: rgba(255, 255, 255, 0.42);
}

.button--quiet {
  color: var(--color-text);
  border-color: var(--color-border);
}

.button--wide {
  width: 100%;
}

.button--pill {
  min-height: 48px;
  border-radius: 999px;
  padding-inline: 22px;
}

.site-header__login {
  justify-self: end;
  min-width: 92px;
}

/* Story: #1 | Date: 2026-08-06 | Agent: George | Change: Added desktop homepage layout matching the supplied unauthenticated mockup. */
.home-main {
  width: min(100%, var(--content-max));
  margin-inline: auto;
  padding: 16px var(--page-gutter) 38px;
  display: grid;
  grid-template-columns:
    minmax(270px, 0.62fr)
    minmax(500px, 0.98fr)
    minmax(340px, 0.72fr);
  grid-template-rows: 1fr auto;
  grid-template-areas:
    "copy product login"
    "caps product login";
  align-items: center;
  gap: clamp(28px, 3.1vw, 58px);
}

.home-main > * {
  min-width: 0;
}

.hero-copy {
  grid-area: copy;
  align-self: center;
  max-width: 410px;
}

.hero-copy h1 {
  margin: 0;
  color: var(--color-heading);
  font-size: clamp(3.3rem, 4.6vw, 5.3rem);
  font-weight: 900;
  line-height: 1.04;
  letter-spacing: 0;
}

.hero-copy h1 span {
  display: block;
  color: var(--color-primary);
}

.mobile-break {
  display: none;
}

.hero-copy p {
  margin: 36px 0 0;
  color: #1d315e;
  font-size: clamp(1rem, 1.1vw, 1.22rem);
  line-height: 1.72;
  max-width: 420px;
}

.capability-strip {
  grid-area: caps;
  align-self: end;
  display: grid;
  grid-template-columns: repeat(3, minmax(82px, 1fr));
  gap: clamp(18px, 2.1vw, 44px);
  max-width: 430px;
  padding-top: 32px;
}

.capability {
  display: grid;
  justify-items: center;
  align-content: start;
  gap: 12px;
  text-align: center;
  color: var(--color-text);
  font-size: 0.95rem;
  font-weight: 800;
  line-height: 1.25;
}

.capability__icon {
  position: relative;
  width: 68px;
  height: 68px;
  border-radius: 50%;
  background: #dce9ff;
  box-shadow: inset 0 0 0 1px rgba(18, 100, 245, 0.06);
  overflow: hidden;
}

.capability__icon::before,
.capability__icon::after {
  content: "";
  position: absolute;
  border-color: var(--color-primary);
}

.capability__icon--apps::before {
  inset: 17px;
  border: 4px solid var(--color-primary);
  border-radius: var(--radius-xs);
  box-shadow:
    18px 0 0 -4px #dce9ff,
    0 18px 0 -4px #dce9ff,
    18px 18px 0 -4px #dce9ff;
}

.capability__icon--apps::after {
  inset: 19px;
  border: 3px solid var(--color-primary);
  border-radius: 4px;
  transform: translate(18px, 18px);
}

.capability__icon--agent::before {
  left: 18px;
  right: 18px;
  top: 24px;
  bottom: 15px;
  border: 4px solid var(--color-primary);
  border-radius: var(--radius-sm);
}

.capability__icon--agent::after {
  left: 31px;
  top: 14px;
  width: 6px;
  height: 12px;
  border-left: 4px solid var(--color-primary);
  border-radius: 2px;
  box-shadow:
    -11px 28px 0 -1px var(--color-primary),
    11px 28px 0 -1px var(--color-primary);
}

.capability__icon--hosting::before {
  left: 16px;
  top: 32px;
  width: 38px;
  height: 16px;
  border: 4px solid var(--color-primary);
  border-radius: 18px;
}

.capability__icon--hosting::after {
  left: 24px;
  top: 20px;
  width: 30px;
  height: 26px;
  border: 4px solid var(--color-primary);
  border-top-left-radius: 22px;
  border-top-right-radius: 22px;
  border-bottom: 0;
}

.product-showcase {
  grid-area: product;
  position: relative;
  min-height: 590px;
  align-self: stretch;
}

.status-pill {
  position: absolute;
  z-index: 6;
  top: 8px;
  right: 16px;
  min-width: 252px;
  min-height: 72px;
  display: flex;
  align-items: center;
  gap: 14px;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-sm);
  padding: 13px 18px;
  background: rgba(255, 255, 255, 0.9);
  box-shadow: var(--shadow-float);
  backdrop-filter: blur(12px);
}

.status-pill__icon {
  width: 36px;
  height: 36px;
  flex: 0 0 auto;
  border-radius: 50%;
  background: var(--color-success);
  position: relative;
}

.status-pill__icon::after {
  content: "";
  position: absolute;
  left: 11px;
  top: 8px;
  width: 9px;
  height: 17px;
  border: solid #ffffff;
  border-width: 0 4px 4px 0;
  transform: rotate(45deg);
}

.status-pill strong,
.status-pill small {
  display: block;
}

.status-pill strong {
  color: var(--color-text);
  font-size: 0.98rem;
  line-height: 1.1;
}

.status-pill small {
  color: var(--color-muted);
  margin-top: 4px;
}

.dashboard-device {
  position: absolute;
  z-index: 2;
  top: 14px;
  left: 7%;
  width: min(500px, 78%);
  height: 396px;
  display: grid;
  grid-template-columns: 78px 1fr;
  overflow: hidden;
  border-radius: var(--radius-device);
  background: #091522;
  box-shadow: var(--shadow-device);
}

.dashboard-sidebar {
  display: grid;
  justify-items: center;
  align-content: start;
  gap: 26px;
  padding: 26px 0;
  background: linear-gradient(180deg, #07121e, #0d1a2a);
  border-right: 1px solid rgba(255, 255, 255, 0.06);
}

.sidebar-logo {
  width: 28px;
  height: 28px;
  display: grid;
  place-items: center;
  color: var(--color-primary);
  font-size: 1.45rem;
  font-weight: 950;
}

.dashboard-sidebar span:not(.sidebar-logo) {
  width: 18px;
  height: 18px;
  border: 2px solid rgba(255, 255, 255, 0.8);
  border-radius: 4px;
}

.dashboard-content {
  padding: 28px 26px 26px;
  color: #ffffff;
}

.dashboard-title {
  font-weight: 850;
  margin-bottom: 26px;
}

.metric-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
}

.metric-card {
  min-height: 108px;
  border-radius: var(--radius-sm);
  padding: 18px;
  background: rgba(255, 255, 255, 0.04);
}

.metric-card small,
.metric-card span {
  display: block;
}

.metric-card small {
  color: #dce7f8;
  font-size: 0.78rem;
}

.metric-card strong {
  display: block;
  margin-top: 14px;
  font-size: 1.55rem;
}

.metric-card span {
  margin-top: 4px;
  color: #19d179;
  font-size: 0.82rem;
  font-weight: 780;
}

.chart-panel {
  margin-top: 14px;
  border-radius: var(--radius-sm);
  min-height: 190px;
  padding: 17px 18px 22px;
  background: rgba(255, 255, 255, 0.035);
}

.chart-panel__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  color: #ffffff;
  font-size: 0.9rem;
  font-weight: 780;
}

.chart-panel__top small {
  color: #cbd7ec;
  border-radius: var(--radius-xs);
  padding: 7px 10px;
  background: rgba(255, 255, 255, 0.06);
}

.chart {
  position: relative;
  height: 132px;
  margin-top: 18px;
  background:
    linear-gradient(rgba(255, 255, 255, 0.055) 1px, transparent 1px) 0 0 / 100% 33%,
    linear-gradient(90deg, rgba(255, 255, 255, 0.04) 1px, transparent 1px) 0 0 / 16% 100%;
  overflow: hidden;
}

.chart::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(128deg, transparent 4%, var(--color-primary) 5%, transparent 6%) 0 0 / 12% 100%,
    linear-gradient(32deg, transparent 4%, var(--color-primary) 5%, transparent 6%) 0 0 / 12% 100%;
  opacity: 0.75;
}

.chart span {
  position: absolute;
  left: var(--x);
  top: var(--y);
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--color-primary);
  box-shadow: 0 0 0 2px rgba(18, 100, 245, 0.2);
}

.phone-device {
  position: absolute;
  z-index: 4;
  left: 0;
  bottom: 116px;
  width: 166px;
  height: 360px;
  border: 8px solid #111827;
  border-radius: 34px;
  padding: 28px 12px 18px;
  color: #ffffff;
  background: #081421;
  box-shadow: var(--shadow-device);
}

.phone-top {
  color: #ffffff;
  font-size: 0.75rem;
  font-weight: 850;
}

.phone-metrics {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 5px;
  margin-top: 26px;
}

.phone-metrics span {
  min-height: 44px;
  display: grid;
  place-items: center;
  border-radius: var(--radius-xs);
  background: rgba(255, 255, 255, 0.05);
  font-size: 1rem;
  font-weight: 850;
}

.phone-metrics small {
  display: block;
  font-size: 0.42rem;
  color: #cfddf5;
}

.phone-list {
  display: grid;
  gap: 13px;
  margin-top: 34px;
}

.phone-list span {
  height: 30px;
  border-radius: var(--radius-xs);
  background: linear-gradient(90deg, #10b96d 0 16px, rgba(255, 255, 255, 0.06) 16px);
}

.portal-card {
  position: absolute;
  z-index: 5;
  left: 17%;
  right: 10%;
  bottom: 94px;
  min-height: 286px;
  overflow: hidden;
  border: 1px solid rgba(180, 193, 214, 0.8);
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, 0.94);
  box-shadow: var(--shadow-float);
}

.portal-window {
  height: 46px;
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 0 18px;
  color: #263a63;
  border-bottom: 1px solid var(--color-border);
  background: linear-gradient(180deg, #ffffff, #f4f6fb);
  font-size: 0.82rem;
  font-weight: 700;
}

.portal-window span {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #ff5f57;
}

.portal-window span:nth-child(2) {
  background: #ffbd2e;
}

.portal-window span:nth-child(3) {
  background: #28c840;
}

.portal-window strong {
  margin-left: 14px;
}

.portal-body {
  display: grid;
  grid-template-columns: 128px 1fr;
  min-height: 240px;
}

.portal-body nav {
  display: grid;
  align-content: start;
  gap: 6px;
  padding: 18px 12px;
  border-right: 1px solid var(--color-border);
  background: #f5f7fb;
  color: #263a63;
  font-size: 0.78rem;
  font-weight: 700;
}

.portal-body nav span {
  border-radius: var(--radius-xs);
  padding: 8px 10px;
}

.portal-body nav .is-active {
  color: var(--color-primary);
  background: var(--color-primary-soft);
}

.portal-body > div {
  padding: 20px 20px 18px;
}

.portal-body h2 {
  margin: 0 0 16px;
  color: #0d111a;
  font-size: 1rem;
}

.portal-body ul {
  display: grid;
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.portal-body li {
  min-height: 38px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  border-bottom: 1px solid var(--color-border);
  color: #15213b;
  font-size: 0.85rem;
}

.portal-body li span {
  border-radius: var(--radius-xs);
  padding: 4px 8px;
  color: #15824f;
  background: var(--color-success-bg);
  font-size: 0.74rem;
  font-weight: 800;
}

.watch-device {
  position: absolute;
  z-index: 7;
  right: 1%;
  bottom: 76px;
  width: 96px;
  height: 150px;
  display: grid;
  align-content: center;
  gap: 8px;
  border: 9px solid #202936;
  border-radius: 24px;
  padding: 10px;
  color: #ffffff;
  background: #07111d;
  box-shadow: var(--shadow-float);
}

.watch-device strong {
  color: var(--color-primary);
  font-size: 0.6rem;
}

.watch-device span {
  display: flex;
  justify-content: space-between;
  gap: 4px;
  color: #d9e5f9;
  font-size: 0.55rem;
}

.watch-device b {
  color: #62a0ff;
}

.profile-orbit {
  position: absolute;
  z-index: 8;
  left: 16%;
  bottom: 12px;
  width: 140px;
  height: 140px;
  border: 5px solid #ffffff;
  border-radius: 50%;
  background:
    linear-gradient(148deg, transparent 49%, rgba(255, 255, 255, 0.45) 50%),
    radial-gradient(circle at 50% 34%, #263a63 0 16px, transparent 17px),
    linear-gradient(180deg, #ffd7a8 0 36%, #ffffff 37% 58%, #1761b6 59%);
  box-shadow: var(--shadow-float);
}

/* Story: #1 | Date: 2026-08-06 | Agent: George | Change: Added reusable login, workspace, form, and secondary-action components. */
.login-panel {
  grid-area: login;
  position: relative;
  align-self: stretch;
  display: grid;
  align-content: center;
  gap: clamp(22px, 3vh, 36px);
  padding-left: clamp(28px, 4vw, 64px);
}

.login-panel::before {
  content: "";
  position: absolute;
  left: 0;
  top: -18px;
  bottom: -38px;
  width: 1px;
  background: var(--color-border);
}

.login-panel h2 {
  margin: 0;
  color: var(--color-heading);
  font-size: clamp(2.05rem, 2.5vw, 2.85rem);
  line-height: 1.1;
  letter-spacing: 0;
}

.workspace-list {
  display: grid;
  gap: 22px;
}

.workspace-list h3 {
  margin: 0;
  color: #1d315e;
  font-size: 1.08rem;
  font-weight: 520;
}

.workspace-row {
  width: 100%;
  min-width: 0;
  min-height: 78px;
  display: grid;
  grid-template-columns: 64px 1fr 22px;
  align-items: center;
  gap: 20px;
  border: 1px solid transparent;
  border-radius: var(--radius-sm);
  padding: 8px 8px 8px 0;
  color: var(--color-heading);
  background: transparent;
  text-align: left;
  font-size: 1.13rem;
  font-weight: 560;
}

.workspace-row:hover {
  border-color: var(--color-border);
  background: rgba(255, 255, 255, 0.46);
}

.workspace-avatar {
  width: 64px;
  height: 64px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  color: #ffffff;
  font-size: 2.1rem;
  font-weight: 860;
  box-shadow: 0 12px 24px rgba(13, 22, 38, 0.12);
}

.workspace-avatar--dark {
  background: #101827;
}

.workspace-avatar--blue {
  color: var(--color-primary);
  background: #ffffff;
}

.chevron {
  width: 14px;
  height: 14px;
  border-top: 3px solid #0f1726;
  border-right: 3px solid #0f1726;
  transform: rotate(45deg);
}

.login-panel__message {
  min-height: 22px;
  margin: -16px 0 -12px;
  color: var(--color-primary-dark);
  font-weight: 720;
}

.account-actions,
.alternate-account {
  min-width: 0;
  display: grid;
  gap: 14px;
}

.alternate-account {
  border: 1px solid var(--color-border);
  border-radius: var(--radius-sm);
  padding: 14px;
  background: rgba(255, 255, 255, 0.54);
}

.alternate-account[hidden] {
  display: none;
}

.alternate-account label {
  color: var(--color-muted);
  font-size: 0.9rem;
  font-weight: 780;
}

.alternate-account__row {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 10px;
}

.alternate-account input {
  width: 100%;
  min-height: 52px;
  border: 1px solid var(--color-border-strong);
  border-radius: var(--radius-control);
  padding: 0 14px;
  color: var(--color-text);
  background: #ffffff;
}

.alternate-account input::placeholder {
  color: #748096;
}

.secondary-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.site-footer {
  border-top: 1px solid var(--color-border);
  background: rgba(247, 248, 252, 0.8);
}

.language-nav {
  width: min(100%, var(--content-max));
  min-height: 58px;
  margin-inline: auto;
  padding: 0 var(--page-gutter);
  display: flex;
  align-items: center;
  gap: clamp(22px, 2.3vw, 40px);
  color: #1d315e;
  font-size: 0.95rem;
}

.language-nav a {
  display: inline-flex;
  align-items: center;
}

@media (max-width: 1280px) {
  .home-main {
    grid-template-columns: minmax(300px, 0.72fr) minmax(440px, 1fr);
    grid-template-areas:
      "copy login"
      "product product"
      "caps caps";
  }

  .product-showcase {
    min-height: 540px;
  }

  .login-panel {
    padding-left: 36px;
  }

  .login-panel::before {
    top: 0;
    bottom: 0;
  }

  .dashboard-device {
    left: 21%;
  }

  .phone-device {
    left: 8%;
  }

  .portal-card {
    left: 27%;
    right: 12%;
  }

  .profile-orbit {
    left: 24%;
  }

  .capability-strip {
    max-width: 520px;
    justify-self: center;
  }
}

@media (max-width: 900px) {
  .site-header {
    align-items: center;
    padding-top: 22px;
  }

  .site-nav {
    display: none;
  }

  .home-main {
    padding-top: 10px;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 34px;
  }

  .hero-copy {
    max-width: 680px;
  }

  .hero-copy h1 {
    max-width: 620px;
    font-size: clamp(3rem, 8.2vw, 4.7rem);
  }

  .hero-copy p {
    max-width: 600px;
    margin-top: 24px;
  }

  .login-panel {
    order: 2;
    align-content: start;
    gap: 24px;
    padding: 0;
  }

  .login-panel::before {
    display: none;
  }

  .product-showcase {
    order: 3;
    min-height: 548px;
  }

  .capability-strip {
    order: 4;
    width: 100%;
    max-width: 520px;
    justify-self: start;
    padding-top: 4px;
  }

  .language-nav {
    overflow-x: auto;
    overscroll-behavior-x: contain;
    white-space: nowrap;
    scrollbar-width: thin;
  }
}

/* Story: #1 | Date: 2026-08-06 | Agent: George | Change: Added mobile-first login template and small-screen product preview rules. */
@media (max-width: 767px) {
  :root {
    --header-block: 76px;
    --page-gutter: 20px;
  }

  body {
    background:
      radial-gradient(circle at 84% 22%, rgba(223, 232, 250, 0.92), transparent 34%),
      var(--color-bg);
  }

  .site-header {
    width: 100svw;
    max-width: 100svw;
    margin-inline: 0;
    min-height: var(--header-block);
    grid-template-columns: 1fr auto;
    gap: 12px;
    padding-bottom: 8px;
  }

  .brand {
    min-height: 44px;
    gap: 9px;
  }

  .brand-mark {
    width: 54px;
    height: 38px;
    font-size: 32px;
  }

  .brand-mark__loop {
    width: 26px;
    height: 26px;
    border-width: 8px;
    box-shadow: -11px 0 0 -4px #73a6ff;
  }

  .brand-wordmark > span {
    font-size: 1.25rem;
  }

  .brand-wordmark small {
    font-size: 0.34rem;
    letter-spacing: 0.12em;
  }

  .site-header__login {
    min-width: 76px;
    min-height: 44px;
    padding-inline: 14px;
  }

  .home-main {
    width: 100svw;
    max-width: 100svw;
    margin-inline: 0;
    padding-bottom: 34px;
    gap: 28px;
  }

  .hero-copy h1 {
    font-size: clamp(2.4rem, 10.8vw, 2.85rem);
    line-height: 0.99;
  }

  .mobile-break {
    display: block;
  }

  .hero-copy,
  .hero-copy p,
  .login-panel,
  .workspace-list,
  .account-actions,
  .secondary-actions {
    max-width: 100%;
    min-width: 0;
  }

  .hero-copy p {
    margin-top: 22px;
    font-size: 1rem;
    line-height: 1.62;
  }

  .login-panel {
    gap: 20px;
    width: 100%;
  }

  .login-panel h2 {
    font-size: clamp(1.8rem, 8vw, 2.3rem);
  }

  .workspace-list {
    gap: 14px;
  }

  .workspace-list h3 {
    font-size: 1.08rem;
  }

  .workspace-row {
    width: 100%;
    min-height: 66px;
    grid-template-columns: 48px 1fr 18px;
    gap: 14px;
    padding: 8px;
    border-color: rgba(207, 214, 229, 0.72);
    background: rgba(255, 255, 255, 0.48);
  }

  .workspace-avatar {
    width: 48px;
    height: 48px;
    font-size: 1.5rem;
  }

  .account-actions {
    gap: 12px;
  }

  .account-actions .button,
  .secondary-actions .button {
    width: 100%;
    min-height: 52px;
    white-space: normal;
    text-align: center;
  }

  .alternate-account__row {
    grid-template-columns: 1fr;
  }

  .secondary-actions {
    display: grid;
    gap: 10px;
  }

  .product-showcase {
    min-height: clamp(410px, 106vw, 500px);
    margin-inline: -4px;
  }

  .status-pill {
    top: 0;
    left: 24px;
    right: 24px;
    min-width: 0;
    transform: none;
  }

  .dashboard-device {
    top: 72px;
    left: 24px;
    right: 24px;
    width: auto;
    height: 292px;
    grid-template-columns: 50px 1fr;
    border-radius: 18px;
    transform: none;
  }

  .dashboard-sidebar {
    gap: 18px;
    padding-top: 20px;
  }

  .dashboard-sidebar span:not(.sidebar-logo) {
    width: 14px;
    height: 14px;
  }

  .dashboard-content {
    padding: 18px 14px;
  }

  .dashboard-title {
    margin-bottom: 14px;
    font-size: 0.82rem;
  }

  .metric-grid {
    gap: 7px;
  }

  .metric-card {
    min-height: 74px;
    padding: 10px;
  }

  .metric-card small {
    font-size: 0.56rem;
  }

  .metric-card strong {
    margin-top: 8px;
    font-size: 1.06rem;
  }

  .metric-card span {
    font-size: 0.62rem;
  }

  .chart-panel {
    min-height: 122px;
    margin-top: 9px;
    padding: 10px;
  }

  .chart-panel__top {
    font-size: 0.66rem;
  }

  .chart-panel__top small {
    display: none;
  }

  .chart {
    height: 82px;
    margin-top: 10px;
  }

  .phone-device {
    left: calc(50% - 174px);
    bottom: 8px;
    width: 112px;
    height: 238px;
    border-width: 6px;
    border-radius: 25px;
    padding: 18px 8px 12px;
  }

  .phone-top {
    font-size: 0.55rem;
  }

  .phone-metrics {
    margin-top: 14px;
  }

  .phone-metrics span {
    min-height: 34px;
    font-size: 0.72rem;
  }

  .phone-metrics small {
    font-size: 0.35rem;
  }

  .phone-list {
    gap: 8px;
    margin-top: 18px;
  }

  .phone-list span {
    height: 22px;
  }

  .portal-card {
    display: none;
  }

  .watch-device {
    right: calc(50% - 175px);
    bottom: 30px;
    width: 76px;
    height: 118px;
    border-width: 7px;
    border-radius: 21px;
  }

  .profile-orbit {
    display: none;
  }

  .capability-strip {
    width: 100%;
    max-width: none;
    align-self: stretch;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 8px;
    overflow-x: visible;
    padding-bottom: 4px;
    scrollbar-width: thin;
  }

  .capability {
    min-width: 0;
    font-size: 0.82rem;
  }

  .capability__icon {
    width: 54px;
    height: 54px;
  }

  .language-nav {
    width: 100svw;
    max-width: 100svw;
    margin-inline: 0;
    min-height: 56px;
    gap: 22px;
    font-size: 0.9rem;
  }
}

@media (max-width: 360px) {
  .brand-wordmark small {
    display: none;
  }

  .hero-copy h1 {
    font-size: 2.28rem;
  }

  .product-showcase {
    min-height: 398px;
  }

  .dashboard-device {
    left: 18px;
    right: 18px;
    width: auto;
  }

  .phone-device {
    left: 8px;
  }

  .watch-device {
    right: 10px;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }
}
