/* X Vault marketing site. Tokens from the Figma "myxvault tokens" collection. */
@font-face{font-family:Poppins;font-weight:400;font-style:normal;font-display:swap;src:url(fonts/Poppins-Regular.woff2) format("woff2")}
@font-face{font-family:Poppins;font-weight:500;font-style:normal;font-display:swap;src:url(fonts/Poppins-Medium.woff2) format("woff2")}
@font-face{font-family:Poppins;font-weight:600;font-style:normal;font-display:swap;src:url(fonts/Poppins-SemiBold.woff2) format("woff2")}
@font-face{font-family:Inter;font-weight:100 900;font-style:normal;font-display:swap;src:url(fonts/Inter-var.woff2) format("woff2")}

:root{
  --navy:#01051E;--a1:#01F5BB;--a2:#01E1C8;--a3:#01BEE0;--a4:#019DFA;--a5:#0087FE;
  --text:#fff;--muted:#B4BBD6;--surface:#0B1230;--surface-2:#121A40;
  --border:#2A3566;--border-input:#6B78B0;--placeholder:#FFD166;
  --grad:linear-gradient(90deg,var(--a1) 0%,var(--a2) 25%,var(--a3) 50%,var(--a4) 75%,var(--a5) 100%);
  --pad:120px;--sec:88px;
  --font:Poppins,system-ui,-apple-system,"Segoe UI",Roboto,sans-serif;
}
*{box-sizing:border-box}
html{scroll-behavior:smooth;-webkit-text-size-adjust:100%}
body{margin:0;background:var(--navy);color:var(--text);font:400 16px/26px var(--font);-webkit-font-smoothing:antialiased}
img,svg{display:block;max-width:100%}
a{color:inherit}
h1,h2,h3,p,ul,ol,dl,dd{margin:0}
ul,ol{padding:0;list-style:none}
:focus-visible{outline:3px solid var(--a2);outline-offset:3px;border-radius:6px}
.skip{position:absolute;left:-9999px;top:8px;background:#fff;color:var(--navy);padding:10px 16px;border-radius:8px;z-index:100;font-weight:600}
.skip:focus{left:8px}
.wrap{padding-left:var(--pad);padding-right:var(--pad);max-width:1440px;margin:0 auto}
.section{border-top:1px solid var(--border);padding-top:var(--sec);padding-bottom:var(--sec)}
.section.first{border-top:0}
.grad-text{background:var(--grad);-webkit-background-clip:text;background-clip:text;color:transparent;-webkit-box-decoration-break:clone;box-decoration-break:clone}
@supports not (background-clip:text){.grad-text{color:var(--a3);background:none}}

/* header */
.site-header{border-bottom:1px solid var(--border);position:relative;z-index:20}
.site-header .wrap{display:flex;align-items:center;justify-content:space-between;height:65px}
.logo{display:inline-flex;align-items:center;gap:16px;text-decoration:none}
.logo img{width:44px;height:44px;border-radius:0}
.logo span{font-weight:500;font-size:22px;line-height:32px;letter-spacing:.24em}
.nav{display:flex;gap:40px}
.nav a{color:var(--text);text-decoration:none;font-weight:500;font-size:16px;padding:8px 0}
.nav a:hover,.nav a[aria-current=page]{color:var(--a2)}
.menu-btn{display:none;width:48px;height:48px;border:0;background:none;color:#fff;align-items:center;justify-content:center;cursor:pointer;border-radius:12px}
.mobile-panel{display:none}

/* buttons */
.btn{display:inline-flex;align-items:center;justify-content:center;gap:8px;min-height:44px;padding:10px 24px;border-radius:999px;font:600 16px/24px var(--font);text-decoration:none;cursor:pointer;border:1.5px solid transparent;white-space:nowrap}
.btn-primary{background:var(--grad);color:var(--navy)}
.btn-primary:hover{filter:brightness(1.08)}
.btn-secondary{background:transparent;color:#fff;border-color:#fff}
.btn-secondary:hover{background:rgba(255,255,255,.1)}
.header-cta{min-height:48px;padding:11px 28px}
.btn.lg{min-height:52px;padding:13px 28px}

/* hero */
.hero{overflow:hidden}
.hero .wrap{display:grid;grid-template-columns:1fr 440px;align-items:center;gap:40px;padding-top:88px;padding-bottom:88px;min-height:880px}
.hero h1{font-weight:600;font-size:64px;line-height:76px;letter-spacing:-.01em;max-width:700px}
.hero .sub{font-size:20px;line-height:32px;color:var(--muted);margin-top:28px;max-width:560px}
.hero .actions{display:flex;gap:16px;margin-top:36px;flex-wrap:wrap}
.hero .note{margin-top:28px;color:var(--muted);font-size:16px}
.phone-wrap{position:relative;display:flex;justify-content:center}
.phone-wrap:before{content:"";position:absolute;inset:-14% -22%;background:radial-gradient(closest-side,rgba(1,190,224,.28),rgba(0,135,254,.12) 55%,transparent 75%);pointer-events:none}

/* phone (xApp preview, Royal theme, illustrative) */
.phone{position:relative;width:340px;border-radius:44px;padding:8px;background:#1A224A;border:2px solid #3A4684;box-shadow:0 0 0 1px #0B1230,0 30px 80px rgba(0,0,0,.5);font-family:Inter,system-ui,sans-serif;color:#fff}
.screen{border-radius:36px;background:#030B36;height:680px;padding:0 14px 14px;display:flex;flex-direction:column;overflow:hidden}
.p-status{padding:14px 6px 8px;font:600 12px/16px Inter,sans-serif}
.p-head{display:flex;justify-content:space-between;align-items:center;padding:8px 6px 14px;font-weight:600;font-size:14px;line-height:20px;border-bottom:1px solid #1A224A;margin:0 -14px 14px;padding-left:20px;padding-right:20px}
.p-acct{display:flex;justify-content:space-between;background:#1A224A;border-radius:10px;padding:10px 12px;font-size:12px;line-height:18px}
.p-acct span:first-child{color:#ACB1C1}
.p-acct span:last-child{font-weight:600}
.p-h{font-weight:600;font-size:17px;line-height:24px;margin:18px 0 12px}
.p-entry{display:flex;align-items:center;justify-content:space-between;background:#1A224A;border-radius:10px;padding:10px 12px;margin-bottom:10px}
.p-entry b{display:block;font-weight:600;font-size:12px;line-height:18px}
.p-entry i{display:block;font-style:normal;color:#ACB1C1;font-size:12px;letter-spacing:.12em;line-height:16px}
.p-act{display:flex;gap:6px}
.p-ico{width:28px;height:28px;border-radius:8px;background:#030B36;display:flex;align-items:center;justify-content:center;color:#fff}
.p-ico svg{width:15px;height:15px}
.p-btn{background:#3052FF;color:#fff;text-align:center;border-radius:8px;padding:9px;font-weight:600;font-size:12px;line-height:18px;margin-top:6px}
.p-foot{margin-top:auto;font-size:12px;line-height:18px;color:#ACB1C1}
.p-foot .links{display:flex;gap:14px;color:#9DB0FF;margin-bottom:6px}

/* sections */
h2{font-weight:600;font-size:40px;line-height:52px}
.grid{display:grid;gap:24px;margin-top:40px}
.g3{grid-template-columns:repeat(3,1fr)}
.g2{grid-template-columns:repeat(2,1fr)}
.card{background:var(--surface);border:1px solid var(--border);border-radius:20px;padding:28px}
.step .num{width:32px;height:32px;border-radius:50%;background:var(--grad);color:var(--navy);display:flex;align-items:center;justify-content:center;font-weight:600;font-size:14px;margin-bottom:24px}
.step h3{font-weight:600;font-size:22px;line-height:32px}
.feat .ico{width:48px;height:48px;border-radius:12px;background:var(--navy);display:flex;align-items:center;justify-content:center;color:var(--a3);margin-bottom:24px}
.feat .ico svg{width:24px;height:24px}
.feat h3,.topic h3{font-weight:600;font-size:20px;line-height:28px}
.feat p{color:var(--muted);margin-top:8px;font-size:15px}
.price .plan{color:var(--muted);font-size:16px;font-weight:500}
.price .amt{margin:16px 0 24px;display:flex;align-items:baseline;gap:10px}
.price .amt b{font-weight:600;font-size:48px;line-height:56px}
.price .amt span{color:var(--muted)}

/* footer */
.site-footer{border-top:1px solid var(--border);padding:48px 0 56px}
.site-footer .row{display:flex;justify-content:space-between;align-items:center}
.site-footer ul{display:flex;gap:32px}
.site-footer ul a{text-decoration:none;font-weight:500;padding:12px 0;display:inline-block}
.site-footer ul a:hover{color:var(--a2)}
.site-footer .indep{margin-top:16px;color:var(--muted);font-size:14px;line-height:22px}

/* inner pages */
.page-head{padding-top:72px;padding-bottom:64px}
.page-head h1{font-weight:600;font-size:56px;line-height:68px}
.page-head .lead{color:var(--muted);font-size:20px;line-height:32px;margin-top:16px}
.tag{display:inline-block;background:var(--placeholder);color:var(--navy);font-weight:600;font-size:11px;line-height:16px;letter-spacing:.04em;padding:2px 10px;border-radius:999px;text-transform:uppercase}
.topic .tag{margin:10px 0 12px}
.topic p,.ph{color:var(--muted);font-size:15px;line-height:24px}
.contact{display:grid;grid-template-columns:1fr 1fr;gap:24px;margin-top:40px;align-items:start}
.contact h3{font-weight:600;font-size:20px;line-height:28px}
.contact dl{margin-top:16px}
.contact dt{font-weight:500;margin-top:18px}
.contact dt:first-of-type{margin-top:12px}
.contact dd{color:var(--muted);font-size:15px}
.contact .tag{margin-top:14px}
.field{margin-top:18px}
.field label{display:block;font-weight:500;font-size:14px;line-height:22px;margin-bottom:6px}
.field input,.field textarea{width:100%;background:var(--navy);color:#fff;border:1.5px solid var(--border-input);border-radius:12px;padding:12px 14px;font:400 15px/22px var(--font)}
.field textarea{min-height:120px;resize:vertical}
.field ::placeholder{color:var(--muted);opacity:1}
.contact form .btn{margin-top:22px}
.banner{display:flex;gap:12px;align-items:center;border:1.5px dashed var(--placeholder);border-radius:12px;padding:12px 16px;margin-top:20px;background:var(--surface)}
.legal-grid{display:grid;grid-template-columns:280px 1fr;gap:56px;align-items:start}
.toc{background:var(--surface);border:1px solid var(--border);border-radius:16px;padding:20px;position:sticky;top:24px}
.toc b{display:block;font-weight:600;font-size:14px;margin-bottom:12px}
.toc li{margin-bottom:10px;font-size:14px;line-height:22px}
.toc a{color:var(--muted);text-decoration:none}
.toc a:hover{color:#fff;text-decoration:underline}
.legal h2{font-size:24px;line-height:32px;margin-bottom:12px;scroll-margin-top:24px}
.legal section{margin-bottom:48px}
.legal section:last-child{margin-bottom:0}
.legal p{color:var(--muted);margin-top:16px;max-width:760px}
.legal .tag{margin-top:0}

@media (max-width:1100px){
  :root{--pad:48px}
  .hero .wrap{grid-template-columns:1fr;min-height:0}
  .legal-grid{grid-template-columns:1fr;gap:32px}
  .toc{position:static}
}
@media (max-width:820px){
  .g3{grid-template-columns:1fr 1fr}
}
@media (max-width:760px){
  :root{--pad:20px;--sec:56px}
  .nav,.header-cta{display:none}
  .menu-btn{display:inline-flex}
  .mobile-panel{position:absolute;left:0;right:0;top:100%;background:var(--surface);border-bottom:1px solid var(--border);padding:8px 20px 20px}
  .mobile-panel[data-open=true]{display:block}
  .mobile-panel a:not(.btn){display:flex;align-items:center;min-height:48px;text-decoration:none;font-weight:500;border-bottom:1px solid var(--border)}
  .mobile-panel .btn{width:100%;margin-top:16px}
  .site-header .wrap{height:64px}
  .logo span{font-size:20px}
  .hero .wrap{padding-top:40px;padding-bottom:56px;gap:32px}
  .hero h1{font-size:40px;line-height:50px}
  .hero .sub{font-size:18px;line-height:28px;margin-top:20px}
  .hero .actions{flex-direction:column;margin-top:28px}
  .hero .actions .btn{width:100%;min-height:52px}
  .hero .note{margin-top:20px}
  h2{font-size:30px;line-height:40px}
  .g3,.g2{grid-template-columns:1fr;gap:16px;margin-top:28px}
  .price .btn{min-height:52px}
  .phone{width:300px}
  .screen{height:600px}
  .site-footer{padding:40px 0}
  .site-footer .row{flex-direction:column;align-items:flex-start;gap:16px}
  .site-footer ul{flex-direction:column;gap:0;width:100%}
  .site-footer ul a{min-height:48px;display:flex;align-items:center;width:100%}
  .page-head{padding-top:40px;padding-bottom:40px}
  .page-head h1{font-size:40px;line-height:50px}
  .page-head .lead{font-size:18px;line-height:28px}
  .contact{grid-template-columns:1fr}
  .legal-grid{gap:24px}
  .legal section{margin-bottom:36px}
  .btn{white-space:normal}
}
@media (prefers-reduced-motion:reduce){html{scroll-behavior:auto}}
