/* TEXTORASIGN CHECKOUT DESIGN V3 */

:root{
  --co-ink:#053B49;
  --co-ink-hover:#0A4A59;
  --co-text:#172A30;
  --co-muted:#6E6B63;
  --co-light:#9A958D;
  --co-bg:#F7F7F3;
  --co-surface:#FFFFFF;
  --co-soft:#FBFAF7;
  --co-line:#E9E5DD;
  --co-line-strong:#DCD7CE;
  --co-accent:#FF9E7A;
  --co-accent-soft:#FFF1EA;
  --co-ok:#167546;
  --co-ok-soft:#ECF8F1;
  --co-danger:#9D3D36;
  --co-danger-soft:#FFF1EF;
  --co-shadow:0 24px 76px rgba(30,42,47,.08);
}

*{
  box-sizing:border-box;
}

html{
  min-height:100%;
  background:var(--co-bg);
}

body.checkout-v3{
  min-height:100vh;
  margin:0;
  background:
    radial-gradient(
      circle at 2% 0%,
      rgba(255,158,122,.08),
      transparent 27rem
    ),
    radial-gradient(
      circle at 100% 8%,
      rgba(5,59,73,.045),
      transparent 30rem
    ),
    var(--co-bg);
  color:var(--co-text);
  font-family:
    Inter,
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    sans-serif;
  -webkit-font-smoothing:antialiased;
}

button,
input{
  font:inherit;
}

button,
a{
  -webkit-tap-highlight-color:transparent;
}

.co-header{
  width:min(1120px,calc(100% - 40px));
  height:76px;
  margin:0 auto;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:24px;
}

.co-logo{
  display:inline-flex;
  align-items:center;
  gap:10px;
  color:var(--co-ink);
  font-size:16px;
  font-weight:700;
  letter-spacing:-.025em;
  text-decoration:none;
}

.co-logo-mark{
  width:31px;
  height:31px;
  flex:0 0 31px;
  position:relative;
  overflow:hidden;
  border-radius:10px;
  background:var(--co-ink);
  box-shadow:0 5px 14px rgba(5,59,73,.14);
}

.co-logo-mark:before,
.co-logo-mark:after{
  content:"";
  position:absolute;
  border-radius:999px;
  background:#fff;
}

.co-logo-mark:before{
  width:15px;
  height:2px;
  top:9px;
  left:8px;
}

.co-logo-mark:after{
  width:2px;
  height:13px;
  top:9px;
  left:14px;
}

.co-header-login{
  display:flex;
  align-items:center;
  gap:7px;
  color:var(--co-muted);
  font-size:13px;
}

.co-header-login a{
  color:var(--co-ink);
  font-weight:700;
  text-decoration:none;
}

.co-header-login a:hover{
  text-decoration:underline;
  text-underline-offset:3px;
}

.co-page{
  width:min(1120px,calc(100% - 40px));
  margin:14px auto 48px;
}

.co-card{
  overflow:hidden;
  display:grid;
  grid-template-columns:minmax(0,1.17fr) minmax(330px,.83fr);
  border:1px solid var(--co-line);
  border-radius:26px;
  background:var(--co-surface);
  box-shadow:var(--co-shadow);
}

.co-main{
  min-width:0;
  padding:48px 54px 52px;
}

.co-eyebrow{
  display:inline-flex;
  align-items:center;
  gap:8px;
  margin-bottom:14px;
  color:var(--co-ink);
  font-size:11px;
  font-weight:700;
  letter-spacing:.07em;
  text-transform:uppercase;
}

.co-eyebrow:before{
  content:"";
  width:7px;
  height:7px;
  border-radius:50%;
  background:var(--co-accent);
  box-shadow:0 0 0 4px var(--co-accent-soft);
}

.co-main h1{
  max-width:610px;
  margin:0;
  color:var(--co-text);
  font-size:36px;
  line-height:1.08;
  font-weight:650;
  letter-spacing:-.05em;
}

.co-intro{
  max-width:610px;
  margin:13px 0 0;
  color:var(--co-muted);
  font-size:14px;
  line-height:1.65;
}

.tx-progress{
  margin:31px 0 26px;
  display:grid;
  grid-template-columns:repeat(3,1fr);
  gap:10px;
}

.tx-progress-step{
  position:relative;
  height:42px;
  padding-top:16px;
  color:var(--co-light);
  font-size:10px;
  font-weight:650;
  letter-spacing:.03em;
  text-transform:uppercase;
}

.tx-progress-step:before{
  content:"";
  position:absolute;
  top:0;
  left:0;
  width:100%;
  height:3px;
  border-radius:999px;
  background:#ECE9E2;
}

.tx-progress-step i{
  position:absolute;
  top:0;
  left:0;
  width:0;
  height:3px;
  border-radius:999px;
  background:var(--co-ink);
  transition:width .26s ease;
}

.tx-progress-step.on{
  color:var(--co-ink);
}

.tx-progress-step.on i{
  width:100%;
}

.tx-progress-step:nth-child(1):after{
  content:"Email";
}

.tx-progress-step:nth-child(2):after{
  content:"Verify";
}

.tx-progress-step:nth-child(3):after{
  content:"Workspace";
}

.tx-stage{
  animation:coReveal .24s ease both;
}

.tx-stage.locked{
  display:none;
}

.tx-stage.done{
  display:none;
}

.tx-stage-top{
  display:flex;
  align-items:flex-start;
  justify-content:space-between;
  gap:20px;
  margin-bottom:24px;
}

.tx-stage-title{
  display:flex;
  align-items:flex-start;
  gap:12px;
}

.tx-num{
  width:32px;
  height:32px;
  flex:0 0 32px;
  display:flex;
  align-items:center;
  justify-content:center;
  border:1px solid var(--co-line-strong);
  border-radius:10px;
  background:var(--co-soft);
  color:var(--co-ink);
  font-size:12px;
  font-weight:700;
}

.tx-stage-title strong{
  display:block;
  margin-top:1px;
  color:var(--co-text);
  font-size:15px;
  line-height:1.3;
  font-weight:650;
}

.tx-stage-note{
  margin-top:4px;
  color:var(--co-muted);
  font-size:12px;
  line-height:1.5;
}

.tx-stage-note b{
  color:var(--co-ink);
  font-weight:650;
}

.tx-pill{
  height:26px;
  padding:0 9px;
  display:inline-flex;
  align-items:center;
  border:1px solid var(--co-line);
  border-radius:999px;
  background:var(--co-soft);
  color:var(--co-muted);
  font-size:9px;
  font-weight:700;
  letter-spacing:.05em;
  text-transform:uppercase;
  white-space:nowrap;
}

.tx-field{
  margin-top:16px;
}

.tx-field:first-of-type{
  margin-top:0;
}

.tx-grid{
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:13px;
}

.tx-label-row{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:12px;
}

.tx-field label{
  display:block;
  margin-bottom:7px;
  color:#33484F;
  font-size:12px;
  line-height:1.3;
  font-weight:600;
}

.tx-optional{
  color:var(--co-light);
  font-size:10px;
}

.tx-input-wrap{
  position:relative;
}

.tx-input{
  width:100%;
  height:49px;
  padding:0 14px;
  border:1px solid var(--co-line-strong);
  border-radius:11px;
  outline:0;
  background:#fff;
  color:var(--co-text);
  font-size:14px;
  box-shadow:none;
  transition:
    border-color .15s ease,
    box-shadow .15s ease;
}

.tx-input::placeholder{
  color:#AAA59D;
}

.tx-input:hover{
  border-color:#CBC5BA;
}

.tx-input:focus{
  border-color:var(--co-ink);
  box-shadow:0 0 0 3px rgba(5,59,73,.08);
}

.tx-input.center{
  text-align:center;
  font-size:19px;
  font-weight:650;
  letter-spacing:.18em;
}

.tx-input-wrap .tx-input{
  padding-right:63px;
}

.tx-eye{
  position:absolute;
  top:50%;
  right:8px;
  height:31px;
  padding:0 8px;
  transform:translateY(-50%);
  border:0;
  border-radius:8px;
  background:transparent;
  color:var(--co-ink);
  font-size:11px;
  font-weight:650;
  cursor:pointer;
}

.tx-eye:hover{
  background:#F3F1EC;
}

.tx-error{
  margin-top:7px;
  color:var(--co-danger);
  font-size:12px;
  line-height:1.45;
}

.tx-error:empty{
  display:none;
}

.tx-btn{
  width:100%;
  min-height:49px;
  margin-top:17px;
  padding:0 17px;
  border:1px solid var(--co-ink);
  border-radius:11px;
  display:flex;
  align-items:center;
  justify-content:center;
  gap:9px;
  background:var(--co-ink);
  color:#fff;
  font-size:13px;
  font-weight:650;
  text-align:center;
  text-decoration:none;
  cursor:pointer;
  box-shadow:0 7px 17px rgba(5,59,73,.12);
  transition:
    transform .1s ease,
    background .15s ease,
    box-shadow .15s ease;
}

.tx-btn:hover{
  background:var(--co-ink-hover);
  box-shadow:0 9px 21px rgba(5,59,73,.16);
}

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

.tx-btn:disabled{
  opacity:.62;
  cursor:not-allowed;
  transform:none;
}

.tx-btn.ghost{
  border-color:var(--co-line-strong);
  background:#fff;
  color:var(--co-ink);
  box-shadow:none;
}

.tx-btn.ghost:hover{
  background:var(--co-soft);
}

.tx-spin{
  width:15px;
  height:15px;
  display:none;
  flex:0 0 15px;
  border:2px solid rgba(255,255,255,.4);
  border-top-color:#fff;
  border-radius:50%;
  animation:coSpin .72s linear infinite;
}

.tx-btn.loading .tx-spin{
  display:block;
}

.tx-code-row{
  display:grid;
  grid-template-columns:minmax(0,1fr) 142px;
  gap:10px;
}

.tx-code-row .tx-btn{
  height:49px;
  margin-top:0;
}

.tx-resend{
  margin-top:11px;
  color:var(--co-muted);
  font-size:11px;
}

.tx-resend button,
.tx-mini-btn{
  border:0;
  background:transparent;
  color:var(--co-ink);
  font-size:11px;
  font-weight:650;
  cursor:pointer;
}

.tx-mini-btn{
  height:29px;
  padding:0 8px;
  border-radius:8px;
}

.tx-mini-btn:hover{
  background:#F1EFE9;
}

.tx-resend button:disabled{
  opacity:.48;
  cursor:not-allowed;
}

.tx-strength{
  display:grid;
  grid-template-columns:repeat(4,1fr);
  gap:5px;
  margin-top:8px;
}

.tx-strength i{
  height:4px;
  display:block;
  border-radius:999px;
  background:#ECE8E0;
}

.tx-strength[data-score="1"] i:nth-child(-n+1){
  background:#E97649;
}

.tx-strength[data-score="2"] i:nth-child(-n+2){
  background:#D89C2D;
}

.tx-strength[data-score="3"] i:nth-child(-n+3){
  background:#6D9C54;
}

.tx-strength[data-score="4"] i:nth-child(-n+4){
  background:var(--co-ok);
}

.tx-terms{
  margin-top:18px;
  display:grid;
  grid-template-columns:17px 1fr;
  align-items:start;
  gap:10px;
  color:var(--co-muted);
  font-size:11px;
  line-height:1.55;
  cursor:pointer;
}

.tx-terms input{
  width:16px;
  height:16px;
  margin-top:1px;
  accent-color:var(--co-ink);
}

.tx-terms a{
  color:var(--co-ink);
  font-weight:600;
  text-decoration:none;
}

.tx-note-box{
  margin-top:14px;
  padding:12px 13px;
  border:1px solid var(--co-line);
  border-radius:12px;
  background:var(--co-soft);
  color:var(--co-muted);
  font-size:11px;
  line-height:1.55;
}

.tx-payment-view{
  display:none;
  min-height:360px;
  padding:48px 10px 20px;
  text-align:center;
}

.tx-payment-view.show{
  display:block;
  animation:coReveal .24s ease both;
}

.tx-payment-ico{
  width:62px;
  height:62px;
  margin:0 auto 18px;
  display:flex;
  align-items:center;
  justify-content:center;
  border-radius:19px;
  font-size:25px;
  font-weight:700;
}

.tx-payment-ico.warn{
  border:1px solid #F2D0C6;
  background:var(--co-danger-soft);
  color:var(--co-danger);
}

.tx-payment-ico.ok{
  border:1px solid #CDE5D6;
  background:var(--co-ok-soft);
  color:var(--co-ok);
}

.tx-payment-view h3{
  margin:0;
  color:var(--co-text);
  font-size:27px;
  font-weight:650;
  letter-spacing:-.04em;
}

.tx-payment-view p{
  max-width:440px;
  margin:10px auto 22px;
  color:var(--co-muted);
  font-size:13px;
  line-height:1.65;
}

.tx-payment-actions{
  width:min(360px,100%);
  margin:0 auto;
}

/* Plan summary */

.co-summary{
  min-width:0;
  padding:43px 38px;
  border-left:1px solid var(--co-line);
  background:
    linear-gradient(
      180deg,
      #FCFBF8 0%,
      #F8F7F3 100%
    );
}

.co-summary-label{
  color:var(--co-muted);
  font-size:11px;
  font-weight:650;
  letter-spacing:.055em;
  text-transform:uppercase;
}

.co-plan-head{
  margin-top:19px;
  display:flex;
  align-items:flex-start;
  justify-content:space-between;
  gap:16px;
}

.co-plan-name{
  color:var(--co-text);
  font-size:18px;
  font-weight:650;
  letter-spacing:-.025em;
}

.tx-plan-badge{
  height:26px;
  padding:0 9px;
  display:inline-flex;
  align-items:center;
  border:1px solid #FFD6C7;
  border-radius:999px;
  background:var(--co-accent-soft);
  color:#A84925;
  font-size:10px;
  font-weight:700;
  letter-spacing:.05em;
}

.tx-price{
  margin-top:18px;
  color:var(--co-text);
  font-size:44px;
  line-height:1;
  font-weight:650;
  letter-spacing:-.065em;
}

.tx-price small{
  margin-left:3px;
  color:var(--co-muted);
  font-size:13px;
  font-weight:500;
  letter-spacing:-.01em;
}

#priceSub{
  margin:10px 0 0;
  color:var(--co-muted);
  font-size:11px;
  line-height:1.55;
}

.tx-billing-toggle{
  margin-top:19px;
  padding:4px;
  display:grid;
  grid-template-columns:repeat(2,1fr);
  gap:4px;
  border:1px solid #E7E3DA;
  border-radius:11px;
  background:#EFEEE9;
}

.tx-billing-toggle button{
  height:36px;
  border:0;
  border-radius:8px;
  background:transparent;
  color:var(--co-muted);
  font-size:11px;
  font-weight:650;
  cursor:pointer;
}

.tx-billing-toggle button.on{
  background:#fff;
  color:var(--co-ink);
  box-shadow:0 2px 7px rgba(31,42,47,.07);
}

.co-rule{
  height:1px;
  margin:25px 0;
  background:var(--co-line);
}

.co-features{
  display:grid;
  gap:13px;
}

.co-feature{
  display:grid;
  grid-template-columns:22px 1fr;
  align-items:start;
  gap:10px;
}

.co-check{
  width:21px;
  height:21px;
  display:flex;
  align-items:center;
  justify-content:center;
  border-radius:7px;
  background:var(--co-ok-soft);
  color:var(--co-ok);
  font-size:10px;
  font-weight:800;
}

.co-feature strong{
  display:block;
  color:#3A4D53;
  font-size:12px;
  line-height:1.35;
  font-weight:600;
}

.co-feature span{
  display:block;
  margin-top:2px;
  color:var(--co-muted);
  font-size:10px;
  line-height:1.5;
}

.co-payment-note{
  margin-top:27px;
  padding:15px;
  border:1px solid #E7E2D9;
  border-radius:13px;
  background:#fff;
}

.co-payment-note strong{
  display:block;
  color:var(--co-text);
  font-size:11px;
  font-weight:650;
}

.co-payment-note p{
  margin:5px 0 0;
  color:var(--co-muted);
  font-size:10px;
  line-height:1.55;
}

.co-footer{
  width:min(1120px,calc(100% - 40px));
  margin:23px auto 30px;
  display:flex;
  justify-content:center;
  gap:18px;
  color:var(--co-light);
  font-size:11px;
}

.co-footer a{
  color:var(--co-muted);
  text-decoration:none;
}

@keyframes coSpin{
  to{
    transform:rotate(360deg);
  }
}

@keyframes coReveal{
  from{
    opacity:0;
    transform:translateY(7px);
  }

  to{
    opacity:1;
    transform:translateY(0);
  }
}

@media(max-width:860px){
  .co-card{
    grid-template-columns:1fr;
  }

  .co-summary{
    border-top:1px solid var(--co-line);
    border-left:0;
  }
}

@media(max-width:620px){
  .co-header{
    width:calc(100% - 28px);
    height:68px;
  }

  .co-header-login span{
    display:none;
  }

  .co-page{
    width:calc(100% - 24px);
    margin-top:5px;
    margin-bottom:25px;
  }

  .co-card{
    border-radius:20px;
  }

  .co-main{
    padding:31px 22px 34px;
  }

  .co-main h1{
    font-size:30px;
  }

  .co-intro{
    font-size:13px;
  }

  .tx-progress{
    margin-top:26px;
  }

  .tx-grid{
    grid-template-columns:1fr;
    gap:0;
  }

  .tx-code-row{
    grid-template-columns:1fr;
  }

  .tx-code-row .tx-btn{
    margin-top:10px;
  }

  .co-summary{
    padding:30px 23px;
  }

  .co-footer{
    width:calc(100% - 28px);
    margin-bottom:22px;
  }
}

@media(prefers-reduced-motion:reduce){
  *,
  *:before,
  *:after{
    animation-duration:.01ms!important;
    animation-iteration-count:1!important;
    transition-duration:.01ms!important;
  }
}
