/* Lasair main.css - light professional theme */

*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

:root {
  --bg: #fbfaf7;
  --bg-card: #ffffff;
  --bg-input: #ffffff;
  --bg-subtle: #f4f1ea;
  --bg-wash: #fffcf7;
  --border: #ded7ca;
  --border-dim: #ece6dc;
  --text: #18140f;
  --text-muted: #6e665d;
  --text-light: #9a9186;
  --accent: #f59e3a;
  --accent-dim: #de8625;
  --accent-soft: #fff1dc;
  --success: #16825d;
  --success-soft: #e8f5ef;
  --danger: #dc2626;
  --ink: #252018;
  --teal: #2f7f74;
  --blue: #334e68;
  --radius: 8px;
  --radius-sm: 6px;
  --radius-lg: 8px;
  --max-w: 1120px;
  --font: 'Instrument Sans', 'Geist', system-ui, -apple-system, 'Segoe UI', sans-serif;
}

html {
  font-size: 16px;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font);
  line-height: 1.6;
  letter-spacing: 0;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
  max-width: 100vw;
}

body {
  width: 100%;
  max-width: 100vw;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  overflow-x: hidden;
  padding-top: 58px;
  background: var(--bg);
}

a {
  color: var(--accent-dim);
  text-decoration: none;
}

a:hover {
  color: var(--text);
}

img {
  max-width: 100%;
}

strong {
  color: var(--text);
}

.container {
  width: 100%;
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 1.5rem;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

/* Navigation */
.nav {
  border-bottom: 1px solid var(--border-dim);
  padding: 0 1.5rem;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  background: rgba(255, 252, 247, 0.94);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  z-index: 100;
}

.nav__inner {
  width: 100%;
  max-width: var(--max-w);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 58px;
}

.nav__logo {
  display: inline-flex;
  align-items: center;
}

.nav__logo img,
.footer__logo img {
  display: block;
  border-radius: 6px;
}

.nav__links {
  display: flex;
  gap: 0.75rem;
  align-items: center;
  min-width: 0;
}

.nav__links a {
  color: var(--text-muted);
  font-size: 0.875rem;
  font-weight: 600;
  padding: 0.25rem 0.4rem;
}

.nav__links a:hover {
  color: var(--text);
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  min-height: 2.25rem;
  padding: 0.56rem 1.2rem;
  font-size: 0.875rem;
  font-weight: 700;
  border-radius: var(--radius-sm);
  border: 1px solid transparent;
  cursor: pointer;
  transition: background 0.15s, border-color 0.15s, color 0.15s, box-shadow 0.15s, transform 0.15s;
  text-decoration: none;
  white-space: nowrap;
  font-family: var(--font);
  line-height: 1.2;
}

.btn:hover:not(:disabled) {
  transform: translateY(-1px);
}

.btn:disabled {
  opacity: 0.45;
  cursor: not-allowed;
}

.btn-primary,
.btn-primary:visited,
.nav__links a.btn-primary,
.nav__links a.btn-primary:visited {
  background: var(--accent);
  color: var(--ink);
  border-color: var(--accent);
  box-shadow: none;
}

.btn-primary:hover:not(:disabled),
.nav__links a.btn-primary:hover {
  background: var(--accent-dim);
  border-color: var(--accent-dim);
  color: var(--ink);
}

.platform-cta .btn-primary,
.platform-cta .btn-primary:visited {
  border-color: #2f6fed;
  background: linear-gradient(180deg, #4d9cff 0%, #2f6fed 100%);
  color: #ffffff;
  box-shadow: 0 12px 28px rgba(47, 111, 237, 0.24);
}

.platform-cta .btn-primary:hover:not(:disabled) {
  border-color: #2b61d8;
  background: linear-gradient(180deg, #438fff 0%, #2b61d8 100%);
  color: #ffffff;
}

.windows-mark {
  width: 0.98em;
  height: 0.98em;
  display: inline-block;
  flex: 0 0 auto;
  background:
    linear-gradient(#ffffff, #ffffff) 0 0 / 45% 45% no-repeat,
    linear-gradient(#ffffff, #ffffff) 100% 0 / 45% 45% no-repeat,
    linear-gradient(#ffffff, #ffffff) 0 100% / 45% 45% no-repeat,
    linear-gradient(#ffffff, #ffffff) 100% 100% / 45% 45% no-repeat;
}

.btn-outline {
  background: var(--bg-card);
  color: var(--text);
  border-color: var(--border);
  box-shadow: 0 1px 2px rgba(24, 20, 15, 0.03);
}

.btn-outline:hover:not(:disabled) {
  background: var(--bg-subtle);
  border-color: #cfc6b8;
}

.btn-danger {
  background: var(--danger);
  color: #ffffff;
  border-color: var(--danger);
}

.btn-sm {
  min-height: 2rem;
  padding: 0.34rem 0.8rem;
  font-size: 0.8rem;
}

.btn-lg {
  min-height: 2.75rem;
  padding: 0.78rem 1.55rem;
  font-size: 0.95rem;
}

/* Cards and shared blocks */
.card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.5rem;
  box-shadow: 0 10px 30px rgba(24, 20, 15, 0.05), 0 1px 2px rgba(24, 20, 15, 0.04);
}

.card-title {
  font-size: 0.95rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
}

.card-muted {
  color: var(--text-muted);
  font-size: 0.875rem;
}

.placeholder {
  background: var(--bg-subtle);
  border: 1px dashed #cfc6b8;
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 0.5rem;
  color: var(--text-light);
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  user-select: none;
}

.placeholder__icon {
  width: 32px;
  height: 32px;
  border: 1px solid #cfc6b8;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
}

/* Forms */
.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  margin-bottom: 1rem;
}

label {
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--text-muted);
}

input[type="email"],
input[type="password"],
input[type="text"] {
  background: var(--bg-input);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 0.65rem 0.9rem;
  font-size: 0.9rem;
  color: var(--text);
  font-family: var(--font);
  transition: border-color 0.15s, box-shadow 0.15s;
  width: 100%;
}

input::placeholder {
  color: var(--text-light);
}

input:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(245, 158, 58, 0.15);
}

.form-error {
  color: var(--danger);
  font-size: 0.825rem;
  margin-top: 0.25rem;
}

.form-hint {
  color: var(--text-muted);
  font-size: 0.8rem;
}

/* Hero */
.hero {
  padding: 5.2rem 1.5rem 0;
  text-align: center;
  border-bottom: 1px solid var(--border-dim);
  background: var(--bg);
}

.hero__inner {
  width: 100%;
  max-width: var(--max-w);
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.hero__eyebrow {
  color: var(--accent-dim);
  font-size: 0.86rem;
  font-weight: 800;
  text-transform: uppercase;
  margin-bottom: 0.85rem;
}

.hero__headline {
  width: 100%;
  max-width: 1020px;
  font-size: 4.35rem;
  font-weight: 800;
  line-height: 1;
  color: var(--text);
  margin-bottom: 1.15rem;
  overflow-wrap: anywhere;
}

.hero__sub {
  width: 100%;
  font-size: 1.08rem;
  color: #554d44;
  line-height: 1.7;
  margin-bottom: 1.45rem;
  max-width: 660px;
}

.hero__answer {
  width: 100%;
  font-size: 0.85rem;
  color: #a39a8c;
  line-height: 1.7;
  margin: 1.35rem 0 0;
  max-width: 620px;
}

.hero__cta {
  width: 100%;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
  align-items: center;
  justify-content: center;
  margin-bottom: 0;
}

.platform-note {
  font-size: 0.875rem;
  color: var(--text-muted);
  line-height: 1.45;
}

.platform-note a {
  color: var(--accent-dim);
  font-weight: 700;
}

.hero__demo {
  width: 100%;
}

.hero__visual {
  width: 100%;
  aspect-ratio: 16 / 9;
  border-radius: var(--radius);
  overflow: hidden;
}

.product-demo {
  position: relative;
  width: min(100%, 1080px);
  max-width: 100%;
  aspect-ratio: 16 / 9;
  margin-top: 3.35rem;
  padding: 0.72rem;
  overflow: hidden;
  border: 1px solid rgba(20, 76, 126, 0.28);
  border-radius: var(--radius);
  background:
    linear-gradient(180deg, rgba(255, 250, 243, 0.96) 0%, rgba(241, 247, 252, 0.98) 48%, #e7f1f8 100%);
  box-shadow:
    0 18px 42px rgba(24, 20, 15, 0.1),
    0 0 0 1px rgba(20, 76, 126, 0.08);
}

.demo-screen {
  position: relative;
  width: 100%;
  height: 100%;
  border: 1px solid rgba(20, 76, 126, 0.36);
  border-radius: var(--radius-sm);
  overflow: hidden;
  background: #f6f9fc;
  color: #101827;
  font-family: 'Inter', 'Segoe UI', Arial, sans-serif;
  text-align: left;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.75),
    0 0 0 1px rgba(255, 255, 255, 0.55);
}

.demo-topbar {
  height: 8%;
  min-height: 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 1.15rem;
  border-bottom: 1px solid rgba(7, 43, 79, 0.28);
  background: linear-gradient(90deg, #10375f 0%, #185a92 100%);
  color: #ffffff;
  font-size: clamp(0.42rem, 0.8vw, 0.72rem);
  font-weight: 700;
}

.demo-topbar__meta {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  color: rgba(255, 255, 255, 0.82);
  font-weight: 600;
}

.demo-topbar__meta span:last-child {
  padding: 0.2rem 0.45rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.14);
  color: #ffffff;
}

.demo-workspace {
  height: 82%;
  display: grid;
  grid-template-columns: minmax(5.4rem, 13%) 1fr;
}

.demo-sidebar {
  display: flex;
  flex-direction: column;
  gap: clamp(0.32rem, 0.9vw, 0.5rem);
  padding: clamp(0.55rem, 1.25vw, 1rem) clamp(0.45rem, 1vw, 0.75rem);
  border-right: 1px solid #d9e0ea;
  background: #e7eef6;
}

.demo-sidebar__label {
  color: #536170;
  font-size: clamp(0.42rem, 0.72vw, 0.62rem);
  font-weight: 800;
  text-transform: uppercase;
}

.demo-question-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 0.24rem;
}

.demo-question-grid span {
  display: grid;
  aspect-ratio: 1;
  place-items: center;
  border: 1px solid #cbd6e3;
  border-radius: 0.22rem;
  background: #ffffff;
  color: #344256;
  font-size: clamp(0.42rem, 0.72vw, 0.62rem);
  font-weight: 700;
}

.demo-question-grid .active {
  border-color: #195da0;
  background: #195da0;
  color: #ffffff;
}

.demo-tool {
  display: block;
  padding: clamp(0.26rem, 0.75vw, 0.42rem) clamp(0.3rem, 0.8vw, 0.48rem);
  border-radius: 0.18rem;
  background: rgba(255, 255, 255, 0.9);
  color: #4d5968;
  font-size: clamp(0.42rem, 0.72vw, 0.62rem);
  font-weight: 700;
}

.demo-assessment {
  padding: clamp(0.6rem, 1.65vw, 1.25rem) clamp(0.75rem, 1.9vw, 1.45rem);
  background: #f8fafc;
}

.demo-assessment__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: clamp(0.42rem, 1.2vw, 1rem);
  color: #2e3a4d;
  font-size: clamp(0.46rem, 0.78vw, 0.68rem);
  font-weight: 800;
}

.demo-assessment__head span:last-child {
  padding: 0.25rem 0.55rem;
  border-radius: 999px;
  background: #eef4fb;
  color: #2364a2;
}

.demo-assessment__body {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(7.4rem, 0.72fr);
  gap: clamp(0.52rem, 1.5vw, 1.2rem);
}

.demo-question-card,
.demo-choice-list div {
  border: 1px solid #dfe5ee;
  border-radius: 0.22rem;
  background: #ffffff;
}

.demo-question-card {
  min-height: clamp(6.4rem, 16vw, 10.8rem);
  padding: clamp(0.62rem, 1.45vw, 1.25rem);
  color: #202a37;
  font-size: clamp(0.52rem, 0.95vw, 0.86rem);
  line-height: 1.5;
}

.demo-question-card strong {
  display: block;
  width: fit-content;
  margin: clamp(0.42rem, 1.2vw, 1rem) 0;
  padding: clamp(0.34rem, 0.85vw, 0.55rem) clamp(0.45rem, 1vw, 0.75rem);
  color: #111827;
  background: #f8fafc;
  font-size: clamp(0.7rem, 1.2vw, 1rem);
  font-weight: 800;
}

.demo-choice-list {
  display: grid;
  gap: clamp(0.34rem, 0.95vw, 0.72rem);
}

.demo-choice-list div {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  min-height: clamp(1.7rem, 4vw, 2.65rem);
  padding: 0 clamp(0.46rem, 1vw, 0.85rem);
  color: #172033;
  font-size: clamp(0.52rem, 0.88vw, 0.78rem);
  font-weight: 700;
  transition: border-color 0.2s, background 0.2s;
}

.demo-choice-list span {
  display: grid;
  width: 1.35rem;
  height: 1.35rem;
  place-items: center;
  border: 1px solid #c6d0dd;
  border-radius: 999px;
  color: #526170;
  font-size: 0.72em;
  font-weight: 800;
}

.demo-choice-list .is-correct {
  animation: choicePulse 6.8s ease-in-out infinite;
}

.demo-bottom {
  height: 10%;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  padding: 0 1.15rem;
  border-top: 1px solid #d9e0ea;
  background: #f8fafc;
  color: #5c6877;
  font-size: clamp(0.42rem, 0.7vw, 0.6rem);
  font-weight: 700;
}

.demo-bottom span:first-child,
.demo-bottom span:last-child {
  width: fit-content;
  padding: 0.35rem 0.65rem;
  border: 1px solid #ccd7e4;
  border-radius: 0.18rem;
  background: #ffffff;
}

.demo-bottom span:last-child {
  justify-self: end;
  border-color: #14589a;
  background: #14589a;
  color: #ffffff;
}

.lasair-demo-overlay {
  position: absolute;
  left: 27%;
  bottom: 16.5%;
  width: clamp(13.6rem, 42%, 30rem);
  padding: clamp(0.62rem, 1.35vw, 1.05rem) clamp(0.72rem, 1.45vw, 1.15rem);
  border: 1px solid rgba(232, 240, 245, 0.16);
  border-radius: 0.65rem;
  background: rgba(18, 18, 18, 0.92);
  box-shadow: 0 18px 42px rgba(17, 14, 10, 0.28);
  color: #eef3f0;
  text-align: left;
  backdrop-filter: blur(13px);
  -webkit-backdrop-filter: blur(13px);
  animation: overlayCycle 6.8s ease-in-out infinite;
}

.lasair-demo-header {
  display: flex;
  align-items: center;
  gap: 0.65rem;
}

.lasair-demo-header img {
  width: clamp(1.5rem, 2.4vw, 2.05rem);
  height: clamp(1.5rem, 2.4vw, 2.05rem);
  border-radius: 0.35rem;
}

.lasair-demo-header div {
  display: flex;
  flex-direction: column;
  line-height: 1.18;
}

.lasair-demo-header strong {
  color: #ffffff;
  font-size: clamp(0.76rem, 1.2vw, 1.02rem);
  font-weight: 800;
}

.lasair-demo-header span {
  color: rgba(238, 243, 240, 0.62);
  font-size: clamp(0.6rem, 0.9vw, 0.78rem);
  font-weight: 600;
}

.lasair-demo-rule {
  height: 1px;
  margin: clamp(0.48rem, 1vw, 0.85rem) 0 clamp(0.5rem, 1.1vw, 0.9rem);
  background: linear-gradient(90deg, var(--accent) 0 4.4rem, rgba(232, 240, 245, 0.14) 4.4rem 100%);
}

.lasair-demo-loading {
  display: flex;
  align-items: center;
  gap: 0.32rem;
  min-height: clamp(2.75rem, 6vw, 4.6rem);
  color: rgba(238, 243, 240, 0.88);
  font-size: clamp(0.72rem, 1.05vw, 0.96rem);
  font-weight: 700;
  animation: loadingCycle 6.8s ease-in-out infinite;
}

.lasair-demo-loading span {
  margin-right: 0.18rem;
}

.lasair-demo-loading i {
  width: 0.34rem;
  height: 0.34rem;
  border-radius: 999px;
  background: var(--accent);
  animation: loadingDot 1s ease-in-out infinite;
}

.lasair-demo-loading i:nth-child(3) {
  animation-delay: 0.14s;
}

.lasair-demo-loading i:nth-child(4) {
  animation-delay: 0.28s;
}

.lasair-demo-answer {
  position: absolute;
  left: clamp(0.72rem, 1.45vw, 1.15rem);
  right: clamp(0.72rem, 1.45vw, 1.15rem);
  top: clamp(4rem, 7.6vw, 5.3rem);
  color: #f4f5f2;
  font-size: clamp(0.72rem, 1.05vw, 0.96rem);
  line-height: 1.5;
  font-weight: 600;
}

.lasair-demo-answer p {
  margin: 0 0 0.52rem;
  opacity: 0;
  transform: translateY(0.45rem);
  animation: answerLineOne 6.8s ease-in-out infinite;
}

.lasair-demo-answer p:nth-child(2) {
  animation-name: answerLineTwo;
}

.lasair-demo-answer p:nth-child(3) {
  animation-name: answerLineThree;
}

.lasair-demo-answer p:first-child {
  color: #ffffff;
  font-weight: 800;
}

@keyframes overlayCycle {
  0%, 9% {
    opacity: 0;
    transform: translateY(1rem) scale(0.985);
  }
  15%, 88% {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
  95%, 100% {
    opacity: 0;
    transform: translateY(0.35rem) scale(0.99);
  }
}

@keyframes loadingCycle {
  0%, 30% {
    opacity: 1;
  }
  38%, 100% {
    opacity: 0;
  }
}

@keyframes loadingDot {
  0%, 100% {
    opacity: 0.32;
    transform: translateY(0);
  }
  42% {
    opacity: 1;
    transform: translateY(-0.16rem);
  }
}

@keyframes answerLineOne {
  0%, 31% {
    opacity: 0;
    transform: translateY(0.45rem);
  }
  38%, 86% {
    opacity: 1;
    transform: translateY(0);
  }
  94%, 100% {
    opacity: 0;
    transform: translateY(0);
  }
}

@keyframes answerLineTwo {
  0%, 37% {
    opacity: 0;
    transform: translateY(0.45rem);
  }
  44%, 86% {
    opacity: 1;
    transform: translateY(0);
  }
  94%, 100% {
    opacity: 0;
    transform: translateY(0);
  }
}

@keyframes answerLineThree {
  0%, 43% {
    opacity: 0;
    transform: translateY(0.45rem);
  }
  50%, 86% {
    opacity: 1;
    transform: translateY(0);
  }
  94%, 100% {
    opacity: 0;
    transform: translateY(0);
  }
}

@keyframes choicePulse {
  0%, 42% {
    border-color: #dfe5ee;
    background: #ffffff;
  }
  50%, 88% {
    border-color: rgba(245, 158, 58, 0.7);
    background: #fff5e6;
  }
  96%, 100% {
    border-color: #dfe5ee;
    background: #ffffff;
  }
}

.media-placeholder {
  width: 100%;
  height: 100%;
  overflow: hidden;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  background: var(--bg-card);
}

.media-placeholder__chrome {
  height: 2.45rem;
  display: flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0 0.9rem;
  border-bottom: 1px solid var(--border);
  background: var(--bg-subtle);
}

.media-placeholder__chrome span {
  width: 0.65rem;
  height: 0.65rem;
  border-radius: 999px;
  background: #d8d0c3;
}

.media-placeholder__chrome span:first-child {
  background: var(--accent);
}

.media-placeholder__body {
  height: calc(100% - 2.45rem);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  padding: 1.5rem;
  background: var(--bg);
  color: var(--text-muted);
  text-align: center;
}

.media-placeholder__type {
  color: var(--accent-dim);
  font-size: 0.72rem;
  font-weight: 800;
  text-transform: uppercase;
}

.media-placeholder strong {
  color: var(--text);
  font-size: 1.05rem;
  line-height: 1.3;
}

.media-placeholder--feature {
  aspect-ratio: 16 / 9;
  height: auto;
}

.media-placeholder--feature .media-placeholder__body {
  height: 100%;
}

.feature-demo {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  border: 1px solid rgba(88, 78, 67, 0.16);
  border-radius: var(--radius-sm);
  background: #f8fafc;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.72);
}

.feature-demo__window {
  position: absolute;
  overflow: hidden;
  border: 1px solid rgba(24, 20, 15, 0.12);
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.9);
  box-shadow: 0 10px 24px rgba(24, 20, 15, 0.08);
}

.feature-demo__bar {
  height: 1.45rem;
  display: flex;
  align-items: center;
  gap: 0.28rem;
  padding: 0 0.55rem;
  border-bottom: 1px solid rgba(24, 20, 15, 0.08);
  background: #eef3f8;
}

.feature-demo__bar span {
  width: 0.36rem;
  height: 0.36rem;
  border-radius: 999px;
  background: #c9d3df;
}

.feature-demo__bar span:first-child {
  background: var(--accent);
}

.feature-demo__bar strong {
  margin-left: 0.22rem;
  color: #445164;
  font-size: clamp(0.48rem, 0.72vw, 0.66rem);
  line-height: 1;
}

.feature-demo--hotkey {
  background:
    radial-gradient(circle at 18% 18%, rgba(245, 158, 58, 0.17), transparent 26%),
    linear-gradient(135deg, #f7fbff 0%, #e9f1f7 100%);
}

.hotkey-window {
  inset: 0.72rem 0.72rem 2.82rem;
}

.hotkey-question {
  position: absolute;
  top: 2.18rem;
  left: 0.72rem;
  width: 52%;
  color: #202a37;
}

.hotkey-question span {
  display: inline-flex;
  margin-bottom: 0.42rem;
  padding: 0.16rem 0.38rem;
  border-radius: 999px;
  background: #e9f1fb;
  color: #2364a2;
  font-size: clamp(0.45rem, 0.68vw, 0.62rem);
  font-weight: 800;
}

.hotkey-question strong {
  display: block;
  font-size: clamp(0.78rem, 1.25vw, 1.04rem);
  line-height: 1.1;
}

.hotkey-question p {
  margin-top: 0.28rem;
  color: #667486;
  font-size: clamp(0.48rem, 0.72vw, 0.66rem);
  font-weight: 700;
}

.hotkey-choice-list {
  position: absolute;
  top: 2.35rem;
  right: 0.72rem;
  width: 35%;
  display: grid;
  gap: 0.35rem;
}

.hotkey-choice-list span {
  min-height: 1.25rem;
  display: flex;
  align-items: center;
  padding: 0 0.48rem;
  border: 1px solid #dfe6ef;
  border-radius: 5px;
  background: #ffffff;
  color: #334256;
  font-size: clamp(0.46rem, 0.68vw, 0.64rem);
  font-weight: 800;
}

.hotkey-choice-list .active {
  border-color: rgba(245, 158, 58, 0.7);
  background: #fff4e3;
}

.hotkey-command {
  position: absolute;
  left: 50%;
  bottom: 0.62rem;
  display: flex;
  align-items: center;
  gap: 0.28rem;
  padding: 0.38rem 0.5rem;
  border: 1px solid rgba(245, 158, 58, 0.38);
  border-radius: 7px;
  background: rgba(255, 252, 247, 0.96);
  box-shadow: 0 10px 22px rgba(24, 20, 15, 0.1);
  transform: translateX(-50%);
  animation: hotkeyPulse 5.6s ease-in-out infinite;
}

.hotkey-command kbd {
  min-width: 1.28rem;
  min-height: 1.1rem;
  padding: 0 0.28rem;
  border-radius: 4px;
  font-size: clamp(0.48rem, 0.7vw, 0.62rem);
}

.hotkey-command span {
  color: var(--ink);
  font-size: clamp(0.48rem, 0.7vw, 0.64rem);
  font-weight: 800;
  white-space: nowrap;
}

.hotkey-answer {
  position: absolute;
  left: 1.1rem;
  right: 1.1rem;
  bottom: 2.54rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.65rem;
  padding: 0.58rem 0.7rem;
  border: 1px solid rgba(245, 158, 58, 0.28);
  border-radius: 7px;
  background: rgba(18, 18, 18, 0.9);
  color: #ffffff;
  box-shadow: 0 16px 30px rgba(24, 20, 15, 0.18);
  opacity: 0;
  transform: translateY(0.5rem);
  animation: hotkeyAnswer 5.6s ease-in-out infinite;
}

.hotkey-answer strong {
  color: #ffffff;
  font-size: clamp(0.64rem, 0.9vw, 0.82rem);
  white-space: nowrap;
}

.hotkey-answer span {
  color: rgba(255, 255, 255, 0.74);
  font-size: clamp(0.46rem, 0.68vw, 0.62rem);
  line-height: 1.25;
}

.feature-demo--privacy {
  background:
    radial-gradient(circle at 80% 18%, rgba(47, 127, 116, 0.16), transparent 28%),
    linear-gradient(135deg, #f7fbff 0%, #edf2f6 100%);
}

.privacy-scene {
  position: absolute;
  inset: 0.72rem;
  overflow: hidden;
  border: 1px solid rgba(20, 76, 126, 0.18);
  border-radius: 7px;
  background: #edf3f8;
}

.privacy-layer {
  position: absolute;
  inset: 0;
  padding: 0.75rem;
}

.privacy-layer--share {
  background: linear-gradient(135deg, #e8eef5 0%, #f7f9fb 100%);
}

.privacy-layer--local {
  background: linear-gradient(135deg, #f7fbff 0%, #edf8f5 100%);
  clip-path: inset(0 46% 0 0);
  animation: privacyClip 6.4s ease-in-out infinite;
}

.privacy-label {
  position: relative;
  z-index: 2;
  display: inline-flex;
  padding: 0.22rem 0.45rem;
  border-radius: 5px;
  background: rgba(24, 20, 15, 0.7);
  color: #ffffff;
  font-size: clamp(0.46rem, 0.7vw, 0.64rem);
  font-weight: 800;
}

.privacy-meeting {
  width: 58%;
  height: 52%;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.42rem;
  margin-top: 0.72rem;
}

.privacy-meeting div {
  border: 1px solid rgba(20, 76, 126, 0.1);
  border-radius: 6px;
  background:
    radial-gradient(circle at 50% 35%, rgba(255, 255, 255, 0.95) 0 18%, transparent 19%),
    radial-gradient(circle at 50% 85%, rgba(255, 255, 255, 0.9) 0 24%, transparent 25%),
    linear-gradient(135deg, #7190ad 0%, #aec0d1 100%);
}

.privacy-toolbar {
  position: absolute;
  left: 0.75rem;
  bottom: 0.75rem;
  display: flex;
  gap: 0.32rem;
}

.privacy-toolbar span {
  width: 1.15rem;
  height: 1.15rem;
  border-radius: 999px;
  background: rgba(24, 20, 15, 0.16);
}

.privacy-toolbar span:last-child {
  background: rgba(220, 38, 38, 0.72);
}

.privacy-overlay {
  position: absolute;
  left: 0.75rem;
  bottom: 0.75rem;
  width: 48%;
  padding: 0.52rem 0.58rem;
  border: 1px solid rgba(245, 158, 58, 0.35);
  border-radius: 7px;
  background: rgba(18, 18, 18, 0.9);
  box-shadow: 0 14px 28px rgba(24, 20, 15, 0.2);
}

.privacy-overlay strong {
  color: #ffffff;
  font-size: clamp(0.52rem, 0.78vw, 0.68rem);
}

.privacy-overlay p {
  margin-top: 0.18rem;
  color: rgba(255, 255, 255, 0.74);
  font-size: clamp(0.44rem, 0.64vw, 0.58rem);
  line-height: 1.35;
}

.privacy-divider {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 54%;
  width: 1px;
  background: rgba(24, 20, 15, 0.58);
  box-shadow: 0 0 14px rgba(24, 20, 15, 0.16);
  animation: privacyDivider 6.4s ease-in-out infinite;
}

.privacy-divider span {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 1.6rem;
  height: 1.6rem;
  display: grid;
  place-items: center;
  border-radius: 999px;
  background: #252018;
  transform: translate(-50%, -50%);
  box-shadow: 0 8px 18px rgba(24, 20, 15, 0.18);
}

.privacy-divider span::before,
.privacy-divider span::after {
  content: "";
  width: 0.18rem;
  height: 0.62rem;
  border-radius: 999px;
  background: #ffffff;
}

.privacy-divider span {
  grid-template-columns: repeat(2, auto);
  gap: 0.18rem;
}

.feature-demo--context {
  background:
    radial-gradient(circle at 88% 18%, rgba(245, 158, 58, 0.16), transparent 26%),
    linear-gradient(135deg, #111827 0%, #253244 100%);
}

.context-editor {
  position: absolute;
  inset: 0.72rem;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 7px;
  background: #101827;
  box-shadow: 0 14px 28px rgba(0, 0, 0, 0.22);
}

.context-tabs {
  height: 1.7rem;
  display: flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0 0.5rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  background: #172234;
}

.context-tabs span {
  padding: 0.18rem 0.38rem;
  border-radius: 4px;
  color: rgba(226, 232, 240, 0.55);
  font-size: clamp(0.46rem, 0.7vw, 0.62rem);
  font-weight: 800;
}

.context-tabs .active {
  background: rgba(255, 255, 255, 0.08);
  color: #ffffff;
}

.context-code {
  display: grid;
  gap: 0.48rem;
  padding: 0.72rem 0.68rem;
  font-family: 'Courier New', Courier, monospace;
  font-size: clamp(0.48rem, 0.72vw, 0.66rem);
}

.context-code span {
  display: block;
  overflow: hidden;
  color: #dce6f4;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.context-code i {
  display: inline-block;
  width: 1.35rem;
  color: #718096;
  font-style: normal;
}

.context-code .warn {
  margin-left: -0.35rem;
  padding: 0.22rem 0.35rem;
  border-left: 2px solid var(--accent);
  border-radius: 0 4px 4px 0;
  background: rgba(245, 158, 58, 0.12);
  color: #ffe5c2;
}

.context-answer {
  position: absolute;
  right: 0.95rem;
  bottom: 0.86rem;
  width: 58%;
  padding: 0.58rem 0.66rem;
  border: 1px solid rgba(245, 158, 58, 0.28);
  border-radius: 7px;
  background: rgba(255, 252, 247, 0.96);
  box-shadow: 0 16px 32px rgba(0, 0, 0, 0.2);
}

.context-answer strong {
  color: var(--ink);
  font-size: clamp(0.52rem, 0.78vw, 0.7rem);
}

.context-answer p {
  margin-top: 0.18rem;
  color: #5d554d;
  font-size: clamp(0.46rem, 0.68vw, 0.62rem);
  line-height: 1.35;
  font-weight: 700;
}

@keyframes hotkeyPulse {
  0%, 100% {
    transform: translateX(-50%) scale(1);
  }
  42%, 58% {
    transform: translateX(-50%) scale(1.035);
    box-shadow: 0 12px 26px rgba(245, 158, 58, 0.2);
  }
}

@keyframes hotkeyAnswer {
  0%, 43% {
    opacity: 0;
    transform: translateY(0.5rem);
  }
  52%, 86% {
    opacity: 1;
    transform: translateY(0);
  }
  96%, 100% {
    opacity: 0;
    transform: translateY(0);
  }
}

@keyframes privacyClip {
  0%, 100% {
    clip-path: inset(0 46% 0 0);
  }
  48%, 62% {
    clip-path: inset(0 36% 0 0);
  }
}

@keyframes privacyDivider {
  0%, 100% {
    left: 54%;
  }
  48%, 62% {
    left: 64%;
  }
}

/* Feature highlights */
.features {
  padding: 4.2rem 1.5rem;
  background: #ffffff;
  border-bottom: 1px solid var(--border-dim);
}

.features__inner,
.use-cases__inner {
  max-width: var(--max-w);
  margin: 0 auto;
}

.section-header {
  margin-bottom: 2.3rem;
}

.section-title {
  font-size: 1.7rem;
  font-weight: 800;
  line-height: 1.25;
  color: var(--text);
}

.section-sub {
  margin-top: 0.7rem;
  color: var(--text-muted);
  font-size: 0.95rem;
  max-width: 560px;
}

.feature-list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}

.feature-item {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 1rem;
  min-height: 0;
  padding: 1rem;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--bg-card);
}

.feature-item__body {
  padding: 0.15rem 0.2rem 0.25rem;
}

.feature-item__title {
  font-weight: 800;
  font-size: 0.98rem;
  margin-bottom: 0.4rem;
}

.feature-card__desc {
  color: var(--text-muted);
  font-size: 0.85rem;
  line-height: 1.65;
}

/* Feature visual refresh */
.features {
  padding: 5.4rem 1.5rem;
}

.features__inner {
  max-width: 1240px;
}

.features .section-header {
  margin-bottom: 3.6rem;
  text-align: center;
}

.features .section-title {
  font-size: clamp(2.5rem, 5.4vw, 4.55rem);
  line-height: 1.03;
  font-weight: 800;
}

.features .section-sub {
  margin: 1.05rem auto 0;
  max-width: 620px;
  color: #8b909b;
  font-size: clamp(1rem, 1.7vw, 1.18rem);
  line-height: 1.45;
}

.feature-list {
  display: flex;
  flex-direction: column;
  gap: clamp(3rem, 6vw, 5rem);
}

.feature-item {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: clamp(2rem, 5vw, 4rem);
  align-items: center;
  padding: 0;
  border: 0;
  background: transparent;
}

.feature-item:nth-child(even) .feature-demo {
  order: 2;
}

.feature-item:nth-child(even) .feature-item__body {
  order: 1;
}

.feature-demo {
  aspect-ratio: 1.25 / 1;
  border: 0;
  border-radius: 8px;
  box-shadow: none;
}

.feature-item__body {
  padding: 0;
}

.feature-item__title {
  display: block;
  margin: 0 0 0.55rem;
  font-size: clamp(1.4rem, 2.4vw, 1.85rem);
  font-weight: 800;
  line-height: 1.2;
}

.feature-card__desc {
  display: block;
  max-width: 30rem;
  color: #666b77;
  font-size: clamp(1rem, 1.5vw, 1.12rem);
  line-height: 1.6;
}

.feature-demo--hotkey {
  background:
    radial-gradient(circle at 18% 20%, rgba(255, 255, 255, 0.78), transparent 28%),
    linear-gradient(135deg, #d8e2ef 0%, #c8d3e4 100%);
}

.hotkey-window {
  position: absolute;
  inset: 2rem 1.65rem 7rem;
  overflow: hidden;
  border: 0;
  border-radius: 8px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.92), rgba(248, 250, 253, 0.82));
  box-shadow: 0 18px 34px rgba(48, 62, 82, 0.1);
}

.hotkey-question {
  inset: 1.15rem 1.2rem auto;
  width: auto;
}

.hotkey-question span {
  margin-bottom: 0.8rem;
  background: #e8eef7;
  color: #526070;
}

.hotkey-question strong {
  max-width: 14rem;
  color: #272b36;
  font-size: clamp(1rem, 1.7vw, 1.42rem);
  line-height: 1.18;
}

.hotkey-question p,
.hotkey-choice-list {
  display: none;
}

.hotkey-command {
  bottom: 1.65rem;
  padding: 0.58rem 0.72rem;
  border: 0;
  background: rgba(255, 255, 255, 0.92);
  box-shadow: 0 16px 34px rgba(48, 62, 82, 0.16);
}

.hotkey-command kbd {
  min-width: 1.66rem;
  min-height: 1.46rem;
  border-color: #d8deea;
  border-bottom-color: #b8c2d2;
  background: #ffffff;
  box-shadow: inset 0 -1px 0 #dfe5ee;
}

.hotkey-answer {
  right: 1.65rem;
  left: 1.65rem;
  bottom: 4.65rem;
  padding: 0.78rem 0.9rem;
  border: 0;
  background: rgba(28, 29, 31, 0.9);
  box-shadow: 0 22px 44px rgba(48, 62, 82, 0.2);
}

.feature-demo--privacy {
  background: linear-gradient(135deg, #d7e0ed 0%, #c8d3e4 100%);
}

.privacy-scene {
  inset: 0;
  border: 0;
  border-radius: 8px;
  background: transparent;
}

.privacy-layer {
  padding: 2rem;
}

.privacy-layer--share {
  background: linear-gradient(135deg, #dbe4ef 0%, #cbd6e6 100%);
}

.privacy-layer--local {
  background: linear-gradient(135deg, #e8f0f8 0%, #cfdceb 100%);
  clip-path: inset(0 calc(100% - var(--compare-x, 56%)) 0 0);
  animation: none;
}

.privacy-label {
  padding: 0.34rem 0.58rem;
  border-radius: 6px;
  background: rgba(70, 77, 90, 0.86);
  font-size: clamp(0.64rem, 0.95vw, 0.84rem);
}

.privacy-code {
  position: absolute;
  left: 2rem;
  right: 2rem;
  bottom: 2rem;
  display: grid;
  gap: 0.58rem;
  padding: 1.2rem;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.8);
  box-shadow: 0 22px 38px rgba(48, 62, 82, 0.13);
}

.privacy-code span {
  height: 0.62rem;
  border-radius: 999px;
  background: #c4cfdd;
}

.privacy-code span:nth-child(1) {
  width: 74%;
}

.privacy-code span:nth-child(2) {
  width: 92%;
}

.privacy-code span:nth-child(3) {
  width: 58%;
}

.privacy-code span:nth-child(4) {
  width: 82%;
}

.privacy-ghost-panel {
  position: absolute;
  right: 2rem;
  top: 5.4rem;
  width: 38%;
  height: 28%;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.34);
}

.privacy-overlay {
  left: 2rem;
  bottom: 2rem;
  width: min(58%, 16rem);
  padding: 0.82rem 0.92rem;
  border: 0;
  background: rgba(28, 29, 31, 0.91);
  box-shadow: 0 22px 44px rgba(48, 62, 82, 0.2);
}

.privacy-overlay strong {
  font-size: clamp(0.7rem, 1vw, 0.86rem);
}

.privacy-overlay p {
  font-size: clamp(0.58rem, 0.86vw, 0.74rem);
}

.privacy-divider {
  left: var(--compare-x, 56%);
  width: 2px;
  background: rgba(29, 35, 45, 0.72);
  animation: none;
}

.privacy-divider span {
  width: 2rem;
  height: 2rem;
  background: #252936;
}

.privacy-range {
  position: absolute;
  inset: 0;
  z-index: 6;
  width: 100%;
  height: 100%;
  cursor: ew-resize;
  opacity: 0;
}

.privacy-scene:focus-within .privacy-divider span {
  outline: 3px solid rgba(47, 111, 237, 0.32);
  outline-offset: 2px;
}

.feature-demo--context {
  background:
    radial-gradient(circle at 78% 18%, rgba(255, 255, 255, 0.18), transparent 24%),
    linear-gradient(135deg, #202b3a 0%, #111824 100%);
}

.context-editor {
  inset: 2rem 1.65rem 6.25rem;
  border: 0;
  border-radius: 8px;
  background: #101722;
  box-shadow: 0 22px 44px rgba(5, 10, 18, 0.28);
}

.context-tabs {
  height: 2rem;
  background: #182333;
}

.context-code {
  gap: 0.72rem;
  padding: 1rem 0.9rem;
}

.context-code span {
  font-size: clamp(0.62rem, 0.95vw, 0.78rem);
}

.context-code .warn {
  border-left-color: rgba(232, 164, 91, 0.92);
  background: rgba(232, 164, 91, 0.12);
}

.context-answer {
  right: 1.65rem;
  bottom: 1.65rem;
  width: min(72%, 18rem);
  padding: 0.82rem 0.92rem;
  border: 0;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.94);
  box-shadow: 0 22px 44px rgba(5, 10, 18, 0.24);
}

.context-answer strong {
  font-size: clamp(0.7rem, 1vw, 0.86rem);
}

.context-answer p {
  font-size: clamp(0.62rem, 0.9vw, 0.78rem);
}

/* Use cases */
.use-cases {
  padding: 4.2rem 1.5rem;
  border-bottom: 1px solid var(--border-dim);
  background: var(--bg-subtle);
}

.use-cases__layout {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 3rem;
  align-items: start;
}

.use-cases__copy {
  position: sticky;
  top: 6rem;
  margin-bottom: 0;
}

.workflow-list {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--bg-card);
  overflow: hidden;
}

.workflow-item {
  display: grid;
  grid-template-columns: 6rem 1fr;
  gap: 1.35rem;
  padding: 1.35rem 1.5rem;
  border-bottom: 1px solid var(--border-dim);
}

.workflow-item:last-child {
  border-bottom: none;
}

.workflow-item > span {
  color: var(--accent-dim);
  font-size: 0.72rem;
  font-weight: 800;
  text-transform: uppercase;
}

.workflow-item strong {
  display: block;
  font-size: 1rem;
  line-height: 1.35;
}

.workflow-item p {
  margin-top: 0.35rem;
  color: var(--text-muted);
  font-size: 0.85rem;
  line-height: 1.55;
}

/* Keyboard affordance */
kbd {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 1.65rem;
  padding: 0.1rem 0.38rem;
  border: 1px solid var(--border);
  border-bottom-color: #c4baaa;
  border-radius: 5px;
  background: #ffffff;
  color: var(--text);
  font-family: var(--font);
  font-size: 0.82em;
  font-weight: 700;
  box-shadow: inset 0 -1px 0 #eee7dc;
}

/* CTA band */
.cta-band {
  padding: 4.2rem 1.5rem;
  text-align: center;
  background: var(--bg);
  color: var(--text);
  border-bottom: 1px solid var(--border-dim);
}

.cta-band__inner {
  max-width: 560px;
  margin: 0 auto;
}

.cta-band__title {
  font-size: 1.85rem;
  font-weight: 800;
  line-height: 1.2;
  margin-bottom: 0.75rem;
}

.cta-band__sub {
  color: var(--text-muted);
  font-size: 0.95rem;
  margin-bottom: 1.65rem;
}

.cta-band__actions {
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
  align-items: center;
  justify-content: center;
}

.cta-band .platform-note {
  color: var(--text-muted);
}

.cta-band .platform-note a {
  color: var(--accent-dim);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.cta-band__note {
  margin-top: 1rem;
  font-size: 0.8rem;
  color: var(--text-light);
}

/* Auth pages */
.auth-wrapper {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2.5rem 1.25rem;
  background: var(--bg-subtle);
}

.auth-box {
  width: 100%;
  max-width: 390px;
}

.auth-box__title {
  font-size: 1.5rem;
  font-weight: 800;
  margin-bottom: 0.3rem;
}

.auth-box__sub {
  color: var(--text-muted);
  font-size: 0.875rem;
  margin-bottom: 1.5rem;
}

.auth-box .card {
  margin-bottom: 0.75rem;
}

.auth-links {
  text-align: center;
  font-size: 0.825rem;
  color: var(--text-muted);
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  margin-top: 0.75rem;
}

.auth-notice {
  text-align: center;
  font-size: 0.78rem;
  color: var(--text-muted);
  margin-top: 0.6rem;
  background: rgba(245, 158, 58, 0.08);
  border: 1px solid rgba(245, 158, 58, 0.22);
  border-radius: var(--radius-sm);
  padding: 0.55rem 1rem;
}

/* Dashboard */
.dashboard {
  padding: 2.5rem 1.25rem;
  flex: 1;
}

.dashboard__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 2rem;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.dashboard__title {
  font-size: 1.4rem;
  font-weight: 800;
}

.dashboard__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1rem;
  margin-bottom: 1rem;
}

.balance-display {
  display: flex;
  align-items: baseline;
  gap: 0.4rem;
  margin: 0.5rem 0 1.25rem;
}

.balance-display__number {
  font-size: 2.75rem;
  font-weight: 800;
  color: var(--accent-dim);
  line-height: 1;
}

.balance-display__label {
  color: var(--text-muted);
  font-size: 0.9rem;
}

.device-list {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

.device-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.75rem 1rem;
  background: var(--bg-subtle);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  flex-wrap: wrap;
}

.device-item__name {
  font-weight: 700;
  font-size: 0.875rem;
}

.device-item__meta {
  font-size: 0.78rem;
  color: var(--text-muted);
}

.badge {
  display: inline-block;
  padding: 0.15rem 0.55rem;
  border-radius: 999px;
  font-size: 0.7rem;
  font-weight: 800;
}

.badge-active {
  background: var(--success-soft);
  color: var(--success);
}

.badge-inactive {
  background: rgba(110, 102, 93, 0.1);
  color: var(--text-muted);
}

/* Activate page */
.activate-wrapper {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2.5rem 1.25rem;
  background: var(--bg-subtle);
}

.activate-box {
  width: 100%;
  max-width: 440px;
  text-align: center;
}

.activate-box__title {
  font-size: 1.5rem;
  font-weight: 800;
  margin-bottom: 0.4rem;
}

.activate-box__sub {
  color: var(--text-muted);
  margin-bottom: 2rem;
  font-size: 0.9rem;
}

.pairing-code {
  font-size: 3.2rem;
  font-weight: 800;
  color: var(--accent-dim);
  font-variant-numeric: tabular-nums;
  margin: 1.25rem 0;
  font-family: 'Courier New', Courier, monospace;
}

.pairing-code--loading {
  color: var(--text-light);
  font-size: 1.5rem;
  font-family: var(--font);
}

.expiry-bar {
  height: 3px;
  background: var(--border);
  border-radius: 2px;
  overflow: hidden;
  margin: 0.75rem 0 0.4rem;
}

.expiry-bar__fill {
  height: 100%;
  background: var(--accent);
  border-radius: 2px;
  transition: width 1s linear;
}

.expiry-label {
  font-size: 0.78rem;
  color: var(--text-muted);
  margin-bottom: 1.5rem;
}

.activate-steps {
  text-align: left;
  margin: 1rem 0;
}

.activate-steps ol {
  padding-left: 1.25rem;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  color: var(--text-muted);
  font-size: 0.875rem;
}

.activate-steps li {
  line-height: 1.6;
}

/* Buy and pricing */
.buy-wrapper {
  padding: 3rem 1.5rem;
  flex: 1;
}

.buy-wrapper__title {
  font-size: 1.9rem;
  font-weight: 800;
  text-align: center;
  margin-bottom: 0.4rem;
}

.buy-wrapper__sub {
  text-align: center;
  color: var(--text-muted);
  margin-bottom: 3rem;
  font-size: 0.9rem;
}

.pricing-section-label {
  font-size: 0.72rem;
  text-transform: uppercase;
  font-weight: 800;
  color: var(--text-muted);
  max-width: var(--max-w);
  margin: 0 auto 0.75rem;
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(175px, 1fr));
  gap: 1rem;
  max-width: var(--max-w);
  margin: 0 auto 3rem;
}

.pricing-card {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 1.25rem;
  padding: 1.5rem;
  position: relative;
  transition: box-shadow 0.2s, border-color 0.2s, transform 0.2s;
}

.pricing-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 38px rgba(24, 20, 15, 0.08);
  border-color: #cfc6b8;
}

.pricing-card--featured {
  border-color: rgba(245, 158, 58, 0.5);
  background: linear-gradient(180deg, #ffffff 0, #fff8ed 100%);
}

.pricing-card__badge {
  position: absolute;
  top: -0.64rem;
  left: 50%;
  transform: translateX(-50%);
  background: var(--accent);
  color: var(--ink);
  font-size: 0.65rem;
  font-weight: 800;
  text-transform: uppercase;
  padding: 0.2rem 0.7rem;
  border-radius: 999px;
  white-space: nowrap;
}

.pricing-card__credits {
  font-size: 0.95rem;
  font-weight: 800;
  margin-bottom: 0.2rem;
}

.pricing-card__price {
  font-size: 2rem;
  font-weight: 800;
  color: var(--text);
  line-height: 1.1;
}

.pricing-card__price span {
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--text-muted);
}

.pricing-card__perks {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-top: 0.9rem;
}

.pricing-card__perks li::before {
  content: "+ ";
  color: var(--success);
  font-weight: 800;
}

/* Legal pages */
.legal-wrapper {
  max-width: 760px;
  margin: 0 auto;
  padding: 3rem 1.5rem 5rem;
}

.legal-wrapper h1 {
  font-size: 1.9rem;
  font-weight: 800;
  margin-bottom: 0.4rem;
}

.legal-wrapper .effective {
  color: var(--text-muted);
  font-size: 0.85rem;
  margin-bottom: 3rem;
}

.legal-wrapper h2 {
  font-size: 0.72rem;
  font-weight: 800;
  margin: 2.5rem 0 0.85rem;
  text-transform: uppercase;
  color: var(--text-light);
  border-top: 1px solid var(--border-dim);
  padding-top: 2rem;
}

.legal-wrapper p,
.legal-wrapper li {
  line-height: 1.75;
  color: var(--text-muted);
  font-size: 0.9rem;
}

.legal-wrapper p + p {
  margin-top: 0.75rem;
}

.legal-wrapper ul {
  padding-left: 1.5rem;
  margin: 0.5rem 0 1rem;
}

.legal-wrapper li {
  margin-bottom: 0.4rem;
}

.legal-wrapper .contact-box {
  background: var(--bg-subtle);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.25rem 1.5rem;
  margin-top: 1rem;
}

.legal-wrapper .contact-box p {
  margin: 0.2rem 0;
  color: var(--text-muted);
  font-size: 0.875rem;
}

.legal-wrapper .highlight {
  background: var(--bg-subtle);
  border-left: 3px solid var(--accent);
  padding: 1rem 1.25rem;
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  margin: 1rem 0;
}

.subprocessor-table {
  width: 100%;
  border-collapse: collapse;
  margin: 1rem 0 1.5rem;
  font-size: 0.82rem;
}

.subprocessor-table th,
.subprocessor-table td {
  border: 1px solid var(--border);
  padding: 0.6rem 0.75rem;
  text-align: left;
  vertical-align: top;
}

.subprocessor-table th {
  background: var(--bg-subtle);
  font-weight: 800;
  color: var(--text);
  font-size: 0.78rem;
}

.subprocessor-table td {
  color: var(--text-muted);
  line-height: 1.6;
}

/* Help page */
.help-wrapper {
  max-width: 700px;
  margin: 0 auto;
  padding: 3rem 1.5rem 5rem;
}

.help-wrapper h1 {
  font-size: 1.9rem;
  font-weight: 800;
  margin-bottom: 2.5rem;
}

.faq {
  display: flex;
  flex-direction: column;
  gap: 1px;
  margin-bottom: 3rem;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
}

.faq-item {
  background: var(--bg-card);
  padding: 1.1rem 1.25rem;
  border-bottom: 1px solid var(--border-dim);
}

.faq-item:last-child {
  border-bottom: none;
}

.faq-item:hover {
  background: var(--bg-subtle);
}

.faq-item h3 {
  font-size: 0.875rem;
  font-weight: 800;
  color: var(--text);
  margin: 0 0 0.4rem;
}

.faq-item p {
  font-size: 0.85rem;
  line-height: 1.7;
  color: var(--text-muted);
  margin: 0;
}

.faq-item p + p {
  margin-top: 0.4rem;
}

.section-label {
  font-size: 0.72rem;
  font-weight: 800;
  text-transform: uppercase;
  color: var(--text-light);
  margin-bottom: 0.75rem;
}

.landing-faq {
  max-width: 780px;
  margin-bottom: 0;
}

.landing-faq .faq-item a {
  color: var(--amber, #F59E3A);
}

.diff-strip {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(1.25rem, 3vw, 2.5rem);
  margin-top: 2.5rem;
}

.diff-strip strong {
  display: block;
  font-size: 0.95rem;
  font-weight: 800;
  color: var(--text);
  margin-bottom: 0.35rem;
}

.diff-strip p {
  font-size: 0.88rem;
  color: var(--text-muted);
  line-height: 1.65;
  margin: 0;
}


.contact-section {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 2.5rem 2rem;
  text-align: center;
  box-shadow: 0 10px 30px rgba(24, 20, 15, 0.05);
}

.contact-section h2 {
  font-size: 1.2rem;
  font-weight: 800;
  margin: 0 0 0.5rem;
}

.contact-section p {
  font-size: 0.875rem;
  color: var(--text-muted);
  line-height: 1.6;
  margin: 0 0 1.5rem;
}

.contact-section a.btn {
  display: inline-flex;
}

/* Footer */
.footer {
  border-top: 1px solid var(--border-dim);
  padding: 1.5rem;
  text-align: center;
  font-size: 0.78rem;
  color: var(--text-muted);
  background: #f4f1ea;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.6rem;
}

.footer a {
  color: var(--text-muted);
}

.footer a:hover {
  color: var(--text);
}

.footer__logo img {
  display: block;
  opacity: 1;
  transition: opacity 0.15s;
}

.footer__logo {
  display: inline-flex;
}

.footer__logo:hover img {
  opacity: 0.86;
}

/* Alerts and spinner */
.alert {
  padding: 0.7rem 1rem;
  border-radius: var(--radius-sm);
  font-size: 0.85rem;
  margin-bottom: 1rem;
}

.alert-error {
  background: rgba(220, 38, 38, 0.06);
  border: 1px solid rgba(220, 38, 38, 0.2);
  color: #b91c1c;
}

.alert-success {
  background: rgba(22, 163, 74, 0.07);
  border: 1px solid rgba(22, 163, 74, 0.2);
  color: #15803d;
}

.alert-info {
  background: rgba(245, 158, 58, 0.09);
  border: 1px solid rgba(245, 158, 58, 0.22);
  color: #92400e;
}

.spinner {
  display: inline-block;
  width: 16px;
  height: 16px;
  border: 2px solid rgba(245, 158, 58, 0.22);
  border-top-color: var(--accent);
  border-radius: 50%;
  animation: spin 0.7s linear infinite;
  vertical-align: middle;
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

/* Responsive */
@media (max-width: 900px) {
  .hero__headline {
    font-size: 3rem;
  }

  .feature-item {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .feature-item:nth-child(even) .feature-demo,
  .feature-item:nth-child(even) .feature-item__body {
    order: initial;
  }

  .diff-strip {
    grid-template-columns: 1fr;
  }

  .use-cases__layout {
    grid-template-columns: 1fr;
  }

  .use-cases__copy {
    position: static;
  }
}

@media (max-width: 768px) {
  .hero {
    padding: 3.8rem 1.25rem 0;
  }

  .product-demo {
    aspect-ratio: 16 / 9;
    margin-top: 2.3rem;
    padding: 0.45rem;
  }

  .media-placeholder__chrome {
    height: 2rem;
  }

  .media-placeholder__body {
    height: calc(100% - 2rem);
  }

  .features,
  .use-cases,
  .cta-band {
    padding: 3rem 1.25rem;
  }
}

@media (max-width: 600px) {
  .nav,
  .hero,
  .features,
  .use-cases,
  .cta-band,
  .footer {
    width: 100%;
    max-width: 100vw;
    overflow-x: hidden;
  }

  .nav__inner,
  .hero__inner,
  .features__inner,
  .use-cases__inner,
  .product-demo {
    width: calc(100vw - 2rem);
    max-width: calc(100vw - 2rem);
    min-width: 0;
  }

  .nav {
    padding: 0 1rem;
  }

  .nav__inner {
    position: relative;
  }

  .nav__links {
    position: absolute;
    right: 0;
    gap: 0.35rem;
  }

  .nav__links a:first-child {
    display: none;
  }

  .hero__headline {
    width: calc(100vw - 2.5rem);
    max-width: 21rem;
    font-size: 2.2rem;
  }

  .hero__sub {
    width: calc(100vw - 2.5rem);
    max-width: 21rem;
    font-size: 1rem;
  }

  .hero__cta,
  .cta-band__actions {
    width: calc(100vw - 2.5rem);
    max-width: calc(100vw - 2.5rem);
  }

  .product-demo {
    width: calc(100vw - 2.5rem);
    max-width: calc(100vw - 2.5rem);
    aspect-ratio: 4 / 3;
    padding: 0.38rem;
  }

  .demo-workspace {
    grid-template-columns: 4.7rem 1fr;
  }

  .demo-topbar {
    padding: 0 0.62rem;
  }

  .demo-topbar__meta span:first-child {
    display: none;
  }

  .demo-assessment__body {
    grid-template-columns: minmax(0, 1fr) minmax(5.3rem, 0.56fr);
    gap: 0.42rem;
  }

  .demo-question-card {
    min-height: 6.1rem;
    line-height: 1.38;
  }

  .demo-choice-list div {
    min-height: 1.38rem;
    gap: 0.38rem;
  }

  .demo-choice-list span {
    width: 1rem;
    height: 1rem;
  }

  .lasair-demo-overlay {
    left: 23%;
    bottom: 12.5%;
    width: 63%;
    padding: 0.52rem 0.58rem;
  }

  .lasair-demo-header {
    gap: 0.42rem;
  }

  .lasair-demo-header span {
    display: none;
  }

  .lasair-demo-rule {
    margin: 0.42rem 0 0.44rem;
  }

  .lasair-demo-loading {
    min-height: 2.5rem;
  }

  .lasair-demo-answer {
    top: 3.2rem;
    line-height: 1.35;
  }

  .hero__cta .btn,
  .cta-band__actions .btn {
    width: auto;
    min-width: 13rem;
    max-width: 100%;
  }

  .feature-item {
    min-height: 0;
  }

  .workflow-item {
    grid-template-columns: 1fr;
    gap: 0.45rem;
    padding: 1.1rem;
  }

  .media-placeholder__body {
    padding: 1rem;
  }

  .media-placeholder strong {
    font-size: 0.95rem;
  }

  .dashboard__header {
    flex-direction: column;
    align-items: flex-start;
  }

  .pricing-grid {
    grid-template-columns: 1fr;
  }

  .pairing-code {
    font-size: 2.35rem;
  }

}

@media (max-width: 420px) {
  .hero__cta .btn,
  .cta-band__actions .btn {
    width: 100%;
  }
}

/* Final visual correction pass */
.platform-cta .btn-primary,
.platform-cta .btn-primary:visited {
  border-color: var(--accent);
  background: var(--accent);
  color: var(--ink);
  box-shadow: none;
}

.platform-cta .btn-primary:hover:not(:disabled) {
  border-color: var(--accent-dim);
  background: var(--accent-dim);
  color: var(--ink);
  box-shadow: none;
}

.windows-mark {
  background:
    linear-gradient(currentColor, currentColor) 0 0 / 45% 45% no-repeat,
    linear-gradient(currentColor, currentColor) 100% 0 / 45% 45% no-repeat,
    linear-gradient(currentColor, currentColor) 0 100% / 45% 45% no-repeat,
    linear-gradient(currentColor, currentColor) 100% 100% / 45% 45% no-repeat;
}

.product-demo {
  border-color: rgba(95, 111, 121, 0.26);
  background: linear-gradient(180deg, #fbfaf7 0%, #f3f0ea 100%);
}

.demo-screen {
  border-color: rgba(95, 111, 121, 0.34);
  background: #f8fafb;
}

.demo-topbar {
  border-bottom-color: rgba(54, 72, 82, 0.24);
  background: linear-gradient(90deg, #4b6472 0%, #66808c 100%);
}

.demo-sidebar {
  background: #eef1f3;
}

.demo-question-grid .active,
.demo-bottom span:last-child {
  border-color: #5e7682;
  background: #5e7682;
}

.demo-assessment__head span:last-child {
  background: #edf1f2;
  color: #536c78;
}

.demo-choice-list .is-correct {
  border-color: rgba(209, 137, 60, 0.55);
  background: rgba(245, 158, 58, 0.08);
}

.lasair-demo-overlay {
  left: 24%;
  bottom: 7.5%;
  width: clamp(22rem, 52%, 38rem);
  min-height: clamp(12.6rem, 21vw, 16.25rem);
}

.lasair-demo-answer {
  top: clamp(5.25rem, 8.8vw, 6.35rem);
}

.features .section-header {
  margin-bottom: 2.8rem;
}

.features .section-title {
  font-size: clamp(1.9rem, 3vw, 2.65rem);
  line-height: 1.12;
}

.features .section-sub {
  margin-top: 0.75rem;
  max-width: 560px;
  font-size: 0.98rem;
}

.feature-item__body {
  font-size: clamp(0.98rem, 1.25vw, 1.12rem);
}

.feature-demo {
  background: #d8e0e8;
}

.feature-demo--hotkey,
.feature-demo--privacy {
  background:
    radial-gradient(circle at 18% 18%, rgba(255, 255, 255, 0.62), transparent 28%),
    linear-gradient(135deg, #e2e8ee 0%, #d2dbe4 100%);
}

.feature-demo--context {
  background:
    radial-gradient(circle at 76% 16%, rgba(255, 255, 255, 0.62), transparent 26%),
    linear-gradient(135deg, #e5ebf0 0%, #cfd9e2 100%);
}

.hotkey-window {
  inset: 1.8rem 1.55rem 8.4rem;
  background: rgba(255, 255, 255, 0.9);
}

.hotkey-options {
  position: absolute;
  right: 1.15rem;
  top: 1.55rem;
  width: 34%;
  display: grid;
  gap: 0.42rem;
}

.hotkey-options span {
  display: flex;
  min-height: 1.65rem;
  align-items: center;
  padding: 0 0.58rem;
  border-radius: 6px;
  background: #f3f6f8;
  color: #4d5a63;
  font-size: clamp(0.58rem, 0.86vw, 0.72rem);
  font-weight: 800;
}

.hotkey-options .active {
  background: rgba(245, 158, 58, 0.12);
  color: #7a5429;
}

.hotkey-command {
  bottom: 1.55rem;
}

.mini-lasair-overlay {
  border: 1px solid rgba(232, 240, 245, 0.16);
  border-radius: 8px;
  background: rgba(18, 18, 18, 0.92);
  color: #eef3f0;
  box-shadow: 0 22px 44px rgba(48, 62, 82, 0.22);
}

.mini-lasair-head {
  display: flex;
  align-items: center;
  gap: 0.52rem;
  margin-bottom: 0.64rem;
}

.mini-lasair-head img {
  width: 1.45rem;
  height: 1.45rem;
  border-radius: 5px;
}

.mini-lasair-head div {
  display: flex;
  flex-direction: column;
  line-height: 1.12;
}

.mini-lasair-head strong,
.mini-lasair-overlay strong {
  color: #ffffff;
  font-size: clamp(0.72rem, 1vw, 0.9rem);
  font-weight: 800;
}

.mini-lasair-head span {
  color: rgba(238, 243, 240, 0.62);
  font-size: clamp(0.54rem, 0.78vw, 0.68rem);
  font-weight: 700;
}

.mini-lasair-overlay p {
  margin: 0.34rem 0 0;
  color: rgba(238, 243, 240, 0.8);
  font-size: clamp(0.62rem, 0.9vw, 0.78rem);
  line-height: 1.36;
  font-weight: 700;
}

.hotkey-answer {
  left: 1.55rem;
  right: 1.55rem;
  bottom: 4.55rem;
  min-height: 6.8rem;
  display: block;
  padding: 0.86rem 0.95rem;
  background: rgba(18, 18, 18, 0.92);
}

.hotkey-answer > span {
  display: none;
}

.privacy-sheet {
  position: absolute;
  left: 2rem;
  right: 2rem;
  bottom: 2rem;
  display: grid;
  gap: 0;
  overflow: hidden;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.84);
  box-shadow: 0 22px 38px rgba(48, 62, 82, 0.13);
}

.privacy-sheet div {
  display: grid;
  grid-template-columns: 1.2fr 0.85fr 0.62fr;
  gap: 0.7rem;
  align-items: center;
  padding: 0.58rem 0.72rem;
  border-bottom: 1px solid rgba(95, 111, 121, 0.12);
  color: #4a5560;
  font-size: clamp(0.54rem, 0.82vw, 0.68rem);
  font-weight: 700;
}

.privacy-sheet div:first-child {
  background: rgba(238, 242, 246, 0.88);
  color: #62707b;
}

.privacy-sheet div:last-child {
  border-bottom: 0;
}

.privacy-sheet strong {
  color: #4e5963;
  font-size: inherit;
}

.privacy-code {
  display: none;
}

.privacy-ghost-panel {
  top: 4.8rem;
  right: 2rem;
  width: 42%;
  height: 30%;
  background: rgba(255, 255, 255, 0.34);
}

.privacy-overlay {
  left: 2rem;
  bottom: 2rem;
  width: min(68%, 20rem);
  min-height: 7.4rem;
  padding: 0.9rem 1rem;
  background: rgba(18, 18, 18, 0.92);
}

.privacy-overlay strong {
  font-size: clamp(0.72rem, 1vw, 0.9rem);
}

.privacy-overlay p {
  font-size: clamp(0.62rem, 0.9vw, 0.78rem);
}

.context-editor {
  background: #ffffff;
  box-shadow: 0 22px 44px rgba(48, 62, 82, 0.18);
}

.context-tabs {
  border-bottom-color: #e3e8ee;
  background: #f3f6f8;
}

.context-tabs span {
  color: #7a8792;
}

.context-tabs .active {
  background: #ffffff;
  color: #40505c;
}

.context-code span {
  color: #40505c;
}

.context-code i {
  color: #9aa5af;
}

.context-code .warn {
  border-left-color: rgba(209, 137, 60, 0.82);
  background: rgba(245, 158, 58, 0.09);
  color: #533b21;
}

.context-answer {
  width: min(78%, 21rem);
  min-height: 7rem;
  display: block;
  padding: 0.9rem 1rem;
  background: rgba(18, 18, 18, 0.92);
}

.context-answer p {
  color: rgba(238, 243, 240, 0.8);
}

@media (max-width: 900px) {
  .features .section-title {
    font-size: 2rem;
  }

  .feature-item__body {
    font-size: 1rem;
  }
}

@media (max-width: 600px) {
  .lasair-demo-overlay {
    left: 14%;
    bottom: 6%;
    width: 76%;
    min-height: 12.2rem;
    padding: 0.72rem 0.78rem;
  }

  .lasair-demo-answer {
    top: 4.7rem;
    line-height: 1.38;
  }

  .features .section-title {
    font-size: 1.85rem;
  }

  .features .section-sub {
    font-size: 0.92rem;
  }
}
