:root {
  color-scheme: light;
  --ink: #16213a;
  --muted: #5d6880;
  --line: #dfe6f2;
  --paper: #ffffff;
  --wash: #f5f8ff;
  --blue: #1268f3;
  --violet: #5634f5;
  --cyan: #09b8ec;
  --coral: #ff7c62;
  --shadow: 0 18px 48px rgba(23, 61, 128, 0.12);
  --radius: 22px;
  --navy: #07162f;
  --lime: #b9f65a;
  --soft-blue: #eaf3ff;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  color: var(--ink);
  background:
    radial-gradient(circle at 8% -4%, rgba(86, 52, 245, 0.13), transparent 28rem),
    radial-gradient(circle at 94% 8%, rgba(9, 184, 236, 0.15), transparent 30rem),
    linear-gradient(180deg, #f9fbff 0%, var(--paper) 34rem);
  font-size: 17px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

body::before {
  content: "";
  position: fixed;
  z-index: -1;
  inset: 0;
  background-image: linear-gradient(rgba(21, 76, 145, 0.035) 1px, transparent 1px), linear-gradient(90deg, rgba(21, 76, 145, 0.035) 1px, transparent 1px);
  background-size: 32px 32px;
  mask-image: linear-gradient(to bottom, #000, transparent 65%);
}

a { color: #075fdb; text-underline-offset: 0.18em; }
a:hover { color: #3f24cb; }
a:focus-visible, button:focus-visible { outline: 3px solid var(--coral); outline-offset: 4px; border-radius: 6px; }

.skip-link {
  position: fixed;
  z-index: 100;
  left: 1rem;
  top: -5rem;
  padding: 0.7rem 1rem;
  color: #fff;
  background: var(--ink);
  border-radius: 10px;
}
.skip-link:focus { top: 1rem; }

.site-header {
  position: sticky;
  z-index: 20;
  top: 0;
  border-bottom: 1px solid rgba(223, 230, 242, 0.85);
  background: rgba(255, 255, 255, 0.88);
  backdrop-filter: blur(18px);
}

.nav-wrap, .container, .footer-wrap {
  width: min(1120px, calc(100% - 2.5rem));
  margin-inline: auto;
}

.nav-wrap {
  min-height: 74px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.2rem;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  color: var(--ink);
  font-size: 1.05rem;
  font-weight: 760;
  text-decoration: none;
  letter-spacing: -0.02em;
}

.brand img { width: 42px; height: 42px; border-radius: 11px; box-shadow: 0 7px 18px rgba(29, 97, 216, 0.2); }

.nav-links { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 0.25rem; }
.nav-links a { padding: 0.5rem 0.65rem; color: #48546b; font-size: 0.88rem; font-weight: 650; text-decoration: none; border-radius: 9px; }
.nav-links a:hover, .nav-links a[aria-current="page"] { color: #075fdb; background: #edf4ff; }
.language-link { border: 1px solid var(--line); }

.hero { overflow: hidden; padding: clamp(4.5rem, 9vw, 7rem) 0 5rem; }
.hero-grid { display: grid; grid-template-columns: 1.1fr 0.9fr; align-items: center; gap: clamp(2rem, 8vw, 6rem); }
.eyebrow { display: flex; align-items: center; gap: 0.55rem; margin: 0 0 1rem; color: #075fdb; font-size: 0.78rem; font-weight: 800; letter-spacing: 0.12em; text-transform: uppercase; }
.status-dot { width: 0.6rem; height: 0.6rem; border-radius: 50%; background: #24b36b; box-shadow: 0 0 0 5px rgba(36, 179, 107, 0.12); }
h1, h2, h3 { margin-top: 0; line-height: 1.18; letter-spacing: -0.035em; }
h1 { max-width: 14ch; margin-bottom: 1.25rem; font-size: clamp(2.7rem, 7vw, 5.2rem); }
h2 { font-size: clamp(1.8rem, 4vw, 2.7rem); }
h3 { font-size: 1.16rem; }
.hero-copy { max-width: 58ch; color: var(--muted); font-size: clamp(1.05rem, 2vw, 1.25rem); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 0.8rem; margin-top: 2rem; }
.button { display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: 0.7rem 1.1rem; border: 1px solid var(--line); border-radius: 13px; color: var(--ink); background: #fff; font-weight: 720; text-decoration: none; }
.button.primary { border-color: transparent; color: #fff; background: linear-gradient(120deg, var(--violet), var(--blue) 52%, var(--cyan)); box-shadow: 0 12px 28px rgba(31, 102, 227, 0.25); }
.button:hover { transform: translateY(-2px); box-shadow: 0 12px 28px rgba(23, 61, 128, 0.12); }
.trust-row { display: flex; flex-wrap: wrap; gap: 0.65rem; margin-top: 1.8rem; }
.trust-row span { padding: 0.38rem 0.7rem; border: 1px solid #d7e3f5; border-radius: 999px; color: #506079; background: rgba(255,255,255,0.72); font-size: 0.78rem; font-weight: 700; }
.product-stage { position: relative; display: grid; place-items: center; min-height: 590px; isolation: isolate; }
.product-stage::before { content: ""; position: absolute; z-index: -3; width: 34rem; aspect-ratio: 1; border-radius: 45%; background: linear-gradient(145deg, rgba(86, 52, 245, 0.14), rgba(9, 184, 236, 0.18)); transform: rotate(12deg); }
.orbit { position: absolute; z-index: -2; border: 1px solid rgba(18, 104, 243, 0.18); border-radius: 50%; }
.orbit-one { width: 470px; height: 470px; }
.orbit-two { width: 590px; height: 590px; }
.device-frame { position: relative; width: min(292px, 74vw); margin: 0; padding: 9px; border: 1px solid rgba(255,255,255,0.9); border-radius: 48px; background: #0a1323; box-shadow: 0 36px 90px rgba(7, 34, 78, 0.30); transform: rotate(2.5deg); }
.device-frame img { display: block; width: 100%; border-radius: 39px; background: linear-gradient(160deg, #f8fbff, #e8f1ff); }
.device-frame figcaption { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.device-frame.image-fallback { min-height: 570px; background: linear-gradient(160deg, #fff, #dcecff); }
.floating-badge { position: absolute; z-index: 3; display: grid; gap: 0.05rem; min-width: 150px; padding: 0.8rem 1rem; border: 1px solid rgba(255,255,255,0.85); border-radius: 16px; background: rgba(255,255,255,0.90); box-shadow: 0 16px 42px rgba(21, 65, 128, 0.18); backdrop-filter: blur(18px); }
.floating-badge strong { color: var(--navy); font-size: 0.96rem; }
.floating-badge span { color: var(--muted); font-size: 0.72rem; }
.badge-size { left: -5%; top: 19%; }
.badge-private { right: -7%; bottom: 19%; }

.signal-bar { border-block: 1px solid #d7e3f5; background: rgba(234, 243, 255, 0.76); }
.signal-grid { display: grid; grid-template-columns: repeat(3, 1fr); }
.signal-grid div { display: grid; gap: 0.2rem; padding: 1.5rem 2rem; border-left: 1px solid #d7e3f5; }
.signal-grid div:last-child { border-right: 1px solid #d7e3f5; }
.signal-grid strong { color: var(--navy); font-size: 0.94rem; }
.signal-grid span { color: var(--muted); font-size: 0.78rem; }
.hero-art { position: relative; display: grid; place-items: center; min-height: 370px; }
.hero-art::before { content: ""; position: absolute; width: min(30rem, 90%); aspect-ratio: 1; border-radius: 42%; background: linear-gradient(145deg, rgba(86, 52, 245, 0.17), rgba(9, 184, 236, 0.16)); transform: rotate(8deg); filter: blur(2px); }
.hero-art img { position: relative; width: min(280px, 68vw); border-radius: 27%; box-shadow: 0 30px 70px rgba(22, 65, 144, 0.28); transform: rotate(-3deg); }
.spark { position: absolute; z-index: 2; right: 9%; top: 10%; width: 58px; aspect-ratio: 1; background: var(--coral); clip-path: polygon(50% 0, 62% 36%, 100% 50%, 62% 64%, 50% 100%, 38% 64%, 0 50%, 38% 36%); filter: drop-shadow(0 8px 12px rgba(255, 124, 98, 0.35)); }

.section { padding: 4.5rem 0; }
.section.tint { border-block: 1px solid var(--line); background: rgba(245, 248, 255, 0.82); }
.section-intro { max-width: 720px; margin-bottom: 2rem; color: var(--muted); }
.section-heading { display: grid; grid-template-columns: 1fr minmax(260px, 430px); align-items: end; gap: 2rem; margin-bottom: 2.2rem; }
.section-heading h2 { margin-bottom: 0; }
.section-heading > p { margin: 0; color: var(--muted); }
.workflow-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; }
.workflow-card { min-height: 285px; padding: 1.6rem; border: 1px solid var(--line); border-radius: 26px; background: rgba(255,255,255,0.9); box-shadow: 0 12px 34px rgba(23, 61, 128, 0.06); }
.workflow-card.featured { color: #eef6ff; border-color: transparent; background: linear-gradient(145deg, #0c2e68, #075fdb); transform: translateY(-12px); box-shadow: 0 22px 48px rgba(11, 82, 183, 0.25); }
.workflow-card.featured p { color: #c9ddfb; }
.step-number { display: inline-flex; margin-bottom: 4rem; color: #075fdb; font-size: 0.78rem; font-weight: 850; letter-spacing: 0.15em; }
.workflow-card.featured .step-number { color: var(--lime); }
.workflow-card p { margin-bottom: 0; color: var(--muted); }

.feature-section { color: #edf5ff; background: var(--navy); }
.feature-layout { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: clamp(2rem, 8vw, 6rem); align-items: center; }
.feature-copy > p { color: #a8bad4; }
.check-list { display: grid; gap: 0.85rem; margin: 2rem 0 0; padding: 0; list-style: none; }
.check-list li { position: relative; padding-left: 2rem; color: #dbe8fa; }
.check-list li::before { content: "✓"; position: absolute; left: 0; top: 0.05rem; display: grid; place-items: center; width: 1.35rem; height: 1.35rem; border-radius: 50%; color: var(--navy); background: var(--lime); font-size: 0.75rem; font-weight: 900; }
.privacy-panel { padding: 2rem; border: 1px solid rgba(255,255,255,0.15); border-radius: 28px; background: linear-gradient(145deg, rgba(255,255,255,0.10), rgba(255,255,255,0.04)); box-shadow: 0 28px 70px rgba(0,0,0,0.22); }
.privacy-panel h3 { font-size: 1.7rem; }
.privacy-panel p { color: #b7c7dd; }
.privacy-panel a { color: var(--lime); font-weight: 760; text-decoration: none; }
.privacy-icon { display: grid; place-items: center; width: 56px; height: 56px; margin-bottom: 1.4rem; border-radius: 17px; color: var(--navy); background: var(--lime); font-size: 2rem; font-weight: 900; }

.pro-section { background: #f4f8ff; }
.pro-card { display: grid; grid-template-columns: 1.2fr 0.8fr; gap: 2.5rem; padding: clamp(2rem, 5vw, 4rem); border: 1px solid #d5e3f7; border-radius: 34px; background: linear-gradient(135deg, #fff, #eaf3ff); box-shadow: var(--shadow); }
.pro-card p { max-width: 670px; color: var(--muted); }
.pro-points { display: grid; gap: 0.65rem; align-content: center; }
.pro-points span { padding: 0.78rem 1rem; border-radius: 13px; color: #17345f; background: rgba(255,255,255,0.78); font-size: 0.9rem; font-weight: 720; }
.legal-section { background: #fff; }
.card-kicker { display: inline-block; margin-bottom: 2.5rem; color: #075fdb !important; font-size: 0.72rem; font-weight: 850; letter-spacing: 0.13em; text-transform: uppercase; }
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; }
.card { padding: 1.5rem; border: 1px solid var(--line); border-radius: var(--radius); background: rgba(255, 255, 255, 0.9); box-shadow: 0 10px 30px rgba(23, 61, 128, 0.06); }
.card p { margin-bottom: 0; color: var(--muted); }
.icon-chip { display: grid; place-items: center; width: 38px; height: 38px; margin-bottom: 1.1rem; border-radius: 11px; color: #fff; background: linear-gradient(135deg, var(--violet), var(--cyan)); font-weight: 850; }
.legal-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1rem; }
.legal-card { display: block; padding: 1.5rem; border: 1px solid var(--line); border-radius: var(--radius); color: var(--ink); background: #fff; text-decoration: none; transition: transform 160ms ease, box-shadow 160ms ease; }
.legal-card:hover { color: var(--ink); transform: translateY(-3px); box-shadow: var(--shadow); }
.legal-card span { color: var(--muted); }

.js .reveal { opacity: 0; transform: translateY(18px); transition: opacity 520ms ease, transform 520ms ease; }
.js .reveal.is-visible { opacity: 1; transform: translateY(0); }

.page-hero { padding: 4.8rem 0 2.5rem; }
.page-hero h1 { max-width: 18ch; font-size: clamp(2.4rem, 6vw, 4.3rem); }
.meta { display: flex; flex-wrap: wrap; gap: 0.5rem 1.3rem; color: var(--muted); font-size: 0.92rem; }
.document-layout { display: grid; grid-template-columns: minmax(0, 1fr) 270px; align-items: start; gap: 3.5rem; padding-bottom: 5rem; }
.document { min-width: 0; }
.document section { scroll-margin-top: 100px; padding: 1.9rem 0; border-top: 1px solid var(--line); }
.document section:first-child { border-top: 0; }
.document p, .document li { color: #39455d; }
.document li + li { margin-top: 0.55rem; }
.document strong { color: var(--ink); }
.notice { padding: 1.2rem 1.3rem; border: 1px solid #cdddf7; border-left: 4px solid var(--blue); border-radius: 14px; background: #f2f7ff; }
.toc { position: sticky; top: 96px; padding: 1.3rem; border: 1px solid var(--line); border-radius: 16px; background: rgba(255, 255, 255, 0.9); }
.toc strong { display: block; margin-bottom: 0.6rem; font-size: 0.9rem; }
.toc a { display: block; padding: 0.28rem 0; color: var(--muted); font-size: 0.84rem; text-decoration: none; }
.toc a:hover { color: var(--blue); }
.faq details { padding: 1.1rem 0; border-top: 1px solid var(--line); }
.faq summary { cursor: pointer; color: var(--ink); font-weight: 720; }
.faq details p { margin-bottom: 0; }

.site-footer { padding: 3rem 0; border-top: 1px solid var(--line); background: #101a31; color: #dbe5fb; }
.footer-wrap { display: grid; grid-template-columns: 1fr auto; gap: 2rem; }
.footer-brand { margin-bottom: 0.4rem; font-weight: 800; color: #fff; }
.footer-copy { margin: 0; color: #9fabc2; font-size: 0.86rem; }
.footer-links { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 0.5rem 1rem; }
.footer-links a { color: #dbe5fb; font-size: 0.86rem; }

@media (max-width: 820px) {
  .nav-wrap { align-items: flex-start; padding-block: 0.8rem; }
  .nav-links { max-width: 65%; }
  .hero-grid, .document-layout, .feature-layout, .pro-card, .section-heading { grid-template-columns: 1fr; }
  .product-stage { min-height: 560px; order: -1; }
  .workflow-grid { grid-template-columns: 1fr; }
  .workflow-card { min-height: auto; }
  .workflow-card.featured { transform: none; }
  .step-number { margin-bottom: 2rem; }
  .signal-grid { grid-template-columns: 1fr; }
  .signal-grid div, .signal-grid div:last-child { border: 0; border-bottom: 1px solid #d7e3f5; }
  .hero-art { min-height: 300px; order: -1; }
  .toc { position: static; order: -1; }
  .cards { grid-template-columns: 1fr; }
}

@media (max-width: 580px) {
  body { font-size: 16px; }
  .nav-wrap { display: block; }
  .brand { margin-bottom: 0.55rem; }
  .nav-links { max-width: none; justify-content: flex-start; margin-inline: -0.35rem; }
  .nav-links a { padding: 0.38rem 0.35rem; font-size: 0.79rem; }
  .hero { padding-top: 3rem; }
  .product-stage { min-height: 500px; }
  .orbit-two { width: 460px; height: 460px; }
  .orbit-one { width: 360px; height: 360px; }
  .floating-badge { min-width: 132px; padding: 0.65rem 0.78rem; }
  .badge-size { left: -2%; }
  .badge-private { right: -2%; }
  .hero-art { min-height: 250px; }
  .legal-grid { grid-template-columns: 1fr; }
  .footer-wrap { grid-template-columns: 1fr; }
  .footer-links { justify-content: flex-start; }
}

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