:root{
  --bg-deep:#120d1e;
  --bg-mid:#1a1328;

  --chw-text:#fdf7ef;
  --chw-muted:#c6bdd6;

  --paper:#f3eadc;
  --paper-soft:#efe5d6;
  --ink:#2b1c14;

  --purple:#8a79b8;
  --purple-soft:#b7abd9;

  --border-soft:rgba(255,255,255,0.10);

  --page-max:1480px;
}

* {
  box-sizing: border-box;
}

html,
body{
  margin:0;
  min-height:100%;
}

body{
  font-family:system-ui,-apple-system,"Segoe UI",sans-serif;
  color:var(--chw-text);
  background:
    radial-gradient(140% 200% at 10% 0%,#3a2b5e 0,transparent 55%),
    radial-gradient(140% 160% at 90% 100%,#241a3f 0,transparent 60%),
    linear-gradient(150deg,var(--bg-deep),var(--bg-mid));
}

.chw-page{
  position:relative;
  width:100%;
  min-height:100vh;
}

.chw-shell{
  position:relative;
  width:100%;
  box-sizing:border-box;
  padding:2.15rem 2rem 1.1rem 2rem;
  display:flex;
  flex-direction:column;
  gap:0.55rem;
}

header.chw-header{
  display:flex;
  align-items:flex-start;
  justify-content:space-between;
  gap:1.5rem;
  flex-shrink:0;
}

.chw-header-left{
  display:flex;
  flex-direction:column;
  max-width:56rem;
  margin-left:6.2rem;
}

.chw-logo{
  font-size:1.7rem;
  letter-spacing:0.22em;
  font-weight:600;
  text-transform:uppercase;
}

.chw-tagline{
  font-size:0.95rem;
  opacity:0.78;
  margin-top:-0.2rem;
  letter-spacing:0.08em;
  text-transform:uppercase;
  color:var(--chw-muted);
}

.chw-intent{
  margin-top:0.72rem;
  font-size:0.88rem;
  line-height:1.58;
  color:rgba(198,189,214,0.94);
}

.chw-nav{
  display:flex;
  gap:0.9rem;
  font-size:0.88rem;
  padding-top:0.35rem;
  flex-shrink:0;
}

.chw-nav a{
  color:var(--chw-text);
  text-decoration:none;
  padding:0.25rem 0.9rem;
  border-radius:999px;
  border:1px solid transparent;
  background:radial-gradient(circle at 0% 0%,rgba(255,255,255,0.05),transparent 65%);
  transition:all 0.22s;
}

.chw-nav a:hover{
  border-color:rgba(183,171,217,0.85);
  background:
    radial-gradient(circle at 0% 0%,rgba(183,171,217,0.16),transparent 70%),
    rgba(40,30,70,0.85);
  box-shadow:0 10px 24px rgba(0,0,0,0.55);
  transform:translateY(-1px);
  color:#fff;
}

@keyframes ch-cursor {
  0%, 45% { opacity: 1; }
  50%, 95% { opacity: 0; }
  100% { opacity: 1; }
}

.yo-band{
  width:100%;
  max-width:var(--page-max);
  margin:0 auto;
  box-sizing:border-box;
  flex-shrink:0;
}

.yo-sign-wrap{
  width:min(980px, 96vw);
  margin:0 auto;
  padding:0.82rem 1.1rem;
  border-radius:1.25rem;
  background:
    radial-gradient(120% 180% at 10% 0%, rgba(138,121,184,0.22) 0%, transparent 55%),
    radial-gradient(120% 180% at 90% 120%, rgba(138,121,184,0.16) 0%, transparent 60%),
    rgba(0,0,0,0.18);
  border:1px solid rgba(255,255,255,0.08);
  box-shadow:
    0 18px 50px rgba(0,0,0,0.55),
    inset 0 1px 0 rgba(255,255,255,0.06);
}

.yo-sign{
  width:100%;
  display:flex;
  align-items:center;
  gap:1.05rem;
  padding:0.82rem 1.15rem;
  border-radius:1.05rem;
  background:
    radial-gradient(120% 180% at 0% 0%, rgba(255,255,255,0.06) 0%, transparent 60%),
    rgba(0,0,0,0.22);
  border:1px solid rgba(255,255,255,0.06);
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,0.05),
    0 14px 36px rgba(0,0,0,0.55);
  backdrop-filter: blur(6px);
}

.yo-cursor{
  width:7px;
  height:42px;
  border-radius:999px;
  background:rgba(217,210,238,0.92);
  box-shadow:
    0 0 18px rgba(183,171,217,0.30),
    0 0 34px rgba(138,121,184,0.18);
  animation: ch-cursor 1.05s steps(1,end) infinite;
  flex:0 0 auto;
}

.yo-sign:hover .yo-cursor{
  animation-play-state: paused;
  opacity:1;
}

.yo-title{
  font-family:'Didot','Georgia',serif;
  font-weight:600;
  letter-spacing:0.26em;
  text-transform:uppercase;
  font-size:1.45rem;
  color:rgba(253,247,239,0.92);
  text-shadow:0 2px 10px rgba(0,0,0,0.55);
  line-height:1;
  white-space:nowrap;
}

.main{
  width:100%;
  max-width:var(--page-max);
  margin:0 auto;
  display:grid;
  grid-template-columns:1.55fr 0.95fr;
  gap:1.8rem;
  align-items:start;
  flex:1;
  min-height:0;
  padding-top:0.15rem;
}

.card{
  background:linear-gradient(180deg,var(--paper),var(--paper-soft));
  border-radius:1.75rem;
  padding:2.05rem;
  color:var(--ink);
  box-shadow:0 28px 70px rgba(0,0,0,.45);
  overflow:hidden;
}

.card h1{
  margin:0.2rem 0 0.65rem;
  font-size:2.05rem;
  line-height:1.18;
}

.card p{
  margin:0 0 1rem;
  line-height:1.58;
  font-size:0.98rem;
}

.chips{
  display:grid;
  grid-template-columns:repeat(3,1fr);
  gap:0.95rem;
  margin:1.05rem 0 0.95rem;
}

.chip{
  background:#fff;
  border-radius:.95rem;
  padding:.95rem;
  font-size:.85rem;
  box-shadow:0 10px 22px rgba(0,0,0,.14);
}

.chip strong{
  display:block;
  margin:0 0 .25rem;
}

.rollout{
  margin-top:0.4rem;
  background:rgba(255,255,255,0.62);
  border-radius:1.05rem;
  padding:1.0rem 1.05rem;
  box-shadow:inset 0 0 0 1px rgba(0,0,0,0.04);
}

.rollout h4{
  margin:0 0 0.55rem;
  font-size:0.98rem;
}

.rollout p{
  margin:0 0 0.6rem;
  font-size:0.92rem;
  line-height:1.55;
  color:rgba(43,28,20,0.86);
}

.rollout p:last-child{
  margin-bottom:0;
}

.rollout .q{
  margin-top:0.25rem;
  font-weight:700;
  color:rgba(43,28,20,0.88);
}

.rollout .a{
  margin-top:0.15rem;
  color:rgba(43,28,20,0.82);
}

.steps{
  background:rgba(0,0,0,.28);
  border-radius:1.75rem;
  padding:1.25rem 1.25rem 1.05rem;
  box-shadow:0 26px 60px rgba(0,0,0,.55);
  border:1px solid rgba(255,255,255,0.10);
  display:flex;
  flex-direction:column;
}

.steps-head{
  flex-shrink:0;
  margin-bottom:0.7rem;
}

.steps h3{
  margin:0;
  font-size:1.08rem;
  display:flex;
  align-items:center;
  gap:0.55rem;
}

.play{
  font-size:1.0rem;
  line-height:1;
  color:#2fe07b;
  filter:drop-shadow(0 0 10px rgba(47,224,123,.25));
}

.steps .sub{
  margin:0.35rem 0 0;
  opacity:.85;
  line-height:1.45;
  color:rgba(253,247,239,0.88);
  font-size:0.92rem;
}

.steps-list{
  flex:1;
  min-height:0;
  display:flex;
  flex-direction:column;
  gap:0.7rem;
}

.step{
  display:grid;
  grid-template-columns:82px 1fr;
  gap:0.9rem;
  padding:0.95rem 1.0rem;
  border-radius:1.2rem;
  background:rgba(255,255,255,0.05);
  border:1px solid rgba(255,255,255,0.08);
  box-shadow:0 14px 34px rgba(0,0,0,0.35);
}

.step strong{
  display:block;
  margin:0 0 .28rem;
  color:#fff;
}

.step p{
  margin:0;
  color:rgba(255,255,255,.90);
  font-size:.92rem;
  line-height:1.52;
}

.step-number{
  position:relative;
  display:flex;
  align-items:flex-start;
  justify-content:center;
  padding-top:0.05rem;
}

.step-number::before{
  content:"";
  position:absolute;
  inset:-22px;
  border-radius:50%;
  background:
    radial-gradient(circle,
      rgba(183,171,217,.32) 0%,
      rgba(138,121,184,.18) 38%,
      rgba(0,0,0,0) 74%);
  filter:blur(10px);
  z-index:0;
}

.step-number img{
  width:64px;
  height:auto;
  position:relative;
  z-index:1;
  filter:
    brightness(1.42)
    contrast(1.18)
    saturate(1.18)
    drop-shadow(0 18px 26px rgba(0,0,0,.55))
    drop-shadow(0 0 14px rgba(255,255,255,.10));
}

.steps-actions{
  flex-shrink:0;
  display:flex;
  justify-content:flex-end;
  gap:0.75rem;
  padding-top:0.85rem;
}

.btn{
  border-radius:999px;
  padding:.65rem 1.05rem;
  font-size:.9rem;
  border:none;
  cursor:pointer;
  white-space:nowrap;
  text-decoration:none;
  display:inline-flex;
  align-items:center;
  justify-content:center;
}

.btn.primary{
  background:linear-gradient(180deg,var(--purple-soft),var(--purple));
  color:#1d1433;
  box-shadow:0 10px 22px rgba(0,0,0,.25);
}

.btn.secondary{
  background:#fff;
  color:#1d1433;
  box-shadow:0 10px 22px rgba(0,0,0,.18);
}

.chw-footer{
  width:100vw;
  margin:1.35rem calc(50% - 50vw) 0;
  padding:1.25rem 2rem 0.9rem;
  box-sizing:border-box;
  font-size:0.75rem;
  color:rgba(198,189,214,0.92);
  display:flex;
  justify-content:flex-end;
  border-top:1px solid rgba(255,255,255,0.06);
}

.chw-footer-right{
  margin-left:auto;
  display:flex;
  flex-direction:column;
  align-items:flex-end;
  text-align:right;
  gap:0.45rem;
}

.chw-footer-brandline{
  font-weight:650;
  letter-spacing:0.22em;
  text-transform:uppercase;
  color:rgba(253,247,239,0.90);
}

.chw-footer-links{
  display:inline-flex;
  align-items:center;
  justify-content:flex-end;
  gap:0;
}

.chw-footer a,
.chw-footer button{
  color:inherit;
  text-decoration:none;
  font:inherit;
  background:none;
  border:0;
  padding:0;
  cursor:pointer;
  -webkit-tap-highlight-color: transparent;
}

.chw-footer a:visited{
  color:inherit;
}

.chw-footer a:hover,
.chw-footer button:hover{
  color:rgba(253,247,239,0.95);
  text-decoration:underline;
  text-underline-offset:2px;
}

.chw-footer-dot{
  display:inline-block;
  padding:0 0.6rem;
  opacity:0.95;
  transform:translateY(-0.5px);
}

.chw-legal{
  position:relative;
  display:inline-flex;
  align-items:center;
}

.chw-legal-menu{
  position:absolute;
  right:0;
  bottom:calc(100% + 10px);
  min-width:170px;
  border-radius:14px;
  padding:0.5rem;
  background:
    radial-gradient(circle at 0 0, rgba(183,171,217,0.18), transparent 60%),
    rgba(15,10,26,0.96);
  border:1px solid rgba(255,255,255,0.10);
  box-shadow:0 18px 46px rgba(0,0,0,0.85);
  opacity:0;
  transform:translateY(8px);
  pointer-events:none;
  transition:opacity 0.14s ease, transform 0.14s ease;
  z-index:30;
}

.chw-legal:hover .chw-legal-menu,
.chw-legal:focus-within .chw-legal-menu{
  opacity:1;
  transform:translateY(0);
  pointer-events:auto;
}

.chw-legal-menu a{
  display:block;
  padding:0.5rem 0.65rem;
  border-radius:10px;
  text-decoration:none;
  color:rgba(253,247,239,0.92);
}

.chw-legal-menu a:hover,
.chw-legal-menu a:focus-visible{
  background:rgba(183,171,217,0.12);
  text-decoration:none;
  outline:none;
}

@media (max-width:980px){
  .chw-header-left{
    margin-left:0;
  }

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

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

@media (max-width:640px){
  .chw-shell{
    padding:1.4rem 1rem 1rem;
  }

  header.chw-header{
    flex-direction:column;
  }

  .chw-nav{
    flex-wrap:wrap;
  }

  .yo-title{
    font-size:1.12rem;
    letter-spacing:0.18em;
  }

  .yo-cursor{
    height:38px;
  }

  .card{
    padding:1.35rem;
  }

  .card h1{
    font-size:1.55rem;
  }

  .step{
    grid-template-columns:64px 1fr;
    padding:0.85rem;
  }

  .step-number img{
    width:52px;
  }

  .steps-actions{
    flex-direction:column;
  }

  .btn{
    width:100%;
  }

  .chw-footer{
    padding-inline:1.1rem;
  }
}
