:root {
  --bg: #f6f8fb;
  --bg-soft: #edf7f2;
  --surface: #ffffff;
  --surface-strong: #f0f5f8;
  --ink: #17211d;
  --muted: #5b6770;
  --muted-strong: #3d4951;
  --line: #dbe4ea;
  --line-strong: #c5d2db;
  --green: #16a34a;
  --green-dark: #0f7f3a;
  --blue: #0ea5e9;
  --blue-dark: #0879af;
  --rose: #e11d48;
  --amber: #d97706;
  --shadow: 0 18px 50px rgba(29, 41, 57, 0.12);
  --shadow-soft: 0 10px 30px rgba(29, 41, 57, 0.08);
  --radius: 8px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

[id] {
  scroll-margin-top: 96px;
}

body {
  margin: 0;
  font-family: "Manrope", "Segoe UI", system-ui, -apple-system, sans-serif;
  color: var(--ink);
  background: linear-gradient(180deg, #f8fbfd 0%, var(--bg-soft) 42%, var(--bg) 100%);
  line-height: 1.6;
  overflow-x: hidden;
}

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

button,
input,
textarea,
select {
  font: inherit;
}

button {
  cursor: pointer;
}

.site-header,
body > header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.88);
  border-bottom: 1px solid rgba(219, 228, 234, 0.9);
  backdrop-filter: blur(16px);
}

.nav {
  max-width: 1240px;
  margin: 0 auto;
  padding: 14px 22px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  min-width: 0;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--ink);
  font-weight: 800;
  min-width: max-content;
}

.brand-badge {
  width: 36px;
  height: 36px;
  border-radius: var(--radius);
  display: block;
  object-fit: cover;
  box-shadow: 0 10px 22px rgba(22, 163, 74, 0.16);
}

.menu {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
  color: var(--muted-strong);
  font-size: 14px;
  flex: 1 1 auto;
  flex-wrap: wrap;
  min-width: 0;
}

.menu a {
  padding: 8px 10px;
  border-radius: var(--radius);
  transition: color 0.2s ease, background 0.2s ease;
}

.menu a:hover,
.menu a:focus-visible {
  color: var(--ink);
  background: var(--surface-strong);
  outline: none;
}

.header-actions,
.hero-actions,
.docs-hero-actions,
.feedback-hero-actions,
.pay-actions,
.auth-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.header-actions {
  flex: 0 1 auto;
  flex-wrap: nowrap;
  justify-content: flex-end;
  min-width: 0;
}

.cta,
.auth-btn,
.modal-close,
.mini-btn {
  border-radius: var(--radius);
}

.cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 44px;
  padding: 11px 16px;
  border: 1px solid transparent;
  background: var(--green);
  color: #ffffff;
  font-weight: 800;
  box-shadow: 0 12px 26px rgba(22, 163, 74, 0.24);
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.cta:hover,
.cta:focus-visible {
  transform: translateY(-1px);
  background: var(--green-dark);
  box-shadow: 0 16px 32px rgba(22, 163, 74, 0.28);
  outline: none;
}

.ghost-btn {
  background: transparent;
  color: var(--ink);
  border-color: var(--line-strong);
  box-shadow: none;
}

.ghost-btn:hover,
.ghost-btn:focus-visible {
  background: var(--surface-strong);
  color: var(--ink);
  box-shadow: none;
}

.text-link {
  color: #ffffff;
  font-weight: 800;
  border-bottom: 1px solid rgba(255, 255, 255, 0.7);
  padding: 2px 0;
}

.site-hero .ghost-btn {
  color: #ffffff;
  border-color: rgba(255, 255, 255, 0.5);
  background: rgba(255, 255, 255, 0.08);
}

.site-hero .ghost-btn:hover,
.site-hero .ghost-btn:focus-visible {
  color: #ffffff;
  background: rgba(255, 255, 255, 0.16);
}

main {
  width: 100%;
}

.site-hero {
  position: relative;
  display: flex;
  align-items: center;
  min-height: 680px;
  margin-top: 0;
  padding: 80px 22px 58px;
  color: #ffffff;
  overflow: hidden;
  isolation: isolate;
}

.hero-media,
.hero-scrim {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.hero-media {
  object-fit: cover;
  z-index: -2;
  background: #111827;
}

.hero-scrim {
  z-index: -1;
  background:
    linear-gradient(90deg, rgba(11, 18, 23, 0.9) 0%, rgba(11, 18, 23, 0.78) 48%, rgba(11, 18, 23, 0.36) 100%),
    linear-gradient(180deg, rgba(11, 18, 23, 0.22), rgba(11, 18, 23, 0.68));
}

.hero-inner {
  width: min(1200px, 100%);
  margin: 0 auto;
  display: grid;
  gap: 18px;
}

.hero-inner h1 {
  max-width: 780px;
  margin: 0;
  font-size: 62px;
  line-height: 1.04;
  font-weight: 800;
}

.hero-lead {
  max-width: 720px;
  margin: 0;
  color: rgba(255, 255, 255, 0.88);
  font-size: 20px;
}

.badge {
  width: fit-content;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 10px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.82);
  color: var(--green-dark);
  border: 1px solid rgba(22, 163, 74, 0.2);
  font-size: 13px;
  font-weight: 800;
}

.site-hero .badge {
  background: rgba(255, 255, 255, 0.16);
  color: #ffffff;
  border-color: rgba(255, 255, 255, 0.26);
  backdrop-filter: blur(12px);
}

.extension-callout {
  max-width: 720px;
  display: grid;
  gap: 4px;
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  color: var(--ink);
}

.hero-callout {
  background: rgba(255, 255, 255, 0.14);
  border-color: rgba(255, 255, 255, 0.24);
  color: #ffffff;
  backdrop-filter: blur(12px);
}

.extension-callout strong {
  font-size: 12px;
  color: inherit;
}

.extension-callout p {
  margin: 0;
  color: inherit;
}

.extension-callout a {
  font-weight: 800;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.hero-proof {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  max-width: 760px;
}

.hero-proof span,
.tag,
.pill {
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  padding: 6px 10px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 700;
}

.hero-proof span {
  color: #ffffff;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.18);
  backdrop-filter: blur(12px);
}

.tag,
.pill {
  color: var(--muted-strong);
  background: var(--surface-strong);
  border: 1px solid var(--line);
}

.proof-strip,
main:not(.page-shell) > section:not(.site-hero):not(.proof-strip),
footer {
  max-width: 1200px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 22px;
  padding-right: 22px;
}

.proof-strip {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin-top: 22px;
}

.proof-strip div {
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.86);
  box-shadow: var(--shadow-soft);
}

.proof-strip strong,
.proof-strip span {
  display: block;
}

.proof-strip strong {
  font-size: 18px;
}

.proof-strip span {
  color: var(--muted);
  margin-top: 4px;
}

main:not(.page-shell) > section:not(.site-hero):not(.proof-strip) {
  margin-top: 88px;
}

.split-section {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 34px;
  align-items: start;
}

.section-copy {
  display: grid;
  gap: 14px;
}

.section-copy h2,
.section-head h2,
.use-cases h2,
.workspace-showcase h2 {
  margin: 0;
  font-size: 42px;
  line-height: 1.12;
  font-weight: 800;
}

.section-copy p,
.section-head p {
  margin: 0;
  color: var(--muted);
  font-size: 17px;
}

.section-head {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 18px;
  flex-wrap: wrap;
  margin-bottom: 24px;
}

.section-head > div {
  display: grid;
  gap: 10px;
}

.signal-list {
  display: grid;
  gap: 12px;
}

.signal-card,
.card,
.case-item,
details,
.doc-section,
.docs-card,
.docs-example,
.feedback-callout,
.feedback-publish-card {
  border-radius: var(--radius);
  background: var(--surface);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-soft);
}

.signal-card {
  display: grid;
  gap: 8px;
  padding: 18px;
}

.signal-card span {
  color: var(--blue-dark);
  font-weight: 800;
}

.signal-card h3,
.card h3,
.case-item span {
  margin: 0;
  font-size: 20px;
  line-height: 1.25;
}

.signal-card p,
.card p,
.case-item p {
  margin: 0;
  color: var(--muted);
}

.feature-grid,
.pricing {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.card {
  padding: 22px;
}

.feature-card {
  display: grid;
  gap: 12px;
}

.feature-icon {
  width: 38px;
  height: 38px;
  object-fit: contain;
  padding: 8px;
  border-radius: var(--radius);
  background: linear-gradient(135deg, var(--green-dark) 0%, var(--blue) 100%);
  border: 1px solid rgba(15, 127, 58, 0.42);
  box-shadow: 0 12px 24px rgba(15, 127, 58, 0.20);
  filter: none;
}

code {
  display: inline-block;
  padding: 1px 6px;
  border-radius: 6px;
  background: #eef2f7;
  color: #24313a;
  border: 1px solid #dce5ec;
  font-size: 0.95em;
}

.confidence-section {
  margin-top: 96px;
}

.confidence-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}

.confidence-card {
  min-height: 260px;
  padding: 22px;
  display: grid;
  align-content: start;
  gap: 12px;
  border-radius: var(--radius);
  border: 1px solid rgba(19, 84, 122, 0.16);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.92), rgba(244, 249, 247, 0.94)),
    #ffffff;
  box-shadow: 0 18px 46px rgba(18, 49, 58, 0.08);
}

.confidence-card span {
  width: max-content;
  max-width: 100%;
  padding: 6px 9px;
  border-radius: 6px;
  background: #e6f6ee;
  color: var(--green-dark);
  font-size: 12px;
  font-weight: 800;
}

.confidence-card h3 {
  margin: 0;
  color: var(--ink);
  font-size: 19px;
  line-height: 1.25;
}

.confidence-card p {
  margin: 0;
  color: var(--muted);
}

.run-studio-showcase {
  margin-top: 96px;
}

.run-studio-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.88fr) minmax(0, 1.12fr);
  gap: 20px;
  align-items: stretch;
}

.product-screenshot-card {
  margin: 0;
  overflow: hidden;
  border-radius: var(--radius);
  border: 1px solid rgba(38, 50, 65, 0.92);
  background: #0d1516;
  box-shadow: 0 24px 70px rgba(17, 24, 39, 0.24);
}

.product-screenshot-card img {
  display: block;
  width: 100%;
  height: auto;
  object-fit: contain;
}

.run-studio-shot {
  align-self: start;
}

.workspace-shot {
  background: #101818;
}

.run-studio-copy {
  display: grid;
  gap: 16px;
  align-content: start;
}

.run-studio-copy > p {
  margin: 0;
  color: var(--muted);
  font-size: 17px;
}

.run-studio-benefits {
  display: grid;
  gap: 10px;
}

.run-studio-benefits div {
  display: grid;
  gap: 4px;
  padding: 14px;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.78);
  box-shadow: var(--shadow-soft);
}

.run-studio-benefits strong {
  color: var(--ink);
}

.run-studio-benefits span {
  color: var(--muted);
  font-size: 14px;
}

.run-studio-board {
  min-height: 430px;
  display: grid;
  gap: 12px;
  padding: 14px;
  border-radius: var(--radius);
  border: 1px solid rgba(168, 214, 201, 0.16);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.055), rgba(255, 255, 255, 0.02)),
    #0d1516;
  color: #e5edf5;
  box-shadow: 0 24px 70px rgba(17, 24, 39, 0.24);
}

.run-studio-modal-head {
  display: flex;
  justify-content: space-between;
  align-items: start;
  gap: 12px;
  padding: 4px 4px 0;
}

.run-studio-modal-head div:first-child {
  display: grid;
  gap: 3px;
}

.run-studio-modal-head strong {
  color: #ffffff;
  font-size: 20px;
}

.run-studio-modal-head span {
  color: #9fb3b4;
  font-size: 13px;
}

.run-studio-head-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  justify-content: flex-end;
}

.run-studio-head-actions span {
  padding: 6px 8px;
  border-radius: 7px;
  border: 1px solid rgba(168, 214, 201, 0.16);
  background: rgba(255, 255, 255, 0.045);
  color: #d8e1f0;
  font-size: 12px;
  font-weight: 800;
}

.run-studio-shell {
  display: grid;
  grid-template-columns: 0.82fr 1.28fr 0.9fr;
  gap: 10px;
  min-height: 360px;
}

.run-studio-sidebar,
.run-studio-main,
.run-studio-report-panel {
  display: grid;
  align-content: start;
  gap: 10px;
  min-width: 0;
  padding: 12px;
  border-radius: var(--radius);
  border: 1px solid rgba(229, 237, 245, 0.12);
  background: rgba(255, 255, 255, 0.045);
}

.run-studio-panel-title {
  color: #ffffff;
  font-size: 13px;
  font-weight: 800;
}

.suite-pill,
.run-studio-scenario,
.report-field {
  border-radius: 7px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(229, 237, 245, 0.08);
}

.suite-pill {
  display: grid;
  gap: 2px;
  padding: 10px;
}

.suite-pill.active {
  background: rgba(22, 163, 74, 0.18);
  border-color: rgba(22, 163, 74, 0.36);
}

.suite-pill strong,
.run-studio-scenario strong,
.report-field strong {
  overflow: hidden;
  color: #ffffff;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.suite-pill span,
.report-field span {
  color: #aebdca;
  font-size: 12px;
}

.run-studio-mini-action,
.run-studio-primary,
.run-studio-toolbar-mini button {
  border-radius: 7px;
  border: 1px solid rgba(168, 214, 201, 0.16);
  background: rgba(255, 255, 255, 0.055);
  color: #e5edf5;
  font-weight: 800;
}

.run-studio-mini-action {
  min-height: 34px;
}

.run-studio-primary {
  min-height: 38px;
  border-color: rgba(34, 197, 94, 0.34);
  background: linear-gradient(135deg, #18a8df, #27d17f);
  color: #071012;
}

.run-studio-toolbar-mini {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 8px;
}

.run-studio-toolbar-mini > span {
  min-height: 36px;
  display: flex;
  align-items: center;
  padding: 8px 10px;
  border-radius: 7px;
  background: rgba(255, 255, 255, 0.055);
  border: 1px solid rgba(168, 214, 201, 0.12);
  color: #9fb3b4;
  font-size: 12px;
}

.run-studio-toolbar-mini div {
  display: flex;
  gap: 5px;
}

.run-studio-toolbar-mini button {
  min-height: 32px;
  padding: 5px 8px;
  font-size: 12px;
}

.run-studio-toolbar-mini button.active {
  border-color: rgba(125, 211, 252, 0.42);
  background: rgba(14, 165, 233, 0.14);
  color: #bae6fd;
}

.run-studio-metrics {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
}

.run-studio-metric {
  display: grid;
  gap: 2px;
  padding: 10px;
  border-radius: 7px;
  background: rgba(14, 165, 233, 0.13);
  border: 1px solid rgba(14, 165, 233, 0.24);
}

.run-studio-metric.warning {
  background: rgba(217, 119, 6, 0.18);
  border-color: rgba(217, 119, 6, 0.28);
}

.run-studio-metric span {
  color: #c7d2e0;
  font-size: 11px;
  font-weight: 700;
}

.run-studio-metric strong {
  color: #ffffff;
  font-size: 20px;
  line-height: 1.1;
}

.run-studio-scenarios {
  display: grid;
  gap: 8px;
}

.run-studio-scenario {
  display: grid;
  grid-template-columns: 24px minmax(0, 1fr) auto;
  align-items: center;
  gap: 8px;
  padding: 10px;
}

.run-studio-scenario span {
  display: grid;
  place-items: center;
  width: 18px;
  height: 18px;
  border-radius: 6px;
  color: #dbeafe;
  background: rgba(59, 130, 246, 0.18);
  font-size: 12px;
  font-weight: 800;
}

.run-studio-scenario input {
  width: 16px;
  height: 16px;
  margin: 0;
  accent-color: #22c55e;
}

.run-studio-scenario em {
  font-style: normal;
  font-size: 12px;
  font-weight: 800;
}

.run-studio-scenario small {
  grid-column: 2 / -1;
  color: #9fb3b4;
  font-size: 11px;
}

.run-studio-scenario.ok em {
  color: #bbf7d0;
}

.run-studio-scenario.failed em {
  color: #fecdd3;
}

.run-studio-scenario.pending em {
  color: #fde68a;
}

.report-field {
  display: grid;
  gap: 2px;
  padding: 10px;
}

.run-studio-exports {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin-top: 2px;
}

.run-studio-exports span {
  padding: 6px 8px;
  border-radius: 999px;
  color: #bbf7d0;
  background: rgba(22, 163, 74, 0.14);
  border: 1px solid rgba(22, 163, 74, 0.28);
  font-size: 12px;
  font-weight: 800;
}

.run-studio-failed-link {
  padding: 9px 10px;
  border-radius: 7px;
  border: 1px solid rgba(239, 68, 68, 0.28);
  background: rgba(239, 68, 68, 0.1);
  color: #fecaca;
  font-size: 12px;
  font-weight: 800;
}

.workspace-showcase {
  margin-top: 96px;
}

.visual-card.app-window {
  overflow: hidden;
  padding: 0;
  background: #111827;
  color: #e5edf5;
  border: 1px solid #263241;
  border-radius: var(--radius);
  box-shadow: 0 24px 70px rgba(17, 24, 39, 0.26);
}

.app-window-titlebar {
  height: 42px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 12px;
  padding-left: 12px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.06), rgba(255, 255, 255, 0.018)),
    rgba(10, 17, 18, 0.96);
  border-bottom: 1px solid rgba(168, 214, 201, 0.13);
  position: relative;
}

.app-window-titlebar::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -1px;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(39, 209, 127, 0.42), rgba(24, 168, 223, 0.34), transparent);
}

.app-titlebar-brand-mini {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  min-width: 0;
}

.app-titlebar-brand-mini img {
  width: 26px;
  height: 26px;
  border-radius: 7px;
  box-shadow: 0 8px 18px rgba(39, 209, 127, 0.16);
}

.app-titlebar-brand-mini strong {
  color: #f6fbf8;
  font-size: 13px;
}

.app-titlebar-brand-mini span {
  padding: 2px 7px;
  border-radius: 999px;
  border: 1px solid rgba(168, 214, 201, 0.12);
  background: rgba(255, 255, 255, 0.06);
  color: rgba(214, 236, 226, 0.72);
  font-size: 11px;
  font-weight: 700;
}

.app-window-control-mini {
  height: 100%;
  display: flex;
}

.app-window-control-mini span {
  width: 42px;
  display: grid;
  place-items: center;
  border-left: 1px solid rgba(168, 214, 201, 0.08);
  color: rgba(238, 246, 242, 0.86);
  font-size: 14px;
}

.app-window-control-mini span:last-child {
  color: #fecaca;
}

.app-toolbar-mock {
  width: fit-content;
  max-width: calc(100% - 24px);
  margin: 12px auto 0;
  padding: 7px 9px;
  display: flex;
  align-items: center;
  gap: 9px;
  overflow-x: auto;
  border-radius: var(--radius);
  border: 1px solid rgba(168, 214, 201, 0.16);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.055), rgba(255, 255, 255, 0.025)),
    rgba(13, 21, 22, 0.88);
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.28);
}

.app-toolbar-mock button {
  min-width: 36px;
  height: 36px;
  display: grid;
  place-items: center;
  border-radius: 8px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(12, 18, 35, 0.9);
  color: #e5edf5;
  font-weight: 800;
}

.app-toolbar-mock button:first-child {
  min-width: 176px;
  grid-template-columns: auto 1fr;
  gap: 8px;
  justify-items: start;
  padding: 0 10px;
}

.app-toolbar-mock button:first-child span {
  color: #91a6a6;
  font-size: 10px;
  text-transform: uppercase;
}

.app-toolbar-mock button:first-child strong {
  min-width: 0;
  overflow: hidden;
  color: #eef6f2;
  font-size: 13px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.app-toolbar-mock img {
  width: 18px;
  height: 18px;
  object-fit: contain;
  filter: saturate(1.25) contrast(1.2) brightness(1.08);
}

.app-toolbar-mock i {
  height: 24px;
  border-right: 1px dashed rgba(255, 255, 255, 0.18);
}

.app-toolbar-mock .rec-button {
  width: auto;
  min-width: 52px;
  padding: 0 10px;
  color: #fecaca;
  background: rgba(185, 28, 28, 0.28);
  border-color: rgba(248, 113, 113, 0.32);
  font-size: 11px;
}

.window-dot {
  width: 10px;
  height: 10px;
  display: inline-block;
  border-radius: 50%;
  margin-right: 5px;
}

.window-dot.green { background: var(--green); }
.window-dot.blue { background: var(--blue); }
.window-dot.red { background: var(--rose); }

.window-actions {
  display: flex;
  align-items: center;
  gap: 9px;
}

.window-actions span {
  padding: 5px 8px;
  border-radius: 6px;
  background: rgba(225, 29, 72, 0.2);
  color: #fecdd3;
  font-size: 11px;
  font-weight: 800;
}

.window-actions img {
  width: 18px;
  height: 18px;
  object-fit: contain;
  filter: saturate(1.25) contrast(1.2) brightness(1.08);
  opacity: 0.95;
}

.app-grid {
  display: grid;
  grid-template-columns: 1fr 1.05fr 1.2fr 1fr;
  gap: 10px;
  padding: 12px;
}

.app-panel {
  min-height: 300px;
  padding: 12px;
  border: 1px solid rgba(229, 237, 245, 0.12);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.045);
  display: grid;
  align-content: start;
  gap: 10px;
}

.app-panel-title {
  color: #ffffff;
  font-weight: 800;
  font-size: 14px;
  min-height: 28px;
  padding-bottom: 8px;
  border-bottom: 1px solid rgba(168, 214, 201, 0.12);
  text-transform: uppercase;
}

.attr-row,
.setting-line {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  padding: 9px;
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.055);
  color: #aebdca;
  font-size: 13px;
}

.attr-row strong,
.setting-line strong {
  color: #ffffff;
  overflow: hidden;
  text-overflow: ellipsis;
}

.mini-btn {
  min-height: 36px;
  border: 1px solid rgba(22, 163, 74, 0.42);
  background: rgba(22, 163, 74, 0.14);
  color: #bbf7d0;
  font-weight: 800;
}

.tree-node {
  padding: 9px 10px;
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.055);
  color: #d8e3ed;
  font-size: 13px;
}

.tree-node.child {
  margin-left: 14px;
}

.tree-node.selected {
  background: rgba(14, 165, 233, 0.18);
  border: 1px solid rgba(14, 165, 233, 0.32);
  color: #e0f2fe;
}

.app-panel-nav {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  gap: 8px;
  align-items: center;
  min-height: 34px;
  padding: 5px 7px;
  border-radius: 7px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  color: #aebdca;
  font-size: 12px;
}

.app-panel-nav span:last-of-type {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.app-panel-nav b {
  display: grid;
  place-items: center;
  width: 24px;
  height: 24px;
  border-radius: 7px;
  background: linear-gradient(145deg, #18a8df, #27d17f);
  color: #0b1224;
}

.algo-list {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 9px;
}

.algo-list li {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 10px;
  align-items: center;
  padding: 10px;
  border-left: 3px solid var(--blue);
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.055);
}

.algo-list li.success {
  border-left-color: var(--green);
  background: rgba(22, 163, 74, 0.13);
}

.algo-list li.active {
  border-left-color: #eab308;
  background: rgba(234, 179, 8, 0.12);
}

.algo-list span {
  color: #93c5fd;
  font-size: 12px;
  font-weight: 800;
}

.algo-list strong {
  color: #ffffff;
  font-size: 13px;
  overflow: hidden;
  text-overflow: ellipsis;
}

.log-line {
  padding: 9px 10px;
  border-radius: 6px;
  font-size: 13px;
}

.log-line.ok {
  background: rgba(22, 163, 74, 0.16);
  color: #bbf7d0;
}

.log-line.pending {
  background: rgba(217, 119, 6, 0.18);
  color: #fde68a;
}

.execution-log-mock {
  display: grid;
  gap: 6px;
  margin-top: 2px;
  padding-top: 10px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.execution-log-mock strong {
  color: #94a3b8;
  font-size: 12px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.steps {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

.step-card {
  display: grid;
  gap: 10px;
}

.step-num {
  width: 36px;
  height: 36px;
  display: grid;
  place-items: center;
  border-radius: var(--radius);
  color: #ffffff;
  background: var(--blue);
  font-weight: 800;
}

.case-list {
  display: grid;
  gap: 12px;
}

.case-item {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 18px;
  align-items: start;
  padding: 18px 20px;
}

.case-item span {
  font-weight: 800;
}

.case-item p {
  font-size: 15px;
}

.price-card {
  display: grid;
  align-content: start;
  gap: 10px;
  position: relative;
}

.price {
  font-size: 34px;
  font-weight: 800;
  line-height: 1.1;
}

.price-strike {
  margin-top: -6px;
  color: var(--muted);
  text-decoration: line-through;
}

.price-card ul,
.card ul {
  list-style: none;
  padding: 0;
  margin: 6px 0 0;
  display: grid;
  gap: 8px;
  color: var(--muted);
}

.price-card li,
.card li {
  display: flex;
  gap: 8px;
}

.dot {
  color: var(--green);
  font-weight: 800;
}

.highlight {
  border-color: rgba(22, 163, 74, 0.36);
  background: linear-gradient(180deg, #ffffff 0%, #eefaf3 100%);
  box-shadow: 0 20px 60px rgba(22, 163, 74, 0.16);
}

.popular-label {
  width: fit-content;
  padding: 5px 8px;
  border-radius: 6px;
  background: var(--green);
  color: #ffffff;
  font-size: 12px;
  font-weight: 800;
}

.faq {
  display: grid;
  gap: 10px;
}

details {
  padding: 18px 20px;
}

summary {
  cursor: pointer;
  color: var(--ink);
  font-weight: 800;
  outline: none;
}

summary::-webkit-details-marker {
  display: none;
}

details p {
  margin: 12px 0 0;
  color: var(--muted);
}

details a {
  color: var(--blue-dark);
  font-weight: 800;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.cta-bar {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 20px;
  padding: 26px;
  border-radius: var(--radius);
  background: linear-gradient(135deg, #122018 0%, #0f5132 100%);
  color: #ffffff;
  box-shadow: var(--shadow);
}

.cta-bar h3 {
  margin: 8px 0 6px;
  font-size: 30px;
  line-height: 1.2;
}

.cta-bar p {
  margin: 0;
  color: rgba(255, 255, 255, 0.82);
}

.cta-bar .badge {
  background: rgba(255, 255, 255, 0.14);
  color: #ffffff;
  border-color: rgba(255, 255, 255, 0.22);
}

footer {
  margin-top: 92px;
  padding-top: 24px;
  padding-bottom: 40px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 14px;
}

footer .section-head {
  margin-bottom: 0;
}

footer a {
  color: var(--ink);
  font-weight: 800;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.legal-consent {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.45;
}

.legal-consent input {
  flex: 0 0 auto;
  margin-top: 3px;
  accent-color: var(--accent);
}

.legal-consent a {
  color: var(--ink);
  font-weight: 800;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.user-panel {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  flex: 0 1 clamp(160px, 19vw, 240px);
  max-width: clamp(160px, 19vw, 240px);
  min-width: 0;
}

.user-panel .cta {
  flex: 0 0 auto;
}

.logout-btn {
  width: 38px;
  min-width: 38px;
  height: 38px;
  min-height: 38px;
  padding: 0;
  border-radius: 8px;
  box-shadow: none;
}

.logout-btn svg {
  width: 19px;
  height: 19px;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
  fill: none;
}

.user-email {
  min-width: 0;
  max-width: none;
  flex: 1 1 auto;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  padding-left: 8px;
  color: var(--muted-strong);
  font-size: 13px;
}

.fade-up {
  opacity: 1;
  transform: none;
}

.js-enabled .fade-up {
  opacity: 0;
  transform: translateY(14px);
  transition: opacity 0.55s ease, transform 0.55s ease;
}

.js-enabled .fade-up.visible {
  opacity: 1;
  transform: translateY(0);
}

.mt-14 { margin-top: 14px; }
.mt-10 { margin-top: 10px; }
.align-center { align-items: center; }
.tiny-link { font-size: 12px; color: var(--muted); }
.tiny-link a { text-decoration: underline; text-underline-offset: 3px; }
.is-hidden { display: none !important; }
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* ---------- Modal ---------- */
.modal {
  position: fixed;
  inset: 0;
  z-index: 3000;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 20px;
  background: rgba(15, 23, 42, 0.62);
  backdrop-filter: blur(10px);
}

.modal.show {
  display: flex;
}

.modal-content {
  position: relative;
  width: min(880px, 94vw);
  max-height: min(820px, 92vh);
  overflow-y: auto;
  padding: 24px;
  border-radius: var(--radius);
  background: var(--surface);
  color: var(--ink);
  border: 1px solid var(--line);
  box-shadow: 0 26px 80px rgba(15, 23, 42, 0.24);
}

.modal-close {
  position: absolute;
  top: 12px;
  right: 12px;
  width: 36px;
  height: 36px;
  border: 1px solid var(--line);
  background: var(--surface-strong);
  color: var(--ink);
  font-size: 22px;
  line-height: 1;
}

.auth-modal {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: 24px;
  align-items: start;
}

.auth-modal header,
.pay-modal header {
  position: static;
  background: none;
  border: 0;
  backdrop-filter: none;
}

.auth-kicker,
.pay-kicker {
  margin: 0 0 6px;
  color: var(--green-dark);
  font-size: 13px;
  font-weight: 800;
}

.auth-header h2,
.pay-header h2 {
  margin: 0 0 8px;
  font-size: 32px;
  line-height: 1.15;
}

.auth-subtitle,
.pay-subtitle {
  margin: 0;
  color: var(--muted);
}

.auth-forms,
.pay-form {
  display: grid;
  gap: 16px;
}

.auth-tabs {
  display: inline-flex;
  width: fit-content;
  gap: 4px;
  padding: 4px;
  border-radius: var(--radius);
  background: var(--surface-strong);
  border: 1px solid var(--line);
}

.auth-tab {
  border: 0;
  border-radius: 6px;
  background: transparent;
  color: var(--muted-strong);
  padding: 9px 14px;
  font-weight: 800;
}

.auth-tab.is-active {
  background: var(--surface);
  color: var(--ink);
  box-shadow: var(--shadow-soft);
}

.auth-form,
.auth-field,
.pay-field {
  display: grid;
  gap: 8px;
}

.auth-field,
.pay-field {
  color: var(--muted-strong);
  font-size: 14px;
  font-weight: 700;
}

.auth-field input,
.pay-field input {
  width: 100%;
  min-height: 46px;
  padding: 12px 13px;
  border-radius: var(--radius);
  color: var(--ink);
  background: var(--surface);
  border: 1px solid var(--line-strong);
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.62);
  transition: border-color .18s ease, box-shadow .18s ease, background .18s ease;
}

.auth-field input:focus,
.pay-field input:focus {
  outline: 3px solid rgba(14, 165, 233, 0.14);
  border-color: var(--blue);
  box-shadow: 0 0 0 1px rgba(14, 165, 233, 0.18), inset 0 1px 0 rgba(255,255,255,0.72);
}

.pay-field input[readonly] {
  color: var(--green-dark);
  background: linear-gradient(135deg, rgba(22, 163, 74, 0.1), rgba(14, 165, 233, 0.08));
  border-color: rgba(22, 163, 74, 0.24);
  font-weight: 800;
}

.auth-input-hint {
  display: none;
  margin-top: -2px;
  color: #a16207;
  font-size: 12px;
  font-weight: 800;
  line-height: 1.35;
}

.auth-input-hint.is-visible {
  display: block;
}

.auth-btn {
  min-height: 42px;
  padding: 10px 14px;
  border: 1px solid var(--line-strong);
  background: var(--surface);
  color: var(--ink);
  font-weight: 800;
}

.auth-btn.primary {
  border-color: var(--green);
  background: var(--green);
  color: #ffffff;
}

.auth-btn.ghost,
.auth-btn.subtle {
  background: var(--surface-strong);
}

.auth-btn.tiny {
  min-height: 34px;
  padding: 7px 10px;
  font-size: 13px;
}

.auth-code-header {
  display: flex;
  align-items: start;
  justify-content: space-between;
  gap: 12px;
}

.auth-code-header h3 {
  margin: 0;
}

.auth-feedback,
.pay-feedback {
  min-height: 20px;
  color: var(--muted);
  font-size: 14px;
}

.pay-feedback:not(:empty) {
  padding: 10px 12px;
  border-radius: var(--radius);
  border: 1px solid rgba(14, 165, 233, 0.16);
  background: rgba(14, 165, 233, 0.06);
  color: var(--muted-strong);
}

.auth-feedback.is-error,
.pay-feedback.is-error {
  color: var(--rose);
  font-weight: 800;
}

.pay-feedback.is-error:not(:empty) {
  border-color: rgba(225, 29, 72, 0.24);
  background: rgba(225, 29, 72, 0.07);
}

.pay-modal {
  max-width: 560px;
  display: grid;
  gap: 20px;
}

.pay-actions .cta {
  min-height: 46px;
  justify-content: center;
}

.pay-actions .cta:disabled {
  cursor: wait;
  opacity: 0.72;
}

.pay-return-toast {
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 3200;
  width: min(420px, calc(100vw - 36px));
  padding: 14px 16px;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background: var(--surface);
  color: var(--ink);
  box-shadow: var(--shadow);
  font-weight: 800;
}

.pay-return-toast.is-success {
  border-color: rgba(22, 163, 74, 0.36);
  background: #eefaf3;
  color: var(--green-dark);
}

.pay-return-toast.is-error {
  border-color: rgba(225, 29, 72, 0.28);
  background: #fff1f2;
  color: var(--rose);
}

.pay-return-toast.is-pending {
  border-color: rgba(217, 119, 6, 0.28);
  background: #fffbeb;
  color: #92400e;
}

/* ---------- Shared Inner Pages ---------- */
.page-shell {
  max-width: 1200px;
  margin: 0 auto;
  padding: 42px 22px 96px;
}

.page-header {
  margin-bottom: 18px;
}

.page-header h1 {
  margin: 0;
  font-size: 44px;
  line-height: 1.12;
}

.page-subtitle {
  margin: 0;
  color: var(--muted);
}

.page-grid {
  display: grid;
  grid-template-columns: 270px 1fr;
  gap: 22px;
}

.subnav {
  position: sticky;
  top: 88px;
  align-self: start;
  display: grid;
  gap: 6px;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.9);
  box-shadow: var(--shadow-soft);
}

.subnav a {
  padding: 8px 9px;
  border-radius: 6px;
  color: var(--muted-strong);
  font-size: 14px;
  line-height: 1.35;
}

.subnav a:hover {
  background: var(--surface-strong);
  color: var(--ink);
}

.content-column {
  display: grid;
  gap: 20px;
}

.doc-section {
  padding: 22px;
}

.doc-section h2 {
  margin: 0 0 10px;
  font-size: 30px;
  line-height: 1.18;
}

.doc-section h3 {
  margin: 18px 0 8px;
  font-size: 20px;
}

.doc-section p {
  margin: 0 0 10px;
  color: var(--muted);
}

.doc-section ul,
.doc-section ol {
  margin: 12px 0 0;
  padding-left: 22px;
  color: var(--muted);
}

.doc-section ul {
  list-style: disc;
}

.doc-section ol {
  list-style: decimal;
}

.doc-section li {
  display: list-item;
  margin: 7px 0;
}

.doc-section li strong {
  color: var(--ink);
}

.docs-shell,
.feedback-shell {
  padding-top: 34px;
}

.docs-hero,
.feedback-hero {
  display: grid;
  gap: 16px;
  padding: 24px;
  border-radius: var(--radius);
  background: linear-gradient(135deg, #ffffff 0%, #e8f7ef 100%);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-soft);
}

.docs-hero h1,
.feedback-hero h1 {
  margin: 0;
  font-size: 44px;
  line-height: 1.12;
}

.docs-lead,
.feedback-lead {
  max-width: 920px;
  font-size: 17px;
  line-height: 1.75;
}

.docs-grid,
.feedback-grid {
  margin-top: 22px;
}

.docs-nav,
.feedback-nav {
  max-height: calc(100vh - 118px);
  max-height: calc(100dvh - 118px);
  overflow-y: auto;
  scrollbar-width: thin;
}

.docs-note {
  padding: 14px 16px;
  border-radius: var(--radius);
  background: #f2f7fa;
  border: 1px solid var(--line);
  color: var(--muted-strong);
}

.docs-note a,
.doc-section a {
  color: var(--blue-dark);
  font-weight: 800;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.doc-section pre {
  margin: 14px 0 0;
  padding: 14px 16px;
  overflow-x: auto;
  border-radius: var(--radius);
  border: 1px solid #263241;
  background: #111827;
  color: #e5edf5;
}

.doc-section pre code {
  display: block;
  padding: 0;
  border: 0;
  background: transparent;
  color: inherit;
  white-space: pre;
}

.docs-grid-2,
.docs-grid-3 {
  display: grid;
  gap: 14px;
  margin-top: 16px;
}

.docs-grid-2 {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.docs-grid-3 {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.docs-card,
.docs-example {
  padding: 16px 18px;
}

.docs-card h3,
.docs-example h3 {
  margin: 0 0 8px;
  font-size: 18px;
}

.docs-card p,
.docs-example p {
  margin: 0;
}

.docs-video-lesson {
  display: grid;
  gap: 12px;
}

.docs-video {
  width: 100%;
  display: block;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background: #111827;
}

.docs-table-wrap {
  margin-top: 14px;
  overflow-x: auto;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background: var(--surface);
}

.docs-table {
  width: 100%;
  min-width: 620px;
  border-collapse: collapse;
}

.docs-table th,
.docs-table td {
  padding: 12px 14px;
  text-align: left;
  border-bottom: 1px solid var(--line);
  vertical-align: top;
}

.docs-table th {
  color: var(--ink);
  font-size: 14px;
}

.docs-table td {
  color: var(--muted);
  font-size: 14px;
}

.docs-table tbody tr:last-child td {
  border-bottom: none;
}

.docs-faq-item + .docs-faq-item {
  margin-top: 12px;
}

.docs-footer-links {
  margin-top: 4px;
}

/* ---------- Feedback Page ---------- */
.feedback-callout {
  padding: 14px 16px;
  display: grid;
  gap: 6px;
}

.feedback-callout-title {
  margin: 0;
  font-size: 15px;
  color: var(--ink);
}

.feedback-callout-text {
  margin: 0;
  color: var(--muted);
}

.feedback-list {
  margin: 10px 0 0;
  padding-left: 18px;
}

.feedback-list li {
  margin: 7px 0;
  color: var(--muted);
}

.feedback-template {
  margin: 10px 0 0;
  padding: 12px 14px;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background: #101826;
  color: #e8eef6;
  overflow-x: auto;
  white-space: pre;
  font-size: 13px;
  line-height: 1.5;
}

.feedback-publish-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 10px;
  margin-top: 8px;
}

.feedback-publish-card {
  padding: 14px;
}

.feedback-publish-card h3 {
  margin: 0 0 6px;
  font-size: 16px;
}

.feedback-publish-card p {
  margin: 0;
}

/* ---------- Account Page ---------- */
.account-shell {
  padding-top: 34px;
}

.account-hero {
  display: grid;
  gap: 16px;
  padding: 24px;
  border-radius: var(--radius);
  background: linear-gradient(135deg, #ffffff 0%, #e8f7ef 100%);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-soft);
}

.account-hero h1 {
  margin: 0;
  font-size: 44px;
  line-height: 1.12;
}

.account-lead {
  max-width: 920px;
  font-size: 17px;
  line-height: 1.75;
}

.account-guest {
  margin-top: 22px;
}

.account-dashboard {
  display: grid;
  gap: 22px;
  margin-top: 22px;
}

.account-status-row {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}

.account-stat-card,
.account-plan-card,
.account-list-item,
.account-empty {
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background: var(--surface);
  box-shadow: var(--shadow-soft);
}

.account-stat-card {
  display: grid;
  gap: 5px;
  padding: 16px;
  min-width: 0;
}

.account-stat-card span {
  color: var(--muted);
  font-size: 13px;
  font-weight: 800;
}

.account-stat-card strong {
  overflow: hidden;
  color: var(--ink);
  font-size: 20px;
  line-height: 1.25;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.account-stat-card small {
  overflow: hidden;
  color: var(--muted);
  font-size: 12px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.account-grid {
  margin-top: 0;
}

.account-section {
  display: grid;
  gap: 16px;
}

.account-section-head {
  display: flex;
  align-items: start;
  justify-content: space-between;
  gap: 14px;
  flex-wrap: wrap;
}

.account-section-head h2,
.account-section h2 {
  margin-bottom: 0;
}

.account-section-head p,
.account-section > p {
  margin: 6px 0 0;
}

.account-renew-grid,
.account-security-grid,
.account-download-grid {
  display: grid;
  gap: 12px;
}

.account-renew-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.account-security-grid {
  grid-template-columns: minmax(260px, 0.8fr) minmax(0, 1.2fr);
  align-items: start;
}

.account-download-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.account-plan-card {
  display: grid;
  gap: 10px;
  padding: 16px;
}

.account-plan-card h3 {
  margin: 0;
}

.account-price {
  margin: 0;
  color: var(--ink);
  font-size: 26px;
  font-weight: 800;
}

.account-consent {
  max-width: 720px;
}

.account-actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.account-form {
  display: grid;
  gap: 12px;
}

.account-list {
  display: grid;
  gap: 10px;
}

.account-list-item {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 12px;
  align-items: center;
  padding: 12px 14px;
}

.account-list-item strong,
.account-list-item span {
  display: block;
  min-width: 0;
}

.account-list-item strong {
  overflow: hidden;
  color: var(--ink);
  text-overflow: ellipsis;
  white-space: nowrap;
}

.account-list-item span {
  color: var(--muted);
  font-size: 13px;
}

.account-list-item b {
  color: var(--muted-strong);
  white-space: nowrap;
}

.account-empty {
  padding: 12px 14px;
  color: var(--muted);
  background: rgba(255, 255, 255, 0.82);
}

.account-empty.is-error,
.account-feedback.is-error {
  color: var(--rose);
  font-weight: 800;
}

.account-feedback {
  min-height: 20px;
  color: var(--muted);
  font-size: 14px;
}

.account-feedback.is-success {
  color: var(--green-dark);
  font-weight: 800;
}

@media (max-width: 1100px) {
  .feature-grid,
  .pricing,
  .confidence-grid,
  .account-status-row,
  .account-download-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .steps {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .app-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .run-studio-layout {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 920px) {
  .nav {
    flex-wrap: wrap;
  }

  .menu {
    order: 3;
    width: 100%;
    justify-content: flex-start;
  }

  .site-hero {
    min-height: 620px;
    padding-top: 72px;
    padding-bottom: 58px;
  }

  .hero-inner h1,
  .section-copy h2,
  .section-head h2,
  .use-cases h2,
  .workspace-showcase h2,
  .page-header h1,
  .docs-hero h1,
  .feedback-hero h1,
  .account-hero h1 {
    font-size: 36px;
  }

  .hero-lead {
    font-size: 18px;
  }

  .proof-strip,
  .split-section,
  .page-grid {
    grid-template-columns: 1fr;
  }

  .run-studio-board {
    grid-template-columns: 1fr;
    min-height: auto;
  }

  .run-studio-shell {
    grid-template-columns: 1fr;
  }

  .subnav {
    position: relative;
    top: auto;
  }

  .docs-nav,
  .feedback-nav {
    max-height: none;
  }
}

@media (max-width: 720px) {
  .header-actions {
    width: auto;
  }

  .user-panel {
    flex-basis: 170px;
    max-width: 170px;
  }

  .nav {
    gap: 12px;
    padding-left: 18px;
    padding-right: 18px;
  }

  .menu {
    flex-wrap: nowrap;
    overflow-x: auto;
    padding-bottom: 2px;
  }

  .menu a {
    white-space: nowrap;
  }

  .site-hero {
    min-height: auto;
    padding: 42px 18px 26px;
  }

  .hero-scrim {
    background: rgba(11, 18, 23, 0.78);
  }

  .hero-inner h1 {
    font-size: 31px;
  }

  .hero-lead {
    font-size: 17px;
  }

  .hero-proof {
    display: none;
  }

  .feature-grid,
  .pricing,
  .confidence-grid,
  .account-status-row,
  .account-renew-grid,
  .account-security-grid,
  .account-download-grid,
  .steps,
  .app-grid,
  .run-studio-shell,
  .run-studio-metrics,
  .docs-grid-2,
  .docs-grid-3,
  .case-item,
  .cta-bar,
  .auth-modal {
    grid-template-columns: 1fr;
  }

  .app-panel {
    min-height: auto;
  }

  .proof-strip,
  main:not(.page-shell) > section:not(.site-hero):not(.proof-strip),
  footer,
  .page-shell {
    padding-left: 18px;
    padding-right: 18px;
  }

  main:not(.page-shell) > section:not(.site-hero):not(.proof-strip) {
    margin-top: 64px;
  }

  .cta-bar .cta {
    justify-self: start;
  }

  .modal {
    padding: 12px;
  }

  .modal-content {
    padding: 20px;
  }
}

@media (max-width: 520px) {
  .user-panel {
    flex: 0 0 auto;
  }

  .user-email {
    display: none;
  }
}
