:root{
  --bg:#f7f4ff;
  --text:#111827;
  --muted:#6b7280;
  --purple:#4B0082;
  --purple2:#7526d9;
  --line:rgba(17,24,39,.09);
  --surface:rgba(255,255,255,.91);
}

*{box-sizing:border-box}
html{scroll-behavior:smooth}
html,body{margin:0;padding:0}

body{
  min-height:100vh;
  font-family:ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Arial,sans-serif;
  color:var(--text);
  background:
    radial-gradient(800px 420px at 0% 0%,rgba(188,157,255,.23),transparent 65%),
    radial-gradient(800px 440px at 100% 0%,rgba(224,208,255,.34),transparent 68%),
    var(--bg);
}

.shell{
  width:min(1140px,calc(100% - 40px));
  margin:auto;
  padding:22px 0 34px;
}

/* Header */
.siteHeader{
  min-height:92px;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:22px;
  padding:14px 18px;
  background:rgba(255,255,255,.86);
  border:1px solid rgba(255,255,255,.95);
  border-radius:24px;
  box-shadow:0 16px 40px rgba(48,25,76,.08);
}

.brand{
  display:flex;
  align-items:center;
  gap:13px;
  min-width:0;
  text-decoration:none;
  color:var(--text);
}

.brand img{
  width:82px;
  height:58px;
  object-fit:contain;
  display:block;
  flex:0 0 auto;
}

.brandText{
  display:flex;
  flex-direction:column;
  line-height:1.08;
}

.brandText strong{
  font-size:19px;
  letter-spacing:-.02em;
}

.brandText span{
  margin-top:5px;
  color:var(--muted);
  font-size:13px;
}

.siteNav{
  display:flex;
  align-items:center;
  gap:7px;
  flex-wrap:wrap;
  justify-content:flex-end;
}

.navBtn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  min-width:auto;
  min-height:40px;
  padding:9px 14px;
  border:1px solid rgba(75,0,130,.13);
  border-radius:999px;
  background:rgba(255,255,255,.92);
  color:#374151;
  box-shadow:0 5px 14px rgba(48,25,76,.04);
  text-decoration:none;
  font-size:13px;
  font-weight:800;
  transition:.16s ease;
}

.navBtn:hover{
  color:var(--purple);
  border-color:rgba(75,0,130,.25);
  background:#fff;
  transform:translateY(-1px);
}

.navActive{
  color:#374151;
  border-color:rgba(75,0,130,.13);
  background:rgba(255,255,255,.92);
  box-shadow:0 5px 14px rgba(48,25,76,.04);
}

.navActive:hover{
  color:var(--purple);
}

.navContact{
  color:var(--purple);
  border-color:rgba(75,0,130,.22);
}

/* Intro */
.intro{
  display:flex;
  justify-content:space-between;
  align-items:flex-end;
  gap:28px;
  padding:38px 4px 22px;
}

.eyebrow{
  font-size:11px;
  font-weight:900;
  letter-spacing:.21em;
  color:#747b89;
  margin-bottom:8px;
}

h1{
  margin:0;
  font-size:46px;
  line-height:1.02;
  letter-spacing:-.045em;
}

.intro > p{
  margin:0 0 4px;
  max-width:400px;
  text-align:right;
  color:var(--muted);
  font-size:15px;
  line-height:1.55;
}

/* Apps */
.grid{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:16px;
}

.card{
  min-height:242px;
  padding:24px;
  border-radius:23px;
  background:var(--surface);
  border:1px solid var(--line);
  box-shadow:0 14px 34px rgba(52,29,76,.07);
  display:flex;
  flex-direction:column;
}

.card.hue{
  background:
    radial-gradient(220px 150px at 100% 0%,rgba(213,64,255,.10),transparent 70%),
    rgba(255,255,255,.92);
}

.top{
  display:flex;
  align-items:center;
  gap:15px;
}

.icon{
  width:70px;
  height:70px;
  object-fit:cover;
  border-radius:19px;
  border:1px solid rgba(17,24,39,.07);
}

h2{
  margin:0 0 5px;
  font-size:21px;
  letter-spacing:-.025em;
  line-height:1.18;
}

.label{
  margin:0;
  color:var(--muted);
  font-size:12px;
  font-weight:750;
}

.desc{
  margin:18px 0 22px;
  color:var(--muted);
  font-size:15px;
  line-height:1.55;
}

.btn{
  margin-top:auto;
  align-self:flex-start;
  padding:10px 15px;
  border-radius:999px;
  background:linear-gradient(135deg,var(--purple),var(--purple2));
  color:white;
  text-decoration:none;
  font-size:13px;
  font-weight:850;
  box-shadow:0 8px 18px rgba(75,0,130,.17);
}

.btn:hover{transform:translateY(-1px)}

.soon{
  margin-top:auto;
  align-self:flex-start;
  padding:10px 15px;
  border-radius:999px;
  background:#f1ebf7;
  color:#68477b;
  font-size:13px;
  font-weight:850;
  border:1px solid rgba(75,0,130,.08);
}

/* Contact */
.contactStrip{
  margin-top:17px;
  padding:23px 25px;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:30px;
  border:1px solid rgba(75,0,130,.11);
  border-radius:22px;
  background:rgba(255,255,255,.82);
  box-shadow:0 10px 26px rgba(52,29,76,.05);
}

.contactStrip h3{
  margin:0;
  font-size:20px;
  letter-spacing:-.025em;
}

.contactStrip p{
  margin:7px 0 0;
  color:var(--muted);
  font-size:14px;
}

.emailBtn{
  flex:0 0 auto;
  padding:11px 17px;
  border:1px solid rgba(75,0,130,.22);
  border-radius:999px;
  background:#fff;
  color:var(--purple);
  text-decoration:none;
  font-size:14px;
  font-weight:850;
}

.emailBtn:hover{
  background:rgba(75,0,130,.04);
}

footer{
  padding:18px 4px 0;
  color:var(--muted);
  font-size:12px;
  display:flex;
  justify-content:space-between;
}

footer div{display:flex;gap:14px}
footer a{color:inherit;text-decoration:none}
footer a:hover{color:var(--purple)}

@media(max-width:760px){
  .shell{
    width:calc(100% - 24px);
    padding-top:10px;
  }

  .siteHeader{
    flex-direction:column;
    align-items:stretch;
    gap:13px;
  }

  .brand{
    justify-content:center;
  }

  .brand img{
    width:48px;
    height:52px;
  }

  .brandText strong{
    font-size:20px;
  }

  .siteNav{
    display:grid;
    grid-template-columns:1fr 1fr;
    gap:7px;
  }

  .navBtn{
    min-width:0;
    width:100%;
    padding:9px 10px;
  }

  .intro{
    display:block;
    padding:24px 2px 17px;
  }

  h1{
    font-size:34px;
  }

  .intro > p{
    margin-top:9px;
    text-align:left;
    font-size:14px;
  }

  .grid{
    grid-template-columns:1fr;
    gap:12px;
  }

  .card{
    min-height:0;
    padding:18px;
    border-radius:20px;
  }

  .icon{
    width:60px;
    height:60px;
    border-radius:17px;
  }

  h2{font-size:19px}

  .desc{
    margin:14px 0 17px;
    font-size:14px;
  }

  .contactStrip{
    display:block;
    padding:19px;
  }

  .emailBtn{
    display:inline-flex;
    margin-top:16px;
  }

  footer{
    flex-direction:column;
    gap:8px;
  }
}


/* Mobile header matches the same component */
@media(max-width:760px){
  .siteHeader{
    min-height:auto;
    flex-direction:column;
    align-items:flex-start;
    gap:12px;
    padding:14px;
    border-radius:20px;
  }

  .brand img{
    width:78px;
    height:55px;
  }

  .brandText strong{font-size:18px;}
  .brandText span{font-size:12px;}

  .siteNav{
    width:100%;
    display:grid;
    grid-template-columns:repeat(2,minmax(0,1fr));
    gap:7px;
  }

  .navBtn{
    min-width:0;
    width:100%;
    padding:8px 9px;
  }
}
