/* Shared style for VanshLink's public pages (features, rooms, FAQ, …). */
:root {
  --ink: #16131f;
  --ink2: #4a4558;
  --ink3: #7b7690;
  --line: #ebe8f2;
  --brand: #6a4cff;
  --brand2: #b44cff;
  --soft: #f3f0ff;
  --warm: #ff5c8a;
  --bg: #ffffff;
  --surface: #f7f6fb;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font: 16px/1.65 Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;
}
img { max-width: 100%; height: auto; }
a { color: var(--brand); }
.wrap { max-width: 1040px; margin: 0 auto; padding: 0 16px; }
.narrow { max-width: 760px; }

/* Top bar */
.top { position: sticky; top: 0; z-index: 10; background: rgba(255, 255, 255, 0.92); backdrop-filter: saturate(160%) blur(10px); border-bottom: 1px solid var(--line); }
.top .wrap { display: flex; align-items: center; gap: 12px; height: 60px; }
.brand { display: inline-flex; align-items: center; gap: 8px; text-decoration: none; color: var(--ink); font: 800 19px/1 "Plus Jakarta Sans", Inter, sans-serif; letter-spacing: -0.02em; }
.brand img { width: 30px; height: 30px; border-radius: 9px; }
.brand b { background: linear-gradient(90deg, var(--brand), var(--brand2)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.nav { margin-left: auto; display: flex; align-items: center; gap: 4px; }
.nav a { text-decoration: none; color: var(--ink2); font-weight: 600; font-size: 14px; padding: 8px 10px; border-radius: 10px; white-space: nowrap; }
.nav a:hover { background: var(--surface); color: var(--ink); }
.nav .hide-sm { display: none; }
@media (min-width: 720px) { .nav .hide-sm { display: inline-block; } }

.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; text-decoration: none; font-weight: 700; border-radius: 14px; padding: 12px 20px; font-size: 15px; transition: transform 0.15s, box-shadow 0.15s; }
.btn:active { transform: scale(0.97); }
.btn-primary { color: #fff; background: linear-gradient(135deg, var(--brand), #4b6bff); box-shadow: 0 10px 24px -12px rgba(106, 76, 255, 0.8); }
.btn-warm { color: #fff; background: linear-gradient(135deg, #ff5c8a, #ff8a3d); box-shadow: 0 10px 24px -12px rgba(255, 92, 138, 0.8); }
.btn-ghost { color: var(--ink); background: var(--surface); }
.nav .btn { padding: 9px 14px; font-size: 14px; }
.nav a.btn-primary, .nav a.btn-primary:hover { color: #fff; background: linear-gradient(135deg, var(--brand), #4b6bff); }

/* Hero */
.hero { position: relative; overflow: hidden; background: linear-gradient(160deg, #f3efff 0%, #eef4ff 55%, #fff1f6 100%); }
.hero.warm { background: linear-gradient(160deg, #fff1ea 0%, #ffeef4 55%, #f3efff 100%); }
.hero .wrap { padding-top: 56px; padding-bottom: 56px; }
.eyebrow { display: inline-block; font-size: 12.5px; font-weight: 800; letter-spacing: 0.06em; text-transform: uppercase; color: var(--brand); background: #fff; border: 1px solid var(--line); padding: 5px 11px; border-radius: 999px; }
.hero.warm .eyebrow { color: var(--warm); }
h1 { font: 800 clamp(32px, 6vw, 54px)/1.08 "Plus Jakarta Sans", Inter, sans-serif; letter-spacing: -0.03em; margin: 16px 0 14px; }
h1 em { font-style: normal; background: linear-gradient(90deg, var(--brand), var(--brand2)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero.warm h1 em { background: linear-gradient(90deg, #ff5c8a, #ff8a3d); -webkit-background-clip: text; background-clip: text; }
.lead { font-size: clamp(16px, 2.4vw, 19px); color: var(--ink2); max-width: 640px; margin: 0 0 24px; }
.cta { display: flex; flex-wrap: wrap; gap: 10px; }
.trust { display: flex; flex-wrap: wrap; gap: 8px 16px; margin-top: 22px; color: var(--ink3); font-size: 13.5px; font-weight: 600; }
.trust span::before { content: "✓ "; color: #16a34a; }

/* Sections */
section.block { padding: 56px 0; }
section.block.alt { background: var(--surface); }
h2 { font: 800 clamp(24px, 4vw, 34px)/1.15 "Plus Jakarta Sans", Inter, sans-serif; letter-spacing: -0.02em; margin: 0 0 10px; }
h3 { font: 700 18px/1.3 "Plus Jakarta Sans", Inter, sans-serif; margin: 0 0 6px; }
.sub { color: var(--ink2); margin: 0 0 28px; max-width: 680px; }
p, li { color: var(--ink2); }
.grid { display: grid; gap: 14px; grid-template-columns: 1fr; }
@media (min-width: 640px) { .grid.two { grid-template-columns: 1fr 1fr; } }
@media (min-width: 900px) { .grid.three { grid-template-columns: 1fr 1fr 1fr; } .grid.two.wide { grid-template-columns: 1fr 1fr; } }
@media (min-width: 640px) and (max-width: 899px) { .grid.three { grid-template-columns: 1fr 1fr; } }
.card { background: #fff; border: 1px solid var(--line); border-radius: 20px; padding: 20px; }
.alt .card { box-shadow: 0 1px 2px rgba(15, 18, 34, 0.04); }
.card p { margin: 0; font-size: 15px; }
.icon { width: 42px; height: 42px; border-radius: 13px; display: inline-flex; align-items: center; justify-content: center; font-size: 21px; background: var(--soft); margin-bottom: 12px; }
.steps { counter-reset: step; list-style: none; padding: 0; margin: 0; display: grid; gap: 12px; }
.steps li { counter-increment: step; position: relative; padding: 16px 16px 16px 60px; background: #fff; border: 1px solid var(--line); border-radius: 18px; }
.steps li::before { content: counter(step); position: absolute; left: 16px; top: 16px; width: 30px; height: 30px; border-radius: 50%; background: linear-gradient(135deg, var(--brand), var(--brand2)); color: #fff; font-weight: 800; display: flex; align-items: center; justify-content: center; font-size: 14px; }
.steps b { color: var(--ink); }
.hinglish { background: linear-gradient(135deg, #fff7ed, #fff1f6); border: 1px solid #ffe2d0; border-radius: 20px; padding: 18px 20px; }
.hinglish p { margin: 0; color: #7a3b14; }

/* Tables */
.table { overflow-x: auto; border: 1px solid var(--line); border-radius: 18px; background: #fff; }
table { width: 100%; border-collapse: collapse; font-size: 14.5px; }
th, td { text-align: left; padding: 12px 14px; border-bottom: 1px solid var(--line); vertical-align: top; }
th { background: var(--surface); color: var(--ink); font-weight: 700; }
tr:last-child td { border-bottom: 0; }
td.yes { color: #15803d; font-weight: 700; }
td.no { color: var(--ink3); }
@media (max-width: 560px) {
  table { font-size: 13px; }
  th, td { padding: 10px 9px; }
}

/* FAQ */
details { background: #fff; border: 1px solid var(--line); border-radius: 16px; padding: 4px 18px; margin: 0 0 10px; }
summary { cursor: pointer; font-weight: 700; color: var(--ink); padding: 12px 0; list-style: none; }
summary::-webkit-details-marker { display: none; }
summary::after { content: "+"; float: right; color: var(--brand); font-weight: 800; }
details[open] summary::after { content: "–"; }
details p { margin: 0 0 14px; }

/* Closing call to action */
.final { text-align: center; padding: 56px 16px; background: linear-gradient(135deg, #6a4cff, #b44cff); color: #fff; }
.final h2 { color: #fff; }
.final p { color: rgba(255, 255, 255, 0.88); margin: 0 auto 22px; max-width: 520px; }
.final .btn-ghost { background: #fff; color: var(--brand); }

/* Footer */
footer.site { border-top: 1px solid var(--line); padding: 28px 0 40px; font-size: 14px; color: var(--ink3); }
footer.site .wrap { display: flex; flex-wrap: wrap; gap: 10px 22px; align-items: center; }
footer.site a { color: var(--ink2); text-decoration: none; font-weight: 600; }
footer.site a:hover { color: var(--brand); }
footer.site .note { flex-basis: 100%; font-size: 12.5px; }
.crumbs { font-size: 13px; color: var(--ink3); margin-bottom: 6px; }
.crumbs a { color: var(--ink3); text-decoration: none; }

/* Join-with-a-code box */
.joinbox { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 4px; max-width: 520px; }
.joinbox input[name="room"] { flex: 1 1 220px; min-width: 0; height: 54px; padding: 0 18px; border-radius: 16px; border: 2px solid #ffd6c2; background: #fff; font: 800 20px/1 ui-monospace, SFMono-Regular, Menlo, monospace; letter-spacing: 0.14em; text-transform: uppercase; color: var(--ink); outline: none; }
.joinbox input[name="room"]::placeholder { font: 700 15px/1 Inter, sans-serif; letter-spacing: 0.04em; color: var(--ink3); }
.joinbox input[name="room"]:focus { border-color: #ff8a6a; box-shadow: 0 0 0 4px rgba(255, 122, 89, 0.15); }
.joinbox .btn { height: 54px; padding: 0 22px; border: 0; cursor: pointer; font-family: inherit; }
.sr { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); border: 0; }
