/* JusTrust landing page – styles
   Sections: nav · hero/pinned stage · carousel · two forms · designed around · footer · responsive */
:root {
  --sg:44px;
  --bg:#f5f7fc;
  --tx:#0b1530;
  --mu:#5d6b8a;
  --ac:#4368ef;
  --ln:rgba(11,21,48,.09);
  --gl:rgba(255,255,255,.78);
  box-sizing:border-box;
}

* {
  box-sizing:border-box;
  margin:0;
}

html,body {
  background:var(--bg);
  color:var(--tx);
  font-family:Montserrat,system-ui,sans-serif;
  -webkit-font-smoothing:antialiased;
}

h1,h2 {
  font-weight:600;
  letter-spacing:-.03em;
  line-height:1.04;
  font-size:clamp(30px,4.6vw,62px);
  color:#fff;
}

h2 {
  font-size:clamp(28px,3.8vw,50px);
  color:var(--tx);
}

nav {
  position:fixed;
  top:0;
  left:0;
  right:0;
  z-index:30;
  padding:calc(14px + env(safe-area-inset-top,0px)) max(3vw,12px) 0;
  pointer-events:none;
}

.navin {
  max-width:1120px;
  margin:0 auto;
  display:flex;
  justify-content:space-between;
  align-items:center;
  padding:10px 12px 10px 20px;
  border-radius:18px;
  border:1px solid var(--ln);
  background:rgba(8,12,24,.45);
  -webkit-backdrop-filter:blur(18px) saturate(1.4);
  backdrop-filter:blur(18px) saturate(1.4);
  pointer-events:auto;
}

.logo {
  display:flex;
  color:#fff;
}

.logo svg {
  height:20px;
  width:auto;
  display:block;
}

.btn {
  cursor:pointer;
  border:0;
  border-radius:12px;
  padding:11px 18px;
  font:500 13px Montserrat,sans-serif;
  color:#fff;
  background:linear-gradient(180deg,#5578f5,#4368ef);
  box-shadow:0 0 0 1px rgba(255,255,255,.18) inset,0 8px 24px rgba(70,100,255,.4);
  transition:box-shadow .25s;
}

.btn:hover {
  box-shadow:0 0 0 1px rgba(255,255,255,.3) inset,0 10px 34px rgba(90,120,255,.65);
}

.track {
  height:520vh;
  position:relative;
}

.stage {
  position:sticky;
  top:0;
  height:100vh;
  overflow:hidden;
  background:var(--bg);
}

.bg {
  position:absolute;
  left:0;
  top:0;
  width:100%;
  height:114%;
  object-fit:cover;
  object-position:center top;
  animation:bgin 2.4s cubic-bezier(.2,.7,.2,1) backwards;
}

@keyframes bgin {
  from {
    transform:scale(1.1);
    opacity:.3;
  }
}

.mist {
  position:absolute;
  left:0;
  right:0;
  bottom:0;
  height:160%;
  z-index:1;
  pointer-events:none;
  background:linear-gradient(0deg,#f5f7fc 66%,rgba(245,247,252,0));
  transform:translateY(100%);
  will-change:transform;
}

.glow {
  position:absolute;
  inset:0;
  z-index:1;
  pointer-events:none;
}

.glow i {
  position:absolute;
  inset:0;
  opacity:0;
}

.glow i:nth-child(1) {
  background:radial-gradient(55% 45% at 50% 72%,rgba(90,125,255,.24),transparent);
}

.glow i:nth-child(2) {
  background:radial-gradient(55% 45% at 50% 72%,rgba(255,170,110,.3),transparent);
}

.glow i:nth-child(3) {
  background:radial-gradient(55% 45% at 50% 72%,rgba(110,200,140,.26),transparent);
}

.glow i:nth-child(4) {
  background:radial-gradient(55% 45% at 50% 72%,rgba(255,150,90,.26),transparent);
}

.grain {
  position:absolute;
  inset:0;
  opacity:.05;
  mix-blend-mode:overlay;
  pointer-events:none;
  background-image:url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='160' height='160'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>");
}

.spot {
  position:absolute;
  inset:0;
  pointer-events:none;
  background:radial-gradient(520px circle at var(--x,50%) var(--y,40%),rgba(150,180,255,.2),transparent 60%);
}

.hero-copy,.sec-copy {
  position:absolute;
  left:0;
  right:0;
  text-align:center;
  z-index:2;
  padding:0 20px;
}

.hero-copy {
  top:15vh;
}

.sec-copy {
  top:12vh;
  opacity:0;
}

.hero-copy p,.sec-copy p {
  font-size:clamp(12px,1.5vw,14px);
  line-height:1.65;
  margin:16px auto 0;
  max-width:520px;
  color:#b6c0dd;
  font-weight:400;
}

.hero-copy p {
  animation:fade 1.2s 1s backwards;
}

@keyframes fade {
  from {
    opacity:0;
  }
}

.w {
  display:inline-block;
  overflow:hidden;
  vertical-align:top;
  padding:0 .02em .12em;
}

.w>i {
  display:inline-block;
  font-style:normal;
  animation:up 1.1s cubic-bezier(.2,.8,.2,1) backwards;
  animation-delay:calc(.3s + var(--d)*.08s);
}

@keyframes up {
  from {
    transform:translateY(112%);
  }
}

.card,.item {
  position:absolute;
  z-index:3;
  aspect-ratio:1.583;
  will-change:transform;
}

.card {
  left:50%;
  top:36vh;
  width:min(38vw,520px);
  transform:translateX(-50%);
}

.card img,.item img {
  width:100%;
  height:100%;
  display:block;
  filter:drop-shadow(0 2px 3px rgba(10,20,50,.4)) drop-shadow(0 34px 44px rgba(30,50,120,.3));
}

.item {
  opacity:0;
}

.tilt {
  position:relative;
  transition:transform .25s ease-out;
  animation:cardin 1.5s .6s cubic-bezier(.2,.8,.2,1) backwards;
}

@keyframes cardin {
  from {
    opacity:0;
    transform:translateY(70px) scale(.94);
    filter:blur(12px);
  }
}

.glare {
  position:absolute;
  inset:0;
  border-radius:6%;
  pointer-events:none;
  opacity:0;
  transition:opacity .3s;
  background:radial-gradient(circle at var(--gx,50%) var(--gy,50%),rgba(255,255,255,.2),transparent 55%);
}

.refl {
  position:absolute;
  z-index:2;
  overflow:hidden;
  filter:blur(2.5px);
  -webkit-mask-image:linear-gradient(#000,transparent 88%);
  mask-image:linear-gradient(#000,transparent 88%);
  opacity:.5;
}

.refl img {
  width:100%;
  display:block;
  transform:scaleY(-1);
}

.cue {
  position:absolute;
  z-index:4;
  left:50%;
  bottom:calc(22px + env(safe-area-inset-bottom,0px));
  transform:translateX(-50%);
  color:#fff;
  font-size:11px;
  letter-spacing:.08em;
  text-align:center;
}

.cue::after {
  content:"";
  display:block;
  width:1px;
  height:34px;
  margin:8px auto 0;
  background:linear-gradient(#fff,transparent);
  animation:drip 1.8s ease-in-out infinite;
  transform-origin:top;
}

@keyframes drip {
  0% {
    transform:scaleY(0);
  }
  60% {
    transform:scaleY(1);
  }
  100% {
    transform:scaleY(1);
    opacity:0;
  }
}

.prog {
  position:absolute;
  z-index:5;
  left:50%;
  bottom:calc(26px + env(safe-area-inset-bottom,0px));
  transform:translateX(-50%);
  text-align:center;
  opacity:0;
}

.prog div {
  display:flex;
  gap:8px;
}

.prog i {
  display:block;
  width:clamp(36px,7vw,64px);
  height:3px;
  border-radius:2px;
  background:rgba(255,255,255,.16);
  overflow:hidden;
}

.prog i b {
  display:block;
  height:100%;
  width:100%;
  background:#fff;
  transform-origin:left;
  transform:scaleX(0);
}

.lab {
  display:block;
  margin-top:12px;
  font-size:12px;
  color:var(--mu);
  letter-spacing:.02em;
}

.lab.sw {
  animation:fu .6s;
}

@keyframes fu {
  from {
    opacity:0;
    transform:translateY(8px);
  }
}

section {
  position:relative;
}

.forms,.every {
  padding:clamp(70px,10vw,130px) max(5vw,20px);
}

.forms {
  text-align:center;
}

.lead {
  font-size:14px;
  line-height:1.65;
  margin:18px auto var(--sg);
  max-width:520px;
  color:var(--mu);
}

.acc {
  display:flex;
  gap:16px;
  max-width:1040px;
  margin:0 auto;
  height:360px;
  text-align:left;
}

.form {
  position:relative;
  overflow:hidden;
  border-radius:24px;
  cursor:pointer;
  min-width:0;
  flex:0 0 22%;
  background:linear-gradient(160deg,#6384ff,#2b44c8);
  border:1px solid rgba(255,255,255,.2);
  transition:flex .6s cubic-bezier(.2,.7,.2,1),background .5s;
}

.form:focus-visible {
  outline:2px solid #fff;
  outline-offset:3px;
}

.form.on {
  flex:1 1 0;
  background:linear-gradient(160deg,rgba(255,255,255,.09),rgba(255,255,255,.02));
  cursor:default;
}

.chip {
  position:absolute;
  left:18px;
  bottom:18px;
  display:inline-flex;
  gap:8px;
  align-items:center;
  background:#fff;
  color:#2b44c8;
  border-radius:99px;
  padding:8px 14px;
  font:600 12px Montserrat,sans-serif;
  z-index:2;
  white-space:nowrap;
}

.form.on .chip {
  top:18px;
  bottom:auto;
  background:var(--ac);
  color:#fff;
}

.inner {
  position:absolute;
  inset:0;
  padding:70px 32px 26px;
  display:flex;
  gap:32px;
  align-items:center;
  min-width:640px;
  opacity:0;
  pointer-events:none;
  transition:opacity .2s;
}

.form.on .inner {
  opacity:1;
  pointer-events:auto;
  transition:opacity .4s .25s;
}

.vcard {
  position:relative;
  flex:none;
  width:260px;
  aspect-ratio:1.583;
  border-radius:16px;
  color:#fff;
  overflow:hidden;
  background:linear-gradient(135deg,#6f8dff,#3453d8 65%,#1e2f96);
  box-shadow:0 24px 50px rgba(50,80,230,.45);
}

.vcard::after {
  content:"";
  position:absolute;
  inset:0;
  background:linear-gradient(115deg,rgba(255,255,255,.3),transparent 45%);
}

.vcard::before {
  content:"";
  position:absolute;
  inset:0;
  z-index:1;
  background:linear-gradient(105deg,transparent 35%,rgba(255,255,255,.5) 50%,transparent 65%);
  transform:translateX(-120%);
}

.form.on .vcard::before {
  animation:sweep 1.4s .5s ease-out;
}

@keyframes sweep {
  to {
    transform:translateX(120%);
  }
}

.vcard .lg {
  position:absolute;
  left:14px;
  top:14px;
  height:13px;
  width:auto;
  z-index:2;
}

.vcard em {
  position:absolute;
  right:14px;
  bottom:10px;
  font:italic 700 20px Montserrat,sans-serif;
}

.vcard span {
  position:absolute;
  left:14px;
  bottom:12px;
  font-size:12px;
  letter-spacing:.08em;
}

.pimg {
  flex:none;
  width:260px;
  filter:drop-shadow(0 24px 30px rgba(0,0,0,.6));
}

.txt h3 {
  font-size:19px;
  font-weight:600;
  margin-bottom:8px;
}

.txt p {
  font-size:13px;
  line-height:1.6;
  color:var(--mu);
  max-width:270px;
}

.txt dl {
  margin-top:16px;
  display:grid;
  grid-template-columns:auto 1fr;
  gap:7px 16px;
  font-size:12px;
}

.txt dt {
  color:var(--mu);
}

.txt dd {
  font-weight:600;
}

.form.on .txt h3 {
  animation:fu .7s .3s backwards;
}

.form.on .txt p {
  animation:fu .7s .4s backwards;
}

.form.on .txt dl {
  animation:fu .7s .5s backwards;
}

.form.on .vcard,.form.on .pimg {
  animation:fu .8s .2s backwards;
}

.every h2 {
  max-width:1040px;
  margin:0 auto var(--sg);
}

.bento {
  max-width:1040px;
  margin:0 auto;
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:16px;
}

.tile {
  position:relative;
  overflow:hidden;
  background:var(--gl);
  border:1px solid var(--ln);
  border-radius:24px;
  padding:28px;
  min-height:280px;
  transition:transform .4s cubic-bezier(.2,.7,.2,1),border-color .4s;
}

.tile:hover {
  transform:translateY(-4px);
  border-color:rgba(130,160,255,.5);
}

.tile::before {
  content:"";
  position:absolute;
  inset:0;
  background:radial-gradient(320px circle at var(--mx,50%) var(--my,50%),rgba(110,140,255,.22),transparent 70%);
  opacity:0;
  transition:opacity .3s;
  pointer-events:none;
}

.tile:hover::before {
  opacity:1;
}

.tile>h3,.tile>p,.pays {
  position:relative;
}

.tile h3 {
  font-size:21px;
  line-height:1.25;
  font-weight:600;
  max-width:320px;
}

.tile p {
  font-size:13px;
  margin-top:8px;
  color:var(--mu);
}

.tall {
  grid-column:2;
  grid-row:1/3;
  min-height:480px;
}

.pays {
  display:block;
  height:54px;
  width:auto;
  margin-top:20px;
  border-radius:10px;
}

.refimg {
  position:absolute;
  right:-4%;
  bottom:2%;
  width:88%;
  transition:transform .6s cubic-bezier(.2,.7,.2,1);
}

.tall:hover .refimg {
  transform:translateY(-8px) rotate(-2deg);
}

.coin {
  position:absolute;
  right:4%;
  bottom:4%;
  width:62%;
  transition:transform .6s;
}

.tile:hover .coin {
  transform:translateY(-6px) rotate(3deg) scale(1.03);
}

.foot {
  overflow:hidden;
  padding:clamp(70px,9vw,120px) max(5vw,20px) 30px;
  background:radial-gradient(70% 60% at 50% 0,rgba(70,100,255,.2),transparent),#03050a;
  border-top:1px solid var(--ln);
}

.fwrap {
  max-width:1040px;
  margin:0 auto;
  display:flex;
  flex-wrap:wrap;
  justify-content:space-between;
  gap:44px;
}

.fcta p {
  font-size:14px;
  line-height:1.6;
  margin:16px 0 24px;
  max-width:320px;
  color:var(--mu);
}

.cols {
  display:flex;
  gap:60px;
  font-size:13px;
  color:#c8d0e8;
}

.cols div {
  display:flex;
  flex-direction:column;
  gap:12px;
}

.cols h4 {
  font-weight:500;
  color:var(--mu);
  font-size:12px;
}

.big {
  display:block;
  width:min(92vw,1000px);
  margin:70px auto 0;
  color:rgba(255,255,255,.05);
  height:auto;
}

.big [fill="#29d2ff"] {
  fill-opacity:.14;
}

.fbot {
  max-width:1040px;
  margin:30px auto 0;
  border-top:1px solid var(--ln);
  padding-top:22px;
  text-align:center;
  font-size:10px;
  line-height:1.7;
  color:var(--mu);
}

.rv {
  opacity:0;
  transform:translateY(30px);
  transition:opacity 1s cubic-bezier(.2,.7,.2,1),transform 1s cubic-bezier(.2,.7,.2,1);
  transition-delay:var(--rd,0s);
}

.rv.in {
  opacity:1;
  transform:none;
}

@media(max-width:700px) {
  :root {
    --sg:32px;
  }
  .bento {
    grid-template-columns:1fr;
  }
  .tall {
    grid-column:1;
    grid-row:auto;
  }
  .cols {
    gap:36px;
  }
}

@media(prefers-reduced-motion:reduce) {
  .rv {
    opacity:1;
    transform:none;
    transition:none;
  }
  .w>i,.hero-copy p,.bg,.tilt,.form.on *,.cue::after {
    animation:none!important;
  }
  .form,.inner,.tile {
    transition:none;
  }
}

.sec-copy p {
  color:var(--mu);
}

.logo,.navin {
  transition:color .3s,background .4s,border-color .4s,box-shadow .4s;
}

nav.solid .navin {
  background:rgba(255,255,255,.72);
  border-color:var(--ln);
  box-shadow:0 10px 30px rgba(30,50,120,.08);
}

nav.solid .logo {
  color:var(--tx);
}

.prog i {
  background:rgba(11,21,48,.12);
}

.prog i b {
  background:var(--tx);
}

.every {
  background:linear-gradient(180deg,var(--bg),#ecf0fb);
}

.form.on {
  background:rgba(255,255,255,.8);
  border-color:var(--ln);
  box-shadow:0 24px 60px rgba(30,50,120,.1);
}

.pimg {
  filter:drop-shadow(0 22px 26px rgba(30,50,120,.3));
}

.tile {
  box-shadow:0 1px 0 #fff inset,0 18px 40px rgba(30,50,120,.06);
}

.tile:hover {
  border-color:rgba(61,98,240,.35);
  box-shadow:0 1px 0 #fff inset,0 26px 54px rgba(30,50,120,.12);
}

.tile::before {
  background:radial-gradient(320px circle at var(--mx,50%) var(--my,50%),rgba(90,125,255,.14),transparent 70%);
}

.coin {
  filter:drop-shadow(0 22px 28px rgba(61,98,240,.35));
}

.refimg {
  filter:drop-shadow(0 18px 24px rgba(30,50,120,.22));
}

.foot {
  --mu:#8c97b3;
  --tx:#eef2ff;
  --ln:rgba(255,255,255,.1);
  color:var(--tx);
  border-radius:36px 36px 0 0;
  border-top:0;
}

.foot h2 {
  color:#fff;
}

.hl {
  color:var(--ac);
}

.hero-copy .hl {
  color:#29d2ff;
}

.foot .hl {
  color:#7f9bff;
}

.logo {
  position:relative;
}

.logo svg {
  transition:opacity .35s;
}

.logo .l-b {
  position:absolute;
  left:0;
  top:0;
  opacity:0;
}

nav.solid .l-w {
  opacity:0;
}

nav.solid .l-b {
  opacity:1;
}

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

.lang {
  position:relative;
}

.lb {
  display:flex;
  align-items:center;
  gap:6px;
  border:0;
  background:none;
  color:#fff;
  font:500 13px Montserrat,sans-serif;
  padding:9px 10px;
  border-radius:10px;
  cursor:pointer;
  transition:background .25s,color .3s;
}

.lb:hover {
  background:rgba(255,255,255,.14);
}

nav.solid .lb {
  color:var(--tx);
}

nav.solid .lb:hover {
  background:rgba(11,21,48,.06);
}

.chv {
  transition:transform .25s;
}

.lang.open .chv {
  transform:rotate(180deg);
}

.lm {
  position:absolute;
  right:0;
  top:calc(100% + 12px);
  min-width:170px;
  list-style:none;
  padding:6px;
  border-radius:14px;
  background:rgba(255,255,255,.94);
  -webkit-backdrop-filter:blur(16px);
  backdrop-filter:blur(16px);
  border:1px solid var(--ln);
  box-shadow:0 18px 40px rgba(30,50,120,.18);
  opacity:0;
  transform:translateY(-6px);
  pointer-events:none;
  transition:opacity .2s,transform .2s;
}

.lang.open .lm {
  opacity:1;
  transform:none;
  pointer-events:auto;
}

.lm li {
  padding:10px 12px;
  border-radius:10px;
  font-size:13px;
  color:var(--tx);
  cursor:pointer;
  outline:none;
}

.lm li:hover,.lm li:focus-visible {
  background:#eef2fb;
}

.lm li[aria-selected=true] {
  color:var(--ac);
  font-weight:600;
}

.btn {
  transition:box-shadow .25s,transform .25s cubic-bezier(.2,.7,.2,1);
}

.btn:hover {
  transform:scale(1.04);
}

.acc {
  height:var(--ah,470px);
}

.form {
  flex:0 0 20%;
}

.form.on {
  flex:1 1 0;
}

.inner {
  inset:auto;
  left:0;
  top:0;
  bottom:0;
  right:auto;
  width:var(--ew,760px);
  min-width:0;
  padding:68px 36px 28px;
  gap:22px;
  flex-direction:column;
  align-items:center;
  justify-content:flex-start;
  text-align:center;
}

.fimg {
  flex:none;
  width:clamp(240px,46%,380px);
}

.fimg img {
  width:100%;
  aspect-ratio:1.583;
  display:block;
  filter:drop-shadow(0 22px 28px rgba(30,50,120,.3));
}

.txt {
  flex:none;
  width:100%;
  max-width:560px;
}

.txt h3 {
  font-size:clamp(18px,2vw,22px);
}

.txt p {
  max-width:none;
  font-size:13.5px;
}

.tags {
  display:flex;
  flex-wrap:wrap;
  justify-content:center;
  gap:8px;
  margin-top:18px;
}

.tags span {
  font-size:12px;
  font-weight:500;
  padding:7px 12px;
  border-radius:99px;
  background:rgba(67,104,239,.08);
  color:var(--ac);
  border:1px solid rgba(67,104,239,.18);
}

.form.on .fimg {
  animation:fu .8s .2s backwards;
}

.form.on .tags {
  animation:fu .7s .5s backwards;
}

@media(max-width:1000px) {
  .fimg {
    width:clamp(220px,40%,320px);
  }
  .txt p {
    font-size:12.5px;
  }
}

@media(max-width:700px) {
  .acc {
    flex-direction:column;
    height:auto;
  }
  .form,.form.on {
    flex:none;
    width:100%;
  }
  .form {
    height:64px;
    transition:height .6s cubic-bezier(.2,.7,.2,1),background .5s;
  }
  .form.on {
    height:var(--h,auto);
  }
  .inner {
    position:relative;
    width:auto;
    flex-direction:column;
    align-items:stretch;
    padding:76px 22px 26px;
    gap:22px;
  }
  .fimg {
    flex:none;
    width:min(100%,360px);
    margin:0 auto;
  }
}

.hero-copy {
  top:max(96px,12vh);
}

h1 {
  font-size:clamp(26px,min(4.6vw,7.2vh),62px);
}

@media(max-height:600px) {
  .hero-copy p,.sec-copy p {
    display:none;
  }
}

.noanim .w>i,.noanim .tilt,.noanim .bg,.noanim .hero-copy p {
  animation:none!important;
}

@media(max-width:700px) {
  .navin .more {
    display:none;
  }
  .navin {
    padding:8px 8px 8px 14px;
  }
  .navr {
    gap:2px;
  }
  #lcur,.chv {
    display:none;
  }
  .lb {
    padding:9px;
  }
}

html:lang(zh) h1,html:lang(zh) h2 {
  letter-spacing:0;
  line-height:1.2;
}

html:lang(zh) body {
  font-family:Montserrat,'PingFang SC','Microsoft YaHei','Noto Sans SC',system-ui,sans-serif;
}


/* carousel labels are live text (translatable) */
.item { container-type: inline-size; }
.lbl { position: absolute; inset: 0; pointer-events: none; font-family: Montserrat, 'Noto Sans Thai', 'PingFang SC', 'Microsoft YaHei', system-ui, sans-serif; color: #0b1530; }
.lbl > * { position: absolute; transform: translateY(-50%); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.lt { left: 23.7%; top: 73.5%; max-width: 52%; font-size: 3.3cqw; font-weight: 600; line-height: 1.3; }
.ld { left: 23.7%; top: 81.8%; max-width: 52%; font-size: 2.7cqw; font-weight: 400; color: #8b90a0; line-height: 1.3; }
.la { right: 10%; top: 77.8%; font-size: 3.2cqw; font-weight: 600; }
/* Thai / Vietnamese typography */
html:lang(th) h1, html:lang(th) h2 { letter-spacing: 0; line-height: 1.35; }
html:lang(th) body, html:lang(th) .btn, html:lang(th) .lb { font-family: Montserrat, 'Noto Sans Thai', 'Leelawadee UI', Tahoma, system-ui, sans-serif; }
html:lang(vi) h1, html:lang(vi) h2 { line-height: 1.18; }
html:lang(vi) .w, html:lang(th) .w { padding-top: .3em; margin-top: -.3em; }
.item img { border-radius: 3.6cqw; }

/* Apply buttons are links now */
a.btn { display: inline-block; text-align: center; text-decoration: none; line-height: 1.2; }
/* footer links */
.cols a { color: inherit; text-decoration: none; transition: color .2s; }
.cols a:hover, .cols a:focus-visible { color: #fff; text-decoration: underline; text-underline-offset: 4px; }
/* legal pages (Terms of Services / Privacy Policy) */
.legal { background: var(--bg); padding: 130px max(5vw, 20px) 110px; min-height: 70vh; position: relative; }
.lwrap { max-width: 1120px; margin: 0 auto; }
.back { display: inline-block; margin-bottom: 22px; font-size: 14px; font-weight: 600; color: var(--ac); text-decoration: none; }
.back:hover { text-decoration: underline; text-underline-offset: 4px; }
.lprog { position: fixed; left: 0; top: 0; height: 3px; width: 0; z-index: 40; background: linear-gradient(90deg, #4368ef, #29d2ff); }
.lhead { position: relative; overflow: hidden; margin-bottom: 44px; padding: 44px 48px; border-radius: 28px; background: linear-gradient(135deg, #fff, #eef2fd); border: 1px solid var(--ln); box-shadow: 0 1px 0 #fff inset, 0 24px 60px rgba(30,50,120,.08); }
.lhead::after { content: ""; position: absolute; right: -110px; top: -130px; width: 420px; height: 420px; background: radial-gradient(closest-side, rgba(67,104,239,.2), transparent); pointer-events: none; }
.eyebrow { display: inline-block; margin-bottom: 14px; font-size: 12px; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: var(--ac); }
.legal h1 { position: relative; color: var(--tx); font-size: clamp(34px, 4.6vw, 60px); margin: 0; }
.meta { position: relative; display: flex; flex-wrap: wrap; gap: 10px; margin-top: 24px; }
.meta span { display: inline-flex; align-items: center; gap: 8px; padding: 8px 16px; border-radius: 99px; background: #fff; border: 1px solid var(--ln); font-size: 13px; color: var(--mu); }
.meta em { font-style: normal; } .meta b { color: var(--tx); font-weight: 600; }
.lnote { position: relative; display: inline-block; margin: 16px 0 0; padding: 9px 14px; border-radius: 12px; background: #eaefff; color: var(--ac); font-size: 13px; font-weight: 500; }
.lnote:empty { display: none; }
.lcols { display: grid; grid-template-columns: 270px minmax(0, 1fr); gap: 56px; align-items: start; }
.toc { position: sticky; top: 104px; max-height: calc(100vh - 128px); overflow: auto; padding: 20px 14px; border-radius: 22px; background: rgba(255,255,255,.82); border: 1px solid var(--ln); }
.toc .tt { display: block; width: 100%; padding: 0 10px; margin-bottom: 10px; border: 0; background: none; text-align: left; font: 600 12px Montserrat, system-ui, sans-serif; letter-spacing: .14em; text-transform: uppercase; color: var(--mu); cursor: default; }
.toc a { display: flex; gap: 10px; padding: 8px 10px; border-radius: 10px; font-size: 13px; line-height: 1.35; color: #33405e; text-decoration: none; transition: background .2s, color .2s; }
.toc a i { font-style: normal; font-weight: 600; min-width: 20px; color: #9aa6c4; }
.toc a:hover { background: #eef2fb; }
.toc a.on { background: #eaefff; color: var(--ac); font-weight: 600; } .toc a.on i { color: var(--ac); }
.lbody { max-width: 740px; }
.lsec { scroll-margin-top: 110px; margin-bottom: 44px; padding-bottom: 44px; border-bottom: 1px solid var(--ln); }
.lsec:last-child { margin-bottom: 0; border-bottom: 0; }
.lsec h2 { display: flex; align-items: baseline; gap: 14px; margin: 0 0 18px; font-size: clamp(22px, 2.4vw, 28px); line-height: 1.25; color: var(--tx); }
.lsec h2 i { font-style: normal; font-size: 14px; font-weight: 700; padding: 4px 10px; border-radius: 10px; background: #eaefff; color: var(--ac); }
.lbody p { margin: 0 0 14px; font-size: 15.5px; line-height: 1.8; color: #33405e; }
.lbody h3 { margin: 26px 0 10px; font-size: 17px; font-weight: 600; color: var(--tx); }
.lbody a { color: var(--ac); }
.bl { list-style: none; margin: 0 0 16px; padding: 0; }
.bl li { position: relative; margin-bottom: 8px; padding-left: 22px; font-size: 15.5px; line-height: 1.7; color: #33405e; }
.bl li::before { content: ""; position: absolute; left: 4px; top: .72em; width: 6px; height: 6px; border-radius: 50%; background: var(--ac); }
.cl { display: grid; grid-template-columns: 46px minmax(0, 1fr); gap: 4px 8px; margin-bottom: 14px; }
.cl > b { padding-top: 3px; font-size: 13px; font-weight: 700; color: var(--ac); }
.cl p { margin: 0; }
.ol { list-style: none; margin: 12px 0 4px; padding: 0; display: flex; flex-direction: column; gap: 9px; }
.ol li { display: grid; grid-template-columns: 28px minmax(0, 1fr); gap: 10px; font-size: 15px; line-height: 1.7; color: #33405e; }
.ol li > b { display: flex; align-items: center; justify-content: center; width: 24px; height: 24px; margin-top: 3px; border-radius: 50%; border: 1px solid rgba(67,104,239,.35); font-size: 12px; color: var(--ac); }
.defs { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.defs > div { padding: 16px 18px; border-radius: 16px; background: #fff; border: 1px solid var(--ln); }
.defs b { display: block; margin-bottom: 4px; font-size: 14px; color: var(--ac); }
.defs span { font-size: 14px; line-height: 1.65; color: #33405e; }
.ph { padding: 1px 6px; border-radius: 6px; background: #fff1c9; color: #7a5b00; font-weight: 500; }
.cc { padding: 30px 32px; border-radius: 24px; color: #fff; background: linear-gradient(135deg, #5a7cf5, #3453d8 70%, #243aa8); box-shadow: 0 24px 50px rgba(50,80,230,.28); }
.cc h3 { margin: 0 0 14px; font-size: 20px; color: #fff; }
.cc .row { display: grid; grid-template-columns: 90px minmax(0, 1fr); gap: 12px; padding: 12px 0; border-top: 1px solid rgba(255,255,255,.22); font-size: 15px; line-height: 1.6; }
.cc .row > span { opacity: .75; } .cc a { color: #fff; }
.lbody p.endm { margin: 28px 0 0; text-align: center; font-size: 12px; letter-spacing: .16em; text-transform: uppercase; color: var(--mu); }
@media (max-width: 900px) {
  .lcols { grid-template-columns: 1fr; gap: 24px; }
  .toc { position: static; max-height: none; padding: 14px; }
  .toc .tt { margin: 0; padding: 6px 8px; cursor: pointer; display: flex; justify-content: space-between; }
  .toc .tt::after { content: "▾"; transition: transform .2s; } .toc.open .tt::after { transform: rotate(180deg); }
  .toc .tl { display: none; margin-top: 8px; } .toc.open .tl { display: block; }
  .lhead { padding: 30px 24px; }
}
@media (max-width: 560px) { .defs { grid-template-columns: 1fr; } .cc { padding: 24px 22px; } .cc .row { grid-template-columns: 1fr; gap: 2px; } .cl { grid-template-columns: 40px minmax(0, 1fr); } }
/* header: logo link, secondary (Apply) + primary (Login) buttons */
a.logo { text-decoration: none; }
a.logo:focus-visible { outline: 2px solid var(--ac); outline-offset: 4px; border-radius: 6px; }
.navr { gap: 8px; }
.btn.sec { background: rgba(255,255,255,.1); box-shadow: inset 0 0 0 1px rgba(255,255,255,.38); }
.btn.sec:hover { background: rgba(255,255,255,.2); box-shadow: inset 0 0 0 1px rgba(255,255,255,.6); }
nav.solid .btn.sec { background: transparent; color: var(--tx); box-shadow: inset 0 0 0 1px rgba(11,21,48,.2); }
nav.solid .btn.sec:hover { background: rgba(67,104,239,.08); color: var(--ac); box-shadow: inset 0 0 0 1px rgba(67,104,239,.5); }
@media (max-width: 480px) {
  .navin { padding: 8px 8px 8px 12px; }
  .navr { gap: 4px; }
  .navin .btn { padding: 9px 12px; font-size: 12px; }
  .logo svg { height: 17px; }
}
.cc + p { margin-top: 18px; }
