:root{
  --ink:#07111f;
  --muted:#667085;
  --line:#e6eaf0;
  --soft:#f5f7fa;
  --accent:#22c55e;
  --accent-dark:#16a34a;
  --white:#fff;
}

*{
  box-sizing:border-box;
}

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

body{
  margin:0;
  background:#f7f9fc;
  color:var(--ink);
  font-family:Inter,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;
}


/* =========================================================
   MAIN SHELL
   ========================================================= */

.yego-shell{
  min-height:100vh;
  max-width:1240px;
  margin:auto;
  padding:26px 30px;
  display:flex;
  flex-direction:column;
}


/* =========================================================
   NAVIGATION
   ========================================================= */

.yego-nav{
  display:flex;
  justify-content:space-between;
  align-items:center;
}

.brand{
  display:flex;
  align-items:center;
  gap:10px;
  text-decoration:none;
  color:var(--ink);
  font-weight:900;
  font-size:22px;
  letter-spacing:-.8px;
}

.brand-mark{
  width:34px;
  height:34px;
  border-radius:11px;
  background:var(--ink);
  color:#fff;
  display:grid;
  place-items:center;
  font-size:18px;
}

.secure-pill{
  font-size:12px;
  color:#526071;
  background:#fff;
  border:1px solid var(--line);
  border-radius:999px;
  padding:8px 12px;
}

.secure-pill:first-letter{
  color:var(--accent);
}


/* =========================================================
   LANGUAGE BUTTONS
   ========================================================= */

.nav-actions{
  display:flex;
  align-items:center;
  gap:6px;
}

.lang-btn{
  border:0;
  background:transparent;
  color:#667085;
  font-size:11px;
  font-weight:850;
  padding:7px 8px;
  border-radius:8px;
  cursor:pointer;
}

.lang-btn.active{
  background:#07111f;
  color:#fff;
}


/* =========================================================
   HERO
   ========================================================= */

.hero{
  flex:1;
  display:grid;
  grid-template-columns:1fr 470px;
  gap:90px;
  align-items:center;
  padding:65px 6vw;
}

.eyebrow{
  font-size:11px;
  letter-spacing:2px;
  font-weight:800;
  color:var(--accent-dark);
  margin-bottom:20px;
}

.hero h1{
  font-size:clamp(48px,6vw,78px);
  line-height:.96;
  letter-spacing:-4px;
  margin:0 0 24px;
  font-weight:900;
}

.hero h1 span{
  color:#94a3b8;
}

.hero-copy p{
  max-width:520px;
  color:var(--muted);
  font-size:17px;
  line-height:1.7;
  margin-bottom:28px;
}

.trust-row{
  display:flex;
  flex-wrap:wrap;
  gap:10px;
  color:#4b5563;
  font-size:12px;
  font-weight:700;
}

.trust-row span{
  background:#fff;
  border:1px solid var(--line);
  padding:9px 12px;
  border-radius:999px;
}


/* =========================================================
   TRANSFER CARD
   ========================================================= */

.transfer-card{
  position:relative;
  background:rgba(255,255,255,.96);
  border:1px solid rgba(10,20,35,.08);
  border-radius:28px;

  /* Compactened from 28px */
  padding:22px;

  box-shadow:0 24px 70px rgba(7,17,31,.12);
}


/* =========================================================
   CARD HEADER
   ========================================================= */

.card-head{
  display:flex;
  justify-content:space-between;
  align-items:start;

  /* Compactened */
  margin-bottom:17px;
}

.card-head small{
  font-size:10px;
  letter-spacing:1.7px;
  font-weight:800;
  color:#98a2b3;
}

.card-head h2{
  font-size:27px;
  margin:5px 0 0;
  font-weight:850;
  letter-spacing:-1px;
}

.country-badge{
  font-size:12px;
  font-weight:800;
  background:var(--soft);
  border-radius:999px;
  padding:9px 11px;
}


/* =========================================================
   FORM FIELDS
   ========================================================= */

.field-group{
  position:relative;

  /* Compactened */
  margin-bottom:11px;
}

.field-group label{
  display:block;
  font-size:12px;
  font-weight:800;
  color:#344054;

  /* Compactened */
  margin:0 0 5px;
}


/* =========================================================
   PHONE INPUT
   ========================================================= */

.input-wrap,
.amount-wrap{
  /* Compactened from 58px */
  height:50px;

  border:1px solid #dfe4eb;
  border-radius:15px;
  background:#fff;

  display:flex;
  align-items:center;

  transition:.2s;
}

.input-wrap:focus-within,
.amount-wrap:focus-within{
  border-color:#98a2b3;
  box-shadow:0 0 0 4px rgba(34,197,94,.08);
}

.input-wrap input,
.amount-wrap input{
  border:0;
  outline:0;
  background:transparent;
  width:100%;
  height:100%;

  font-size:16px;
  font-weight:650;
  color:var(--ink);
}

.input-wrap input{
  padding:0 15px 0 7px;
}

.flag{
  font-size:18px;
  padding-left:15px;
}


/* =========================================================
   AMOUNT
   ========================================================= */

.amount-group{
  margin-top:1px;

  /* Compactened */
  margin-bottom:10px;
}

.amount-wrap{
  /* Slightly larger than phone fields */
  height:52px;
}

.amount-wrap input{
  font-size:28px;
  font-weight:850;
  padding-left:17px;
  letter-spacing:-.8px;
}

.amount-wrap span{
  padding:0 17px;
  color:#667085;
  font-size:12px;
  font-weight:850;
}


/* =========================================================
   SWAP BUTTON
   ========================================================= */

.swap-btn{
  position:absolute;

  /*
   * Keeps the button on the right side,
   * between the sender and receiver fields.
   */
  right:27px;

  margin-top:86px;

  z-index:2;

  width:32px;
  height:32px;

  border-radius:50%;
  border:4px solid #fff;

  background:var(--ink);
  color:#fff;

  display:grid;
  place-items:center;

  font-size:14px;

  cursor:pointer;

  transform:translateY(-50%);

  box-shadow:0 5px 15px rgba(7,17,31,.18);

  transition:
    background .2s,
    transform .2s,
    box-shadow .2s;
}

.swap-btn:hover{
  background:#101c2d;

  transform:translateY(-50%) scale(1.05);

  box-shadow:0 7px 18px rgba(7,17,31,.24);
}


/* =========================================================
   FEES
   ========================================================= */

.fee-line{
  display:flex;
  justify-content:space-between;

  font-size:12px;
  color:#667085;

  /* Compactened */
  padding:3px 2px;
}

.fee-line strong{
  color:#344054;
}

.total-line{
  border-top:1px solid var(--line);

  /* Compactened */
  margin-top:4px;
  padding-top:9px;
  padding-bottom:9px;

  font-size:14px;
  color:#344054;
}

.total-line strong{
  font-size:16px;
  color:var(--ink);
}


/* =========================================================
   SEND BUTTON
   ========================================================= */

.send-btn{
  width:100%;

  /* Compactened from 58px */
  height:48px;

  border:0;
  border-radius:15px;

  background:var(--ink);
  color:#fff;

  /* Compactened */
  margin-top:10px;

  font-size:15px;
  font-weight:850;

  display:flex;
  align-items:center;
  justify-content:center;
  gap:14px;

  cursor:pointer;

  transition:.2s;
}

.send-btn:hover{
  background:#101c2d;
  transform:translateY(-1px);
}

.send-btn:disabled{
  opacity:.65;
  cursor:wait;
  transform:none;
}

.arrow{
  font-size:20px;
}


/* =========================================================
   LEGAL NOTE
   ========================================================= */

.legal-note{
  text-align:center;
  color:#98a2b3;
  font-size:10px;

  /* Compactened */
  margin:7px 0 0;
}


/* =========================================================
   RESULT BOX
   ========================================================= */

.result-box{
  margin-top:18px;
  border-radius:15px;
  padding:15px;
  font-size:13px;
  font-weight:700;
}

.result-success{
  background:#ecfdf3;
  color:#166534;
  border:1px solid #bbf7d0;
}

.result-error{
  background:#fef2f2;
  color:#991b1b;
  border:1px solid #fecaca;
}

.result-pending{
  background:#fffbeb;
  color:#92400e;
  border:1px solid #fde68a;
}


/* =========================================================
   FOOTER
   ========================================================= */

footer{
  text-align:center;
  color:#98a2b3;
  font-size:11px;
  padding-top:20px;
}


/* =========================================================
   TABLET / SMALL DESKTOP
   ========================================================= */

@media(max-width:900px){

  .yego-shell{
    padding:18px 16px;
  }

  .hero{
    grid-template-columns:1fr;
    gap:32px;
    padding:48px 0 35px;
    max-width:560px;
    margin:auto;
    width:100%;
  }

  .hero-copy{
    text-align:center;
  }

  .hero-copy p{
    margin-left:auto;
    margin-right:auto;
  }

  .trust-row{
    justify-content:center;
  }

  .transfer-card{
    padding:22px;
    border-radius:24px;
  }

  .swap-btn{
    right:25px;
    margin-top:86px;
  }
}


/* =========================================================
   MOBILE
   ========================================================= */

@media(max-width:480px){

  .secure-pill{
    display:none;
  }

  .hero{
    padding-top:35px;
  }

  .hero h1{
    letter-spacing:-2.5px;
    font-size:51px;
  }

  .hero-copy p{
    font-size:15px;
  }

  .transfer-card{
    padding:18px;
    border-radius:21px;
  }

  .card-head h2{
    font-size:24px;
  }

  .field-group{
    margin-bottom:10px;
  }

  .input-wrap{
    height:48px;
  }

  .amount-wrap{
    height:50px;
  }

  .swap-btn{
    right:21px;
    margin-top:84px;
  }

  .send-btn{
    height:48px;
  }
}
