:root {
  --ink: #07111f;
  --ink-soft: #465366;
  --paper: #f7f8f5;
  --white: #ffffff;
  --line: rgba(7, 17, 31, 0.12);
  --cyan: #16c1d4;
  --blue: #2864ff;
  --violet: #7557f7;
  --green: #72d7a2;
  --radius: 24px;
  --shadow: 0 24px 80px rgba(18, 43, 70, 0.12);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; }
img { display: block; max-width: 100%; }
.shell { width: min(1160px, calc(100% - 40px)); margin-inline: auto; }
.skip-link { position: fixed; left: 16px; top: -80px; z-index: 100; padding: 10px 16px; color: var(--white); background: var(--ink); border-radius: 10px; }
.skip-link:focus { top: 12px; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  border-bottom: 1px solid rgba(7, 17, 31, 0.07);
  background: rgba(247, 248, 245, 0.88);
  backdrop-filter: blur(18px);
}
.nav-wrap { min-height: 76px; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand { display: inline-flex; align-items: center; gap: 11px; color: var(--ink); text-decoration: none; font-size: 1.05rem; font-weight: 760; letter-spacing: -0.02em; }
.brand img { border-radius: 12px; box-shadow: 0 7px 20px rgba(55, 72, 210, 0.18); }
nav { display: flex; align-items: center; gap: 28px; }
nav a { color: #394456; text-decoration: none; font-size: 0.9rem; font-weight: 590; transition: color .2s ease; }
nav a:hover, nav a[aria-current="page"] { color: var(--blue); }
.nav-support { padding: 8px 15px; color: var(--ink) !important; border: 1px solid var(--line); border-radius: 999px; background: rgba(255, 255, 255, 0.7); }

.hero { min-height: 690px; display: grid; grid-template-columns: 1.08fr .92fr; gap: 48px; align-items: center; padding-block: 92px 108px; }
.eyebrow { margin: 0 0 20px; display: flex; align-items: center; gap: 10px; color: #445166; font-size: .75rem; font-weight: 760; letter-spacing: .16em; text-transform: uppercase; }
.eyebrow span { width: 25px; height: 2px; background: linear-gradient(90deg, var(--blue), var(--cyan)); }
.hero h1, .section-heading h2, .cloud-section h2, .privacy-section h2, .cta-section h2, .legal-hero h1, .error-page h1 {
  margin: 0;
  font-weight: 770;
  line-height: .98;
  letter-spacing: -.055em;
}
.hero h1 { max-width: 680px; font-size: clamp(3.8rem, 7.2vw, 6.8rem); }
.hero h1 em { font-style: normal; color: var(--blue); }
.hero-lede { max-width: 600px; margin: 30px 0; color: var(--ink-soft); font-size: clamp(1.05rem, 1.8vw, 1.3rem); line-height: 1.6; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.button { min-height: 48px; padding: 12px 20px; display: inline-flex; align-items: center; justify-content: center; border-radius: 999px; text-decoration: none; font-weight: 700; font-size: .92rem; transition: transform .2s ease, box-shadow .2s ease; }
.button:hover { transform: translateY(-2px); }
.button-primary { color: var(--white); background: var(--ink); box-shadow: 0 12px 30px rgba(7, 17, 31, .2); }
.button-secondary { border: 1px solid var(--line); background: rgba(255,255,255,.7); }
.trust-list { display: flex; flex-wrap: wrap; gap: 18px; padding: 0; margin: 32px 0 0; list-style: none; color: #586376; font-size: .79rem; font-weight: 600; }
.trust-list li::before { content: "✓"; margin-right: 6px; color: #20a46d; font-weight: 800; }

.hero-art { position: relative; min-height: 500px; display: grid; place-items: center; }
.orb { position: absolute; border-radius: 50%; filter: blur(1px); }
.orb-one { width: 370px; height: 370px; background: radial-gradient(circle at 30% 30%, #88f3ef, #516cf4 55%, #a13cf3); opacity: .83; }
.orb-two { width: 260px; height: 260px; right: -25px; top: 20px; background: #8aeecc; opacity: .36; filter: blur(55px); }
.device-card { position: relative; z-index: 2; width: min(340px, 82vw); padding: 18px 22px 24px; color: var(--white); border: 1px solid rgba(255,255,255,.33); border-radius: 36px; background: linear-gradient(150deg, rgba(8,19,41,.95), rgba(19,38,75,.86)); box-shadow: 0 36px 90px rgba(11, 25, 68, .38); transform: rotate(2deg); }
.device-top { height: 30px; display: flex; justify-content: space-between; }
.device-top span:first-child { width: 46px; height: 6px; border-radius: 6px; background: rgba(255,255,255,.25); }
.device-top span:last-child { width: 8px; height: 8px; border-radius: 50%; background: var(--green); }
.score-ring { width: 178px; height: 178px; margin: 14px auto 30px; padding: 12px; display: grid; place-items: center; border-radius: 50%; background: conic-gradient(var(--cyan) 0 73%, #7664ff 73% 92%, rgba(255,255,255,.12) 92%); }
.score-ring::before { content: ""; position: absolute; width: 144px; height: 144px; border-radius: 50%; background: #10213f; }
.score-ring div { position: relative; z-index: 1; display: flex; flex-direction: column; align-items: center; }
.score-ring strong { font-size: 3.3rem; line-height: 1; letter-spacing: -.06em; }
.score-ring small { margin-top: 6px; color: #a9bad4; }
.space-row { display: flex; justify-content: space-between; font-size: .82rem; }
.space-row span { color: #9fb0c9; }
.meter { height: 7px; margin: 10px 0 18px; overflow: hidden; border-radius: 10px; background: rgba(255,255,255,.1); }
.meter span { display: block; width: 70%; height: 100%; border-radius: inherit; background: linear-gradient(90deg, var(--cyan), #8367ff); }
.mini-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.mini-grid div { padding: 10px 6px; text-align: center; border-radius: 12px; background: rgba(255,255,255,.06); }
.mini-grid b, .mini-grid span { display: block; }
.mini-grid span { margin-top: 2px; color: #9fb0c9; font-size: .64rem; }
.privacy-chip { position: absolute; z-index: 3; right: 0; bottom: 45px; padding: 12px 16px; color: #0c4d3c; border: 1px solid rgba(40,132,98,.16); border-radius: 14px; background: rgba(232, 255, 244, .94); box-shadow: var(--shadow); font-size: .76rem; font-weight: 700; }

.proof-strip { border-block: 1px solid var(--line); background: rgba(255,255,255,.55); }
.proof-grid { display: grid; grid-template-columns: repeat(3, 1fr); }
.proof-grid p { margin: 0; padding: 30px 34px; border-right: 1px solid var(--line); }
.proof-grid p:first-child { padding-left: 0; }
.proof-grid p:last-child { border-right: 0; }
.proof-grid strong, .proof-grid span { display: block; }
.proof-grid strong { margin-bottom: 3px; font-size: .88rem; }
.proof-grid span { color: var(--ink-soft); font-size: .78rem; }

.section { padding-block: 120px; }
.section-heading { max-width: 760px; margin-bottom: 58px; }
.section-heading h2, .cloud-section h2, .privacy-section h2, .cta-section h2 { font-size: clamp(2.6rem, 5vw, 4.7rem); }
.section-heading > p:last-child { max-width: 650px; margin: 28px 0 0; color: var(--ink-soft); font-size: 1.08rem; }
.feature-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.feature-card { min-height: 300px; padding: 28px; position: relative; overflow: hidden; border: 1px solid var(--line); border-radius: var(--radius); background: rgba(255,255,255,.8); }
.feature-wide { grid-column: span 2; display: grid; grid-template-columns: 1fr 1fr; gap: 25px; }
.feature-number { color: var(--blue); font-size: .72rem; font-weight: 780; letter-spacing: .12em; }
.feature-card h3 { margin: 35px 0 13px; font-size: 1.55rem; line-height: 1.15; letter-spacing: -.035em; }
.feature-card p { max-width: 440px; margin: 0; color: var(--ink-soft); font-size: .92rem; }
.accent-card { color: var(--white); border-color: transparent; background: linear-gradient(145deg, #2c67f3, #7656e7); }
.accent-card .feature-number, .accent-card p { color: rgba(255,255,255,.75); }
.stack-visual { align-self: center; height: 170px; position: relative; }
.stack-visual span { position: absolute; width: 130px; height: 155px; border: 8px solid var(--white); border-radius: 22px; box-shadow: 0 16px 35px rgba(41,62,96,.18); }
.stack-visual span:nth-child(1) { left: 20px; transform: rotate(-12deg); background: linear-gradient(150deg, #ffcf64, #ff7e66); }
.stack-visual span:nth-child(2) { left: 74px; transform: rotate(3deg); background: linear-gradient(150deg, #70ded3, #4a78ea); }
.stack-visual span:nth-child(3) { left: 128px; transform: rotate(15deg); background: linear-gradient(150deg, #a990ff, #5747ce); }

.cloud-section { padding-block: 120px; color: var(--white); background: var(--ink); }
.cloud-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: center; }
.eyebrow-light { color: #adbbce; }
.cloud-section p:not(.eyebrow) { max-width: 590px; color: #b4c0d1; }
.cloud-section h2 { max-width: 650px; margin-bottom: 26px; }
.text-link { display: inline-flex; gap: 10px; margin-top: 17px; color: var(--white); text-underline-offset: 5px; font-weight: 700; }
.flow { display: flex; align-items: center; justify-content: center; }
.flow-node { width: 168px; min-height: 176px; padding: 22px 15px; display: flex; flex-direction: column; justify-content: center; text-align: center; border: 1px solid rgba(255,255,255,.15); border-radius: 22px; background: rgba(255,255,255,.06); }
.flow-icon { font-size: 2rem; color: #6ee0dc; }
.flow-node strong { margin: 9px 0 2px; }
.flow-node small { color: #a3b2c7; }
.flow-line { width: 110px; height: 1px; position: relative; background: linear-gradient(90deg, #35cfcd, #7668f3); }
.flow-line::after { content: "›"; position: absolute; right: -2px; top: -18px; color: #7e71f8; font-size: 1.5rem; }
.flow-line span { position: absolute; width: 110px; top: -28px; color: #8190a6; text-align: center; font-size: .61rem; }

.privacy-section { display: grid; grid-template-columns: .25fr .95fr 1fr; gap: 44px; align-items: start; }
.privacy-mark { color: var(--blue); font-size: 4rem; line-height: 1; }
.privacy-points { display: grid; grid-template-columns: 1fr 1fr; gap: 30px; }
.privacy-points p { margin: 0; }
.privacy-points strong, .privacy-points span { display: block; }
.privacy-points strong { margin-bottom: 7px; font-size: .9rem; }
.privacy-points span { color: var(--ink-soft); font-size: .82rem; }
.cta-section { margin-bottom: 90px; padding: 65px; display: flex; justify-content: space-between; align-items: end; gap: 40px; color: var(--white); border-radius: 32px; background: linear-gradient(135deg, #1a5be9, #604ee4 55%, #9c43da); }
.cta-section h2 { max-width: 680px; }
.cta-section > p { max-width: 330px; margin: 0; color: rgba(255,255,255,.78); }

.site-footer { padding: 62px 0 30px; color: #b6c2d1; background: #050d18; }
.footer-grid { display: grid; grid-template-columns: 1fr 1.4fr 1.3fr; gap: 28px; align-items: center; }
.footer-brand { color: var(--white); }
.footer-grid > p { margin: 0; font-size: .82rem; }
.footer-links { display: flex; justify-content: flex-end; gap: 22px; }
.footer-links a { color: #d2d9e4; font-size: .82rem; text-underline-offset: 4px; }
.copyright { grid-column: 1 / -1; padding-top: 27px; border-top: 1px solid rgba(255,255,255,.1); color: #77869a; }

.legal-main { padding-bottom: 120px; }
.legal-hero { padding-block: 92px 76px; border-bottom: 1px solid var(--line); }
.legal-hero h1 { font-size: clamp(3.4rem, 7vw, 6.3rem); }
.legal-intro { max-width: 760px; margin: 28px 0 20px; color: var(--ink-soft); font-size: 1.2rem; }
.effective-date { color: #687487; font-size: .78rem; font-weight: 650; letter-spacing: .03em; }
.legal-layout { display: grid; grid-template-columns: 220px minmax(0, 760px); gap: 78px; align-items: start; padding-top: 76px; }
.legal-toc { position: sticky; top: 110px; display: flex; flex-direction: column; gap: 10px; }
.legal-toc strong { margin-bottom: 8px; font-size: .74rem; letter-spacing: .13em; text-transform: uppercase; }
.legal-toc a { color: #5e697b; text-decoration: none; font-size: .8rem; }
.legal-toc a:hover { color: var(--blue); }
.legal-copy > p:first-child { margin-top: 0; color: var(--ink-soft); font-size: 1.06rem; }
.legal-copy section { padding: 20px 0 38px; scroll-margin-top: 105px; }
.legal-copy h2 { margin: 0 0 18px; font-size: 1.8rem; line-height: 1.18; letter-spacing: -.035em; }
.legal-copy p, .legal-copy li { color: #445064; }
.legal-copy a { color: #1558d8; text-underline-offset: 4px; }
.legal-copy li + li { margin-top: 8px; }
.legal-copy code { padding: 2px 6px; border: 1px solid var(--line); border-radius: 6px; background: rgba(255,255,255,.7); font-size: .86em; }
.legal-callout { margin: 22px 0; padding: 23px 25px; color: #123b32; border: 1px solid rgba(59,151,117,.19); border-radius: 16px; background: #e9f8f1; font-weight: 710; }
.compact-footer { margin-top: 0; }

.support-grid { padding-block: 76px 120px; display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; }
.support-card { padding: 32px; border: 1px solid var(--line); border-radius: var(--radius); background: rgba(255,255,255,.8); }
.support-card h2 { margin: 28px 0 12px; font-size: 1.6rem; line-height: 1.2; letter-spacing: -.035em; }
.support-card p:not(.feature-number) { color: var(--ink-soft); }
.support-contact { grid-column: 1 / -1; }
.support-contact .button { margin-top: 10px; }
.support-contact small { max-width: 720px; margin-top: 20px; display: block; color: #667286; }

.error-page { min-height: 100vh; display: grid; place-items: center; text-align: center; }
.error-page main { padding: 40px 20px; }
.error-page img { margin: 0 auto 28px; border-radius: 18px; box-shadow: var(--shadow); }
.error-page .eyebrow { justify-content: center; }
.error-page h1 { font-size: clamp(2.5rem, 6vw, 5rem); }
.error-page main > p:not(.eyebrow) { margin-bottom: 28px; color: var(--ink-soft); }

@media (max-width: 900px) {
  .hero { grid-template-columns: 1fr; padding-top: 70px; }
  .hero-copy { position: relative; z-index: 3; }
  .hero-art { min-height: 460px; }
  .feature-grid { grid-template-columns: 1fr 1fr; }
  .feature-wide { grid-column: span 2; }
  .cloud-grid { grid-template-columns: 1fr; }
  .privacy-section { grid-template-columns: .15fr 1fr; }
  .privacy-points { grid-column: 2; }
  .cta-section { align-items: start; flex-direction: column; }
  .legal-layout { grid-template-columns: 180px minmax(0, 1fr); gap: 42px; }
}

@media (max-width: 680px) {
  .shell { width: min(100% - 28px, 1160px); }
  .nav-wrap { min-height: 68px; }
  .brand img { width: 38px; height: 38px; }
  nav { gap: 14px; }
  nav a { font-size: .78rem; }
  nav .nav-support { display: none; }
  .hero { padding-block: 64px 76px; }
  .hero h1 { font-size: clamp(3.2rem, 16vw, 5rem); }
  .hero-art { min-height: 410px; }
  .orb-one { width: 290px; height: 290px; }
  .privacy-chip { right: 6px; bottom: 20px; }
  .proof-grid { grid-template-columns: 1fr; }
  .proof-grid p, .proof-grid p:first-child { padding: 20px 0; border-right: 0; border-bottom: 1px solid var(--line); }
  .proof-grid p:last-child { border-bottom: 0; }
  .section { padding-block: 82px; }
  .feature-grid { grid-template-columns: 1fr; }
  .feature-wide { grid-column: auto; grid-template-columns: 1fr; }
  .stack-visual { display: none; }
  .feature-card { min-height: 250px; }
  .cloud-section { padding-block: 82px; }
  .flow { transform: scale(.82); margin-inline: -40px; }
  .privacy-section { grid-template-columns: 1fr; gap: 25px; }
  .privacy-mark { display: none; }
  .privacy-points { grid-column: auto; grid-template-columns: 1fr; }
  .cta-section { width: 100%; margin-bottom: 0; padding: 70px 28px; border-radius: 0; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-links { justify-content: flex-start; flex-wrap: wrap; }
  .legal-hero { padding-block: 66px 55px; }
  .legal-layout { grid-template-columns: 1fr; padding-top: 48px; }
  .legal-toc { display: none; }
  .support-grid { grid-template-columns: 1fr; padding-block: 48px 82px; }
  .support-contact { grid-column: auto; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; }
}
