:root {
  --navH: 88px;
  --bg: #0f1013;
  --bg-2: #14171d;
  --panel: rgba(255, 255, 255, 0.055);
  --panel-strong: rgba(255, 255, 255, 0.085);
  --line: rgba(255, 255, 255, 0.11);
  --text: #f5f5f0;
  --muted: rgba(245, 245, 240, 0.7);
  --muted-2: rgba(245, 245, 240, 0.5);
  --accent: #59a1c5;
  --accent-soft: rgba(89, 161, 197, 0.16);
  --danger: #ef8e8b;
  --max: 1180px;
}

* { box-sizing: border-box; }

html.is-loading body {
  overflow: hidden !important;
  position: fixed;
  left: 0;
  right: 0;
  width: 100%;
}

.preloader {
  position: fixed;
  inset: 0;
  z-index: 2147483647;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #000;
  transform: translateY(0);
  will-change: transform;
}

.preloader-text {
  padding: 0 18px;
  color: var(--accent);
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: clamp(2rem, 5vw, 3.1rem);
  letter-spacing: 0.08em;
  text-align: center;
  opacity: 0;
  transform: translateY(10px);
  will-change: opacity, transform;
}

.reveal {
  opacity: 0;
  transform: translateY(14px);
  will-change: opacity, transform;
}

.is-in .reveal,
.reveal.is-in {
  opacity: 1;
  transform: none;
  transition:
    opacity 700ms cubic-bezier(0.2, 0.8, 0.2, 1),
    transform 700ms cubic-bezier(0.2, 0.8, 0.2, 1);
}

noscript .preloader { display: none !important; }
html { scroll-behavior: smooth; scroll-padding-top: 88px; }
body {
  margin: 0;
  min-height: 100vh;
  background:
    radial-gradient(900px circle at 15% 0%, rgba(89, 161, 197, 0.16), transparent 58%),
    radial-gradient(700px circle at 90% 15%, rgba(255, 255, 255, 0.055), transparent 55%),
    var(--bg);
  color: var(--text);
  font-family: "Montserrat", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; }
img { display: block; max-width: 100%; }
button, a { -webkit-tap-highlight-color: transparent; }

.skip-link {
  position: fixed;
  left: 12px;
  top: -80px;
  z-index: 9999;
  background: #fff;
  color: #000;
  padding: 10px 14px;
  border-radius: 10px;
  text-decoration: none;
}
.skip-link:focus { top: 12px; }

.site-nav {
  position: sticky;
  top: 0;
  z-index: 50;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(15, 16, 19, 0.84);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
}
.nav-inner {
  width: min(calc(100% - 36px), var(--max));
  min-height: 74px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  text-decoration: none;
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: 25px;
  letter-spacing: 0.04em;
}
.brand-mark {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  object-fit: cover;
  box-shadow: 0 8px 22px rgba(0, 0, 0, 0.22);
}
.brand-dot { color: var(--accent); }
.nav-links {
  display: flex;
  align-items: center;
  gap: 24px;
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
.nav-links a {
  color: var(--muted);
  text-decoration: none;
  transition: color 180ms ease;
}
.nav-links a:hover,
.nav-links a[aria-current="page"] { color: var(--text); }

.container { width: min(calc(100% - 36px), var(--max)); margin: 0 auto; }

.hero {
  padding: 148px 0 56px;
}
.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(380px, 1.08fr);
  gap: 54px;
  align-items: center;
}
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 7px 11px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(0, 0, 0, 0.22);
  color: var(--muted);
  font-size: 11px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}
.eyebrow::before {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 16px rgba(89, 161, 197, 0.7);
}
h1, h2, h3 { margin: 0; font-family: "Cormorant Garamond", Georgia, serif; }
h1 {
  margin-top: 21px;
  max-width: 760px;
  font-size: clamp(3.3rem, 7vw, 6.4rem);
  line-height: 0.91;
  font-weight: 600;
  letter-spacing: -0.04em;
}
.hero-copy {
  max-width: 650px;
  margin: 25px 0 0;
  color: var(--muted);
  font-size: clamp(15px, 1.5vw, 18px);
  line-height: 1.8;
  font-weight: 300;
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 19px;
  border: 1px solid var(--line);
  border-radius: 9px;
  text-decoration: none;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  transition: transform 180ms ease, background 180ms ease, border-color 180ms ease;
}
.button:hover { transform: translateY(-2px); border-color: rgba(89, 161, 197, 0.5); }
.button-primary { background: var(--accent); border-color: var(--accent); color: #061118; }
.button-secondary { background: rgba(255, 255, 255, 0.04); color: var(--text); }
.button-disabled { opacity: 0.7; cursor: default; }
.button-disabled:hover { transform: none; border-color: var(--line); }
.hero-note { margin-top: 14px; color: var(--muted-2); font-size: 12px; line-height: 1.6; }

.hero-visual {
  position: relative;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 22px;
  background: #edf3fb;
  box-shadow: 0 35px 85px rgba(0, 0, 0, 0.34);
}
.hero-visual img {
  width: 100%;
  height: auto;
  object-fit: contain;
  object-position: center;
}

.section { padding: 70px 0; }
.section-border { border-top: 1px solid rgba(255, 255, 255, 0.08); }
.section-heading { max-width: 720px; }
.kicker { color: var(--accent); font-size: 11px; letter-spacing: 0.16em; text-transform: uppercase; }
h2 { margin-top: 9px; font-size: clamp(2.4rem, 5vw, 4.2rem); line-height: 1; font-weight: 500; }
.section-intro { margin: 18px 0 0; color: var(--muted); line-height: 1.75; font-weight: 300; }

.feature-grid,
.steps-grid,
.screenshot-grid,
.policy-grid {
  display: grid;
  gap: 16px;
  margin-top: 34px;
}
.feature-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.steps-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.screenshot-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.policy-grid { grid-template-columns: minmax(0, 0.7fr) minmax(0, 1.3fr); align-items: start; }

.card {
  border: 1px solid var(--line);
  border-radius: 16px;
  background: var(--panel);
  padding: 24px;
}
.card-number {
  display: inline-flex;
  width: 34px;
  height: 34px;
  align-items: center;
  justify-content: center;
  border-radius: 10px;
  background: var(--accent-soft);
  color: var(--accent);
  font-size: 12px;
  font-weight: 700;
}
.card h3 { margin-top: 17px; font-size: 1.7rem; font-weight: 600; }
.feature-grid .card h3 { margin-top: 0; }
.card p { margin: 10px 0 0; color: var(--muted); font-size: 14px; line-height: 1.7; font-weight: 300; }

.screenshot {
  display: flex;
  min-width: 0;
  flex-direction: column;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: #f4f4f4;
  box-shadow: 0 18px 48px rgba(0, 0, 0, 0.22);
}
.screenshot img {
  width: 100%;
  height: auto;
  aspect-ratio: 8 / 5;
  object-fit: contain;
  object-position: center;
  background: #fff;
}
.screenshot figcaption {
  min-height: 58px;
  padding: 13px 16px;
  color: var(--muted);
  background: #17191e;
  font-size: 12px;
  line-height: 1.5;
}

.callout {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  padding: 31px;
  border: 1px solid rgba(89, 161, 197, 0.3);
  border-radius: 18px;
  background: linear-gradient(135deg, rgba(89, 161, 197, 0.13), rgba(255, 255, 255, 0.035));
}
.callout h2 { font-size: clamp(2rem, 4vw, 3.4rem); }
.callout p { max-width: 680px; margin: 10px 0 0; color: var(--muted); line-height: 1.7; }

.policy-wrap { padding: 62px 0 90px; }
.policy-header { max-width: 850px; padding-bottom: 34px; border-bottom: 1px solid var(--line); }
.policy-header h1 { font-size: clamp(3.2rem, 7vw, 5.7rem); }
.policy-meta { margin-top: 18px; color: var(--muted-2); font-size: 13px; }
.policy-nav {
  position: sticky;
  top: 98px;
  display: grid;
  gap: 5px;
  padding: 17px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--panel);
}
.policy-nav a { padding: 8px 9px; border-radius: 8px; color: var(--muted); text-decoration: none; font-size: 13px; }
.policy-nav a:hover { background: rgba(255,255,255,.05); color: var(--text); }
.policy-content { min-width: 0; }
.policy-section { padding: 0 0 34px; margin: 0 0 34px; border-bottom: 1px solid rgba(255,255,255,.08); }
.policy-section:last-child { border-bottom: 0; }
.policy-section h2 { margin: 0 0 15px; font-size: clamp(2rem, 4vw, 3rem); }
.policy-section h3 { margin: 23px 0 9px; font-size: 1.55rem; }
.policy-section p,
.policy-section li { color: var(--muted); font-size: 14px; line-height: 1.8; font-weight: 300; }
.policy-section ul { margin: 12px 0 0; padding-left: 21px; }
.policy-section strong { color: var(--text); font-weight: 600; }
.policy-box { padding: 18px; border-left: 3px solid var(--accent); background: var(--accent-soft); border-radius: 0 12px 12px 0; }
.policy-box p { margin: 0; }

.site-footer { border-top: 1px solid rgba(255,255,255,.08); background: #090a0c; }
.footer-inner {
  width: min(calc(100% - 36px), var(--max));
  min-height: 92px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  color: var(--muted-2);
  font-size: 12px;
}
.footer-links { display: flex; flex-wrap: wrap; gap: 20px; }
.footer-links a { color: var(--muted); text-decoration: none; }
.footer-links a:hover { color: var(--text); }

@media (max-width: 900px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-visual { order: -1; }
  .feature-grid, .steps-grid { grid-template-columns: 1fr; }
  .policy-grid { grid-template-columns: 1fr; }
  .policy-nav { position: static; grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 720px) {
  .nav-links { display: none; }
  .hero { padding-top: 112px; }
  .screenshot-grid { grid-template-columns: 1fr; }
  .callout { align-items: flex-start; flex-direction: column; }
  .footer-inner { min-height: 120px; padding: 25px 0; align-items: flex-start; flex-direction: column; }
}


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