:root {
  color-scheme: dark;
  --bg: #090d16;
  --panel: #111827;
  --panel-2: #151d2b;
  --text: #f8fafc;
  --muted: #a7b1c2;
  --line: rgba(255,255,255,.12);
  --accent: #7c9cff;
  --accent-2: #5eead4;
  --shadow: 0 24px 80px rgba(0,0,0,.34);
}
* { box-sizing: border-box; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 16px/1.6 Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}
a { color: inherit; }
.site-header {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
  min-height: 76px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; font-weight: 800; }
.brand img { border-radius: 9px; box-shadow: 0 10px 28px rgba(124,156,255,.28); }
nav { display: flex; align-items: center; justify-content: center; gap: 18px; flex: 1; }
nav a { color: var(--muted); font-size: 14px; text-decoration: none; }
nav a:hover { color: var(--text); }
.github-link {
  display: inline-flex;
  align-items: center;
  color: var(--muted);
  transition: color .2s;
}
.github-link:hover {
  color: var(--text);
}
.language-picker select {
  height: 36px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--panel);
  color: var(--text);
  padding: 0 10px;
}
.hero {
  min-height: min(720px, calc(100vh - 76px));
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, .9fr) minmax(360px, 1.1fr);
  gap: 38px;
  align-items: center;
  padding: 34px 0 44px;
}
.eyebrow { margin: 0 0 14px; color: var(--accent-2); font-weight: 700; letter-spacing: 0; }
h1 { margin: 0; font-size: clamp(40px, 5.4vw, 64px); line-height: 1.03; letter-spacing: 0; }
.lead { max-width: 670px; color: var(--muted); font-size: 19px; margin: 24px 0 0; }
.actions { display: flex; align-items: center; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  border-radius: 8px;
  padding: 0 18px;
  text-decoration: none;
  font-weight: 800;
}
.primary { background: var(--accent); color: #07101f; }
.secondary {
  background: var(--panel-2);
  border: 1px solid var(--line);
  transition: border-color .2s, color .2s, background-color .2s, box-shadow .2s;
}
.secondary:hover {
  border-color: var(--accent);
  color: var(--accent);
  background-color: rgba(124, 156, 255, 0.04);
}
.text-link { color: var(--muted); }
.hero-footnote { margin: 18px 0 0; font-size: 13px; color: var(--muted); opacity: 0.85; }
.hero-media { margin: 0; }
.hero-media img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 8px;
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}
.section { width: min(1180px, calc(100% - 32px)); margin: 0 auto; padding: 56px 0; }
.section-heading { max-width: 980px; margin-bottom: 24px; }
.section-heading p { max-width: 780px; margin: 14px 0 0; }
h2 { margin: 0; font-size: clamp(30px, 4vw, 44px); line-height: 1.08; letter-spacing: 0; }
.feature-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.feature-grid article, .price-columns article, .workflow-grid article, .trust-grid article, .gallery-grid article {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 22px;
}
.workflow-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; }
.workflow-grid span {
  display: inline-flex;
  width: 32px;
  height: 32px;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  background: rgba(124,156,255,.14);
  color: var(--accent);
  font-weight: 900;
  margin-bottom: 18px;
}
.gallery-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
.gallery-grid article { padding: 0; overflow: hidden; }
.gallery-grid img { width: 100%; height: auto; display: block; border-bottom: 1px solid var(--line); }
.gallery-grid div { padding: 22px; }
.trust-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.trust-grid ul { margin: 14px 0 0; padding-left: 18px; color: var(--muted); }
.trust-grid li + li { margin-top: 8px; }
.storage-card div { display: grid; gap: 6px; margin-top: 14px; }
code {
  display: inline-block;
  max-width: 100%;
  overflow-wrap: anywhere;
  color: var(--accent-2);
  background: rgba(94,234,212,.08);
  border: 1px solid rgba(94,234,212,.18);
  border-radius: 6px;
  padding: 5px 7px;
  font: 13px/1.45 ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
}
h3 { margin: 0 0 8px; font-size: 19px; }
p { color: var(--muted); }
.comparison { overflow-x: auto; border: 1px solid var(--line); border-radius: 8px; }
table { width: 100%; border-collapse: collapse; min-width: 720px; background: var(--panel); }
th, td { padding: 18px; text-align: left; border-bottom: 1px solid var(--line); vertical-align: top; }
th { color: var(--text); }
td { color: var(--muted); }
.pricing { display: grid; grid-template-columns: .8fr 1.2fr; gap: 24px; align-items: start; }
.price-columns { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.price { color: var(--text); font-size: 40px; line-height: 1; margin: 16px 0; font-weight: 900; }
.price-label {
  display: inline-flex;
  margin: 14px 0 0;
  padding: 4px 8px;
  border-radius: 6px;
  background: rgba(94,234,212,.12);
  color: var(--accent-2);
  font-size: 13px;
  font-weight: 800;
}
.price-footnote { margin: 12px 0 0; color: var(--accent-2); font-size: 14px; font-weight: 700; }
.featured { border-color: rgba(94,234,212,.45) !important; }
footer {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
  min-height: 92px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  border-top: 1px solid var(--line);
  color: var(--muted);
}
.legal { width: min(860px, calc(100% - 32px)); margin: 0 auto; padding: 46px 0 72px; }
.legal article { background: var(--panel); border: 1px solid var(--line); border-radius: 8px; padding: clamp(24px, 5vw, 44px); }
.legal h1 { font-size: clamp(34px, 5vw, 54px); }
.legal h2 { font-size: 22px; margin-top: 34px; }
.updated, .notice { color: var(--muted); }
.notice { border-left: 3px solid var(--accent); padding-left: 14px; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
@media (max-width: 860px) {
  .site-header { align-items: flex-start; padding: 16px 0; flex-wrap: wrap; }
  nav { order: 3; flex-basis: 100%; justify-content: flex-start; overflow-x: auto; padding-bottom: 4px; }
  .hero { min-height: auto; grid-template-columns: 1fr; padding-top: 30px; }
  .hero-media { width: 100vw; margin-left: calc(50% - 50vw); }
  .hero-media img { border-left: 0; border-right: 0; border-radius: 0; }
  h1 { font-size: clamp(38px, 12vw, 58px); }
  .feature-grid, .workflow-grid, .gallery-grid, .trust-grid, .pricing, .price-columns { grid-template-columns: 1fr; }
  .gallery-grid { width: 100vw; margin-left: calc(50% - 50vw); }
  .gallery-grid article { border-left: 0; border-right: 0; border-radius: 0; }
  footer { align-items: flex-start; flex-direction: column; justify-content: center; padding: 24px 0; }
}
