:root {
  color-scheme: light;
  --ink: #172033;
  --ink-soft: #536078;
  --paper: #f8f7f3;
  --surface: #ffffff;
  --line: #e4e2dc;
  --violet: #574bea;
  --violet-dark: #3d33be;
  --violet-soft: #ebe9ff;
  --coral: #ff735e;
  --mint: #bcebd9;
  --shadow: 0 24px 70px rgba(31, 36, 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, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; }
a { color: inherit; }
button, input, textarea, select { font: inherit; }
.container { width: min(1160px, calc(100% - 48px)); margin: 0 auto; }
.skip-link {
  position: fixed;
  z-index: 100;
  top: 12px;
  left: 12px;
  padding: 10px 16px;
  border-radius: 10px;
  color: #fff;
  background: var(--ink);
  transform: translateY(-150%);
}
.skip-link:focus { transform: translateY(0); }
:focus-visible { outline: 3px solid rgba(87, 75, 234, 0.38); outline-offset: 3px; }

.site-header {
  position: relative;
  z-index: 20;
  border-bottom: 1px solid rgba(23, 32, 51, 0.08);
  background: rgba(248, 247, 243, 0.92);
}
.nav { min-height: 78px; display: flex; align-items: center; justify-content: space-between; gap: 32px; }
.brand { display: inline-flex; align-items: center; gap: 12px; font-weight: 760; text-decoration: none; letter-spacing: -0.02em; }
.brand img { border-radius: 12px; box-shadow: 0 8px 20px rgba(65, 54, 201, 0.18); }
.nav-links { display: flex; align-items: center; gap: 28px; }
.nav-links a { color: var(--ink-soft); font-size: 0.94rem; font-weight: 650; text-decoration: none; }
.nav-links a:hover { color: var(--violet-dark); }

.hero { position: relative; overflow: hidden; padding: 94px 0 92px; }
.hero::before {
  content: "";
  position: absolute;
  width: 680px;
  height: 680px;
  right: -260px;
  top: -300px;
  border: 1px solid rgba(87, 75, 234, 0.13);
  border-radius: 50%;
}
.hero-grid { display: grid; grid-template-columns: minmax(0, 1.02fr) minmax(440px, 0.98fr); gap: 72px; align-items: center; }
.hero-copy { position: relative; z-index: 2; }
.eyebrow, .kicker { margin: 0 0 18px; color: var(--violet-dark); font-size: 0.78rem; font-weight: 800; letter-spacing: 0.14em; text-transform: uppercase; }
.eyebrow { display: flex; align-items: center; gap: 10px; }
.eyebrow span { width: 28px; height: 2px; background: var(--coral); }
h1, h2, h3 { margin-top: 0; line-height: 1.08; letter-spacing: -0.04em; }
h1 { max-width: 730px; margin-bottom: 26px; font-size: clamp(3.4rem, 6.7vw, 6.15rem); font-weight: 780; }
h2 { margin-bottom: 20px; font-size: clamp(2.25rem, 4.2vw, 4.15rem); font-weight: 760; }
h3 { margin-bottom: 13px; font-size: 1.35rem; font-weight: 760; }
.hero-body { max-width: 650px; margin: 0; color: var(--ink-soft); font-size: 1.15rem; line-height: 1.75; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 34px; }
.button { min-height: 50px; display: inline-flex; align-items: center; justify-content: center; padding: 12px 20px; border: 1px solid transparent; border-radius: 14px; font-weight: 750; text-decoration: none; }
.button-secondary { border-color: var(--line); background: rgba(255, 255, 255, 0.72); }
.button-secondary:hover { border-color: var(--violet); color: var(--violet-dark); }
.hero-notes { display: flex; flex-wrap: wrap; gap: 8px 20px; margin: 28px 0 0; padding: 0; color: var(--ink-soft); font-size: 0.87rem; list-style: none; }
.hero-notes li::before { content: "•"; margin-right: 8px; color: var(--coral); }

.workspace-visual { position: relative; min-height: 540px; }
.workspace-visual::before {
  content: "";
  position: absolute;
  inset: 32px 8px 18px 44px;
  border-radius: 52% 48% 46% 54% / 48% 45% 55% 52%;
  background: linear-gradient(145deg, #e9e6ff, #d9e7ff 54%, #d7f0e7);
  transform: rotate(-4deg);
}
.orbit { position: absolute; z-index: 1; border: 1px dashed rgba(87, 75, 234, 0.3); border-radius: 50%; }
.orbit-one { width: 360px; height: 360px; top: 82px; left: 92px; }
.orbit-two { width: 455px; height: 455px; top: 35px; left: 44px; }
.paper-stack { position: absolute; z-index: 4; width: 292px; height: 376px; top: 84px; left: 112px; }
.paper { position: absolute; inset: 0; border-radius: 20px; }
.paper-back { background: #98a8ff; transform: rotate(12deg) translate(24px, 4px); }
.paper-middle { background: #ffb0a4; transform: rotate(-8deg) translate(-22px, 11px); }
.paper-front { padding: 28px 25px; background: #fff; box-shadow: var(--shadow); }
.paper-top { display: flex; justify-content: space-between; align-items: center; margin-bottom: 48px; }
.pdf-pill { padding: 8px 11px; border-radius: 9px; color: #fff; background: var(--coral); font-size: 0.72rem; font-weight: 850; letter-spacing: 0.08em; }
.paper-status { color: #8190a8; font-size: 0.72rem; }
.line { display: block; height: 9px; margin: 15px 0; border-radius: 20px; background: #e8eaf2; }
.line-wide { width: 90%; }
.line-mid { width: 72%; }
.line-short { width: 54%; }
.mini-tools { display: grid; grid-template-columns: repeat(3, 1fr); gap: 7px; margin-top: 62px; }
.mini-tools span { padding: 11px 4px; border-radius: 9px; color: var(--violet-dark); background: var(--violet-soft); font-size: 0.64rem; font-weight: 750; text-align: center; }
.floating-card { position: absolute; z-index: 6; display: flex; align-items: center; gap: 10px; border: 1px solid rgba(255, 255, 255, 0.82); border-radius: 14px; background: rgba(255, 255, 255, 0.92); box-shadow: 0 15px 40px rgba(34, 38, 73, 0.13); }
.floating-card span { color: var(--ink-soft); font-size: 0.72rem; }
.card-files { top: 52px; right: 4px; flex-direction: column; align-items: flex-start; gap: 0; min-width: 122px; padding: 14px 18px; }
.card-files strong { color: var(--violet-dark); font-size: 1.45rem; }
.card-ready { right: -5px; bottom: 74px; padding: 15px 18px; font-size: 0.78rem; }
.ready-dot { width: 9px; height: 9px; border-radius: 50%; background: #33b887; box-shadow: 0 0 0 5px rgba(51, 184, 135, 0.13); }
.card-home { left: 20px; bottom: 52px; padding: 14px 17px; font-size: 0.78rem; }
.card-icon { width: 25px; height: 25px; flex: 0 0 auto; padding: 4px; overflow: visible; border-radius: 8px; color: var(--violet); background: var(--violet-soft); fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }

.trust-band { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: rgba(255, 255, 255, 0.52); }
.trust-grid { display: grid; grid-template-columns: repeat(3, 1fr); }
.trust-grid > div { padding: 32px 36px; border-right: 1px solid var(--line); }
.trust-grid > div:first-child { padding-left: 0; }
.trust-grid > div:last-child { border-right: 0; }
.trust-grid span { display: block; margin-bottom: 8px; color: var(--coral); font-size: 0.72rem; font-weight: 850; letter-spacing: 0.14em; }
.trust-grid strong { display: block; margin-bottom: 5px; }
.trust-grid p { margin: 0; color: var(--ink-soft); font-size: 0.88rem; }

.section { padding: 120px 0; }
.section-heading { max-width: 720px; margin-bottom: 50px; }
.section-heading > p:last-child, .workflow-copy > p:last-child { margin: 0; color: var(--ink-soft); font-size: 1.06rem; }
.feature-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.feature-card { position: relative; min-height: 330px; padding: 30px; overflow: hidden; border: 1px solid var(--line); border-radius: 22px; background: rgba(255, 255, 255, 0.72); transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease; }
.feature-card:hover { transform: translateY(-4px); border-color: #cbc7ff; box-shadow: 0 20px 44px rgba(40, 44, 78, 0.09); }
.feature-card p { margin: 0; color: var(--ink-soft); }
.feature-number { position: absolute; top: 26px; right: 28px; color: #a2a9b7; font-size: 0.72rem; font-weight: 800; letter-spacing: 0.12em; }
.feature-icon { width: 66px; height: 66px; display: block; margin-bottom: 52px; padding: 14px; border-radius: 18px; color: var(--violet); background: var(--violet-soft); fill: none; stroke: currentColor; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }
.feature-primary { color: #fff; border-color: transparent; background: var(--violet); }
.feature-primary p, .feature-primary .feature-number { color: rgba(255, 255, 255, 0.72); }
.feature-primary .feature-icon { color: #fff; background: rgba(255, 255, 255, 0.15); }

.workflow { background: var(--surface); }
.workflow-grid { display: grid; grid-template-columns: 0.85fr 1.15fr; gap: 100px; align-items: start; }
.workflow-copy { position: sticky; top: 40px; }
.workflow-list { margin: 0; padding: 0; list-style: none; }
.workflow-list li { display: grid; grid-template-columns: 54px 1fr; gap: 22px; padding: 30px 0; border-top: 1px solid var(--line); }
.workflow-list li:last-child { border-bottom: 1px solid var(--line); }
.workflow-list li > span { width: 50px; height: 50px; display: grid; place-items: center; border-radius: 50%; color: var(--violet-dark); background: var(--violet-soft); font-weight: 850; }
.workflow-list strong { display: block; margin-bottom: 7px; font-size: 1.14rem; }
.workflow-list p { margin: 0; color: var(--ink-soft); }

.launcher { padding-top: 110px; padding-bottom: 110px; background: var(--surface); }
.launcher-panel { min-height: 410px; display: grid; grid-template-columns: 1fr 380px; gap: 68px; align-items: center; padding: 70px; overflow: hidden; border-radius: 32px; color: #fff; background: #1b2440; }
.launcher-panel h2 { max-width: 680px; }
.launcher-panel p:not(.kicker) { max-width: 700px; margin-bottom: 0; color: #bfc7da; }
.kicker-light { color: #aaa3ff; }
.launcher-map { width: 300px; height: auto; display: block; justify-self: center; filter: drop-shadow(0 30px 35px rgba(0, 0, 0, 0.24)); }

.privacy-section { background: #edf0ff; }
.privacy-grid { display: grid; grid-template-columns: 330px 1fr; gap: 90px; align-items: center; }
.privacy-mark { width: 270px; height: 270px; display: grid; place-items: center; border-radius: 46% 54% 56% 44%; background: linear-gradient(145deg, #c5c0ff, #fff); transform: rotate(-5deg); }
.privacy-lock { width: 124px; height: 124px; display: block; color: var(--violet); transform: rotate(5deg); }
.privacy-grid p:not(.kicker) { max-width: 720px; color: var(--ink-soft); font-size: 1.06rem; }
.text-link { display: inline-flex; align-items: center; gap: 10px; margin-top: 12px; color: var(--violet-dark); font-weight: 800; text-decoration: none; }
.text-link:hover { gap: 15px; }

.faq-grid { display: grid; grid-template-columns: 0.8fr 1.2fr; gap: 90px; align-items: start; }
.section-heading.compact { margin-bottom: 0; }
.faq-list { border-top: 1px solid var(--line); }
.faq-list details { border-bottom: 1px solid var(--line); }
.faq-list summary { min-height: 76px; display: flex; align-items: center; justify-content: space-between; gap: 24px; font-weight: 760; cursor: pointer; list-style: none; }
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after { content: "+"; color: var(--violet); font-size: 1.5rem; font-weight: 450; }
.faq-list details[open] summary::after { content: "−"; }
.faq-list details p { margin: -4px 50px 28px 0; color: var(--ink-soft); }
.faq-list a { color: var(--violet-dark); }

.site-footer { padding: 44px 0; color: #cad0df; background: #11182b; }
.footer-grid { display: grid; grid-template-columns: 1fr auto; gap: 30px; align-items: center; }
.footer-brand { display: flex; align-items: center; gap: 12px; }
.footer-brand img { border-radius: 11px; }
.footer-brand strong, .footer-brand span { display: block; }
.footer-brand span { color: #8994ab; font-size: 0.82rem; }
.site-footer nav { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 24px; }
.site-footer nav a { color: #cad0df; font-size: 0.9rem; text-decoration: none; }
.site-footer nav a:hover { color: #fff; }
/* Legal pages */
.legal-page { background: #fff; }
.legal-shell { width: min(800px, calc(100% - 48px)); margin: 0 auto; padding: 80px 0 100px; }
.legal-title { margin-bottom: 42px; padding-bottom: 32px; border-bottom: 1px solid var(--line); }
.legal-title h1 { margin-bottom: 15px; font-size: clamp(2.7rem, 7vw, 4.7rem); }
.legal-meta { margin: 0; color: var(--ink-soft); font-size: 0.9rem; }
.legal-intro { font-size: 1.08rem; }
.legal-toc { margin: 42px 0 54px; padding: 26px 28px; border-radius: 18px; background: #f3f2ff; }
.legal-toc strong { display: block; margin-bottom: 12px; }
.legal-toc ol { columns: 2; gap: 38px; margin: 0; padding-left: 20px; }
.legal-toc li { break-inside: avoid; margin: 6px 0; color: var(--ink-soft); font-size: 0.9rem; }
.legal-toc a { text-decoration: none; }
.legal-toc a:hover { color: var(--violet-dark); text-decoration: underline; }
.legal-content section { margin-top: 52px; scroll-margin-top: 24px; }
.legal-content h2 { margin-bottom: 18px; font-size: 1.65rem; letter-spacing: -0.025em; }
.legal-content h3 { margin: 30px 0 12px; font-size: 1.08rem; letter-spacing: -0.01em; }
.legal-content p, .legal-content li { color: #3f4b60; }
.legal-content a { color: var(--violet-dark); overflow-wrap: anywhere; }
.legal-content code { padding: 0.12em 0.36em; border-radius: 5px; color: #362db0; background: #efedff; font-size: 0.88em; overflow-wrap: anywhere; }
.legal-content ul { padding-left: 23px; }
.legal-content li + li { margin-top: 8px; }
.table-wrap { margin: 24px 0; overflow-x: auto; border: 1px solid var(--line); border-radius: 14px; }
.legal-content table { width: 100%; min-width: 720px; border-collapse: collapse; font-size: 0.86rem; }
.legal-content th, .legal-content td { padding: 14px 16px; border-bottom: 1px solid var(--line); vertical-align: top; text-align: left; }
.legal-content th { color: var(--ink); background: #f6f5f1; }
.legal-content tr:last-child td { border-bottom: 0; }
.legal-contact { padding: 24px 26px; border-left: 4px solid var(--violet); border-radius: 0 14px 14px 0; background: #f5f4ff; }
.legal-contact p { margin: 4px 0; }
@media (max-width: 980px) {
  .hero-grid { grid-template-columns: 1fr; gap: 38px; }
  .hero-copy { max-width: 760px; }
  .workspace-visual { width: min(540px, 100%); margin: 0 auto; }
  .feature-grid { grid-template-columns: repeat(2, 1fr); }
  .workflow-grid, .faq-grid { grid-template-columns: 1fr; gap: 50px; }
  .workflow-copy { position: static; }
  .launcher-panel { grid-template-columns: 1fr 300px; gap: 34px; padding: 54px; }
  .privacy-grid { grid-template-columns: 240px 1fr; gap: 55px; }
  .privacy-mark { width: 220px; height: 220px; }
}

@media (max-width: 720px) {
  .container, .legal-shell { width: min(100% - 32px, 1160px); }
  .nav { min-height: 68px; }
  .nav-links a:not(:last-child) { display: none; }
  .hero { padding: 66px 0 68px; }
  h1 { font-size: clamp(3rem, 14vw, 4.3rem); }
  .workspace-visual { min-height: 475px; transform: scale(0.9); transform-origin: top center; margin-bottom: -45px; }
  .trust-grid { grid-template-columns: 1fr; padding: 12px 0; }
  .trust-grid > div, .trust-grid > div:first-child { padding: 20px 0; border-right: 0; border-bottom: 1px solid var(--line); }
  .trust-grid > div:last-child { border-bottom: 0; }
  .section { padding: 84px 0; }
  .feature-grid { grid-template-columns: 1fr; }
  .feature-card { min-height: 290px; }
  .launcher-panel { grid-template-columns: 1fr; padding: 42px 28px; }
  .launcher-map { width: 250px; }
  .privacy-grid { grid-template-columns: 1fr; gap: 42px; }
  .privacy-mark { width: 190px; height: 190px; }
  .footer-grid { grid-template-columns: 1fr; }
  .site-footer nav { justify-content: flex-start; }
  .legal-shell { padding-top: 54px; }
  .legal-toc ol { columns: 1; }
}

@media (max-width: 480px) {
  .brand span { font-size: 0.93rem; }
  .nav-links { display: none; }
  .hero-actions { flex-direction: column; align-items: stretch; }
  .workspace-visual { min-height: 420px; transform: scale(0.75); margin: 0 -60px -90px; width: calc(100% + 120px); }
  .section-heading { margin-bottom: 34px; }
  .feature-card { padding: 26px; }
  .launcher-panel { border-radius: 24px; }
  .legal-shell { width: calc(100% - 28px); }
  .legal-title h1 { font-size: 2.55rem; }
  .legal-toc { padding: 22px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: 0.01ms !important; animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; }
}
