:root {
  --blue: #113d70;
  --blue-deep: #092442;
  --blue-soft: #e8f1fb;
  --orange: hsl(25 95% 53%);
  --orange-deep: #c46112;
  --highlight: hsl(217 100% 73%);
  --ink: #18212b;
  --muted: #5d6978;
  --field-text: #2d6efa;
  --success: #16803c;
  --success-deep: #0f6b31;
  --danger: #b42318;
  --line: #d7e0ea;
  --surface: #ffffff;
  --page: #f7f9fc;
  --shadow: 0 18px 60px rgba(9, 36, 66, 0.12);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--page);
}

a {
  color: inherit;
}

p {
  line-height: 1.65;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 16px clamp(18px, 5vw, 64px);
  background: rgba(255, 255, 255, 0.96);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(10px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 850;
  text-decoration: none;
  white-space: nowrap;
}

.brand-mark {
  width: 38px;
  height: 38px;
  object-fit: contain;
}

.site-header nav {
  display: flex;
  align-items: center;
  gap: 30px;
}

.site-header nav a,
.site-header nav button {
  color: var(--blue-deep);
  background: transparent;
  border: 0;
  font: inherit;
  font-weight: 750;
  text-decoration: none;
  cursor: pointer;
}

.site-header .nav-button {
  padding: 10px 14px;
  color: white;
  background: var(--blue);
  border-radius: 6px;
}

.nav-menu {
  position: relative;
}

.nav-menu-trigger {
  padding: 0;
}

.nav-submenu {
  position: absolute;
  top: 100%;
  right: 0;
  z-index: 30;
  display: none;
  min-width: 180px;
  padding: 10px;
  background: white;
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.nav-menu:hover .nav-submenu,
.nav-menu:focus-within .nav-submenu {
  display: grid;
  gap: 8px;
}

.nav-submenu a,
.nav-submenu button {
  width: 100%;
  padding: 8px 10px;
  text-align: left;
}

.hero {
  padding: clamp(56px, 8vw, 104px) clamp(18px, 6vw, 84px);
  color: white;
  background: linear-gradient(120deg, rgba(9, 36, 66, 0.96), rgb(35 53 84)), hsl(222 47% 11%);
}

.hero-main {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(320px, 0.95fr);
  gap: clamp(28px, 5vw, 72px);
  align-items: center;
}

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

.eyebrow {
  margin: 0 0 12px;
  color: var(--orange);
  font-size: 0.78rem;
  font-weight: 850;
  letter-spacing: 0;
  text-transform: uppercase;
}

h1,
h2,
h3 {
  margin: 0;
  color: var(--blue-deep);
  letter-spacing: 0;
}

.hero h1 {
  color: white;
  font-size: clamp(3rem, 7vw, 5rem);
  line-height: 1.05;
}

.page-hero h1,
.callout h2,
.final-cta h2 {
  font-size: clamp(2.1rem, 4.4vw, 4rem);
  line-height: 1.02;
}

.section h2 {
  font-size: 3rem;
  line-height: 1.02;
}

.title-orange {
  color: var(--orange);
}

.title-highlight {
  color: var(--highlight);
}

.hero .lede {
  max-width: 660px;
  margin: 24px 0 0;
  color: rgba(255, 255, 255, 0.88);
  font-size: 1.18rem;
}

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

.hero-lede-list p {
  margin: 0;
}

.hero-lede-list ul {
  display: grid;
  gap: 5px;
  margin: 0;
  padding: 0;
  list-style-position: inside;
}

.hero-lede-list strong {
  font-weight: 900;
}

.hero p:not(.eyebrow) {
  color: rgba(255, 255, 255, 0.84);
}

.hero-subline {
  margin: 20px 0 0;
  font-weight: 850;
}

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 30px;
}

.hero-actions {
  justify-content: center;
  margin-top: clamp(24px, 4vw, 44px);
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 180px;
  min-height: 46px;
  padding: 12px 18px;
  border: 1px solid transparent;
  border-radius: 6px;
  font-weight: 850;
  text-decoration: none;
  white-space: nowrap;
  cursor: pointer;
}

.button.primary {
  color: white;
  background: var(--orange);
}

.button.secondary {
  color: white;
  background: var(--blue);
  border-color: var(--blue);
}

.button.success {
  color: white;
  background: var(--success);
  border-color: var(--success);
}

.button.warning {
  color: white;
  background: var(--orange-deep);
  border-color: var(--orange-deep);
}

.button.danger {
  color: white;
  background: var(--danger);
  border-color: var(--danger);
}

.button:disabled {
  opacity: 0.55;
  cursor: not-allowed;
}

.button.full {
  width: 100%;
}

.product-panel,
.price-card,
.auth-card,
.account-card,
.card-grid article,
.screenshot-grid article,
.feature-list article,
.timeline article,
.support-form,
.legal-notes article,
.faq-list details {
  background: white;
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.hero-panel {
  color: var(--ink);
  padding: 0;
  border: none;
}

.hero-panel img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 6px;
}

.mock-toolbar {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 12px;
  color: var(--muted);
  background: var(--page);
  border-radius: 6px;
  font-size: 0.82rem;
}

.mock-toolbar strong,
.assessment-head span,
.recommended-label {
  display: inline-flex;
  align-items: center;
  padding: 5px 9px;
  color: white;
  background: var(--orange);
  border-radius: 999px;
  font-size: 0.78rem;
}

.mock-contact {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 14px;
  margin: 16px 0;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 8px;
}

.avatar {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  color: white;
  background: var(--blue);
  border-radius: 50%;
  font-weight: 850;
}

.mock-contact p,
.mock-contact small,
.section-heading p,
.section p,
.page-hero p,
.price-card p,
.account-card dd,
.form-note,
.faq-list p {
  color: var(--muted);
}

.assessment {
  padding: 16px;
  background: #fbfdff;
  border: 1px solid var(--line);
  border-radius: 8px;
}

.assessment-head,
.score-row,
dl div {
  display: flex;
  justify-content: space-between;
  gap: 16px;
}

.assessment li,
.price-card li {
  margin: 10px 0;
}

.status-strip {
  margin-top: 14px;
  padding: 12px;
  color: var(--blue-deep);
  background: var(--blue-soft);
  border-left: 5px solid var(--orange);
  border-radius: 6px;
  font-weight: 850;
}

.section,
.callout,
.final-cta,
.page-shell,
.account-layout,
.auth-shell,
.site-footer > * {
  width: min(1120px, calc(100% - 36px));
  margin: 0 auto;
}

.section,
.callout,
.final-cta {
  padding: 65px 0;
}

.intro-section {
  max-width: 880px;
  text-align: center;
}

.section-heading {
  margin-bottom: 28px;
}

.section-heading.center,
.pricing .section-heading {
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}

.steps-grid,
.card-grid,
.screenshot-grid {
  display: grid;
  gap: 22px;
}

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

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

.steps-grid article,
.card-grid article,
.screenshot-grid article {
  padding: 24px;
}

.steps-grid h3,
.card-grid h3 {
  min-height: 46px;
}

.steps-grid span,
.screenshot-grid span,
.feature-list span,
.timeline span {
  display: inline-flex;
  margin-bottom: 14px;
  color: var(--orange-deep);
  font-weight: 900;
}

.split-callout {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(300px, 0.75fr);
  gap: clamp(28px, 5vw, 64px);
  align-items: center;
  padding-left: clamp(20px, 4vw, 44px);
  padding-right: clamp(20px, 4vw, 44px);
  background: white;
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.blue-callout {
  border: 1px solid var(--blue);
}

.hero-intro-callout {
  grid-template-columns: minmax(0, 0.75fr) minmax(300px, 0.95fr);
  margin: clamp(32px, 5vw, 64px) auto 0;
  width: min(1120px, calc(100% - 36px));
  padding-top: 30px;
  padding-right: 0;
  padding-bottom: 30px;
}

.hero-intro-callout h2 {
  font-size: 3rem;
  line-height: 1.02;
}

.hero .hero-intro-callout p {
  color: var(--muted);
}

.process-visual {
  display: grid;
  gap: 12px;
  padding: 24px;
  background: var(--page);
  border: 1px solid var(--line);
  border-radius: 8px;
}

.process-visual > div {
  padding: 14px;
  color: var(--blue-deep);
  background: white;
  border: 1px solid var(--line);
  border-radius: 6px;
  font-weight: 850;
}

.process-visual > span {
  width: 2px;
  height: 18px;
  margin: 0 auto;
  background: var(--orange);
}

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

.list-grid small {
  padding: 8px;
  background: var(--blue-soft);
  border-radius: 6px;
}

.dark-callout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 24px;
  align-items: center;
  padding-left: clamp(24px, 5vw, 54px);
  padding-right: clamp(24px, 5vw, 54px);
  color: white;
  background: var(--blue-deep);
  border-radius: 8px;
}

.dark-callout h2,
.dark-callout p {
  color: white;
}

.check-list {
  display: grid;
  gap: 10px;
  padding: 0;
  list-style: none;
}

.check-list li::before {
  content: "";
  display: inline-block;
  width: 10px;
  height: 10px;
  margin-right: 10px;
  background: var(--orange);
  border-radius: 50%;
}

.screenshot-grid article {
  min-height: 210px;
}

.score-row {
  padding: 10px 0;
  border-bottom: 1px solid var(--line);
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(280px, 380px));
  gap: 24px;
  justify-content: center;
  margin-top: 28px;
}

.price-card {
  position: relative;
  display: grid;
  grid-template-rows: auto minmax(96px, auto) auto auto 1fr auto;
  gap: 18px;
  padding: 30px;
}

.price-card h2 {
  color: var(--highlight);
}

.plan-intro {
  margin: 0;
}

.price-card.recommended {
  border-color: var(--orange);
}

.recommended-label {
  position: absolute;
  top: 18px;
  right: 18px;
}

.price {
  margin: 9px 0;
  color: var(--blue-deep);
  font-size: 2.35rem;
  font-weight: 900;
}

.trial-line {
  margin: 9px 0;
}

.price span {
  margin-left: 4px;
  color: var(--muted);
  font-size: 1rem;
}

.price-card ul {
  display: grid;
  align-content: start;
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.price-card li {
  position: relative;
  padding-left: 24px;
}

.price-card li::before {
  content: "\2713";
  position: absolute;
  left: 0;
  color: var(--success);
  font-weight: 900;
}

.final-cta {
  text-align: center;
}

.final-cta p {
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
  color: var(--muted);
}

.page-shell {
  padding: clamp(46px, 7vw, 86px) 0;
}

.page-hero {
  max-width: 820px;
  margin: 0 auto 42px;
  text-align: center;
}

.page-hero .button {
  margin-top: 12px;
}

.feature-list,
.timeline,
.faq-list,
.legal-notes {
  display: grid;
  gap: 16px;
}

.feature-list {
  margin-bottom: 2em;
}

.feature-list article,
.timeline article {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 20px;
  padding: 22px;
}

.support-split {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(320px, 1fr);
  gap: 28px;
  margin-top: 32px;
}

.support-form,
.support-contact-card,
.legal-notes article {
  padding: 26px;
}

.support-contact-card {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: white;
  box-shadow: var(--shadow);
}

.support-contact-card a {
  color: var(--blue);
  font-weight: 850;
}

.legal-page .page-hero {
  margin-bottom: 28px;
}

.legal-updated {
  color: var(--muted);
  font-size: 0.95rem;
}

.legal-document {
  display: grid;
  gap: 18px;
  max-width: 920px;
  margin: 0 auto;
}

.legal-document article {
  padding: 26px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: white;
  box-shadow: var(--shadow);
}

.legal-document h2 {
  margin-bottom: 10px;
  color: var(--blue-deep);
}

.legal-document p {
  margin: 10px 0 0;
  color: var(--muted);
  line-height: 1.7;
}

.legal-document a {
  color: var(--blue);
  font-weight: 800;
}

.faq-list {
  max-width: 840px;
  margin: 38px auto 0;
}

.faq-list details {
  padding: 18px 20px;
}

.faq-list summary {
  color: var(--blue-deep);
  font-weight: 850;
  cursor: pointer;
}

.pricing-faq details > summary {
  align-items: center;
}

.pricing-faq details > summary::before {
  margin-top: 0;
  border-top-width: 4px;
  border-bottom-width: 4px;
  border-left-width: 6px;
}

.auth-shell {
  display: grid;
  place-items: center;
  min-height: calc(100vh - 76px);
  padding: 32px 18px;
}

.pricing-comparison {
  margin-bottom: 28px;
}

.pricing-comparison h2 {
  margin-bottom: 18px;
  color: var(--blue-deep);
}

.pricing-comparison table th,
.pricing-comparison table td {
  text-align: center;
}

.pricing-comparison table th:first-child,
.pricing-comparison table td:first-child {
  text-align: left;
}

.feature-check {
  color: var(--success);
  font-size: 1.25rem;
  font-weight: 900;
}

.feature-cross {
  color: #ff1100;
  font-size: 1.15rem;
  font-weight: 900;
}

.auth-card {
  width: min(440px, 100%);
  padding: 30px;
}

label {
  display: grid;
  gap: 8px;
  margin-top: 16px;
  color: var(--blue-deep);
  font-weight: 800;
}

input,
textarea,
select {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: 6px;
  color: var(--field-text);
  font: inherit;
  font-weight: 400;
}

textarea {
  min-height: 120px;
  resize: vertical;
}

.form-error {
  padding: 12px;
  color: #7a1f1f;
  background: #fff1f1;
  border: 1px solid #ffd5d5;
  border-radius: 6px;
}

.success-message {
  padding: 14px;
  color: var(--blue-deep);
  background: var(--blue-soft);
  border-left: 5px solid var(--orange);
}

.settings-toast {
  position: fixed;
  top: 18px;
  left: 50%;
  z-index: 1000;
  width: min(420px, calc(100% - 36px));
  padding: 14px 18px;
  color: white;
  background: var(--success);
  border: 1px solid var(--success-deep);
  border-radius: 8px;
  box-shadow: 0 16px 48px rgba(15, 107, 49, 0.24);
  font-weight: 850;
  text-align: center;
  transform: translateX(-50%);
}

.settings-toast.is-hidden {
  display: none;
}

.account-layout {
  padding: 56px 0;
}

.account-layout h1,
.auth-card h1 {
  color: var(--blue-deep);
  font-size: clamp(2rem, 4vw, 3.8rem);
}

.account-grid,
.admin-stats {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
  margin-top: 28px;
}

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

.account-card,
.admin-stats article {
  padding: 26px;
}

.account-grid > .account-card {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.account-grid > .account-card > .button,
.account-grid > .account-card > form,
.account-grid > .account-card > .account-card-actions {
  margin-top: auto;
}

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

.account-card-actions form {
  display: grid;
}

.plan-choice-form,
.admin-form,
.inline-form,
.profile-form,
.profile-group-settings-form,
.comment-settings-form {
  display: grid;
  gap: 12px;
}

.account-section-heading {
  margin: 34px 0 16px;
}

.account-section-heading p,
.group-header p,
.profile-panel summary span,
.field-help,
.guidance-notes,
.locked-note {
  color: var(--muted);
}

.profile-group-card {
  display: grid;
  gap: 24px;
  margin-top: 20px;
}

.group-header {
  display: flex;
  align-items: flex-start;
  gap: 18px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--line);
  cursor: pointer;
}

.group-header h2 {
  margin-bottom: 6px;
}

.group-actions {
  display: flex;
  justify-content: flex-end;
  gap: 12px;
}

.inline-form,
.settings-grid,
.settings-columns {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  align-items: end;
}

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

.comment-drafting-controls {
  display: grid;
  grid-template-columns: minmax(160px, 2fr) minmax(150px, 1fr) minmax(150px, 1fr);
  gap: 16px;
  align-items: start;
}

.max-comment-drafts-field input {
  width: 33%;
  min-width: 72px;
}

.ask-question-setting {
  grid-column: 3;
}

.settings-columns {
  align-items: start;
}

.settings-columns > form,
.comment-settings-form,
.profile-list {
  padding-top: 18px;
  border-top: 1px solid var(--line);
}

.field-help {
  display: block;
  font-size: 0.75rem;
  font-weight: 500;
  line-height: 1.45;
}

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

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

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

.feature-availability article {
  padding: 14px;
  background: var(--page);
  border: 1px solid var(--line);
  border-radius: 8px;
}

.feature-availability strong,
.feature-availability span {
  display: block;
}

.feature-availability span {
  margin-top: 5px;
  color: var(--muted);
}

.usage-limits-panel {
  margin: 12px 0 16px;
}

.usage-limits-panel summary {
  color: var(--blue-deep);
  cursor: pointer;
  font-weight: 850;
}

.usage-table {
  font-size: 0.9rem;
}

.usage-table th,
.usage-table td {
  padding: 9px 10px;
}

.usage-table thead th {
  border-bottom: 1px solid var(--line);
  color: var(--blue-deep);
}

.usage-table tbody tr + tr th,
.usage-table tbody tr + tr td {
  border-top: 1px solid var(--line);
}

.locked-feature {
  opacity: 0.72;
}

.onboarding-panel {
  display: grid;
  gap: 20px;
}

.onboarding-panel .section-heading {
  margin-bottom: 0;
}

.onboarding-steps {
  display: grid;
  gap: 14px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.onboarding-steps li {
  display: grid;
  grid-template-columns: 34px minmax(0, 1fr);
  gap: 14px;
  align-items: start;
  padding: 16px;
  background: var(--page);
  border: 1px solid var(--line);
  border-radius: 8px;
}

.onboarding-steps li > span {
  display: grid;
  place-items: center;
  width: 30px;
  height: 30px;
  color: var(--muted);
  background: white;
  border: 1px solid var(--line);
  border-radius: 50%;
  font-weight: 900;
}

.onboarding-steps li.is-complete > span {
  color: white;
  background: var(--success);
  border-color: var(--success);
}

.onboarding-steps p {
  margin: 6px 0 12px;
  color: var(--muted);
}

.onboarding-hint {
  border-color: var(--blue);
}

.account-back-button {
  min-width: 0;
  margin-bottom: 14px;
}

.license-key-display {
  padding: 12px;
  color: var(--blue-deep);
  background: var(--blue-soft);
  border: 1px solid var(--line);
  border-radius: 6px;
  overflow-wrap: anywhere;
  font-weight: 750;
}

.license-key-display.is-hidden {
  color: var(--muted);
  font-weight: 650;
}

.renewal-countdown {
  margin: 0;
  font-weight: 850;
}

.renewal-safe {
  color: var(--success);
}

.renewal-soon {
  color: #0375fe;
}

.renewal-danger {
  color: #ff1100;
}

.checkbox-inline {
  display: flex;
  align-items: center;
  gap: 10px;
}

.checkbox-inline input {
  width: auto;
}

.confidence-slider-wrap {
  position: relative;
  padding-top: 5px;
}

.confidence-value {
  position: absolute;
  top: 0;
  color: var(--blue);
  font-size: 0.78rem;
  font-weight: 850;
  transform: translateX(-50%);
  white-space: nowrap;
}

.confidence-slider-wrap input[type="range"] {
  width: 100%;
}

.profile-list {
  display: grid;
  gap: 14px;
}

.duplicate-group-panel {
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--page);
}

.duplicate-group-panel summary {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--blue-deep);
  cursor: pointer;
  font-weight: 850;
}

.duplicate-group-panel[open] {
  display: grid;
  gap: 16px;
}

.profile-panel {
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #ebebeb;
}

.profile-panel summary {
  display: grid;
  grid-template-columns: auto auto minmax(130px, 1fr) minmax(160px, 1fr) auto auto;
  gap: 10px;
  align-items: center;
  color: var(--blue-deep);
  font-weight: 850;
  cursor: pointer;
}

.profile-panel summary span {
  margin-left: 8px;
  font-weight: 700;
}

.profile-order,
.status-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 26px;
  padding: 4px 8px;
  color: var(--blue-deep);
  background: var(--blue-soft);
  border-radius: 999px;
  font-size: 0.82rem;
  font-weight: 850;
}

.muted-pill {
  background: var(--page);
}

.raw-profile-details {
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fbfdff;
}

.raw-profile-details summary {
  display: inline-flex;
  align-items: center;
  color: var(--blue-deep);
  cursor: pointer;
  font-weight: 850;
}

.raw-profile-details[open] {
  display: grid;
  gap: 12px;
}

.raw-profile-details textarea {
  height: 100px;
}

.guidance-notes {
  display: grid;
  gap: 6px;
  padding: 12px;
  background: var(--page);
  border: 1px solid var(--line);
  border-radius: 8px;
  font-size: 0.9rem;
}

.guidance-notes p {
  margin: 0;
}

.threshold-scale {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  margin: 8px 0 0px;
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 750;
}

.locked-note {
  padding: 12px;
  background: var(--page);
  border-left: 5px solid var(--orange);
  border-radius: 6px;
  font-weight: 750;
}

.comment-tabs {
  display: grid;
  grid-template-columns: minmax(150px, 0.3fr) minmax(0, 1fr);
  border: 1px solid var(--line);
  border-radius: 8px;
  overflow: hidden;
}

.comment-tab-list {
  display: grid;
  align-content: start;
  background: var(--page);
  border-right: 1px solid var(--line);
}

.comment-tab-list button {
  appearance: none;
  width: 100%;
  padding: 14px;
  color: var(--blue-deep);
  background: transparent;
  border-bottom: 1px solid var(--line);
  border-left: 0;
  border-right: 0;
  border-top: 0;
  font-weight: 850;
  text-align: left;
  cursor: pointer;
}

.comment-tab-list button[aria-selected="true"] {
  color: white;
  background: var(--blue);
}

.comment-tab-panels {
  display: grid;
  gap: 18px;
  padding: 18px;
}

.comment-tab-panels textarea {
  min-height: 235px;
}

.comment-tab-panels textarea.post-type-textarea {
  height: 150px;
  min-height: 150px;
}

.comment-tab-panels [hidden] {
  display: none;
}

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

.profile-actions form {
  display: contents;
}

details > summary {
  list-style: none;
}

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

details > summary::before {
  content: "";
  margin-top: 8px;
  width: 0;
  height: 0;
  border-top: 5px solid transparent;
  border-bottom: 5px solid transparent;
  border-left: 8px solid var(--blue);
  transition: transform 0.15s ease;
}

details[open] > summary::before {
  transform: rotate(90deg);
}

.word-limit-field {
  display: inline-flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  color: var(--muted);
  font-size: 0.92rem;
  font-weight: 650;
}

.word-limit-field input {
  width: 110px;
}

.form-note {
  margin: 8px 0;
}

code {
  white-space: pre-wrap;
  overflow-wrap: anywhere;
}

.admin-form {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin: 18px 0 24px;
}

.plan-limit-table-wrap {
  grid-column: 1 / -1;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #f8fafc;
}

.plan-limit-table {
  margin-top: 10px;
}

.plan-limit-table th,
.plan-limit-table td {
  vertical-align: middle;
}

.plan-limit-table input {
  min-width: 110px;
  width: 100%;
}

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

.admin-form .button,
.admin-form .checkbox-inline {
  align-self: end;
}

.admin-stats article {
  background: white;
  border: 1px solid var(--line);
  border-radius: 8px;
}

.admin-stats strong {
  display: block;
  color: var(--blue);
  font-size: 2rem;
}

.admin-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 28px 0 18px;
}

.admin-tab {
  padding: 10px 14px;
  color: var(--blue-deep);
  background: white;
  border: 1px solid var(--line);
  border-radius: 6px;
  font-weight: 850;
  text-decoration: none;
}

.admin-tab.active {
  color: white;
  background: var(--blue);
  border-color: var(--blue);
}

.admin-debug-logs-card {
  width: calc(100vw - 32px);
  margin-left: calc(50% - 50vw + 16px);
  margin-right: calc(50% - 50vw + 16px);
}

.admin-debug-toolbar {
  display: flex;
  align-items: end;
  gap: 10px;
  flex-wrap: wrap;
}

.admin-debug-filter-form {
  flex: 1 1 720px;
}

.admin-debug-clear-form {
  display: flex;
  align-items: end;
  gap: 10px;
  margin: 0;
}

.admin-debug-log-table {
  table-layout: fixed;
  width: 100%;
}

.admin-debug-log-table th:nth-child(1),
.admin-debug-log-table td:nth-child(1) {
  width: 11%;
}

.admin-debug-log-table th:nth-child(2),
.admin-debug-log-table td:nth-child(2),
.admin-debug-log-table th:nth-child(4),
.admin-debug-log-table td:nth-child(4) {
  width: 6%;
}

.admin-debug-log-table th:nth-child(3),
.admin-debug-log-table td:nth-child(3) {
  width: 13%;
}

.admin-debug-log-table th:nth-child(5),
.admin-debug-log-table td:nth-child(5) {
  width: 12%;
}

.admin-debug-log-table th:nth-child(6),
.admin-debug-log-table td:nth-child(6) {
  width: 19%;
}

.admin-debug-log-table th:nth-child(7),
.admin-debug-log-table td:nth-child(7) {
  width: 33%;
}

.admin-debug-log-table td {
  overflow-wrap: anywhere;
  vertical-align: top;
}

.admin-debug-log-table code {
  white-space: pre-wrap;
}

.admin-user-list {
  display: grid;
  gap: 16px;
}

.admin-user-card {
  margin: 0;
}

.admin-user-card summary {
  display: grid;
  grid-template-columns: minmax(180px, 1.2fr) minmax(120px, 1fr) minmax(120px, 0.8fr) minmax(90px, 0.6fr);
  gap: 12px;
  align-items: center;
}

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

.admin-action-grid form {
  display: grid;
  gap: 10px;
  align-content: end;
}

.full-span {
  grid-column: 1 / -1;
}

.pagination {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 18px;
}

table {
  width: 100%;
  border-collapse: collapse;
}

.table-scroll {
  overflow-x: auto;
}

th,
td {
  padding: 10px;
  text-align: left;
  vertical-align: top;
  border-bottom: 1px solid var(--line);
}

th {
  color: var(--blue-deep);
}

dl {
  display: grid;
  gap: 14px;
}

dl div {
  padding-bottom: 12px;
  border-bottom: 1px solid var(--line);
}

dt {
  font-weight: 800;
}

dd {
  margin: 0;
  text-align: right;
}

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

.run-history-item {
  padding: 14px 0;
  border-top: 1px solid var(--line);
}

.run-history-item summary {
  display: grid;
  grid-template-columns: auto 1fr 1.1fr auto;
  gap: 16px;
  align-items: center;
  color: var(--blue-deep);
  cursor: pointer;
}

.run-history-counts {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin: 16px 0;
}

.run-history-counts dd {
  text-align: left;
}

.site-footer {
  color: white;
  background: var(--blue-deep);
}

.footer-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) repeat(2, minmax(160px, 0.45fr));
  gap: 34px;
  padding: 42px 0;
}

.site-footer strong {
  font-size: 1.25rem;
}

.site-footer h2 {
  margin-bottom: 12px;
  color: white;
  font-size: 1rem;
}

.site-footer p,
.site-footer a,
.footer-bottom {
  color: rgba(255, 255, 255, 0.72);
}

.site-footer a {
  display: block;
  margin: 0 0 8px 0;
  text-decoration: none;
}

.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  padding: 18px 0 28px;
  border-top: 1px solid rgba(255, 255, 255, 0.14);
}

@media (max-width: 980px) {
  .site-header {
    align-items: flex-start;
    flex-direction: column;
  }

  .site-header nav {
    flex-wrap: wrap;
  }

  .hero-main,
  .split-callout,
  .dark-callout,
  .support-split {
    grid-template-columns: 1fr;
  }

  .steps-grid,
  .card-grid.four,
  .card-grid.three,
  .screenshot-grid,
  .pricing-grid,
  .account-grid,
  .admin-stats,
  .admin-action-grid,
  .admin-user-card summary,
  .feature-availability,
  .footer-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 620px) {
  .site-header {
    position: static;
  }

  .hero h1 {
    font-size: 2.7rem;
  }

  .page-hero h1,
  .section h2,
  .callout h2,
  .final-cta h2 {
    font-size: 2.05rem;
  }

  .mock-toolbar,
  .assessment-head,
  dl div {
    flex-direction: column;
  }

  .feature-list article,
  .timeline article {
    grid-template-columns: 1fr;
  }

  .admin-form,
  .admin-form.compact,
  .run-history-counts,
  .run-history-item summary,
  .profile-panel summary,
  .comment-tabs {
    grid-template-columns: 1fr;
  }

  .inline-form,
  .settings-grid,
  .settings-grid.compact,
  .settings-columns,
  .comment-drafting-controls,
  .group-header {
    grid-template-columns: 1fr;
  }

  .ask-question-setting {
    grid-column: auto;
  }

  .comment-tab-list {
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .group-header {
    display: grid;
  }

  dd {
    text-align: left;
  }
}
