:root {
  --paper: #f7f4ea;
  --paper-2: #ece7d8;
  --surface: #fffdf7;
  --surface-2: #f1eee4;
  --ink: #18211e;
  --muted: #68716b;
  --line: #d8d1bf;
  --green: #2f6f5c;
  --green-2: #dfece5;
  --blue: #365f78;
  --blue-2: #e2ebef;
  --red: #9a4b45;
  --red-2: #f1dfdc;
  --amber: #9a6a2d;
  --amber-2: #f2e6cf;
  --shadow: 0 18px 42px rgba(24, 33, 30, 0.1);
  --z-sticky: 20;
  --z-modal: 40;
}

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

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  min-height: 100vh;
  background: var(--paper);
  color: var(--ink);
  font-family: "Noto Sans TC", system-ui, sans-serif;
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body::before {
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  content: "";
  background-image:
    repeating-linear-gradient(0deg, rgba(24, 33, 30, 0.035) 0 1px, transparent 1px 44px),
    repeating-linear-gradient(90deg, rgba(54, 95, 120, 0.035) 0 1px, transparent 1px 44px);
}

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

button,
input,
select {
  font: inherit;
}

button {
  cursor: pointer;
}

:focus-visible {
  outline: 3px solid rgba(47, 111, 92, 0.35);
  outline-offset: 3px;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1,
h2,
h3 {
  text-wrap: balance;
}

p {
  text-wrap: pretty;
}

.brand,
.workspace-card {
  display: inline-flex;
  align-items: center;
  gap: 12px;
}

.brand-mark {
  display: inline-grid;
  width: 44px;
  height: 44px;
  place-items: center;
  border-radius: 10px;
  background: var(--ink);
  color: var(--paper);
  font-family: "Noto Sans TC", system-ui, sans-serif;
  font-size: 12px;
  font-weight: 700;
}

.brand strong,
.brand small,
.workspace-card strong,
.workspace-card small {
  display: block;
}

.brand strong {
  font-family: "Noto Sans TC", system-ui, sans-serif;
  font-size: 20px;
  line-height: 1.15;
}

.brand small,
.workspace-card small,
.muted {
  color: var(--muted);
  font-size: 12px;
}

.workspace-switch {
  width: 100%;
  display: grid;
  gap: 4px;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 12px;
  background: var(--surface-2);
  color: var(--ink);
  text-align: left;
  cursor: pointer;
}

.workspace-switch span {
  color: var(--muted);
  font-size: 12px;
  font-weight: 700;
}

.workspace-switch strong {
  font-size: 15px;
}

.site-topbar,
.platform-topbar {
  position: sticky;
  top: 0;
  z-index: var(--z-sticky);
  display: grid;
  align-items: center;
  gap: 18px;
  min-height: 72px;
  padding: 14px clamp(18px, 3vw, 44px);
  border-bottom: 1px solid var(--line);
  background: rgba(247, 244, 234, 0.96);
}

.site-topbar {
  grid-template-columns: auto 1fr auto;
}

.platform-topbar {
  grid-template-columns: auto minmax(240px, 1fr) auto;
}

.topnav,
.topbar-actions,
.hero-actions,
.modal-actions,
.toolbar {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
}

.role-switcher {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 700;
  white-space: nowrap;
}

.role-switcher select {
  min-height: 38px;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 0 34px 0 12px;
  background-color: var(--surface);
  color: var(--ink);
}

.cloud-status {
  display: grid;
  gap: 2px;
  min-height: 42px;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 6px 12px;
  background: var(--surface);
  color: var(--ink);
  text-align: left;
}

.cloud-status span {
  color: var(--muted);
  font-size: 11px;
  font-weight: 700;
}

.cloud-status strong {
  max-width: 180px;
  overflow: hidden;
  font-size: 13px;
  line-height: 1.2;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.topnav {
  justify-content: flex-end;
  gap: clamp(12px, 2vw, 24px);
  color: var(--muted);
  font-size: 14px;
  font-weight: 700;
}

.topnav a:hover {
  color: var(--ink);
}

.btn,
.top-action,
.chip,
.text-button,
.icon-button,
.workspace-nav button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
  color: var(--ink);
  font-weight: 700;
}

.btn,
.top-action {
  padding: 0 16px;
}

.btn.primary,
.top-action {
  border-color: var(--ink);
  background: var(--ink);
  color: var(--paper);
}

.btn.secondary {
  background: var(--surface);
}

.text-button {
  min-height: auto;
  border: 0;
  padding: 0;
  background: transparent;
  color: var(--green);
}

.icon-button {
  width: 40px;
  height: 40px;
  padding: 0;
  font-size: 24px;
  line-height: 1;
}

.eyebrow,
.shot-header span,
.shot-grid span,
.proof-row strong,
.workflow-list span,
.module-grid span,
.pricing-grid span,
.metric-grid span,
.status,
.item-meta,
.assistant-panel span {
  color: var(--green);
  font-family: "Noto Sans TC", system-ui, sans-serif;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0;
  text-transform: uppercase;
}

.site-body .site-topbar + main {
  padding-top: 0;
}

.marketing-hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(360px, 0.82fr);
  gap: clamp(28px, 5vw, 72px);
  align-items: center;
  min-height: calc(100vh - 72px);
  width: min(1440px, calc(100% - 32px));
  margin: 0 auto;
  padding: clamp(36px, 6vw, 84px) 0;
}

.hero-copy h1 {
  max-width: 13ch;
  margin-bottom: 22px;
  font-family: "Noto Serif TC", serif;
  font-size: clamp(42px, 5.2vw, 76px);
  line-height: 1.08;
}

.lead {
  max-width: 720px;
  margin-bottom: 28px;
  color: var(--muted);
  font-size: clamp(17px, 1.7vw, 20px);
  line-height: 1.85;
}

.product-shot {
  display: grid;
  grid-template-columns: 78px 1fr;
  min-height: 520px;
  margin: 0;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--surface);
  box-shadow: var(--shadow);
}

.shot-sidebar {
  display: grid;
  align-content: start;
  justify-items: center;
  gap: 18px;
  padding: 18px 14px;
  border-right: 1px solid var(--line);
  background: var(--ink);
}

.shot-logo {
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  border: 1px solid rgba(247, 244, 234, 0.22);
  border-radius: 9px;
  color: var(--paper);
  font-family: "Noto Sans TC", system-ui, sans-serif;
  font-weight: 700;
}

.shot-sidebar i {
  width: 38px;
  height: 8px;
  border-radius: 999px;
  background: rgba(247, 244, 234, 0.34);
}

.shot-main {
  display: grid;
  align-content: center;
  gap: 16px;
  padding: clamp(20px, 4vw, 40px);
}

.shot-header,
.panel-head,
.view-head,
.item-head {
  display: flex;
  align-items: start;
  justify-content: space-between;
  gap: 14px;
}

.shot-header strong {
  font-family: "Noto Sans TC", system-ui, sans-serif;
  font-size: 82px;
  line-height: 0.9;
}

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

.shot-grid div,
.metric-grid article,
.shot-list,
.panel,
.module-grid article,
.pricing-grid article,
.proof-row article,
.workflow-list article {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
}

.shot-grid div {
  padding: 14px;
}

.shot-grid strong {
  display: block;
  margin-top: 4px;
  font-family: "Noto Sans TC", system-ui, sans-serif;
  font-size: 28px;
}

.shot-list {
  display: grid;
  gap: 10px;
  padding: 16px;
}

.shot-list p {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0;
  color: var(--muted);
}

.shot-list b {
  width: 11px;
  height: 11px;
  border-radius: 50%;
  background: var(--green);
}

.section-shell {
  width: min(1240px, calc(100% - 32px));
  margin: 0 auto;
  padding: clamp(40px, 6vw, 74px) 0;
}

.proof-row {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  padding-top: 0;
}

.proof-row article,
.workflow-list article,
.module-grid article,
.pricing-grid article {
  padding: 20px;
}

.proof-row strong {
  display: block;
  margin-bottom: 8px;
  color: var(--ink);
  font-size: 18px;
  text-transform: none;
}

.proof-row p,
.workflow-list p,
.module-grid p,
.pricing-grid p {
  margin-bottom: 0;
  color: var(--muted);
}

.split-section {
  display: grid;
  grid-template-columns: minmax(260px, 0.68fr) 1fr;
  gap: clamp(24px, 5vw, 70px);
  align-items: start;
}

.split-section h2,
.section-head h2,
.view-head h2 {
  margin-bottom: 0;
  font-family: "Noto Serif TC", serif;
  font-size: clamp(28px, 3vw, 44px);
  line-height: 1.18;
}

.workflow-list,
.module-grid,
.pricing-grid {
  display: grid;
  gap: 12px;
}

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

.workflow-list strong,
.module-grid strong,
.pricing-grid strong {
  display: block;
  margin: 8px 0;
  font-family: "Noto Serif TC", serif;
  font-size: 23px;
  line-height: 1.28;
}

.section-head {
  display: grid;
  gap: 6px;
  margin-bottom: 20px;
}

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

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

.pricing-grid article.featured {
  border-color: rgba(47, 111, 92, 0.38);
  background: var(--green-2);
}

.final-cta {
  margin-top: 18px;
}

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  width: min(1240px, calc(100% - 32px));
  margin: 0 auto;
  padding: 22px 0 32px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 14px;
}

.platform-body {
  background: var(--paper-2);
}

.quick-search {
  position: relative;
}

.quick-search label {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
}

.quick-search input,
label input,
label select {
  width: 100%;
  min-height: 42px;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 0 12px;
  background: var(--surface);
  color: var(--ink);
}

.quick-search input {
  max-width: 560px;
}

.platform-shell {
  display: grid;
  grid-template-columns: 280px minmax(0, 1fr);
  gap: 16px;
  width: min(1500px, calc(100% - 24px));
  margin: 16px auto 0;
  align-items: start;
}

.workspace-sidebar {
  position: sticky;
  top: 88px;
  display: grid;
  gap: 14px;
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 14px;
  background: var(--surface);
  box-shadow: 0 12px 30px rgba(24, 33, 30, 0.07);
}

.org-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--green);
}

.workspace-nav {
  display: grid;
  gap: 6px;
  padding: 12px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.workspace-nav button {
  justify-content: flex-start;
  padding: 0 12px;
  color: var(--muted);
  text-align: left;
}

.workspace-nav button.is-active {
  border-color: transparent;
  background: var(--green-2);
  color: var(--ink);
}

.assistant-panel {
  border: 1px solid rgba(54, 95, 120, 0.28);
  border-radius: 8px;
  padding: 14px;
  background: var(--blue-2);
}

.assistant-panel p {
  margin: 8px 0 0;
  color: var(--muted);
}

.workspace-main {
  display: grid;
  gap: 16px;
}

.setup-banner {
  display: none;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  border: 1px solid rgba(154, 106, 45, 0.36);
  border-radius: 10px;
  padding: clamp(20px, 3vw, 30px);
  background: var(--amber-2);
}

.setup-banner.is-visible {
  display: flex;
}

.setup-banner h1 {
  margin-bottom: 8px;
  font-family: "Noto Serif TC", serif;
  font-size: clamp(30px, 3.2vw, 44px);
  line-height: 1.18;
}

.setup-banner p:last-child {
  margin-bottom: 0;
  color: var(--muted);
}

.view-panel {
  display: none;
  gap: 16px;
}

.view-panel.is-active {
  display: grid;
}

.view-head {
  min-height: 68px;
  align-items: end;
}

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

.metric-grid article {
  min-height: 150px;
  padding: 18px;
}

.metric-grid strong {
  display: block;
  margin: 10px 0 8px;
  font-family: "Noto Sans TC", system-ui, sans-serif;
  font-size: 46px;
  line-height: 1;
  font-variant-numeric: tabular-nums;
}

.metric-grid p {
  margin-bottom: 0;
  color: var(--muted);
}

.view-note {
  max-width: 880px;
  margin: -4px 0 2px;
  color: var(--muted);
  font-size: 17px;
}

.workspace-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(330px, 0.85fr);
  gap: 16px;
}

.launchpad-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(320px, 0.95fr);
  gap: 16px;
}

.launch-list,
.notification-list {
  display: grid;
  gap: 10px;
}

.launch-item,
.notice-item {
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 14px;
  background: var(--surface);
}

.launch-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
}

.launch-item.is-done {
  border-color: var(--green);
  background: #eef5ef;
}

.launch-item label {
  display: flex;
  grid-template-columns: none;
  align-items: center;
  gap: 12px;
  color: var(--ink);
}

.launch-item input {
  width: 20px;
  height: 20px;
  accent-color: var(--green);
}

.launch-item strong,
.notice-item strong {
  display: block;
  font-size: 17px;
}

.launch-item small {
  display: block;
  color: var(--muted);
  font-size: 12px;
}

.notice-item p {
  margin: 6px 0 0;
  color: var(--muted);
}

.panel {
  padding: clamp(16px, 2.2vw, 24px);
}

.panel h3 {
  margin-bottom: 0;
  font-family: "Noto Serif TC", serif;
  font-size: 25px;
}

.panel-head {
  margin-bottom: 16px;
}

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

.stack-item,
.doc-card,
.team-card,
.progress-row {
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 14px;
  background: var(--surface);
}

.stack-item {
  display: grid;
  gap: 8px;
}

.item-title {
  margin: 0;
  font-weight: 700;
}

.item-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  color: var(--muted);
  text-transform: none;
}

.item-actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
}

.status {
  display: inline-flex;
  width: max-content;
  min-height: 26px;
  align-items: center;
  border-radius: 999px;
  padding: 0 9px;
  background: var(--green-2);
  color: var(--green);
  text-transform: none;
}

.status.high {
  background: var(--red-2);
  color: var(--red);
}

.status.medium {
  background: var(--amber-2);
  color: var(--amber);
}

.chip {
  min-height: 36px;
  padding: 0 12px;
  color: var(--muted);
}

.chip.is-active {
  border-color: var(--ink);
  background: var(--ink);
  color: var(--paper);
}

.full-list {
  align-content: start;
}

.document-grid,
.team-grid,
.platform-module-grid,
.assessment-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.doc-card,
.team-card,
.platform-module-card,
.assessment-card {
  min-height: 170px;
}

.doc-card strong,
.team-card strong,
.platform-module-card strong,
.assessment-card strong {
  display: block;
  margin: 8px 0;
  font-family: "Noto Serif TC", serif;
  font-size: 22px;
  line-height: 1.3;
}

.doc-card p,
.team-card p,
.platform-module-card p,
.assessment-card p {
  margin-bottom: 0;
  color: var(--muted);
}

.platform-module-card,
.assessment-card {
  display: grid;
  align-content: start;
  gap: 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 16px;
  background: var(--surface);
}

.platform-module-card ul {
  display: grid;
  gap: 6px;
  margin: 0;
  padding-left: 20px;
  color: var(--muted);
}

.platform-module-card .btn {
  width: 100%;
}

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

.segmented-actions .btn {
  min-height: 38px;
  padding: 0 8px;
}

.module-progress {
  display: grid;
  gap: 10px;
}

.progress-row {
  display: grid;
  gap: 8px;
}

.progress-row header {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  font-weight: 700;
}

.progress-track {
  height: 10px;
  overflow: hidden;
  border-radius: 999px;
  background: var(--surface-2);
}

.progress-track i {
  display: block;
  height: 100%;
  background: var(--green);
  transition: transform 180ms ease-out;
  transform-origin: left;
}

.empty-state {
  border: 1px dashed var(--line);
  border-radius: 8px;
  padding: 22px;
  background: rgba(255, 253, 247, 0.66);
  color: var(--muted);
}

.audit-list {
  display: grid;
  gap: 8px;
}

.audit-item {
  display: grid;
  gap: 4px;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 12px 14px;
  background: var(--surface);
}

.audit-item strong {
  font-size: 14px;
}

.audit-item span {
  color: var(--muted);
  font-size: 12px;
}

.report-card {
  display: grid;
  gap: 16px;
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: clamp(18px, 3vw, 28px);
  background: var(--surface);
}

.report-head {
  display: flex;
  align-items: start;
  justify-content: space-between;
  gap: 18px;
}

.report-head h3 {
  margin: 8px 0 0;
  font-family: "Noto Serif TC", serif;
  font-size: clamp(26px, 3vw, 38px);
}

.report-head > strong {
  font-family: "Noto Sans TC", system-ui, sans-serif;
  font-size: 70px;
  line-height: 0.9;
  font-variant-numeric: tabular-nums;
}

.report-grid,
.usage-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 10px;
}

.report-grid div,
.usage-card {
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 14px;
  background: var(--surface-2);
}

.report-grid span,
.usage-card span {
  color: var(--muted);
  font-family: "Noto Sans TC", system-ui, sans-serif;
  font-size: 12px;
  font-weight: 700;
}

.report-grid strong,
.usage-card strong {
  display: block;
  margin-top: 6px;
  font-family: "Noto Sans TC", system-ui, sans-serif;
  font-size: 28px;
  line-height: 1;
}

.usage-card p {
  margin: 8px 0 0;
  color: var(--muted);
}

.report-card pre {
  overflow-x: auto;
  margin: 0;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 16px;
  background: #fbf8ef;
  color: var(--ink);
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 13px;
  line-height: 1.75;
  white-space: pre-wrap;
}

.settings-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 0.72fr);
  gap: 16px;
}

.settings-grid .panel:last-child {
  grid-column: 1 / -1;
}

.settings-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 14px;
}

.hidden-file {
  display: none;
}

.permission-table {
  display: grid;
  gap: 8px;
}

.permission-table div {
  display: grid;
  grid-template-columns: 150px minmax(0, 1fr);
  gap: 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 12px 14px;
  background: var(--surface);
}

.permission-table div.is-current {
  border-color: var(--green);
  background: #eef5ef;
}

.permission-table span {
  color: var(--muted);
}

.api-key-box {
  display: grid;
  gap: 12px;
}

.api-key-box code {
  display: block;
  overflow-x: auto;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 12px;
  background: #fbf8ef;
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 13px;
}

.api-key-box p {
  margin: 0;
  color: var(--muted);
}

.integration-events {
  display: grid;
  gap: 8px;
}

.workspace-picker {
  display: grid;
  gap: 10px;
}

.cloud-panel {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(240px, 0.85fr);
  gap: 14px;
}

.cloud-panel article {
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 14px;
  background: var(--surface-2);
}

.cloud-panel article span {
  color: var(--muted);
  font-size: 12px;
  font-weight: 700;
}

.cloud-panel article strong {
  display: block;
  margin-top: 6px;
  font-size: 20px;
}

.cloud-panel article p {
  margin: 8px 0 0;
  color: var(--muted);
}

.workspace-option {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 14px;
  background: var(--surface);
}

.workspace-option.is-active {
  border-color: var(--green);
  background: #eef5ef;
}

.workspace-option strong {
  display: block;
  margin-top: 8px;
  font-size: 18px;
}

.workspace-option p {
  margin: 6px 0 0;
  color: var(--muted);
}

.empty-state strong {
  display: block;
  margin-bottom: 6px;
  color: var(--ink);
  font-family: "Noto Serif TC", serif;
  font-size: 22px;
}

.modal {
  width: min(760px, calc(100% - 24px));
  border: 0;
  border-radius: 12px;
  padding: 0;
  background: transparent;
  color: var(--ink);
}

.modal::backdrop {
  background: rgba(24, 33, 30, 0.42);
}

.modal-card {
  display: grid;
  gap: 18px;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: clamp(18px, 3vw, 28px);
  background: var(--surface);
  box-shadow: var(--shadow);
}

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

.modal-head h2 {
  margin-bottom: 0;
  font-family: "Noto Serif TC", serif;
  font-size: 30px;
}

.form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.form-grid.single {
  grid-template-columns: 1fr;
}

label {
  display: grid;
  gap: 6px;
  color: var(--muted);
  font-weight: 700;
}

.form-error {
  min-height: 20px;
  margin: 0;
  color: var(--red);
  font-weight: 700;
}

.modal-actions {
  justify-content: flex-end;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }
}

@media (max-width: 1120px) {
  .marketing-hero,
  .split-section,
  .platform-shell,
  .workspace-grid,
  .launchpad-grid,
  .metric-grid,
  .module-grid,
  .pricing-grid,
  .document-grid,
  .team-grid,
  .platform-module-grid,
  .assessment-grid,
  .settings-grid,
  .cloud-panel,
  .report-grid,
  .usage-grid {
    grid-template-columns: 1fr;
  }

  .workspace-sidebar {
    position: static;
  }

  .workspace-nav {
    display: flex;
    overflow-x: auto;
  }

  .workspace-nav button {
    min-width: max-content;
  }

  .product-shot {
    min-height: 440px;
  }
}

@media (max-width: 760px) {
  .site-topbar,
  .platform-topbar {
    position: static;
    grid-template-columns: 1fr;
  }

  .topnav {
    justify-content: flex-start;
    overflow-x: auto;
  }

  .top-action,
  .topbar-actions .btn,
  .cloud-status,
  .role-switcher,
  .hero-actions .btn,
  .setup-banner .btn,
  .quick-search input {
    width: 100%;
  }

  .topbar-actions,
  .role-switcher,
  .cloud-panel,
  .launch-item,
  .workspace-option {
    align-items: stretch;
    flex-direction: column;
  }

  .marketing-hero,
  .section-shell,
  .site-footer,
  .platform-shell {
    width: min(100% - 20px, 1440px);
  }

  .marketing-hero {
    min-height: auto;
    padding: 30px 0;
  }

  .hero-copy h1 {
    font-size: 40px;
  }

  .product-shot {
    grid-template-columns: 1fr;
    min-height: auto;
  }

  .shot-sidebar {
    grid-template-columns: repeat(5, auto);
    justify-content: start;
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .shot-sidebar i {
    width: 26px;
  }

  .shot-grid,
  .proof-row,
  .workflow-list,
  .form-grid {
    grid-template-columns: 1fr;
  }

  .site-footer,
  .setup-banner,
  .view-head,
  .modal-actions {
    align-items: stretch;
    flex-direction: column;
  }
}
