@font-face { font-family: Geist; src: url(/geist.woff2) format("woff2"); font-weight: 100 900; font-display: swap; }
:root { color-scheme: light; /* Paper and one ink. The --sea-* values feed the shader in sea.js and must stay 6-digit hex (glow: r g b radius). */ --paper: #f7f1e2; --ink: #1e40af; --text: #172554; --ink-2: #2c3966; --muted: #4d5980; --soft: #4a68c2; --line: #ddd3b9; --card: #fcf8ee; --wash: #efe7d2; --on-ink: #fff; --focus: #1e40af; --sea-ink: #1e40af; --sea-dot: #9e998a; --sea-glow: .035 .028 -.01 1; }
@media (prefers-color-scheme: dark) { :root:not(.light) { color-scheme: dark; --paper: #0c1633; --ink: #e8e1cc; --text: #d8d4c4; --ink-2: #c3c2b8; --muted: #9ea6bf; --soft: #9b9884; --line: #26335c; --card: #111d40; --wash: #17244c; --on-ink: #0c1633; --focus: #e8e1cc; --sea-ink: #e8e1cc; --sea-dot: #24335f; --sea-glow: .5 .36 .08 3; } }
:root.dark { color-scheme: dark; --paper: #0c1633; --ink: #e8e1cc; --text: #d8d4c4; --ink-2: #c3c2b8; --muted: #9ea6bf; --soft: #9b9884; --line: #26335c; --card: #111d40; --wash: #17244c; --on-ink: #0c1633; --focus: #e8e1cc; --sea-ink: #e8e1cc; --sea-dot: #24335f; --sea-glow: .5 .36 .08 3; }
* { box-sizing: border-box; }
html { scroll-padding-top: 24px; }
body { margin: 0; background: var(--paper); color: var(--text); font: 16px/1.6 Geist, sans-serif; -webkit-font-smoothing: antialiased; }
/* Column layout keeps the footer band on the bottom edge of short pages. */
body { display: flex; flex-direction: column; min-height: 100svh; }
body > header, body > main, body > footer { width: 100%; }
body > main { flex: 1 0 auto; }
button { font: inherit; }
a { color: var(--ink); text-underline-offset: 3px; }
a:hover { text-decoration-thickness: 2px; }
:focus-visible { outline: 3px solid var(--focus); outline-offset: 4px; }
.wrap { max-width: 1080px; margin: auto; padding: 0 32px; }
.vh, .skip:not(:focus) { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.skip:focus { position: fixed; z-index: 10; top: 12px; left: 12px; padding: 12px 18px; background: var(--card); border: 1px solid var(--line); border-radius: 8px; }
.top, .brand, .links, .site nav { display: flex; align-items: center; }
.top { justify-content: space-between; padding: 22px 0; gap: 16px; }
.brand { gap: 10px; font-weight: 600; text-decoration: none; }
.mark { width: 28px; height: 28px; }
.links { gap: 2px; border: 1px solid var(--line); border-radius: 999px; padding: 3px; background: var(--card); font-size: 14px; }
.links a { padding: 8px 12px; text-decoration: none; color: var(--ink-2); border-radius: 999px; }
.links a:hover { background: var(--wash); }
.theme { display: grid; place-items: center; background: none; color: var(--ink); border: 0; width: 40px; height: 40px; border-radius: 50%; cursor: pointer; }
.theme svg { width: 18px; height: 18px; }
h1, h2, h3 { text-wrap: balance; font-weight: 600; color: var(--ink); }
h1 { font-size: clamp(42px, 6vw, 68px); line-height: 1.04; letter-spacing: -.045em; margin: 26px auto 22px; max-width: 850px; }
h1 span, h2 span { color: var(--soft); }
.cta { display: flex; align-items: center; justify-content: center; flex-wrap: wrap; gap: 12px; }
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 16px; min-height: 46px; padding: 10px 20px; border: 1px solid var(--ink); border-radius: 12px; background: var(--ink); color: var(--on-ink); text-decoration: none; font-weight: 500; font-size: 15px; }
.btn:hover { opacity: .86; }
.btn.secondary { background: var(--card); border-color: var(--line); color: var(--ink); }
.fine, figcaption { color: var(--muted); font-size: 13px; }
.product { margin: 0 -12px; text-align: center; }
.window { border: 1px solid var(--line); padding: 7px; border-radius: 18px; background: var(--wash); }
.window img { width: 100%; height: auto; display: block; border: 1px solid var(--line); border-radius: 11px; }
figcaption { margin-top: 14px; }
.home > section { padding-top: 112px; }
.kicker { color: var(--muted); font-size: 13px; margin: 0 0 10px; }
h2 { font-size: clamp(30px, 4vw, 40px); line-height: 1.12; letter-spacing: -.035em; margin: 0 0 16px; }
.sub { font-size: 17px; color: var(--muted); max-width: 600px; margin: 0 0 32px; }
h3 { font-size: 18px; line-height: 1.35; letter-spacing: -.015em; margin: 0 0 10px; }
.steps, .flow { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; padding: 0; margin: 0; list-style: none; }
.steps li { position: relative; background: var(--card); border: 1px solid var(--line); border-radius: 20px; padding: 24px; }
.step-icon { display: grid; place-items: center; width: 52px; height: 52px; background: var(--wash); border: 1px solid var(--line); border-radius: 15px; font-size: 25px; margin-bottom: 32px; }
.step-icon svg { width: 26px; height: 26px; }
.number { display: block; color: var(--muted); font-size: 13px; margin-bottom: 6px; }
.steps p, .flow p, .features p, .card p, .card li { font-size: 15px; color: var(--muted); margin: 0; }
.flow { padding: 28px; border: 1px solid var(--line); border-radius: 24px; background: var(--wash); gap: 28px; }
.flow li + li { border-left: 1px solid var(--line); padding-left: 28px; }
.flow-label { display: block; font-size: 12px; color: var(--muted); margin-bottom: 24px; }
.features { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 40px; border-top: 1px solid var(--line); }
.features > div { padding: 24px 0 28px; border-bottom: 1px solid var(--line); }
.feature-index { display: block; font-size: 12px; color: var(--muted); margin-bottom: 12px; }
.privacy-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.card { background: var(--card); border: 1px solid var(--line); border-radius: 20px; padding: 28px; }
.card ul { margin: 18px 0 0; padding-left: 19px; }
.card li + li, .card p + p { margin-top: 12px; }
.card strong { color: var(--text); font-weight: 600; }
.card.limits { background: var(--wash); }
.numbers { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.numbers > div { padding: 24px 20px; }
.numbers > div:first-child { padding-left: 0; }
.numbers > div + div { border-left: 1px solid var(--line); }
.numbers b { display: block; font-weight: 600; font-size: 36px; line-height: 1.2; letter-spacing: -.04em; margin-bottom: 8px; }
.numbers span { display: block; font-size: 14px; color: var(--muted); }
.table-scroll { overflow-x: auto; border: 1px solid var(--line); border-radius: 20px; background: var(--card); }
table { width: 100%; min-width: 650px; border-spacing: 0; font-size: 14.5px; }
th, td { text-align: left; vertical-align: top; padding: 16px 20px; line-height: 1.5; }
th { font-weight: 500; }
thead th { background: var(--wash); }
tbody th { width: 18%; color: var(--text); }
td { width: 41%; color: var(--ink-2); }
tbody th, tbody td { border-top: 1px solid var(--line); }
.faq h2 { margin-bottom: 28px; }
.faq details { border-top: 1px solid var(--line); padding: 20px 0; }
.faq details:last-child { border-bottom: 1px solid var(--line); }
.faq summary { cursor: pointer; font-weight: 500; padding-right: 8px; color: var(--ink); }
.faq summary::marker { color: var(--muted); }
.faq p { max-width: 720px; color: var(--muted); margin: 12px 0 0; }
.closing { text-align: center; margin: 112px 24px 0; border-radius: 28px; padding: 80px 0; background: var(--wash); border: 1px solid var(--line); }
.closing h2 { margin: 0 auto 28px; font-size: clamp(32px, 4vw, 48px); }
.text-link { font-size: 15px; padding: 10px; }
.sea { position: absolute; inset: 0; display: block; width: 100%; height: 100%; }
/* Poster without JS or WebGL2: paper, with ruled lines where the sea would be. */
.sea { background: repeating-linear-gradient(var(--sea-rule) 0 1px, transparent 1px 7px) bottom / 100% 42% no-repeat; --sea-rule: color-mix(in srgb, var(--sea-ink) 30%, transparent); }
.hero { position: relative; min-height: max(100svh, 640px); overflow: hidden; border-bottom: 1px solid var(--line); }
.hero-copy { position: relative; padding: clamp(120px, 18vh, 220px) 7vw 0; }
.hero h1 { font-size: clamp(34px, min(4.4vw, 8vh), 72px); letter-spacing: -.03em; margin: 0 0 .32em; max-width: 10em; }
.hero .lead { font-size: clamp(16px, 1.3vw, 20px); line-height: 1.5; color: var(--text); margin: 0 0 28px; max-width: 40em; text-wrap: balance; }
.hero .cta { justify-content: flex-start; }
.coming-soon-note { display: inline-block; margin: 0; padding: 6px 14px; border-radius: 999px; background: var(--ink); color: var(--on-ink); font-size: 13px; font-weight: 500; letter-spacing: .02em; }
.coming-soon .top { flex-wrap: nowrap; justify-content: space-between; }
/* Landscape: copy keeps left of the tower, which moves right as the window widens. */
@media (min-aspect-ratio: 11/10) { .hero-copy { max-width: 51vw; } }
@media (min-aspect-ratio: 14/10) { .hero-copy { max-width: 60vw; } }
.front > header { position: absolute; z-index: 2; left: 0; right: 0; max-width: none; padding: 0 7vw; }
.home > .intro { padding-top: 88px; }
.intro .sub { margin-bottom: 12px; }
.intro .fine { margin: 0 0 36px; }
/* Footer: a still band of the same scene. The text sits in its sky, above the horizon (58% down the band). */
.site { position: relative; display: flex; align-items: flex-end; min-height: 240px; margin-top: 96px; padding-bottom: 118px; color: var(--muted); font-size: 13px; }
.site .sea { top: auto; height: 240px; -webkit-mask-image: linear-gradient(transparent, #000 40px); mask-image: linear-gradient(transparent, #000 40px); }
.site .wrap { position: relative; width: 100%; }
.site nav { gap: 6px 18px; flex-wrap: wrap; margin-top: 6px; }
.site p { margin: 0; }
.site nav a { text-decoration: none; }
.site.quiet { min-height: 0; margin-top: 0; padding: 24px 0; }
.site.quiet nav { display: block; margin: 0; text-align: center; }
.missing { padding-top: 100px; padding-bottom: 100px; }
.missing h1 { margin-left: 0; }
@media (max-width: 760px) {
  .wrap { padding-left: 22px; padding-right: 22px; }
  .home > section { padding-top: 76px; }
  .steps, .flow { grid-template-columns: 1fr; }
  .steps li { padding: 22px; }
  .step-icon { float: right; margin: 0 0 16px 16px; }
  .flow li + li { border-left: 0; padding-left: 0; padding-top: 22px; border-top: 1px solid var(--line); }
  .flow-label { margin-bottom: 12px; }
  .privacy-grid { grid-template-columns: 1fr; }
  .numbers { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .numbers > div { padding: 22px 18px; }
  .numbers > div:nth-child(3) { border-left: 0; padding-left: 0; }
  .numbers > div:nth-child(n+3) { border-top: 1px solid var(--line); }
  .closing { margin: 76px 14px 0; padding: 56px 0; }
  .hero { min-height: max(100svh, 780px); }
  .hero-copy { padding: 132px 22px 0; }
  .front > header { padding: 0 22px; }
  .home > .intro { padding-top: 56px; }
  /* Phones: the text clears the band entirely; the tower would cross it. */
  .site { min-height: 160px; padding-bottom: 172px; margin-top: 64px; }
  .site .sea { height: 160px; }
  .product { margin: 0 -8px; }
}
@media (max-width: 480px) {
  .top { flex-wrap: wrap; justify-content: center; padding: 18px 0; gap: 14px; }
  .links { justify-content: center; }
  .links a { padding: 8px; font-size: 13px; }
  h1 { font-size: 42px; }
  .features { grid-template-columns: 1fr; }
  .cta { flex-direction: column; }
  .hero .cta { align-items: flex-start; }
  .btn { width: 100%; max-width: 320px; }
  .card { padding: 24px; }
  .numbers b { font-size: 32px; }
}
/* Reading pages use only the shared header, column and footer, independent of home sections. */
/* No min-height: the body column already pins the footer band to the bottom of short pages. */
.reading { max-width: 820px; margin: 44px auto 80px; padding: 0 32px; }
.page-head { margin-bottom: 30px; padding-bottom: 24px; border-bottom: 1px solid var(--line); }
.page-head h1 { font-size: clamp(34px, 5vw, 46px); margin: 0 0 12px; line-height: 1.1; }
.page-head p { color: var(--muted); margin: 0; }
/* Docs: grouped sticky sidebar beside the article, as on ownsync.dev. */
.docs { display: grid; grid-template-columns: 230px minmax(0, 1fr); align-content: start; gap: 56px; padding-top: 40px; }
.side { position: sticky; top: 24px; align-self: start; font-size: 14px; }
.side-group { margin: 22px 0 6px; font-size: 12px; font-weight: 500; color: var(--muted); letter-spacing: .02em; }
.side-group:first-child { margin-top: 0; }
.side a { display: flex; align-items: flex-start; gap: 10px; padding: 7px 10px; margin: 0 -10px 3px; border-radius: 9px; line-height: 1.35; color: var(--ink-2); text-decoration: none; }
.side a:hover { background: var(--wash); color: var(--ink); }
.side a[aria-current] { background: var(--card); color: var(--ink); box-shadow: 0 0 0 1px var(--line); font-weight: 500; }
.side svg { color: var(--muted); flex: none; margin-top: 1px; }
.side a[aria-current] svg { color: var(--ink); }
.docs article { max-width: 720px; min-width: 0; }
.tile { display: grid; place-items: center; width: 52px; height: 52px; border-radius: 15px; background: var(--card); border: 1px solid var(--line); color: var(--ink); }
.docs .page-head { margin-bottom: 40px; padding-bottom: 28px; }
.docs .page-head .tile { margin-bottom: 22px; box-shadow: 0 8px 24px -16px color-mix(in srgb, var(--ink) 45%, transparent); }
.docs .page-head h1 { font-size: 44px; line-height: 1.05; letter-spacing: -.04em; margin: 0; max-width: none; }
.docs .page-head .lead { margin: 12px 0 0; font-size: 18px; }
.group { margin: 40px 0 12px; font-size: 13px; font-weight: 500; letter-spacing: 0; color: var(--muted); }
.page-head + .group { margin-top: 0; }
.cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.cards a { display: block; padding: 20px; border-radius: 18px; background: var(--card); border: 1px solid var(--line); text-decoration: none; }
.cards a:hover { border-color: var(--soft); }
.cards .tile { width: 44px; height: 44px; border-radius: 12px; margin-bottom: 16px; background: var(--paper); }
.cards b { display: block; font-weight: 600; color: var(--ink); margin-bottom: 4px; }
.cards span:last-child { display: block; color: var(--muted); font-size: 14px; line-height: 1.55; }
@media (max-width: 860px) {
  .docs { grid-template-columns: 1fr; gap: 24px; padding-top: 24px; }
  .side { position: static; }
  .docs .page-head h1 { font-size: 34px; }
  .cards { grid-template-columns: 1fr; }
}
.prose { color: var(--ink-2); overflow-wrap: anywhere; }
.prose h2 { color: var(--ink); font-size: 26px; margin: 42px 0 16px; letter-spacing: -.025em; }
.prose h3 { color: var(--ink); font-size: 20px; margin: 32px 0 12px; }
.prose h4 { color: var(--ink); margin-top: 26px; }
.prose h2 a, .prose h3 a, .prose h4 a { text-decoration: none; }
.prose p, .prose ul, .prose ol { margin: 0 0 18px; }
.prose li + li { margin-top: 8px; }
.prose strong { color: var(--text); font-weight: 600; }
.prose code, .prose pre { font-family: Geist, sans-serif; }
.prose code { font-size: .92em; background: var(--wash); padding: 2px 5px; border-radius: 4px; }
.prose pre { white-space: pre; overflow-x: auto; padding: 18px; border: 1px solid var(--line); background: var(--card); border-radius: 12px; }
.prose pre code { padding: 0; background: none; }
.prose img { display: block; max-width: 100%; height: auto; border-radius: 12px; margin: 24px 0; }
.prose table { display: block; overflow-x: auto; min-width: 0; max-width: 100%; width: 100%; margin: 22px 0; border: 1px solid var(--line); border-radius: 12px; font-size: 14px; }
.prose th, .prose td { width: auto; padding: 12px; min-width: 130px; }
.prose blockquote { margin: 22px 0; padding: 16px 20px; background: var(--wash); border-left: 3px solid var(--muted); }
.prose blockquote > :last-child { margin-bottom: 0; }
.prose .source { margin-top: 48px; padding-top: 20px; border-top: 1px solid var(--line); color: var(--muted); font-size: 13px; }
.release + .release { margin-top: 48px; padding-top: 16px; border-top: 1px solid var(--line); }
.release-date { color: var(--muted); font-size: 14px; }
@media (max-width: 480px) { .reading { padding: 0 22px; margin-top: 28px; } }
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; } }
