/* PharmaStock Landing Pages Styles */

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  min-height: 100vh;
  color: #17312c;
  background: #f4f8f6;
}

.landing-container {
  display: flex;
  min-height: 100vh;
}

/* Split Screen Layout */
.split-screen {
  display: flex;
  width: 100%;
  min-height: 100vh;
}

.split-left {
  flex: 1;
  background: radial-gradient(circle at 18% 14%, rgba(48, 153, 126, .38), transparent 34%), linear-gradient(145deg, #123c35 0%, #0d2929 100%);
  color: white;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 60px;
  position: relative;
  overflow: hidden;
}

.split-left::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -50%;
  width: 100%;
  height: 100%;
  background: radial-gradient(circle, rgba(255,255,255,0.1) 0%, transparent 70%);
}

.split-right {
  flex: 1;
  background: #f5f8f6;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 60px;
}

/* Branding */
.brand-logo {
  font-size: 48px;
  font-weight: 700;
  margin-bottom: 16px;
  display: flex;
  align-items: center;
  gap: 12px;
}

.brand-logo-icon {
  width: 56px;
  height: 56px;
  border-radius: 14px;
  object-fit: cover;
}

.brand-tagline {
  font-size: 18px;
  opacity: 0.9;
  margin-bottom: 32px;
}

.brand-description {
  font-size: 16px;
  line-height: 1.6;
  opacity: 0.85;
  max-width: 400px;
}

.brand-features {
  margin-top: 40px;
}

.brand-feature {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 16px;
  font-size: 15px;
}

.brand-feature-icon {
  width: 32px;
  height: 32px;
  background: rgba(255,255,255,0.2);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
}

/* Forms */
.auth-container {
  max-width: 500px;
  width: 100%;
  margin: 0 auto;
  padding: clamp(28px, 4vw, 48px);
  border: 1px solid #e6eeeb;
  border-radius: 22px;
  background: #fff;
  box-shadow: 0 24px 72px rgba(18, 55, 47, .09);
}

.auth-header {
  margin-bottom: 40px;
}

.auth-title {
  font-size: clamp(30px, 3vw, 36px);
  font-weight: 700;
  color: #18332d;
  letter-spacing: -1.3px;
  margin-bottom: 8px;
}

.auth-subtitle {
  font-size: 16px;
  color: #71847e;
}

.form-group {
  margin-bottom: 24px;
}

.form-label {
  display: block;
  font-size: 14px;
  font-weight: 500;
  color: #374151;
  margin-bottom: 8px;
}

.form-input {
  width: 100%;
  min-height: 48px;
  padding: 12px 15px;
  border: 1px solid #dfe9e5;
  border-radius: 11px;
  font-size: 15px;
  transition: all 0.2s;
  background: #fbfdfc;
}

.form-input:focus {
  outline: none;
  border-color: #0f5f4e;
  background: white;
  box-shadow: 0 0 0 3px rgba(15, 95, 78, 0.1);
}

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

.btn {
  width: 100%;
  min-height: 49px;
  padding: 13px 24px;
  border: none;
  border-radius: 11px;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s;
}

.btn-primary {
  background: #087c68;
  color: white;
}

.btn-primary:hover {
  background: #0a4235;
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(15, 95, 78, 0.3);
}

.btn-secondary {
  background: white;
  color: #0f5f4e;
  border: 2px solid #0f5f4e;
}

.btn-secondary:hover {
  background: #f0fdf9;
}

.auth-links {
  margin-top: 24px;
  text-align: center;
}

.auth-link {
  color: #0f5f4e;
  text-decoration: none;
  font-weight: 500;
  font-size: 14px;
}

.auth-link:hover {
  text-decoration: underline;
}

.auth-divider {
  margin: 20px 0;
  text-align: center;
  position: relative;
}

.auth-divider::before {
  content: '';
  position: absolute;
  left: 0;
  top: 50%;
  width: 100%;
  height: 1px;
  background: #e5e7eb;
}

.auth-divider span {
  background: white;
  padding: 0 16px;
  color: #6b7280;
  font-size: 14px;
  position: relative;
}

/* Homepage Specific */
.homepage-container {
  min-height: 100vh;
  background: radial-gradient(ellipse at 15% 5%, rgba(58, 157, 130, .4), transparent 34%), linear-gradient(145deg, #123c35 0%, #0d2929 100%);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 40px;
  text-align: center;
  color: white;
}

.homepage-hero {
  max-width: 1060px;
}

.homepage-logo {
  font-size: clamp(48px, 6vw, 68px);
  font-weight: 700;
  margin-bottom: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
}

.homepage-logo-icon {
  width: 80px;
  height: 80px;
  border-radius: 20px;
  object-fit: cover;
}

.homepage-tagline {
  font-size: clamp(25px, 3vw, 32px);
  opacity: 0.95;
  margin-bottom: 16px;
  letter-spacing: -.7px;
}

.homepage-description {
  max-width: 720px;
  margin: 0 auto 36px;
  font-size: 17px;
  color: #c6d9d3;
  opacity: 1;
  line-height: 1.6;
}

.homepage-actions {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

.homepage-btn {
  min-height: 50px;
  padding: 14px 23px;
  border-radius: 12px;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.homepage-btn-primary {
  background: #52d2b0;
  color: #103a34;
}

.homepage-btn-primary:hover {
  background: #74e0c2;
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
}

.homepage-btn-secondary {
  background: rgba(255, 255, 255, 0.06);
  color: white;
  border: 1px solid rgba(255, 255, 255, 0.22);
}

.homepage-btn-secondary:hover {
  background: rgba(255, 255, 255, 0.25);
  border-color: rgba(255, 255, 255, 0.5);
}

.homepage-features {
  margin: 56px auto 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 16px;
  max-width: 1000px;
}

.homepage-feature {
  background: rgba(255, 255, 255, 0.055);
  backdrop-filter: blur(12px);
  padding: 25px 22px;
  border-radius: 17px;
  border: 1px solid rgba(255, 255, 255, 0.13);
  text-align: left;
}

.homepage-feature-icon {
  font-size: 40px;
  margin-bottom: 16px;
}

.homepage-feature-title {
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 8px;
}

.homepage-feature-desc {
  font-size: 14px;
  opacity: 0.85;
  line-height: 1.5;
}

/* Responsive */
@media (max-width: 1200px) {
  .homepage-features {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 1024px) {
  .split-screen {
    flex-direction: column;
  }

  .split-left {
    padding: 40px;
    min-height: auto;
    text-align: center;
  }

  .split-left::before {
    display: none;
  }

  .split-right {
    padding: 40px;
  }

  .brand-logo {
    font-size: 36px;
    justify-content: center;
  }

  .brand-tagline {
    font-size: 16px;
  }

  .brand-description {
    max-width: 100%;
    margin: 0 auto 32px;
  }

  .brand-features {
    justify-content: center;
    flex-wrap: wrap;
  }

  .homepage-logo {
    font-size: 48px;
  }

  .homepage-logo-icon {
    width: 56px;
    height: 56px;
    border-radius: 14px;
  }

  .homepage-tagline {
    font-size: 20px;
  }

  .homepage-description {
    font-size: 16px;
  }

  .homepage-actions {
    flex-direction: column;
    gap: 12px;
  }

  .homepage-btn {
    width: 100%;
    justify-content: center;
  }

  .homepage-features {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .split-left,
  .split-right {
    padding: 32px 20px;
  }

  .split-left {
    padding: 40px 20px;
  }

  .auth-container {
    max-width: 100%;
  }

  .auth-header {
    text-align: center;
  }

  .auth-title {
    font-size: 24px;
  }

  .auth-subtitle {
    font-size: 14px;
  }

  .homepage-container {
    padding: 20px;
  }

  .homepage-hero {
    max-width: 100%;
  }

  .homepage-logo {
    font-size: 36px;
  }

  .homepage-logo-icon {
    width: 48px;
    height: 48px;
    border-radius: 12px;
  }

  .homepage-tagline {
    font-size: 18px;
  }

  .homepage-description {
    font-size: 15px;
  }

  .homepage-features {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .homepage-feature {
    padding: 24px;
  }

  .brand-logo {
    font-size: 28px;
  }

  .brand-logo-icon {
    width: 36px;
    height: 36px;
    border-radius: 9px;
  }

  .brand-tagline {
    font-size: 14px;
  }

  .brand-description {
    font-size: 14px;
  }

  .brand-feature {
    font-size: 14px;
  }

  .brand-feature-icon {
    width: 28px;
    height: 28px;
    font-size: 14px;
  }
}

@media (max-width: 480px) {
  .split-left,
  .split-right {
    padding: 24px 16px;
  }

  .split-left {
    padding: 32px 16px;
  }

  .auth-title {
    font-size: 20px;
  }

  .form-input {
    padding: 12px 14px;
    font-size: 14px;
  }

  .btn {
    padding: 12px 20px;
    font-size: 15px;
  }

  .homepage-container {
    padding: 16px;
  }

  .homepage-logo {
    font-size: 28px;
  }

  .homepage-logo-icon {
    width: 36px;
    height: 36px;
    border-radius: 9px;
  }

  .homepage-tagline {
    font-size: 16px;
  }

  .homepage-description {
    font-size: 14px;
  }

  .homepage-btn {
    padding: 14px 24px;
    font-size: 15px;
  }

  .homepage-feature {
    padding: 20px;
  }

  .homepage-feature-icon {
    font-size: 32px;
  }

  .homepage-feature-title {
    font-size: 16px;
  }

  .homepage-feature-desc {
    font-size: 13px;
  }
}

/* Landscape orientations */
@media (max-width: 768px) and (orientation: landscape) {
  .split-left {
    padding: 24px 20px;
  }

  .split-right {
    padding: 24px 20px;
  }

  .homepage-container {
    padding: 16px 20px;
  }

  .homepage-logo {
    font-size: 32px;
  }

  .homepage-logo-icon {
    width: 40px;
    height: 40px;
    border-radius: 10px;
  }

  .homepage-tagline {
    font-size: 16px;
  }

  .homepage-description {
    font-size: 14px;
    margin-bottom: 24px;
  }

  .homepage-actions {
    flex-direction: row;
    flex-wrap: wrap;
  }

  .homepage-btn {
    width: auto;
    flex: 1;
    min-width: 200px;
  }

  .homepage-features {
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
  }
}

/* High DPI displays */
@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
  .brand-logo-icon,
  .homepage-logo-icon,
  .homepage-feature-icon,
  .brand-feature-icon {
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
  }
}

/* Print styles */
@media print {
  .split-left,
  .homepage-container {
    background: white !important;
    color: black !important;
  }

  .btn,
  .auth-links {
    display: none;
  }
}

/* Error Messages */
.error-message {
  background: #fee2e2;
  color: #991b1b;
  padding: 12px 16px;
  border-radius: 8px;
  font-size: 14px;
  margin-bottom: 16px;
  border-left: 4px solid #ef4444;
}

.success-message {
  background: #d1fae5;
  color: #065f46;
  padding: 12px 16px;
  border-radius: 8px;
  font-size: 14px;
  margin-bottom: 16px;
  border-left: 4px solid #10b981;
}

/* PharmaStock public site and shared authentication design system */
:root {
  --ps-ink: #153b35;
  --ps-muted: #647872;
  --ps-green: #087c68;
  --ps-green-dark: #07594d;
  --ps-mint: #eaf5f1;
  --ps-line: #dfe9e5;
  --ps-surface: #ffffff;
  --ps-canvas: #f5f8f6;
  --ps-gold: #d9a441;
  --ps-shadow: 0 18px 50px rgba(19, 57, 49, .09);
}

html { scroll-behavior: smooth; scroll-padding-top: 88px; }
*[hidden] { display: none !important; }
body { color: var(--ps-ink); background: var(--ps-canvas); font-family: Inter, ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif; }
button, input, textarea, select { font: inherit; }
a { color: inherit; }
a:focus-visible, button:focus-visible, input:focus-visible, textarea:focus-visible, select:focus-visible, summary:focus-visible {
  outline: 3px solid rgba(8, 124, 104, .36);
  outline-offset: 3px;
}

.marketing-shell { min-height: 100vh; overflow: hidden; background: #f8faf8; }
.site-header { position: relative; z-index: 5; border-bottom: 1px solid rgba(222, 233, 228, .8); background: rgba(255,255,255,.93); }
.site-header-inner { width: min(1160px, calc(100% - 48px)); min-height: 78px; margin: 0 auto; display: flex; align-items: center; gap: 36px; }
.site-brand { display: inline-flex; align-items: center; gap: 10px; color: var(--ps-ink); text-decoration: none; font-size: 18px; font-weight: 760; letter-spacing: -.5px; white-space: nowrap; }
.site-brand img { display: block; flex: 0 0 auto; border-radius: 11px; }
.site-nav { display: flex; align-items: center; gap: 29px; margin-left: auto; }
.site-nav a, .site-footer nav a { color: #596e68; text-decoration: none; font-size: 13px; font-weight: 600; transition: color .18s ease; }
.site-nav a:hover, .site-footer nav a:hover { color: var(--ps-green); }
.site-actions { display: flex; align-items: center; gap: 17px; }
.nav-login { color: var(--ps-ink); text-decoration: none; font-size: 13px; font-weight: 700; }
.nav-login:hover { color: var(--ps-green); }
.button { min-height: 44px; display: inline-flex; align-items: center; justify-content: center; gap: 9px; padding: 0 18px; border: 1px solid transparent; border-radius: 10px; text-decoration: none; font-size: 13px; font-weight: 700; line-height: 1.1; cursor: pointer; transition: background .18s ease, border-color .18s ease, box-shadow .18s ease, transform .18s ease; }
.button:hover { transform: translateY(-1px); }
.button-primary { color: #fff; background: var(--ps-green); box-shadow: 0 5px 14px rgba(8,124,104,.15); }
.button-primary:hover { background: var(--ps-green-dark); box-shadow: 0 8px 20px rgba(8,124,104,.22); }
.button-secondary { color: var(--ps-ink); border-color: #d4e1dc; background: #fff; }
.button-secondary:hover { border-color: #a8c6bc; background: #f5faf7; }
.button-light { color: var(--ps-ink); background: #fff; }
.button-light:hover { background: #eaf5f1; }
.button-large { min-height: 52px; padding: 0 22px; font-size: 14px; border-radius: 12px; }
.button-install { color: var(--ps-green-dark); border-color: #c8ddd5; background: #eff8f4; }
.mobile-nav { display: none; position: relative; margin-left: auto; }
.mobile-nav summary { cursor: pointer; list-style: none; padding: 9px 12px; border: 1px solid var(--ps-line); border-radius: 9px; color: var(--ps-ink); font-size: 13px; font-weight: 700; }
.mobile-nav summary::-webkit-details-marker { display: none; }
.mobile-nav nav { position: absolute; top: calc(100% + 9px); right: 0; z-index: 10; width: 210px; display: grid; gap: 4px; padding: 8px; border: 1px solid var(--ps-line); border-radius: 13px; background: #fff; box-shadow: var(--ps-shadow); }
.mobile-nav nav a { padding: 11px 12px; border-radius: 8px; color: var(--ps-ink); text-decoration: none; font-size: 13px; font-weight: 650; }
.mobile-nav nav a:hover { background: var(--ps-mint); }

.hero-section { width: min(1160px, calc(100% - 48px)); margin: 0 auto; padding: clamp(64px, 8vw, 104px) 0 78px; display: grid; grid-template-columns: minmax(0, 1.08fr) minmax(350px, .92fr); align-items: center; gap: clamp(42px, 7vw, 86px); }
.hero-copy { max-width: 610px; }
.eyebrow { display: flex; align-items: center; gap: 9px; margin: 0 0 17px; color: #4e8c7b; font-size: 10px; font-weight: 800; letter-spacing: 1.55px; line-height: 1.4; }
.eyebrow-dot, .status-dot { width: 8px; height: 8px; border-radius: 50%; background: #39b28f; box-shadow: 0 0 0 4px rgba(57,178,143,.13); }
.hero-copy h1 { margin: 0; color: #153b35; font-size: clamp(42px, 5.3vw, 68px); font-weight: 760; letter-spacing: -3.5px; line-height: 1.04; }
.hero-copy h1 span { color: #18816c; }
.hero-description { max-width: 545px; margin: 22px 0 27px; color: #62756f; font-size: 16px; line-height: 1.75; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.text-link { display: inline-flex; align-items: center; gap: 8px; color: #147461; font-size: 13px; font-weight: 750; text-decoration: none; }
.text-link:hover { text-decoration: underline; text-underline-offset: 4px; }
.plans-jump { margin-top: 23px; }
.hero-caption { margin: 24px 0 0; color: #84948f; font-size: 11px; }

.workflow-card { padding: 25px; border: 1px solid #e2ebe7; border-radius: 19px; background: #fff; box-shadow: 0 26px 75px rgba(26,76,64,.11); }
.workflow-card-head { display: flex; align-items: center; gap: 12px; padding-bottom: 20px; border-bottom: 1px solid #edf2ef; }
.workflow-mark { width: 42px; height: 42px; display: grid; place-items: center; border-radius: 12px; background: var(--ps-mint); }
.workflow-mark img { display: block; border-radius: 8px; }
.workflow-card-head strong, .workflow-step strong { display: block; color: #25463e; font-size: 13px; font-weight: 750; }
.workflow-card-head small, .workflow-step small { display: block; margin-top: 4px; color: #82918c; font-size: 10px; line-height: 1.45; }
.workflow-steps { display: grid; padding: 12px 0 7px; }
.workflow-step { display: flex; align-items: center; gap: 13px; padding: 12px 0; }
.step-icon { width: 42px; height: 42px; flex: 0 0 42px; display: grid; place-items: center; border-radius: 13px; }
.step-icon svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.step-stock { color: #16856c; background: #eaf6f1; }
.step-sale { color: #97712c; background: #faf4e8; }
.step-report { color: #5875a3; background: #eef2fa; }
.step-connector { width: 1px; height: 9px; margin: -6px 0 -6px 20px; background: #d8e5df; }
.workflow-card-foot { display: flex; align-items: center; gap: 10px; margin-top: 9px; padding: 13px 14px; border-radius: 10px; color: #58716a; background: #f5f9f6; font-size: 10px; font-weight: 650; }
.workflow-card-foot .status-dot { width: 7px; height: 7px; box-shadow: none; }

.capabilities-section { padding: 75px 24px 86px; background: #fff; }
.section-heading { max-width: 690px; margin: 0 auto 37px; text-align: center; }
.section-heading .eyebrow { justify-content: center; }
.section-heading h2, .plans-copy h2, .closing-section h2 { margin: 0; color: #173a34; font-size: clamp(28px, 3.5vw, 42px); font-weight: 740; letter-spacing: -1.8px; line-height: 1.15; }
.section-heading > p:last-child { max-width: 590px; margin: 13px auto 0; color: var(--ps-muted); font-size: 14px; line-height: 1.7; }
.capability-grid { width: min(1160px, 100%); margin: 0 auto; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 15px; }
.capability-card { min-height: 215px; padding: 22px 20px; border: 1px solid #e6eeea; border-radius: 14px; background: #fff; transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease; }
.capability-card:hover { transform: translateY(-3px); border-color: #cfe2d9; box-shadow: 0 13px 32px rgba(20,70,57,.07); }
.capability-icon { width: 37px; height: 37px; display: grid; place-items: center; margin-bottom: 21px; border-radius: 11px; color: #177c67; background: #eaf5f1; font-size: 10px; font-weight: 800; letter-spacing: .3px; }
.capability-card:nth-child(2) .capability-icon { color: #99742e; background: #faf4e8; }
.capability-card:nth-child(3) .capability-icon { color: #6275a0; background: #eff2fa; }
.capability-card:nth-child(4) .capability-icon { color: #9a5e71; background: #f9eff2; }
.capability-card h3 { margin: 0 0 9px; color: #29463f; font-size: 14px; font-weight: 750; }
.capability-card p { margin: 0; color: #70817b; font-size: 12px; line-height: 1.7; }

.plans-section { width: min(1160px, calc(100% - 48px)); margin: 0 auto; padding: 82px 0; display: grid; grid-template-columns: minmax(240px, .7fr) minmax(0, 1.3fr); align-items: start; gap: 56px; }
.plans-copy h2 { font-size: clamp(28px, 3.1vw, 38px); }
.plans-copy > p:not(.eyebrow) { margin: 13px 0 22px; color: var(--ps-muted); font-size: 13px; line-height: 1.7; }
.plans-results { min-height: 150px; display: grid; grid-template-columns: repeat(auto-fit, minmax(205px, 1fr)); align-content: start; gap: 13px; }
.plan-loading, .plans-empty, .plans-error { grid-column: 1 / -1; min-height: 100px; display: flex; align-items: center; gap: 12px; padding: 18px; border: 1px solid var(--ps-line); border-radius: 14px; color: #657972; background: #fff; font-size: 12px; }
.plans-error { color: #94413e; background: #fff7f6; }
.plans-error button { margin-left: auto; border: 0; color: var(--ps-green); background: none; font-size: 12px; font-weight: 750; cursor: pointer; }
.loading-spinner { width: 17px; height: 17px; flex: 0 0 17px; border: 2px solid #cdded7; border-top-color: var(--ps-green); border-radius: 50%; animation: ps-spin .8s linear infinite; }
@keyframes ps-spin { to { transform: rotate(360deg); } }
.plan-card { min-height: 158px; padding: 19px; border: 1px solid #e1eae6; border-radius: 14px; background: #fff; box-shadow: 0 8px 24px rgba(19,57,49,.035); }
.plan-card h3 { margin: 0; color: #28483f; font-size: 14px; font-weight: 750; }
.plan-card p { min-height: 34px; margin: 9px 0 15px; color: #70817b; font-size: 11px; line-height: 1.55; }
.plan-price { display: flex; align-items: baseline; gap: 5px; color: var(--ps-green-dark); font-size: 23px; font-weight: 800; letter-spacing: -.7px; }
.plan-price small { color: #81918b; font-size: 10px; font-weight: 600; letter-spacing: 0; }
.plan-duration { margin-top: 5px; color: #85938e; font-size: 10px; }
.plans-footer-link { grid-column: 1 / -1; margin-top: 2px; color: var(--ps-green); font-size: 11px; font-weight: 700; text-decoration: none; }

.closing-section { display: flex; width: min(1160px, calc(100% - 48px)); min-height: 198px; align-items: center; justify-content: space-between; gap: 25px; margin: 0 auto 65px; padding: 36px clamp(24px, 5vw, 58px); border-radius: 18px; background: linear-gradient(110deg, #133d36, #1c6353); color: #fff; }
.closing-section .eyebrow { margin-bottom: 10px; color: #8ed1bb; }
.closing-section h2 { color: #fff; font-size: clamp(24px, 3vw, 34px); }
.closing-section > div > p:last-child { margin: 10px 0 0; color: #c5dcd4; font-size: 12px; line-height: 1.6; }
.site-footer { width: min(1160px, calc(100% - 48px)); min-height: 76px; display: flex; align-items: center; gap: 22px; margin: 0 auto; border-top: 1px solid #e4ece8; color: #87958f; font-size: 10px; }
.site-footer .site-brand { font-size: 13px; }
.site-footer nav { display: flex; gap: 19px; margin-left: auto; }
.site-footer nav a { font-size: 11px; }

/* Consistent sign-in and account forms */
.auth-shell { min-height: 100vh; display: grid; grid-template-columns: minmax(300px, .86fr) minmax(420px, 1.14fr); background: var(--ps-canvas); }
.auth-brand-panel { min-height: 100vh; display: flex; flex-direction: column; justify-content: space-between; padding: clamp(30px, 5.5vw, 78px); color: #fff; background: radial-gradient(circle at 18% 13%, rgba(54,163,132,.34), transparent 35%), linear-gradient(145deg,#123c35,#0d2929); }
.auth-brand-panel .brand-logo { margin: 0; color: #fff; font-size: 23px; letter-spacing: -.7px; text-decoration: none; }
.auth-brand-panel .brand-tagline { max-width: 460px; margin: 0 0 15px; font-size: clamp(34px, 4.2vw, 54px); font-weight: 750; letter-spacing: -2.3px; line-height: 1.08; opacity: 1; }
.auth-brand-panel .brand-description { max-width: 440px; margin: 0; color: #bdd4cc; font-size: 14px; line-height: 1.8; opacity: 1; }
.auth-brand-panel .brand-features { display: grid; gap: 12px; margin-top: 31px; }
.auth-brand-panel .brand-feature { margin: 0; color: #e5f1ec; font-size: 12px; }
.auth-brand-panel .brand-feature-icon { width: 31px; height: 31px; border: 1px solid rgba(255,255,255,.14); border-radius: 9px; background: rgba(255,255,255,.08); font-size: 14px; }
.auth-panel-foot { color: #9ab5ab; font-size: 10px; }
.auth-content-panel { min-height: 100vh; display: flex; align-items: center; justify-content: center; padding: clamp(24px, 5vw, 70px); }
.auth-card { width: min(100%, 450px); padding: clamp(26px, 4.2vw, 44px); border: 1px solid #e4ece8; border-radius: 18px; background: #fff; box-shadow: var(--ps-shadow); }
.auth-card-top { display: flex; align-items: center; justify-content: space-between; gap: 14px; margin-bottom: 29px; }
.auth-card-top a { color: #58716a; font-size: 11px; font-weight: 700; text-decoration: none; }
.auth-card-top a:hover { color: var(--ps-green); }
.auth-card .auth-header { margin: 0 0 26px; text-align: left; }
.auth-card .auth-title { margin: 0 0 7px; color: #193d35; font-size: 30px; font-weight: 760; letter-spacing: -1.25px; }
.auth-card .auth-subtitle { margin: 0; color: #71827c; font-size: 13px; line-height: 1.65; }
.auth-card .form-group { margin-bottom: 18px; }
.auth-card .form-label { margin-bottom: 7px; color: #344e47; font-size: 11px; font-weight: 700; }
.auth-card .form-input, .auth-card .field input, .auth-card .field textarea { min-height: 47px; border: 1px solid #dce7e2; border-radius: 9px; background: #fbfdfc; color: #173b34; font-size: 13px; }
.auth-card .form-input:focus, .auth-card .field input:focus, .auth-card .field textarea:focus { border-color: #4ca88e; outline: none; background: #fff; box-shadow: 0 0 0 3px rgba(8,124,104,.12); }
.auth-card .btn, .auth-card .submit { min-height: 48px; border: 0; border-radius: 9px; color: #fff; background: var(--ps-green); font-size: 13px; font-weight: 750; }
.auth-card .btn:hover, .auth-card .submit:hover { background: var(--ps-green-dark); }
.auth-card .btn:disabled, .auth-card .submit:disabled { cursor: wait; opacity: .65; transform: none; }
.auth-card .auth-links { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px 18px; margin-top: 21px; }
.auth-card .auth-link { color: #167661; font-size: 11px; font-weight: 700; }
.auth-card .auth-divider { margin: 18px 0; }
.auth-card .error-message, .auth-card .error { padding: 11px 13px; border: 1px solid #f2d1ce; border-left: 3px solid #cf514a; border-radius: 9px; color: #8e3835; background: #fff7f6; font-size: 12px; line-height: 1.5; }
.auth-card .success-message, .auth-card .success { padding: 13px; border: 1px solid #cfe8db; border-left: 3px solid #2d9c75; border-radius: 9px; color: #28654f; background: #f3faf6; font-size: 12px; line-height: 1.55; }
.form-hint { margin: 12px 0 0; color: #81918b; font-size: 10px; line-height: 1.6; }
.form-input:disabled, input:disabled { cursor: not-allowed; opacity: .7; }
.auth-card .sign-in { margin-top: 21px; font-size: 11px; }
.register-shell { min-height: 100vh; background: var(--ps-canvas); }
.register-aside { background: radial-gradient(circle at 15% 8%,#246b5d 0,transparent 34%),linear-gradient(145deg,#123b35,#0d2928); }
.register-aside .brand { color: #fff; text-decoration: none; }
.register-aside .brand-mark { display: block; width: 42px; height: 42px; flex: 0 0 42px; border-radius: 13px; object-fit: cover; }
.register-main { padding: clamp(22px, 4vw, 54px) 24px; }
.register-main .form-card { border-color: #e2ebe7; border-radius: 18px; box-shadow: var(--ps-shadow); }
.register-main .form-card h2 { color: #193d35; font-size: 28px; font-weight: 760; letter-spacing: -1.1px; }
.form-card-top { display: flex; justify-content: space-between; gap: 12px; margin-bottom: 25px; }
.form-card-top a { color: #61756e; font-size: 11px; font-weight: 700; text-decoration: none; }
.form-card-top a:hover { color: var(--ps-green); }
.register-main .field { color: #344e47; font-size: 11px; font-weight: 700; }
.register-main .field input, .register-main .field textarea { min-height: 45px; border-color: #dce7e2; border-radius: 9px; background: #fbfdfc; color: #173b34; font-size: 13px; }
.register-main .field input:focus, .register-main .field textarea:focus { border-color: #4ca88e; box-shadow: 0 0 0 3px rgba(8,124,104,.12); }
.register-main .submit { min-height: 48px; border-radius: 9px; background: var(--ps-green); font-size: 13px; }
.register-main .submit:hover { background: var(--ps-green-dark); }
.register-main .error { margin-bottom: 16px; }
.register-main .success { margin-top: 12px; }

@media (max-width: 980px) {
  .site-header-inner { gap: 20px; }
  .site-nav { gap: 18px; }
  .hero-section { grid-template-columns: minmax(0, 1fr) minmax(320px, .9fr); gap: 35px; }
  .capability-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .plans-section { gap: 35px; }
  .auth-shell { grid-template-columns: minmax(250px, .8fr) minmax(390px, 1.2fr); }
  .auth-brand-panel { padding: 38px; }
}
@media (max-width: 760px) {
  .site-header-inner { width: min(100% - 32px, 600px); min-height: 68px; gap: 12px; }
  .site-nav, .site-actions { display: none; }
  .mobile-nav { display: block; }
  .hero-section { width: min(100% - 36px, 600px); grid-template-columns: 1fr; gap: 35px; padding: 58px 0 58px; }
  .hero-copy h1 { font-size: clamp(42px, 10vw, 60px); letter-spacing: -2.4px; }
  .hero-description { margin: 17px 0 22px; font-size: 14px; }
  .hero-caption { margin-top: 18px; }
  .workflow-card { max-width: 520px; }
  .capabilities-section { padding: 61px 18px; }
  .section-heading { margin-bottom: 27px; }
  .section-heading h2, .plans-copy h2 { font-size: 30px; letter-spacing: -1.2px; }
  .capability-grid { gap: 11px; }
  .capability-card { min-height: 190px; padding: 17px 15px; }
  .plans-section { width: min(100% - 36px, 600px); grid-template-columns: 1fr; gap: 24px; padding: 60px 0; }
  .closing-section { width: min(100% - 36px, 600px); align-items: flex-start; flex-direction: column; margin-bottom: 40px; padding: 28px 23px; }
  .site-footer { width: min(100% - 36px, 600px); flex-wrap: wrap; gap: 10px 17px; padding: 18px 0; }
  .site-footer > span { display: none; }
  .auth-shell { grid-template-columns: 1fr; }
  .auth-brand-panel { min-height: auto; padding: 25px 22px; }
  .auth-brand-panel .brand-tagline { margin: 34px 0 10px; font-size: 34px; }
  .auth-brand-panel .brand-description { font-size: 12px; }
  .auth-brand-panel .brand-features { display: none; }
  .auth-panel-foot { display: none; }
  .auth-content-panel { min-height: auto; padding: 22px 16px 34px; }
  .auth-card { width: min(100%, 520px); }
  .register-shell { grid-template-columns: 1fr; }
  .register-aside { min-height: auto; padding: 25px 22px; }
  .aside-copy { padding: 32px 0 10px; }
  .aside-copy h1 { font-size: 36px; }
  .aside-foot { display: none; }
}
@media (max-width: 480px) {
  .site-brand { font-size: 16px; }
  .mobile-nav summary { padding: 8px 10px; }
  .hero-section { width: calc(100% - 32px); padding-top: 43px; }
  .hero-copy h1 { font-size: 42px; }
  .hero-actions { display: grid; grid-template-columns: 1fr 1fr; }
  .button-large { min-height: 48px; padding: 0 14px; font-size: 12px; }
  .workflow-card { padding: 18px; border-radius: 15px; }
  .capability-grid { grid-template-columns: 1fr; }
  .capability-card { min-height: auto; }
  .plans-results { grid-template-columns: 1fr; }
  .closing-section { border-radius: 14px; }
  .site-footer nav { gap: 13px; }
  .auth-brand-panel .brand-logo { font-size: 19px; }
  .auth-brand-panel .brand-tagline { font-size: 29px; letter-spacing: -1.2px; }
  .auth-content-panel { padding: 15px 12px 25px; }
  .auth-card { padding: 23px 19px; border-radius: 14px; }
  .auth-card .auth-title { font-size: 27px; }
  .register-main { padding: 16px 12px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; scroll-behavior: auto !important; transition-duration: .01ms !important; }
}
