/* WINco conversion flow — login, onboarding, plans and checkout. */

:root {
  --flow-page: #f3f7fb;
  --flow-surface: #ffffff;
  --flow-surface-soft: #f7f9fc;
  --flow-ink: #0b1d3a;
  --flow-text: #53647d;
  --flow-muted: #7b899e;
  --flow-line: #dce5f1;
  --flow-blue: #2563eb;
  --flow-blue-dark: #1745b8;
  --flow-blue-soft: #eaf1ff;
  --flow-cyan: #29b8e8;
  --flow-shadow: 0 24px 70px rgba(11, 29, 58, 0.1);
}

body.winco-conversion-flow,
.winco-conversion-flow {
  font-family: var(--winco-font-sans) !important;
  font-optical-sizing: auto;
  font-kerning: normal;
  font-synthesis: none;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

.winco-conversion-flow :is(button, input, textarea, select) {
  font-family: inherit !important;
}

.winco-conversion-flow :is(h1, h2, h3, .brand, .winco-v3-brand) {
  font-family: var(--winco-font-display) !important;
  text-wrap: balance;
}

.winco-conversion-flow :is(p, li, small) {
  text-wrap: pretty;
}

/* Public and client login share the same typographic contract. */

body.winco-conversion-flow.winco-login-blue,
body#wincoLoginResetV6.winco-conversion-flow {
  font-family: var(--winco-font-sans) !important;
}

body.winco-conversion-flow.winco-login-blue
  :is(.winco-login-left h1, .winco-login-right h2),
body#wincoLoginResetV6.winco-conversion-flow
  :is(#wincoLoginResetHeader h1, #wincoLoginResetAside h2) {
  font-variation-settings: "wght" 780;
}

body#wincoLoginResetV6.winco-conversion-flow
  :is(#wincoLoginResetSubmit, .winco-login-social) {
  border-radius: 13px !important;
}

body.winco-conversion-flow.winco-login-blue
  :is(.hero-btn.primary, .submit, .signup-btn) {
  border-color: var(--flow-blue) !important;
  background: linear-gradient(135deg, var(--flow-blue), var(--flow-blue-dark)) !important;
  color: #fff !important;
  -webkit-text-fill-color: #fff !important;
  box-shadow: 0 14px 30px rgba(37, 99, 235, 0.2) !important;
}

body.winco-conversion-flow.winco-login-blue .control:focus-within {
  border-color: rgba(37, 99, 235, 0.65) !important;
  box-shadow: 0 0 0 4px rgba(37, 99, 235, 0.1) !important;
}

body#wincoLoginResetV6.winco-conversion-flow #wincoLoginResetLogo {
  border-color: #cbdafb !important;
  background: linear-gradient(145deg, #fff, var(--flow-blue-soft)) !important;
  color: var(--flow-blue) !important;
}

body#wincoLoginResetV6.winco-conversion-flow
  :is(#wincoLoginResetHeader > span, #wincoLoginResetHeader > small,
  #wincoLoginResetSupport a, #wincoLoginResetFooter a,
  #wincoLoginResetToggle) {
  color: var(--flow-blue-dark) !important;
}

body#wincoLoginResetV6.winco-conversion-flow
  :is(#wincoLoginResetForm input:focus, #wincoLoginResetPassword:focus-within) {
  border-color: rgba(37, 99, 235, 0.7) !important;
  box-shadow: 0 0 0 4px rgba(37, 99, 235, 0.1) !important;
}

body#wincoLoginResetV6.winco-conversion-flow #wincoLoginResetSubmit,
body#wincoLoginResetV6.winco-conversion-flow #wincoLoginResetSubmit:hover,
body#wincoLoginResetV6.winco-conversion-flow #wincoLoginResetSubmit:focus,
body#wincoLoginResetV6.winco-conversion-flow #wincoLoginResetSubmit:active {
  border-color: var(--flow-blue) !important;
  background: linear-gradient(135deg, var(--flow-blue), var(--flow-blue-dark)) !important;
  background-color: var(--flow-blue) !important;
  color: #fff !important;
  -webkit-text-fill-color: #fff !important;
  box-shadow: 0 14px 30px rgba(37, 99, 235, 0.22) !important;
}

body#wincoLoginResetV6.winco-conversion-flow #wincoLoginResetAside {
  background:
    radial-gradient(circle at 85% 10%, rgba(41, 184, 232, 0.22), transparent 32%),
    radial-gradient(circle at 18% 90%, rgba(37, 99, 235, 0.18), transparent 34%),
    linear-gradient(145deg, #061936, #0a2d61 58%, #0d47a1) !important;
}

body#wincoLoginResetV6.winco-conversion-flow #wincoLoginResetAside > span {
  color: #8fc6ff !important;
}

body#wincoLoginResetV6.winco-conversion-flow
  #wincoLoginResetAside > div > span {
  background: rgba(96, 165, 250, 0.16) !important;
  color: #9dcbff !important;
}

/* Choose plan: editorial hierarchy with operational density. */

.choose-plan-v3.winco-conversion-flow {
  --cp-page: var(--flow-page);
  --cp-surface: var(--flow-surface);
  --cp-surface-soft: var(--flow-surface-soft);
  --cp-surface-green: #f1f6ff;
  --cp-border: var(--flow-line);
  --cp-border-strong: #8fb3ff;
  --cp-text: var(--flow-ink);
  --cp-text-soft: var(--flow-text);
  --cp-text-muted: var(--flow-muted);
  --cp-green: var(--flow-blue);
  --cp-green-dark: var(--flow-blue-dark);
  --cp-green-soft: var(--flow-blue-soft);
  --cp-shadow: var(--flow-shadow);
  gap: 22px;
}

.choose-plan-v3.winco-conversion-flow .choose-plan-v3-hero {
  padding: clamp(28px, 4vw, 48px);
  border-radius: 28px;
  background:
    radial-gradient(circle at 88% 4%, rgba(41, 184, 232, 0.15), transparent 31%),
    radial-gradient(circle at 68% 90%, rgba(37, 99, 235, 0.08), transparent 32%),
    #fff;
}

.choose-plan-v3.winco-conversion-flow .choose-plan-v3-hero h1 {
  max-width: 760px;
  margin-top: 12px;
  font-size: clamp(36px, 5vw, 58px);
  font-variation-settings: "wght" 780;
  line-height: 1.02;
  letter-spacing: -0.055em;
}

.choose-plan-v3.winco-conversion-flow .choose-plan-v3-hero p {
  max-width: 720px;
  font-size: 15px;
  line-height: 1.65;
}

.choose-plan-v3.winco-conversion-flow
  :is(.choose-plan-v3-eyebrow, .choose-plan-v3-current span,
  .choose-plan-v3-card header > div > span) {
  font-size: 10px;
}

.choose-plan-v3.winco-conversion-flow .choose-plan-v3-card {
  padding: 26px;
  border-radius: 22px;
  box-shadow: 0 16px 46px rgba(11, 29, 58, 0.075);
}

.choose-plan-v3.winco-conversion-flow .choose-plan-v3-card.is-recommended {
  background: linear-gradient(180deg, #eef5ff, #fff 42%);
}

.choose-plan-v3.winco-conversion-flow .choose-plan-v3-card h2 {
  font-size: 25px;
  font-variation-settings: "wght" 750;
}

.choose-plan-v3.winco-conversion-flow .choose-plan-v3-description {
  font-size: 12px;
  line-height: 1.6;
}

.choose-plan-v3.winco-conversion-flow .choose-plan-v3-price strong {
  font-size: 31px;
}

.choose-plan-v3.winco-conversion-flow .choose-plan-v3-features li,
.choose-plan-v3.winco-conversion-flow .choose-plan-v3-capacity strong,
.choose-plan-v3.winco-conversion-flow .choose-plan-v3-capacity span {
  font-size: 10px;
}

.choose-plan-v3.winco-conversion-flow .choose-plan-v3-card button {
  min-height: 50px;
  border-radius: 13px;
  font-size: 11px;
}

.choose-plan-v3.winco-conversion-flow
  .choose-plan-v3-card.is-recommended button {
  border-color: var(--flow-blue);
  background: var(--flow-blue);
  box-shadow: 0 14px 30px rgba(37, 99, 235, 0.2);
}

.choose-plan-v3.winco-conversion-flow
  .choose-plan-v3-card.is-recommended button:hover {
  background: var(--flow-blue-dark);
}

/* Checkout: light, trustworthy and consistent with Asaas handoff. */

.checkout-v3.winco-conversion-flow {
  color: var(--flow-ink);
  gap: 22px;
}

.checkout-v3.winco-conversion-flow
  :is(.checkout-v3-hero, .checkout-v3-form-panel, .checkout-v3-summary) {
  border-color: var(--flow-line);
  background: #fff;
  box-shadow: var(--flow-shadow);
}

.checkout-v3.winco-conversion-flow .checkout-v3-hero {
  padding: clamp(28px, 4vw, 46px);
  border-radius: 28px;
  background:
    radial-gradient(circle at 90% 0%, rgba(41, 184, 232, 0.15), transparent 32%),
    radial-gradient(circle at 68% 100%, rgba(37, 99, 235, 0.08), transparent 34%),
    #fff;
}

.checkout-v3.winco-conversion-flow
  :is(.checkout-v3-eyebrow, .checkout-v3-form-panel header span,
  .checkout-v3-summary header span) {
  color: var(--flow-blue-dark);
  font-size: 10px;
}

.checkout-v3.winco-conversion-flow .checkout-v3-hero h1 {
  margin-top: 12px;
  color: var(--flow-ink);
  font-size: clamp(36px, 5vw, 58px);
  font-variation-settings: "wght" 780;
  line-height: 1.02;
  letter-spacing: -0.055em;
}

.checkout-v3.winco-conversion-flow .checkout-v3-hero p {
  color: var(--flow-text);
  font-size: 15px;
}

.checkout-v3.winco-conversion-flow .checkout-v3-hero > a,
.checkout-v3.winco-conversion-flow .checkout-v3-summary > a {
  border-color: #cdd9e9;
  background: rgba(255, 255, 255, 0.78);
  color: var(--flow-blue-dark);
  font-size: 11px;
}

.checkout-v3.winco-conversion-flow
  :is(.checkout-v3-form-panel, .checkout-v3-summary) {
  padding: 26px;
  border-radius: 22px;
}

.checkout-v3.winco-conversion-flow
  :is(.checkout-v3-form-panel h2, .checkout-v3-summary h2) {
  color: var(--flow-ink);
  font-size: 22px;
}

.checkout-v3.winco-conversion-flow .checkout-v3-form-panel header small,
.checkout-v3.winco-conversion-flow .checkout-v3-legal {
  color: var(--flow-muted);
  font-size: 10px;
}

.checkout-v3.winco-conversion-flow .checkout-v3-field > span {
  color: var(--flow-text);
  font-size: 10px;
}

.checkout-v3.winco-conversion-flow .checkout-v3-field input {
  min-height: 50px;
  border-color: #d7e1ee;
  border-radius: 13px;
  background: var(--flow-surface-soft);
  color: var(--flow-ink);
  font-size: 13px;
}

.checkout-v3.winco-conversion-flow .checkout-v3-field input:focus {
  border-color: rgba(37, 99, 235, 0.7);
  background: #fff;
  box-shadow: 0 0 0 4px rgba(37, 99, 235, 0.1);
}

.checkout-v3.winco-conversion-flow .checkout-v3-submit {
  min-height: 52px;
  border-radius: 13px;
  background: linear-gradient(135deg, var(--flow-blue), var(--flow-blue-dark));
  color: #fff;
  font-size: 12px;
  box-shadow: 0 15px 32px rgba(37, 99, 235, 0.22);
}

.checkout-v3.winco-conversion-flow .checkout-v3-price {
  border-color: var(--flow-line);
}

.checkout-v3.winco-conversion-flow .checkout-v3-price strong {
  color: var(--flow-blue);
  font-size: 32px;
}

.checkout-v3.winco-conversion-flow
  :is(.checkout-v3-price span, .checkout-v3-summary-row span,
  .checkout-v3-security p) {
  color: var(--flow-muted);
  font-size: 10px;
}

.checkout-v3.winco-conversion-flow .checkout-v3-summary-row {
  border-color: var(--flow-line);
}

.checkout-v3.winco-conversion-flow .checkout-v3-summary-row strong {
  color: var(--flow-ink);
  font-size: 10px;
}

.checkout-v3.winco-conversion-flow .checkout-v3-existing {
  border-color: #bfd1fb;
  background: var(--flow-blue-soft);
}

.checkout-v3.winco-conversion-flow .checkout-v3-existing span {
  color: var(--flow-blue-dark);
}

.checkout-v3.winco-conversion-flow .checkout-v3-existing strong {
  color: var(--flow-ink);
}

.checkout-v3.winco-conversion-flow .checkout-v3-security span {
  background: var(--flow-blue-soft);
  color: var(--flow-blue);
}

/* Public onboarding: migrate the former dark/green theme to the sales system. */

body.winco-onboarding-flow {
  --bg: var(--flow-page);
  --card: #fff;
  --card2: var(--flow-surface-soft);
  --border: var(--flow-line);
  --text: var(--flow-ink);
  --muted: var(--flow-text);
  --wa: var(--flow-blue);
  --wa2: var(--flow-blue-dark);
  --soft: var(--flow-text);
  color-scheme: light;
  background:
    radial-gradient(circle at 12% 0%, rgba(37, 99, 235, 0.1), transparent 30%),
    radial-gradient(circle at 92% 8%, rgba(41, 184, 232, 0.1), transparent 30%),
    linear-gradient(180deg, #fff, var(--flow-page) 46%, #fff) !important;
  color: var(--flow-ink);
}

body.winco-onboarding-flow .shell {
  width: min(1240px, calc(100% - 40px));
  padding-top: 24px;
}

body.winco-onboarding-flow .mark {
  border: 1px solid var(--flow-line);
  background: #fff !important;
  box-shadow: 0 12px 30px rgba(37, 99, 235, 0.1);
}

body.winco-onboarding-flow :is(.btn, .nav .btn) {
  border-color: var(--flow-line) !important;
  background: #fff !important;
  color: var(--flow-ink) !important;
}

body.winco-onboarding-flow .hero {
  border-color: var(--flow-line);
  border-radius: 30px;
  background: #fff;
  box-shadow: var(--flow-shadow);
}

body.winco-onboarding-flow .eyebrow {
  border-color: #bfd1fb;
  background: var(--flow-blue-soft);
  color: var(--flow-blue-dark);
}

body.winco-onboarding-flow h1 {
  color: var(--flow-ink);
  font-variation-settings: "wght" 790;
  line-height: 0.98;
  letter-spacing: -0.06em;
}

body.winco-onboarding-flow :is(.lead, .step small, .form-head p, .field small,
  .plan small, .channel small, .hint, .activation-note span,
  .quick-pass-card p, .brand span) {
  color: var(--flow-text) !important;
}

body.winco-onboarding-flow :is(.step, .preview, .item, .form, .section, .pass,
  .plan, .plans .plan, .channel, .quick-pass-card, .activation-note, .stat) {
  border-color: var(--flow-line) !important;
  background: #fff !important;
  color: var(--flow-ink) !important;
  box-shadow: none !important;
}

body.winco-onboarding-flow :is(.form, .pass) {
  box-shadow: 0 14px 42px rgba(11, 29, 58, 0.06) !important;
}

body.winco-onboarding-flow :is(.num, .title i) {
  background: var(--flow-blue-soft);
  color: var(--flow-blue);
}

body.winco-onboarding-flow .field label {
  color: var(--flow-text);
}

body.winco-onboarding-flow .field input {
  border-color: #d7e1ee;
  background: var(--flow-surface-soft);
  color: var(--flow-ink);
}

body.winco-onboarding-flow .field input:focus {
  border-color: rgba(37, 99, 235, 0.7);
  outline: 0;
  box-shadow: 0 0 0 4px rgba(37, 99, 235, 0.1);
}

body.winco-onboarding-flow .plan:has(input:checked),
body.winco-onboarding-flow .plans .plan:has(input:checked) {
  border-color: #8fb3ff !important;
  background: #eef5ff !important;
  box-shadow: 0 0 0 4px rgba(37, 99, 235, 0.08) !important;
}

body.winco-onboarding-flow :is(.price, .badge, .kicker,
  .quick-pass-card strong, .activation-note strong) {
  color: var(--flow-blue-dark) !important;
}

body.winco-onboarding-flow :is(.badge, .kicker) {
  border-color: #bfd1fb !important;
  background: var(--flow-blue-soft) !important;
}

body.winco-onboarding-flow :is(button[type="submit"], .btn.primary,
  .quick-pass-card a, .pass .main) {
  border-color: var(--flow-blue) !important;
  background: linear-gradient(135deg, var(--flow-blue), var(--flow-blue-dark)) !important;
  color: #fff !important;
  box-shadow: 0 15px 34px rgba(37, 99, 235, 0.2) !important;
}

body.winco-onboarding-flow .channel {
  background: #f4f8ff !important;
}

/* Success page. */

body.winco-onboarding-success {
  background:
    radial-gradient(circle at 15% 0%, rgba(37, 99, 235, 0.1), transparent 30%),
    linear-gradient(180deg, #fff, var(--flow-page) 55%, #fff) !important;
}

body.winco-onboarding-success .card {
  border-radius: 30px;
  box-shadow: var(--flow-shadow);
}

body.winco-onboarding-success h1 {
  font-variation-settings: "wght" 790;
  letter-spacing: -0.055em;
}

body.winco-onboarding-success .step {
  border-radius: 20px;
  background: var(--flow-surface-soft);
}

body.winco-onboarding-success .btn {
  border-radius: 13px;
}

body.winco-onboarding-success .btn.primary {
  background: linear-gradient(135deg, var(--flow-blue), var(--flow-blue-dark));
  box-shadow: 0 14px 30px rgba(37, 99, 235, 0.2);
}

@media (max-width: 680px) {
  body.winco-conversion-flow.winco-login-blue .login-card {
    order: -1 !important;
  }

  body.winco-conversion-flow.winco-login-blue .signals {
    margin-top: 24px !important;
  }

  .choose-plan-v3.winco-conversion-flow .choose-plan-v3-hero,
  .checkout-v3.winco-conversion-flow .checkout-v3-hero {
    padding: 26px 22px;
    border-radius: 22px;
  }

  .choose-plan-v3.winco-conversion-flow .choose-plan-v3-hero h1,
  .checkout-v3.winco-conversion-flow .checkout-v3-hero h1 {
    font-size: 38px;
    line-height: 1.03;
  }

  .choose-plan-v3.winco-conversion-flow .choose-plan-v3-card,
  .checkout-v3.winco-conversion-flow
    :is(.checkout-v3-form-panel, .checkout-v3-summary) {
    padding: 22px;
  }

  body.winco-onboarding-flow .shell {
    width: min(100% - 24px, 1240px);
  }

  body.winco-onboarding-flow .hero {
    padding: 20px;
    border-radius: 22px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .winco-conversion-flow *,
  .winco-conversion-flow *::before,
  .winco-conversion-flow *::after {
    scroll-behavior: auto !important;
    transition-duration: 1ms !important;
    animation-duration: 1ms !important;
  }
}
