/* ── Reset & Base ──────────────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  /* Brand palette — derived from the Veisla logo (warm near-black + gold/bronze).
     TBD: fine-tune once the brand identity is formally confirmed from the logo. */
  --brand-900: #14110b;  /* deepest warm near-black (hero/footer base)       */
  --brand-800: #1d1810;
  --brand-700: #2c2516;
  --brand-600: #6b5526;
  --brand-500: #8a6a24;  /* primary bronze — links/primary buttons (AA on white) */
  --brand-400: #a9842f;
  --brand-300: #d8c089;  /* light gold — borders/hover accents               */
  --accent:    #c8a24a;  /* gold accent (CTA fill; dark text on top)         */
  --accent-dk: #8a6a24;  /* darker gold — checkmarks/accent text on light    */
  --warn:      #d8902b;
  --danger:    #c0392b;
  --gray-50:   #f8f4ec;  /* warm parchment — light section background        */
  --gray-100:  #efe9dc;
  --gray-200:  #e2dccd;
  --gray-300:  #c9c1ad;
  --gray-400:  #94917f;
  --gray-500:  #6b6757;
  --gray-700:  #36322a;
  --gray-900:  #1c1812;  /* ink — primary text                              */
  --white:     #ffffff;
  --ok:        #1fae7e;  /* semantic green — status "operational" */
  --radius-sm: 6px;
  --radius:    12px;
  --radius-lg: 20px;
  --shadow-sm: 0 1px 3px rgba(20,17,11,.08), 0 1px 2px rgba(20,17,11,.06);
  --shadow:    0 4px 16px rgba(20,17,11,.10);
  --shadow-lg: 0 20px 60px rgba(20,17,11,.20);
  --font: system-ui, -apple-system, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
  --font-display: 'Iowan Old Style', 'Palatino Linotype', Palatino, Georgia, 'Times New Roman', serif;
}

html { scroll-behavior: smooth; }

body {
  font-family: var(--font);
  color: var(--gray-700);
  background: var(--white);
  line-height: 1.6;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
a  { color: var(--brand-500); text-decoration: none; }
a:hover { color: var(--brand-400); }

/* ── Typography ────────────────────────────────────────────────────────────── */
h1,h2,h3,h4,h5 {
  font-weight: 700;
  line-height: 1.25;
  color: var(--gray-900);
  letter-spacing: -0.01em;
}
h1,h2 { font-family: var(--font-display); letter-spacing: -0.02em; }
h1 { font-size: clamp(2rem, 5vw, 3.5rem); }
h2 { font-size: clamp(1.6rem, 3.5vw, 2.5rem); }
h3 { font-size: 1.25rem; }
p  { line-height: 1.75; }

.text-sm  { font-size: .875rem; }
.text-xs  { font-size: .75rem; }
.text-muted { color: var(--gray-500); }
.text-center { text-align: center; }
.text-white  { color: var(--white); }
.font-mono { font-family: ui-monospace, 'Cascadia Code', 'Consolas', monospace; }

/* ── Layout ────────────────────────────────────────────────────────────────── */
.container {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 24px;
}
.section { padding: 96px 0; }
.section-sm { padding: 64px 0; }

/* ── Buttons ───────────────────────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 24px;
  border-radius: var(--radius-sm);
  font-size: .9375rem;
  font-weight: 600;
  cursor: pointer;
  border: none;
  transition: all .18s ease;
  white-space: nowrap;
  text-decoration: none;
}
.btn-primary {
  background: var(--brand-500);
  color: var(--white);
  box-shadow: 0 0 0 0 rgba(138,106,36,.4);
}
.btn-primary:hover {
  background: var(--brand-400);
  color: var(--white);
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(138,106,36,.35);
}
.btn-accent {
  background: var(--accent);
  color: var(--gray-900);
}
.btn-accent:hover {
  background: #b8902f;
  color: var(--gray-900);
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(200,162,74,.35);
}
.btn-ghost {
  background: transparent;
  color: var(--white);
  border: 1.5px solid rgba(255,255,255,.35);
}
.btn-ghost:hover {
  background: rgba(255,255,255,.12);
  color: var(--white);
  border-color: rgba(255,255,255,.6);
}
.btn-outline {
  background: transparent;
  color: var(--brand-500);
  border: 1.5px solid var(--brand-500);
}
.btn-outline:hover {
  background: var(--brand-500);
  color: var(--white);
}
.btn-lg { padding: 16px 32px; font-size: 1rem; border-radius: var(--radius); }
.btn-sm { padding: 8px 16px; font-size: .875rem; }

/* ── Navigation ────────────────────────────────────────────────────────────── */
.nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(20,17,11,.95);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(255,255,255,.08);
}
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 88px;
  gap: 32px;
}
.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--white);
  font-size: 1.125rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  text-decoration: none;
}
.nav-logo .logo-icon {
  width: 34px;
  height: 34px;
  background: linear-gradient(135deg, var(--brand-500), var(--accent));
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
}
.nav-links {
  display: flex;
  align-items: center;
  gap: 4px;
  list-style: none;
  flex: 1;
  justify-content: center;
}
.nav-links a {
  padding: 8px 14px;
  border-radius: var(--radius-sm);
  color: rgba(255,255,255,.7);
  font-size: .9rem;
  font-weight: 500;
  transition: all .15s;
  text-decoration: none;
}
.nav-links a:hover, .nav-links a.active {
  color: var(--white);
  background: rgba(255,255,255,.1);
}
.nav-actions { display: flex; align-items: center; gap: 10px; }

/* Mobile nav toggle */
.nav-toggle {
  display: none;
  background: none;
  border: none;
  color: var(--white);
  cursor: pointer;
  padding: 6px;
  font-size: 1.25rem;
}

/* ── Hero ──────────────────────────────────────────────────────────────────── */
.hero {
  background: linear-gradient(160deg, var(--brand-900) 0%, var(--brand-800) 55%, var(--brand-700) 100%);
  padding: 120px 0 100px;
  position: relative;
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 60% 50% at 70% 40%, rgba(138,106,36,.18) 0%, transparent 70%),
    radial-gradient(ellipse 40% 60% at 20% 80%, rgba(216,192,137,.10) 0%, transparent 70%);
  pointer-events: none;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}
.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  border-radius: 100px;
  background: rgba(200,162,74,.16);
  border: 1px solid rgba(200,162,74,.35);
  color: var(--accent);
  font-size: .8125rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .06em;
  margin-bottom: 24px;
}
.hero h1 {
  color: var(--white);
  margin-bottom: 24px;
  font-size: clamp(2.2rem, 5vw, 3.6rem);
}
.hero h1 span { color: var(--accent); }
.hero-sub {
  color: rgba(255,255,255,.72);
  font-size: 1.125rem;
  margin-bottom: 40px;
  max-width: 480px;
}
.hero-btns { display: flex; gap: 14px; flex-wrap: wrap; }
.hero-stats {
  display: flex;
  gap: 32px;
  margin-top: 56px;
  padding-top: 40px;
  border-top: 1px solid rgba(255,255,255,.1);
}
.hero-stat-val {
  font-size: 1.75rem;
  font-weight: 700;
  color: var(--white);
}
.hero-stat-label {
  font-size: .8rem;
  color: rgba(255,255,255,.5);
  text-transform: uppercase;
  letter-spacing: .06em;
}

/* Dashboard mockup */
.hero-visual {
  position: relative;
}
.dashboard-card {
  background: rgba(255,255,255,.05);
  border: 1px solid rgba(255,255,255,.12);
  border-radius: var(--radius-lg);
  padding: 24px;
  backdrop-filter: blur(20px);
  box-shadow: var(--shadow-lg), inset 0 1px 0 rgba(255,255,255,.1);
}
.dash-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 20px;
}
.dash-dots { display: flex; gap: 6px; }
.dash-dot {
  width: 10px; height: 10px;
  border-radius: 50%;
}
.dash-dot:nth-child(1) { background: #ff5f56; }
.dash-dot:nth-child(2) { background: #ffbd2e; }
.dash-dot:nth-child(3) { background: #27c93f; }
.dash-title { color: rgba(255,255,255,.5); font-size: .75rem; }
.dash-stat-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin-bottom: 20px;
}
.dash-stat {
  background: rgba(255,255,255,.06);
  border-radius: var(--radius-sm);
  padding: 14px;
}
.dash-stat-num {
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--white);
}
.dash-stat-lbl {
  font-size: .7rem;
  color: rgba(255,255,255,.45);
  text-transform: uppercase;
  letter-spacing: .05em;
  margin-top: 2px;
}
.dash-event-row {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 12px;
  border-radius: var(--radius-sm);
  background: rgba(255,255,255,.04);
  margin-bottom: 8px;
}
.dash-event-dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  flex-shrink: 0;
}
.dash-event-name { color: rgba(255,255,255,.8); font-size: .85rem; flex: 1; }
.dash-badge {
  font-size: .7rem;
  font-weight: 600;
  padding: 3px 8px;
  border-radius: 100px;
}

/* ── Section labels ────────────────────────────────────────────────────────── */
.section-eyebrow {
  display: inline-block;
  font-size: .8125rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .1em;
  color: var(--brand-500);
  margin-bottom: 12px;
}
.section-header {
  margin-bottom: 64px;
}
.section-header p {
  margin-top: 16px;
  max-width: 600px;
  color: var(--gray-500);
  font-size: 1.0625rem;
}
.section-header.center { text-align: center; }
.section-header.center p { margin: 16px auto 0; }

/* ── Feature grid ──────────────────────────────────────────────────────────── */
.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}
.feature-card {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius);
  padding: 32px;
  transition: all .2s ease;
}
.feature-card:hover {
  border-color: var(--brand-300);
  box-shadow: var(--shadow);
  transform: translateY(-3px);
}
.feature-icon {
  width: 52px;
  height: 52px;
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  margin-bottom: 20px;
}
.feature-card h3 { margin-bottom: 10px; font-size: 1.0625rem; }
.feature-card p  { font-size: .9375rem; color: var(--gray-500); }

/* ── How it works ──────────────────────────────────────────────────────────── */
.how-bg { background: var(--gray-50); }
.steps-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  position: relative;
}
.steps-grid::before {
  content: '';
  position: absolute;
  top: 28px;
  left: calc(12.5% + 24px);
  right: calc(12.5% + 24px);
  height: 2px;
  background: linear-gradient(to right, var(--brand-300), var(--accent));
  z-index: 0;
}
.step-card {
  text-align: center;
  position: relative;
  z-index: 1;
}
.step-num {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--brand-500), var(--brand-400));
  color: var(--white);
  font-size: 1.125rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
  box-shadow: 0 4px 12px rgba(138,106,36,.35);
}
.step-card h3 { margin-bottom: 8px; }
.step-card p  { font-size: .9rem; color: var(--gray-500); }

/* ── Testimonials ──────────────────────────────────────────────────────────── */
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.testimonial-card {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius);
  padding: 32px;
  position: relative;
}
.testimonial-card::before {
  content: '\201C';
  position: absolute;
  top: 16px;
  left: 24px;
  font-size: 3.5rem;
  line-height: 1;
  color: var(--brand-300);
  font-family: Georgia, serif;
}
.testimonial-text {
  padding-top: 24px;
  color: var(--gray-700);
  font-size: .9375rem;
  line-height: 1.7;
  margin-bottom: 24px;
}
.testimonial-author {
  display: flex;
  align-items: center;
  gap: 12px;
  border-top: 1px solid var(--gray-100);
  padding-top: 20px;
}
.author-avatar {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: .9rem;
  color: var(--white);
  flex-shrink: 0;
}
.author-name  { font-weight: 600; font-size: .9rem; color: var(--gray-900); }
.author-role  { font-size: .8rem; color: var(--gray-500); }
.stars        { color: var(--warn); font-size: .875rem; margin-bottom: 4px; }

/* ── Pricing ───────────────────────────────────────────────────────────────── */
.pricing-toggle {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  margin-bottom: 56px;
}
.toggle-label { font-size: .9rem; font-weight: 500; color: var(--gray-500); }
.toggle-label.active { color: var(--gray-900); }
.toggle-wrap {
  position: relative;
  width: 52px;
  height: 28px;
  cursor: pointer;
}
.toggle-wrap input { display: none; }
.toggle-slider {
  position: absolute;
  inset: 0;
  background: var(--brand-500);
  border-radius: 100px;
  transition: .2s;
}
.toggle-slider::before {
  content: '';
  position: absolute;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--white);
  top: 3px;
  left: 3px;
  transition: .2s;
  box-shadow: var(--shadow-sm);
}
.toggle-wrap input:checked + .toggle-slider::before { transform: translateX(24px); }
.save-badge {
  background: var(--accent);
  color: var(--gray-900);
  font-size: .7rem;
  font-weight: 700;
  padding: 3px 8px;
  border-radius: 100px;
}
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  align-items: start;
}
.pricing-card {
  background: var(--white);
  border: 1.5px solid var(--gray-200);
  border-radius: var(--radius-lg);
  padding: 36px;
  transition: all .2s;
}
.pricing-card:hover { box-shadow: var(--shadow); }
.pricing-card.featured {
  border-color: var(--brand-500);
  box-shadow: 0 0 0 4px rgba(138,106,36,.08), var(--shadow);
  position: relative;
}
.pricing-popular-badge {
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  background: linear-gradient(135deg, var(--brand-500), var(--brand-400));
  color: var(--white);
  font-size: .75rem;
  font-weight: 700;
  padding: 4px 16px;
  border-radius: 100px;
  white-space: nowrap;
}
.pricing-tier   { font-size: .8125rem; font-weight: 600; text-transform: uppercase; letter-spacing: .08em; color: var(--brand-500); margin-bottom: 12px; }
.pricing-name   { font-size: 1.25rem; font-weight: 700; color: var(--gray-900); margin-bottom: 8px; }
.pricing-desc   { font-size: .9rem; color: var(--gray-500); margin-bottom: 24px; }
.pricing-amount {
  display: flex;
  align-items: baseline;
  gap: 4px;
  margin-bottom: 8px;
}
.pricing-currency { font-size: 1.25rem; font-weight: 600; color: var(--gray-700); }
.pricing-price    { font-size: 3rem; font-weight: 800; color: var(--gray-900); line-height: 1; }
.pricing-period   { font-size: .9rem; color: var(--gray-500); }
.pricing-billed   { font-size: .8rem; color: var(--gray-400); margin-bottom: 28px; min-height: 20px; }
.pricing-divider  { border: none; border-top: 1px solid var(--gray-100); margin: 24px 0; }
.pricing-features { list-style: none; margin-bottom: 32px; }
.pricing-features li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 7px 0;
  font-size: .9rem;
  color: var(--gray-700);
}
.pricing-features li .check {
  color: var(--accent-dk);
  font-size: .85rem;
  margin-top: 2px;
  flex-shrink: 0;
}
.pricing-features li .na {
  color: var(--gray-300);
  font-size: .85rem;
  margin-top: 2px;
  flex-shrink: 0;
}
.pricing-features li.na-item { color: var(--gray-300); }

/* ── Status page ───────────────────────────────────────────────────────────── */
.status-overall {
  border-radius: var(--radius-lg);
  padding: 32px 40px;
  display: flex;
  align-items: center;
  gap: 20px;
  margin-bottom: 48px;
}
.status-overall.operational { background: rgba(6,214,160,.08); border: 1.5px solid rgba(6,214,160,.3); }
.status-overall.degraded    { background: rgba(245,158,11,.08); border: 1.5px solid rgba(245,158,11,.3); }
.status-overall.outage      { background: rgba(239,68,68,.08);  border: 1.5px solid rgba(239,68,68,.3); }
.status-pulse {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  flex-shrink: 0;
  position: relative;
}
.status-pulse::after {
  content: '';
  position: absolute;
  inset: -4px;
  border-radius: 50%;
  opacity: .4;
  animation: pulse 2s infinite;
}
@keyframes pulse { 0%,100% { transform: scale(1); opacity: .4; } 50% { transform: scale(1.5); opacity: 0; } }
.status-pulse.green { background: var(--ok); }
.status-pulse.green::after { background: var(--ok); }
.status-pulse.yellow { background: var(--warn); }
.status-pulse.yellow::after { background: var(--warn); }
.status-pulse.red { background: var(--danger); }
.status-pulse.red::after { background: var(--danger); }
.status-overall-text h2 { font-size: 1.4rem; margin-bottom: 4px; }
.status-overall-text p { color: var(--gray-500); font-size: .9rem; }
.status-components { background: var(--white); border: 1px solid var(--gray-200); border-radius: var(--radius); overflow: hidden; margin-bottom: 48px; }
.status-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 24px;
  border-bottom: 1px solid var(--gray-100);
}
.status-row:last-child { border-bottom: none; }
.status-row-name { font-size: .9375rem; font-weight: 500; }
.status-row-sub  { font-size: .8rem; color: var(--gray-500); }
.status-badge-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 12px;
  border-radius: 100px;
  font-size: .8rem;
  font-weight: 600;
}
.pill-green  { background: rgba(6,214,160,.12);  color: var(--accent-dk); }
.pill-yellow { background: rgba(245,158,11,.12); color: #b45309; }
.pill-red    { background: rgba(239,68,68,.12);  color: #dc2626; }
.pill-gray   { background: var(--gray-100);       color: var(--gray-500); }
.uptime-bars { display: flex; gap: 3px; align-items: flex-end; }
.uptime-bar  { width: 8px; border-radius: 2px; transition: .2s; }
.uptime-bar:hover { opacity: .8; }
.incident-section { margin-top: 48px; }
.incident-section h3 { margin-bottom: 24px; }
.incident-card {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius);
  padding: 24px;
  margin-bottom: 16px;
}
.incident-header { display: flex; justify-content: space-between; align-items: flex-start; margin-bottom: 12px; }
.incident-date   { font-size: .8125rem; color: var(--gray-500); white-space: nowrap; }
.incident-update { display: flex; gap: 12px; padding: 10px 0; border-top: 1px solid var(--gray-100); font-size: .875rem; }
.incident-update-time  { color: var(--gray-400); font-size: .8rem; white-space: nowrap; min-width: 90px; }
.incident-update-text  { color: var(--gray-700); }
.incident-update-label { font-weight: 600; margin-right: 6px; }

/* ── Known Issues ──────────────────────────────────────────────────────────── */
.issues-filter {
  display: flex;
  gap: 8px;
  margin-bottom: 32px;
  flex-wrap: wrap;
}
.filter-btn {
  padding: 7px 16px;
  border-radius: 100px;
  border: 1.5px solid var(--gray-200);
  background: var(--white);
  font-size: .875rem;
  font-weight: 500;
  cursor: pointer;
  color: var(--gray-600);
  transition: all .15s;
}
.filter-btn:hover, .filter-btn.active {
  border-color: var(--brand-500);
  background: var(--brand-500);
  color: var(--white);
}
.issue-card {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius);
  padding: 24px;
  margin-bottom: 16px;
  transition: box-shadow .15s;
}
.issue-card:hover { box-shadow: var(--shadow-sm); }
.issue-header { display: flex; align-items: flex-start; gap: 16px; margin-bottom: 10px; }
.issue-severity {
  flex-shrink: 0;
  padding: 3px 10px;
  border-radius: 100px;
  font-size: .75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .04em;
  margin-top: 2px;
}
.sev-low    { background: var(--gray-100);           color: var(--gray-600); }
.sev-medium { background: rgba(245,158,11,.15);      color: #92400e; }
.sev-high   { background: rgba(239,68,68,.12);       color: #991b1b; }
.issue-title  { font-size: 1rem; font-weight: 600; color: var(--gray-900); }
.issue-meta   { font-size: .8125rem; color: var(--gray-500); margin-bottom: 8px; }
.issue-desc   { font-size: .9rem; color: var(--gray-600); }
.issue-tags   { display: flex; gap: 8px; margin-top: 12px; flex-wrap: wrap; }
.issue-tag    { padding: 3px 10px; background: var(--gray-100); border-radius: 100px; font-size: .75rem; color: var(--gray-600); }

/* ── Login ─────────────────────────────────────────────────────────────────── */
.login-page {
  min-height: calc(100vh - 68px);
  display: grid;
  grid-template-columns: 1fr 1fr;
}
.login-left {
  background: linear-gradient(160deg, var(--brand-900) 0%, var(--brand-800) 100%);
  padding: 80px 64px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  position: relative;
  overflow: hidden;
}
.login-left::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 70% 50% at 50% 50%, rgba(138,106,36,.2) 0%, transparent 70%);
}
.login-left-content { position: relative; z-index: 1; }
.login-left h2 { color: var(--white); margin-bottom: 16px; }
.login-left p  { color: rgba(255,255,255,.65); margin-bottom: 40px; max-width: 380px; }
.login-feature {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px 0;
  border-bottom: 1px solid rgba(255,255,255,.08);
  color: rgba(255,255,255,.75);
  font-size: .9375rem;
}
.login-feature:last-child { border-bottom: none; }
.login-feature-icon {
  width: 36px;
  height: 36px;
  background: rgba(255,255,255,.08);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  flex-shrink: 0;
}
.login-right {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 80px 64px;
  background: var(--gray-50);
}
.login-box {
  width: 100%;
  max-width: 420px;
}
.login-box h1 { font-size: 1.875rem; margin-bottom: 8px; }
.login-box > p { color: var(--gray-500); margin-bottom: 40px; }
.form-group { margin-bottom: 20px; }
.form-label {
  display: block;
  font-size: .875rem;
  font-weight: 600;
  color: var(--gray-700);
  margin-bottom: 7px;
}
.form-input {
  width: 100%;
  padding: 12px 14px;
  border: 1.5px solid var(--gray-200);
  border-radius: var(--radius-sm);
  font-size: .9375rem;
  color: var(--gray-900);
  background: var(--white);
  transition: border-color .15s, box-shadow .15s;
  font-family: var(--font);
}
.form-input:focus {
  outline: none;
  border-color: var(--brand-500);
  box-shadow: 0 0 0 3px rgba(138,106,36,.12);
}
.form-input.font-mono { font-family: ui-monospace, 'Cascadia Code', 'Consolas', monospace; }
.form-hint  { font-size: .8rem; color: var(--gray-500); margin-top: 6px; }
.form-error { font-size: .8rem; color: var(--danger); margin-top: 6px; }
.login-divider {
  text-align: center;
  position: relative;
  margin: 28px 0;
  color: var(--gray-400);
  font-size: .8rem;
}
.login-divider::before, .login-divider::after {
  content: '';
  position: absolute;
  top: 50%;
  width: 42%;
  height: 1px;
  background: var(--gray-200);
}
.login-divider::before { left: 0; }
.login-divider::after  { right: 0; }
.login-footer { margin-top: 32px; text-align: center; font-size: .875rem; color: var(--gray-500); }

/* ── About ─────────────────────────────────────────────────────────────────── */
.about-hero {
  background: linear-gradient(160deg, var(--brand-900), var(--brand-800));
  padding: 96px 0 80px;
  text-align: center;
}
.about-hero h1 { color: var(--white); }
.about-hero p  { color: rgba(255,255,255,.65); font-size: 1.125rem; max-width: 600px; margin: 20px auto 0; }
.values-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}
.value-card {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius);
  padding: 32px;
}
.value-icon { font-size: 1.75rem; margin-bottom: 16px; }
.value-card h3 { margin-bottom: 8px; }
.value-card p  { color: var(--gray-500); font-size: .9375rem; }
.team-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
.team-card { text-align: center; }
.team-avatar {
  width: 88px;
  height: 88px;
  border-radius: 50%;
  margin: 0 auto 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.75rem;
  font-weight: 700;
  color: var(--white);
}
.team-name  { font-weight: 600; color: var(--gray-900); margin-bottom: 4px; }
.team-role  { font-size: .875rem; color: var(--gray-500); }

/* ── CTA Banner ────────────────────────────────────────────────────────────── */
.cta-banner {
  background: linear-gradient(135deg, var(--brand-800) 0%, var(--brand-700) 100%);
  padding: 96px 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.cta-banner::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 60% 100% at 50% 0%, rgba(200,162,74,.14) 0%, transparent 60%);
}
.cta-banner h2, .cta-banner p { position: relative; }
.cta-banner h2 { color: var(--white); margin-bottom: 16px; }
.cta-banner p  { color: rgba(255,255,255,.65); font-size: 1.0625rem; max-width: 500px; margin: 0 auto 40px; }
.cta-btns      { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; position: relative; }

/* ── Footer ────────────────────────────────────────────────────────────────── */
.footer {
  background: var(--brand-900);
  color: rgba(255,255,255,.55);
  padding: 64px 0 32px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 48px;
}
.footer-brand p { font-size: .9rem; margin-top: 16px; max-width: 280px; line-height: 1.7; }
.footer-col h4  { color: var(--white); font-size: .875rem; font-weight: 600; margin-bottom: 16px; letter-spacing: .03em; }
.footer-links   { list-style: none; }
.footer-links li { margin-bottom: 10px; }
.footer-links a { color: rgba(255,255,255,.5); font-size: .875rem; transition: color .15s; }
.footer-links a:hover { color: var(--white); }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.08);
  padding-top: 28px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: .8125rem;
}
.footer-bottom-links { display: flex; gap: 24px; }
.footer-bottom-links a { color: rgba(255,255,255,.4); }
.footer-bottom-links a:hover { color: var(--white); }

/* ── Utilities ─────────────────────────────────────────────────────────────── */
.bg-gray  { background: var(--gray-50); }
.badge {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 4px 10px;
  border-radius: 100px;
  font-size: .75rem;
  font-weight: 600;
}
.badge-blue  { background: rgba(138,106,36,.1);  color: var(--brand-600); }
.badge-green { background: rgba(6,214,160,.12); color: var(--accent-dk); }

/* ── Page Hero (generic inner pages) ──────────────────────────────────────── */
.page-hero {
  background: linear-gradient(160deg, var(--brand-900) 0%, var(--brand-800) 60%, var(--brand-700) 100%);
  padding: 80px 0 72px;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.page-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 60% 80% at 50% 100%, rgba(138,106,36,.18) 0%, transparent 70%);
}
.page-hero .section-badge,
.page-hero .page-title,
.page-hero .page-subtitle { position: relative; z-index: 1; }
.page-title    { font-size: clamp(2rem, 4vw, 3rem); color: var(--white); margin-bottom: 16px; font-weight: 800; }
.page-subtitle { color: rgba(255,255,255,.65); font-size: 1.0625rem; max-width: 600px; margin: 0 auto; }

/* ── Logos bar ─────────────────────────────────────────────────────────────── */
.logos-bar { padding: 48px 0; border-bottom: 1px solid var(--gray-200); }
.logos-label { text-align: center; font-size: .8125rem; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--gray-400); margin-bottom: 24px; }
.logos-row { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; }
.logo-pill {
  padding: 8px 20px;
  border: 1.5px solid var(--gray-200);
  border-radius: 100px;
  font-size: .875rem;
  font-weight: 500;
  color: var(--gray-500);
}

/* ── Hero stats ────────────────────────────────────────────────────────────── */
.hero-stats {
  display: flex;
  gap: 40px;
  justify-content: center;
  flex-wrap: wrap;
  margin-top: 56px;
  padding-top: 40px;
  border-top: 1px solid rgba(255,255,255,.12);
}
.hero-stat { text-align: center; }
.hero-stat-value { display: block; font-size: 2rem; font-weight: 800; color: var(--white); line-height: 1; margin-bottom: 6px; }
.hero-stat-label { font-size: .8125rem; color: rgba(255,255,255,.5); font-weight: 500; text-transform: uppercase; letter-spacing: .06em; }

/* ── Billing toggle ────────────────────────────────────────────────────────── */
.billing-toggle {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  margin-top: 32px;
  background: rgba(255,255,255,.08);
  padding: 10px 20px;
  border-radius: 100px;
}
.toggle-label { font-size: .9375rem; color: rgba(255,255,255,.5); font-weight: 500; transition: color .2s; }
.toggle-label.active { color: var(--white); }
.toggle-switch { position: relative; display: inline-block; width: 46px; height: 26px; }
.toggle-switch input { opacity: 0; width: 0; height: 0; }
.toggle-slider {
  position: absolute;
  inset: 0;
  background: rgba(255,255,255,.18);
  border-radius: 13px;
  cursor: pointer;
  transition: background .2s;
}
.toggle-slider::before {
  content: '';
  position: absolute;
  width: 20px; height: 20px;
  left: 3px; top: 3px;
  background: var(--white);
  border-radius: 50%;
  transition: transform .2s;
}
.toggle-switch input:checked + .toggle-slider { background: var(--accent); }
.toggle-switch input:checked + .toggle-slider::before { transform: translateX(20px); }
.save-badge {
  background: var(--accent);
  color: var(--brand-900);
  font-size: .7rem;
  font-weight: 700;
  padding: 2px 7px;
  border-radius: 100px;
  margin-left: 6px;
  vertical-align: middle;
}
.price-billed { font-size: .8rem; color: var(--gray-400); min-height: 1.4em; margin-bottom: 12px; }
.btn-full { width: 100%; justify-content: center; }

/* ── Comparison table ──────────────────────────────────────────────────────── */
.compare-table-wrap { overflow-x: auto; }
.compare-table {
  width: 100%;
  border-collapse: collapse;
  font-size: .9375rem;
}
.compare-table th,
.compare-table td {
  padding: 14px 20px;
  text-align: center;
  border-bottom: 1px solid rgba(255,255,255,.07);
  color: rgba(255,255,255,.7);
}
.compare-table th:first-child,
.compare-table td:first-child { text-align: left; font-weight: 500; color: rgba(255,255,255,.85); }
.compare-table thead th {
  font-weight: 600;
  color: var(--white);
  font-size: 1rem;
  padding-bottom: 20px;
}
.compare-table .compare-featured { color: var(--accent); font-weight: 500; }
.compare-table thead .compare-featured { color: var(--accent); font-size: 1.0625rem; }
.compare-table tbody tr:last-child td { border-bottom: none; }

/* ── FAQ ───────────────────────────────────────────────────────────────────── */
.faq-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
.faq-item {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius);
  padding: 28px 32px;
}
.faq-item h4 { font-size: 1rem; font-weight: 600; margin-bottom: 10px; color: var(--gray-900); }
.faq-item p  { font-size: .9375rem; color: var(--gray-500); line-height: 1.65; }

/* ── CTA actions ───────────────────────────────────────────────────────────── */
.cta-content { position: relative; z-index: 1; }
.cta-actions { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; margin-top: 8px; }

/* ── Status page ───────────────────────────────────────────────────────────── */
.overall-status {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 20px 28px;
  border-radius: var(--radius);
  font-size: 1.0625rem;
  font-weight: 600;
  margin-bottom: 40px;
}
.overall-ok    { background: rgba(6,214,160,.1);  color: var(--accent-dk);  border: 1px solid rgba(6,214,160,.25); }
.overall-warn  { background: rgba(245,158,11,.1); color: #92400e;           border: 1px solid rgba(245,158,11,.25); }
.overall-error { background: rgba(239,68,68,.1);  color: #991b1b;           border: 1px solid rgba(239,68,68,.25); }
.overall-dot {
  width: 14px; height: 14px;
  border-radius: 50%;
  flex-shrink: 0;
}
.overall-ok   .overall-dot { background: var(--ok); box-shadow: 0 0 0 4px rgba(6,214,160,.2); }
.overall-warn .overall-dot { background: var(--warn);   box-shadow: 0 0 0 4px rgba(245,158,11,.2); }
.overall-error .overall-dot { background: var(--danger); box-shadow: 0 0 0 4px rgba(239,68,68,.2); }

.status-section-title { font-size: 1.125rem; font-weight: 700; color: var(--gray-900); margin-bottom: 16px; }
.status-components { margin-bottom: 48px; }
.status-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 16px 0;
  border-bottom: 1px solid var(--gray-100);
  gap: 16px;
}
.status-row:last-child { border-bottom: none; }
.status-row-name { display: flex; align-items: center; gap: 10px; font-weight: 500; color: var(--gray-700); }
.status-dot { width: 10px; height: 10px; border-radius: 50%; flex-shrink: 0; }
.status-ok-dot    { background: var(--ok); }
.status-warn-dot  { background: var(--warn); }
.status-error-dot { background: var(--danger); }
.status-row-right { display: flex; align-items: center; gap: 20px; }
.uptime-bar-wrap  { display: flex; align-items: center; gap: 10px; }
.uptime-bar { width: 120px; height: 8px; background: var(--gray-200); border-radius: 4px; overflow: hidden; }
.uptime-fill { height: 100%; border-radius: 4px; }
.status-ok-fill   { background: var(--ok); }
.status-warn-fill { background: var(--warn); }
.status-error-fill { background: var(--danger); }
.uptime-pct { font-size: .8125rem; color: var(--gray-500); white-space: nowrap; min-width: 52px; text-align: right; }
.status-badge { padding: 4px 12px; border-radius: 100px; font-size: .75rem; font-weight: 600; }
.status-ok    { background: rgba(6,214,160,.1);  color: var(--accent-dk); }
.status-warn  { background: rgba(245,158,11,.12); color: #92400e; }
.status-error { background: rgba(239,68,68,.1);  color: #991b1b; }

.incident-history { margin-bottom: 48px; }
.incident-card { background: var(--white); border: 1px solid var(--gray-200); border-radius: var(--radius); padding: 24px; margin-bottom: 16px; }
.incident-header { display: flex; justify-content: space-between; align-items: flex-start; margin-bottom: 12px; gap: 16px; }
.incident-date   { font-size: .8125rem; color: var(--gray-400); white-space: nowrap; flex-shrink: 0; }
.incident-badge  { padding: 3px 10px; border-radius: 100px; font-size: .7rem; font-weight: 700; text-transform: uppercase; letter-spacing: .04em; margin-right: 10px; }
.severity-badge-minor       { background: rgba(100,116,139,.12); color: var(--gray-500); }
.severity-badge-moderate    { background: rgba(245,158,11,.12); color: #92400e; }
.severity-badge-critical    { background: rgba(239,68,68,.12);  color: #991b1b; }
.severity-badge-maintenance { background: rgba(138,106,36,.1);   color: var(--brand-600); }
.incident-title { font-weight: 600; color: var(--gray-900); font-size: .9375rem; }
.incident-body  { font-size: .9rem; color: var(--gray-500); line-height: 1.65; margin-top: 8px; }

.status-subscribe {
  background: var(--gray-50);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius);
  padding: 32px;
  text-align: center;
}
.status-subscribe h3 { margin-bottom: 8px; }
.status-subscribe p  { color: var(--gray-500); margin-bottom: 20px; }
.subscribe-form { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }
.subscribe-form input {
  padding: 11px 16px;
  border: 1.5px solid var(--gray-200);
  border-radius: var(--radius-sm);
  font-size: .9375rem;
  width: 260px;
  font-family: var(--font);
}
.subscribe-form input:focus { outline: none; border-color: var(--brand-500); }

/* ── Known Issues page ─────────────────────────────────────────────────────── */
.issues-filters { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 28px; }
.issues-list { margin-bottom: 40px; }
.issue-card { background: var(--white); border: 1px solid var(--gray-200); border-radius: var(--radius); padding: 24px 28px; margin-bottom: 16px; transition: box-shadow .15s; }
.issue-card:hover { box-shadow: var(--shadow); }
.issue-header { display: flex; justify-content: space-between; align-items: flex-start; margin-bottom: 10px; gap: 16px; }
.issue-meta { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.issue-id { font-size: .75rem; font-weight: 700; font-family: ui-monospace, 'Cascadia Code', 'Consolas', monospace; color: var(--gray-400); background: var(--gray-100); padding: 3px 8px; border-radius: var(--radius-sm); }
.issue-date { font-size: .8rem; color: var(--gray-400); white-space: nowrap; flex-shrink: 0; }
.severity-badge { padding: 3px 10px; border-radius: 100px; font-size: .7rem; font-weight: 700; text-transform: uppercase; letter-spacing: .04em; }
.severity-minor    { background: rgba(100,116,139,.12); color: var(--gray-500); }
.severity-moderate { background: rgba(245,158,11,.12); color: #92400e; }
.severity-critical { background: rgba(239,68,68,.12);  color: #991b1b; }
.issue-status-badge { padding: 3px 10px; border-radius: 100px; font-size: .7rem; font-weight: 600; }
.status-investigating { background: rgba(239,68,68,.1);   color: #991b1b; }
.status-in-progress   { background: rgba(138,106,36,.1);   color: var(--brand-600); }
.status-backlog       { background: rgba(100,116,139,.1); color: var(--gray-600); }
.status-resolved      { background: rgba(6,214,160,.1);   color: var(--accent-dk); }
.issue-title { font-size: 1rem; font-weight: 600; color: var(--gray-900); margin-bottom: 8px; }
.issue-body  { font-size: .9rem; color: var(--gray-600); line-height: 1.65; }
.issue-workaround {
  margin-top: 12px;
  padding: 12px 16px;
  background: rgba(245,158,11,.06);
  border-left: 3px solid var(--warn);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  font-size: .875rem;
  color: var(--gray-700);
}
.issue-footer { margin-top: 12px; }
.issue-eta { font-size: .8125rem; color: var(--gray-400); }
.report-issue-box {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  background: var(--gray-50);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius);
  padding: 28px 32px;
  flex-wrap: wrap;
}
.report-issue-box h3 { margin-bottom: 4px; }
.report-issue-box p  { font-size: .9rem; color: var(--gray-500); }

/* ── Login page ────────────────────────────────────────────────────────────── */
.login-logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  font-size: 1.125rem;
  color: var(--white);
  text-decoration: none;
  margin-bottom: 40px;
}
.login-left h2 { font-size: 1.5rem; margin-bottom: 12px; }
.login-features { list-style: none; margin-bottom: 40px; }
.login-features li {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 14px 0;
  border-bottom: 1px solid rgba(255,255,255,.07);
}
.login-features li:last-child { border-bottom: none; }
.login-feature-icon {
  font-size: 1.25rem;
  width: 40px;
  height: 40px;
  background: rgba(255,255,255,.08);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.login-features strong { display: block; color: var(--white); font-size: .9375rem; margin-bottom: 2px; }
.login-features span   { color: rgba(255,255,255,.5); font-size: .85rem; line-height: 1.5; }
.login-testimonial {
  background: rgba(255,255,255,.06);
  border-radius: var(--radius);
  padding: 20px 24px;
}
.login-testimonial p { color: rgba(255,255,255,.75); font-size: .9rem; font-style: italic; margin-bottom: 14px; }
.login-testimonial-author { display: flex; align-items: center; gap: 12px; }
.login-testimonial-author strong { display: block; color: var(--white); font-size: .875rem; }
.login-testimonial-author span   { color: rgba(255,255,255,.45); font-size: .8rem; }
.login-form-wrap { width: 100%; max-width: 420px; }
.login-title    { font-size: 1.75rem; font-weight: 800; margin-bottom: 10px; color: var(--gray-900); }
.login-subtitle { color: var(--gray-500); margin-bottom: 32px; font-size: .9375rem; }
.login-form .form-group { margin-bottom: 24px; }
.login-form label {
  display: block;
  font-size: .875rem;
  font-weight: 600;
  color: var(--gray-700);
  margin-bottom: 7px;
}
.login-form input, .login-form select, .login-form textarea {
  width: 100%;
  padding: 12px 14px;
  border: 1.5px solid var(--gray-200);
  border-radius: var(--radius-sm);
  font-size: .9375rem;
  color: var(--gray-900);
  background: var(--white);
  font-family: var(--font);
  transition: border-color .15s, box-shadow .15s;
}
.login-form input:focus, .login-form select:focus, .login-form textarea:focus {
  outline: none;
  border-color: var(--brand-500);
  box-shadow: 0 0 0 3px rgba(138,106,36,.12);
}
.input-hint  { font-size: .8rem; color: var(--gray-400); margin-top: 7px; line-height: 1.5; }
.input-hint code { background: var(--gray-100); padding: 1px 5px; border-radius: 4px; font-family: ui-monospace, 'Cascadia Code', 'Consolas', monospace; font-size: .8rem; }
.input-error { font-size: .8rem; color: var(--danger); margin-top: 6px; min-height: 1.1em; }
.login-divider {
  text-align: center;
  position: relative;
  margin: 24px 0;
  color: var(--gray-400);
  font-size: .8rem;
}
.login-divider::before, .login-divider::after {
  content: '';
  position: absolute;
  top: 50%;
  width: 40%;
  height: 1px;
  background: var(--gray-200);
}
.login-divider::before { left: 0; }
.login-divider::after  { right: 0; }
.login-help { margin-top: 20px; text-align: center; font-size: .875rem; color: var(--gray-400); }

/* ── About page ────────────────────────────────────────────────────────────── */
.about-mission {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: start;
}
.about-mission-text h2 { margin-bottom: 20px; }
.about-mission-text p  { color: var(--gray-500); margin-bottom: 16px; line-height: 1.75; }
.about-mission-stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}
.mission-stat {
  background: var(--gray-50);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius);
  padding: 28px 24px;
  text-align: center;
}
.mission-stat-value { display: block; font-size: 2.5rem; font-weight: 800; color: var(--brand-500); line-height: 1; margin-bottom: 8px; }
.mission-stat-label { font-size: .875rem; color: var(--gray-500); font-weight: 500; }
.team-role  { display: block; font-size: .8125rem; color: var(--gray-400); margin-bottom: 10px; }
.team-card  { text-align: center; padding: 4px 0; }
.team-card p { font-size: .875rem; color: var(--gray-500); line-height: 1.6; margin-top: 10px; }
.team-card h4 { font-size: .9375rem; color: var(--gray-900); margin-bottom: 4px; }
.team-avatar {
  width: 72px; height: 72px;
  border-radius: 50%;
  margin: 0 auto 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--white);
  background: linear-gradient(135deg, var(--brand-600), var(--brand-400));
}

/* Contact section */
.contact-split {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 64px;
  align-items: start;
}
.contact-info h2    { color: var(--white); margin-bottom: 16px; }
.contact-info > p   { color: rgba(255,255,255,.6); line-height: 1.7; margin-bottom: 32px; }
.contact-details    { display: flex; flex-direction: column; gap: 20px; }
.contact-item       { display: flex; align-items: flex-start; gap: 14px; }
.contact-icon       { font-size: 1.25rem; flex-shrink: 0; margin-top: 2px; }
.contact-item strong { display: block; color: var(--white); font-size: .875rem; margin-bottom: 2px; }
.contact-item span,
.contact-item a      { color: rgba(255,255,255,.55); font-size: .9rem; }
.contact-item a:hover { color: var(--accent); }
.contact-form-wrap {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 36px;
}
.contact-form .form-group { margin-bottom: 18px; }
.contact-form .form-row   { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.contact-form label {
  display: block; font-size: .875rem; font-weight: 600;
  color: var(--gray-700); margin-bottom: 6px;
}
.contact-form input,
.contact-form select,
.contact-form textarea {
  width: 100%;
  padding: 11px 14px;
  border: 1.5px solid var(--gray-200);
  border-radius: var(--radius-sm);
  font-size: .9375rem;
  color: var(--gray-900);
  font-family: var(--font);
  transition: border-color .15s;
}
.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus { outline: none; border-color: var(--brand-500); }
.contact-form textarea { resize: vertical; min-height: 100px; }

/* ── Footer additions ──────────────────────────────────────────────────────── */
.footer-col ul   { list-style: none; }
.footer-col ul li { margin-bottom: 10px; }
.footer-col ul a  { color: rgba(255,255,255,.5); font-size: .875rem; transition: color .15s; }
.footer-col ul a:hover { color: var(--white); }
.footer-social { display: flex; gap: 10px; margin-top: 16px; }
.footer-social a {
  width: 34px; height: 34px;
  border: 1px solid rgba(255,255,255,.15);
  border-radius: var(--radius-sm);
  display: flex; align-items: center; justify-content: center;
  color: rgba(255,255,255,.45);
  font-size: .875rem;
  font-weight: 700;
  transition: all .15s;
  text-decoration: none;
}
.footer-social a:hover { border-color: var(--accent); color: var(--accent); }
.footer-legal { display: flex; gap: 24px; }
.footer-legal a { color: rgba(255,255,255,.4); font-size: .8125rem; }
.footer-legal a:hover { color: var(--white); }

/* ── Responsive ────────────────────────────────────────────────────────────── */
@media (max-width: 1024px) {
  .features-grid     { grid-template-columns: repeat(2,1fr); }
  .testimonials-grid { grid-template-columns: 1fr; }
  .steps-grid        { grid-template-columns: repeat(2,1fr); }
  .steps-grid::before { display: none; }
  .team-grid         { grid-template-columns: repeat(2,1fr); }
  .footer-grid       { grid-template-columns: 1fr 1fr; gap: 32px; }
  .hero-grid         { grid-template-columns: 1fr; }
  .hero-visual       { display: none; }
  .pricing-grid      { grid-template-columns: 1fr; max-width: 480px; margin: 0 auto; }
  .login-page        { grid-template-columns: 1fr; }
  .login-left        { display: none; }
  .login-right       { padding: 48px 32px; }
  .about-mission     { grid-template-columns: 1fr; }
  .contact-split     { grid-template-columns: 1fr; }
  .faq-grid          { grid-template-columns: 1fr; }
  .uptime-bar        { width: 80px; }
}

@media (max-width: 768px) {
  .features-grid  { grid-template-columns: 1fr; }
  .steps-grid     { grid-template-columns: 1fr; }
  .values-grid    { grid-template-columns: 1fr; }
  .team-grid      { grid-template-columns: repeat(2,1fr); }
  .footer-grid    { grid-template-columns: 1fr; }
  .footer-bottom  { flex-direction: column; gap: 16px; text-align: center; }
  .footer-legal   { flex-wrap: wrap; justify-content: center; gap: 12px; }
  .hero           { padding: 80px 0 64px; }
  .section        { padding: 64px 0; }
  .hero-stats     { gap: 24px; }
  .hero-stat-value { font-size: 1.5rem; }
  .about-mission-stats { grid-template-columns: repeat(2,1fr); }
  .report-issue-box { flex-direction: column; }
  .status-row-right { flex-direction: column; align-items: flex-end; gap: 6px; }
  .uptime-bar-wrap  { display: none; }
  .contact-form .form-row { grid-template-columns: 1fr; }
  .nav-links, .nav-actions .btn { display: none; }
  .nav-toggle     { display: block; }
  .nav-links.open {
    display: flex;
    flex-direction: column;
    position: fixed;
    top: 88px;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--brand-900);
    padding: 32px 24px;
    gap: 8px;
    z-index: 99;
  }
  .nav-links.open a { font-size: 1.125rem; }
}

/* ── Legal / Terms page ─────────────────────────────────────────────────────── */

.legal-wrap {
  padding-top: 2.5rem;
  padding-bottom: 5rem;
  max-width: 900px;
}

/* Tab navigation */
.legal-tabs {
  display: flex;
  gap: 0;
  border-bottom: 2px solid var(--gray-200);
  margin-bottom: 2.5rem;
  overflow-x: auto;
  scrollbar-width: none;
}
.legal-tabs::-webkit-scrollbar { display: none; }

.legal-tab {
  background: none;
  border: none;
  padding: 0.75rem 1.5rem;
  font-size: 0.9375rem;
  font-weight: 500;
  color: var(--gray-500);
  cursor: pointer;
  border-bottom: 2px solid transparent;
  margin-bottom: -2px;
  white-space: nowrap;
  transition: color 0.15s, border-color 0.15s;
}
.legal-tab:hover { color: var(--brand-700); }
.legal-tab.active {
  color: var(--brand-600);
  border-bottom-color: var(--brand-600);
}

/* Document panels */
.legal-doc { display: none; }
.legal-doc.active { display: block; }

/* Document header */
.legal-doc-header {
  margin-bottom: 2rem;
  padding-bottom: 2rem;
  border-bottom: 1px solid var(--gray-200);
}
.legal-doc-header h2 {
  font-size: 1.75rem;
  font-weight: 700;
  color: var(--brand-900);
  margin-bottom: 0.25rem;
}
.legal-subtitle {
  font-size: 1rem;
  color: var(--gray-500);
  margin-bottom: 1rem;
}
.legal-doc-header p { color: var(--gray-600); line-height: 1.7; margin-bottom: 0.75rem; }
.legal-doc-header p:last-child { margin-bottom: 0; }

/* Table of contents */
.legal-toc {
  background: var(--gray-50);
  border: 1px solid var(--gray-200);
  border-radius: 10px;
  padding: 1.25rem 1.5rem;
  margin-bottom: 2.5rem;
  display: inline-block;
  min-width: 260px;
  max-width: 100%;
}
.legal-toc-title {
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--gray-500);
  margin-bottom: 0.75rem;
}
.legal-toc ol {
  list-style: decimal;
  padding-left: 1.25rem;
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}
.legal-toc a {
  font-size: 0.875rem;
  color: var(--brand-600);
  text-decoration: none;
}
.legal-toc a:hover { text-decoration: underline; }

/* Sections */
.legal-section {
  margin-bottom: 2.25rem;
  padding-bottom: 2.25rem;
  border-bottom: 1px solid var(--gray-100);
}
.legal-section:last-of-type { border-bottom: none; }
.legal-section h3 {
  font-size: 1.0625rem;
  font-weight: 700;
  color: var(--brand-900);
  margin-bottom: 0.85rem;
}
.legal-section p {
  color: var(--gray-600);
  line-height: 1.75;
  margin-bottom: 0.75rem;
}
.legal-section p:last-child { margin-bottom: 0; }
.legal-section ul, .legal-section ol {
  padding-left: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
  margin-bottom: 0.75rem;
}
.legal-section li {
  color: var(--gray-600);
  line-height: 1.7;
  font-size: 0.9375rem;
}
.legal-section a { color: var(--brand-600); }
.legal-section a:hover { text-decoration: underline; }

/* Annex styling */
.legal-annex {
  background: var(--gray-50);
  border: 1px solid var(--gray-200);
  border-radius: 10px;
  padding: 1.5rem 1.75rem;
}
.legal-annex h3 {
  font-size: 1rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--gray-600);
}

/* Callout box (privacy policy two-roles section) */
.legal-callout {
  background: var(--gray-50);
  border-left: 3px solid var(--brand-500);
  border-radius: 0 8px 8px 0;
  padding: 1.25rem 1.5rem;
  margin-bottom: 2rem;
}
.legal-callout h4 {
  font-size: 0.9375rem;
  font-weight: 700;
  color: var(--brand-800);
  margin-bottom: 0.5rem;
}
.legal-callout p { color: var(--gray-700); font-size: 0.9375rem; line-height: 1.7; margin-bottom: 0.5rem; }
.legal-callout ul { padding-left: 1.25rem; display: flex; flex-direction: column; gap: 0.4rem; margin-top: 0.5rem; }
.legal-callout li { color: var(--gray-700); font-size: 0.9375rem; line-height: 1.65; }

/* Tables */
.legal-table-wrap {
  overflow-x: auto;
  margin: 1rem 0;
  border-radius: 8px;
  border: 1px solid var(--gray-200);
}
.legal-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.875rem;
}
.legal-table thead th {
  background: var(--gray-50);
  color: var(--gray-700);
  font-weight: 600;
  text-align: left;
  padding: 0.65rem 1rem;
  border-bottom: 1px solid var(--gray-200);
  white-space: nowrap;
}
.legal-table tbody td {
  padding: 0.6rem 1rem;
  color: var(--gray-600);
  line-height: 1.55;
  vertical-align: top;
  border-bottom: 1px solid var(--gray-100);
}
.legal-table tbody tr:last-child td { border-bottom: none; }
.legal-table tbody tr:hover td { background: var(--gray-50); }

/* Signature block */
.legal-signature {
  margin-top: 2.5rem;
  padding-top: 1.5rem;
  border-top: 2px solid var(--gray-200);
}
.legal-signature p {
  font-size: 0.875rem;
  color: var(--gray-500);
  margin-bottom: 0.25rem;
}

/* ═══════════════════════════════════════════════════════════════════════════
   Veisla landing — new components (lang switch, consent, sections, form)
   ═══════════════════════════════════════════════════════════════════════════ */

/* ── Logo sizing (shared) ──────────────────────────────────────────────────── */
.nav-logo img { height: 68px; width: auto; object-fit: contain; display: block; }
.footer .nav-logo img { height: 56px; }

/* ── Language switch ───────────────────────────────────────────────────────── */
.lang-switch { display: inline-flex; align-items: center; gap: 6px; font-size: .8rem; font-weight: 600; }
.nav .lang-switch a { color: rgba(255,255,255,.55); padding: 4px 6px; border-radius: var(--radius-sm); }
.nav .lang-switch a:hover { color: var(--white); }
.nav .lang-switch a.active { color: var(--accent); }
.nav .lang-switch span { color: rgba(255,255,255,.3); }
.footer .lang-switch a { color: rgba(255,255,255,.45); }
.footer .lang-switch a.active { color: var(--accent); }

/* ── Cookie consent banner ─────────────────────────────────────────────────── */
.consent-banner {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 200;
  background: var(--brand-900);
  border-top: 1px solid rgba(216,192,137,.25);
  box-shadow: 0 -8px 30px rgba(0,0,0,.3);
  padding: 16px 0;
}
.consent-inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
.consent-text { color: rgba(255,255,255,.8); font-size: .875rem; margin: 0; max-width: 720px; line-height: 1.6; }
.consent-text a { color: var(--accent); }
.consent-actions { display: flex; gap: 10px; flex-shrink: 0; }

/* ── Hero (single-column, content-driven) ──────────────────────────────────── */
.hero-narrow { max-width: 760px; }
.hero h1 span { color: var(--accent); }
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; }

/* ── Problem section ───────────────────────────────────────────────────────── */
.problem-points { list-style: none; margin-top: 28px; display: grid; gap: 12px; max-width: 720px; }
.problem-points li { position: relative; padding-left: 32px; color: var(--gray-700); font-size: 1.0625rem; line-height: 1.6; }
.problem-points li::before {
  content: '\2726'; position: absolute; left: 0; top: 0;
  color: var(--accent-dk); font-size: 1rem;
}

/* ── Platform: pillars + module grid + screenshot slots ────────────────────── */
.pillars { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; margin-bottom: 48px; }
.module-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.module-card {
  background: var(--white); border: 1px solid var(--gray-200); border-radius: var(--radius);
  overflow: hidden; transition: all .2s ease; display: flex; flex-direction: column;
}
.module-card:hover { border-color: var(--brand-300); box-shadow: var(--shadow); transform: translateY(-3px); }
.module-card.pillar { grid-column: span 2; border-color: var(--brand-300); }
.module-shot {
  aspect-ratio: 16 / 10; background: var(--gray-100); position: relative; overflow: hidden;
  border-bottom: 1px solid var(--gray-200);
}
.module-shot img { width: 100%; height: 100%; object-fit: cover; display: block; }
.module-shot-placeholder {
  position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 6px; color: var(--gray-400);
  background:
    repeating-linear-gradient(45deg, var(--gray-100), var(--gray-100) 12px, var(--gray-50) 12px, var(--gray-50) 24px);
}
.module-shot-placeholder .ms-icon { font-size: 1.6rem; opacity: .6; }
.module-shot-placeholder .ms-label { font-size: .7rem; text-transform: uppercase; letter-spacing: .08em; }
.module-body { padding: 20px 22px; }
.module-card.pillar .module-body h3 { font-size: 1.25rem; }
.module-body h3 { margin-bottom: 8px; font-size: 1.0625rem; }
.module-body p { font-size: .9rem; color: var(--gray-500); margin: 0; }
.pillar-tag {
  display: inline-block; font-size: .7rem; font-weight: 700; text-transform: uppercase; letter-spacing: .08em;
  color: var(--accent-dk); margin-bottom: 6px;
}

/* "Coming" (AI agents) card */
.coming-card {
  margin-top: 28px; border: 1.5px dashed var(--brand-300); border-radius: var(--radius);
  padding: 24px 28px; background: var(--gray-50); display: flex; align-items: center; gap: 20px; flex-wrap: wrap;
}
.coming-badge {
  background: var(--accent); color: var(--brand-900); font-size: .72rem; font-weight: 800;
  text-transform: uppercase; letter-spacing: .06em; padding: 4px 12px; border-radius: 100px; flex-shrink: 0;
}
.coming-card h3 { font-size: 1.0625rem; margin: 0; }
.coming-card p { font-size: .9rem; color: var(--gray-500); margin: 4px 0 0; }
.coming-card .coming-text { flex: 1; min-width: 240px; }

/* ── Why grid (differentiators) ────────────────────────────────────────────── */
.why-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.why-card {
  background: var(--white); border: 1px solid var(--gray-200); border-radius: var(--radius); padding: 28px;
}
.why-card .why-check { color: var(--accent-dk); font-size: 1.1rem; font-weight: 700; }
.why-card h3 { font-size: 1.0625rem; margin: 10px 0 6px; }
.why-card p { font-size: .9rem; color: var(--gray-500); margin: 0; }

/* ── Nordic positioning ────────────────────────────────────────────────────── */
.nordic-split { display: grid; grid-template-columns: 1.1fr 1fr; gap: 56px; align-items: center; }
.nordic-text h2 { color: var(--white); }
.nordic-text p { color: rgba(255,255,255,.72); font-size: 1.0625rem; margin-top: 16px; }
.nordic-signals { display: grid; gap: 16px; }
.signal-card {
  background: rgba(255,255,255,.05); border: 1px solid rgba(216,192,137,.18); border-radius: var(--radius);
  padding: 20px 22px;
}
.signal-card h3 { color: var(--white); font-size: 1rem; margin-bottom: 4px; }
.signal-card p { color: rgba(255,255,255,.6); font-size: .9rem; margin: 0; }

/* ── Get started steps ─────────────────────────────────────────────────────── */
.getstarted-steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-bottom: 28px; }
.gs-step { text-align: center; padding: 8px; }
.gs-num {
  width: 48px; height: 48px; border-radius: 50%; margin: 0 auto 16px;
  background: linear-gradient(135deg, var(--brand-500), var(--accent));
  color: var(--white); font-weight: 700; display: flex; align-items: center; justify-content: center;
}
.gs-step h3 { font-size: 1.0625rem; margin-bottom: 8px; }
.gs-step p { font-size: .9rem; color: var(--gray-500); margin: 0; }
.gs-reassurance { text-align: center; color: var(--accent-dk); font-weight: 600; }

/* ── Contact / demo form ───────────────────────────────────────────────────── */
.contact-section { background: var(--gray-50); }
.contact-card {
  background: var(--white); border: 1px solid var(--gray-200); border-radius: var(--radius-lg);
  padding: 40px; max-width: 760px; margin: 0 auto; box-shadow: var(--shadow-sm);
}
.demo-form .form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.demo-form .form-group { margin-bottom: 18px; }
.demo-form label { display: block; font-size: .875rem; font-weight: 600; color: var(--gray-700); margin-bottom: 6px; }
.demo-form label .opt { color: var(--gray-400); font-weight: 400; }
.demo-form input, .demo-form select, .demo-form textarea {
  width: 100%; padding: 12px 14px; border: 1.5px solid var(--gray-200); border-radius: var(--radius-sm);
  font-size: .9375rem; color: var(--gray-900); background: var(--white); font-family: var(--font);
  transition: border-color .15s, box-shadow .15s;
}
.demo-form input:focus, .demo-form select:focus, .demo-form textarea:focus {
  outline: none; border-color: var(--brand-500); box-shadow: 0 0 0 3px rgba(138,106,36,.14);
}
.demo-form textarea { resize: vertical; min-height: 110px; }
.demo-form .field-error { color: var(--danger); font-size: .8rem; margin-top: 6px; min-height: 1em; display: block; }
.demo-form input.invalid, .demo-form textarea.invalid { border-color: var(--danger); }
.consent-row { display: flex; align-items: flex-start; gap: 10px; margin: 4px 0 20px; }
.consent-row input { width: auto; margin-top: 3px; flex-shrink: 0; }
.consent-row label { font-size: .875rem; font-weight: 400; color: var(--gray-700); margin: 0; line-height: 1.5; }
.honeypot { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-success {
  background: rgba(31,174,126,.1); border: 1px solid rgba(31,174,126,.3); color: #1a6b4e;
  border-radius: var(--radius); padding: 16px 20px; margin-bottom: 24px; font-weight: 500;
}
.form-error-banner {
  background: rgba(192,57,43,.08); border: 1px solid rgba(192,57,43,.3); color: var(--danger);
  border-radius: var(--radius); padding: 16px 20px; margin-bottom: 24px; font-weight: 500;
}

/* ── Footer additions ──────────────────────────────────────────────────────── */
.footer-company { font-size: .8rem; color: rgba(255,255,255,.45); margin-top: 12px; }
.footer-note { color: rgba(255,255,255,.4); font-size: .8rem; }

/* ── Visible focus (a11y) ──────────────────────────────────────────────────── */
a:focus-visible, button:focus-visible, input:focus-visible,
select:focus-visible, textarea:focus-visible {
  outline: 2px solid var(--accent); outline-offset: 2px; border-radius: 3px;
}

/* ── Responsive (new components) ───────────────────────────────────────────── */
@media (max-width: 1024px) {
  .module-grid { grid-template-columns: repeat(2, 1fr); }
  .module-card.pillar { grid-column: span 2; }
  .why-grid { grid-template-columns: 1fr 1fr; }
  .nordic-split { grid-template-columns: 1fr; gap: 32px; }
  .pillars { grid-template-columns: 1fr; }
}
@media (max-width: 768px) {
  .module-grid { grid-template-columns: 1fr; }
  .module-card.pillar { grid-column: span 1; }
  .why-grid { grid-template-columns: 1fr; }
  .getstarted-steps { grid-template-columns: 1fr; }
  .demo-form .form-row { grid-template-columns: 1fr; }
  .contact-card { padding: 28px 22px; }
  .nav .lang-switch { order: -1; }
  .consent-inner { flex-direction: column; align-items: flex-start; }
}
