:root {
  /* Neutrals — enterprise surfaces */
  --bg: #f1f5f9;
  --surface: #ffffff;
  --surface-alt: #f8fafc;
  --surface-muted: #f1f5f9;
  --line: #e2e8f0;
  --line-strong: #cbd5e1;
  --text: #0f172a;
  --muted: #64748b;
  /* Brand — matches optibiz-layout (--ob-green) used on marketing pages */
  --primary: #22c55e;
  --primary-dark: #16a34a;
  --primary-mid: #22c55e;
  --primary-light: #4ade80;
  --primary-bright: #86efac;
  --primary-soft: #dcfce7;
  --on-primary-hero: #f0fdf4;
  --success: #15803d;
  --danger: #b91c1c;
  /* Geometry — tight, consistent */
  --radius-sm: 4px;
  --radius-md: 6px;
  --radius-lg: 8px;
  --radius-xl: 10px;
  --shadow-sm: 0 1px 2px rgba(15, 23, 42, 0.05);
  --shadow-md: 0 4px 14px rgba(15, 23, 42, 0.07);
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
  font-family: var(--font-manrope), system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--text);
  background: var(--bg);
}

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

.container {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 20px;
}

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

.site-header {
  position: relative;
  z-index: 40;
  border-bottom: 1px solid var(--line);
  background: var(--surface);
}

.site-header-inner {
  height: 74px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  font-size: 1.06rem;
}

.site-brand-logo {
  display: block;
  height: 30px;
  width: auto;
  max-width: 136px;
  object-fit: contain;
}

.brand-dot {
  width: 28px;
  height: 28px;
  border-radius: var(--radius-md);
  display: inline-grid;
  place-items: center;
  background: var(--primary);
  color: #fff;
  font-size: 0.86rem;
}

.site-nav {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  align-items: center;
}

.nav-link {
  padding: 10px 12px;
  border-radius: var(--radius-md);
  color: #334155;
  font-weight: 600;
  font-size: 0.92rem;
}

.nav-link:hover {
  background: var(--surface-muted);
  color: var(--text);
}

.site-main {
  flex: 1;
  padding: 0 0 80px;
}

.site-footer {
  border-top: 1px solid #334155;
  padding: 48px 0 32px;
  color: #cbd5e1;
  font-size: 0.9rem;
  background: #0f172a;
}

.footer-grid {
  display: grid;
  gap: 18px;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
}

.footer-grid h3 {
  margin-bottom: 10px;
  font-size: 0.95rem;
  color: #ffffff;
}

.footer-grid p {
  margin: 0 0 8px;
}

.footer-grid a {
  color: #94a3b8;
}

.site-footer .brand {
  color: #ffffff;
}

.site-footer .muted {
  color: #94a3b8;
}

.footer-bottom {
  margin-top: 26px;
  border-top: 1px solid #334155;
  padding-top: 16px;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
  color: #94a3b8;
  font-size: 0.82rem;
  text-align: center;
}

.hero {
  border: none;
  border-bottom: 1px solid color-mix(in srgb, var(--primary-dark) 35%, #000 65%);
  border-radius: 0 0 var(--radius-xl) var(--radius-xl);
  padding: 64px 34px;
  margin: 0 calc(50% - 50vw);
  text-align: center;
  background: var(--primary-dark);
}

.hero .eyebrow {
  background: rgba(255, 255, 255, 0.1);
  color: var(--on-primary-hero);
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: var(--radius-sm);
}

.hero h1 {
  color: #fff;
  max-width: 920px;
  margin-inline: auto;
}

.hero .lead {
  color: var(--on-primary-hero);
  max-width: 760px;
  margin-inline: auto;
}

.hero .row {
  justify-content: center;
}

.hero-trust {
  margin-top: 16px;
  color: var(--on-primary-hero);
  font-weight: 600;
  font-size: 0.88rem;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  padding: 5px 10px;
  border-radius: var(--radius-sm);
  background: var(--surface-muted);
  color: var(--primary-dark);
  border: 1px solid var(--line);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

h1,
h2,
h3 {
  margin: 0;
  line-height: 1.16;
}

h1 {
  font-size: clamp(2rem, 5vw, 3.2rem);
  margin-top: 14px;
}

h2 {
  font-size: clamp(1.5rem, 2.9vw, 2.2rem);
}

h3 {
  font-size: 1.05rem;
}

p {
  line-height: 1.65;
}

.lead {
  margin-top: 16px;
  color: #374151;
  max-width: 760px;
  font-size: 1.02rem;
}

.section {
  margin-top: 44px;
}

.platform-section {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 24px;
}

.trusted-strip {
  text-align: center;
}

.trusted-logos {
  margin-top: 12px;
  display: grid;
  gap: 10px;
  grid-template-columns: repeat(6, minmax(0, 1fr));
}

.trusted-logo {
  border: 1px solid var(--line);
  color: var(--muted);
  background: var(--surface);
  border-radius: var(--radius-md);
  padding: 10px 8px;
  font-size: 0.86rem;
  font-weight: 700;
  transition: color 0.18s ease, border-color 0.18s ease;
}

.trusted-logo:hover {
  color: #4b5563;
  border-color: #e5e7eb;
}

.pill-grid {
  margin-top: 14px;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.platform-pill {
  border: 1px solid var(--line);
  background: var(--surface);
  color: #334155;
  border-radius: var(--radius-md);
  padding: 8px 11px;
  font-size: 0.82rem;
  font-weight: 600;
}

.stats-grid,
.split-section,
.feature-grid,
.testimonial-grid {
  display: grid;
  gap: 16px;
}

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

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

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

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

.card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 22px;
  box-shadow: var(--shadow-sm);
}

.card-soft {
  background: var(--surface-alt);
}

.feature-icon {
  width: 36px;
  height: 36px;
  border-radius: var(--radius-md);
  display: inline-grid;
  place-items: center;
  background: var(--surface-muted);
  color: var(--primary-dark);
  border: 1px solid var(--line);
  font-weight: 800;
  margin-bottom: 10px;
}

.kpi {
  font-size: 1.6rem;
  font-weight: 800;
  color: var(--primary-dark);
}

.kpi-label {
  color: var(--muted);
  margin-top: 4px;
  font-size: 0.9rem;
}

.media-placeholder .mockup-window {
  margin-bottom: 16px;
  border: 1px solid var(--line-strong);
  border-radius: 14px;
  overflow: hidden;
  background: #fff;
}

.mockup-top {
  height: 30px;
  background: var(--primary-soft);
  border-bottom: 1px solid var(--line);
}

.mockup-body {
  height: 120px;
  background: repeating-linear-gradient(
    180deg,
    var(--surface) 0px,
    var(--surface) 12px,
    var(--surface-muted) 12px,
    var(--surface-muted) 24px
  );
}

.btn {
  border: none;
  border-radius: var(--radius-md);
  padding: 10px 16px;
  font-weight: 600;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  transition: background 0.14s ease, border-color 0.14s ease, color 0.14s ease;
}

.btn:hover {
  filter: brightness(0.97);
}

.btn-primary {
  background: var(--primary);
  color: #fff;
}

.btn-primary:hover {
  background: var(--primary-dark);
}

.btn-secondary {
  background: var(--surface);
  border: 1px solid var(--line-strong);
  color: var(--text);
}

.btn-ghost {
  background: transparent;
  border: 1px solid var(--line-strong);
  color: #334155;
}

.btn-light {
  background: #ffffff;
  color: #1f2937;
}

.btn-outline-light {
  background: rgba(255, 255, 255, 0.14);
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.35);
}

.btn-success {
  background: #22c55e;
  color: #ffffff;
}

.btn-success:hover {
  background: #16a34a;
}

.input,
.textarea,
select {
  width: 100%;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-md);
  background: var(--surface);
  color: var(--text);
  padding: 11px 12px;
  font-size: 0.96rem;
}

.input:focus,
.textarea:focus,
select:focus {
  outline: 2px solid rgba(15, 118, 110, 0.2);
  outline-offset: 0;
  border-color: var(--primary-mid);
}

.textarea {
  min-height: 110px;
  resize: vertical;
}

.label {
  display: block;
  margin-bottom: 7px;
  font-size: 0.88rem;
  color: #4b5563;
  font-weight: 600;
}

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

.muted {
  color: var(--muted);
}

.checklist {
  margin-top: 10px;
  padding-left: 18px;
}

.checklist li {
  margin-bottom: 6px;
}

.checklist-check {
  list-style: none;
  padding-left: 0;
}

.checklist-check li {
  position: relative;
  padding-left: 28px;
}

.checklist-check li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.2em;
  width: 16px;
  height: 16px;
  background-repeat: no-repeat;
  background-size: 16px 16px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23065f46' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E");
}

.alert {
  border-radius: var(--radius-md);
  padding: 11px 13px;
  border: 1px solid;
  font-size: 0.9rem;
}

.alert-success {
  border-color: #86efac;
  background: #f0fdf4;
  color: var(--success);
}

.alert-danger {
  border-color: #fecaca;
  background: #fef2f2;
  color: var(--danger);
}

.quote-text {
  margin: 6px 0 0;
  font-size: 1rem;
}

.faq-item {
  border-top: 1px solid var(--line);
}

.faq-item:last-child {
  border-bottom: 1px solid var(--line);
}

.faq-question {
  list-style: none;
  display: block;
  padding: 14px 0;
  font-size: 1rem;
  font-weight: 700;
  cursor: pointer;
}

.faq-answer {
  margin: 0 0 14px;
  color: var(--muted);
}

.play-hero {
  background: var(--primary-dark);
  color: #ffffff;
  padding: 64px 0 0;
  margin: 0 calc(50% - 50vw);
}

.play-hero-inner {
  text-align: center;
}

.play-hero .eyebrow {
  background: rgba(255, 255, 255, 0.15);
  color: var(--on-primary-hero);
  border: 1px solid rgba(255, 255, 255, 0.25);
}

.play-hero h1 {
  max-width: 740px;
  margin: 14px auto 0;
  color: #ffffff;
}

.play-hero .lead {
  max-width: 670px;
  margin: 16px auto 0;
  color: var(--on-primary-hero);
}

.hero-tools {
  margin-top: 22px;
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 16px;
  color: var(--on-primary-hero);
  font-weight: 600;
  font-size: 0.9rem;
}

.hero-dashboard-shell {
  position: relative;
  width: min(920px, 90%);
  margin: 26px auto -110px;
}

.hero-dashboard-mock {
  margin: 0 auto;
  width: 100%;
  height: 430px;
  border-radius: var(--radius-lg) var(--radius-lg) 0 0;
  overflow: hidden;
  background: var(--surface-muted);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-md);
}

.hero-dashboard-mock img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  display: block;
}

.mockup-dots {
  position: absolute;
  width: 86px;
  height: 138px;
  background-image: radial-gradient(rgba(255, 255, 255, 0.9) 2px, transparent 2px);
  background-size: 28px 28px;
  opacity: 0.95;
  pointer-events: none;
}

.mockup-dots-top {
  top: -22px;
  right: -38px;
}

.mockup-dots-bottom {
  bottom: -20px;
  left: -34px;
}

.play-section-head {
  text-align: center;
  max-width: 760px;
  margin-inline: auto;
}

.hero-proof {
  background: var(--surface-muted);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 22px;
  margin-top: 130px;
}

.hero-proof-main {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  flex-wrap: wrap;
}

.proof-cta-btn {
  background: var(--success);
  color: #fff;
  border-radius: var(--radius-md);
  font-size: 1.45rem;
  font-weight: 800;
  letter-spacing: 0.02em;
  padding: 16px 40px;
}

.proof-cta-btn span {
  font-size: 1.5rem;
  line-height: 1;
}

.proof-meta {
  color: #14532d;
}

.proof-line {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 1.15rem;
  margin: 0;
}

.proof-card-icon {
  width: 22px;
  height: 22px;
  display: inline-grid;
  place-items: center;
}

.proof-card-icon svg {
  width: 22px;
  height: 22px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.9;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.proof-sub {
  margin: 4px 0 0;
  font-size: 0.98rem;
  font-weight: 700;
  color: #3f6212;
}

.hero-proof-social {
  margin-top: 20px;
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
}

.avatar-stack {
  display: flex;
}

.avatar-stack span {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  border: 3px solid var(--surface-muted);
  margin-left: -10px;
  display: grid;
  place-items: center;
  font-weight: 800;
  color: #fff;
}

.avatar-stack span:first-child {
  margin-left: 0;
  background: #22c55e;
}

.avatar-stack span:nth-child(2) {
  background: #15803d;
}

.avatar-stack span:nth-child(3) {
  background: #166534;
}

.people-used {
  margin: 0;
  font-size: 1.1rem;
  color: #3f6212;
}

.rating-chip {
  margin: 6px 0 0;
  display: inline-block;
  background: var(--surface);
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-md);
  padding: 6px 10px;
  font-size: 0.72rem;
  letter-spacing: 0.01em;
  color: #3f6212;
  font-weight: 700;
}

.rating-stars {
  color: #f59e0b;
  letter-spacing: 0.04em;
}

.top-brand-strip {
  margin: 26px calc(50% - 50vw) 0;
  background: #f8fafc;
  padding: 20px 20px 24px;
  text-align: center;
}

.top-brand-strip p {
  margin: 0;
  color: #4b5563;
  font-weight: 700;
}

.top-brand-logos {
  margin-top: 12px;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  gap: 38px;
}

.top-brand-logos img {
  height: 28px;
  width: auto;
  opacity: 0.9;
  filter: grayscale(100%);
  transition: filter 0.2s ease, opacity 0.2s ease;
}

.top-brand-logos img:hover {
  filter: grayscale(0%);
  opacity: 1;
}

/* Full-bleed auth (login + register): theme hero + card — padding aligns with .container (20px) */
.auth-page {
  min-height: 100vh;
  width: 100%;
  box-sizing: border-box;
  padding: 32px 20px 48px;
  background: var(--primary-dark);
  color: #f0fdf4;
}

.auth-split {
  margin: 0 auto;
  width: 100%;
  max-width: 1180px;
  display: grid;
  grid-template-columns: 1.08fr 0.92fr;
  gap: clamp(24px, 4vw, 40px);
  align-items: stretch;
  min-height: min(100vh - 80px, 900px);
}

.auth-hero {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-self: stretch;
  padding: 32px 32px 32px 4px;
  gap: 1.5rem;
}

.auth-hero-brand {
  margin-bottom: 20px;
}

.auth-hero-logo {
  display: block;
  height: 44px;
  width: auto;
  max-width: min(240px, 72vw);
  object-fit: contain;
  object-position: left center;
}

.auth-hero-title {
  margin: 0;
  font-size: clamp(1.45rem, 2.4vw, 2.05rem);
  font-weight: 700;
  line-height: 1.25;
  color: #fff;
  max-width: 36ch;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
}

.auth-hero-sub {
  margin: 28px 0 0;
  font-size: 1.02rem;
  font-weight: 700;
  color: #a7f3d0;
}

.auth-check-list {
  list-style: none;
  margin: 12px 0 0;
  padding: 0;
  max-width: 40ch;
}

.auth-check-item {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  margin-top: 12px;
  font-size: 0.95rem;
  line-height: 1.45;
  color: rgba(255, 247, 247, 0.95);
}

.auth-check-icon {
  flex: 0 0 auto;
  width: 20px;
  height: 20px;
  margin-top: 2px;
  color: #6ee7b7;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.auth-hero-disclaimer {
  margin: 0;
  font-size: 0.75rem;
  line-height: 1.55;
  color: rgba(167, 243, 208, 0.88);
  max-width: 46ch;
}

.auth-form-column {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px 0 24px 12px;
}

.auth-form-card {
  width: 100%;
  max-width: 440px;
  margin: 0;
  background: var(--surface);
  /* border: 1px solid var(--line); */
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  padding: clamp(32px, 3.5vw, 40px) clamp(28px, 3vw, 36px);
}

.auth-page .auth-form-card {
  color: #0f172a;
}

.auth-form-head {
  text-align: center;
}

.auth-form-head h1 {
  margin: 0;
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--text);
}

.auth-form-head .muted {
  margin: 10px 0 0;
  font-size: 0.9rem;
  line-height: 1.5;
  color: var(--muted);
}

.auth-form-body {
  display: flex;
  flex-direction: column;
  gap: 2px;
  margin-top: 24px;
}

.auth-page .auth-form-body .label {
  display: block;
  margin-top: 16px;
  margin-bottom: 8px;
  font-size: 0.85rem;
  font-weight: 600;
  color: #4b5563;
}

.auth-form-body > div:first-of-type .label,
.auth-name-grid .label:first-of-type {
  margin-top: 0;
}

.auth-req {
  color: var(--ob-green, var(--primary));
  font-weight: 600;
}

.auth-name-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px 14px;
}

.auth-field-hint {
  margin: 6px 0 0;
  font-size: 0.8rem;
  color: #94a3b8;
  line-height: 1.4;
}

.setup-2fa-lead {
  text-align: center;
  margin: 0 0 20px;
  font-size: 0.9rem;
  line-height: 1.55;
  color: var(--muted);
}

.setup-2fa-qr-wrap {
  display: flex;
  justify-content: center;
  margin: 0 0 14px;
  padding: 14px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
}

.setup-2fa-qr {
  display: block;
  width: 200px;
  height: 200px;
}

.setup-2fa-manual {
  margin: 14px 0 0;
  padding: 12px 14px;
  font-size: 0.8rem;
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  word-break: break-all;
  background: var(--surface-muted);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  color: var(--text);
}

.btn.setup-2fa-secondary {
  margin-top: 0;
  width: 100%;
  font-weight: 600;
  border-radius: var(--radius-md);
  background: var(--surface-muted);
  border: 1px solid var(--line-strong);
  color: var(--text);
}

.btn.setup-2fa-secondary:hover:not(:disabled) {
  background: var(--surface);
}

.auth-page .auth-form-body .input {
  width: 100%;
  box-sizing: border-box;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-md);
  background: var(--surface-muted);
  color: var(--text);
  padding: 14px 16px;
  font-size: 0.95rem;
  line-height: 1.4;
  letter-spacing: 0.01em;
  transition: border-color 0.15s ease, background 0.15s ease, box-shadow 0.15s ease;
}

.auth-page .auth-form-body .input::placeholder {
  color: #9ca3af;
}

.auth-page .auth-form-body .input:hover {
  border-color: var(--line-strong);
  background: var(--surface);
}

.auth-page .auth-form-body .input:focus {
  outline: none;
  border-color: var(--primary-light);
  background: #fff;
  box-shadow: 0 0 0 3px var(--primary-soft);
}

.auth-btn-cta {
  margin-top: 20px;
  width: 100%;
  font-weight: 700;
  border: none;
  border-radius: var(--radius-md);
  padding: 14px 18px;
}

.auth-page .auth-btn-cta {
  background: var(--primary);
  color: #fff;
}

.auth-page .auth-btn-cta:hover:not(:disabled) {
  background: var(--primary-dark);
  color: #fff;
}

.auth-btn-spinner {
  flex-shrink: 0;
  width: 22px;
  height: 22px;
  box-sizing: border-box;
  border: 2.5px solid rgba(255, 255, 255, 0.35);
  border-top-color: #fff;
  border-radius: 50%;
  animation: auth-spinner-rotate 0.7s linear infinite;
}

.auth-page .auth-btn-cta:disabled {
  opacity: 0.92;
  cursor: not-allowed;
  transform: none;
}

.auth-google-btn-spinner {
  flex-shrink: 0;
  width: 20px;
  height: 20px;
  box-sizing: border-box;
  border: 2px solid rgba(15, 23, 42, 0.14);
  border-top-color: var(--primary-dark);
  border-radius: 50%;
  animation: auth-spinner-rotate 0.7s linear infinite;
}

.auth-google-btn:disabled {
  opacity: 0.88;
  cursor: not-allowed;
  transform: none;
}

@keyframes auth-spinner-rotate {
  to {
    transform: rotate(360deg);
  }
}

.password-input-wrap {
  position: relative;
  width: 100%;
}

.password-input-wrap .input {
  padding-right: 48px;
}

.password-toggle {
  position: absolute;
  right: 6px;
  top: 50%;
  transform: translateY(-50%);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  padding: 0;
  border: none;
  background: transparent;
  color: #9ca3af;
  border-radius: 8px;
  cursor: pointer;
  transition: color 0.15s, background 0.15s;
}

.password-toggle:hover {
  color: var(--ob-green-dark, var(--primary-dark));
  background: color-mix(in srgb, var(--ob-green, var(--primary)) 12%, #fff);
}

.auth-checkbox {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-top: 12px;
  font-size: 0.86rem;
  line-height: 1.45;
  color: #475569;
  cursor: pointer;
}

.auth-checkbox input {
  margin-top: 3px;
  flex-shrink: 0;
  accent-color: var(--primary);
}

.auth-inline-link {
  color: var(--primary-dark);
  font-weight: 600;
  text-decoration: none;
}

.auth-inline-link:hover {
  text-decoration: underline;
  color: var(--primary);
}

.auth-form-row-btw {
  display: flex;
  justify-content: flex-end;
  margin-top: 4px;
}

.auth-switch {
  margin: 18px 0 0;
  font-size: 0.9rem;
  text-align: center;
}

.auth-divider {
  margin: 20px 0 0;
  position: relative;
  text-align: center;
  color: var(--muted);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.12em;
}

.auth-divider::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 50%;
  border-top: 1px solid var(--line);
  transform: translateY(-50%);
}

.auth-divider span {
  position: relative;
  background: #fff;
  padding: 0 12px;
}

.auth-google-btn {
  margin-top: 14px;
  width: 100%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  background: #fff;
  color: var(--text);
  font-weight: 600;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  padding: 12px 16px;
  transition: border-color 0.15s, background 0.15s;
}

.auth-google-btn:hover {
  background: var(--primary-soft);
  border-color: var(--line-strong);
  color: var(--primary-dark);
}

.auth-google-ico {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
}

.auth-alert {
  margin-top: 16px;
  padding: 10px 12px;
  border-radius: var(--radius-md);
  font-size: 0.86rem;
  line-height: 1.45;
}

.auth-alert--ok {
  background: #ecfdf5;
  color: #065f46;
  border: 1px solid #a7f3d0;
}

.auth-alert--bad {
  background: #fef2f2;
  color: #991b1b;
  border: 1px solid #fecaca;
}

.section-kicker {
  color: var(--primary);
  font-size: 0.85rem;
  font-weight: 700;
}

.play-section-head h2 {
  margin-top: 8px;
}

.play-section-head .muted {
  margin-top: 10px;
}

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

.feature-four-card {
  position: relative;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 18px 16px;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: border-color 0.18s ease, box-shadow 0.18s ease;
}

.feature-four-card::after {
  display: none;
}

.feature-four-card:hover {
  border-color: var(--line-strong);
  box-shadow: var(--shadow-md);
}

.feature-four-icon {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-md);
  display: grid;
  place-items: center;
  background: var(--primary);
  color: #fff;
  margin-bottom: 16px;
  border: 1px solid rgba(15, 23, 42, 0.12);
}

.feature-four-icon svg {
  width: 22px;
  height: 22px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.feature-four-card h3 {
  margin-bottom: 8px;
}

.feature-four-card p {
  color: #6b7280;
  margin: 0 0 14px;
}

.play-band {
  background: var(--primary-dark);
  margin: 50px calc(50% - 50vw) 0;
  padding: 72px 0;
}

.play-band-inner {
  text-align: center;
  color: #ffffff;
}

.play-band-inner h2 {
  color: #ffffff;
}

.play-band-inner p {
  max-width: 560px;
  margin: 10px auto 18px;
  color: var(--on-primary-hero);
}

/* —— Pricing page —— */
.pricing-page {
  margin: 0 calc(50% - 50vw);
  width: 100vw;
  max-width: 100vw;
  overflow-x: hidden;
}

.pricing-hero {
  position: relative;
  overflow: hidden;
  padding: 72px 24px 56px;
  text-align: center;
  color: #fff;
  background: var(--primary-dark);
  border-radius: 0 0 var(--radius-xl) var(--radius-xl);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.pricing-hero__glow {
  display: none;
}

.pricing-hero__glow--a {
  width: 340px;
  height: 340px;
  top: -120px;
  right: 8%;
  background: rgba(52, 211, 153, 0.55);
}

.pricing-hero__glow--b {
  width: 280px;
  height: 280px;
  bottom: -80px;
  left: 6%;
  background: rgba(16, 185, 129, 0.4);
}

.pricing-hero__inner {
  position: relative;
  z-index: 1;
  max-width: 760px;
  margin: 0 auto;
}

.pricing-hero__eyebrow {
  display: inline-flex;
  align-items: center;
  padding: 6px 10px;
  border-radius: var(--radius-sm);
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #ecfdf5;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.22);
}

.pricing-hero h1 {
  margin-top: 18px;
  color: #fff;
  font-size: clamp(2rem, 4.8vw, 3rem);
  letter-spacing: -0.02em;
}

.pricing-hero__lead {
  margin: 16px auto 0;
  max-width: 620px;
  color: var(--on-primary-hero);
  font-size: 1.05rem;
  line-height: 1.65;
  font-weight: 600;
}

.pricing-hero__sub {
  margin: 12px auto 0;
  max-width: 640px;
  color: rgba(236, 253, 245, 0.92);
  font-size: 0.98rem;
  line-height: 1.6;
}

.pricing-cycle {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  margin-top: 32px;
  padding: 4px;
  border-radius: var(--radius-md);
  background: rgba(15, 23, 42, 0.35);
  border: 1px solid rgba(255, 255, 255, 0.15);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.06);
}

.pricing-cycle__btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border: none;
  border-radius: var(--radius-sm);
  padding: 10px 18px;
  font-size: 0.92rem;
  font-weight: 600;
  color: rgba(236, 253, 245, 0.88);
  background: transparent;
  cursor: pointer;
  transition: background 0.16s ease, color 0.16s ease, box-shadow 0.16s ease;
}

.pricing-cycle__btn:hover {
  color: #fff;
}

.pricing-cycle__btn.is-active {
  color: var(--primary-dark);
  background: #fff;
  box-shadow: var(--shadow-sm);
}

.pricing-cycle__save {
  font-size: 0.72rem;
  font-weight: 700;
  padding: 2px 6px;
  border-radius: var(--radius-sm);
  color: var(--primary-dark);
  background: var(--primary-soft);
}

.pricing-cycle__btn:not(.is-active) .pricing-cycle__save {
  color: #a7f3d0;
  background: rgba(255, 255, 255, 0.12);
}

.pricing-plans {
  padding: 56px 24px 20px;
  background: var(--surface-alt);
}

.pricing-plans__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
  max-width: 1100px;
  margin: 0 auto;
  align-items: stretch;
}

.pricing-plans--duo .pricing-plans__grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  max-width: 880px;
}

.pricing-plan {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 28px 24px 26px;
  border-radius: var(--radius-lg);
  border: 1px solid var(--line);
  background: var(--surface);
  box-shadow: var(--shadow-sm);
  transition: border-color 0.18s ease, box-shadow 0.18s ease;
}

.pricing-plan:hover {
  border-color: var(--line-strong);
  box-shadow: var(--shadow-md);
}

.pricing-plan--featured {
  border-color: var(--primary-mid);
  background: var(--surface);
  box-shadow: var(--shadow-md);
}

.pricing-plan--featured:hover {
  box-shadow: var(--shadow-md);
}

.pricing-plan__ribbon {
  position: absolute;
  top: 0;
  left: 50%;
  transform: translate(-50%, -50%);
  padding: 5px 12px;
  border-radius: var(--radius-sm);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #fff;
  background: var(--primary);
  box-shadow: var(--shadow-sm);
}

.pricing-plan__badge {
  align-self: flex-start;
  margin-bottom: 4px;
  padding: 4px 8px;
  border-radius: var(--radius-sm);
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--primary-dark);
  background: var(--primary-soft);
}

.pricing-plan__head {
  margin-bottom: 18px;
}

.pricing-plan__name {
  font-size: 1.35rem;
  color: var(--primary-dark);
}

.pricing-plan__tagline {
  margin-top: 8px;
  color: var(--muted);
  font-size: 0.94rem;
  line-height: 1.5;
}

.pricing-plan__price {
  display: flex;
  align-items: baseline;
  gap: 8px;
  margin-bottom: 20px;
  padding-bottom: 20px;
  border-bottom: 1px solid #ecfdf5;
}

.pricing-plan__amount {
  font-size: clamp(2rem, 4vw, 2.6rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  color: var(--primary-dark);
}

.pricing-plan__amount--loading {
  opacity: 0.45;
}

.pricing-plan__period {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--muted);
}

.pricing-plan__group {
  margin-bottom: 16px;
}

.pricing-plan__group-label {
  margin: 0 0 10px;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--primary-mid);
}

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

.pricing-plan__group:last-of-type .pricing-plan__features {
  margin-bottom: 8px;
}

.pricing-plan__features li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.92rem;
  line-height: 1.45;
  color: #374151;
}

.pricing-check-icon {
  flex-shrink: 0;
  width: 20px;
  height: 20px;
  margin-top: 1px;
  color: var(--primary-mid);
}

.pricing-plan__cta {
  width: 100%;
  margin-top: auto;
  text-align: center;
}

.pricing-plan__cta--primary {
  background: var(--primary);
  color: #fff;
}

.pricing-plan__cta--primary:hover {
  background: var(--primary-dark);
}

.pricing-plan__cta--secondary {
  background: #fff;
  border: 1px solid var(--line-strong);
  color: var(--primary-dark);
}

.pricing-section-label {
  display: inline-flex;
  padding: 5px 10px;
  border-radius: var(--radius-sm);
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--primary-dark);
  background: var(--primary-soft);
}

.pricing-included {
  padding: 64px 24px;
  background: #fff;
}

.pricing-included__inner,
.pricing-faq__inner {
  max-width: 980px;
  margin: 0 auto;
}

.pricing-included h2,
.pricing-faq h2 {
  margin-top: 14px;
  color: var(--primary-dark);
}

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

.pricing-included__card {
  padding: 22px 20px;
  border-radius: var(--radius-lg);
  border: 1px solid var(--line);
  background: var(--surface);
}

.pricing-included__card h3 {
  color: var(--primary-dark);
  margin-bottom: 8px;
}

.pricing-included__card p {
  margin: 0;
  color: var(--muted);
  font-size: 0.94rem;
  line-height: 1.55;
}

.pricing-included__lead {
  margin: 12px 0 0;
  max-width: 640px;
  font-size: 0.98rem;
  line-height: 1.6;
}

.pricing-compare {
  padding: 56px 24px;
  background: #fff;
}

.pricing-compare__inner {
  max-width: 900px;
  margin: 0 auto;
}

.pricing-compare h2 {
  margin-top: 14px;
  color: var(--primary-dark);
}

.pricing-compare__lead {
  margin: 10px 0 0;
  max-width: 680px;
  font-size: 0.96rem;
  line-height: 1.55;
}

.pricing-compare__table-wrap {
  margin-top: 24px;
  overflow-x: auto;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: var(--surface);
  box-shadow: var(--shadow-sm);
}

.pricing-compare__table {
  width: 100%;
  min-width: 560px;
  border-collapse: collapse;
  font-size: 0.9rem;
}

.pricing-compare__table th,
.pricing-compare__table td {
  padding: 14px 16px;
  text-align: left;
  border-bottom: 1px solid #ecfdf5;
}

.pricing-compare__table thead th {
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--primary-dark);
  background: var(--primary-soft);
}

.pricing-compare__table tbody th {
  font-weight: 600;
  color: #374151;
}

.pricing-compare__table tbody td {
  color: var(--muted);
}

.pricing-compare__table tbody tr:last-child th,
.pricing-compare__table tbody tr:last-child td {
  border-bottom: none;
}

.pricing-faq {
  padding: 56px 24px 72px;
  background: var(--surface-alt);
}

.pricing-faq__list {
  margin-top: 28px;
  display: grid;
  gap: 12px;
}

.pricing-faq__item {
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: #fff;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}

.pricing-faq__item summary {
  padding: 18px 20px;
  font-weight: 700;
  color: var(--primary-dark);
  cursor: pointer;
  list-style: none;
}

.pricing-faq__item summary::-webkit-details-marker {
  display: none;
}

.pricing-faq__item summary::after {
  content: '+';
  float: right;
  font-size: 1.2rem;
  font-weight: 600;
  color: var(--primary-mid);
}

.pricing-faq__item[open] summary::after {
  content: '−';
}

.pricing-faq__item p {
  margin: 0;
  padding: 0 20px 18px;
  color: var(--muted);
  font-size: 0.94rem;
  line-height: 1.6;
}

.pricing-cta {
  padding: 72px 24px;
  text-align: center;
  color: #fff;
  background: var(--primary-dark);
}

.pricing-cta__inner {
  max-width: 640px;
  margin: 0 auto;
}

.pricing-cta h2 {
  color: #fff;
  font-size: clamp(1.6rem, 3.5vw, 2.2rem);
}

.pricing-cta p {
  margin: 12px auto 0;
  color: var(--on-primary-hero);
  font-size: 1.02rem;
  line-height: 1.6;
}

.pricing-cta__actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  margin-top: 26px;
}

.pricing-cta__btn-primary {
  background: #fff;
  color: var(--primary-dark);
}

.pricing-cta__btn-primary:hover {
  background: #ecfdf5;
}

.pricing-cta__btn-secondary {
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.35);
}

.pricing-cta__btn-secondary:hover {
  background: rgba(255, 255, 255, 0.2);
}

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

.browser-bridge {
  margin-top: 46px;
}

.browser-bridge-card {
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 26px;
  background: var(--surface-muted);
}

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

.platform-capabilities-block {
  position: relative;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: var(--surface-muted);
  padding: 34px 26px 30px;
  box-shadow: var(--shadow-sm);
}

.shape-orb {
  display: none;
}

.shape-orb-a {
  width: 230px;
  height: 230px;
  right: -60px;
  top: -70px;
  background: radial-gradient(circle, rgba(16, 185, 129, 0.16) 0%, transparent 70%);
}

.shape-orb-b {
  width: 180px;
  height: 180px;
  left: -40px;
  bottom: -60px;
  background: radial-gradient(circle, rgba(148, 163, 184, 0.16) 0%, transparent 74%);
}

.capability-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  padding: 16px;
  transition: border-color 0.18s ease, box-shadow 0.18s ease;
}

.capability-card:hover {
  border-color: var(--line-strong);
  box-shadow: var(--shadow-sm);
}

.capability-icon {
  width: 38px;
  height: 38px;
  border-radius: var(--radius-md);
  display: grid;
  place-items: center;
  color: var(--primary-dark);
  background: var(--primary-soft);
  border: 1px solid var(--line);
  margin-bottom: 10px;
}

.capability-icon svg {
  width: 18px;
  height: 18px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.pricing-card {
  position: relative;
  border: 1px solid #e5e7eb;
  border-radius: 12px;
  background: #ffffff;
  padding: 34px;
  margin-right: 20px;
}

.pricing-amount {
  margin: 12px 0 20px;
  display: flex;
  align-items: baseline;
  gap: 6px;
}

.pricing-amount strong {
  font-size: 2rem;
}

.pricing-amount span {
  color: #6b7280;
}

.pricing-card h4 {
  margin: 0 0 12px;
}

.pricing-card ul {
  list-style: none;
  padding: 0;
  margin: 0 0 20px;
  color: #6b7280;
}

.pricing-card li {
  margin-bottom: 10px;
}

.recommended-tag {
  position: absolute;
  top: 170px;
  right: 0;
  transform: rotate(90deg) translateY(-100%);
  transform-origin: top right;
  background: var(--primary);
  color: #fff;
  font-size: 0.72rem;
  font-weight: 700;
  padding: 6px 10px;
  border-radius: var(--radius-sm) var(--radius-sm) 0 0;
}

.trusted-logos-strip {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding: 24px 0;
  margin-top: 56px;
}

.trusted-logos-row {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 36px;
  flex-wrap: wrap;
  color: #111827;
  font-size: 2rem;
  font-weight: 800;
  text-transform: lowercase;
}

@media (max-width: 860px) {
  .site-header-inner {
    height: auto;
    padding: 14px 0;
    align-items: flex-start;
    flex-direction: column;
  }
  .hero {
    padding: 42px 22px;
    margin: 0 calc(50% - 50vw);
    border-radius: 0 0 var(--radius-xl) var(--radius-xl);
  }
  .site-main {
    padding-top: 24px;
  }
  .stats-grid,
  .split-section,
  .feature-grid,
  .testimonial-grid,
  .trusted-logos,
  .footer-grid {
    grid-template-columns: 1fr;
  }
  .footer-bottom {
    display: flex;
    justify-content: center;
  }
  .play-hero {
    padding-top: 42px;
  }
  .hero-proof {
    margin-top: 84px;
  }
  .proof-cta-btn {
    font-size: 1.2rem;
    padding: 14px 26px;
  }
  .proof-line,
  .proof-sub {
    font-size: 1rem;
  }
  .rating-chip {
    font-size: 0.74rem;
  }
  .top-brand-logos {
    gap: 16px;
  }
  .top-brand-logos img {
    height: 22px;
  }
  .hero-dashboard-mock {
    height: 290px;
    margin-bottom: -62px;
  }
  .hero-dashboard-shell {
    margin-bottom: -62px;
  }
  .mockup-dots {
    width: 64px;
    height: 108px;
    background-size: 22px 22px;
  }
  .mockup-dots-top {
    right: -18px;
    top: -18px;
  }
  .mockup-dots-bottom {
    left: -14px;
    bottom: -14px;
  }
  .feature-four-grid,
  .pricing-three-grid,
  .pricing-plans__grid,
  .pricing-included__grid,
  .capabilities-grid {
    grid-template-columns: 1fr;
  }
  .pricing-hero {
    padding: 52px 20px 44px;
    border-radius: 0 0 20px 20px;
  }
  .pricing-plans {
    padding: 40px 16px 12px;
  }
  .pricing-plan--featured {
    order: -1;
  }
  .pricing-compare {
    padding: 40px 16px;
  }
  .pricing-compare__table {
    font-size: 0.84rem;
  }
  .pricing-cta__actions {
    flex-direction: column;
    align-items: stretch;
  }
  .pricing-cta__actions .btn {
    width: 100%;
  }
  .auth-page {
    padding: 24px 20px 40px;
  }
  .auth-hero {
    padding: 12px 0 20px;
  }
  .auth-form-column {
    padding: 8px 0 16px;
  }
  .auth-split {
    grid-template-columns: 1fr;
    min-height: auto;
  }
  .auth-name-grid {
    grid-template-columns: 1fr;
  }
  .platform-capabilities-block {
    padding: 24px 14px 18px;
  }
  .trusted-logos-row {
    font-size: 1.4rem;
    gap: 18px;
  }
  .contact-layout {
    grid-template-columns: 1fr;
  }
  .contact-form__row--2 {
    grid-template-columns: 1fr;
  }
  .contact-hero.pricing-hero {
    padding: 52px 20px 44px;
  }
  .blog-grid {
    grid-template-columns: 1fr;
  }
  .blogs-hero.pricing-hero {
    padding: 52px 20px 44px;
  }
}

@media (max-width: 900px) {
  .blog-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

/* —— Contact page —— */
.contact-page {
  margin: 0 calc(50% - 50vw);
  width: 100vw;
  max-width: 100vw;
  overflow-x: hidden;
}

.contact-body {
  max-width: 1120px;
  margin: 0 auto;
  padding: 48px 24px 72px;
}

.contact-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr);
  gap: 28px;
  align-items: start;
}

.contact-aside__intro {
  margin: 0 0 20px;
  font-size: 0.98rem;
  line-height: 1.65;
  color: var(--text-muted, #6f767e);
}

.contact-channels {
  list-style: none;
  margin: 0 0 20px;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.contact-channel h3 {
  margin: 0 0 4px;
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--text, #1a1d1f);
}

.contact-channel__email {
  display: inline-block;
  margin-bottom: 6px;
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--primary, #065f46);
  text-decoration: none;
}

.contact-channel__email:hover {
  text-decoration: underline;
}

.contact-channel p {
  margin: 0;
  font-size: 0.88rem;
  line-height: 1.55;
  color: var(--text-muted, #6f767e);
}

.contact-hours {
  padding: 18px 20px;
}

.contact-hours h3 {
  margin: 0 0 8px;
  font-size: 0.95rem;
}

.contact-hours__note {
  margin-top: 8px !important;
  font-size: 0.84rem !important;
}

.contact-panel {
  padding: 28px 28px 32px;
  border: 1px solid var(--line);
  box-shadow: var(--shadow-sm);
  border-radius: var(--radius-lg);
  background: var(--surface);
}

.contact-panel__header {
  margin-bottom: 22px;
}

.contact-panel__header h2 {
  margin: 0 0 6px;
  font-size: 1.35rem;
  letter-spacing: -0.02em;
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.contact-form__row--2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.contact-field .label {
  display: block;
  margin-bottom: 6px;
}

.contact-input,
.contact-textarea,
.contact-select {
  width: 100%;
  border-radius: var(--radius-md);
  border: 1px solid var(--line-strong);
  background: var(--surface-muted);
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.contact-input:focus,
.contact-textarea:focus,
.contact-select:focus {
  outline: none;
  border-color: rgba(6, 95, 70, 0.45);
  box-shadow: 0 0 0 3px rgba(16, 185, 129, 0.15);
  background: #fff;
}

.contact-textarea {
  min-height: 148px;
  resize: vertical;
}

.contact-select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath fill='%236f767e' d='M1 1l5 5 5-5'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  padding-right: 36px;
}

.contact-form__error {
  margin: 0;
  padding: 10px 14px;
  border-radius: var(--radius-md);
  font-size: 0.9rem;
  color: #b91c1c;
  background: rgba(239, 68, 68, 0.08);
  border: 1px solid rgba(239, 68, 68, 0.2);
}

.contact-form__submit {
  align-self: flex-start;
  min-width: 160px;
}

.contact-form-success {
  text-align: center;
  padding: 28px 16px 12px;
}

.contact-form-success__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  margin-bottom: 14px;
  border-radius: 50%;
  color: #047857;
  background: rgba(16, 185, 129, 0.12);
}

.contact-form-success h3 {
  margin: 0 0 8px;
  font-size: 1.25rem;
}

.contact-form-success p {
  margin: 0 auto 20px;
  max-width: 380px;
  color: var(--text-muted, #6f767e);
  line-height: 1.6;
}

/* —— Blogs page —— */
.blogs-page {
  margin: 0 calc(50% - 50vw);
  width: 100vw;
  max-width: 100vw;
  overflow-x: hidden;
}

.blogs-hero__inner {
  max-width: 820px;
}

.blogs-hero__topics {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
  margin: 28px 0 0;
  padding: 0;
  list-style: none;
}

.blogs-hero__topics li {
  padding: 5px 10px;
  border-radius: var(--radius-sm);
  font-size: 0.8rem;
  font-weight: 600;
  color: #ecfdf5;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.18);
}

.blogs-body {
  max-width: 1120px;
  margin: 0 auto;
  padding: 48px 24px 72px;
}

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

.blog-card {
  display: flex;
  flex-direction: column;
  min-height: 220px;
  padding: 22px 22px 18px;
  border-radius: var(--radius-lg);
  border: 1px solid var(--line);
  background: #fff;
  box-shadow: var(--shadow-sm);
  transition: border-color 0.18s ease, box-shadow 0.18s ease;
}

.blog-card:hover {
  border-color: var(--line-strong);
  box-shadow: var(--shadow-md);
}

.blog-card__category {
  display: inline-block;
  align-self: flex-start;
  margin-bottom: 10px;
  padding: 3px 8px;
  border-radius: var(--radius-sm);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #047857;
  background: var(--primary-soft);
  border: 1px solid var(--line);
}

.blog-card__title {
  margin: 0 0 10px;
  font-size: 1.05rem;
  line-height: 1.35;
  letter-spacing: -0.02em;
}

.blog-card__title a {
  display: inline-flex;
  align-items: flex-start;
  gap: 6px;
  color: var(--text, #1a1d1f);
  text-decoration: none;
}

.blog-card__title a:hover {
  color: var(--primary, #065f46);
}

.blog-card__external {
  flex-shrink: 0;
  margin-top: 3px;
  opacity: 0.55;
}

.blog-card__description {
  flex: 1;
  margin: 0 0 16px;
  font-size: 0.9rem;
  line-height: 1.6;
  color: var(--text-muted, #6f767e);
}

.blog-card__footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding-top: 12px;
  border-top: 1px solid rgba(26, 29, 31, 0.08);
}

.blog-card__source {
  font-size: 0.8rem;
  font-weight: 600;
  color: #9aa0a6;
}

.blog-card__read {
  font-size: 0.86rem;
  font-weight: 700;
  color: var(--primary, #065f46);
  text-decoration: none;
  white-space: nowrap;
}

.blog-card__read:hover {
  text-decoration: underline;
}

.blog-pagination {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 40px;
}

.blog-pagination__btn {
  padding: 9px 16px;
  border-radius: var(--radius-md);
  border: 1px solid var(--line-strong);
  background: #fff;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text, #1a1d1f);
  cursor: pointer;
  transition: background 0.15s ease, border-color 0.15s ease;
}

.blog-pagination__btn:hover:not(:disabled) {
  border-color: rgba(6, 95, 70, 0.35);
  background: rgba(16, 185, 129, 0.08);
}

.blog-pagination__btn:disabled {
  opacity: 0.45;
  cursor: not-allowed;
}

.blog-pagination__pages {
  display: flex;
  align-items: center;
  gap: 6px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.blog-pagination__page {
  min-width: 40px;
  height: 40px;
  padding: 0 10px;
  border-radius: 10px;
  border: 1px solid transparent;
  background: transparent;
  font-size: 0.92rem;
  font-weight: 700;
  color: var(--text-muted, #6f767e);
  cursor: pointer;
  transition: background 0.15s ease, color 0.15s ease, border-color 0.15s ease;
}

.blog-pagination__page:hover {
  background: rgba(16, 185, 129, 0.1);
  color: var(--primary, #065f46);
}

.blog-pagination__page--active {
  border-color: rgba(6, 95, 70, 0.35);
  background: rgba(16, 185, 129, 0.14);
  color: var(--primary, #065f46);
}

.blog-pagination__meta {
  margin: 14px 0 0;
  text-align: center;
  font-size: 0.88rem;
}

/* —— Legal pages (privacy, terms) —— */
.legal-page {
  margin: 0 calc(50% - 50vw);
  width: 100vw;
  max-width: 100vw;
  overflow-x: hidden;
}

.legal-hero__inner {
  max-width: 820px;
}

.legal-hero__meta {
  margin: 20px 0 0;
  font-size: 0.9rem;
  font-weight: 600;
  color: rgba(236, 253, 245, 0.92);
}

.legal-body {
  max-width: 800px;
  margin: 0 auto;
  padding: 40px 24px 80px;
}

.legal-prose {
  font-size: 0.98rem;
  line-height: 1.7;
  color: var(--text, #1a1d1f);
}

.legal-prose a {
  color: var(--primary, #065f46);
  font-weight: 600;
}

.legal-prose a:hover {
  text-decoration: underline;
}

.legal-toc {
  margin-bottom: 36px;
  padding: 20px 22px;
}

.legal-toc__title {
  display: block;
  margin-bottom: 12px;
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: -0.01em;
  color: var(--primary-dark, #064e3b);
}

.legal-toc__list {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 8px 20px;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
}

.legal-toc__list a {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--primary, #065f46);
  text-decoration: none;
}

.legal-toc__list a:hover {
  text-decoration: underline;
}

.legal-section {
  margin-bottom: 36px;
  scroll-margin-top: 88px;
}

.legal-section h2 {
  margin: 0 0 14px;
  font-size: 1.35rem;
  letter-spacing: -0.02em;
  color: var(--primary-dark, #064e3b);
}

.legal-section h3 {
  margin: 18px 0 8px;
  font-size: 1.05rem;
}

.legal-section p {
  margin: 0 0 14px;
  color: var(--muted, #6f767e);
}

.legal-section ul {
  margin: 0 0 16px;
  padding-left: 1.25rem;
  color: var(--muted, #6f767e);
}

.legal-section li {
  margin-bottom: 8px;
}

.legal-section li strong {
  color: var(--text, #1a1d1f);
}

.legal-callout {
  margin-top: 20px;
  padding: 18px 20px;
  border-radius: 14px;
  border: 1px solid rgba(6, 95, 70, 0.22);
  background: rgba(16, 185, 129, 0.08);
}

.legal-callout h3 {
  margin: 0 0 10px;
  font-size: 1rem;
  color: var(--primary-dark, #064e3b);
}

.legal-callout p {
  margin: 0;
  color: var(--text, #1a1d1f);
}

@media (max-width: 640px) {
  .legal-body {
    padding: 28px 18px 64px;
  }

  .legal-hero.pricing-hero {
    padding: 52px 18px 44px;
  }
}

/* -------------------------------------------------------------------------- */
/* App workspace — post-login sidebar shell (SaaS dashboard pattern)           */
/* -------------------------------------------------------------------------- */

.app-shell {
  min-height: 100vh;
  display: flex;
  flex-direction: row;
  background: #f1f5f9;
  color: var(--text, #1f2937);
}

.app-shell__menu-btn {
  display: none;
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 50;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  padding: 0;
  border: 1px solid #e2e8f0;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.95);
  color: #0f172a;
  box-shadow: 0 2px 10px rgba(15, 23, 42, 0.06);
  cursor: pointer;
}

.app-shell__backdrop {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 35;
  margin: 0;
  padding: 0;
  border: none;
  background: rgba(15, 23, 42, 0.45);
  cursor: pointer;
}

.app-sidebar {
  position: fixed;
  top: 0;
  left: 0;
  bottom: 0;
  z-index: 40;
  width: 260px;
  display: flex;
  flex-direction: column;
  background: #0f172a;
  border-right: 1px solid rgba(148, 163, 184, 0.12);
}

.app-sidebar__brand {
  padding: 22px 18px 18px;
  border-bottom: 1px solid rgba(148, 163, 184, 0.14);
}

.app-sidebar__brand-link {
  display: flex;
  flex-direction: column;
  gap: 6px;
  text-decoration: none;
}

.app-sidebar__logo {
  display: block;
  height: auto;
  max-width: 60px;
  width: 100%;
  filter: brightness(0) invert(1);
  opacity: 0.96;
}

.app-sidebar__brand-text {
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(52, 211, 153, 0.92);
}

.app-sidebar__nav {
  flex: 1;
  overflow-y: auto;
  padding: 16px 0 20px;
}

.app-sidebar__label {
  margin: 16px 20px 8px;
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(148, 163, 184, 0.72);
}

.app-sidebar__nav .app-sidebar__label:first-child {
  margin-top: 6px;
}

.app-nav-item {
  display: flex;
  align-items: center;
  gap: 11px;
  margin: 3px 11px;
  padding: 10px 12px;
  border-radius: 10px;
  font-size: 0.9rem;
  font-weight: 500;
  color: rgba(226, 232, 240, 0.86);
  text-decoration: none;
  transition:
    background 0.12s ease,
    color 0.12s ease,
    border-color 0.12s ease;
  border: 1px solid transparent;
}

.app-nav-item:hover {
  background: rgba(148, 163, 184, 0.09);
  color: #f8fafc;
}

.app-nav-item__ico {
  flex-shrink: 0;
  display: flex;
  opacity: 0.9;
}

.app-nav-item--active {
  background: rgba(16, 185, 129, 0.16);
  color: #ecfdf5;
  border-color: rgba(52, 211, 153, 0.45);
}

.app-nav-item--active .app-nav-item__ico {
  color: #34d399;
  opacity: 1;
}

.app-sidebar__footer {
  padding: 14px 14px 18px;
  border-top: 1px solid rgba(148, 163, 184, 0.12);
  background: rgba(0, 0, 0, 0.12);
}

.app-sidebar__upgrade {
  width: 100%;
  padding: 10px 14px;
  border-radius: var(--radius-md);
  border: none;
  font-size: 0.87rem;
  font-weight: 600;
  color: #fff;
  background: var(--primary);
  cursor: pointer;
  transition: filter 0.15s ease;
}

.app-sidebar__upgrade:hover {
  filter: brightness(1.08);
}

.app-shell__main {
  flex: 1;
  display: flex;
  flex-direction: column;
  margin-left: 260px;
  min-width: 0;
}

.app-topbar {
  position: sticky;
  top: 0;
  z-index: 20;
  backdrop-filter: saturate(180%) blur(10px);
  background: rgba(255, 255, 255, 0.82);
  border-bottom: 1px solid #e2e8f0;
}

.app-topbar__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  max-width: 1200px;
  margin: 0 auto;
  padding: 16px 28px;
}

.app-topbar__title {
  margin: 0;
  font-size: 1.2rem;
  font-weight: 600;
  letter-spacing: -0.03em;
  color: #0f172a;
}

.app-topbar__cta {
  flex-shrink: 0;
  padding: 8px 16px;
  border-radius: var(--radius-md);
  font-size: 0.87rem;
  font-weight: 600;
  color: #fff;
  text-decoration: none;
  background: var(--primary);
  box-shadow: none;
}

button.app-topbar__cta {
  font: inherit;
  cursor: pointer;
  border: none;
}

.app-topbar__cta:hover {
  filter: brightness(1.05);
}

.app-topbar__actions {
  position: relative;
  flex-shrink: 0;
}

.app-user-menu {
  position: relative;
}

.app-user-menu__trigger {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 6px 10px 6px 6px;
  border: 1px solid #e2e8f0;
  border-radius: 999px;
  background: #fff;
  color: #0f172a;
  font: inherit;
  font-size: 0.88rem;
  font-weight: 600;
  cursor: pointer;
  transition:
    border-color 0.15s ease,
    box-shadow 0.15s ease;
}

.app-user-menu__trigger:hover {
  border-color: rgba(5, 150, 105, 0.35);
  box-shadow: 0 2px 10px rgba(15, 23, 42, 0.06);
}

.app-user-menu__avatar {
  flex-shrink: 0;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.8rem;
  font-weight: 700;
  color: #fff;
  background: var(--primary);
}

.app-user-menu__name {
  max-width: 160px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.app-user-menu__chevron {
  flex-shrink: 0;
  color: #64748b;
  transition: transform 0.15s ease;
}

.app-user-menu__chevron--open {
  transform: rotate(180deg);
}

.app-user-menu__dropdown {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  z-index: 50;
  min-width: 220px;
  padding: 8px;
  border-radius: 12px;
  border: 1px solid #e2e8f0;
  background: #fff;
  box-shadow: 0 16px 40px rgba(15, 23, 42, 0.12);
}

.app-user-menu__dropdown-head {
  padding: 10px 12px 8px;
  border-bottom: 1px solid #f1f5f9;
  margin-bottom: 6px;
}

.app-user-menu__dropdown-name {
  font-size: 0.88rem;
  font-weight: 600;
  color: #0f172a;
}

.app-user-menu__dropdown-email {
  margin-top: 2px;
  font-size: 0.78rem;
  color: #64748b;
  word-break: break-all;
}

.app-user-menu__signout {
  display: block;
  width: 100%;
  padding: 10px 12px;
  border: none;
  border-radius: 8px;
  background: transparent;
  color: #b91c1c;
  font: inherit;
  font-size: 0.88rem;
  font-weight: 600;
  text-align: left;
  cursor: pointer;
}

.app-user-menu__signout:hover {
  background: #fef2f2;
}

.app-content {
  flex: 1;
  padding: 24px 28px 48px;
  max-width: 1200px;
  width: 100%;
  margin: 0 auto;
  box-sizing: border-box;
}

.app-panel {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: var(--radius-lg);
  padding: 24px 26px 26px;
  box-shadow: var(--shadow-sm);
}

.app-panel + .app-panel,
.app-panel + .section.app-panel {
  margin-top: 20px;
}

.app-panel__title {
  margin: 12px 0 0;
  font-size: 1.52rem;
  line-height: 1.2;
  letter-spacing: -0.03em;
  color: var(--text);
}

@media (max-width: 959px) {
  .app-shell__menu-btn {
    display: inline-flex;
  }

  .app-shell__backdrop {
    display: block;
  }

  .app-sidebar {
    transform: translateX(-102%);
    transition: transform 0.22s ease;
    box-shadow: 12px 0 40px rgba(0, 0, 0, 0.25);
  }

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

  .app-shell__main {
    margin-left: 0;
  }

  .app-topbar__inner {
    padding: 54px 18px 14px;
  }

  .app-user-menu__name {
    display: none;
  }

  .app-user-menu__trigger {
    padding: 4px;
  }

  .app-content {
    padding: 18px 16px 40px;
  }
}

@media (min-width: 960px) {
  .app-sidebar {
    transform: translateX(0) !important;
    box-shadow: none;
  }

  .app-shell__backdrop {
    display: none !important;
  }
}

/* -------------------------------------------------------------------------- */
/* Verify email page                                                          */
/* -------------------------------------------------------------------------- */

.verify-email-wrap {
  display: flex;
  justify-content: center;
  align-items: flex-start;
  padding: clamp(28px, 7vw, 64px) 16px 72px;
  min-height: min(70vh, 560px);
}

.verify-email-card {
  width: 100%;
  max-width: 460px;
  padding: clamp(28px, 5vw, 42px) clamp(22px, 4vw, 36px);
  border-radius: var(--radius-lg);
  border: 1px solid var(--line);
  background: var(--surface);
  box-shadow: var(--shadow-md);
  text-align: center;
}

.verify-email-card .eyebrow {
  display: inline-block;
  margin-top: 4px;
}

.verify-email-title {
  margin: 10px 0 0;
  font-size: clamp(1.45rem, 4vw, 1.72rem);
  font-weight: 700;
  letter-spacing: -0.035em;
  line-height: 1.2;
  color: var(--primary-dark, #064e3b);
}

.verify-email-lead {
  margin: 14px 0 0;
  font-size: 1rem;
  line-height: 1.62;
  color: var(--text, #374151);
}

.verify-email-error-text {
  color: #7f1d1d;
  font-weight: 500;
}

.verify-email-figure {
  display: flex;
  justify-content: center;
  align-items: center;
  margin: 0 auto 8px;
  min-height: 72px;
}

.verify-email-figure--static {
  margin-bottom: 4px;
  animation: verify-email-pop 0.55s cubic-bezier(0.22, 1, 0.36, 1) both;
}

.verify-email-spinner {
  display: block;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 3px solid rgba(16, 185, 129, 0.2);
  border-top-color: var(--primary-light, #10b981);
  animation: verify-email-spin 0.75s linear infinite;
}

.verify-email-icon {
  width: 72px;
  height: 72px;
}

.verify-email-icon--success {
  color: rgba(16, 185, 129, 0.45);
}

.verify-email-ring {
  stroke-dasharray: 100;
  stroke-dashoffset: 100;
  animation: verify-email-draw-ring 0.9s cubic-bezier(0.45, 0, 0.2, 1) forwards 0.08s;
  transform-origin: center;
}

.verify-email-check {
  opacity: 0;
  stroke-dasharray: 40;
  stroke-dashoffset: 40;
  animation: verify-email-draw-check 0.45s cubic-bezier(0.45, 0, 0.2, 1) forwards 0.55s;
}

.verify-email-icon--error {
  color: #fca5a5;
}

.verify-email-icon--error .verify-email-x {
  opacity: 0;
  stroke-dasharray: 32;
  stroke-dashoffset: 32;
  animation: verify-email-draw-x 0.45s cubic-bezier(0.45, 0, 0.2, 1) forwards 0.12s;
}

.verify-email-actions {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 26px;
  align-items: stretch;
}

.verify-email-actions .btn {
  width: 100%;
  justify-content: center;
  text-decoration: none;
}

.verify-email-btn-primary {
  box-shadow: none;
}

.verify-email-actions--stack {
  margin-top: 22px;
}

.verify-email-support {
  margin-top: 4px;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--primary-dark, #064e3b);
  text-decoration: none;
}

.verify-email-support:hover {
  text-decoration: underline;
}

.verify-email-foot {
  margin: 20px 0 0;
  font-size: 0.82rem;
  line-height: 1.52;
}

.verify-email-alert {
  margin-top: 20px;
  padding: 16px 18px;
  border-radius: 14px;
  text-align: left;
  font-size: 0.875rem;
  line-height: 1.52;
  color: #57534e;
  background: rgba(254, 243, 199, 0.55);
  border: 1px solid rgba(250, 204, 21, 0.45);
}

.verify-email-alert strong {
  display: block;
  margin-bottom: 8px;
  color: #854d0e;
}

.verify-email-alert ul {
  margin: 0;
  padding-left: 1.15rem;
}

.verify-email-alert li {
  margin-bottom: 8px;
}

.verify-email-alert li:last-child {
  margin-bottom: 0;
}

@keyframes verify-email-spin {
  to {
    transform: rotate(360deg);
  }
}

@keyframes verify-email-pop {
  from {
    opacity: 0;
    transform: scale(0.86);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

@keyframes verify-email-draw-ring {
  to {
    stroke-dashoffset: 0;
  }
}

@keyframes verify-email-draw-check {
  to {
    opacity: 1;
    stroke-dashoffset: 0;
  }
}

@keyframes verify-email-draw-x {
  to {
    opacity: 1;
    stroke-dashoffset: 0;
  }
}

/* —— Dashboard workspace (metrics, billing table, CV list) —— */

.dash-metrics {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
  gap: 14px;
  margin-bottom: 22px;
}

.dash-metric-card {
  position: relative;
  padding: 18px 16px 16px;
  border-radius: var(--radius-lg);
  background: var(--surface);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-sm);
}

.dash-metric-label {
  display: block;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #64748b;
}

.dash-metric-value {
  margin: 8px 0 4px;
  font-size: 1.85rem;
  font-weight: 800;
  letter-spacing: -0.03em;
  color: #0f172a;
  line-height: 1.1;
}

.dash-metric-hint {
  font-size: 0.8rem;
  color: #94a3b8;
}

.dash-metric-link {
  display: inline-block;
  margin-top: 6px;
  font-size: 0.82rem;
  font-weight: 600;
  color: #059669;
  text-decoration: none;
}

.dash-metric-link:hover {
  text-decoration: underline;
}

.dash-two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
  margin-bottom: 22px;
}

@media (max-width: 900px) {
  .dash-two-col {
    grid-template-columns: 1fr;
  }
}

.dash-quick-links {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
  gap: 12px;
  margin-top: 18px;
}

.dash-quick-card {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 14px 14px 12px;
  border-radius: var(--radius-md);
  text-decoration: none;
  color: inherit;
  background: var(--surface-muted);
  border: 1px solid var(--line);
  transition:
    background 0.15s ease,
    border-color 0.15s ease;
}

.dash-quick-card:hover {
  background: var(--surface);
  border-color: var(--line-strong);
}

.dash-quick-card strong {
  font-size: 0.92rem;
  color: #0f172a;
}

.dash-quick-card span {
  font-size: 0.78rem;
  color: #64748b;
  line-height: 1.35;
}

.dash-section-title {
  margin: 0 0 12px;
  font-size: 1.05rem;
  font-weight: 700;
  color: #0f172a;
}

.dash-mini-list {
  margin: 0;
  padding: 0;
  list-style: none;
}

.dash-mini-list li {
  border-bottom: 1px solid rgba(226, 232, 240, 0.9);
}

.dash-mini-list li:last-child {
  border-bottom: none;
}

.dash-mini-list-link {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 6px 12px;
  padding: 12px 4px;
  text-decoration: none;
  color: inherit;
  border-radius: 8px;
  transition: background 0.12s ease;
}

.dash-mini-list-link:hover {
  background: rgba(241, 245, 249, 0.85);
}

.dash-mini-role {
  font-weight: 700;
  color: #0f172a;
}

.dash-mini-meta {
  margin-left: auto;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: #94a3b8;
}

.dash-file-input {
  position: absolute;
  width: 0.1px;
  height: 0.1px;
  opacity: 0;
  overflow: hidden;
  z-index: -1;
}

.dash-stack {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.dash-actions-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 16px;
}

.dash-billing-summary {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
  gap: 14px 20px;
  margin-top: 16px;
  padding: 16px 18px;
  border-radius: 12px;
  background: rgba(241, 245, 249, 0.55);
  border: 1px solid rgba(148, 163, 184, 0.28);
}

.dash-muted-label {
  display: block;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #94a3b8;
  margin-bottom: 4px;
}

.dash-table-wrap {
  margin-top: 12px;
  overflow-x: auto;
  border-radius: 12px;
  border: 1px solid rgba(226, 232, 240, 0.95);
}

.dash-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.88rem;
  background: #fff;
}

.dash-table th,
.dash-table td {
  padding: 12px 14px;
  text-align: left;
  border-bottom: 1px solid rgba(241, 245, 249, 1);
}

.dash-table th {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #64748b;
  background: rgba(248, 250, 252, 0.95);
}

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

.dash-table-actions {
  white-space: nowrap;
  text-align: right;
}

.dash-table-actions .auth-inline-link + .auth-inline-link {
  margin-left: 12px;
}

.dash-cv-list {
  margin: 0;
  padding: 0;
  list-style: none;
}

.dash-cv-item {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 14px;
  padding: 14px 0;
  border-bottom: 1px solid rgba(226, 232, 240, 0.95);
}

.dash-cv-item:last-child {
  border-bottom: none;
}

.dash-cv-item__actions {
  display: flex;
  flex-shrink: 0;
  align-items: center;
  gap: 8px;
}

.dash-cv-icon-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  padding: 0;
  border: 1px solid rgba(226, 232, 240, 0.95);
  border-radius: 10px;
  background: #fff;
  cursor: pointer;
  transition:
    background 0.15s ease,
    border-color 0.15s ease,
    color 0.15s ease;
}

.dash-cv-icon-btn:disabled {
  opacity: 0.55;
  cursor: not-allowed;
}

.dash-cv-icon-btn--download {
  color: #059669;
}

.dash-cv-icon-btn--download:hover:not(:disabled) {
  color: #047857;
  border-color: rgba(5, 150, 105, 0.35);
  background: rgba(236, 253, 245, 0.65);
}

.dash-cv-icon-btn--delete {
  color: #dc2626;
  border-color: rgba(248, 113, 113, 0.35);
}

.dash-cv-icon-btn--delete:hover:not(:disabled) {
  color: #b91c1c;
  border-color: rgba(239, 68, 68, 0.45);
  background: #fef2f2;
}

/* CV upload dropzone & multi-upload modal */
.cv-dropzone-input {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  margin: 0;
  padding: 0;
  opacity: 0;
  cursor: pointer;
  z-index: 2;
}

.cv-dropzone--disabled .cv-dropzone-input {
  cursor: not-allowed;
  pointer-events: none;
}

.cv-dropzone {
  position: relative;
  display: block;
  margin-top: 16px;
  border: 2px dashed rgba(148, 163, 184, 0.9);
  border-radius: var(--radius-md, 12px);
  background: linear-gradient(
    145deg,
    rgba(248, 250, 252, 0.95) 0%,
    rgba(241, 245, 249, 0.85) 100%
  );
  cursor: pointer;
  transition: border-color 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
  outline: none;
}

.cv-dropzone:focus-visible {
  box-shadow: 0 0 0 3px rgba(5, 150, 105, 0.35);
}

.cv-dropzone:hover,
.cv-dropzone--active {
  border-color: rgba(5, 150, 105, 0.65);
  background: linear-gradient(
    145deg,
    rgba(236, 253, 245, 0.65) 0%,
    rgba(240, 253, 250, 0.5) 100%
  );
  box-shadow: 0 10px 28px rgba(15, 23, 42, 0.06);
}

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

.cv-dropzone--disabled:hover,
.cv-dropzone--disabled.cv-dropzone--active {
  border-color: rgba(148, 163, 184, 0.9);
  background: linear-gradient(
    145deg,
    rgba(248, 250, 252, 0.95) 0%,
    rgba(241, 245, 249, 0.85) 100%
  );
  box-shadow: none;
}

.cv-dropzone-inner {
  position: relative;
  z-index: 1;
  padding: 36px 24px;
  text-align: center;
  pointer-events: none;
}

.cv-dropzone-icon {
  display: inline-flex;
  color: #059669;
  opacity: 0.9;
  margin-bottom: 12px;
}

.cv-dropzone-title {
  margin: 0 0 6px;
  font-size: 1rem;
  color: #0f172a;
}

.cv-dropzone-hint {
  margin: 0;
  font-size: 0.88rem;
  color: #64748b;
}

.cv-upload-modal-root {
  position: fixed;
  inset: 0;
  z-index: 1200;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  background: rgba(15, 23, 42, 0.48);
  backdrop-filter: blur(4px);
  animation: cv-modal-in 0.2s ease;
}

@keyframes cv-modal-in {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

.cv-upload-modal {
  width: 100%;
  max-width: 520px;
  max-height: min(88vh, 640px);
  overflow: auto;
  background: #fff;
  border-radius: 14px;
  box-shadow:
    0 24px 48px rgba(15, 23, 42, 0.18),
    0 0 1px rgba(15, 23, 42, 0.12);
  padding: 26px 24px 22px;
  border: 1px solid rgba(226, 232, 240, 0.95);
}

.cv-upload-modal__title {
  margin: 0 0 8px;
  font-size: 1.25rem;
  font-weight: 700;
  color: #0f172a;
}

.cv-upload-modal__lead {
  margin: 0 0 18px;
  font-size: 0.9rem;
}

.cv-upload-file-list {
  list-style: none;
  margin: 0 0 22px;
  padding: 0;
  max-height: 240px;
  overflow-y: auto;
  border: 1px solid rgba(226, 232, 240, 0.95);
  border-radius: 10px;
}

.cv-upload-file-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 12px 14px;
  border-bottom: 1px solid rgba(241, 245, 249, 1);
}

.cv-upload-file-row:last-child {
  border-bottom: none;
}

.cv-upload-file-meta {
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.cv-upload-file-name {
  font-weight: 600;
  font-size: 0.9rem;
  color: #0f172a;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.cv-upload-file-remove {
  flex-shrink: 0;
  padding: 6px 12px;
  font-size: 0.82rem;
  font-weight: 600;
  color: #64748b;
  background: transparent;
  border: 1px solid rgba(226, 232, 240, 1);
  border-radius: 8px;
  cursor: pointer;
  transition:
    color 0.15s ease,
    border-color 0.15s ease,
    background 0.15s ease;
}

.cv-upload-file-remove:hover {
  color: #b91c1c;
  border-color: rgba(252, 165, 165, 0.85);
  background: rgba(254, 242, 242, 0.6);
}

.cv-upload-modal__actions {
  display: flex;
  justify-content: flex-end;
  gap: 10px;
  flex-wrap: wrap;
}

.cv-upload-progress-wrap {
  height: 10px;
  border-radius: 999px;
  background: rgba(226, 232, 240, 0.95);
  overflow: hidden;
  margin-bottom: 10px;
}

.cv-upload-progress-bar {
  height: 100%;
  border-radius: 999px;
  background: linear-gradient(90deg, #059669, #10b981);
  transition: width 0.12s ease-out;
}

.cv-upload-progress-pct {
  margin: 0;
  font-size: 0.88rem;
  font-weight: 600;
  color: #047857;
  text-align: center;
}

.dash-pill {
  display: inline-block;
  margin-left: 8px;
  padding: 2px 6px;
  border-radius: var(--radius-sm);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  vertical-align: middle;
  color: #047857;
  background: var(--primary-soft);
  border: 1px solid var(--line);
}

.dash-form {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-top: 8px;
  max-width: 520px;
}

.dash-deeplink-hint {
  margin-top: 12px;
  max-width: 560px;
  font-size: 0.88rem;
  line-height: 1.45;
}

.dash-inline-btn-link {
  display: inline;
  margin: 0;
  padding: 0;
  border: none;
  background: none;
  font: inherit;
  font-weight: 600;
  color: #059669;
  text-decoration: underline;
  cursor: pointer;
}

.dash-inline-btn-link:hover {
  color: #047857;
}

/* Plans upgrade modal (workspace shell) */
.plans-modal-root {
  position: fixed;
  inset: 0;
  z-index: 80;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  padding: 20px 14px 32px;
  overflow-y: auto;
  background: rgba(15, 23, 42, 0.48);
  backdrop-filter: blur(5px);
}

.plans-modal-panel {
  position: relative;
  width: 100%;
  max-width: 940px;
  margin-top: min(4vh, 32px);
  margin-bottom: 24px;
  padding: 28px 26px 22px;
  border-radius: var(--radius-lg);
  background: var(--surface);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-md);
}

.plans-modal-close {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0;
  padding: 0;
  border: none;
  border-radius: 10px;
  font-size: 1.5rem;
  line-height: 1;
  font-weight: 400;
  color: #64748b;
  background: rgba(241, 245, 249, 0.9);
  cursor: pointer;
  transition:
    background 0.12s ease,
    color 0.12s ease;
}

.plans-modal-close:hover {
  background: rgba(226, 232, 240, 0.95);
  color: #0f172a;
}

.plans-modal-header {
  text-align: center;
  padding: 0 36px 8px;
  max-width: 640px;
  margin: 0 auto 8px;
}

.plans-modal-eyebrow {
  display: inline-block;
  margin-bottom: 8px;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #059669;
}

.plans-modal-header h2 {
  margin: 0 0 10px;
  font-size: 1.55rem;
  font-weight: 800;
  letter-spacing: -0.03em;
  color: #0f172a;
}

.plans-modal-lead {
  margin: 0 auto 18px;
  font-size: 0.92rem;
  line-height: 1.55;
  max-width: 52ch;
}

.plans-modal-cycle {
  justify-content: center;
  margin-top: 4px;
}

.plans-modal-plans {
  margin-top: 8px;
}

.plans-modal-plans .pricing-plans__grid {
  align-items: stretch;
}

@media (max-width: 820px) {
  .plans-modal-plans .pricing-plans__grid {
    grid-template-columns: 1fr;
  }
}

.plans-modal-footer {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 6px 10px;
  margin-top: 20px;
  padding-top: 16px;
  border-top: 1px solid rgba(226, 232, 240, 0.95);
  font-size: 0.88rem;
}

.plans-modal-footer-dot {
  color: #cbd5e1;
}

/* Workspace toasts (bottom) */
.app-toast-host {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 110;
  display: flex;
  flex-direction: column-reverse;
  align-items: center;
  gap: 10px;
  padding: 16px 16px 22px;
  pointer-events: none;
}

.app-toast {
  pointer-events: auto;
  display: flex;
  align-items: flex-start;
  gap: 12px;
  width: 100%;
  max-width: min(440px, 100vw - 32px);
  padding: 14px 16px;
  border-radius: var(--radius-md);
  font-size: 0.9rem;
  line-height: 1.45;
  font-weight: 500;
  box-shadow: var(--shadow-md);
  animation: app-toast-in 0.28s ease-out;
}

@keyframes app-toast-in {
  from {
    opacity: 0;
    transform: translateY(12px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.app-toast__text {
  flex: 1;
  min-width: 0;
  word-break: break-word;
}

.app-toast__close {
  flex-shrink: 0;
  margin: -4px -6px -4px 0;
  padding: 4px 8px;
  border: none;
  border-radius: 8px;
  font-size: 1.25rem;
  line-height: 1;
  color: inherit;
  opacity: 0.65;
  background: transparent;
  cursor: pointer;
}

.app-toast__close:hover {
  opacity: 1;
}

.app-toast--error {
  color: #7f1d1d;
  background: #fef2f2;
  border: 1px solid rgba(248, 113, 113, 0.45);
}

.app-toast--success {
  color: #14532d;
  background: #ecfdf5;
  border: 1px solid rgba(52, 211, 153, 0.4);
}

.app-toast--info {
  color: #1e3a5f;
  background: #eff6ff;
  border: 1px solid rgba(96, 165, 250, 0.35);
}

/* —— Dashboard profile (extended form) —— */
.profile-page {
  max-width: 880px;
  margin: 0 auto;
}

.profile-page__hero {
  margin-bottom: 22px;
}

.profile-page__lead {
  max-width: 62ch;
  margin-top: 8px;
  line-height: 1.55;
}

.profile-page__email {
  margin-top: 12px;
}

.profile-page__form {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.profile-card {
  padding: 22px 22px 20px;
  border-radius: var(--radius-lg);
  background: var(--surface);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-sm);
}

.profile-card__title {
  margin: 0 0 6px;
  font-size: 1.05rem;
  font-weight: 700;
  color: #0f172a;
  letter-spacing: -0.02em;
}

.profile-card__hint {
  margin: 0 0 18px;
  font-size: 0.88rem;
  line-height: 1.45;
}

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

.profile-grid--tight {
  margin-top: 16px;
}

@media (max-width: 720px) {
  .profile-grid {
    grid-template-columns: 1fr;
  }
}

.profile-field {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.profile-field--full {
  grid-column: 1 / -1;
}

.profile-field .label {
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #64748b;
}

.input--select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%2364748b' stroke-width='2'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 12px center;
  padding-right: 40px;
}

.profile-fieldset {
  margin: 0 0 4px;
  padding: 0;
  border: none;
}

.profile-fieldset .label {
  display: block;
  margin-bottom: 10px;
}

.profile-radio-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.profile-radio {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 12px 14px;
  border-radius: 12px;
  border: 1px solid rgba(226, 232, 240, 0.95);
  background: rgba(255, 255, 255, 0.65);
  cursor: pointer;
  transition:
    border-color 0.12s ease,
    background 0.12s ease;
}

.profile-radio:has(input:checked) {
  border-color: rgba(52, 211, 153, 0.55);
  background: rgba(236, 253, 245, 0.65);
}

.profile-radio input {
  margin-top: 3px;
  accent-color: #059669;
  width: 18px;
  height: 18px;
  flex-shrink: 0;
}

.profile-radio span {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.profile-radio strong {
  font-size: 0.92rem;
  color: #0f172a;
}

.profile-radio__hint {
  font-size: 0.8rem;
  color: #64748b;
  font-weight: 500;
}

.profile-check {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-top: 12px;
  font-size: 0.9rem;
  line-height: 1.45;
  color: #334155;
  cursor: pointer;
}

.profile-check input {
  margin-top: 3px;
  accent-color: #059669;
  width: 18px;
  height: 18px;
  flex-shrink: 0;
}

.profile-check--tile {
  margin-top: 0;
  padding: 10px 12px;
  border-radius: 10px;
  border: 1px solid rgba(226, 232, 240, 0.95);
  background: rgba(255, 255, 255, 0.7);
}

.profile-check--tile:has(input:checked) {
  border-color: rgba(52, 211, 153, 0.45);
  background: rgba(236, 253, 245, 0.5);
}

.profile-skill-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
  gap: 10px;
  margin-bottom: 14px;
}

.profile-code {
  font-size: 0.85em;
  padding: 1px 6px;
  border-radius: 6px;
  background: rgba(241, 245, 249, 0.95);
  color: #0f172a;
}

.profile-page__actions {
  display: flex;
  justify-content: flex-end;
  padding-top: 4px;
}
