/* MSRX Drive — drive.msrx.co.in. System fonts only; no third-party requests (strict CSP). */
:root {
  --bg: #f6f7fb;
  --surface: #ffffff;
  --surface-2: #eef0f6;
  --text: #0b0b14;
  --muted: #555566;
  --faint: #8a8a9a;
  --border: #e2e4ec;
  --teal: #00a7b8;
  --blue: #2f6bff;
  --purple: #7a45f0;
  --link: #2457d6;
  --grad: linear-gradient(120deg, #00c7d9 0%, #3a7bff 50%, #9b4dff 100%);
  --shadow: 0 1px 2px rgba(20, 20, 50, .05), 0 8px 28px rgba(40, 40, 110, .08);
  --radius: 18px;
}
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #0d0d14;
    --surface: #16161f;
    --surface-2: #1d1d28;
    --text: #f2f2f7;
    --muted: #b0b0c0;
    --faint: #7c7c8e;
    --border: #2a2a37;
    --link: #7fa6ff;
    --shadow: 0 1px 2px rgba(0, 0, 0, .3), 0 10px 30px rgba(0, 0, 0, .35);
  }
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { -webkit-text-size-adjust: 100%; }
body {
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
a { color: var(--link); text-decoration: none; }
a:hover { text-decoration: underline; }
img { max-width: 100%; display: block; }
.wrap { max-width: 1080px; margin: 0 auto; padding: 0 24px; }
.skip { position: absolute; left: -9999px; }
.skip:focus { left: 16px; top: 16px; background: var(--surface); padding: 8px 12px; border-radius: 8px; z-index: 10; }

/* Header */
.top {
  position: sticky; top: 0; z-index: 5;
  background: color-mix(in srgb, var(--bg) 82%, transparent);
  backdrop-filter: saturate(160%) blur(14px);
  -webkit-backdrop-filter: saturate(160%) blur(14px);
  border-bottom: 1px solid var(--border);
}
.top .wrap { display: flex; align-items: center; justify-content: space-between; height: 60px; }
.brand { display: flex; align-items: center; gap: 10px; color: var(--text); font-weight: 700; font-size: 16px; letter-spacing: -.01em; }
.brand img { width: 30px; height: 30px; }
.brand:hover { text-decoration: none; }
.nav { display: flex; gap: 22px; font-size: 14px; }
.nav a { color: var(--muted); }
.nav a:hover { color: var(--text); text-decoration: none; }

/* Hero */
.hero { text-align: center; padding: 88px 0 72px; position: relative; overflow: hidden; }
.hero::before {
  content: ""; position: absolute; inset: -40% -10% auto; height: 520px;
  background: radial-gradient(closest-side, rgba(58, 123, 255, .18), transparent 70%),
              radial-gradient(closest-side, rgba(155, 77, 255, .14), transparent 70%) 30% 20% / 60% 80% no-repeat;
  pointer-events: none;
}
.hero > * { position: relative; }
.hero-icon { width: 132px; height: 132px; margin: 0 auto 28px; filter: drop-shadow(0 18px 30px rgba(58, 90, 255, .28)); }
.eyebrow { display: inline-block; font-size: 12px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--faint); margin-bottom: 14px; }
h1 { font-size: clamp(40px, 6.4vw, 68px); line-height: 1.04; letter-spacing: -.035em; font-weight: 800; }
.grad { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.lede { max-width: 620px; margin: 22px auto 0; font-size: clamp(17px, 2vw, 20px); color: var(--muted); }
.cta { margin-top: 34px; display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }
.btn {
  display: inline-flex; align-items: center; gap: 8px; height: 46px; padding: 0 22px;
  border-radius: 999px; font-weight: 600; font-size: 15px; border: 1px solid transparent;
}
.btn:hover { text-decoration: none; }
.btn-primary { background: var(--grad); color: #fff; box-shadow: 0 10px 24px rgba(58, 100, 255, .28); }
.btn-ghost { background: var(--surface); color: var(--text); border-color: var(--border); }
.btn-soon { cursor: default; opacity: .92; }
.note { margin-top: 14px; font-size: 13px; color: var(--faint); }

/* Sections */
section { padding: 72px 0; }
.section-head { text-align: center; max-width: 640px; margin: 0 auto 44px; }
h2 { font-size: clamp(28px, 3.6vw, 40px); letter-spacing: -.025em; line-height: 1.15; font-weight: 750; }
.section-head p { color: var(--muted); margin-top: 12px; font-size: 17px; }

.grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
@media (max-width: 860px) { .grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .grid { grid-template-columns: 1fr; } .nav { display: none; } }
.card {
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius);
  padding: 24px; box-shadow: var(--shadow);
}
.card h3 { font-size: 17px; margin: 14px 0 6px; letter-spacing: -.01em; }
.card p { color: var(--muted); font-size: 15px; }
.glyph {
  width: 40px; height: 40px; border-radius: 11px; display: grid; place-items: center;
  background: var(--surface-2); color: var(--blue);
}
.glyph svg { width: 22px; height: 22px; }

.split { display: grid; grid-template-columns: 1.1fr 1fr; gap: 40px; align-items: center; }
@media (max-width: 860px) { .split { grid-template-columns: 1fr; } }
.checks { list-style: none; display: grid; gap: 14px; margin-top: 22px; }
.checks li { display: flex; gap: 12px; color: var(--muted); }
.checks li::before {
  content: ""; flex: 0 0 20px; height: 20px; margin-top: 2px; border-radius: 50%;
  background: var(--grad);
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M10 0a10 10 0 1 0 0 20A10 10 0 0 0 10 0Zm-1.3 14.2-4-4 1.4-1.4 2.6 2.6 5.6-5.6 1.4 1.4-7 7Z'/%3E%3C/svg%3E") center / contain no-repeat;
          mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M10 0a10 10 0 1 0 0 20A10 10 0 0 0 10 0Zm-1.3 14.2-4-4 1.4-1.4 2.6 2.6 5.6-5.6 1.4 1.4-7 7Z'/%3E%3C/svg%3E") center / contain no-repeat;
}
.panel {
  background: var(--surface); border: 1px solid var(--border); border-radius: 22px;
  padding: 28px; box-shadow: var(--shadow);
}
.flow { display: grid; gap: 14px; }
.flow div { display: flex; gap: 14px; align-items: flex-start; }
.flow b {
  flex: 0 0 28px; height: 28px; border-radius: 50%; display: grid; place-items: center;
  font-size: 13px; color: #fff; background: var(--grad);
}
.flow span { color: var(--muted); font-size: 15px; }

.kbd-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px 28px; max-width: 720px; margin: 0 auto; }
@media (max-width: 560px) { .kbd-grid { grid-template-columns: 1fr; } }
.kbd-row { display: flex; justify-content: space-between; gap: 16px; padding: 12px 0; border-bottom: 1px solid var(--border); font-size: 15px; color: var(--muted); }
kbd {
  font: 600 12px/1 ui-monospace, "SF Mono", Menlo, monospace; color: var(--text);
  background: var(--surface); border: 1px solid var(--border); border-bottom-width: 2px;
  border-radius: 6px; padding: 5px 8px; white-space: nowrap;
}

details { background: var(--surface); border: 1px solid var(--border); border-radius: 14px; padding: 18px 20px; }
details + details { margin-top: 10px; }
summary { cursor: pointer; font-weight: 600; list-style: none; }
summary::-webkit-details-marker { display: none; }
summary::after { content: "+"; float: right; color: var(--faint); font-weight: 400; }
details[open] summary::after { content: "–"; }
details p { color: var(--muted); margin-top: 10px; font-size: 15px; }
.faq { max-width: 760px; margin: 0 auto; }

/* Legal pages */
.doc { max-width: 760px; margin: 0 auto; padding: 64px 24px 88px; }
.doc h1 { font-size: clamp(34px, 5vw, 48px); }
.doc .updated { color: var(--faint); margin: 10px 0 32px; font-size: 14px; }
.doc h2 { font-size: 22px; margin: 36px 0 10px; }
.doc p, .doc li { color: var(--muted); font-size: 16px; }
.doc p + p { margin-top: 12px; }
.doc ul { padding-left: 22px; margin-top: 10px; display: grid; gap: 6px; }
.doc .callout { background: var(--surface); border: 1px solid var(--border); border-radius: 14px; padding: 18px 20px; margin: 22px 0; color: var(--text); }
.doc strong { color: var(--text); }

/* Footer */
footer { border-top: 1px solid var(--border); padding: 44px 0 52px; }
.foot { display: flex; gap: 28px; align-items: center; justify-content: space-between; flex-wrap: wrap; }
.msrx { display: flex; gap: 14px; align-items: center; }
.msrx img { width: 56px; height: 56px; border-radius: 14px; }
.msrx small { display: block; color: var(--faint); font-size: 11px; letter-spacing: .16em; }
.msrx strong { font-size: 15px; }
.links { display: flex; gap: 20px; flex-wrap: wrap; font-size: 14px; }
.links a { color: var(--muted); }
.fine { margin-top: 26px; color: var(--faint); font-size: 12.5px; max-width: 760px; }
