:root {
  --reasono-ink: #091c2a;
  --reasono-muted: #627783;
  --reasono-line: #dce7ec;
  --reasono-surface: #f6f9fb;
  --reasono-blue: #159bd5;
  --reasono-violet: #7657e8;
  --reasono-pink: #e84db8;
  --reasono-stars: #ffe600;
}

.premium-home {
  background: #fff;
}

.registration-only .signup-gateway ~ section,
body:has(.registration-only) footer {
  display: none !important;
}

body:has(.registration-only) .site-nav-shell .nav-center,
body:has(.registration-only) .site-nav-shell .nav-actions > :not(.reasono-language) {
  display: none !important;
}

body:has(.registration-only) .site-nav-shell .navlinks {
  flex: 1;
  justify-content: flex-end;
}

body:has(.registration-only) .site-nav-shell .nav-actions {
  margin-left: auto;
}

body:has(.registration-only) .site-nav-shell .nav {
  width: min(1380px, calc(100% - 64px));
  max-width: 1380px;
  margin-right: auto;
  margin-left: auto;
}

body:has(.registration-only) .site-nav-shell .reasono-language {
  margin-left: auto;
  border: 1px solid #16a9df !important;
  border-radius: 999px !important;
  background: #fff !important;
}

body:has(.registration-only) .site-nav-shell .reasono-language a {
  border-radius: 999px !important;
  color: #1688b3 !important;
  font-weight: 700 !important;
}

body:has(.registration-only) .site-nav-shell .reasono-language a[aria-current="true"] {
  background: #16a9df !important;
  color: #fff !important;
}

body:has(.registration-only) .site-nav-shell .reasono-language-label {
  color: #27566a !important;
  font-weight: 650 !important;
}

body:has(.registration-only) {
  overflow-x: hidden;
}

body:has(.premium-home) .premium-hero {
  background-image:
    linear-gradient(90deg, rgba(2, 13, 28, 0.72) 0%, rgba(2, 13, 28, 0.38) 42%, rgba(2, 13, 28, 0.06) 72%, transparent 100%),
    url('/assets/reasono-hero-enterprise-v2.webp');
  background-position: center center;
}

body:has(.premium-home) .site-nav-shell {
  border-bottom: 1px solid rgba(215, 228, 234, 0.82);
  background: rgba(255, 255, 255, 0.94);
  color: var(--reasono-ink);
}

body:has(.premium-home) .site-nav-shell .brand img {
  filter: none;
}

body:has(.premium-home) .site-nav-shell .nav-center > a {
  color: #334e5c;
  text-shadow: none;
}

body:has(.premium-home) .site-nav-shell .reasono-language {
  border-color: #cfe2ea !important;
  background: #f5f9fb !important;
  color: var(--reasono-ink) !important;
  box-shadow: none;
}

body:has(.premium-home) .site-nav-shell .reasono-language-label,
body:has(.premium-home) .site-nav-shell .reasono-language a {
  color: var(--reasono-ink) !important;
}

body:has(.premium-home) .signup-gateway {
  position: relative;
  min-height: 100svh;
  padding: 116px 0 48px;
  color: var(--reasono-ink);
  background: #fff;
}

body:has(.premium-home) .signup-gateway::before {
  position: absolute;
  inset: 0 auto 0 0;
  width: 55%;
  content: "";
  background: #16a9df;
}

.signup-gateway-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(420px, 0.92fr);
  align-items: center;
  gap: clamp(52px, 8vw, 116px);
}

.signup-gateway-copy {
  max-width: 670px;
}

.premium-home .signup-gateway h1 {
  color: #fff;
  font-size: clamp(54px, 5.4vw, 80px);
  line-height: 0.95;
  text-shadow: none;
}

.premium-home .signup-gateway h1 span {
  color: #fff;
}

.premium-home .signup-gateway .premium-hero-lead {
  max-width: 570px;
  color: rgba(255, 255, 255, 0.88);
}

.premium-home .signup-gateway-copy .premium-kicker {
  color: #fff;
}

.premium-home .signup-gateway-copy .premium-kicker::before {
  background: #fff;
  box-shadow: none;
}

.signup-value-list {
  display: grid;
  gap: 17px;
  margin-top: 30px;
}

.signup-value-list > div {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 13px 15px;
  border: 1px solid rgba(255, 255, 255, 0.62);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.97);
}

.signup-value-list i {
  display: grid;
  place-items: center;
  flex: 0 0 40px;
  width: 40px;
  height: 40px;
  border: 0;
  border-radius: 50%;
  color: #087faf;
  background: #eaf7fc;
  font-size: 11px;
  font-style: normal;
  font-weight: 800;
}

.signup-value-list span,
.signup-value-list b,
.signup-value-list small {
  display: block;
}

.signup-value-list b {
  color: var(--reasono-ink);
  font-size: 16px;
  line-height: 1.25;
}

.signup-value-list small {
  margin-top: 4px;
  color: #657a85;
  font-size: 14px;
  line-height: 1.4;
}

.premium-home .signup-gateway .premium-subcopy {
  color: rgba(255, 255, 255, 0.78);
  font-size: 13px;
}

.gateway-register {
  width: 100%;
  max-width: 560px;
  margin-left: auto;
  padding: 8px 0 8px clamp(36px, 5vw, 72px);
  border: 0;
  border-left: 1px solid #d8e6ec;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

.gateway-register-head {
  margin-bottom: 22px;
}

.gateway-trial {
  display: inline-flex;
  margin-bottom: 11px;
  padding: 7px 10px;
  border-radius: 999px;
  color: #0878a7;
  background: #eaf7fc;
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.055em;
}

.gateway-register h2 {
  margin: 0;
  color: var(--reasono-ink);
  font-size: clamp(30px, 3vw, 40px);
  letter-spacing: -0.04em;
}

.gateway-register-head p {
  margin: 7px 0 0;
  color: #6b7f89;
  font-size: 14px;
}

.gateway-fields {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.gateway-fields label,
.gateway-fields label span {
  display: block;
}

.gateway-fields label {
  margin: 0;
}

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

.gateway-fields label > span {
  margin-bottom: 6px;
  color: #405863;
  font-size: 11px;
  font-weight: 750;
}

.gateway-fields input,
.gateway-fields select {
  width: 100%;
  height: 45px;
  padding: 0 12px;
  border: 1px solid #cfdee5;
  border-radius: 10px;
  color: var(--reasono-ink);
  background: #fff;
  font: inherit;
  font-size: 13px;
  outline: none;
}

.gateway-fields input:focus,
.gateway-fields select:focus {
  border-color: var(--reasono-blue);
  box-shadow: 0 0 0 3px rgba(21, 155, 213, 0.1);
}

.gateway-password-help {
  margin: 9px 0 12px;
  color: #738791;
  font-size: 10px;
}

.gateway-legal {
  display: grid;
  gap: 7px;
}

.gateway-legal label {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  color: #60747f;
  font-size: 10px;
  line-height: 1.4;
}

.gateway-legal input {
  flex: 0 0 auto;
  width: 15px !important;
  min-width: 15px;
  height: 15px !important;
  margin-top: 2px;
  padding: 0;
}

.gateway-legal a,
.gateway-login a {
  color: #0788be;
  font-weight: 750;
}

.gateway-submit {
  width: 100%;
  min-height: 50px;
  margin-top: 17px;
  border-color: var(--reasono-blue);
  border-radius: 11px;
  background: var(--reasono-blue);
  color: #fff;
  box-shadow: none;
}

.gateway-login {
  margin: 15px 0 0;
  color: #6a7e88;
  font-size: 12px;
  text-align: center;
}

.gateway-login-form .gateway-fields {
  grid-template-columns: 1fr;
}

.mobile-home-login {
  display: none;
}

.gateway-login-form .gateway-submit {
  margin-top: 24px;
}

.gateway-login-notice {
  margin: 0 0 18px;
}

.gateway-password-field {
  position: relative;
  display: block;
}

.gateway-password-field input {
  padding-right: 82px;
}

.gateway-password-toggle {
  position: absolute;
  top: 50%;
  right: 12px;
  padding: 4px 6px;
  color: #1688b3;
  font: inherit;
  font-size: 12px;
  font-weight: 700;
  cursor: pointer;
  background: transparent;
  border: 0;
  transform: translateY(-50%);
}

.premium-home .premium-hero h1 {
  max-width: 760px;
  font-weight: 690;
  letter-spacing: -0.055em;
}

.premium-home .premium-hero-lead {
  max-width: 650px;
  font-size: clamp(17px, 1.4vw, 20px);
}

.premium-home .premium-actions .btn,
.premium-home .premium-final .btn,
.premium-home .premium-price .btn,
body:has(.premium-home) .site-nav-shell .nav-actions .btn {
  border-radius: 12px !important;
  clip-path: none !important;
}

.premium-home .premium-actions .btn {
  min-height: 54px;
  text-transform: none;
  letter-spacing: 0;
  font-size: 15px;
}

.premium-home .premium-proof {
  border: 0;
  background: #fff;
}

.premium-home .premium-proof-grid {
  overflow: hidden;
  border: 1px solid var(--reasono-line);
  border-radius: 20px;
  background: #fff;
  box-shadow: 0 14px 40px rgba(9, 28, 42, 0.055);
}

.premium-home .premium-proof-item::before {
  width: 34px;
  background: linear-gradient(90deg, var(--reasono-pink), var(--reasono-violet), var(--reasono-blue));
  box-shadow: none;
}

.enterprise-product {
  background:
    radial-gradient(circle at 85% 15%, rgba(118, 87, 232, 0.09), transparent 30%),
    linear-gradient(180deg, #f8fafc, #fff);
}

.enterprise-product-grid {
  display: grid;
  grid-template-columns: minmax(300px, 0.72fr) minmax(560px, 1.28fr);
  align-items: center;
  gap: clamp(42px, 7vw, 96px);
}

.premium-home .enterprise-product > .wrap {
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

.enterprise-product-copy .premium-heading {
  margin-bottom: 28px;
}

.enterprise-product-copy .premium-heading h2 {
  font-size: clamp(40px, 4.5vw, 62px);
}

.enterprise-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
}

.enterprise-pills span {
  padding: 9px 12px;
  border: 1px solid #d9e7ee;
  border-radius: 999px;
  color: #405965;
  background: rgba(255, 255, 255, 0.86);
  font-size: 12px;
  font-weight: 720;
}

.enterprise-product .premium-product {
  display: block !important;
  padding: 12px;
}

.enterprise-product .premium-product::before {
  inset: 7% -3% -5% 8%;
  background: linear-gradient(140deg, rgba(232, 77, 184, 0.14), rgba(118, 87, 232, 0.16), rgba(21, 155, 213, 0.14));
}

.enterprise-product .premium-window {
  border-color: rgba(163, 185, 197, 0.5);
  box-shadow: 0 32px 80px rgba(9, 28, 42, 0.16);
}

.premium-home .premium-section:not(.enterprise-product) {
  background: #fff;
}

.premium-home .premium-section.soft {
  background: var(--reasono-surface);
}

.premium-home .premium-section::before {
  display: none;
}

.premium-home .premium-heading h2,
.premium-home .premium-final h2 {
  color: var(--reasono-ink);
  font-weight: 670;
  letter-spacing: -0.045em;
}

.premium-home .premium-heading p,
.premium-home .premium-final p {
  color: var(--reasono-muted);
}

.premium-home .premium-step,
.premium-home .premium-benefit {
  border: 1px solid #dde8ed;
  border-radius: 20px;
  clip-path: none;
  background: #fff;
  box-shadow: 0 12px 32px rgba(9, 28, 42, 0.055);
}

.premium-home .premium-step:hover,
.premium-home .premium-benefit:hover {
  border-color: #c9dbe4;
  transform: translateY(-4px);
  box-shadow: 0 20px 44px rgba(9, 28, 42, 0.1);
}

.premium-home .premium-step::after {
  display: none;
}

.premium-home .premium-step-number {
  border: 0;
  border-radius: 10px;
  background: #edf8fc;
  color: #087faf;
}

.premium-home .premium-step h3,
.premium-home .premium-benefit b {
  color: var(--reasono-ink);
}

.premium-home .premium-step p,
.premium-home .premium-benefit span {
  color: var(--reasono-muted);
}

.premium-home .premium-benefit i {
  border: 0;
  background: #fff9cc;
  color: #7b6800;
}

.premium-home .premium-price {
  border: 1px solid rgba(255, 230, 0, 0.38);
  border-radius: 24px;
  clip-path: none;
  background:
    radial-gradient(circle at 90% 8%, rgba(255, 230, 0, 0.11), transparent 28%),
    #081d2b;
  box-shadow: 0 24px 60px rgba(8, 29, 43, 0.18);
}

.premium-home .premium-price .btn {
  text-transform: none;
  letter-spacing: 0;
}

.enterprise-faq {
  padding: 64px 0;
  background: #fff;
}

.enterprise-faq-grid {
  display: grid;
  grid-template-columns: minmax(260px, 0.72fr) minmax(420px, 1.28fr);
  gap: clamp(40px, 7vw, 90px);
}

.enterprise-faq-list {
  display: grid;
  gap: 10px;
}

.premium-home .premium-section.soft > .wrap {
  border: 1px solid #e0e9ee;
  background: rgba(255, 255, 255, 0.88);
  box-shadow: 0 18px 48px rgba(9, 28, 42, 0.06);
}

.enterprise-faq details {
  border: 1px solid var(--reasono-line);
  border-radius: 16px;
  background: #fff;
}

.enterprise-faq summary {
  padding: 20px 22px;
  color: var(--reasono-ink);
  font-weight: 720;
  cursor: pointer;
}

.enterprise-faq details p {
  margin: 0;
  padding: 0 22px 20px;
  color: var(--reasono-muted);
  font-size: 14px;
  line-height: 1.65;
}

.premium-home .premium-final {
  background: #fff;
}

.premium-home .premium-final-card {
  border: 1px solid #dbe7ed;
  border-radius: 26px;
  clip-path: none;
  background:
    radial-gradient(circle at 88% 12%, rgba(255, 230, 0, 0.18), transparent 24%),
    linear-gradient(125deg, #f5fbfd, #f5f3ff);
  box-shadow: 0 22px 52px rgba(9, 28, 42, 0.08);
}

@media (max-width: 900px) {
  .signup-gateway-grid {
    grid-template-columns: 1fr;
    gap: 36px;
  }

  .signup-gateway-copy {
    max-width: 720px;
    margin: 0 auto;
    text-align: center;
  }

  .signup-value-list {
    max-width: 520px;
    margin-right: auto;
    margin-left: auto;
    text-align: left;
  }

  .gateway-register {
    margin-right: auto;
    padding: 34px 0 0;
    border-top: 1px solid #d8e6ec;
    border-left: 0;
  }

  .enterprise-product-grid,
  .enterprise-faq-grid {
    grid-template-columns: 1fr;
  }

  .enterprise-product-copy {
    text-align: center;
  }

  .enterprise-product-copy .premium-heading,
  .enterprise-pills {
    justify-content: center;
    margin-right: auto;
    margin-left: auto;
  }
}

@media (max-width: 650px) {
  body:has(.registration-only) .site-nav-shell .nav {
    width: calc(100% - 28px);
  }

  body:has(.registration-only) .site-nav-shell .nav-toggle {
    display: none;
  }

  body:has(.registration-only) .site-nav-shell .nav-close {
    display: none !important;
  }

  body:has(.registration-only) .site-nav-shell .brand {
    position: static;
    transform: none;
  }

  body:has(.registration-only) .site-nav-shell .navlinks {
    position: static;
    display: flex;
    inset: auto !important;
    flex: 0 0 auto !important;
    flex-direction: row !important;
    align-items: center !important;
    width: 74px !important;
    max-width: 74px !important;
    flex-basis: 74px !important;
    height: auto !important;
    margin-left: auto !important;
    padding: 0 !important;
    overflow: visible !important;
    border: 0 !important;
    background: transparent !important;
    box-shadow: none !important;
    transform: none !important;
    transition: none !important;
  }

  body:has(.registration-only) .site-nav-shell .nav-actions {
    display: flex !important;
    flex-direction: row !important;
    align-items: center !important;
    width: 74px !important;
    max-width: 74px !important;
    height: auto !important;
    margin: 0 0 0 auto !important;
    padding: 0 !important;
  }

  body:has(.registration-only) .site-nav-shell .nav-actions .reasono-language {
    grid-template-columns: 34px 34px !important;
    column-gap: 2px !important;
    flex: 0 0 74px !important;
    width: 74px !important;
    min-width: 74px !important;
    max-width: 74px !important;
    height: 38px !important;
    margin: 0 !important;
    padding: 2px !important;
    border: 1px solid #16a9df !important;
    border-radius: 999px !important;
    background: #fff !important;
  }

  body:has(.registration-only) .site-nav-shell .nav-actions .reasono-language-label {
    display: none !important;
  }

  body:has(.registration-only) .site-nav-shell .nav-actions .reasono-language a {
    width: 34px !important;
    height: 32px !important;
    padding: 0 !important;
    border-radius: 999px !important;
  }

  body:has(.premium-home) .site-nav-shell {
    background: rgba(255, 255, 255, 0.98);
  }

  body:has(.premium-home) .site-nav-shell .nav-toggle {
    border-color: #cfe0e7;
    background: #f4f8fa;
    color: var(--reasono-ink);
  }

  body:has(.premium-home) .signup-gateway {
    min-height: 0;
    padding: 100px 0 46px;
    background: #fff;
  }

  body:has(.premium-home) .signup-gateway::before {
    width: 100%;
    height: 570px;
  }

  .premium-home .signup-gateway h1 {
    font-size: clamp(40px, 11vw, 44px);
    letter-spacing: -0.052em;
  }

  .login-gateway-page .signup-gateway-grid {
    gap: 0;
  }

  .registration-only:not(.login-gateway-page) .signup-gateway-grid {
    gap: 0;
  }

  .registration-only:not(.login-gateway-page) .signup-gateway-copy .premium-kicker,
  .registration-only:not(.login-gateway-page) .signup-gateway-copy .premium-hero-lead,
  .registration-only:not(.login-gateway-page) .signup-gateway-copy .signup-value-list,
  .registration-only:not(.login-gateway-page) .signup-gateway-copy .premium-subcopy {
    display: none;
  }

  .registration-only:not(.login-gateway-page) .signup-gateway-copy h1 {
    margin: 0;
  }

  .registration-only:not(.login-gateway-page) .signup-gateway-grid > .gateway-register:not(.mobile-home-login) {
    display: none;
  }

  .registration-only:not(.login-gateway-page) .mobile-home-login {
    display: block !important;
    max-width: none;
    margin-top: 20px;
    padding: 28px 4px 0;
    border: 0;
    background: #fff;
  }

  .registration-only.mobile-register-mode .mobile-home-login {
    display: none !important;
  }

  .registration-only.mobile-register-mode .signup-gateway-grid > .desktop-home-register {
    display: block !important;
    max-width: none;
    margin-top: 20px;
    padding: 28px 4px 0;
    border: 0;
    background: #fff;
  }

  body:has(.premium-home) .registration-only:not(.login-gateway-page) .signup-gateway::before {
    height: 252px;
  }

  body:has(.premium-home) .login-gateway-page .signup-gateway {
    padding-bottom: 30px;
  }

  body:has(.premium-home) .login-gateway-page .signup-gateway::before {
    height: 252px;
  }

  .login-gateway-page .signup-gateway-copy .premium-kicker,
  .login-gateway-page .signup-gateway-copy .premium-hero-lead,
  .login-gateway-page .signup-gateway-copy .signup-value-list,
  .login-gateway-page .signup-gateway-copy .premium-subcopy {
    display: none;
  }

  .login-gateway-page .signup-gateway-copy h1 {
    margin: 0;
    font-size: clamp(39px, 11.5vw, 46px);
    line-height: 0.98;
  }

  .login-gateway-page .gateway-login-panel {
    max-width: none;
    margin-top: 20px;
    padding: 28px 4px 0;
    border-top: 0;
    background: #fff;
  }

  .signup-value-list small {
    font-size: 13px;
  }

  .gateway-register {
    padding: 28px 0 0;
    border-radius: 0;
  }

  .gateway-fields {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .enterprise-product .premium-product {
    padding: 0;
  }

  .enterprise-product-copy .premium-heading h2 {
    font-size: 38px;
  }

  .enterprise-faq {
    padding: 48px 0;
  }

  .enterprise-faq summary {
    padding: 17px 18px;
  }

  .enterprise-faq details p {
    padding: 0 18px 18px;
  }
}
