Ariver
2026-06-06 afb65ff37b1899cad62d729a4b124f224239e28f
docs/styles.css
@@ -1,26 +1,16 @@
:root {
  --bg: #f5f5f7;
  --surface: #ffffff;
  --text: #1d1d1f;
  --muted: #6e6e73;
  --accent: #0071e3;
  --accent-hover: #0077ed;
  --border: rgba(0, 0, 0, 0.08);
  --radius: 14px;
  --shadow: 0 12px 40px rgba(0, 0, 0, 0.08);
  --max: 920px;
  --font: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Segoe UI", sans-serif;
}
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #000000;
    --surface: #1c1c1e;
    --text: #f5f5f7;
    --muted: #a1a1a6;
    --border: rgba(255, 255, 255, 0.12);
    --shadow: 0 12px 40px rgba(0, 0, 0, 0.45);
  }
  --bg: #0a0b10;
  --bg-accent: #1a2240;
  --surface: rgba(28, 28, 34, 0.88);
  --text: #f5f5f7;
  --muted: #a1a1a6;
  --accent: #0a84ff;
  --accent-hover: #409cff;
  --border: rgba(255, 255, 255, 0.1);
  --radius: 18px;
  --shadow: 0 24px 60px rgba(0, 0, 0, 0.45);
  --max: 960px;
  --font: -apple-system, BlinkMacSystemFont, "SF Pro Display", "SF Pro Text", "PingFang SC", "Segoe UI", sans-serif;
}
* {
@@ -34,10 +24,11 @@
body {
  margin: 0;
  font-family: var(--font);
  background: var(--bg);
  color: var(--text);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  background: var(--bg);
  min-height: 100vh;
}
a {
@@ -55,19 +46,30 @@
  padding: 0 24px 80px;
}
/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  backdrop-filter: blur(16px);
  z-index: 30;
  backdrop-filter: blur(18px) saturate(1.2);
  background: color-mix(in srgb, var(--bg) 82%, transparent);
  border-bottom: 1px solid var(--border);
}
.site-header--overlay {
  position: fixed;
  left: 0;
  right: 0;
  top: 0;
  background: linear-gradient(to bottom, rgba(6, 7, 14, 0.72), transparent);
  border-bottom: none;
  backdrop-filter: blur(12px);
}
.site-header .inner {
  max-width: var(--max);
  max-width: 1200px;
  margin: 0 auto;
  padding: 14px 24px;
  padding: 14px 28px;
  display: flex;
  align-items: center;
  justify-content: space-between;
@@ -78,7 +80,7 @@
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 600;
  font-weight: 650;
  font-size: 1.05rem;
  color: var(--text);
  text-decoration: none;
@@ -88,12 +90,11 @@
  text-decoration: none;
}
.brand-mark {
  width: 32px;
  height: 32px;
  border-radius: 8px;
  background: linear-gradient(145deg, #5ac8fa, #0071e3 55%, #5856d6);
  box-shadow: 0 4px 14px rgba(0, 113, 227, 0.35);
.brand img {
  width: 36px;
  height: 36px;
  border-radius: 9px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.35);
}
nav {
@@ -104,7 +105,7 @@
}
nav a {
  color: var(--muted);
  color: rgba(245, 245, 247, 0.78);
}
nav a[aria-current="page"] {
@@ -112,40 +113,62 @@
  font-weight: 600;
}
.hero {
  padding: 56px 0 40px;
  text-align: center;
}
.hero h1 {
  margin: 0 0 12px;
  font-size: clamp(2rem, 5vw, 2.75rem);
  letter-spacing: -0.03em;
  line-height: 1.1;
}
.hero .lead {
  margin: 0 auto;
  max-width: 36em;
  font-size: 1.15rem;
  color: var(--muted);
}
.pill-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  margin-top: 28px;
}
.pill {
  padding: 6px 14px;
  border-radius: 999px;
  background: var(--surface);
  border: 1px solid var(--border);
.lang-switch--header {
  margin: 0;
  font-size: 0.85rem;
  color: var(--muted);
}
.lang-switch--header a {
  color: rgba(245, 245, 247, 0.65);
  margin-left: 10px;
}
.lang-switch--header a.active {
  color: var(--text);
  font-weight: 600;
}
/* Full-screen hero: one image + one tagline */
.hero-full {
  position: relative;
  width: 100%;
  min-height: 100svh;
  min-height: 100vh;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  overflow: hidden;
  background: #06070e;
}
.hero-full__img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 38%;
}
.hero-full__tagline {
  position: relative;
  z-index: 2;
  margin: 0;
  padding: 0 32px  max(48px, env(safe-area-inset-bottom, 0px) + 40px);
  max-width: 18em;
  text-align: center;
  font-size: clamp(1.5rem, 4.2vw, 2.75rem);
  font-weight: 650;
  letter-spacing: -0.03em;
  line-height: 1.15;
  color: #f5f5f7;
  text-shadow:
    0 2px 24px rgba(0, 0, 0, 0.85),
    0 0 80px rgba(0, 0, 0, 0.5);
}
.content-below {
  padding-top: 56px;
}
.card {
@@ -155,6 +178,7 @@
  box-shadow: var(--shadow);
  padding: 28px 32px;
  margin-bottom: 24px;
  backdrop-filter: blur(12px);
}
.card h2 {
@@ -163,9 +187,13 @@
  letter-spacing: -0.02em;
}
.card h3 {
  margin: 24px 0 10px;
  font-size: 1.05rem;
.card-cta {
  text-align: center;
}
.card-cta p {
  margin: 0 0 18px;
  color: var(--muted);
}
.compare {
@@ -195,14 +223,14 @@
.feature-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 16px;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 14px;
}
.feature {
  padding: 18px 20px;
  border-radius: 12px;
  background: color-mix(in srgb, var(--accent) 6%, var(--surface));
  padding: 16px 18px;
  border-radius: 14px;
  background: color-mix(in srgb, var(--accent) 8%, var(--surface));
  border: 1px solid var(--border);
}
@@ -214,9 +242,8 @@
.cta-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  margin-top: 32px;
  justify-content: center;
}
.btn {
@@ -225,13 +252,12 @@
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.95rem;
  border: none;
  cursor: pointer;
}
.btn-primary {
  background: var(--accent);
  color: #fff;
  box-shadow: 0 10px 28px rgba(10, 132, 255, 0.35);
}
.btn-primary:hover {
@@ -241,26 +267,13 @@
}
.btn-secondary {
  background: var(--surface);
  background: rgba(255, 255, 255, 0.08);
  color: var(--text);
  border: 1px solid var(--border);
}
.btn-secondary:hover {
  text-decoration: none;
}
.prose h2 {
  margin-top: 2em;
  font-size: 1.25rem;
}
.prose ul {
  padding-left: 1.25em;
}
.prose li {
  margin: 0.35em 0;
}
.site-footer {
@@ -272,27 +285,47 @@
  color: var(--muted);
}
.lang-switch {
  font-size: 0.85rem;
}
.lang-switch a {
  color: var(--muted);
  margin-left: 10px;
}
.lang-switch a.active {
  color: var(--text);
  font-weight: 600;
}
kbd {
  display: inline-block;
  padding: 2px 7px;
  border-radius: 6px;
  font-size: 0.82em;
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  background: var(--surface);
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid var(--border);
  box-shadow: 0 1px 0 var(--border);
}
/* Inner pages (support, privacy) — light readable prose */
body:not(.page-home) {
  background:
    radial-gradient(ellipse 80% 50% at 10% -10%, rgba(90, 200, 250, 0.12), transparent 55%),
    var(--bg);
}
.prose {
  max-width: 720px;
}
.prose h1 {
  margin-top: 0;
}
.prose h2 {
  margin-top: 1.6em;
}
@media (max-width: 720px) {
  .site-header .inner {
    flex-wrap: wrap;
    padding: 12px 18px;
  }
  nav {
    order: 3;
    width: 100%;
  }
  .hero-full__tagline {
    padding-bottom: 36px;
  }
}