:root {
  --velvet: #3b2b7f;
  --velvet-dark: #281d5d;
  --turquoise: #34c9b6;
  --mint: #bff3eb;
  --blue: #1476ed;
  --ink: #20242a;
  --ink-soft: #59606b;
  --paper: #f7f8fa;
  --white: #fff;
  --line: #dfe3e8;
  --shadow: 0 24px 70px rgba(22, 28, 45, .16);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; color: var(--ink); background: var(--white); font-family: Inter, system-ui, -apple-system, "Segoe UI", sans-serif; }
body.modal-open { overflow: hidden; }
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
button, a { -webkit-tap-highlight-color: transparent; }
.shell { width: min(1120px, calc(100% - 44px)); margin-inline: auto; }
.skip-link { position: fixed; left: 16px; top: -80px; z-index: 200; padding: 12px 18px; background: var(--white); border-radius: 8px; color: var(--velvet); font-weight: 700; }
.skip-link:focus { top: 14px; }

.velvet-header { position: relative; z-index: 50; }
.topbar { background: var(--velvet); color: var(--white); }
.topbar-inner { min-height: 48px; display: flex; align-items: center; gap: 12px; }
.topbar-contact { display: inline-flex; align-items: center; gap: 8px; padding: 7px 14px; border: 1px solid rgba(255,255,255,.23); border-radius: 999px; font-size: 12px; font-weight: 700; }
.social-links { display: flex; align-items: center; gap: 8px; }
.social-links a { width: 30px; height: 30px; display: grid; place-items: center; border: 1px solid rgba(255,255,255,.23); border-radius: 50%; font-size: 12px; font-weight: 800; }
.topbar-brand { margin-left: auto; display: flex; align-items: center; gap: 10px; font-size: 12px; font-weight: 700; letter-spacing: .02em; }
.topbar-brand img { width: 30px; height: 30px; object-fit: contain; filter: grayscale(1) brightness(5); opacity: .72; }
.navbar { background: linear-gradient(105deg, #fff 0%, #ddf7f2 42%, #35c8b7 100%); box-shadow: 0 1px 0 rgba(20,30,40,.08); }
.navbar-inner { min-height: 100px; display: flex; align-items: center; justify-content: space-between; gap: 28px; }
.velvet-lockup { width: min(280px, 36vw); }
.velvet-lockup img { width: 100%; height: auto; }
.main-menu { display: flex; align-items: center; gap: clamp(15px, 2vw, 28px); }
.main-menu a { position: relative; padding: 10px 0; font-family: Oswald, sans-serif; font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: .035em; }
.main-menu a::after { content: ""; position: absolute; left: 0; right: 100%; bottom: 2px; height: 2px; background: var(--ink); transition: right .2s ease; }
.main-menu a:hover::after, .main-menu a:focus-visible::after { right: 0; }
.menu-toggle { display: none; width: 44px; height: 44px; border: 0; border-radius: 8px; background: rgba(255,255,255,.45); padding: 10px; }
.menu-toggle span { display: block; width: 24px; height: 2px; margin: 5px 0; background: var(--ink); transition: transform .2s ease, opacity .2s ease; }

.hero { position: relative; overflow: hidden; background: radial-gradient(circle at 79% 42%, rgba(52,201,182,.15), transparent 24%), var(--ink); color: var(--white); }
.hero::before { content: ""; position: absolute; inset: 0; opacity: .2; background-image: linear-gradient(rgba(255,255,255,.045) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.045) 1px, transparent 1px); background-size: 42px 42px; mask-image: linear-gradient(to right, #000, transparent 76%); }
.hero-grid { position: relative; display: grid; grid-template-columns: minmax(0, .92fr) minmax(440px, 1.08fr); align-items: center; gap: clamp(46px, 6vw, 86px); min-height: 680px; padding-block: 84px; }
.hero-copy { position: relative; z-index: 2; }
.pill { display: inline-flex; margin: 0 0 22px; padding: 8px 14px; border-radius: 6px; background: var(--blue); font-size: 12px; font-weight: 800; }
h1, h2 { margin: 0; letter-spacing: -.045em; line-height: 1.02; }
h1 { font-size: clamp(56px, 6.7vw, 92px); font-weight: 800; }
h1 span, h2 span { color: var(--turquoise); }
.hero-lead { max-width: 660px; margin: 28px 0 34px; color: #b8bec7; font-size: 17px; line-height: 1.7; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.button { min-height: 52px; display: inline-flex; align-items: center; justify-content: center; gap: 24px; border: 0; border-radius: 8px; padding: 0 24px; font: inherit; font-size: 14px; font-weight: 700; cursor: pointer; transition: transform .2s ease, background .2s ease, border-color .2s ease; }
.button:hover { transform: translateY(-2px); }
.button-primary { color: var(--white); background: var(--blue); box-shadow: 0 14px 34px rgba(20,118,237,.22); }
.button-primary:hover { background: #0866d7; }
.button-ghost { color: inherit; background: transparent; border: 1px solid rgba(255,255,255,.35); }
.hero-points { display: flex; flex-wrap: wrap; gap: 12px 24px; list-style: none; margin: 30px 0 0; padding: 0; color: #aeb5bf; font-size: 12px; }
.hero-points li::before { content: "✓"; margin-right: 7px; color: var(--turquoise); font-weight: 800; }
.hero-product { min-height: 470px; position: relative; }
.product-aura { position: absolute; width: 320px; height: 320px; right: 8%; top: 12%; border-radius: 50%; background: var(--turquoise); filter: blur(100px); opacity: .23; }
.browser-card { position: relative; margin: 0; overflow: hidden; border: 7px solid #111318; border-radius: 19px; background: #111318; box-shadow: var(--shadow); }
.browser-card figcaption { height: 32px; display: flex; align-items: center; gap: 6px; padding: 0 12px; background: #111318; }
.browser-card figcaption i { width: 7px; height: 7px; border-radius: 50%; background: #555a64; }
.browser-card figcaption i:first-child { background: var(--turquoise); }
.browser-card figcaption small { margin-left: auto; color: #959ba4; font-size: 9px; font-style: normal; letter-spacing: .04em; }
.browser-card img { width: 100%; height: auto; }
.dashboard-card { position: absolute; width: min(100%, 610px); left: 0; top: 45px; transform: perspective(1000px) rotateY(-6deg) rotateX(2deg); }
.float-card { position: absolute; z-index: 2; display: flex; align-items: center; gap: 11px; padding: 13px 16px; border: 1px solid rgba(255,255,255,.12); border-radius: 12px; background: rgba(39,28,92,.94); box-shadow: 0 18px 44px rgba(0,0,0,.26); font-size: 11px; font-weight: 700; }
.float-card b { width: 32px; height: 32px; display: grid; place-items: center; border-radius: 8px; background: var(--turquoise); color: #102a28; }
.float-card small { display: block; margin-bottom: 3px; color: #c5c1e2; font-size: 8px; letter-spacing: .12em; }
.float-one { top: 8px; left: -18px; }
.float-two { right: -6px; bottom: 24px; }

.trust-strip { color: var(--white); background: var(--velvet); }
.trust-grid { display: grid; grid-template-columns: repeat(4, 1fr); }
.trust-grid div { display: flex; align-items: center; gap: 12px; min-height: 86px; padding: 18px 24px; border-left: 1px solid rgba(255,255,255,.15); }
.trust-grid div:last-child { border-right: 1px solid rgba(255,255,255,.15); }
.trust-grid strong { color: var(--turquoise); font-family: Oswald, sans-serif; font-size: 12px; }
.trust-grid span { font-size: 12px; font-weight: 700; }

.section { padding-block: 110px; }
.light { background: var(--paper); }
.dark { color: var(--white); background: #171a1f; }
.section-heading { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(280px, .65fr); align-items: end; gap: 70px; }
.section-heading h2, .center-heading h2, .showcase h2, .cta h2 { font-size: clamp(42px, 5.2vw, 70px); font-weight: 800; }
.kicker { margin: 0 0 20px; color: var(--velvet); font-family: Oswald, sans-serif; font-size: 12px; font-weight: 700; letter-spacing: .12em; }
.section-heading > p, .showcase-copy > p:not(.kicker), .cta-copy p { margin: 0; color: var(--ink-soft); font-size: 16px; line-height: 1.75; }
.light-heading .kicker { color: var(--turquoise); }
.light-heading > p { color: #aeb4bc; }
.value-grid { display: grid; grid-template-columns: repeat(3, 1fr); margin-top: 72px; border-top: 1px solid #ccd2d9; }
.value-grid article { padding: 35px 36px 12px 0; border-right: 1px solid #ccd2d9; }
.value-grid article + article { padding-left: 36px; }
.value-grid article:last-child { border-right: 0; }
.value-grid b { color: var(--velvet); font-family: Oswald, sans-serif; font-size: 12px; }
.value-grid h3 { margin: 26px 0 14px; font-size: 22px; }
.value-grid p, .feature p, .steps p { margin: 0; color: var(--ink-soft); font-size: 14px; line-height: 1.7; }
.feature-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; margin-top: 68px; background: #34383f; }
.feature { min-height: 225px; padding: 32px; background: #22262c; transition: transform .2s ease, background .2s ease; }
.feature:hover { z-index: 1; transform: translateY(-3px); background: #292e35; }
.feature > span { width: 43px; height: 43px; display: grid; place-items: center; margin-bottom: 26px; border: 1px solid #59606a; border-radius: 50%; font-size: 18px; }
.feature small { color: var(--turquoise); font-size: 8px; font-weight: 800; letter-spacing: .14em; }
.feature h3 { margin: 10px 0 12px; font-size: 20px; }
.feature p { color: #aeb4bc; }
.feature-accent { background: var(--velvet); }
.feature-accent:hover { background: var(--velvet-dark); }
.showcase { display: grid; grid-template-columns: .75fr 1.25fr; align-items: center; gap: clamp(45px, 6vw, 84px); padding: clamp(35px, 5vw, 65px); border-radius: 26px; background: linear-gradient(130deg, #e8e6f3, #d9f5f0); }
.showcase h2 { font-size: clamp(36px, 4vw, 56px); }
.showcase-copy > p:not(.kicker) { margin: 24px 0 28px; }
.text-link { display: inline-flex; align-items: center; gap: 28px; color: var(--velvet); font-size: 14px; font-weight: 800; }
.login-card { transform: rotate(1deg); }
.process { background: var(--white); }
.center-heading { text-align: center; }
.steps { max-width: 920px; margin: 66px auto 0; }
.steps article { display: grid; grid-template-columns: 64px 1fr; align-items: start; gap: 24px; padding: 30px 0; border-top: 1px solid var(--line); }
.steps article:last-child { border-bottom: 1px solid var(--line); }
.steps b { width: 52px; height: 52px; display: grid; place-items: center; border-radius: 50%; color: var(--white); background: var(--velvet); font-family: Oswald, sans-serif; font-size: 13px; }
.steps h3 { margin: 2px 0 9px; font-size: 23px; }
.cta { padding-block: 92px; color: var(--white); background: var(--velvet); }
.cta-grid { display: grid; grid-template-columns: 1.15fr .85fr; align-items: end; gap: 80px; }
.cta .kicker, .cta h2 span { color: var(--turquoise); }
.cta-copy p { color: #d4d1e7; }
.button-white { margin-top: 22px; color: var(--velvet); background: var(--white); }

.velvet-footer { padding-block: 28px 38px; background: linear-gradient(105deg, #2fc5b1 0%, #dff8f4 53%, #fff 100%); color: #273138; font-size: 12px; }
.footer-top { display: flex; justify-content: space-between; gap: 28px; padding-bottom: 23px; border-bottom: 1px solid rgba(32,36,42,.16); }
.footer-top p { margin: 0; }
.footer-top nav { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 8px 18px; }
.velvet-footer a { text-decoration: underline; text-underline-offset: 2px; }
.footer-columns { display: grid; grid-template-columns: 1.65fr .8fr .8fr; gap: 36px; padding-top: 22px; }
.footer-columns > div { display: flex; flex-wrap: wrap; align-items: center; gap: 9px 18px; }
.footer-columns span { width: 100%; color: #5c6a70; font-size: 10px; }

.redirect-modal { width: min(540px, calc(100% - 32px)); padding: 38px; border: 0; border-radius: 18px; color: var(--ink); box-shadow: 0 30px 100px rgba(20,24,36,.35); }
.redirect-modal::backdrop { background: rgba(19,21,27,.76); backdrop-filter: blur(6px); }
.redirect-modal[open] { animation: modal-in .2s ease-out; }
.modal-close { position: absolute; top: 14px; right: 16px; width: 36px; height: 36px; border: 0; border-radius: 50%; color: #5f6670; background: #eef0f3; font-size: 22px; cursor: pointer; }
.modal-icon { width: 48px; height: 48px; display: grid; place-items: center; margin-bottom: 24px; border-radius: 13px; color: var(--white); background: var(--velvet); font-size: 20px; }
.redirect-modal .kicker { margin-bottom: 10px; }
.redirect-modal h2 { font-size: 30px; }
.redirect-modal > p:not(.kicker) { margin: 17px 0 26px; color: var(--ink-soft); line-height: 1.65; }
.modal-actions { display: flex; justify-content: flex-end; gap: 10px; }
.modal-actions .button-ghost { color: var(--ink); border-color: var(--line); }

.reveal { opacity: 0; transform: translateY(24px); transition: opacity .65s ease, transform .65s ease; }
.reveal.visible { opacity: 1; transform: translateY(0); }
.reveal-delay { transition-delay: .12s; }
@keyframes modal-in { from { opacity: 0; transform: translateY(12px) scale(.98); } }

@media (max-width: 980px) {
  .navbar-inner { min-height: 84px; }
  .menu-toggle { display: block; }
  .main-menu { position: absolute; display: none; flex-direction: column; align-items: stretch; left: 0; right: 0; top: 132px; padding: 18px 22px 24px; background: #e8f8f5; box-shadow: 0 16px 35px rgba(20,30,40,.14); }
  .main-menu.open { display: flex; }
  .main-menu a { padding: 9px 0; }
  .menu-toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .menu-toggle.open span:nth-child(2) { opacity: 0; }
  .menu-toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
  .hero-grid { grid-template-columns: 1fr; min-height: auto; padding-block: 75px 88px; }
  .hero-copy { max-width: 760px; }
  .hero-product { width: min(100%, 700px); min-height: 470px; margin-inline: auto; }
  .section-heading { grid-template-columns: 1fr; gap: 28px; }
  .feature-grid { grid-template-columns: repeat(2, 1fr); }
  .showcase { grid-template-columns: 1fr; }
  .cta-grid { grid-template-columns: 1fr; gap: 38px; }
  .footer-top { flex-direction: column; }
  .footer-top nav { justify-content: flex-start; }
}

@media (max-width: 680px) {
  .shell { width: min(100% - 32px, 1120px); }
  .topbar-inner { min-height: 44px; }
  .topbar-brand span { display: none; }
  .topbar-contact { padding: 6px 10px; font-size: 11px; }
  .social-links a { width: 28px; height: 28px; }
  .navbar-inner { min-height: 76px; }
  .velvet-lockup { width: 210px; max-width: calc(100% - 64px); }
  .main-menu { top: 120px; }
  .hero-grid { padding-block: 60px 70px; }
  h1 { font-size: clamp(50px, 16vw, 72px); }
  .hero-lead { font-size: 16px; }
  .hero-actions .button { width: 100%; }
  .hero-product { min-height: 340px; }
  .dashboard-card { top: 34px; border-width: 5px; transform: none; }
  .float-card { padding: 9px 11px; }
  .float-card b { width: 28px; height: 28px; }
  .float-one { left: -7px; }
  .float-two { right: -4px; bottom: 0; }
  .trust-grid { grid-template-columns: repeat(2, 1fr); }
  .trust-grid div:nth-child(3), .trust-grid div:nth-child(4) { border-top: 1px solid rgba(255,255,255,.15); }
  .section { padding-block: 74px; }
  .section-heading h2, .center-heading h2, .cta h2 { font-size: 42px; }
  .value-grid { grid-template-columns: 1fr; margin-top: 48px; }
  .value-grid article, .value-grid article + article { padding: 27px 0; border-right: 0; border-bottom: 1px solid #ccd2d9; }
  .feature-grid { grid-template-columns: 1fr; margin-top: 46px; }
  .feature { min-height: auto; padding: 27px 24px; }
  .showcase { width: calc(100% - 24px); padding: 28px 18px; border-radius: 18px; }
  .showcase h2 { font-size: 37px; }
  .login-card { border-width: 4px; transform: none; }
  .steps { margin-top: 44px; }
  .steps article { grid-template-columns: 54px 1fr; gap: 14px; }
  .steps b { width: 46px; height: 46px; }
  .cta { padding-block: 72px; }
  .footer-columns { grid-template-columns: 1fr; }
  .redirect-modal { padding: 32px 22px 24px; }
  .redirect-modal h2 { font-size: 26px; }
  .modal-actions { flex-direction: column-reverse; }
  .modal-actions .button { width: 100%; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { scroll-behavior: auto !important; transition: none !important; animation: none !important; }
  .reveal { opacity: 1; transform: none; }
}
