:root {
  --bg: #f4f8f2;
  --surface: #ffffff;
  --surface-soft: #edf5e8;
  --ink: #121714;
  --ink-soft: #4a544d;
  --line: #d7e1d3;
  --brand: #0b8f4d;
  --brand-strong: #07753e;
  --brand-soft: #d9f4e4;
  --warning: #d97706;
  --danger: #dc2626;
  --dark: #101512;
  --dark-soft: #1a221d;
  --radius-sm: 10px;
  --radius-md: 16px;
  --radius-lg: 26px;
  --radius-pill: 999px;
  --shadow-soft: 0 16px 35px rgba(18, 23, 20, 0.08);
  --shadow-hard: 0 20px 50px rgba(4, 10, 7, 0.22);
}

html[data-theme="dark"] {
  --bg: #0e1410;
  --surface: #141d17;
  --surface-soft: #18231b;
  --ink: #e6f5ec;
  --ink-soft: #a5b4ab;
  --line: #2d3c32;
  --brand: #24b869;
  --brand-strong: #129451;
  --brand-soft: #133222;
  --warning: #edac62;
  --danger: #ef9d9d;
  --shadow-soft: 0 16px 35px rgba(2, 7, 5, 0.32);
  --shadow-hard: 0 20px 50px rgba(1, 5, 3, 0.54);
}

* {
  box-sizing: border-box;
}

html,
body {
  min-height: 100%;
}

body.site-page,
body.customer-page {
  margin: 0;
  font-family: "Public Sans", "Segoe UI", sans-serif;
  color: var(--ink);
  background:
    radial-gradient(circle at 100% 0%, rgba(11, 143, 77, 0.12), transparent 36%),
    radial-gradient(circle at 0% 35%, rgba(255, 177, 87, 0.09), transparent 34%),
    var(--bg);
}

html[data-theme="dark"] body.site-page,
html[data-theme="dark"] body.customer-page {
  background:
    radial-gradient(circle at 100% 0%, rgba(36, 184, 105, 0.18), transparent 36%),
    radial-gradient(circle at 0% 35%, rgba(255, 177, 87, 0.08), transparent 34%),
    var(--bg);
}

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

h1,
h2,
h3,
h4,
.brand-title,
.customer-brand {
  font-family: "Sora", "Segoe UI", sans-serif;
  letter-spacing: -0.03em;
  margin: 0;
}

p {
  margin: 0;
}

.content-wrap {
  width: min(1180px, calc(100% - 2.5rem));
  margin-inline: auto;
}

.page-shell {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

.site-main {
  flex: 1;
  padding: 2rem 0 3.2rem;
}

.brand-link {
  display: inline-flex;
  align-items: center;
  gap: 0.72rem;
}

.brand-mark {
  width: 2.1rem;
  height: 2.1rem;
  flex-shrink: 0;
}

.brand-title {
  font-size: 1.16rem;
  font-weight: 700;
  color: #f4fdf8;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  color: #effbf3;
  background: rgba(16, 21, 18, 0.96);
  border-bottom: 1px solid rgba(198, 231, 211, 0.18);
  backdrop-filter: blur(10px);
}

.site-header .btn-ghost:hover {
  background: rgba(163, 235, 190, 0.15);
}

.site-header .btn-outline {
  border-color: rgba(210, 247, 224, 0.58);
  color: #e5ffef;
  background: transparent;
}

.site-header .btn-outline:hover {
  background: rgba(163, 235, 190, 0.14);
}

.topbar {
  min-height: 74px;
  display: grid;
  grid-template-columns: auto 1fr auto auto;
  align-items: center;
  gap: 1.1rem;
}

.top-nav {
  justify-self: center;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
}

.header-actions {
  display: inline-flex;
  gap: 0.55rem;
  justify-self: end;
  align-items: center;
}

.header-auth-actions {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
}

.site-theme-toggle {
  width: 2.35rem;
  height: 2.35rem;
  padding: 0;
}

.site-theme-toggle .site-theme-icon {
  display: inline-flex;
  width: 1.2rem;
  height: 1.2rem;
  flex-shrink: 0;
}

.site-theme-toggle .site-theme-icon path,
.site-theme-toggle .site-theme-icon circle {
  stroke-width: 2;
}

.site-theme-toggle .icon-light {
  display: none;
}

html[data-theme="dark"] .site-theme-toggle .icon-dark {
  display: none;
}

html[data-theme="dark"] .site-theme-toggle .icon-light {
  display: inline-flex;
}

.nav-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 2.2rem;
  padding: 0.42rem 0.9rem;
  border-radius: 999px;
  color: rgba(239, 255, 245, 0.88);
  font-size: 0.92rem;
  font-weight: 600;
  transition: background-color 0.2s ease, color 0.2s ease;
}

.nav-link:hover,
.nav-link.active {
  background: rgba(166, 255, 201, 0.16);
  color: #f7fff9;
}

.nav-toggle {
  width: 2.45rem;
  height: 2.45rem;
  border-radius: 0.7rem;
  border: 1px solid rgba(218, 240, 226, 0.38);
  background: rgba(255, 255, 255, 0.05);
  color: #f6fff9;
  display: none;
  align-items: center;
  justify-content: center;
}

.mobile-nav {
  display: none;
  margin-top: 0.8rem;
  border-radius: var(--radius-md);
  border: 1px solid rgba(196, 229, 210, 0.24);
  background: rgba(18, 26, 21, 0.94);
  padding: 0.65rem;
}

.mobile-nav-links {
  display: grid;
  gap: 0.35rem;
}

.mobile-nav-actions {
  margin-top: 0.65rem;
  padding-top: 0.65rem;
  border-top: 1px solid rgba(196, 229, 210, 0.18);
  display: grid;
  gap: 0.45rem;
}

.mobile-nav .nav-link {
  justify-content: flex-start;
}

.site-footer {
  border-top: 1px solid var(--line);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0), #edf4e9 78%);
}

.footer-inner {
  padding: 1.7rem 0 2.1rem;
  display: flex;
  gap: 1.3rem;
  align-items: flex-start;
  justify-content: space-between;
  color: var(--ink-soft);
}

.footer-title {
  font-family: "Sora", "Segoe UI", sans-serif;
  font-size: 1rem;
  font-weight: 600;
  color: var(--ink);
}

.footer-nav {
  display: flex;
  gap: 0.55rem;
  flex-wrap: wrap;
}

.footer-nav .btn {
  min-height: 2.05rem;
}

.alert {
  margin-bottom: 1rem;
  border-radius: var(--radius-md);
  border: 1px solid var(--line);
  background: var(--surface);
  color: var(--ink);
  padding: 0.85rem 1rem;
  box-shadow: var(--shadow-soft);
}

.alert-success {
  border-color: #7ec69a;
  background: #e8fff1;
  color: #0f5f34;
}

.alert-error {
  border-color: #ef9999;
  background: #ffecec;
  color: #8d1f1f;
}

.btn {
  min-height: 2.55rem;
  padding: 0.55rem 1.12rem;
  border-radius: var(--radius-pill);
  border: 1px solid transparent;
  font-size: 0.94rem;
  font-weight: 700;
  line-height: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  cursor: pointer;
  transition: transform 0.16s ease, box-shadow 0.16s ease, background-color 0.2s ease, border-color 0.2s ease;
}

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

.btn:focus-visible,
.input:focus,
.select:focus,
textarea:focus {
  outline: none;
  box-shadow: 0 0 0 3px rgba(11, 143, 77, 0.22);
}

.btn-primary {
  background: linear-gradient(135deg, var(--brand) 0%, #0ca858 100%);
  color: #f2fff8;
  border-color: #0a8547;
  box-shadow: 0 8px 18px rgba(11, 143, 77, 0.32);
}

.btn-primary:hover {
  box-shadow: 0 10px 24px rgba(11, 143, 77, 0.38);
}

.btn-secondary {
  background: var(--dark);
  color: #f2fff8;
  border-color: #232c26;
}

.btn-outline {
  border-color: #2c4f3b;
  color: #173025;
  background: #f9fffb;
}

.btn-outline:hover {
  background: #e9f5ee;
}

.btn-ghost {
  border-color: transparent;
  background: transparent;
  color: inherit;
}

.btn-ghost:hover {
  background: rgba(21, 37, 29, 0.08);
}

.btn-sm {
  min-height: 2.16rem;
  padding: 0.42rem 0.9rem;
  font-size: 0.84rem;
}

.btn-xs {
  min-height: 1.86rem;
  padding: 0.35rem 0.76rem;
  font-size: 0.8rem;
}

.badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 1.55rem;
  padding: 0.2rem 0.62rem;
  border-radius: var(--radius-pill);
  border: 1px solid #b8d9c4;
  background: #eff9f2;
  color: #14673c;
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}

.badge-outline {
  background: transparent;
  color: #345746;
}

.badge-warning {
  border-color: #f6c185;
  background: #ffefdd;
  color: #8b4f12;
}

.badge-success {
  border-color: #7ec69a;
  background: #e7fff1;
  color: #0c6c3d;
}

.label,
.label-text {
  color: #39443d;
  font-size: 0.9rem;
  font-weight: 600;
}

.form-control {
  display: grid;
  gap: 0.5rem;
}

.input,
.select,
textarea {
  width: 100%;
  border: 1px solid #bbcbc0;
  border-radius: 12px;
  background: #ffffff;
  color: #1a211d;
  padding: 0.68rem 0.78rem;
  font-size: 0.95rem;
}

.input::placeholder,
textarea::placeholder {
  color: #8a938d;
}

.checkbox {
  width: 1.03rem;
  height: 1.03rem;
  border: 1px solid #7f8b83;
  accent-color: #118f4f;
}

.card,
.panel-card {
  border-radius: var(--radius-lg);
  border: 1px solid var(--line);
  background: var(--surface);
  box-shadow: var(--shadow-soft);
}

.card-body {
  padding: 1.3rem;
}

.card-title {
  font-family: "Sora", "Segoe UI", sans-serif;
  font-size: 1.2rem;
  font-weight: 700;
  margin-bottom: 0.35rem;
}

.code-surface,
.mockup-code {
  border: 1px solid rgba(188, 213, 196, 0.35);
  border-radius: 18px;
  background: linear-gradient(180deg, #111813, #1b2620);
  color: #d9ece2;
}

.mockup-code {
  padding: 0.65rem 0.9rem;
  overflow-x: auto;
}

.mockup-code pre {
  margin: 0;
  white-space: pre-wrap;
  font-size: 0.84rem;
  line-height: 1.55;
}

.hero-section {
  border-radius: 32px;
  border: 1px solid rgba(176, 212, 188, 0.52);
  background:
    radial-gradient(circle at 85% 12%, rgba(11, 143, 77, 0.18), transparent 30%),
    radial-gradient(circle at 20% 85%, rgba(255, 177, 87, 0.22), transparent 34%),
    #ffffff;
  box-shadow: var(--shadow-hard);
  overflow: hidden;
  position: relative;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.08fr 0.92fr;
  gap: 2rem;
  padding: 2.2rem;
  align-items: center;
}

.hero-kicker {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.34rem 0.72rem;
  border-radius: var(--radius-pill);
  border: 1px solid rgba(11, 143, 77, 0.35);
  background: #eefbf2;
  color: #0c6f3d;
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.02em;
}

.hero-title {
  margin-top: 1rem;
  font-size: clamp(2rem, 5vw, 3.75rem);
  line-height: 1.05;
  color: #101512;
}

.hero-copy {
  margin-top: 1rem;
  max-width: 650px;
  color: #39443d;
  font-size: 1.08rem;
  line-height: 1.62;
}

.hero-actions {
  margin-top: 1.4rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.72rem;
}

.domain-inline-search {
  margin-top: 1rem;
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: end;
  gap: 0.65rem;
  max-width: 650px;
  padding: 0.74rem;
  border-radius: 18px;
  border: 1px solid #c6d8cb;
  background: #f8fcf7;
}

.domain-inline-search .form-control {
  gap: 0.35rem;
}

.domain-inline-search .btn {
  align-self: end;
}

.domain-inline-note {
  margin-top: 0.55rem;
  color: #4c5851;
  font-size: 0.88rem;
}

.hero-highlights {
  margin-top: 1.35rem;
  display: grid;
  gap: 0.55rem;
}

.hero-highlight {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  color: #2f3b34;
  font-size: 0.96rem;
}

.hero-dot {
  width: 0.53rem;
  height: 0.53rem;
  border-radius: 50%;
  background: #13a357;
}

.hero-terminal {
  border-radius: 24px;
  border: 1px solid rgba(185, 210, 196, 0.18);
  background: linear-gradient(165deg, #111813 0%, #1b2820 100%);
  color: #ddf5e7;
  padding: 1.1rem;
  box-shadow: 0 16px 32px rgba(12, 20, 15, 0.35);
}

.hero-terminal-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 0.75rem;
}

.hero-leds {
  display: inline-flex;
  gap: 0.32rem;
}

.hero-led {
  width: 0.54rem;
  height: 0.54rem;
  border-radius: 50%;
  background: rgba(224, 245, 232, 0.24);
}

.hero-led:nth-child(1) {
  background: #ff7f57;
}

.hero-led:nth-child(2) {
  background: #ffbf63;
}

.hero-led:nth-child(3) {
  background: #7fdca4;
}

.hero-terminal-title {
  font-size: 0.76rem;
  font-weight: 700;
  color: #9ecab0;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.hero-terminal pre {
  margin: 0;
  font-size: 0.83rem;
  line-height: 1.65;
  white-space: pre-wrap;
}

.stats-grid {
  margin-top: 1rem;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.65rem;
}

.stat-card {
  border-radius: 14px;
  border: 1px solid rgba(191, 217, 202, 0.2);
  background: rgba(8, 15, 11, 0.25);
  padding: 0.7rem;
}

.stat-label {
  display: block;
  font-size: 0.73rem;
  color: #9cc8af;
  text-transform: uppercase;
  letter-spacing: 0.07em;
}

.stat-value {
  display: block;
  margin-top: 0.35rem;
  font-family: "Sora", "Segoe UI", sans-serif;
  font-size: 1.25rem;
  color: #f2fff8;
}

.section-shell {
  margin-top: 1.35rem;
}

.section-head {
  margin-bottom: 1rem;
}

.section-kicker {
  display: inline-flex;
  align-items: center;
  min-height: 1.65rem;
  border-radius: var(--radius-pill);
  border: 1px solid #b6dbc4;
  background: #edf7f0;
  color: #0f6f3e;
  font-size: 0.74rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  padding: 0 0.7rem;
}

.section-title {
  margin-top: 0.65rem;
  font-size: clamp(1.6rem, 2.8vw, 2.45rem);
  line-height: 1.13;
}

.section-copy {
  margin-top: 0.55rem;
  max-width: 760px;
  color: #48524c;
  font-size: 1rem;
  line-height: 1.58;
}

.search-shell {
  border-radius: 26px;
  border: 1px solid #ccd9cc;
  background: #ffffff;
  box-shadow: var(--shadow-soft);
  padding: 1.35rem;
}

.domain-search-form {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: end;
  gap: 0.72rem;
  margin-bottom: 1.2rem;
}

.search-result-card {
  margin-top: 0.35rem;
  border-radius: 22px;
  border: 1px solid #cde0d2;
  background: #f8fcf7;
  padding: 1rem;
}

.search-result-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.search-result-copy {
  margin-top: 0.55rem;
  color: #425148;
}

.search-result-actions {
  margin-top: 0.95rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
}

.blog-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}

.blog-card {
  border-radius: var(--radius-lg);
  border: 1px solid var(--line);
  background: #ffffff;
  box-shadow: var(--shadow-soft);
  overflow: hidden;
}

.blog-card-image-link {
  display: block;
}

.blog-card-image {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  display: block;
}

.blog-card-body {
  padding: 1rem 1rem 1.1rem;
}

.blog-card-meta {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  flex-wrap: wrap;
  color: #4b5850;
  font-size: 0.82rem;
}

.blog-card-title {
  margin-top: 0.6rem;
  font-size: 1.2rem;
  line-height: 1.3;
}

.blog-card-summary {
  margin-top: 0.6rem;
  color: #4b5850;
  font-size: 0.95rem;
  line-height: 1.58;
}

.blog-card .btn {
  margin-top: 0.85rem;
}

.blog-post-shell {
  border-radius: 28px;
  border: 1px solid var(--line);
  background: #ffffff;
  box-shadow: var(--shadow-soft);
  padding: 1.35rem;
}

.blog-post-head {
  display: grid;
  gap: 0.55rem;
}

.blog-post-meta {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  flex-wrap: wrap;
  color: #4b5850;
  font-size: 0.84rem;
}

.blog-post-title {
  font-size: clamp(1.8rem, 3vw, 2.5rem);
  line-height: 1.15;
}

.blog-post-summary {
  color: #4b5850;
  font-size: 1rem;
  line-height: 1.6;
}

.blog-post-cover {
  margin-top: 1.05rem;
  width: 100%;
  border-radius: 18px;
  border: 1px solid #cddace;
}

.blog-post-content {
  margin-top: 1.1rem;
  display: grid;
  gap: 0.85rem;
  color: #1d251f;
  line-height: 1.72;
}

.blog-post-content h1,
.blog-post-content h2,
.blog-post-content h3,
.blog-post-content h4 {
  margin: 0.35rem 0 0;
  font-family: "Sora", "Segoe UI", sans-serif;
  line-height: 1.22;
}

.blog-post-content p,
.blog-post-content ul,
.blog-post-content ol,
.blog-post-content blockquote,
.blog-post-content pre {
  margin: 0;
}

.blog-post-content ul,
.blog-post-content ol {
  padding-left: 1.2rem;
}

.blog-post-content blockquote {
  border-left: 4px solid #8bc4a4;
  background: #f4faf6;
  border-radius: 12px;
  padding: 0.75rem 0.85rem;
}

.blog-post-content pre {
  overflow: auto;
  border-radius: 14px;
  border: 1px solid #c7d8cb;
  background: #f5faf7;
  padding: 0.75rem;
}

.site-pagination {
  margin-top: 1rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
}

.features-grid,
.pricing-grid,
.docs-grid,
.policy-grid {
  display: grid;
  gap: 1rem;
}

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

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

.feature-card,
.docs-step,
.policy-card,
.pricing-card {
  border-radius: var(--radius-lg);
  border: 1px solid var(--line);
  background: #ffffff;
  box-shadow: var(--shadow-soft);
  padding: 1.35rem;
}

.feature-icon {
  width: 2.45rem;
  height: 2.45rem;
  border-radius: 0.85rem;
  display: grid;
  place-items: center;
  font-weight: 700;
  color: #ecfff4;
  background: linear-gradient(135deg, #12a258, #0a7b42);
}

.feature-title,
.docs-step-title,
.policy-title,
.pricing-name {
  margin-top: 0.9rem;
  font-family: "Sora", "Segoe UI", sans-serif;
  font-size: 1.22rem;
  font-weight: 700;
}

.feature-copy,
.docs-step-copy,
.policy-copy,
.pricing-copy {
  margin-top: 0.58rem;
  color: #4d5850;
  font-size: 0.97rem;
  line-height: 1.58;
}

.workflow-shell {
  margin-top: 1.15rem;
  border-radius: 28px;
  border: 1px solid var(--line);
  background: linear-gradient(145deg, #f8fcf6, #ffffff);
  box-shadow: var(--shadow-soft);
  padding: 1.55rem;
}

.workflow-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.9rem;
}

.workflow-step {
  border-radius: 16px;
  border: 1px dashed #b7d3c1;
  background: #ffffff;
  padding: 0.95rem;
}

.workflow-index {
  font-family: "Sora", "Segoe UI", sans-serif;
  font-size: 0.85rem;
  color: #0f6f3e;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.workflow-title {
  margin-top: 0.4rem;
  font-family: "Sora", "Segoe UI", sans-serif;
  font-size: 1rem;
  font-weight: 700;
}

.workflow-copy {
  margin-top: 0.38rem;
  color: #4e5952;
  font-size: 0.9rem;
  line-height: 1.54;
}

.cta-banner {
  margin-top: 1.2rem;
  border-radius: 28px;
  border: 1px solid rgba(171, 212, 188, 0.45);
  background: linear-gradient(130deg, #112018 0%, #113123 100%);
  color: #e6fff0;
  padding: 1.7rem;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 1rem;
  align-items: center;
}

.cta-title {
  font-size: clamp(1.35rem, 2.6vw, 2rem);
}

.cta-copy {
  margin-top: 0.45rem;
  color: rgba(230, 255, 240, 0.84);
}

.cta-actions {
  display: flex;
  gap: 0.6rem;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.cta-banner .btn-outline {
  border-color: rgba(214, 250, 227, 0.7);
  background: transparent;
  color: #e6fff0;
}

.pricing-card.featured {
  border-color: rgba(11, 143, 77, 0.55);
  background: linear-gradient(160deg, #effbf3, #ffffff);
  transform: translateY(-4px);
}

.pricing-head {
  display: flex;
  justify-content: space-between;
  gap: 0.7rem;
  align-items: center;
}

.pricing-price {
  margin-top: 0.9rem;
  font-family: "Sora", "Segoe UI", sans-serif;
  font-size: 2rem;
  font-weight: 700;
}

.pricing-price small {
  font-size: 0.94rem;
  font-weight: 500;
  color: #5a645e;
}

.pricing-list {
  list-style: none;
  margin: 0.95rem 0 0;
  padding: 0;
  display: grid;
  gap: 0.55rem;
}

.pricing-list li {
  padding-left: 1.15rem;
  position: relative;
  color: #47524a;
  font-size: 0.94rem;
}

.pricing-list li::before {
  content: "";
  width: 0.46rem;
  height: 0.46rem;
  border-radius: 50%;
  background: #10a156;
  position: absolute;
  left: 0;
  top: 0.42rem;
}

.docs-step-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.7rem;
}

.docs-step-index {
  font-family: "Sora", "Segoe UI", sans-serif;
  font-size: 0.92rem;
  color: #0d733f;
}

.docs-step .mockup-code {
  margin-top: 0.8rem;
}

.policy-card {
  min-height: 100%;
}

.policy-note {
  margin-top: 1.15rem;
  border-radius: 18px;
  border: 1px solid #bfd8c8;
  background: #edf7f0;
  padding: 1rem;
  color: #2f4638;
  line-height: 1.58;
}

.auth-shell {
  margin-top: 0.6rem;
  display: grid;
  grid-template-columns: 0.96fr 1.04fr;
  border-radius: 30px;
  border: 1px solid #c4d7c8;
  overflow: hidden;
  box-shadow: var(--shadow-hard);
  background: #ffffff;
}

.auth-brand {
  background:
    radial-gradient(circle at 78% 10%, rgba(11, 143, 77, 0.34), transparent 34%),
    radial-gradient(circle at 10% 80%, rgba(255, 177, 87, 0.24), transparent 35%),
    linear-gradient(150deg, #132119, #162a1f 62%);
  color: #ecfff4;
  padding: 2rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.auth-brand h1 {
  font-size: clamp(1.8rem, 3.2vw, 2.7rem);
  line-height: 1.15;
}

.auth-brand p {
  margin-top: 0.8rem;
  color: rgba(233, 255, 243, 0.8);
  line-height: 1.62;
}

.auth-points {
  margin-top: 1.3rem;
  display: grid;
  gap: 0.55rem;
}

.auth-point {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: #daf9e8;
  font-size: 0.92rem;
}

.auth-point-dot {
  width: 0.48rem;
  height: 0.48rem;
  border-radius: 50%;
  background: #35d080;
}

.auth-form-panel {
  padding: 1.6rem;
  background: #fcfffd;
}

.auth-form-panel h2 {
  font-size: 1.65rem;
  font-weight: 700;
}

.auth-form-panel p {
  margin-top: 0.45rem;
  color: #4b564f;
}

.auth-form-panel form {
  margin-top: 1.1rem;
  display: grid;
  gap: 0.9rem;
}

.auth-meta-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.7rem;
}

.auth-remember-row {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  width: fit-content;
  cursor: pointer;
  margin: 0;
  padding: 0;
}

.auth-remember-row .label-text {
  margin: 0;
  flex: 0 0 auto;
  line-height: 1;
}

.auth-text-link {
  color: #0b7d44;
  font-weight: 700;
  font-size: 0.88rem;
}

.auth-form-panel .text-error {
  color: #ad2727;
  font-size: 0.84rem;
}

.auth-switch {
  margin-top: 0.9rem;
  color: #4a564f;
  font-size: 0.9rem;
}

.auth-switch a {
  color: #0b7d44;
  font-weight: 700;
}

.customer-shell {
  height: 100dvh;
  max-height: 100dvh;
  display: grid;
  grid-template-columns: 286px 1fr;
  overflow: hidden;
}

.customer-sidebar {
  border-right: 1px solid rgba(167, 225, 192, 0.2);
  background:
    radial-gradient(circle at 75% 0%, rgba(18, 148, 81, 0.22), transparent 42%),
    linear-gradient(180deg, #0f1712 0%, #101c15 100%);
  color: #e8fff1;
  padding: 1.15rem;
  display: grid;
  grid-template-rows: auto minmax(0, 1fr) auto;
  gap: 1rem;
  position: sticky;
  top: 0;
  height: 100dvh;
  max-height: 100dvh;
  overflow: hidden;
  z-index: 21;
}

.customer-brand-wrap {
  display: grid;
  gap: 0.42rem;
}

.customer-brand {
  color: #edfff4;
  font-size: 1.26rem;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  gap: 0.62rem;
}

.customer-brand-note {
  margin: 0;
  color: rgba(219, 249, 232, 0.78);
  font-size: 0.8rem;
  letter-spacing: 0.02em;
}

.customer-nav {
  display: grid;
  grid-auto-rows: max-content;
  align-content: start;
  gap: 0.34rem;
  min-height: 0;
  overflow-y: auto;
  overscroll-behavior: contain;
  padding-right: 0.2rem;
}

.customer-nav-link {
  min-height: 2.48rem;
  border-radius: 12px;
  padding: 0.58rem 0.78rem;
  color: rgba(228, 252, 238, 0.9);
  font-size: 0.9rem;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  transition: background-color 0.2s ease, color 0.2s ease, transform 0.2s ease;
}

.customer-nav-link:hover,
.customer-nav-link.active {
  background: rgba(163, 244, 194, 0.16);
  color: #f3fff8;
}

.customer-nav-link:hover {
  transform: translateX(2px);
}

.customer-sidebar-foot {
  margin-top: 0;
  display: grid;
  gap: 0.45rem;
}

.customer-sidebar-home {
  border: 1px solid rgba(205, 243, 219, 0.44);
  color: #e4ffee;
  background: rgba(158, 233, 189, 0.08);
}

.customer-sidebar-home:hover {
  border-color: rgba(205, 243, 219, 0.62);
  color: #e4ffee;
  background: rgba(158, 233, 189, 0.14);
}

.customer-sidebar .btn-outline {
  width: 100%;
  border-color: rgba(205, 243, 219, 0.68);
  color: #e4ffee;
  background: transparent;
}

.customer-sidebar .btn-outline:hover {
  border-color: rgba(205, 243, 219, 0.68);
  color: #e4ffee;
  background: transparent;
}

.customer-main {
  min-height: 0;
  display: flex;
  flex-direction: column;
  min-width: 0;
  height: 100dvh;
  max-height: 100dvh;
  overflow: hidden;
}

.customer-topbar {
  position: sticky;
  top: 0;
  z-index: 20;
  min-height: 74px;
  padding: 0 1rem;
  border-bottom: 1px solid var(--line);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.8rem;
  background: rgba(252, 255, 253, 0.9);
  backdrop-filter: blur(12px);
}

.customer-topbar h1 {
  font-size: 1.02rem;
  font-weight: 700;
  line-height: 1;
}

.customer-topbar-copy {
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 0.13rem;
}

.customer-topbar-actions {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
}

.customer-user-chip {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  border-radius: 999px;
  border: 1px solid #ccdcd2;
  background: #f8fcf9;
  padding: 0.24rem 0.48rem 0.24rem 0.24rem;
  max-width: min(360px, 45vw);
  min-width: 0;
}

.customer-user-avatar {
  width: 1.92rem;
  height: 1.92rem;
  border-radius: 999px;
  display: grid;
  place-items: center;
  font-size: 0.78rem;
  font-weight: 800;
  color: #effff4;
  background: linear-gradient(135deg, #14b25f 0%, #0d7f45 100%);
}

.customer-user-copy {
  min-width: 0;
  display: grid;
  gap: 0.03rem;
}

.customer-user-copy strong {
  font-size: 0.8rem;
  font-weight: 700;
  color: #122219;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.customer-user-copy span {
  font-size: 0.69rem;
  font-weight: 700;
  color: #546159;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.customer-content {
  flex: 1 1 auto;
  min-height: 0;
  overflow-y: auto;
  overscroll-behavior: contain;
  padding: 1.15rem;
}

.customer-main-inner {
  width: min(1120px, 100%);
  margin-inline: auto;
  display: grid;
  gap: 1rem;
}

.customer-topbar-left {
  min-width: 0;
  display: inline-flex;
  align-items: center;
  gap: 0.68rem;
}

.customer-topbar-subtitle {
  margin: 0;
  color: #5b695f;
  font-size: 0.8rem;
}

.customer-page-head {
  border-radius: 22px;
  border: 1px solid #cfdfd4;
  background:
    radial-gradient(circle at 92% 20%, rgba(11, 143, 77, 0.12), transparent 42%),
    linear-gradient(145deg, #f8fcf9, #ffffff);
  box-shadow: var(--shadow-soft);
  padding: 1.1rem 1.2rem;
}

.customer-page-title {
  font-size: clamp(1.3rem, 2.4vw, 1.72rem);
  line-height: 1.15;
}

.customer-page-copy {
  margin-top: 0.42rem;
  color: #4f5b53;
  line-height: 1.58;
  max-width: 66ch;
}

.customer-empty-card {
  border-radius: var(--radius-lg);
  border: 1px solid var(--line);
  background: #ffffff;
  box-shadow: var(--shadow-soft);
  padding: 1.25rem;
  display: grid;
  gap: 0.72rem;
}

.customer-empty-card h3 {
  font-size: 1.25rem;
}

.customer-empty-card p {
  color: #4e5952;
  line-height: 1.6;
}

.customer-empty-actions {
  display: flex;
  gap: 0.6rem;
  flex-wrap: wrap;
}

.customer-kpi-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.85rem;
}

.customer-kpi-card {
  border-radius: 20px;
  border: 1px solid #cfdfd4;
  background: linear-gradient(165deg, #fcfffd, #f2f9f4);
  padding: 1rem;
}

.customer-kpi-label {
  display: block;
  color: #4d5952;
  font-size: 0.82rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.customer-kpi-value {
  margin-top: 0.4rem;
  display: block;
  font-family: "Sora", "Segoe UI", sans-serif;
  font-size: 1.7rem;
  line-height: 1.05;
}

.customer-tenant-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}

.customer-tenant-card {
  border-radius: 22px;
  border: 1px solid var(--line);
  background: #ffffff;
  box-shadow: var(--shadow-soft);
  padding: 1.1rem;
}

.customer-tenant-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 0.65rem;
}

.customer-tenant-head h3 {
  font-size: 1.13rem;
}

.customer-tenant-copy {
  margin-top: 0.56rem;
  color: #4e5952;
  line-height: 1.56;
}

.customer-tenant-actions {
  margin-top: 0.95rem;
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
}

.customer-card {
  border-radius: var(--radius-lg);
  border: 1px solid var(--line);
  background: #ffffff;
  box-shadow: var(--shadow-soft);
  padding: 1.15rem;
}

.customer-card-head {
  margin-bottom: 0.9rem;
  display: grid;
  gap: 0.3rem;
}

.customer-card-title {
  font-family: "Sora", "Segoe UI", sans-serif;
  font-size: 1.15rem;
  font-weight: 700;
  line-height: 1.2;
}

.customer-card-copy {
  color: #4f5b53;
  line-height: 1.56;
}

.customer-split-grid {
  display: grid;
  grid-template-columns: 1.06fr 0.94fr;
  gap: 1rem;
}

.customer-form-card,
.customer-help-card {
  min-height: 100%;
}

.customer-form-stack {
  margin-top: 0.8rem;
  display: grid;
  gap: 0.8rem;
}

.customer-bullet-list {
  margin: 0;
  padding-left: 1rem;
  display: grid;
  gap: 0.35rem;
  color: #3f4b43;
  line-height: 1.5;
}

.customer-toolbar-card,
.customer-filter-card {
  padding: 1rem 1.1rem;
}

.customer-toolbar-row {
  display: grid;
  grid-template-columns: minmax(220px, 1fr) auto;
  gap: 0.8rem;
  align-items: end;
}

.customer-toolbar-actions {
  display: flex;
  gap: 0.55rem;
  align-items: center;
  justify-content: flex-start;
  flex-wrap: wrap;
}

.customer-field {
  display: grid;
  gap: 0.45rem;
}

.customer-field span {
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: #415047;
}

.customer-field-wide {
  grid-column: span 2;
}

.customer-target-type-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.65rem;
}

.customer-target-type-option {
  border-radius: 14px;
  border: 1px solid #c9d8cf;
  background: #f8fcfa;
  padding: 0.72rem 0.78rem;
  display: grid;
  gap: 0.22rem;
  cursor: pointer;
  transition: border-color 0.18s ease, background-color 0.18s ease, transform 0.18s ease;
}

.customer-target-type-option:hover {
  border-color: #7ab390;
  transform: translateY(-1px);
}

.customer-target-type-option input[type="radio"] {
  margin: 0;
  accent-color: #11914f;
}

.customer-target-type-option strong {
  font-family: "Sora", "Segoe UI", sans-serif;
  font-size: 0.95rem;
  color: #1a261f;
}

.customer-target-type-option small {
  color: #4f5f56;
  font-size: 0.78rem;
}

.customer-target-type-option:has(input:checked) {
  border-color: #4b9b6b;
  background: #effaf3;
  box-shadow: 0 0 0 2px rgba(17, 145, 79, 0.16);
}

.customer-target-helper {
  color: #4f5c54;
  font-size: 0.8rem;
  line-height: 1.4;
}

.customer-target-map {
  border-radius: 12px;
  border: 1px solid #c8d8ce;
  background: #f5fbf7;
  color: #244233;
  padding: 0.6rem 0.72rem;
  font-size: 0.82rem;
  line-height: 1.4;
}

.customer-target-ssl-row {
  border-radius: 12px;
  border: 1px solid #c8d8ce;
  background: #f8fcfa;
  padding: 0.58rem 0.72rem;
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  width: fit-content;
  max-width: 100%;
}

.customer-target-ssl-row span {
  color: #2d3f34;
  font-size: 0.85rem;
  font-weight: 600;
}

.customer-inline-form {
  margin-top: 1rem;
}

.customer-validation-card {
  margin-top: 0.9rem;
  border-radius: 14px;
  border: 1px solid #c8d8ce;
  background: #f7fbf8;
  padding: 0.82rem 0.9rem;
  display: grid;
  gap: 0.7rem;
}

.customer-validation-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
}

.customer-validation-title {
  margin: 0;
  font-size: 0.88rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: #3f4c43;
}

.customer-validation-steps {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.54rem;
}

.customer-validation-step {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 0.55rem;
  align-items: start;
  border-radius: 11px;
  border: 1px solid #d7e4dc;
  background: #ffffff;
  padding: 0.5rem 0.62rem;
}

.customer-validation-step strong {
  display: block;
  font-size: 0.84rem;
  color: #1f2a23;
}

.customer-validation-step p {
  margin: 0.18rem 0 0;
  color: #4f5c53;
  font-size: 0.82rem;
  line-height: 1.4;
}

.customer-validation-dot {
  width: 0.58rem;
  height: 0.58rem;
  border-radius: 50%;
  margin-top: 0.36rem;
  background: #99aaa0;
}

.customer-validation-step.is-running {
  border-color: #87bddf;
  background: #f4faff;
}

.customer-validation-step.is-running .customer-validation-dot {
  background: #2f8ec8;
  box-shadow: 0 0 0 4px rgba(47, 142, 200, 0.16);
}

.customer-validation-step.is-success {
  border-color: #9fd4b3;
  background: #f4fbf6;
}

.customer-validation-step.is-success .customer-validation-dot {
  background: #14954f;
}

.customer-validation-step.is-error {
  border-color: #e4aaaa;
  background: #fff6f6;
}

.customer-validation-step.is-error .customer-validation-dot {
  background: #ca4444;
}

.customer-validation-summary {
  margin: 0;
  font-size: 0.84rem;
  color: #425046;
}

.customer-domain-chip {
  display: flex;
  align-items: center;
  gap: 0.58rem;
  flex-wrap: wrap;
}

.customer-domain-chip strong {
  font-family: "Sora", "Segoe UI", sans-serif;
  font-size: 1.05rem;
}

.customer-insights-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}

.customer-workspace-grid {
  display: grid;
  grid-template-columns: minmax(270px, 0.95fr) minmax(0, 1.25fr);
  gap: 1rem;
}

.customer-metric-list {
  margin: 0 0 0.9rem;
  padding: 0;
  display: grid;
  gap: 0.55rem;
}

.customer-metric-list div {
  border-radius: 12px;
  border: 1px solid #d2dfd7;
  background: #f7fbf8;
  padding: 0.56rem 0.72rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.6rem;
}

.customer-metric-list dt {
  font-size: 0.76rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: #4a5850;
}

.customer-metric-list dd {
  margin: 0;
  font-weight: 700;
  color: #18231d;
}

.customer-filter-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.8rem;
  align-items: end;
}

.customer-filter-actions {
  grid-column: 1 / -1;
  display: flex;
  gap: 0.55rem;
  flex-wrap: wrap;
}

.customer-table-card {
  padding: 0;
  overflow: hidden;
}

.customer-table-card .customer-card-head {
  padding: 1.1rem 1.2rem 0.25rem;
  margin-bottom: 0;
}

.customer-table-wrap {
  overflow-x: auto;
  padding: 0.5rem 1.2rem 1.2rem;
}

.customer-empty-table {
  text-align: center;
  color: #5f695f;
  padding: 1.35rem 1rem !important;
}

.customer-pagination {
  margin-top: 0.9rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  margin-left: 10px;
  margin-bottom: 10px;
}

.customer-pagination .btn {
  min-width: 2.2rem;

}

.customer-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(5, 10, 8, 0.62);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s ease;
  z-index: 11;
}

.customer-backdrop.open {
  opacity: 1;
  pointer-events: auto;
}

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

.table th,
.table td {
  padding: 0.8rem 0.72rem;
  text-align: left;
  border-bottom: 1px solid #d8e2d4;
  font-size: 0.9rem;
}

.table thead th {
  font-family: "Sora", "Segoe UI", sans-serif;
  color: #304137;
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.table-zebra tbody tr:nth-child(even) {
  background: #f5faf4;
}

.join {
  display: flex;
  flex-wrap: wrap;
  gap: 0.36rem;
}

.join-item {
  border-radius: var(--radius-pill);
}

.btn-active {
  background: #0e8d4d;
  color: #f2fff8;
  border-color: #0c7a43;
}

.animate-enter {
  animation: enter-up 0.65s ease both;
}

.stagger-grid > * {
  animation: enter-up 0.6s ease both;
}

.stagger-grid > :nth-child(1) {
  animation-delay: 0.06s;
}

.stagger-grid > :nth-child(2) {
  animation-delay: 0.12s;
}

.stagger-grid > :nth-child(3) {
  animation-delay: 0.18s;
}

.stagger-grid > :nth-child(4) {
  animation-delay: 0.24s;
}

@keyframes enter-up {
  from {
    opacity: 0;
    transform: translateY(14px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

html[data-theme="dark"] .site-header {
  background: rgba(9, 15, 11, 0.94);
  border-bottom-color: rgba(129, 178, 150, 0.26);
}

html[data-theme="dark"] .site-header .btn-ghost:hover {
  background: rgba(118, 180, 145, 0.2);
}

html[data-theme="dark"] .site-header .btn-outline {
  border-color: rgba(189, 231, 208, 0.52);
}

html[data-theme="dark"] .site-header .btn-outline:hover {
  background: rgba(139, 205, 170, 0.2);
}

html[data-theme="dark"] .nav-toggle {
  border-color: rgba(151, 189, 168, 0.45);
  background: rgba(12, 22, 16, 0.75);
}

html[data-theme="dark"] .mobile-nav {
  border-color: rgba(126, 168, 145, 0.32);
  background: rgba(10, 18, 13, 0.96);
}

html[data-theme="dark"] .mobile-nav-actions {
  border-top-color: rgba(126, 168, 145, 0.24);
}

html[data-theme="dark"] .site-footer {
  border-top-color: var(--line);
  background: linear-gradient(180deg, rgba(20, 29, 23, 0), #111913 78%);
}

html[data-theme="dark"] .btn-outline {
  border-color: #4d6657;
  color: #d8efe1;
  background: #1b2820;
}

html[data-theme="dark"] .btn-outline:hover {
  background: #223127;
}

html[data-theme="dark"] .btn-secondary {
  background: #1a2720;
  color: #e5f6ed;
  border-color: #3a4d42;
}

html[data-theme="dark"] .btn-ghost:hover {
  background: rgba(153, 209, 177, 0.14);
}

html[data-theme="dark"] .alert-success {
  border-color: #32674b;
  background: #13271a;
  color: #b1e7c6;
}

html[data-theme="dark"] .alert-error {
  border-color: #6a3838;
  background: #2a1717;
  color: #efb0b0;
}

html[data-theme="dark"] .label,
html[data-theme="dark"] .label-text {
  color: #a6b8ae;
}

html[data-theme="dark"] .input,
html[data-theme="dark"] .select,
html[data-theme="dark"] textarea {
  border-color: #44594d;
  background: #101813;
  color: #dcefe5;
}

html[data-theme="dark"] .input::placeholder,
html[data-theme="dark"] textarea::placeholder {
  color: #8d9f94;
}

html[data-theme="dark"] .checkbox {
  border-color: #5a6b62;
}

html[data-theme="dark"] .badge-outline {
  border-color: #4f6659;
  color: #b5cfc1;
}

html[data-theme="dark"] .badge-warning {
  border-color: #7b5b39;
  background: #2f2317;
  color: #f0bf83;
}

html[data-theme="dark"] .badge-success {
  border-color: #3c7156;
  background: #13271a;
  color: #a8e0be;
}

html[data-theme="dark"] .card,
html[data-theme="dark"] .panel-card,
html[data-theme="dark"] .feature-card,
html[data-theme="dark"] .docs-step,
html[data-theme="dark"] .policy-card,
html[data-theme="dark"] .pricing-card,
html[data-theme="dark"] .blog-card,
html[data-theme="dark"] .blog-post-shell,
html[data-theme="dark"] .search-shell,
html[data-theme="dark"] .auth-shell,
html[data-theme="dark"] .auth-form-panel,
html[data-theme="dark"] .customer-empty-card,
html[data-theme="dark"] .customer-tenant-card,
html[data-theme="dark"] .customer-card,
html[data-theme="dark"] .customer-kpi-card {
  border-color: var(--line);
  background: var(--surface);
  color: var(--ink);
}

html[data-theme="dark"] .hero-section {
  border-color: #385542;
  background:
    radial-gradient(circle at 85% 12%, rgba(36, 184, 105, 0.2), transparent 32%),
    radial-gradient(circle at 20% 85%, rgba(255, 177, 87, 0.18), transparent 34%),
    #141d17;
}

html[data-theme="dark"] .hero-title {
  color: var(--ink);
}

html[data-theme="dark"] .hero-copy,
html[data-theme="dark"] .domain-inline-note,
html[data-theme="dark"] .hero-highlight,
html[data-theme="dark"] .section-copy,
html[data-theme="dark"] .search-result-copy,
html[data-theme="dark"] .blog-card-meta,
html[data-theme="dark"] .blog-card-summary,
html[data-theme="dark"] .blog-post-meta,
html[data-theme="dark"] .blog-post-summary,
html[data-theme="dark"] .feature-copy,
html[data-theme="dark"] .docs-step-copy,
html[data-theme="dark"] .policy-copy,
html[data-theme="dark"] .pricing-copy,
html[data-theme="dark"] .workflow-copy,
html[data-theme="dark"] .customer-page-copy,
html[data-theme="dark"] .customer-card-copy,
html[data-theme="dark"] .customer-empty-card p,
html[data-theme="dark"] .customer-tenant-copy,
html[data-theme="dark"] .customer-topbar-subtitle,
html[data-theme="dark"] .auth-form-panel p,
html[data-theme="dark"] .auth-switch {
  color: var(--ink-soft);
}

html[data-theme="dark"] .hero-kicker,
html[data-theme="dark"] .section-kicker {
  border-color: #3f6a54;
  background: #1b3428;
  color: #99dfb9;
}

html[data-theme="dark"] .domain-inline-search {
  border-color: #3c5546;
  background: #16241c;
}

html[data-theme="dark"] .search-result-card {
  border-color: #3c5546;
  background: #16241c;
}

html[data-theme="dark"] .workflow-shell {
  border-color: var(--line);
  background: linear-gradient(145deg, #17241c, #141d17);
}

html[data-theme="dark"] .workflow-step {
  border-color: #476a57;
  background: #192820;
}

html[data-theme="dark"] .workflow-index,
html[data-theme="dark"] .docs-step-index {
  color: #95dcb6;
}

html[data-theme="dark"] .pricing-card.featured {
  border-color: rgba(36, 184, 105, 0.56);
  background: linear-gradient(160deg, #18261e, #141d17);
}

html[data-theme="dark"] .pricing-price small {
  color: #9eb0a5;
}

html[data-theme="dark"] .pricing-list li {
  color: #b9cdc1;
}

html[data-theme="dark"] .policy-note {
  border-color: #3f5a4b;
  background: #17261e;
  color: #b8cdc1;
}

html[data-theme="dark"] .blog-post-cover {
  border-color: #3f5a4b;
}

html[data-theme="dark"] .blog-post-content {
  color: #d7ecdf;
}

html[data-theme="dark"] .blog-post-content blockquote {
  border-color: #4a7f62;
  background: #1a2a21;
}

html[data-theme="dark"] .blog-post-content pre {
  border-color: #44584b;
  background: #132019;
}

html[data-theme="dark"] .auth-shell {
  border-color: var(--line);
  background: #141d17;
}

html[data-theme="dark"] .auth-switch a,
html[data-theme="dark"] .auth-text-link,
html[data-theme="dark"] .link {
  color: #85d9ad;
}

html[data-theme="dark"] .customer-topbar {
  border-bottom-color: var(--line);
  background: rgba(20, 29, 23, 0.9);
}

html[data-theme="dark"] .customer-topbar .nav-toggle {
  border-color: #41554a;
  background: #18231c;
  color: #d4e9de;
}

html[data-theme="dark"] .customer-user-chip {
  border-color: #3f5448;
  background: #1a2720;
}

html[data-theme="dark"] .customer-user-copy strong {
  color: #e8f7ee;
}

html[data-theme="dark"] .customer-user-copy span {
  color: #9eb1a5;
}

html[data-theme="dark"] .customer-page-head {
  border-color: var(--line);
  background:
    radial-gradient(circle at 92% 20%, rgba(36, 184, 105, 0.16), transparent 42%),
    linear-gradient(145deg, #17241c, #141d17);
}

html[data-theme="dark"] .customer-kpi-card {
  background: linear-gradient(165deg, #18261e, #142019);
}

html[data-theme="dark"] .customer-kpi-label,
html[data-theme="dark"] .customer-field span,
html[data-theme="dark"] .customer-metric-list dt {
  color: #a5b7ac;
}

html[data-theme="dark"] .customer-bullet-list {
  color: #b7cbc0;
}

html[data-theme="dark"] .customer-target-type-option {
  border-color: #375042;
  background: #16231c;
}

html[data-theme="dark"] .customer-target-type-option:hover {
  border-color: #5f8f75;
}

html[data-theme="dark"] .customer-target-type-option strong {
  color: #e5f4eb;
}

html[data-theme="dark"] .customer-target-type-option small {
  color: #a7b9af;
}

html[data-theme="dark"] .customer-target-type-option:has(input:checked) {
  border-color: #4fa06e;
  background: #193025;
  box-shadow: 0 0 0 2px rgba(36, 184, 105, 0.22);
}

html[data-theme="dark"] .customer-target-helper {
  color: #a6b9ae;
}

html[data-theme="dark"] .customer-target-map {
  border-color: #355145;
  background: #16261e;
  color: #b6d7c4;
}

html[data-theme="dark"] .customer-target-ssl-row {
  border-color: #355145;
  background: #16261e;
}

html[data-theme="dark"] .customer-target-ssl-row span {
  color: #b6d7c4;
}

html[data-theme="dark"] .customer-validation-card {
  border-color: #3d5146;
  background: #15221a;
}

html[data-theme="dark"] .customer-validation-title {
  color: #abc0b5;
}

html[data-theme="dark"] .customer-validation-step {
  border-color: #32473c;
  background: #18261e;
}

html[data-theme="dark"] .customer-validation-step strong {
  color: #e3f2e9;
}

html[data-theme="dark"] .customer-validation-step p,
html[data-theme="dark"] .customer-validation-summary {
  color: #a5b8ae;
}

html[data-theme="dark"] .customer-validation-step.is-running {
  border-color: #376788;
  background: #152738;
}

html[data-theme="dark"] .customer-validation-step.is-success {
  border-color: #3f6e52;
  background: #15271c;
}

html[data-theme="dark"] .customer-validation-step.is-error {
  border-color: #744c4c;
  background: #27181a;
}

html[data-theme="dark"] .customer-metric-list div {
  border-color: #3b5346;
  background: #18261e;
}

html[data-theme="dark"] .customer-metric-list dd {
  color: #e0f1e8;
}

html[data-theme="dark"] .table th,
html[data-theme="dark"] .table td {
  border-bottom-color: #314338;
  color: #d7e9df;
}

html[data-theme="dark"] .table thead th {
  color: #a8bab0;
}

html[data-theme="dark"] .table-zebra tbody tr:nth-child(even) {
  background: #18261e;
}

html[data-theme="dark"] .customer-empty-table {
  color: #9faf9f;
}

.link {
  color: #0b7d44;
  font-weight: 700;
}

.text-error {
  color: #b42a2a;
}

.inline {
  display: inline;
}

.max-w-sm {
  max-width: 24rem;
}

.max-w-xl {
  max-width: 36rem;
}

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

@media (max-width: 1120px) {
  .hero-grid,
  .auth-shell {
    grid-template-columns: 1fr;
  }

  .hero-grid {
    padding: 1.5rem;
  }

  .cta-banner {
    grid-template-columns: 1fr;
  }

  .cta-actions {
    justify-content: flex-start;
  }
}

@media (max-width: 980px) {
  .topbar {
    grid-template-columns: auto 1fr auto auto;
  }

  .top-nav,
  .header-auth-actions {
    display: none;
  }

  .nav-toggle {
    display: inline-flex;
    justify-self: end;
  }

  .mobile-nav.open {
    display: block;
  }

  .features-grid,
  .policy-grid {
    grid-template-columns: 1fr;
  }

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

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

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

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

  .domain-inline-search,
  .domain-search-form {
    grid-template-columns: 1fr;
  }

  .footer-inner {
    flex-direction: column;
  }

  .customer-shell {
    grid-template-columns: 1fr;
    min-height: 100vh;
    height: auto;
    max-height: none;
  }

  .customer-sidebar {
    position: fixed;
    inset: 0 auto 0 0;
    width: 286px;
    transform: translateX(-110%);
    transition: transform 0.2s ease;
    z-index: 22;
  }

  .customer-sidebar.open {
    transform: translateX(0);
  }

  .customer-main {
    min-height: 100vh;
    height: 100dvh;
    max-height: 100dvh;
  }

  .customer-topbar .nav-toggle {
    display: inline-flex;
    color: #1b2a22;
    border-color: #bccbc1;
    background: #ffffff;
    margin-right: 0.55rem;
  }

  .customer-topbar {
    padding: 0 0.95rem;
  }

  .customer-topbar-subtitle {
    display: none;
  }

  .customer-user-chip {
    max-width: min(250px, 48vw);
  }

  .customer-user-copy span {
    display: none;
  }

  .customer-kpi-grid,
  .customer-tenant-grid,
  .customer-split-grid,
  .customer-toolbar-row,
  .customer-insights-grid,
  .customer-workspace-grid,
  .customer-filter-grid {
    grid-template-columns: 1fr;
  }

  .customer-field-wide,
  .customer-filter-actions {
    grid-column: auto;
  }

  .customer-toolbar-actions .btn,
  .customer-filter-actions .btn {
    width: 100%;
  }
}

@media (max-width: 720px) {
  .content-wrap {
    width: min(1180px, calc(100% - 1.1rem));
  }

  .site-main {
    padding-top: 1.3rem;
  }

  .hero-title {
    font-size: 1.95rem;
  }

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

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

  .auth-brand,
  .auth-form-panel,
  .customer-content {
    padding: 1rem;
  }

  .auth-meta-row {
    flex-direction: column;
    align-items: flex-start;
  }

  .customer-topbar-actions {
    gap: 0.38rem;
  }

  .customer-user-chip {
    padding: 0.2rem;
  }

  .customer-user-copy {
    display: none;
  }

  .customer-main-inner {
    gap: 0.85rem;
  }

  .customer-page-head,
  .customer-card,
  .customer-empty-card {
    border-radius: 20px;
  }

  .customer-page-head {
    padding: 0.95rem 1rem;
  }

  .customer-card {
    padding: 1rem;
  }

  .customer-target-type-grid {
    grid-template-columns: 1fr;
  }

  .customer-table-card .customer-card-head {
    padding: 0.95rem 1rem 0.2rem;
  }

  .customer-table-wrap {
    padding: 0.45rem 0.72rem 0.88rem;
  }

  .customer-empty-actions .btn,
  .customer-tenant-actions .btn {
    width: 100%;
  }
}

.support-thread {
  display: flex;
  flex-direction: column;
  gap: 0.9rem;
  margin-top: 1rem;
}

.support-msg {
  padding: 0.9rem 1rem;
  border-radius: var(--radius-md);
  background: var(--surface);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-soft);
}

.support-msg-user {
  background: #f7fbf8;
}

.support-msg-admin {
  background: var(--brand-soft);
  border-color: #b6e9c8;
}

.support-msg-meta {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  margin-bottom: 0.35rem;
}

html[data-theme="dark"] .support-msg {
  background: #152018;
  border-color: #2f4237;
  box-shadow: none;
}

html[data-theme="dark"] .support-msg-user {
  background: #121b15;
}

html[data-theme="dark"] .support-msg-admin {
  background: #1a3325;
  border-color: #3f6d54;
}
