:root {
  --primary: #6ad6ff;
  --dark: #060b16;
  --dark-card: #0f1a2f;
  --line: #1f3d62;
  --text: #edf5ff;
  --text-muted: #9eb2cc;
}

* { box-sizing: border-box; }

body {
  margin: 0;
  font-family: Inter, system-ui, -apple-system, Segoe UI, Roboto, sans-serif;
  color: var(--text);
  background: radial-gradient(circle at 10% 0%, #11284a 0%, #091326 38%, var(--dark) 80%);
  line-height: 1.6;
  position: relative;
  overflow-x: hidden;
}

body::before {
  content: '';
  position: fixed;
  inset: -20% auto auto -10%;
  width: 620px;
  height: 620px;
  background: radial-gradient(circle, rgba(106, 214, 255, 0.13), transparent 65%);
  pointer-events: none;
  z-index: -1;
}

body::after {
  content: '';
  position: fixed;
  right: -180px;
  bottom: -220px;
  width: 560px;
  height: 560px;
  background: radial-gradient(circle, rgba(90, 122, 255, 0.2), transparent 70%);
  pointer-events: none;
  z-index: -1;
}

.container {
  width: min(1100px, 92vw);
  margin: 0 auto;
}

/* Navigation */
.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.2rem 0;
  border-bottom: 1px solid var(--line);
}

.nav-container {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.brand {
  font-weight: 800;
  font-size: 1.2rem;
  letter-spacing: 0.3px;
}

.nav-right {
  display: flex;
  gap: 1rem;
  align-items: center;
}

.language-selector {
  background: var(--dark-card);
  border: 1px solid var(--line);
  color: var(--text);
  padding: 0.5rem 0.8rem;
  border-radius: 6px;
  font-size: 0.9rem;
  cursor: pointer;
}

/* Buttons */
.btn {
  display: inline-block;
  padding: 0.7rem 1.5rem;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 600;
  border: none;
  cursor: pointer;
  transition: all 0.3s ease;
}

.btn-primary {
  background: linear-gradient(135deg, var(--primary), #5eb3ff);
  color: #000;
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 24px rgba(77, 163, 255, 0.3);
}

.btn-secondary {
  border: 2px solid var(--primary);
  color: var(--primary);
  background: transparent;
}

.btn-secondary:hover {
  background: rgba(77, 163, 255, 0.1);
}

.btn-lg {
  padding: 1rem 2rem;
  font-size: 1.1rem;
}

/* Hero Section */
.hero {
  padding: 2rem 0 4rem;
}

.hero-main {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  align-items: center;
}

.hero-content h1 {
  font-size: clamp(2.2rem, 5vw, 3.5rem);
  margin: 0 0 1rem;
  line-height: 1.2;
}

.hero-content p {
  color: var(--text-muted);
  font-size: 1.06rem;
  max-width: 60ch;
  margin-bottom: 1.5rem;
}

.hero-metrics {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.75rem;
  margin-top: 1.25rem;
}

.hero-metrics article {
  background: linear-gradient(160deg, rgba(255, 255, 255, 0.07), rgba(255, 255, 255, 0.02));
  border: 1px solid rgba(106, 214, 255, 0.25);
  border-radius: 10px;
  padding: 0.7rem;
}

.hero-metrics strong {
  display: block;
  font-size: 0.88rem;
  color: #b9eeff;
}

.hero-metrics span {
  color: var(--text-muted);
  font-size: 0.78rem;
  line-height: 1.45;
}

.hero-cta {
  display: flex;
  gap: 1rem;
  margin-top: 1.5rem;
}

.hero-languages {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  animation: fadeInRight 0.6s ease-out;
}

.language-card {
  padding: 1.5rem;
  border-radius: 12px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  color: white;
  font-weight: 600;
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.3);
  transition: transform 0.3s ease;
}

.language-card:hover {
  transform: scale(1.05);
}

.flag {
  font-size: 2rem;
}

.lang-name {
  font-size: 0.9rem;
  opacity: 0.9;
}

/* Features Section */
.features-section {
  padding: 4rem 0;
  background: linear-gradient(180deg, rgba(77, 163, 255, 0.05) 0%, transparent 100%);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.features-section h2 {
  text-align: center;
  font-size: 2.2rem;
  margin-bottom: 3rem;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 1.5rem;
}

.feature-card {
  background: linear-gradient(160deg, #183055, #0f2039);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 1.5rem;
  transition: all 0.3s ease;
}

.feature-card:hover {
  border-color: var(--primary);
  box-shadow: 0 12px 24px rgba(77, 163, 255, 0.15);
  transform: translateY(-4px);
}

.feature-icon {
  font-size: 2.5rem;
  margin-bottom: 0.8rem;
}

.feature-card h3 {
  font-size: 1.1rem;
  margin: 0.5rem 0;
}

.feature-card p {
  color: var(--text-muted);
  font-size: 0.95rem;
  margin: 0;
}

/* Pricing Section */
#pricing {
  padding: 4rem 0;
}

#pricing h2 {
  text-align: center;
  font-size: 2.2rem;
  margin-bottom: 0.5rem;
}

.pricing-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
  margin-top: 2rem;
}

.access-section {
  padding-top: 0;
}

.access-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
}

.access-card h3 {
  margin-top: 0;
  margin-bottom: 0.6rem;
}

.access-card p:not(.pill) {
  color: var(--text-muted);
}

.access-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1.2rem;
}

.card {
  background: linear-gradient(165deg, rgba(18, 37, 67, 0.88), rgba(12, 24, 46, 0.92));
  border: 1px solid rgba(106, 214, 255, 0.18);
  border-radius: 12px;
  padding: 1.5rem;
  backdrop-filter: blur(6px);
}

.card.featured {
  border: 2px solid var(--primary);
  box-shadow: 0 12px 24px rgba(77, 163, 255, 0.15);
}

.pill {
  display: inline-block;
  background: rgba(77, 163, 255, 0.15);
  color: var(--primary);
  padding: 0.3rem 0.8rem;
  border-radius: 20px;
  font-size: 0.8rem;
  font-weight: 600;
  margin-bottom: 0.8rem;
}

.price {
  font-size: 2.2rem;
  margin: 0.5rem 0;
}

.price span {
  font-size: 1rem;
  color: var(--text-muted);
}

.calculator-card h4 {
  margin: 0 0 1rem;
  font-size: 1.05rem;
}

.calculator-card label {
  display: block;
  color: var(--text-muted);
  font-size: 0.9rem;
  margin-bottom: 0.5rem;
}

.slider {
  width: 100%;
  height: 6px;
  border-radius: 3px;
  background: linear-gradient(to right, var(--line) 0%, var(--primary) 100%);
  outline: none;
  -webkit-appearance: none;
  appearance: none;
  cursor: pointer;
}

.slider::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--primary);
  cursor: pointer;
  box-shadow: 0 4px 12px rgba(77, 163, 255, 0.4);
}

.slider::-moz-range-thumb {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--primary);
  cursor: pointer;
  border: none;
  box-shadow: 0 4px 12px rgba(77, 163, 255, 0.4);
}

.calculator-display {
  text-align: center;
  padding: 1rem 0;
}

.price-breakdown {
  display: flex;
  flex-direction: column;
  gap: 0.7rem;
  margin-top: 1.2rem;
  padding-top: 1.2rem;
  border-top: 1px solid var(--line);
  font-size: 0.95rem;
}

.price-breakdown > div {
  display: flex;
  justify-content: space-between;
}

.price-breakdown .total {
  font-weight: 700;
  color: var(--primary);
}

.plan-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1rem;
  margin-bottom: 1.2rem;
}

.plan-card {
  min-height: 215px;
}

.plan-card .plan-extra {
  color: var(--text-muted);
  margin-top: 0.35rem;
  font-size: 0.92rem;
}

.pricing-highlight {
  border-color: rgba(106, 214, 255, 0.45);
  box-shadow: 0 14px 36px rgba(31, 116, 181, 0.22);
}

/* Signup Section */
.signup-section {
  padding: 4rem 0;
}

.signup-section h2 {
  text-align: center;
  font-size: 2rem;
  margin-bottom: 0.5rem;
}

.subtitle {
  text-align: center;
  color: var(--text-muted);
  max-width: 70ch;
  margin: 0 auto 2rem;
}

/* Step Indicator */
.signup-steps {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 2rem;
  margin-bottom: 3rem;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.step {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  opacity: 0.5;
  transition: opacity 0.3s ease;
}

.step.active {
  opacity: 1;
}

.step-number {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--dark-card);
  border: 2px solid var(--line);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  transition: all 0.3s ease;
}

.step.active .step-number {
  background: linear-gradient(135deg, var(--primary), #5eb3ff);
  border-color: var(--primary);
  color: #000;
}

.step-label {
  font-size: 0.85rem;
  text-align: center;
  max-width: 80px;
  color: var(--text-muted);
}

.step.active .step-label {
  color: var(--text);
}

.step-connector {
  flex: 1;
  height: 2px;
  background: var(--line);
  max-width: 60px;
}

/* Form Steps */
.signup-step {
  display: none;
  animation: fadeIn 0.3s ease;
}

.signup-step.active {
  display: block;
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

.signup-form {
  max-width: 500px;
  margin: 0 auto 2rem;
  padding: 2rem;
}

.form-group {
  display: flex;
  flex-direction: column;
  margin-bottom: 1.2rem;
}

.form-group label {
  font-weight: 600;
  margin-bottom: 0.4rem;
  font-size: 0.95rem;
}

.account-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 0.75rem;
}

.form-group input {
  background: var(--dark-card);
  border: 1px solid var(--line);
  color: var(--text);
  padding: 0.8rem;
  border-radius: 8px;
  font-size: 1rem;
  transition: border-color 0.3s ease;
}

.form-group input:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 12px rgba(77, 163, 255, 0.2);
}

.form-group input::placeholder {
  color: var(--text-muted);
}

.form-status {
  margin-top: 0.8rem;
  font-size: 0.9rem;
  color: var(--primary);
  min-height: 1.2rem;
}

.btn-full {
  width: 100%;
  margin-bottom: 0.8rem;
}

.btn-ghost {
  background: transparent;
  border: 1px solid var(--line);
  color: var(--text-muted);
}

.btn-ghost:hover {
  border-color: var(--primary);
  color: var(--primary);
}

.brand-link {
  text-decoration: none;
  color: inherit;
}

.auth-hero {
  padding-bottom: 1rem;
}

.auth-main {
  min-height: 70vh;
  display: grid;
  align-items: start;
}

.auth-card {
  max-width: 560px;
  margin: 1rem auto 2rem;
}

.auth-card h1,
.dashboard-head h1 {
  margin: 0 0 0.5rem;
  font-size: clamp(1.8rem, 4vw, 2.4rem);
}

.auth-form {
  margin-bottom: 0;
}

.auth-links {
  margin-top: 0.6rem;
  color: var(--text-muted);
}

.auth-links a {
  color: var(--primary);
}

.dashboard-main {
  padding-top: 1rem;
  padding-bottom: 3rem;
}

.dashboard-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1rem;
}

.dashboard-card h3 {
  margin-top: 0;
  margin-bottom: 1rem;
}

.kv {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 1rem;
  padding: 0.35rem 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.kv span {
  color: var(--text-muted);
}

.kv strong {
  text-align: right;
  word-break: break-word;
}

.security-badge {
  background: linear-gradient(160deg, rgba(77, 163, 255, 0.1), rgba(77, 163, 255, 0.05));
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 1.5rem;
  max-width: 500px;
  margin: 0 auto;
  text-align: center;
}

.security-badge ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

/* Footer */
.footer {
  background: linear-gradient(160deg, #183055, #0f2039);
  border-top: 1px solid var(--line);
  padding: 2rem 0;
  text-align: center;
  color: var(--text-muted);
  font-size: 0.9rem;
}

.footer-content {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

/* Animations */
@keyframes fadeInRight {
  from {
    opacity: 0;
    transform: translateX(20px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

/* Responsive */
@media (max-width: 900px) {
  .hero-main {
    grid-template-columns: 1fr;
  }

  .hero-metrics {
    grid-template-columns: 1fr;
  }

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

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

  .hero-languages {
    grid-template-columns: 1fr 1fr;
  }

  h1 {
    font-size: 1.8rem !important;
  }
}

/* Manufacturing Operations product site */
.marketing-site {
  --primary: #2c3e50;
  --primary-2: #34495e;
  --dark: #f4f7f6;
  --dark-card: #ffffff;
  --line: #d9e1e6;
  --text: #243342;
  --text-muted: #657483;
  background: #f4f7f6;
  color: var(--text);
  font-family: 'Space Grotesk', 'Avenir Next', sans-serif;
}

.marketing-site::before {
  display: block;
  width: 720px;
  height: 720px;
  background: radial-gradient(circle, rgba(230, 126, 34, 0.08), transparent 68%);
}

.marketing-site .container { width: min(1240px, 94vw); }
.marketing-site header { background: rgba(244, 247, 246, 0.9); border-bottom: 1px solid rgba(44, 62, 80, 0.1); }
.marketing-site .navbar { border-bottom: 0; padding: 0.85rem 0; }
.marketing-site header .navbar { background: rgba(255, 255, 255, 0.97); border: 0; border-radius: 0; box-shadow: none; }
.marketing-site .brand { color: #243342; background: none; -webkit-text-fill-color: initial; font-size: 0.98rem; line-height: 1.1; }
.marketing-site .brand strong, .marketing-site .brand small { display: block; }
.marketing-site .brand small { margin-top: 0.2rem; color: #7a8792; font-size: 0.65rem; letter-spacing: 0.12em; text-transform: uppercase; }
.marketing-site .brand-mark { width: 30px; height: 30px; border-radius: 8px; background: #2c3e50; color: #fff; font-weight: 900; display: inline-flex; align-items: center; justify-content: center; margin-right: 0.55rem; box-shadow: 0 6px 14px rgba(44,62,80,0.2); }
.marketing-site .marketing-nav { display: flex; gap: 1.8rem; margin-left: auto; margin-right: 1.5rem; }
.marketing-site .marketing-nav a { color: #657483; text-decoration: none; font-size: 0.86rem; }
.marketing-site .marketing-nav a:hover { color: var(--primary); }
.marketing-site .language-selector { background: #fff; color: #34495e; border-color: #d9e1e6; }
.marketing-site .hero { padding-top: 5.6rem; background: linear-gradient(135deg, #f8faf9 0%, #e9eff2 56%, #f4f7f6 100%); }
.marketing-site .hero-content { background: transparent; }
.marketing-site .hero::before { background: linear-gradient(120deg, rgba(230, 126, 34, 0.08), transparent 48%); }
.marketing-site .hero-main { min-height: 0; padding: 3.5rem 0 4.5rem; gap: 2.2rem; align-items: stretch; }
.marketing-site .eyebrow { color: #2c3e50; letter-spacing: 0.15em; font-size: 0.73rem; }
.marketing-site .hero-content h1 { max-width: 680px; color: var(--text); background: none; -webkit-text-fill-color: initial; font-size: clamp(2.55rem, 5vw, 4.45rem); letter-spacing: -0.04em; line-height: 1; }
.marketing-site .hero-content h1, .marketing-site .hero-content p { text-shadow: none; }
.marketing-site .hero-subtitle { max-width: 600px; color: #657483; font-size: 1.1rem; line-height: 1.75; }
.marketing-site .btn-primary { background: #2c3e50; color: #fff; box-shadow: 0 10px 24px rgba(44, 62, 80, 0.2); }
.marketing-site .btn-primary:hover { background: #34495e; box-shadow: 0 18px 38px rgba(44, 62, 80, 0.28); }
.marketing-site .btn-secondary { border-color: #b9c5cc; color: #34495e; background: rgba(255,255,255,0.72); }
.marketing-site .btn-secondary:hover { border-color: #2c3e50; background: rgba(44,62,80,0.08); color: #2c3e50; }
.marketing-site .hero-metrics { gap: 0.75rem; border-top-color: rgba(255,255,255,0.14); }
.marketing-site .hero-metrics article { border: 1px solid rgba(44,62,80,0.12); background: rgba(255,255,255,0.7); border-radius: 10px; }
.marketing-site .hero-metrics article strong { color: #2c3e50; font-size: 0.96rem; }
.marketing-site .hero-metrics article span { color: var(--text-muted); font-size: 0.78rem; }
.marketing-site .hero-image { height: 270px; border-radius: 12px; filter: saturate(0.72) contrast(0.98); box-shadow: 10px 12px 0 rgba(44,62,80,0.1), 0 18px 38px rgba(44,62,80,0.12); }
.marketing-site .language-chip { border-color: #d9e1e6; background: rgba(255,255,255,0.72); color: #526477; }
.marketing-site .section { padding: 7rem 0; }
.marketing-site .hero-content { padding: 1.8rem; border-radius: 12px; }
.marketing-site .hero-visual { padding: 0.8rem; border-radius: 12px; }
.marketing-site .hero-metrics { margin-top: 1.25rem; padding-top: 1.25rem; }
.marketing-site .section-title { color: var(--text); font-size: clamp(2rem, 4vw, 3.2rem); letter-spacing: -0.03em; }
.marketing-site .section-subtitle { color: var(--text-muted); }
.marketing-site .features-section, .marketing-site .setup-section, .marketing-site .contact-section { background: #f4f7f6; border-color: var(--line); }
.marketing-site .feature-card { background: rgba(255,255,255,0.82); border-color: #d9e1e6; border-radius: 12px; padding: 1.7rem; box-shadow: 0 12px 30px rgba(44,62,80,0.05); }
.marketing-site .feature-card h3 { color: var(--text); }
.marketing-site .feature-card p { color: var(--text-muted); }
.marketing-site .feature-icon { color: #2c3e50; }
.marketing-site .stats-section { background: #2c3e50; color: #fff; padding: 4rem 0; }
.marketing-site .stats-section::before { display: none; }
.marketing-site .stat-box h3 { color: #d9e1e6; background: none; -webkit-text-fill-color: initial; }
.marketing-site .stat-box p { color: #d7dee3; }
.marketing-site .plans-section { padding: 7rem 0 4rem; background: #eaf0f2; border-top: 1px solid #d9e1e6; }
.marketing-site .plans-heading { display: flex; justify-content: space-between; align-items: end; gap: 3rem; }
.marketing-site .plans-heading .section-subtitle { max-width: 420px; margin-bottom: 1rem; }
.marketing-site .marketing-plan-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); margin-top: 2.4rem; }
.marketing-site .plan-card { min-height: 300px; display: flex; flex-direction: column; align-items: flex-start; background: rgba(255,255,255,0.9); border-color: #d9e1e6; box-shadow: 0 12px 30px rgba(44,62,80,0.06); }
.marketing-site .plan-card h3 { color: var(--text); margin: 0.2rem 0; }
.marketing-site .plan-card p { color: var(--text-muted); }
.marketing-site .plan-card .price { color: #2c3e50; font-size: 2rem; font-weight: 800; }
.marketing-site .plan-card .price span { color: var(--text-muted); font-size: 0.82rem; font-weight: 500; }
.marketing-site .plan-card .btn { margin-top: auto; }
.marketing-site .plan-kicker { color: #2c3e50; font-size: 0.68rem; font-weight: 800; letter-spacing: 0.12em; text-transform: uppercase; }
.marketing-site .pricing-highlight { border: 2px solid #2c3e50; background: linear-gradient(145deg, #f2f6f8, #fff); }
.marketing-site .plans-note { color: var(--text-muted); text-align: center; font-size: 0.86rem; margin: 1.8rem auto 0; }
.marketing-site .setup-card, .marketing-site .next-steps-card, .marketing-site .contact-form { background: rgba(255,255,255,0.9); border-color: #d9e1e6; box-shadow: 0 12px 30px rgba(44,62,80,0.06); border-radius: 12px; }
.marketing-site .setup-card h3, .marketing-site .next-steps-card h3, .marketing-site .contact-form h3, .marketing-site .contact-content h2 { color: var(--text) !important; }
.marketing-site .setup-help, .marketing-site .contact-content p { color: var(--text-muted); }
.marketing-site .form-group label { color: var(--text); }
.marketing-site .form-group input, .marketing-site .form-group select, .marketing-site .form-group textarea { background: #f8fafb; border-color: #cbd6dc; color: #243342; }
.marketing-site .cta-section { background: linear-gradient(135deg, #e6edf0, #f8faf9); color: #243342; }
.marketing-site footer { background: #2c3e50; border-top-color: #526477; padding: 3.5rem 0 1.25rem; text-align: left; color: rgba(255,255,255,0.72); }
.marketing-site footer > .container { width: 100%; max-width: none; margin: 0; padding: 0; }
.marketing-site .footer-content { width: 100%; max-width: none; margin: 0; padding: 0 4vw; display: grid; grid-template-columns: 1.35fr repeat(4, 1fr); gap: 2.5rem; justify-items: start; text-align: left; }
.marketing-site .footer-brand { display: flex; flex-direction: column; align-items: flex-start; gap: 0.2rem; }
.marketing-site .footer-brand-mark { display: grid; place-items: center; width: 34px; height: 34px; margin-bottom: 0.45rem; border-radius: 9px; background: #fff; color: #2c3e50; font-weight: 900; }
.marketing-site .footer-brand strong { color: #fff; font-size: 1rem; }
.marketing-site .footer-brand span { color: #b9c5cc; font-size: 0.68rem; letter-spacing: 0.14em; text-transform: uppercase; }
.marketing-site .footer-brand p { max-width: 180px; margin: 0.8rem 0 0; color: #b9c5cc; font-size: 0.84rem; line-height: 1.5; }
.marketing-site .footer-section { display: flex; flex-direction: column; align-items: flex-start; gap: 0.55rem; text-align: left; }
.marketing-site .footer-section h4 { margin: 0 0 0.45rem; color: #fff; font-size: 0.86rem; }
.marketing-site .footer-section a { color: #b9c5cc; font-size: 0.84rem; text-decoration: none; }
.marketing-site .footer-section a:hover { color: #fff; }
.marketing-site .footer-bottom { width: 100%; margin: 2.5rem 0 0; padding: 1rem 4vw 0; border-top: 1px solid rgba(255,255,255,0.16); text-align: center; }
.marketing-site .footer-bottom p { margin: 0; color: #9eb1c0; font-size: 0.78rem; }

.cookie-consent-panel { position: fixed; z-index: 3000; left: 1.25rem; right: 1.25rem; bottom: 1.25rem; display: flex; align-items: center; justify-content: space-between; gap: 1.25rem; padding: 1rem 1.2rem; border: 1px solid #d9e1e6; border-radius: 14px; background: rgba(255,255,255,0.98); box-shadow: 0 18px 44px rgba(15,23,42,0.18); color: #243342; }
.cookie-consent-copy { max-width: 700px; }
.cookie-consent-copy strong { display: block; margin-bottom: 0.2rem; }
.cookie-consent-copy p { margin: 0; color: #657483; font-size: 0.82rem; line-height: 1.5; }
.cookie-consent-actions { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 0.5rem; }
.cookie-consent-actions button, .cookie-save-preferences { padding: 0.65rem 0.9rem; border: 1px solid #cbd6dc; border-radius: 8px; background: #fff; color: #2c3e50; font: inherit; font-size: 0.78rem; font-weight: 700; cursor: pointer; }
.cookie-consent-actions .cookie-consent-primary, .cookie-save-preferences { border-color: #2c3e50; background: #2c3e50; color: #fff; }
.cookie-consent-overlay { position: fixed; z-index: 3100; inset: 0; display: grid; place-items: center; padding: 1rem; background: rgba(15,23,42,0.46); }
.cookie-preferences { width: min(560px, 100%); padding: 1.5rem; border-radius: 16px; background: #fff; color: #243342; box-shadow: 0 24px 70px rgba(15,23,42,0.24); }
.cookie-preferences-heading { display: flex; align-items: flex-start; justify-content: space-between; gap: 1rem; }
.cookie-preferences-heading h2 { margin: 0.25rem 0 0; font-size: 1.5rem; }
.cookie-preferences-heading button { border: 0; background: transparent; color: #657483; font-size: 1.5rem; cursor: pointer; }
.cookie-eyebrow { color: #087f83; font-size: 0.7rem; font-weight: 800; letter-spacing: 0.12em; text-transform: uppercase; }
.cookie-preferences > p { color: #657483; font-size: 0.88rem; line-height: 1.55; }
.cookie-choice { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: 0.8rem 0; border-top: 1px solid #e5eaed; }
.cookie-choice strong, .cookie-choice small { display: block; }
.cookie-choice small { margin-top: 0.2rem; color: #657483; font-size: 0.78rem; }
.cookie-choice input { width: 18px; height: 18px; accent-color: #2c3e50; }
.cookie-save-preferences { width: 100%; margin-top: 1rem; }

.legal-page { min-height: 100vh; background: linear-gradient(180deg, #eef3f4 0%, #f7f9f8 280px); color: #243342; }
.legal-main { width: min(900px, calc(100% - 2rem)); margin: 0 auto; padding: clamp(1.5rem, 4vw, 3rem) 0 4rem; }
.legal-main h1 { margin: 0 0 0.8rem; color: #2c3e50; font-size: clamp(2.15rem, 4.5vw, 3.2rem); line-height: 1.08; }
.legal-main h2 { margin: 1.8rem 0 0.45rem; color: #2c3e50; font-size: 1.2rem; }
.legal-main p, .legal-main li { color: #526477; line-height: 1.7; }
.legal-main ul { padding-left: 1.25rem; }
.legal-back { display: inline-flex; align-items: center; margin: 0 0 0.9rem; color: #2c3e50; font-size: 0.9rem; font-weight: 700; text-decoration: none; }
.legal-back:hover { color: #087f83; }
.legal-card { padding: clamp(1.4rem, 3.5vw, 2.6rem); border: 1px solid #d9e1e6; border-top: 3px solid #087f83; border-radius: 12px; background: rgba(255,255,255,0.96); box-shadow: 0 16px 42px rgba(44,62,80,0.08); }
.legal-card > .eyebrow { margin: 0 0 0.55rem; color: #087f83; font-size: 0.7rem; font-weight: 800; letter-spacing: 0.13em; text-transform: uppercase; }
.legal-card > p:nth-of-type(2) { margin-top: 0; color: #788895; font-size: 0.82rem; }

@media (max-width: 760px) {
  .cookie-consent-panel { align-items: stretch; flex-direction: column; }
  .cookie-consent-actions { justify-content: stretch; }
  .cookie-consent-actions button { flex: 1 1 30%; }
}

/* Marketing emphasis and motion */
.marketing-site .cta-section h2,
.marketing-site .cta-section p {
  color: #243342;
}

.marketing-site .cta-section p {
  max-width: 640px;
}

.marketing-site .cta-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  margin: 0 auto 1rem;
  padding: 0.45rem 0.8rem;
  border: 1px solid rgba(44, 62, 80, 0.18);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.7);
  color: #2c3e50 !important;
  font-size: 0.78rem !important;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.marketing-site .feature-card,
.marketing-site .plan-card,
.marketing-site .hero-metrics article {
  animation: marketingRise 0.65s ease both;
}

.marketing-site .feature-card:nth-child(2),
.marketing-site .plan-card:nth-child(2) { animation-delay: 0.08s; }
.marketing-site .feature-card:nth-child(3),
.marketing-site .plan-card:nth-child(3) { animation-delay: 0.16s; }
.marketing-site .feature-card:nth-child(4),
.marketing-site .plan-card:nth-child(4) { animation-delay: 0.24s; }
.marketing-site .feature-card:nth-child(5) { animation-delay: 0.32s; }
.marketing-site .feature-card:nth-child(6) { animation-delay: 0.4s; }

.marketing-site .feature-card:hover,
.marketing-site .plan-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 40px rgba(44, 62, 80, 0.12);
}

@keyframes marketingRise {
  from { opacity: 0; transform: translateY(14px); }
  to { opacity: 1; transform: translateY(0); }
}

@media (max-width: 900px) {
  .marketing-site .marketing-nav { display: none; }
  .marketing-site .plans-heading { display: block; }
  .marketing-site .marketing-plan-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .marketing-site .footer-content { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 2rem 1.5rem; }
}

@media (max-width: 600px) {
  .marketing-site .hero-main { padding-top: 3rem; min-height: auto; }
  .marketing-site .hero-content h1 { font-size: 3rem; }
  .marketing-site .hero-image { height: 260px; }
  .marketing-site .marketing-plan-grid { grid-template-columns: 1fr; }
  .marketing-site .nav-right { flex-direction: row; width: auto; }
  .marketing-site .nav-right .language-selector { display: none; }
  .marketing-site .nav-right .btn { width: auto; padding: 0.65rem 0.8rem; font-size: 0.78rem; }
  .marketing-site .footer-content { grid-template-columns: 1fr 1fr; }
  .marketing-site .footer-brand { grid-column: 1 / -1; }
  .marketing-site .footer-content { padding-left: 1.25rem; padding-right: 1.25rem; }
  .marketing-site .footer-bottom { padding-left: 1.25rem; padding-right: 1.25rem; }
}

@media (max-width: 600px) {
  .nav-right {
    flex-direction: column;
    gap: 0.5rem;
    width: 100%;
  }

  .btn {
    width: 100%;
    text-align: center;
  }

  .hero-cta {
    flex-direction: column;
  }

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

  .hero-languages {
    grid-template-columns: 1fr;
    gap: 0.8rem;
  }

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

  .signup-form {
    padding: 1.2rem;
  }

  h2 {
    font-size: 1.6rem !important;
  }
}

/* --- Cleanup and modern layout overrides --- */
.container {
  width: min(1280px, 94vw);
}

.hero-main {
  align-items: start;
  gap: 2.4rem;
}

.hero-visual {
  display: grid;
  gap: 1rem;
}

.hero-image {
  width: 100%;
  height: 320px;
  object-fit: cover;
  border-radius: 14px;
  border: 1px solid var(--line);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.28);
}

.language-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
}

.language-chip {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.35rem 0.7rem;
  font-size: 0.82rem;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.03);
  border-radius: 999px;
}

.ad-strip {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: rgba(77, 163, 255, 0.06);
}

.ad-strip-inner {
  padding: 0.9rem 0;
  display: flex;
  gap: 1.2rem;
  flex-wrap: wrap;
  align-items: center;
  color: var(--text-muted);
}

.ad-strip-inner strong {
  color: var(--text);
}

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

.showcase-card {
  overflow: hidden;
}

.showcase-card img {
  width: calc(100% + 3rem);
  margin: -1.5rem -1.5rem 1rem;
  height: 180px;
  object-fit: cover;
  border-bottom: 1px solid var(--line);
}

.showcase-card h3 {
  margin: 0.2rem 0 0.4rem;
}

.showcase-card p {
  margin: 0;
  color: var(--text-muted);
}

/* Scroll reveal */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.55s ease, transform 0.55s ease;
}

.reveal.in {
  opacity: 1;
  transform: translateY(0);
}

.review-section {
  padding: 1.5rem 0;
}

.review-section h4 {
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: 1rem;
  color: var(--text);
}

.review-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.75rem 0;
  border-bottom: 1px solid var(--line);
}

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

.review-item span {
  color: var(--text-muted);
  font-size: 0.95rem;
}

.review-item strong {
  color: var(--text);
  font-weight: 600;
}

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

@media (max-width: 900px) {
  .hero-image {
    height: 260px;
  }
}

/* =========================================================
   2026 Marketing Redesign (Apple-inspired, EVSOL distinct)
   ========================================================= */

:root {
  --primary: #0071e3;
  --primary-2: #35a1ff;
  --dark: #0b0b0f;
  --surface: #ffffff;
  --surface-soft: #f5f6f8;
  --surface-muted: #eef1f5;
  --line: #d9e1ea;
  --text: #111318;
  --text-muted: #5f6b7a;
  --success: #16a34a;
  --radius: 16px;
  --shadow-lg: 0 24px 70px rgba(11, 15, 25, 0.14);
  --shadow-md: 0 12px 36px rgba(11, 15, 25, 0.08);
}

html,
body {
  background:
    radial-gradient(1200px 700px at 90% -20%, rgba(70, 150, 255, 0.16), transparent 58%),
    radial-gradient(1000px 600px at -20% 10%, rgba(0, 113, 227, 0.13), transparent 60%),
    linear-gradient(180deg, #f8f9fb 0%, #f2f4f7 40%, #f8f9fb 100%);
  color: var(--text);
}

html {
  scroll-behavior: smooth;
}

::selection {
  background: rgba(0, 113, 227, 0.16);
  color: #0d223f;
}

body::before,
body::after {
  display: none;
}

.container {
  width: min(1220px, 92vw);
}

.hero {
  padding: 1rem 0 2.5rem;
}

.navbar {
  position: sticky;
  top: 10px;
  z-index: 100;
  border: 1px solid rgba(255, 255, 255, 0.6);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.72);
  backdrop-filter: saturate(1.6) blur(18px);
  box-shadow: 0 10px 30px rgba(15, 28, 45, 0.08);
  padding: 0.75rem 0;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: #0f1725;
  font-size: 1rem;
  letter-spacing: -0.01em;
}

.brand-mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  font-size: 0.72rem;
  color: white;
  background: linear-gradient(135deg, #0f5fdf 0%, #59c4ff 100%);
  box-shadow: 0 8px 18px rgba(0, 113, 227, 0.35);
}

.nav-right {
  gap: 0.65rem;
}

.language-selector {
  background: rgba(255, 255, 255, 0.8);
  color: #1f2937;
  border-color: #d4dde8;
  border-radius: 999px;
  font-size: 0.84rem;
}

.btn {
  border-radius: 999px;
  font-weight: 600;
  letter-spacing: -0.01em;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease,
    color 0.2s ease, border-color 0.2s ease;
}

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

.btn-primary {
  color: #fff;
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-2) 100%);
  box-shadow: 0 10px 24px rgba(0, 113, 227, 0.28);
}

.btn-primary:hover {
  box-shadow: 0 14px 30px rgba(0, 113, 227, 0.36);
}

.btn-secondary {
  border: 1px solid #b9c7d8;
  color: #19324f;
  background: rgba(255, 255, 255, 0.72);
}

.btn-secondary:hover {
  background: #ffffff;
  border-color: #97aac0;
}

.btn-ghost {
  border: 1px solid #ced8e4;
  color: #1a2a3f;
  background: rgba(255, 255, 255, 0.62);
}

.btn-ghost:hover {
  border-color: #90a6bf;
  color: #0f1725;
}

.hero-announcement {
  margin-top: 1rem;
}

.hero-announcement p {
  margin: 0;
  border: 1px solid #d8e3ef;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.68);
  color: #2f4159;
  padding: 0.55rem 1rem;
  font-size: 0.86rem;
}

.hero-main {
  margin-top: 1.2rem;
  gap: 2rem;
  align-items: stretch;
}

.hero-content,
.hero-visual {
  border: 1px solid #d8e2ee;
  border-radius: calc(var(--radius) + 8px);
  background: rgba(255, 255, 255, 0.84);
  box-shadow: var(--shadow-md);
}

.hero-content {
  padding: 2.2rem;
}

.hero-content,
.hero-visual,
.card,
.signup-form {
  transition: transform 0.24s ease, box-shadow 0.24s ease, border-color 0.24s ease;
}

.eyebrow {
  margin: 0 0 0.7rem;
  font-size: 0.76rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-weight: 700;
  color: #3b78c7;
}

.hero-content h1 {
  letter-spacing: -0.03em;
  font-size: clamp(2rem, 4.5vw, 3.6rem);
  line-height: 1.08;
  margin-bottom: 1rem;
  text-wrap: balance;
}

.hero-content p {
  color: var(--text-muted);
  max-width: 52ch;
  text-wrap: pretty;
}

.hero-cta {
  gap: 0.72rem;
}

.hero-metrics {
  margin-top: 1.6rem;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.hero-metrics article {
  border: 1px solid #dde7f2;
  background: #f8fbff;
  border-radius: 14px;
  padding: 0.8rem;
}

.hero-metrics strong {
  color: #14263f;
  font-size: 0.84rem;
}

.hero-metrics span {
  color: #607084;
  font-size: 0.75rem;
}

.hero-visual {
  padding: 1rem;
  display: grid;
  align-content: start;
}

.hero-content:hover,
.hero-visual:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
  border-color: #c8d7e8;
}

.hero-image {
  border-radius: 18px;
  border: 1px solid #d8e2ee;
  height: 350px;
  box-shadow: 0 16px 38px rgba(15, 23, 37, 0.12);
}

.language-chip {
  border: 1px solid #d6e1ed;
  background: #f7fbff;
  color: #34506f;
}

.section {
  padding: 4.2rem 0;
}

.section h2 {
  margin-top: 0;
  text-wrap: balance;
}

.ad-strip {
  border-top: 1px solid #d8e2ee;
  border-bottom: 1px solid #d8e2ee;
  background: rgba(255, 255, 255, 0.6);
}

.ad-strip-inner {
  color: #51647a;
  font-size: 0.92rem;
}

.ad-strip-inner strong {
  color: #0f2038;
}

.split-story {
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  gap: 1.2rem;
  align-items: stretch;
}

.split-story-content h2 {
  margin: 0 0 0.8rem;
  font-size: clamp(1.7rem, 3vw, 2.4rem);
  line-height: 1.14;
  letter-spacing: -0.02em;
}

.split-story-content p {
  margin: 0;
  max-width: 62ch;
  color: var(--text-muted);
}

.story-point + .story-point {
  margin-top: 0.9rem;
  padding-top: 0.9rem;
  border-top: 1px solid #e3ebf4;
}

.story-point h4 {
  margin: 0 0 0.25rem;
  font-size: 1.03rem;
  letter-spacing: -0.01em;
}

.story-point p {
  margin: 0;
  color: var(--text-muted);
}

.card {
  background: rgba(255, 255, 255, 0.88);
  border: 1px solid #dbe5f0;
  border-radius: var(--radius);
  box-shadow: var(--shadow-md);
  backdrop-filter: blur(6px);
}

.card:hover {
  transform: translateY(-3px);
  box-shadow: 0 18px 34px rgba(16, 28, 44, 0.11);
  border-color: #cad8e8;
}

.showcase-grid {
  gap: 1rem;
}

.showcase-card {
  border-radius: 18px;
}

.showcase-card img {
  border-bottom: 1px solid #dce6f0;
}

.showcase-card h3 {
  letter-spacing: -0.01em;
}

.showcase-card p {
  color: var(--text-muted);
}

.showcase-card img {
  transition: transform 0.35s ease;
}

.showcase-card:hover img {
  transform: scale(1.03);
}

.features-section {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.67), rgba(255, 255, 255, 0.3));
  border-top: 1px solid #dde6f1;
  border-bottom: 1px solid #dde6f1;
}

.features-section h2,
#pricing h2,
.signup-section h2 {
  letter-spacing: -0.02em;
  color: #101828;
}

.feature-card {
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid #dbe5ef;
  border-radius: 16px;
}

.feature-card:hover {
  border-color: #b8cae0;
  box-shadow: 0 14px 30px rgba(17, 31, 52, 0.1);
}

.feature-icon {
  filter: saturate(0.88);
}

.feature-card p {
  color: var(--text-muted);
}

.plan-grid {
  gap: 0.95rem;
}

.plan-card {
  min-height: 210px;
  border-radius: 18px;
}

.plan-card .pill {
  margin-bottom: 0.6rem;
}

.plan-card.featured {
  border: 1px solid #72b8ff;
  box-shadow: 0 16px 34px rgba(0, 113, 227, 0.17);
}

.pill {
  background: #eaf4ff;
  color: #1d61b0;
}

.price {
  color: #0d1728;
  font-size: 2rem;
}

.price span {
  color: #5f6d80;
}

.access-card p:not(.pill),
.subtitle,
.form-status,
.footer,
.footer p,
.review-item span {
  color: var(--text-muted);
}

.signup-section {
  padding-top: 3.7rem;
}

.signup-steps {
  gap: 1.2rem;
}

.step-number {
  background: #ffffff;
  border-color: #d5e1ee;
  color: #385372;
}

.step.active .step-number {
  color: white;
  border-color: transparent;
  background: linear-gradient(135deg, var(--primary), var(--primary-2));
}

.step-label {
  color: #65768b;
}

.step.active .step-label {
  color: #0f1e31;
}

.step-connector {
  background: #d8e2ee;
}

.signup-form {
  background: rgba(255, 255, 255, 0.94);
  border: 1px solid #dbe5ef;
  border-radius: 20px;
  max-width: 620px;
}

.form-group label {
  color: #1f324b;
}

.form-group input {
  background: #ffffff;
  border: 1px solid #cedbea;
  color: #13253e;
}

.form-group input:hover {
  border-color: #b9ccdf;
}

.form-group input:focus {
  border-color: #66abff;
  box-shadow: 0 0 0 4px rgba(0, 113, 227, 0.12);
}

.form-group input::placeholder {
  color: #8da0b7;
}

.calculator-display {
  border: 1px dashed #c6d6e8;
  border-radius: 14px;
  background: #f7fbff;
}

.price-breakdown {
  border-top-color: #dde7f1;
}

.price-breakdown .total {
  color: #0f63c6;
}

.review-item {
  border-bottom-color: #e3ebf3;
}

.review-item strong {
  color: #14253e;
}

.security-badge {
  background: #f4f9ff;
  border: 1px solid #d7e6f6;
}

.security-badge p,
.security-badge li {
  color: #365373;
}

.quote-card {
  text-align: center;
  padding: 2.4rem;
}

.quote-text {
  margin: 0;
  font-size: clamp(1.2rem, 2.6vw, 1.8rem);
  line-height: 1.35;
  letter-spacing: -0.015em;
  color: #102138;
}

.quote-meta {
  margin: 0.95rem 0 0;
  color: #64768c;
  font-size: 0.94rem;
}

.footer-content {
  max-width: 860px;
  margin: 0 auto;
}

.footer {
  background: #f2f5f9;
  border-top: 1px solid #d9e2ec;
}

.auth-main,
.dashboard-main {
  padding-top: 2rem;
}

.auth-card,
.dashboard-card {
  background: rgba(255, 255, 255, 0.92);
}

.kv {
  border-bottom-color: #e2eaf3;
}

.kv span {
  color: #5f7085;
}

/* Customer dashboard */
.dashboard-main {
  max-width: 1180px;
  padding-top: 2.6rem;
}

.dashboard-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1.5rem;
  margin-bottom: 1.7rem;
}

.dashboard-eyebrow {
  margin: 0 0 0.45rem;
  color: #6b7c90;
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.12em;
}

.dashboard-head h1 {
  color: #17253a;
  font-size: clamp(2rem, 4vw, 3rem);
  letter-spacing: -0.045em;
}

.dashboard-head .subtitle {
  max-width: 58ch;
  margin-bottom: 0;
}

.dashboard-state {
  flex: 0 0 auto;
  padding: 0.55rem 0.85rem;
  border: 1px solid #b9dfc8;
  border-radius: 999px;
  color: #19733b;
  background: #effaf2;
  font-size: 0.78rem;
  font-weight: 750;
}

.dashboard-state.is-warning {
  border-color: #f1cf91;
  color: #9a5b00;
  background: #fff8e9;
}

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

.dashboard-card {
  min-height: 245px;
  padding: 1.35rem;
  border: 1px solid #dbe4ee;
  border-radius: 18px;
  box-shadow: 0 12px 30px rgba(24, 43, 68, 0.06);
}

.dashboard-card:last-child {
  grid-column: 1 / -1;
  min-height: auto;
}

.dashboard-card h3 {
  color: #172b45;
  font-size: 1rem;
  letter-spacing: -0.015em;
}

.kv {
  min-height: 2rem;
  padding: 0.48rem 0;
}

.kv strong {
  color: #14253d;
  font-size: 0.9rem;
}

.account-actions {
  align-items: center;
}

.account-actions .btn {
  padding: 0.62rem 1rem;
  font-size: 0.82rem;
}

.renewal-panel {
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  align-items: center;
  gap: 2rem;
  margin-top: 1rem;
  padding: 1.5rem;
  border: 1px solid #f0cf96;
  border-radius: 18px;
  background: linear-gradient(135deg, #fffaf0 0%, #fff 100%);
  box-shadow: 0 14px 36px rgba(126, 83, 13, 0.08);
}

.renewal-panel[hidden] {
  display: none;
}

.renewal-copy h2 {
  margin: 0;
  color: #28384d;
  font-size: 1.25rem;
  letter-spacing: -0.025em;
}

.renewal-copy p:last-child {
  max-width: 58ch;
  margin: 0.5rem 0 0;
  color: #68788b;
  font-size: 0.9rem;
}

.renewal-controls {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 0.55rem 0.75rem;
  align-items: end;
}

.renewal-controls label {
  grid-column: 1 / -1;
  color: #384e68;
  font-size: 0.78rem;
  font-weight: 750;
}

.renewal-controls select {
  min-width: 0;
  padding: 0.72rem 0.85rem;
  border: 1px solid #cbd8e6;
  border-radius: 12px;
  color: #172b45;
  background: #fff;
  font: inherit;
  font-size: 0.84rem;
}

.renewal-controls .btn {
  white-space: nowrap;
  padding: 0.72rem 1rem;
  font-size: 0.82rem;
}

.reveal {
  opacity: 0;
  transform: translateY(18px);
}

.reveal.in {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 1100px) {
  .split-story {
    grid-template-columns: 1fr;
  }

  .hero-main {
    grid-template-columns: 1fr;
  }

  .hero-image {
    height: 300px;
  }
}

@media (max-width: 760px) {
  .dashboard-head,
  .renewal-panel {
    align-items: stretch;
    grid-template-columns: 1fr;
    flex-direction: column;
  }

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

  .dashboard-card:last-child {
    grid-column: auto;
  }

  .dashboard-state {
    align-self: flex-start;
  }

  .renewal-controls {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 860px) {
  .navbar {
    border-radius: 18px;
  }

  .nav-container {
    gap: 0.8rem;
    align-items: flex-start;
  }

  .nav-right {
    width: 100%;
    justify-content: flex-end;
    flex-wrap: wrap;
  }

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

  .hero-content,
  .hero-visual,
  .card,
  .signup-form {
    border-radius: 14px;
  }
}

@media (max-width: 640px) {
  .container {
    width: min(1220px, 94vw);
  }

  .nav-right {
    flex-direction: column;
    align-items: stretch;
  }

  .btn {
    width: 100%;
    text-align: center;
  }

  .hero-content {
    padding: 1.35rem;
  }

  .hero-announcement p {
    border-radius: 14px;
    padding: 0.7rem 0.8rem;
    line-height: 1.4;
  }

  .hero-metrics {
    grid-template-columns: 1fr;
  }

  .hero-cta {
    flex-direction: column;
  }

  .hero-image {
    height: 230px;
  }

  .showcase-grid,
  .features-grid,
  .plan-grid,
  .access-grid {
    grid-template-columns: 1fr;
  }

  .signup-steps {
    gap: 0.6rem;
  }

  .step-label {
    font-size: 0.74rem;
  }

  .step-connector {
    max-width: 28px;
  }

  .quote-card {
    padding: 1.5rem;
  }
}

/* Final product landing layout overrides */
.marketing-site .container {
  width: min(1440px, 96vw);
}

.marketing-site header,
.marketing-site header .navbar,
.marketing-site .navbar {
  background: #f4f7f6;
  border-radius: 0;
  padding: 0.85rem 0;
}

.marketing-site .hero-main {
  grid-template-columns: minmax(0, 1fr);
  min-height: 0;
  padding: 3rem 0 4rem;
  gap: 2.8rem;
  align-items: start;
}

.marketing-site .hero-content,
.marketing-site .hero-visual {
  min-height: 0;
  height: auto;
  border-radius: 12px;
}

.marketing-site .hero-content {
  width: 100%;
  max-width: none;
  margin: 0;
  text-align: center;
}

.marketing-site .hero-content .eyebrow,
.marketing-site .hero-content h1,
.marketing-site .hero-content .hero-subtitle {
  width: 100%;
  max-width: none;
  margin-left: auto;
  margin-right: auto;
}

.marketing-site .hero-content h1 {
  max-width: 1040px;
}

.marketing-site .hero-content .hero-subtitle {
  max-width: 860px;
}

.marketing-site .hero-content .hero-cta {
  justify-content: center;
}

.marketing-site .hero-content .hero-metrics {
  width: 100%;
}

.marketing-site .features-grid,
.marketing-site .marketing-plan-grid {
  column-gap: 24px;
  row-gap: 18px;
}

.marketing-site .feature-card,
.marketing-site .plan-card {
  padding: 1.85rem;
}

.marketing-site .plans-section,
.marketing-site .setup-section {
  padding-top: 4.5rem;
  padding-bottom: 4rem;
}

.marketing-site .section {
  padding-top: 4.75rem;
  padding-bottom: 4.75rem;
}

.marketing-site .hero-content {
  padding: 2.35rem clamp(1.6rem, 3.5vw, 3.2rem);
}

.marketing-site .hero-content h1 {
  width: 100%;
  max-width: 1040px;
  font-size: clamp(2.35rem, 4.2vw, 3.65rem);
  line-height: 1.08;
  margin-bottom: 1.5rem;
}

.marketing-site .hero-content .eyebrow {
  margin-bottom: 1.25rem;
}

.marketing-site .hero-content .hero-subtitle {
  margin-bottom: 1.9rem;
}

.marketing-site .hero-content .hero-cta {
  margin-top: 1.2rem;
  margin-bottom: 2.25rem;
}

.marketing-site .hero-visual {
  padding: 0.8rem;
}

.marketing-site .hero-visual {
  width: 100%;
}

.marketing-site .hero-visual .hero-image {
  width: 100%;
  height: 100%;
  min-height: 390px;
}

.marketing-site .hero-image {
  height: 270px;
}

.marketing-site .hero-metrics {
  margin-top: 1.2rem;
  padding-top: 1.2rem;
}

@media (max-width: 1100px) and (min-width: 701px) {
  .marketing-site .hero-main {
    grid-template-columns: minmax(0, 1fr) minmax(300px, 0.82fr);
  }
}

@media (max-width: 860px) {
  .marketing-site .navbar,
  .marketing-site header .navbar {
    border-radius: 0;
  }
}

@media (max-width: 700px) {
  .marketing-site .hero-main {
    grid-template-columns: 1fr;
    padding-top: 2.5rem;
  }

  .marketing-site .hero-visual .hero-image {
    min-height: 260px;
  }
}

@media (min-width: 1101px) {
  .marketing-site .container {
    width: 95vw;
    max-width: none;
  }
}

/* Final readability and registration layout */
.marketing-site .section-subtitle,
.marketing-site .setup-help,
.marketing-site .plan-card p,
.marketing-site .feature-card p,
.marketing-site .hero-subtitle {
  color: #526477;
}

.marketing-site .plan-card .price span,
.marketing-site .plans-note,
.marketing-site .hero-metrics article span {
  color: #667788;
}

.marketing-site .setup-grid {
  grid-template-columns: minmax(0, 760px);
  justify-content: center;
}

.marketing-site .setup-card {
  width: 100%;
}

.marketing-site .next-steps-card.is-hidden {
  display: none;
}

.marketing-site .setup-card input::placeholder,
.marketing-site .setup-card textarea::placeholder {
  color: #7b8995;
  opacity: 1;
}
