/* OX-VPN brand system v4: shield-led visuals with a restrained editorial type scale. */
:root,
html[data-theme="ox-light"],
.theme-preview[data-theme="ox-light"] {
  --ox-font: "Inter", "Segoe UI Variable", "Segoe UI", Arial, sans-serif;
  --ox-font-display: "Inter Tight", "Inter", "Segoe UI Variable", "Segoe UI", Arial, sans-serif;
  --ox-font-arabic: "Noto Sans Arabic", Tahoma, Arial, sans-serif;
  --ox-font-hebrew: "Noto Sans Hebrew", Arial, sans-serif;
  --ox-weight-regular: 400;
  --ox-weight-medium: 500;
  --ox-weight-semibold: 600;
  --ox-weight-bold: 700;
  --ox-type-caption: 11px;
  --ox-type-label: 12px;
  --ox-type-small: 13px;
  --ox-type-body: 15px;
  --ox-type-lead: 17px;
  --ox-type-card-title: 18px;
  --ox-type-section: 26px;
  --ox-type-page: 36px;
  --ox-type-hero: 52px;
  --ox-canvas: #f5f8fb;
  --ox-canvas-alt: #edf4f8;
  --ox-surface: #ffffff;
  --ox-surface-raised: #ffffff;
  --ox-surface-tint: #eef8fc;
  --ox-ink: #10263d;
  --ox-heading: #061f3d;
  --ox-muted: #5c6d7f;
  --ox-line: #d8e3ec;
  --ox-line-strong: #b9ccda;
  --ox-night: #041f3b;
  --ox-navy: #06386a;
  --ox-blue: #0c6db4;
  --ox-cyan: #20b7e2;
  --ox-cyan-soft: #dff5fb;
  --ox-coral: #f35f68;
  --ox-coral-soft: #fff0f1;
  --ox-green: #188766;
  --ox-green-soft: #e7f6f0;
  --ox-amber: #9a6600;
  --ox-amber-soft: #fff7df;
  --ox-red: #b4232f;
  --ox-red-soft: #fff0f1;
  --ox-primary: #075f9e;
  --ox-primary-hover: #064f84;
  --ox-on-primary: #ffffff;
  --ox-focus: rgba(32, 183, 226, 0.30);
  --ox-shadow-sm: 0 2px 10px rgba(4, 31, 59, 0.06);
  --ox-shadow-md: 0 16px 38px rgba(4, 31, 59, 0.10);
  --ox-shadow-lg: 0 28px 70px rgba(4, 31, 59, 0.16);
  --ox-radius-sm: 4px;
  --ox-radius: 8px;
  --ox-content: 1184px;
  --header-height: 132px;
  --ink: var(--ox-ink);
  --muted: var(--ox-muted);
  --line: var(--ox-line);
  --bg: var(--ox-canvas);
  --panel: var(--ox-surface);
  --accent: var(--ox-primary);
  --accent-ink: var(--ox-night);
  --navy: var(--ox-night);
  --soft: var(--ox-canvas-alt);
  --shadow: var(--ox-shadow-md);
}

html[data-theme="ox-midnight"],
.theme-preview[data-theme="ox-midnight"] {
  --ox-canvas: #071521;
  --ox-canvas-alt: #0a1d2d;
  --ox-surface: #0d2335;
  --ox-surface-raised: #112b40;
  --ox-surface-tint: #102f45;
  --ox-ink: #eaf4fb;
  --ox-heading: #ffffff;
  --ox-muted: #a9bdcc;
  --ox-line: #29475d;
  --ox-line-strong: #3b6079;
  --ox-primary: #24b8df;
  --ox-primary-hover: #55cae8;
  --ox-on-primary: #041f3b;
  --ox-cyan-soft: #10394c;
  --ox-coral-soft: #3c2029;
  --ox-green-soft: #12392f;
  --ox-amber-soft: #3a3119;
  --ox-red-soft: #3d2027;
  --ox-shadow-sm: 0 2px 12px rgba(0, 0, 0, 0.22);
  --ox-shadow-md: 0 18px 42px rgba(0, 0, 0, 0.32);
  --ox-shadow-lg: 0 30px 76px rgba(0, 0, 0, 0.46);
}

html[data-theme="ox-contrast"],
.theme-preview[data-theme="ox-contrast"] {
  --ox-canvas: #ffffff;
  --ox-canvas-alt: #f2f5f7;
  --ox-surface: #ffffff;
  --ox-surface-raised: #ffffff;
  --ox-surface-tint: #eaf8fd;
  --ox-ink: #07131f;
  --ox-heading: #000d1a;
  --ox-muted: #3f4b56;
  --ox-line: #9fb0bd;
  --ox-line-strong: #506777;
  --ox-night: #001b33;
  --ox-navy: #003d70;
  --ox-blue: #005fa7;
  --ox-primary: #004f8a;
  --ox-primary-hover: #003b68;
  --ox-shadow-sm: none;
  --ox-shadow-md: 0 0 0 1px #9fb0bd;
  --ox-shadow-lg: 0 0 0 2px #506777;
}

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

html {
  max-width: 100%;
  scroll-padding-top: calc(var(--header-height) + 20px);
  color-scheme: light;
}

html[data-theme="ox-midnight"] {
  color-scheme: dark;
}

body {
  max-width: 100%;
  min-height: 100vh;
  margin: 0;
  padding-top: var(--header-height);
  overflow-x: hidden;
  color: var(--ox-ink);
  background: var(--ox-canvas);
  font-family: var(--ox-font);
  font-size: var(--ox-type-body);
  font-weight: var(--ox-weight-regular);
  line-height: 1.6;
  letter-spacing: 0;
  font-kerning: normal;
  font-synthesis: none;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

html[lang="ar"] body,
html[lang="ur"] body {
  font-family: var(--ox-font-arabic);
}

html[lang="he"] body {
  font-family: var(--ox-font-hebrew);
}

img,
svg,
iframe {
  display: block;
  max-width: 100%;
}

a {
  color: var(--ox-primary);
  text-decoration: none;
}

a:hover {
  color: var(--ox-primary-hover);
}

a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible,
summary:focus-visible {
  outline: 3px solid var(--ox-focus);
  outline-offset: 3px;
}

h1,
h2,
h3,
h4 {
  max-width: 100%;
  margin-top: 0;
  color: var(--ox-heading);
  font-family: var(--ox-font-display);
  font-weight: var(--ox-weight-bold);
  line-height: 1.2;
  letter-spacing: 0;
  overflow-wrap: anywhere;
}

h1 {
  margin-bottom: 14px;
  font-size: var(--ox-type-page);
}

h2 {
  margin: 38px 0 13px;
  font-size: var(--ox-type-section);
}

h3 {
  margin: 26px 0 9px;
  font-size: var(--ox-type-card-title);
}

p {
  margin: 0 0 16px;
  color: var(--ox-muted);
}

strong {
  color: var(--ox-heading);
  font-weight: var(--ox-weight-semibold);
}

h1 strong,
h2 strong,
h3 strong,
h4 strong {
  color: inherit;
  font-weight: inherit;
}

.muted {
  color: var(--ox-muted);
  font-size: var(--ox-type-small);
}

html[lang="ar"] h1,
html[lang="ar"] h2,
html[lang="ar"] h3,
html[lang="ar"] h4,
html[lang="ur"] h1,
html[lang="ur"] h2,
html[lang="ur"] h3,
html[lang="ur"] h4 {
  font-family: var(--ox-font-arabic);
}

html[lang="he"] h1,
html[lang="he"] h2,
html[lang="he"] h3,
html[lang="he"] h4 {
  font-family: var(--ox-font-hebrew);
}

.skip-link {
  position: fixed;
  top: 10px;
  left: -9999px;
  z-index: 3000;
  padding: 10px 14px;
  color: var(--ox-heading);
  background: var(--ox-surface);
  border: 2px solid var(--ox-cyan);
  border-radius: var(--ox-radius-sm);
}

.skip-link:focus {
  left: 12px;
}

/* Header and navigation */
.top {
  position: fixed;
  inset: 0 0 auto;
  z-index: 1200;
  color: var(--ox-heading);
  background: color-mix(in srgb, var(--ox-surface) 94%, transparent);
  border-top: 3px solid var(--ox-cyan);
  border-bottom: 1px solid var(--ox-line);
  box-shadow: 0 8px 26px rgba(4, 31, 59, 0.08);
  backdrop-filter: blur(18px) saturate(145%);
}

.nav,
.menu-bar,
.wrap,
.footer-inner {
  width: min(100%, var(--ox-content));
  margin-inline: auto;
}

.nav {
  display: flex;
  min-height: 76px;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  padding: 10px 24px;
}

.brand {
  display: inline-flex;
  flex: 0 0 auto;
  min-width: 0;
  align-items: center;
  gap: 12px;
  color: var(--ox-heading);
  font-family: var(--ox-font-display);
  font-size: 23px;
  font-weight: var(--ox-weight-bold);
  line-height: 1;
  white-space: nowrap;
}

.brand:hover {
  color: var(--ox-heading);
}

.brand-logo {
  width: 50px;
  height: 50px;
  flex: 0 0 50px;
  object-fit: contain;
  filter: drop-shadow(0 7px 12px rgba(4, 31, 59, 0.18));
}

.header-actions,
.auth-actions {
  display: flex;
  min-width: 0;
  align-items: center;
  justify-content: flex-end;
  gap: 10px;
}

.header-actions {
  flex: 1 1 auto;
}

.account-chip {
  display: inline-flex;
  min-height: 40px;
  max-width: 230px;
  align-items: center;
  padding: 8px 12px;
  overflow: hidden;
  color: var(--ox-muted);
  background: var(--ox-surface-tint);
  border: 1px solid #bfe3f1;
  border-radius: 6px;
  font-size: var(--ox-type-small);
  font-weight: var(--ox-weight-medium);
  text-overflow: ellipsis;
  white-space: nowrap;
}

.account-chip strong {
  overflow: hidden;
  color: var(--ox-heading);
  font-weight: var(--ox-weight-semibold);
  text-overflow: ellipsis;
}

.language-form {
  display: flex;
  align-items: center;
  gap: 7px;
  margin: 0;
}

.language-form .muted {
  margin: 0;
  color: var(--ox-muted);
  font-size: var(--ox-type-label);
  font-weight: var(--ox-weight-medium);
}

.language-form select {
  width: auto;
  min-width: 126px;
  min-height: 40px;
  margin: 0;
  padding-block: 7px;
  font-size: 13px;
}

.site-menu {
  background: color-mix(in srgb, var(--ox-surface) 97%, var(--ox-canvas-alt));
  border-top: 1px solid var(--ox-line);
}

.menu-bar {
  display: flex;
  min-height: 50px;
  align-items: center;
  gap: 4px;
  padding: 4px 24px;
}

.menu-group {
  position: relative;
}

.menu-trigger,
.menu-direct {
  display: inline-flex;
  min-height: 40px;
  align-items: center;
  gap: 8px;
  padding: 8px 12px;
  color: var(--ox-ink);
  background: transparent;
  border: 0;
  border-bottom: 2px solid transparent;
  border-radius: 0;
  box-shadow: none;
  font: inherit;
  font-size: 14px;
  font-weight: var(--ox-weight-semibold);
  cursor: pointer;
}

.menu-trigger::after {
  width: 7px;
  height: 7px;
  content: "";
  border-right: 1.5px solid currentColor;
  border-bottom: 1.5px solid currentColor;
  transform: rotate(45deg) translateY(-2px);
}

.menu-trigger:hover,
.menu-direct:hover,
.menu-group:focus-within .menu-trigger {
  color: var(--ox-primary);
  background: var(--ox-surface-tint);
  border-bottom-color: var(--ox-cyan);
}

.menu-panel {
  position: absolute;
  top: calc(100% + 7px);
  left: 0;
  z-index: 90;
  width: min(310px, calc(100vw - 32px));
  padding: 8px;
  visibility: hidden;
  opacity: 0;
  background: var(--ox-surface-raised);
  border: 1px solid var(--ox-line);
  border-top: 3px solid var(--ox-cyan);
  border-radius: var(--ox-radius);
  box-shadow: var(--ox-shadow-lg);
  transform: translateY(7px);
  transition: opacity 150ms ease, transform 150ms ease, visibility 150ms ease;
}

.menu-panel::before {
  position: absolute;
  inset: -10px 0 auto;
  height: 10px;
  content: "";
}

.menu-group:hover .menu-panel,
.menu-group:focus-within .menu-panel {
  visibility: visible;
  opacity: 1;
  transform: translateY(0);
}

.menu-panel-right {
  right: 0;
  left: auto;
}

.menu-link {
  display: block;
  padding: 10px 11px;
  color: var(--ox-ink);
  border-radius: 6px;
}

.menu-link:hover,
.menu-link:focus-visible {
  color: var(--ox-heading);
  background: var(--ox-surface-tint);
}

.menu-link span {
  display: block;
  color: var(--ox-heading);
  font-size: 14px;
  font-weight: var(--ox-weight-semibold);
  line-height: 1.3;
}

.menu-link small {
  display: block;
  margin-top: 3px;
  color: var(--ox-muted);
  font-size: var(--ox-type-caption);
  font-weight: var(--ox-weight-regular);
  line-height: 1.4;
}

.menu-section-label,
.admin-menu-section-title {
  padding: 7px 10px 4px;
  color: var(--ox-muted);
  font-size: var(--ox-type-caption);
  font-weight: var(--ox-weight-semibold);
  text-transform: uppercase;
  letter-spacing: 0;
}

.admin-link-badge {
  display: inline-flex;
  min-width: 22px;
  height: 19px;
  align-items: center;
  justify-content: center;
  padding: 0 6px;
  color: var(--ox-night);
  background: var(--ox-cyan);
  border-radius: 999px;
  font-size: var(--ox-type-caption);
  font-weight: var(--ox-weight-semibold);
}

.admin-menu-panel {
  width: min(880px, calc(100vw - 32px));
  padding: 14px;
}

.admin-menu-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 20px;
  padding: 3px 4px 13px;
  border-bottom: 1px solid var(--ox-line);
}

.admin-menu-head strong {
  display: block;
  color: var(--ox-heading);
  font-size: 15px;
}

.admin-menu-head span {
  display: block;
  margin-top: 2px;
  color: var(--ox-muted);
  font-size: 11px;
}

.admin-menu-primary {
  flex: 0 0 auto;
  padding: 8px 11px;
  color: var(--ox-on-primary);
  background: var(--ox-primary);
  border-radius: 6px;
  font-size: var(--ox-type-label);
  font-weight: var(--ox-weight-semibold);
}

.admin-menu-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  padding-top: 12px;
}

.admin-menu-section {
  min-width: 0;
}

.mobile-menu-toggle,
.mobile-drawer,
.mobile-drawer-backdrop {
  display: none;
}

/* Core controls and content surfaces */
.wrap {
  min-width: 0;
  padding: 48px 24px 80px;
}

.button,
button {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 10px 17px;
  color: var(--ox-on-primary);
  background: var(--ox-primary);
  border: 1px solid var(--ox-primary);
  border-radius: 6px;
  box-shadow: 0 8px 18px rgba(7, 95, 158, 0.14);
  font: inherit;
  font-size: 14px;
  font-weight: var(--ox-weight-semibold);
  line-height: 1;
  text-align: center;
  cursor: pointer;
  transition: background 150ms ease, border-color 150ms ease, color 150ms ease, transform 150ms ease, box-shadow 150ms ease;
}

.button:hover,
button:hover {
  color: var(--ox-on-primary);
  background: var(--ox-primary-hover);
  border-color: var(--ox-primary-hover);
  box-shadow: 0 12px 24px rgba(7, 95, 158, 0.20);
  transform: translateY(-1px);
}

.button.secondary,
button.secondary {
  color: var(--ox-heading);
  background: var(--ox-surface);
  border-color: var(--ox-line-strong);
  box-shadow: none;
}

.button.secondary:hover,
button.secondary:hover {
  color: var(--ox-heading);
  background: var(--ox-surface-tint);
  border-color: var(--ox-blue);
}

.button.warn,
button.warn,
.warn {
  color: #3e2a00;
  background: var(--ox-amber-soft);
  border-color: #e5c76f;
  box-shadow: none;
}

.button.bad,
button.bad,
.bad {
  color: #ffffff;
  background: var(--ox-red);
  border-color: var(--ox-red);
}

.header-actions .button,
.header-actions button {
  min-height: 40px;
  padding: 8px 13px;
  font-size: 13px;
}

label {
  display: block;
  margin: 17px 0 7px;
  color: var(--ox-heading);
  font-size: var(--ox-type-small);
  font-weight: var(--ox-weight-semibold);
}

input,
select,
textarea {
  width: 100%;
  min-height: 46px;
  margin: 0;
  padding: 10px 12px;
  color: var(--ox-ink);
  background: var(--ox-surface);
  border: 1px solid var(--ox-line-strong);
  border-radius: 6px;
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.42) inset;
  font: inherit;
  font-size: 15px;
  line-height: 1.35;
  transition: border-color 150ms ease, box-shadow 150ms ease, background 150ms ease;
}

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

input:hover,
select:hover,
textarea:hover {
  border-color: var(--ox-blue);
}

input:focus,
select:focus,
textarea:focus {
  border-color: var(--ox-cyan);
  box-shadow: 0 0 0 4px var(--ox-focus);
  outline: 0;
}

input[type="checkbox"],
input[type="radio"] {
  width: 18px;
  min-width: 18px;
  height: 18px;
  min-height: 18px;
  margin: 2px 0 0;
  padding: 0;
  accent-color: var(--ox-primary);
  box-shadow: none;
}

.form-row {
  min-width: 0;
}

.checkline {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin: 14px 0;
  color: var(--ox-ink);
  font-size: var(--ox-type-small);
  font-weight: var(--ox-weight-regular);
  line-height: 1.5;
}

.checkline span {
  min-width: 0;
}

.grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 20px;
  margin: 24px 0;
}

.card,
.faq-item,
.analytics-card,
.trend-card,
.policy-box,
.ticket-message,
.email-preview {
  min-width: 0;
  padding: 24px;
  overflow: hidden;
  color: var(--ox-ink);
  background: var(--ox-surface);
  border: 1px solid var(--ox-line);
  border-radius: var(--ox-radius);
  box-shadow: var(--ox-shadow-sm);
}

.card > :first-child,
.workspace-card > :first-child,
.faq-item > :first-child {
  margin-top: 0;
}

.card > :last-child,
.workspace-card > :last-child {
  margin-bottom: 0;
}

form.card {
  padding: 30px;
}

.notice {
  position: relative;
  margin: 0 0 20px;
  padding: 14px 16px 14px 20px;
  color: var(--ox-ink);
  background: var(--ox-cyan-soft);
  border: 1px solid #a9dfed;
  border-left: 4px solid var(--ox-cyan);
  border-radius: 6px;
  font-size: 14px;
}

.notice.error,
.error {
  color: var(--ox-red);
  background: var(--ox-red-soft);
  border-color: #f0b3ba;
  border-left-color: var(--ox-red);
}

.split-row,
.workspace-section-head,
.trend-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 20px;
}

.table {
  width: 100%;
  border-collapse: collapse;
  color: var(--ox-ink);
  background: var(--ox-surface);
  font-size: 13px;
}

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

.table th {
  color: var(--ox-muted);
  background: var(--ox-canvas-alt);
  font-size: var(--ox-type-caption);
  font-weight: var(--ox-weight-semibold);
  text-transform: uppercase;
  letter-spacing: 0;
}

.table tr:last-child td {
  border-bottom: 0;
}

.table tr:hover td {
  background: var(--ox-surface-tint);
}

form.inline {
  display: inline-flex;
  margin: 2px 3px 2px 0;
}

form.inline button {
  min-height: 34px;
  padding: 7px 10px;
  font-size: 11px;
}

/* Home */
.page-home main.wrap {
  width: 100%;
  max-width: none;
  padding: 0 0 84px;
}

.product-hero {
  position: relative;
  isolation: isolate;
  display: grid;
  grid-template-columns: minmax(0, 1.62fr) minmax(340px, 1fr);
  min-height: 570px;
  align-items: center;
  gap: 54px;
  overflow: hidden;
  padding: 68px max(24px, calc((100vw - var(--ox-content)) / 2)) 62px;
  color: #ffffff;
  background: var(--ox-night);
  border-bottom: 5px solid var(--ox-cyan);
}

.product-hero::before {
  position: absolute;
  z-index: -1;
  top: 46%;
  right: max(-120px, calc((100vw - var(--ox-content)) / 2 - 160px));
  width: min(52vw, 700px);
  aspect-ratio: 1;
  content: "";
  background: url("/brand-logo?v=20260828-plain-shield") center / contain no-repeat;
  opacity: 0.11;
  transform: translateY(-50%);
}

.hero-copy,
.service-preview {
  position: relative;
  z-index: 1;
  min-width: 0;
}

.eyebrow {
  display: inline-flex;
  min-height: 30px;
  align-items: center;
  gap: 9px;
  margin-bottom: 18px;
  color: var(--ox-primary);
  font-size: var(--ox-type-label);
  font-weight: var(--ox-weight-semibold);
  text-transform: uppercase;
  letter-spacing: 0;
}

.eyebrow::before {
  width: 8px;
  height: 8px;
  flex: 0 0 8px;
  content: "";
  background: var(--ox-coral);
  border-radius: 999px;
  box-shadow: 0 0 0 5px color-mix(in srgb, var(--ox-coral) 18%, transparent);
}

.product-hero .eyebrow {
  padding: 6px 10px;
  color: #dff7ff;
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(171, 226, 244, 0.28);
  border-radius: 6px;
}

.product-hero h1 {
  max-width: 720px;
  margin-bottom: 18px;
  color: #ffffff;
  font-size: var(--ox-type-hero);
  line-height: 1.08;
}

.product-hero .hero-copy > p:not(.hero-note) {
  max-width: 680px;
  color: #d6e5f1;
  font-size: var(--ox-type-lead);
  line-height: 1.6;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin: 28px 0 24px;
}

.product-hero .hero-actions .button {
  min-height: 48px;
  color: var(--ox-night);
  background: var(--ox-cyan);
  border-color: var(--ox-cyan);
  box-shadow: 0 14px 30px rgba(32, 183, 226, 0.22);
}

.product-hero .hero-actions .button:hover {
  background: #55cae8;
  border-color: #55cae8;
}

.product-hero .hero-actions .button.secondary {
  color: #ffffff;
  background: transparent;
  border-color: rgba(255, 255, 255, 0.42);
  box-shadow: none;
}

.product-hero .hero-actions .button.secondary:hover {
  background: rgba(255, 255, 255, 0.09);
  border-color: #ffffff;
}

.hero-note {
  max-width: 690px;
  margin: 0;
  padding: 14px 0 14px 17px;
  color: #c5d7e5;
  border-left: 3px solid var(--ox-coral);
  font-size: 14px;
  line-height: 1.65;
}

.hero-note strong,
.product-hero .hero-account-link {
  color: #ffffff;
}

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

.operator-stat {
  min-width: 0;
  padding-top: 14px;
  border-top: 1px solid rgba(255, 255, 255, 0.24);
}

.operator-stat strong,
.operator-stat span {
  display: block;
}

.operator-stat strong {
  color: #ffffff;
  font-family: var(--ox-font-display);
  font-size: 20px;
  font-weight: var(--ox-weight-bold);
}

.operator-stat span {
  margin-top: 4px;
  color: #b8ccdc;
  font-size: 12px;
  line-height: 1.45;
}

.service-preview {
  color: var(--ox-ink);
  background: #f5fbfe;
  border: 1px solid rgba(255, 255, 255, 0.55);
  border-radius: var(--ox-radius);
  box-shadow: 0 30px 68px rgba(0, 10, 25, 0.34);
}

.service-preview-head {
  display: flex;
  min-height: 62px;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 15px 18px;
  border-bottom: 1px solid #cce2ee;
}

.service-preview-title {
  color: var(--ox-night);
  font-family: var(--ox-font-display);
  font-size: var(--ox-type-body);
  font-weight: var(--ox-weight-semibold);
}

.service-preview-status,
.status-chip,
.plan-badge {
  display: inline-flex;
  min-height: 28px;
  align-items: center;
  justify-content: center;
  padding: 5px 9px;
  color: #075b50;
  background: var(--ox-green-soft);
  border-radius: 4px;
  font-size: var(--ox-type-caption);
  font-weight: var(--ox-weight-semibold);
}

.service-preview-status {
  color: var(--ox-night);
  background: #d7f1fb;
  border: 1px solid #9bd9ee;
}

.service-preview-body {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  padding: 16px;
}

.preview-panel {
  min-width: 0;
  padding: 16px;
  background: #ffffff;
  border: 1px solid #d2e2ec;
  border-radius: 6px;
}

.preview-panel.wide {
  grid-column: 1 / -1;
}

.preview-label,
.metric-label {
  display: block;
  color: var(--ox-muted);
  font-size: var(--ox-type-caption);
  font-weight: var(--ox-weight-semibold);
  text-transform: uppercase;
  letter-spacing: 0;
}

.preview-value {
  margin: 7px 0 10px;
  color: var(--ox-night);
  font-family: var(--ox-font-display);
  font-size: 20px;
  font-weight: var(--ox-weight-bold);
  line-height: 1.25;
}

.status-chip.muted {
  color: #40556a;
  background: #edf2f6;
}

.preview-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 10px 0;
  color: #4f6071;
  border-top: 1px solid #dbe7ef;
  font-size: 13px;
}

.preview-row strong {
  color: var(--ox-night);
  text-align: end;
}

.product-video,
.page-home main > .trust-strip,
.page-home main > .grid,
.home-ratings {
  width: min(calc(100% - 48px), var(--ox-content));
  margin-inline: auto;
}

.product-video {
  margin-top: 52px;
}

.video-frame {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: var(--ox-night);
  border: 1px solid var(--ox-line);
  border-radius: var(--ox-radius);
  box-shadow: var(--ox-shadow-md);
}

.video-frame iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

.video-cover {
  position: absolute;
  inset: 0;
  z-index: 2;
  display: flex;
  align-items: flex-end;
  padding: 16px;
  pointer-events: none;
}

.video-toggle {
  width: 44px;
  height: 44px;
  min-height: 44px;
  padding: 0;
  color: #ffffff;
  background: rgba(4, 31, 59, 0.88);
  border: 1px solid rgba(255, 255, 255, 0.40);
  border-radius: 999px;
  pointer-events: auto;
}

.video-toggle .play-icon {
  display: none;
}

.video-toggle.is-paused .pause-icon {
  display: none;
}

.video-toggle.is-paused .play-icon {
  display: inline;
}

.trust-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 34px;
  margin-bottom: 34px;
}

.trust-pill {
  display: inline-flex;
  min-height: 36px;
  align-items: center;
  gap: 9px;
  padding: 8px 11px;
  color: var(--ox-heading);
  background: var(--ox-surface);
  border: 1px solid var(--ox-line);
  border-radius: 6px;
  box-shadow: var(--ox-shadow-sm);
  font-size: 12px;
  font-weight: var(--ox-weight-medium);
}

.trust-pill::before {
  width: 7px;
  height: 7px;
  flex: 0 0 7px;
  content: "";
  background: var(--ox-green);
  border-radius: 999px;
}

.landing-section-card {
  padding: 0 0 24px;
}

.landing-section-card .media,
.landing-section-card h3,
.landing-section-card p,
.landing-section-card .landing-html {
  margin-inline: 24px;
}

.landing-section-card .media {
  width: 100%;
  margin: 0 0 22px;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  background: var(--ox-canvas-alt);
  border-bottom: 1px solid var(--ox-line);
}

.landing-section-card h3 {
  font-size: var(--ox-type-card-title);
}

.landing-section-card > h3:first-child {
  margin-top: 24px;
}

.home-ratings {
  margin-top: 56px;
}

/* Pricing, informational pages, and FAQs */
.pricing-hero,
.dashboard-hero {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 32px;
  margin-bottom: 30px;
  padding: 0 0 28px;
  border-bottom: 1px solid var(--ox-line);
}

.pricing-hero h1,
.dashboard-hero h1 {
  margin-bottom: 10px;
}

.pricing-hero p,
.dashboard-hero p {
  max-width: 760px;
  margin-bottom: 0;
  font-size: 16px;
}

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

.pricing-card {
  position: relative;
  display: flex;
  min-width: 0;
  flex-direction: column;
  align-items: flex-start;
  padding: 30px;
  overflow: hidden;
  background: var(--ox-surface);
  border: 1px solid var(--ox-line);
  border-top: 4px solid var(--ox-blue);
  border-radius: var(--ox-radius);
  box-shadow: var(--ox-shadow-sm);
}

.pricing-card:nth-child(2) {
  border-top-color: var(--ox-coral);
  box-shadow: var(--ox-shadow-md);
}

.pricing-card h2 {
  margin: 18px 0 6px;
  font-size: 24px;
}

.pricing-price,
.theme-preview-price {
  display: block;
  color: var(--ox-heading);
  font-family: var(--ox-font-display);
  font-size: 40px;
  font-weight: var(--ox-weight-bold);
  line-height: 1;
}

.pricing-benefit {
  width: 100%;
  margin: 18px 0;
  padding: 14px;
  color: var(--ox-ink);
  background: var(--ox-surface-tint);
  border-left: 3px solid var(--ox-cyan);
  border-radius: 4px;
  font-size: 13px;
}

.pricing-benefit-title {
  display: block;
  margin-bottom: 3px;
  color: var(--ox-heading);
  font-weight: var(--ox-weight-semibold);
}

.plan-list {
  width: 100%;
  margin: 8px 0 24px;
  padding: 0;
  list-style: none;
}

.plan-list li {
  position: relative;
  padding: 9px 0 9px 24px;
  color: var(--ox-muted);
  border-bottom: 1px solid var(--ox-line);
  font-size: 14px;
}

.plan-list li::before {
  position: absolute;
  top: 14px;
  left: 2px;
  width: 9px;
  height: 5px;
  content: "";
  border-bottom: 2px solid var(--ox-green);
  border-left: 2px solid var(--ox-green);
  transform: rotate(-45deg);
}

.pricing-card > .button:last-child {
  margin-top: auto;
}

.faq-page > p,
.about-page > p,
.contact-page > p {
  max-width: 800px;
  font-size: 16px;
}

.faq-list {
  display: grid;
  gap: 12px;
  margin-top: 28px;
}

.faq-item {
  padding: 0;
}

.faq-item summary {
  position: relative;
  padding: 18px 52px 18px 20px;
  color: var(--ox-heading);
  font-size: var(--ox-type-body);
  font-weight: var(--ox-weight-semibold);
  list-style: none;
  cursor: pointer;
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item summary::after {
  position: absolute;
  top: 50%;
  right: 20px;
  width: 10px;
  height: 10px;
  content: "";
  border-right: 2px solid var(--ox-primary);
  border-bottom: 2px solid var(--ox-primary);
  transform: translateY(-70%) rotate(45deg);
}

.faq-item[open] summary {
  color: var(--ox-primary);
  background: var(--ox-surface-tint);
  border-bottom: 1px solid var(--ox-line);
}

.faq-item[open] summary::after {
  transform: translateY(-30%) rotate(225deg);
}

.faq-item p {
  padding: 18px 20px;
  margin: 0;
}

.how-steps {
  display: grid;
  gap: 28px;
  margin: 34px 0;
}

.how-step {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 1.28fr);
  align-items: center;
  gap: 36px;
  padding: 28px 0;
  border-top: 1px solid var(--ox-line);
}

.how-step:nth-child(even) .how-copy {
  order: 2;
}

.how-media {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  background: var(--ox-canvas-alt);
  border: 1px solid var(--ox-line);
  border-radius: var(--ox-radius);
  box-shadow: var(--ox-shadow-sm);
}

.step-kicker {
  margin-bottom: 8px;
  color: var(--ox-primary);
  font-size: var(--ox-type-label);
  font-weight: var(--ox-weight-semibold);
  text-transform: uppercase;
}

.how-copy h2 {
  margin: 0 0 12px;
}

.how-copy p {
  font-size: var(--ox-type-body);
}

.how-cta,
.dashboard-actions,
.workspace-commandbar,
.admin-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

/* Authentication and registration */
.page-login main.wrap,
.page-forgot-password main.wrap,
.page-reset-password main.wrap,
.page-register main.wrap,
.page-accept-terms main.wrap {
  width: min(100%, 1184px);
}

.page-login .share-panel,
.page-forgot-password .share-panel,
.page-reset-password .share-panel,
.page-register .share-panel,
.page-accept-terms .share-panel {
  display: none;
}

.auth-shell {
  display: grid;
  grid-template-columns: minmax(300px, 0.62fr) minmax(420px, 1fr);
  min-height: 560px;
  overflow: hidden;
  background: var(--ox-surface);
  border: 1px solid var(--ox-line);
  border-radius: var(--ox-radius);
  box-shadow: var(--ox-shadow-lg);
}

.auth-brand-panel {
  position: relative;
  isolation: isolate;
  display: flex;
  min-width: 0;
  flex-direction: column;
  justify-content: center;
  padding: 48px;
  overflow: hidden;
  color: #ffffff;
  background: var(--ox-night);
}

.auth-brand-panel::after {
  position: absolute;
  z-index: -1;
  right: -120px;
  bottom: -150px;
  width: 390px;
  aspect-ratio: 1;
  content: "";
  background: url("/brand-logo?v=20260828-plain-shield") center / contain no-repeat;
  opacity: 0.10;
}

.auth-brand-panel > img {
  width: 100px;
  height: 100px;
  margin-bottom: 34px;
  object-fit: contain;
  filter: drop-shadow(0 18px 28px rgba(0, 0, 0, 0.28));
}

.auth-brand-panel .eyebrow {
  color: #9be5f7;
}

.auth-brand-panel h1 {
  margin-bottom: 15px;
  color: #ffffff;
  font-size: 34px;
}

.auth-brand-panel p {
  max-width: 440px;
  color: #c4d8e7;
  font-size: var(--ox-type-body);
}

.auth-assurance {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 22px;
}

.auth-assurance span {
  padding: 7px 9px;
  color: #d9edf7;
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 4px;
  font-size: var(--ox-type-caption);
  font-weight: var(--ox-weight-medium);
}

.auth-form-panel {
  display: flex;
  min-width: 0;
  flex-direction: column;
  justify-content: center;
  padding: 54px clamp(34px, 7vw, 82px);
  background: var(--ox-surface);
}

.auth-form-heading {
  margin-bottom: 22px;
}

.auth-form-heading span {
  color: var(--ox-primary);
  font-size: var(--ox-type-label);
  font-weight: var(--ox-weight-semibold);
  text-transform: uppercase;
}

.auth-form-heading h2 {
  margin: 7px 0 0;
  font-size: 27px;
}

.auth-form {
  width: 100%;
  max-width: 520px;
}

.auth-form > button[type="submit"] {
  width: 100%;
  margin-top: 20px;
}

.auth-help {
  margin-top: 13px;
  text-align: center;
  font-size: 13px;
}

.oauth-panel {
  margin-top: 22px;
  padding-top: 18px;
  border-top: 1px solid var(--ox-line);
}

.oauth-buttons {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(130px, 1fr));
  gap: 9px;
}

.oauth-button {
  width: 100%;
  min-height: 42px;
  color: var(--ox-heading);
  background: var(--ox-surface);
  border-color: var(--ox-line-strong);
  box-shadow: none;
  font-size: 12px;
}

.registration-shell {
  display: grid;
  grid-template-columns: minmax(280px, 0.62fr) minmax(0, 1fr);
  align-items: start;
  gap: 28px;
}

.registration-summary {
  position: sticky;
  top: calc(var(--header-height) + 24px);
  min-width: 0;
  padding: 34px;
  overflow: hidden;
  color: #ffffff;
  background: var(--ox-night);
  border-bottom: 4px solid var(--ox-cyan);
  border-radius: var(--ox-radius);
  box-shadow: var(--ox-shadow-md);
}

.registration-summary > img {
  width: 90px;
  height: 90px;
  margin-bottom: 28px;
}

.registration-summary .eyebrow {
  color: #a9eafa;
}

.registration-summary h1 {
  color: #ffffff;
  font-size: 32px;
}

.registration-summary p {
  color: #c4d8e7;
}

.registration-progress {
  display: grid;
  gap: 12px;
  margin-top: 28px;
}

.registration-progress span {
  display: flex;
  align-items: center;
  gap: 11px;
  color: #d7e8f3;
  font-size: var(--ox-type-small);
  font-weight: var(--ox-weight-medium);
}

.registration-progress strong {
  display: inline-flex;
  width: 28px;
  height: 28px;
  flex: 0 0 28px;
  align-items: center;
  justify-content: center;
  color: var(--ox-night);
  background: var(--ox-cyan);
  border-radius: 999px;
  font-size: 12px;
}

.registration-main {
  min-width: 0;
}

.registration-form {
  padding: 34px;
  background: var(--ox-surface);
  border: 1px solid var(--ox-line);
  border-radius: var(--ox-radius);
  box-shadow: var(--ox-shadow-sm);
}

.registration-form h3 {
  margin: 34px 0 14px;
  padding-top: 28px;
  border-top: 1px solid var(--ox-line);
  font-size: var(--ox-type-card-title);
}

.registration-form h3:first-child {
  margin-top: 0;
  padding-top: 0;
  border-top: 0;
}

.registration-form .checkline[style] {
  background: var(--ox-surface-tint) !important;
  border-color: var(--ox-line) !important;
  border-radius: 6px !important;
}

.registration-form > button[type="submit"] {
  width: 100%;
  min-height: 50px;
  margin-top: 18px;
}

.registration-oauth {
  margin-top: 18px;
}

.password-policy,
.recaptcha-check,
.human-service-check {
  margin: 12px 0 16px;
  padding: 14px;
  background: var(--ox-canvas-alt);
  border: 1px solid var(--ox-line);
  border-radius: 6px;
}

.password-policy ul {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 7px 18px;
  margin: 10px 0 0;
  padding: 0;
  list-style: none;
}

.password-policy li {
  position: relative;
  padding-left: 17px;
  color: var(--ox-muted);
  font-size: 12px;
}

.password-policy li::before {
  position: absolute;
  top: 8px;
  left: 1px;
  width: 6px;
  height: 6px;
  content: "";
  background: var(--ox-line-strong);
  border-radius: 999px;
}

.password-policy li.ok {
  color: var(--ox-green);
}

.password-policy li.ok::before {
  background: var(--ox-green);
}

.field-status {
  margin-top: 6px;
  font-size: 12px;
}

.recaptcha-row {
  display: grid;
  grid-template-columns: 34px 1fr 70px;
  align-items: center;
  gap: 12px;
  margin: 0;
  cursor: pointer;
}

.recaptcha-checkbox-wrap {
  position: relative;
  display: block;
  width: 30px;
  height: 30px;
}

.recaptcha-checkbox-wrap input {
  position: absolute;
  inset: 0;
  width: 30px;
  height: 30px;
  opacity: 0;
}

.recaptcha-visual-checkbox {
  display: block;
  width: 30px;
  height: 30px;
  background: var(--ox-surface);
  border: 2px solid var(--ox-line-strong);
  border-radius: 3px;
}

.recaptcha-checkbox-wrap input:checked + .recaptcha-visual-checkbox {
  position: relative;
  background: var(--ox-primary);
  border-color: var(--ox-primary);
}

.recaptcha-checkbox-wrap input:checked + .recaptcha-visual-checkbox::after {
  position: absolute;
  top: 3px;
  left: 8px;
  width: 9px;
  height: 17px;
  content: "";
  border: solid #ffffff;
  border-width: 0 3px 3px 0;
  transform: rotate(45deg);
}

.recaptcha-title {
  color: var(--ox-heading);
  font-size: 14px;
  font-weight: var(--ox-weight-semibold);
}

.recaptcha-brand {
  display: flex;
  align-items: center;
  color: var(--ox-muted);
  font-size: var(--ox-type-caption);
}

.recaptcha-logo {
  display: inline-flex;
  width: 32px;
  height: 32px;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  background: var(--ox-blue);
  border-radius: 6px;
  font-size: 18px;
  font-weight: var(--ox-weight-bold);
}

.recaptcha-hint {
  display: none;
  margin: 8px 0 0 46px;
  font-size: 11px;
}

.recaptcha-check:not(.ready) .recaptcha-hint {
  display: block;
}

.human-trap {
  position: absolute !important;
  left: -10000px !important;
  width: 1px !important;
  height: 1px !important;
  opacity: 0 !important;
}

/* Customer and admin workspaces */
.page-dashboard main.wrap,
.is-admin-area main.wrap,
.page-admin-settings main.wrap {
  width: min(100%, 1440px);
  padding-inline: 22px;
}

.workspace-shell {
  display: grid;
  grid-template-columns: 252px minmax(0, 1fr);
  gap: 0;
  overflow: hidden;
  background: var(--ox-surface);
  border: 1px solid var(--ox-line);
  border-radius: var(--ox-radius);
  box-shadow: var(--ox-shadow-md);
}

.workspace-rail {
  min-width: 0;
  padding: 24px 16px;
  color: #ffffff;
  background: var(--ox-night);
  border-right: 1px solid rgba(255, 255, 255, 0.12);
}

.workspace-user {
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr);
  align-items: center;
  gap: 11px;
  padding: 5px 4px 22px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.16);
}

.workspace-avatar {
  display: inline-flex;
  width: 42px;
  height: 42px;
  align-items: center;
  justify-content: center;
  color: var(--ox-night);
  background: var(--ox-cyan);
  border-radius: 999px;
  font-family: var(--ox-font-display);
  font-size: 16px;
  font-weight: var(--ox-weight-bold);
}

.workspace-user strong,
.workspace-user span {
  display: block;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.workspace-user strong {
  color: #ffffff;
  font-size: 13px;
}

.workspace-user span {
  margin-top: 2px;
  color: #9fb7c9;
  font-size: var(--ox-type-caption);
}

.workspace-nav {
  display: grid;
  gap: 3px;
  margin-top: 20px;
}

.workspace-link {
  display: flex;
  min-height: 42px;
  align-items: center;
  padding: 9px 12px;
  color: #c9dae6;
  border-left: 3px solid transparent;
  border-radius: 4px;
  font-size: var(--ox-type-small);
  font-weight: var(--ox-weight-medium);
}

.workspace-link:hover,
.workspace-link.active {
  color: #ffffff;
  background: rgba(255, 255, 255, 0.09);
  border-left-color: var(--ox-cyan);
}

.workspace-rail-note {
  margin-top: 30px;
  padding: 14px 12px;
  color: #9fb7c9;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 6px;
  font-size: 11px;
}

.workspace-rail-note strong {
  color: #ffffff;
}

.workspace-main {
  min-width: 0;
  padding: 32px;
  background: var(--ox-canvas);
}

.workspace-topbar {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 28px;
  margin-bottom: 26px;
  padding-bottom: 26px;
  border-bottom: 1px solid var(--ox-line);
}

.workspace-topbar h1 {
  margin-bottom: 8px;
  font-size: 30px;
}

.workspace-topbar p {
  max-width: 760px;
  margin-bottom: 0;
  font-size: 14px;
}

.workspace-commandbar {
  flex: 0 1 480px;
  justify-content: flex-end;
}

.workspace-summary-grid,
.metric-row,
.analytics-cards {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  margin: 20px 0 28px;
}

.workspace-tile,
.metric-tile,
.analytics-card {
  min-width: 0;
  padding: 17px;
  background: var(--ox-surface);
  border: 1px solid var(--ox-line);
  border-radius: 6px;
  box-shadow: var(--ox-shadow-sm);
}

.metric-value,
.analytics-card strong {
  display: block;
  margin-top: 7px;
  overflow-wrap: anywhere;
  color: var(--ox-heading);
  font-family: var(--ox-font-display);
  font-size: 19px;
  font-weight: var(--ox-weight-bold);
  line-height: 1.25;
}

.workspace-section {
  margin-top: 34px;
  padding-top: 34px;
  border-top: 1px solid var(--ox-line);
}

.workspace-section:first-of-type {
  margin-top: 0;
}

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

.workspace-card,
.dashboard-card,
.profile-panel {
  min-width: 0;
  padding: 22px;
  overflow: auto;
  background: var(--ox-surface);
  border: 1px solid var(--ox-line);
  border-radius: var(--ox-radius);
  box-shadow: var(--ox-shadow-sm);
}

.workspace-card h2,
.workspace-card h3 {
  margin-top: 0;
}

.detail-list {
  display: grid;
}

.detail-row {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 20px;
  padding: 11px 0;
  border-bottom: 1px solid var(--ox-line);
  color: var(--ox-muted);
  font-size: 13px;
}

.detail-row strong {
  color: var(--ox-heading);
  text-align: end;
  overflow-wrap: anywhere;
}

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

.profile-create-form {
  display: grid;
  grid-template-columns: minmax(180px, 1fr) auto;
  align-items: end;
  gap: 12px;
  margin: 18px 0;
  padding: 16px;
  background: var(--ox-surface-tint);
  border: 1px solid var(--ox-line);
  border-radius: 6px;
}

.profile-create-form label {
  grid-column: 1 / -1;
  margin-top: 0;
}

.admin-dashboard-actions,
.admin-settings-hub {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin: 22px 0;
}

.admin-dashboard-action,
.admin-settings-hub-card {
  display: flex;
  min-height: 150px;
  flex-direction: column;
  justify-content: flex-end;
  color: var(--ox-ink);
  border-top: 3px solid var(--ox-blue);
}

.admin-dashboard-action:nth-child(3n + 2),
.admin-settings-hub-card:nth-child(3n + 2) {
  border-top-color: var(--ox-cyan);
}

.admin-dashboard-action:nth-child(3n),
.admin-settings-hub-card:nth-child(3n) {
  border-top-color: var(--ox-coral);
}

.admin-dashboard-action span,
.admin-dashboard-action small {
  display: block;
}

.admin-dashboard-action span {
  color: var(--ox-primary);
  font-size: var(--ox-type-caption);
  font-weight: var(--ox-weight-semibold);
  text-transform: uppercase;
}

.admin-dashboard-action strong {
  margin: 5px 0;
  color: var(--ox-heading);
  font-family: var(--ox-font-display);
  font-size: 17px;
  font-weight: var(--ox-weight-semibold);
}

.admin-dashboard-action small {
  color: var(--ox-muted);
  font-size: var(--ox-type-label);
}

.admin-dashboard-tables {
  display: grid;
  grid-template-columns: minmax(0, 1.45fr) minmax(320px, 1fr);
  gap: 16px;
}

.admin-dashboard-stack,
.settings-stack {
  display: grid;
  gap: 16px;
}

.admin-dashboard-table-wrap {
  overflow-x: auto;
}

.admin-settings-focusbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 18px;
  padding: 14px 16px;
  background: var(--ox-surface-tint);
  border: 1px solid var(--ox-line);
  border-radius: 6px;
}

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

.admin-settings-card-wide {
  grid-column: 1 / -1;
}

.theme-settings-block,
.theme-preview {
  margin: 0 0 22px;
  padding: 18px;
  background: var(--ox-canvas-alt);
  border: 1px solid var(--ox-line);
  border-radius: 6px;
}

.theme-preview {
  margin-top: 14px;
  background: var(--ox-surface);
}

.theme-preview-hero {
  padding-bottom: 18px;
  border-bottom: 1px solid var(--ox-line);
}

.theme-preview-kicker {
  color: var(--ox-primary);
  font-size: var(--ox-type-caption);
  font-weight: var(--ox-weight-semibold);
  text-transform: uppercase;
}

.theme-preview-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin-top: 14px;
}

.theme-preview-surface {
  padding: 16px;
  background: var(--ox-surface);
  border: 1px solid var(--ox-line);
  border-radius: 6px;
}

.danger-zone {
  border-color: #e9a6ae;
  border-top: 3px solid var(--ox-red);
}

/* Analytics, sharing, and footer */
.trend-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.trend-card.wide {
  grid-column: 1 / -1;
}

.trend {
  width: 100%;
  height: 260px;
}

.trend-label {
  fill: var(--ox-muted);
  font-family: var(--ox-font);
  font-size: 11px;
}

.trend-stats,
.trend-legend {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

#trend-tooltip {
  position: fixed;
  z-index: 2600;
  display: none;
  max-width: 300px;
  padding: 8px 10px;
  color: #ffffff;
  background: var(--ox-night);
  border-radius: 4px;
  box-shadow: var(--ox-shadow-md);
  font-size: 11px;
  pointer-events: none;
}

#trend-tooltip.show {
  display: block;
}

.analytics-bars {
  display: grid;
  gap: 9px;
}

.analytics-bar {
  display: grid;
  grid-template-columns: minmax(90px, 170px) minmax(120px, 1fr) auto;
  align-items: center;
  gap: 11px;
  font-size: 12px;
}

.analytics-bar-track {
  height: 9px;
  overflow: hidden;
  background: var(--ox-canvas-alt);
  border-radius: 999px;
}

.analytics-bar-track span {
  display: block;
  height: 100%;
  background: var(--ox-cyan);
}

.country-map {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(100px, 1fr));
  gap: 8px;
}

.country-tile {
  padding: 11px;
  color: var(--ox-heading);
  background: var(--ox-surface-tint);
  border: 1px solid var(--ox-line);
  border-radius: 6px;
  text-align: center;
  font-size: var(--ox-type-label);
  font-weight: var(--ox-weight-semibold);
}

.rating-input {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.rating-input label {
  display: inline-flex;
  min-height: 42px;
  align-items: center;
  gap: 7px;
  margin: 0;
  padding: 8px 10px;
  background: var(--ox-canvas-alt);
  border: 1px solid var(--ox-line);
  border-radius: 6px;
}

.rating-stars {
  color: #bd7300;
}

.share-panel {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
  margin-top: 48px;
  padding: 18px 20px;
  background: var(--ox-surface);
  border: 1px solid var(--ox-line);
  border-left: 4px solid var(--ox-cyan);
  border-radius: 6px;
  box-shadow: var(--ox-shadow-sm);
}

.share-panel p {
  margin: 3px 0 0;
  font-size: 13px;
}

.share-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 7px;
}

.share-link {
  display: inline-flex;
  min-height: 38px;
  align-items: center;
  gap: 7px;
  padding: 7px 10px 7px 7px;
  color: var(--ox-heading);
  background: var(--ox-surface);
  border: 1px solid var(--ox-line);
  border-radius: 6px;
  font-size: var(--ox-type-caption);
  font-weight: var(--ox-weight-semibold);
}

.share-link:hover {
  color: var(--ox-heading);
  background: var(--ox-surface-tint);
  border-color: var(--ox-blue);
}

.share-logo {
  display: inline-flex;
  width: 24px;
  height: 24px;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  background: var(--ox-navy);
  border-radius: 4px;
  font-size: 11px;
}

.share-logo svg {
  width: 13px;
  height: 13px;
  fill: currentColor;
}

.share-facebook .share-logo { background: #1877f2; }
.share-x .share-logo { background: #111111; }
.share-linkedin .share-logo { background: #0a66c2; }
.share-whatsapp .share-logo { background: #168a49; }
.share-telegram .share-logo { background: #188dc1; }
.share-email .share-logo { background: #526273; }
.share-copy .share-logo { background: var(--ox-navy); }

.footer {
  color: #bed0df;
  background: #03182e;
  border-top: 4px solid var(--ox-cyan);
}

.footer-inner {
  display: grid;
  grid-template-columns: minmax(190px, 0.62fr) minmax(360px, 1fr) minmax(210px, 0.62fr);
  gap: 36px;
  align-items: start;
  padding: 38px 24px 42px;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 12px;
}

.footer-brand img {
  width: 48px;
  height: 48px;
  object-fit: contain;
}

.footer-brand strong,
.footer-brand span {
  display: block;
}

.footer-brand strong {
  color: #ffffff;
  font-family: var(--ox-font-display);
  font-size: 18px;
  font-weight: var(--ox-weight-semibold);
}

.footer-brand span {
  margin-top: 2px;
  color: #89a5ba;
  font-size: 11px;
}

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

.footer a {
  color: #d6e4ee;
  font-size: var(--ox-type-label);
  font-weight: var(--ox-weight-medium);
}

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

.footer-contact {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 5px 10px;
  font-size: 11px;
}

.footer-contact span {
  color: #7894aa;
  font-weight: var(--ox-weight-medium);
}

.footer-contact a {
  overflow-wrap: anywhere;
}

/* RTL */
html[dir="rtl"] .menu-panel {
  right: 0;
  left: auto;
}

html[dir="rtl"] .menu-panel-right {
  right: auto;
  left: 0;
}

html[dir="rtl"] .hero-note,
html[dir="rtl"] .notice,
html[dir="rtl"] .pricing-benefit,
html[dir="rtl"] .workspace-link {
  border-right: 3px solid var(--ox-coral);
  border-left: 0;
}

html[dir="rtl"] .notice,
html[dir="rtl"] .pricing-benefit {
  border-right-color: var(--ox-cyan);
}

html[dir="rtl"] .workspace-link {
  border-right-color: transparent;
}

html[dir="rtl"] .workspace-link:hover,
html[dir="rtl"] .workspace-link.active {
  border-right-color: var(--ox-cyan);
}

html[dir="rtl"] .plan-list li {
  padding-right: 24px;
  padding-left: 0;
}

html[dir="rtl"] .plan-list li::before {
  right: 2px;
  left: auto;
}

html[dir="rtl"] .faq-item summary {
  padding-right: 20px;
  padding-left: 52px;
}

html[dir="rtl"] .faq-item summary::after {
  right: auto;
  left: 20px;
}

/* Responsive system */
@media (max-width: 1100px) {
  .auth-actions .account-chip,
  .auth-actions .button.secondary:nth-of-type(n + 2) {
    display: none;
  }

  .product-hero {
    grid-template-columns: minmax(0, 1.25fr) minmax(320px, 1fr);
    gap: 30px;
  }

  .product-hero h1 {
    font-size: 48px;
  }

  .workspace-summary-grid,
  .metric-row,
  .analytics-cards {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .admin-dashboard-tables {
    grid-template-columns: minmax(0, 1fr);
  }
}

@media (max-width: 980px) {
  :root {
    --header-height: 76px;
  }

  .nav {
    min-height: 72px;
    padding-inline: 18px;
  }

  .brand-logo {
    width: 44px;
    height: 44px;
    flex-basis: 44px;
  }

  .brand {
    font-size: 21px;
  }

  .site-menu,
  .auth-actions,
  .header-actions > .language-form {
    display: none;
  }

  .header-actions {
    flex: 0 0 auto;
  }

  .mobile-menu-toggle {
    display: flex;
    width: 42px;
    height: 42px;
    min-height: 42px;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 4px;
    padding: 0;
    background: var(--ox-night);
    border-color: var(--ox-night);
    border-radius: 6px;
  }

  .mobile-menu-toggle span {
    display: block;
    width: 19px;
    height: 2px;
    background: #ffffff;
    border-radius: 999px;
  }

  .mobile-drawer-backdrop {
    position: fixed;
    inset: 0;
    z-index: 1640;
    display: block;
    visibility: hidden;
    opacity: 0;
    background: rgba(1, 16, 31, 0.56);
    transition: opacity 180ms ease, visibility 180ms ease;
  }

  .mobile-drawer {
    position: fixed;
    inset: 0 0 0 auto;
    z-index: 1650;
    display: block;
    width: min(88vw, 380px);
    padding: 20px;
    overflow-y: auto;
    color: var(--ox-ink);
    background: var(--ox-surface);
    border-left: 1px solid var(--ox-line);
    box-shadow: var(--ox-shadow-lg);
    transform: translateX(104%);
    transition: transform 200ms ease;
  }

  .mobile-drawer-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding-bottom: 14px;
  }

  .mobile-drawer-title {
    color: var(--ox-heading);
    font-family: var(--ox-font-display);
    font-size: 19px;
    font-weight: var(--ox-weight-semibold);
  }

  .mobile-drawer-close {
    width: 38px;
    height: 38px;
    min-height: 38px;
    padding: 0;
    color: #ffffff;
    background: var(--ox-night);
    border-radius: 999px;
    font-size: 20px;
  }

  .mobile-drawer-section {
    padding: 15px 0;
    border-top: 1px solid var(--ox-line);
  }

  .mobile-drawer-section h3 {
    margin: 0 0 7px;
    color: var(--ox-muted);
    font-size: 11px;
    text-transform: uppercase;
  }

  .mobile-drawer-link {
    display: flex;
    min-height: 42px;
    align-items: center;
    padding: 9px 10px;
    color: var(--ox-heading);
    border-radius: 6px;
    font-size: 14px;
    font-weight: var(--ox-weight-medium);
  }

  .mobile-drawer-link:hover {
    color: var(--ox-heading);
    background: var(--ox-surface-tint);
  }

  body.mobile-menu-open {
    overflow: hidden;
  }

  body.mobile-menu-open .mobile-drawer {
    transform: translateX(0);
  }

  body.mobile-menu-open .mobile-drawer-backdrop {
    visibility: visible;
    opacity: 1;
  }

  html[dir="rtl"] .mobile-drawer {
    inset: 0 auto 0 0;
    border-right: 1px solid var(--ox-line);
    border-left: 0;
    transform: translateX(-104%);
  }

  html[dir="rtl"] body.mobile-menu-open .mobile-drawer {
    transform: translateX(0);
  }

  .product-hero {
    grid-template-columns: minmax(0, 1fr);
    min-height: auto;
    gap: 38px;
    padding-top: 54px;
  }

  .product-hero::before {
    top: 22%;
    right: -180px;
    width: 620px;
  }

  .product-hero h1 {
    font-size: 44px;
  }

  .service-preview {
    width: min(100%, 720px);
  }

  .pricing-grid,
  .auth-shell,
  .registration-shell,
  .workspace-shell,
  .workspace-grid,
  .dashboard-grid,
  .admin-settings-sections,
  .settings-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .workspace-rail {
    padding: 16px;
    border-right: 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.16);
  }

  .workspace-nav {
    display: flex;
    margin-top: 16px;
    overflow-x: auto;
    padding-bottom: 4px;
    scrollbar-width: none;
    overscroll-behavior-inline: contain;
    scroll-snap-type: inline proximity;
  }

  .workspace-nav::-webkit-scrollbar {
    display: none;
  }

  .workspace-link {
    flex: 0 0 auto;
    border-bottom: 3px solid transparent;
    border-left: 0;
    scroll-snap-align: start;
  }

  .workspace-link:hover,
  .workspace-link.active {
    border-bottom-color: var(--ox-cyan);
    border-left: 0;
  }

  .workspace-rail-note {
    display: none;
  }

  .registration-summary {
    position: static;
  }

  .auth-brand-panel {
    min-height: 320px;
  }

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

  .footer-contact {
    grid-column: 1 / -1;
  }
}

@media (max-width: 720px) {
  body {
    font-size: 15px;
  }

  .wrap {
    padding: 32px 16px 58px;
  }

  h1 {
    font-size: 32px;
  }

  h2 {
    font-size: 24px;
  }

  h3 {
    font-size: 18px;
  }

  .product-hero {
    padding: 42px 18px 44px;
  }

  .product-hero h1 {
    font-size: 36px;
  }

  .product-hero .hero-copy > p:not(.hero-note) {
    font-size: 16px;
  }

  .operator-strip,
  .service-preview-body,
  .workspace-summary-grid,
  .metric-row,
  .analytics-cards,
  .admin-dashboard-actions,
  .admin-settings-hub,
  .theme-preview-grid,
  .trend-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .preview-panel.wide,
  .trend-card.wide,
  .admin-settings-card-wide {
    grid-column: auto;
  }

  .product-video,
  .page-home main > .trust-strip,
  .page-home main > .grid,
  .home-ratings {
    width: min(calc(100% - 32px), var(--ox-content));
  }

  .pricing-hero,
  .dashboard-hero,
  .workspace-topbar,
  .workspace-section-head,
  .share-panel {
    align-items: stretch;
    flex-direction: column;
  }

  .workspace-topbar .workspace-commandbar {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    flex: 0 0 auto;
    width: 100%;
  }

  .workspace-topbar .workspace-commandbar .button {
    width: 100%;
    min-height: 44px;
  }

  .pricing-card,
  .registration-form,
  .workspace-main,
  form.card {
    padding: 22px;
  }

  .pricing-price,
  .theme-preview-price {
    font-size: 36px;
  }

  .how-step {
    grid-template-columns: minmax(0, 1fr);
    gap: 20px;
  }

  .how-step:nth-child(even) .how-copy,
  .how-step:nth-child(even) .how-media-wrap {
    order: initial;
  }

  .auth-brand-panel,
  .auth-form-panel,
  .registration-summary {
    padding: 28px;
  }

  .auth-brand-panel h1,
  .registration-summary h1 {
    font-size: 30px;
  }

  .password-policy ul {
    grid-template-columns: minmax(0, 1fr);
  }

  .profile-create-form {
    grid-template-columns: minmax(0, 1fr);
  }

  .profile-create-form label {
    grid-column: auto;
  }

  .table {
    display: block;
    overflow-x: auto;
    white-space: nowrap;
  }

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

  .footer-inner {
    grid-template-columns: minmax(0, 1fr);
    gap: 24px;
    padding-inline: 18px;
  }

  .footer-contact {
    grid-column: auto;
  }
}

@media (max-width: 430px) {
  .brand span {
    font-size: 19px;
  }

  .product-hero h1 {
    font-size: 32px;
  }

  .hero-actions .button,
  .how-cta .button,
  .dashboard-actions .button {
    width: 100%;
  }

  .preview-row,
  .detail-row {
    align-items: flex-start;
    flex-direction: column;
    gap: 4px;
  }

  .detail-row strong {
    text-align: start;
  }

  .auth-brand-panel > img,
  .registration-summary > img {
    width: 76px;
    height: 76px;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }
}
