/* Night sky, in two designed modes. Every colour is a token with a light and a
   dark value. The page follows the device; the footer switch can pin one. */
:root {
  color-scheme: light dark;
  --bg: #f7f6ff;
  --bg-glow: #e4e0ff;
  --card: #ffffff;
  --raised: #efedff;
  --ink: #17153a;
  --muted: #55527e;
  --line: #dcd9f3;
  --brand: #3b2fb8;
  --accent: var(--brand);
  --on-accent: #ffffff;
  --shadow: 0 1px 2px rgb(23 21 58 / 6%), 0 8px 24px rgb(23 21 58 / 6%);
  --star: rgb(59 47 184 / 18%);
}
:root[data-theme="dark"] {
  --bg: #0a0b1f;
  --bg-glow: #2b2470;
  --card: #15173a;
  --raised: #1d2050;
  --ink: #ecebff;
  --muted: #b1afdc;
  --line: #2a2d5e;
  --brand: #ffd98a;
  --on-accent: #17153a;
  --shadow: 0 1px 2px rgb(0 0 0 / 30%), 0 12px 32px rgb(0 0 0 / 35%);
  --star: rgb(255 255 255 / 55%);
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg: #0a0b1f;
    --bg-glow: #2b2470;
    --card: #15173a;
    --raised: #1d2050;
    --ink: #ecebff;
    --muted: #b1afdc;
    --line: #2a2d5e;
    --brand: #ffd98a;
    --on-accent: #17153a;
    --shadow: 0 1px 2px rgb(0 0 0 / 30%), 0 12px 32px rgb(0 0 0 / 35%);
    --star: rgb(255 255 255 / 55%);
  }
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  min-height: 100vh;
  background:
    radial-gradient(1100px 520px at 50% -12%, var(--bg-glow) 0%, transparent 70%),
    var(--bg);
  color: var(--ink);
  font: 17px/1.6 ui-rounded, "SF Pro Rounded", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  overflow-x: hidden;
}
/* a light dusting of stars, drawn in CSS so there's no image to load */
body::before {
  content: "";
  position: fixed; inset: 0; z-index: -1; pointer-events: none;
  background-image:
    radial-gradient(1.2px 1.2px at 12% 18%, var(--star) 50%, transparent 51%),
    radial-gradient(1px 1px at 78% 12%, var(--star) 50%, transparent 51%),
    radial-gradient(1.4px 1.4px at 64% 34%, var(--star) 50%, transparent 51%),
    radial-gradient(1px 1px at 30% 52%, var(--star) 50%, transparent 51%),
    radial-gradient(1.2px 1.2px at 90% 60%, var(--star) 50%, transparent 51%),
    radial-gradient(1px 1px at 8% 80%, var(--star) 50%, transparent 51%),
    radial-gradient(1.3px 1.3px at 48% 88%, var(--star) 50%, transparent 51%);
}

a { color: var(--accent); text-underline-offset: 3px; }
a:hover { text-decoration-thickness: 2px; }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; border-radius: 6px; }

.wrap { max-width: 960px; margin: 0 auto; padding: 0 16px; }
.narrow { max-width: 720px; }

/* top bar */
.top { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 18px 0; flex-wrap: wrap; }
.brand { display: inline-flex; align-items: center; gap: 10px; color: var(--ink); text-decoration: none; font-weight: 700; font-size: 18px; min-height: 44px; }
.brand img { width: 32px; height: 32px; border-radius: 8px; }
.brand .mark { width: 36px; height: 36px; color: var(--brand); flex: none; }
.top nav { display: flex; gap: 4px; flex-wrap: wrap; }
.top nav a {
  color: var(--muted); text-decoration: none; font-size: 15px; font-weight: 600;
  padding: 10px 12px; border-radius: 999px; min-height: 44px; display: inline-flex; align-items: center;
}
.top nav a:hover, .top nav a[aria-current="page"] { color: var(--ink); background: var(--raised); }

/* hero */
.hero { padding: 48px 0 32px; }
.hero h1 { font-size: clamp(34px, 7vw, 56px); line-height: 1.08; margin: 0 0 14px; letter-spacing: -0.02em; }
.hero p.lede { font-size: clamp(18px, 2.6vw, 21px); color: var(--muted); margin: 0; max-width: 40ch; }
.at { color: var(--accent); }

h2 { font-size: 24px; line-height: 1.25; margin: 48px 0 16px; letter-spacing: -0.01em; }
h3 { font-size: 18px; margin: 0 0 6px; }
.muted { color: var(--muted); }
.small { font-size: 14px; }

/* app cards */
.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 16px; }
.card {
  background: var(--card); border: 1px solid var(--line); border-radius: 20px;
  padding: 20px; box-shadow: var(--shadow);
}
a.card { display: block; color: inherit; text-decoration: none; transition: transform .2s ease, border-color .2s ease; }
a.card:hover { transform: translateY(-2px); border-color: var(--accent); }
.app-card { display: flex; flex-direction: column; gap: 12px; }
.app-card .head { display: flex; gap: 14px; align-items: center; }
.app-card img { width: 64px; height: 64px; border-radius: 15px; flex: none; }
.app-card .name { font-size: 20px; font-weight: 700; }
.app-card .kind { color: var(--muted); font-size: 14px; }
.app-card p { margin: 0; }
.app-card .more { color: var(--app); font-weight: 600; font-size: 15px; margin-top: auto; }
.pill {
  display: inline-block; font-size: 13px; font-weight: 600; color: var(--muted);
  background: var(--raised); border-radius: 999px; padding: 3px 10px;
}

/* product page */
.product-hero { display: grid; grid-template-columns: auto 1fr; gap: 24px; align-items: center; padding: 40px 0 16px; }
.product-hero img { width: 128px; height: 128px; border-radius: 29px; box-shadow: var(--shadow); }
.product-hero h1 { font-size: clamp(32px, 6vw, 48px); margin: 6px 0 4px; line-height: 1.1; }
.product-hero .tag { font-size: 20px; color: var(--muted); margin: 0; }
@media (max-width: 560px) {
  .product-hero { grid-template-columns: 1fr; gap: 16px; padding-top: 24px; }
  .product-hero img { width: 96px; height: 96px; border-radius: 22px; }
}
.intro { font-size: 19px; max-width: 60ch; }
.button {
  display: inline-flex; align-items: center; justify-content: center; min-height: 44px;
  padding: 10px 20px; border-radius: 999px; font-weight: 700; text-decoration: none;
  background: var(--accent); color: var(--on-accent);
}
.button.ghost { background: transparent; color: var(--accent); border: 1.5px solid var(--accent); }
.actions { display: flex; gap: 10px; flex-wrap: wrap; margin: 20px 0 0; }
.features { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 14px; }
.features .card p { margin: 0; color: var(--muted); }
.note { border-left: 3px solid var(--accent); padding: 4px 0 4px 14px; color: var(--muted); }

/* long text (manual, privacy, terms, support, writing) */
.prose { max-width: 680px; }
.prose h1 { font-size: clamp(30px, 6vw, 40px); line-height: 1.15; margin: 32px 0 6px; }
.prose h2 { font-size: 20px; margin: 32px 0 8px; color: var(--accent); }
.prose ul { padding-left: 22px; }
.prose h3 { font-size: 17px; margin: 22px 0 4px; }
.prose li { margin: 4px 0; }
.prose > .lede { font-size: 19px; color: var(--muted); margin: 0 0 8px; }
.prose .card { margin: 16px 0; }
.prose img { max-width: 100%; height: auto; border-radius: 12px; }
.prose pre { background: var(--raised); padding: 14px; border-radius: 12px; overflow-x: auto; }
.prose code { font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: .92em; }
.subnav { display: flex; gap: 6px; flex-wrap: wrap; margin: 8px 0 0; }
.subnav a {
  font-size: 15px; font-weight: 600; text-decoration: none; color: var(--muted);
  padding: 8px 14px; border-radius: 999px; border: 1px solid var(--line); min-height: 44px; display: inline-flex; align-items: center;
}
.subnav a[aria-current="page"] { color: var(--accent); border-color: var(--accent); }

/* list rows (writing, links) */
.rows { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.rows a.card { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 16px 20px; min-height: 56px; }
.rows .date { color: var(--muted); font-size: 14px; white-space: nowrap; }
.empty { text-align: center; padding: 40px 20px; color: var(--muted); }

/* footer */
footer.site {
  margin-top: 72px; padding: 24px 0 40px; border-top: 1px solid var(--line);
  color: var(--muted); font-size: 14px; display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; align-items: center;
}
footer.site a { color: var(--muted); }
.https { white-space: nowrap; }
.https svg { vertical-align: -1.5px; margin-right: 4px; }
.theme-switch { display: inline-flex; border: 1px solid var(--line); border-radius: 999px; padding: 3px; gap: 2px; }
.theme-switch button {
  font: inherit; font-size: 13px; color: var(--muted); background: none; border: 0; cursor: pointer;
  padding: 6px 12px; border-radius: 999px; min-height: 40px; min-width: 48px;
}
.theme-switch button[aria-pressed="true"] { background: var(--raised); color: var(--ink); font-weight: 600; }

@media (prefers-reduced-motion: reduce) {
  * { transition: none !important; }
}

/* ---------- home page ---------- */
.home-hero {
  display: grid; grid-template-columns: 1.15fr .85fr; gap: 40px; align-items: center;
  padding: 64px 0 48px;
}
.eyebrow { text-transform: uppercase; letter-spacing: .12em; font-size: 13px; font-weight: 700; color: var(--accent); margin: 0 0 14px; }
.home-hero h1 { font-size: clamp(38px, 6.4vw, 64px); max-width: 14ch; }
.home-hero .lede { max-width: 46ch; }
.home-hero .actions { margin-top: 28px; }

/* the four icons, fanned out with a soft glow behind them */
.icon-fan { position: relative; aspect-ratio: 1; max-width: 380px; width: 100%; justify-self: center; }
.icon-fan::before {
  content: ""; position: absolute; inset: 12%; border-radius: 50%;
  background: radial-gradient(circle, var(--bg-glow), transparent 70%); filter: blur(20px); opacity: .9;
}
.icon-fan img {
  position: absolute; width: 44%; height: auto; border-radius: 22.5%;
  box-shadow: 0 18px 40px rgb(10 11 31 / 28%), 0 2px 6px rgb(10 11 31 / 18%);
  transition: transform .4s ease;
}
.icon-fan img:nth-child(1) { left: 2%;  top: 5%;    transform: rotate(-6deg); }
.icon-fan img:nth-child(2) { right: 2%; top: 0;      transform: rotate(5deg); }
.icon-fan img:nth-child(3) { left: 5%;  bottom: 0;   transform: rotate(4deg); }
.icon-fan img:nth-child(4) { right: 3%; bottom: 6%;  transform: rotate(-5deg); }
.icon-fan:hover img { transform: rotate(0) translateY(-4px); }

.strengths {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px;
  background: var(--line); border: 1px solid var(--line); border-radius: 20px; overflow: hidden;
  box-shadow: var(--shadow);
}
.strengths > div { background: var(--card); padding: 22px 24px; }
.strengths h3 { font-size: 17px; margin-bottom: 4px; }
.strengths p { margin: 0; color: var(--muted); font-size: 15px; }

.section-title { font-size: clamp(28px, 4.4vw, 36px); margin: 72px 0 24px; scroll-margin-top: 24px; }
.showcase { display: grid; gap: 20px; }
.show {
  display: grid; grid-template-columns: 160px 1fr; gap: 32px; align-items: start;
  background: var(--card); border: 1px solid var(--line); border-radius: 28px; padding: 32px;
  box-shadow: var(--shadow); position: relative; overflow: hidden;
}
.show::after { /* a wash of the app's own colour in the corner */
  content: ""; position: absolute; right: -160px; top: -160px; width: 420px; height: 420px; border-radius: 50%;
  background: radial-gradient(circle, var(--app), transparent 68%); opacity: .16; pointer-events: none;
}
.show-icon { width: 160px; height: 160px; border-radius: 36px; box-shadow: 0 14px 34px rgb(10 11 31 / 22%); }
.show-kind { margin: 0; color: var(--muted); font-size: 14px; font-weight: 600; }
.show h3 { font-size: clamp(26px, 4vw, 34px); margin: 4px 0 2px; letter-spacing: -0.01em; }
.show-tag { font-size: 19px; color: var(--app); font-weight: 600; margin: 0 0 12px; }
.show-body > p { max-width: 62ch; }
.ticks { list-style: none; padding: 0; margin: 16px 0 20px; display: flex; flex-wrap: wrap; gap: 8px; }
.ticks li { font-size: 14px; font-weight: 600; padding: 6px 12px; border-radius: 999px; background: var(--raised); }
.ticks li::before { content: "✓ "; color: var(--app); }
.show-foot { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; }
.app-button { background: var(--app); }
.show .note-line { margin-top: 14px; }

@media (max-width: 760px) {
  .home-hero { grid-template-columns: 1fr; padding: 32px 0 32px; gap: 24px; }
  .icon-fan { max-width: 260px; }
  .strengths { grid-template-columns: 1fr; }
  .show { grid-template-columns: 1fr; padding: 24px; gap: 16px; border-radius: 24px; }
  .show-icon { width: 96px; height: 96px; border-radius: 22px; }
}

/* ---------- about page ---------- */
.about-hero {
  display: grid; grid-template-columns: 1.1fr .9fr; gap: 40px; align-items: center;
  padding: 56px 0 48px;
}
.about-hero h1 { font-size: clamp(38px, 6.4vw, 64px); line-height: 1.06; margin: 0 0 16px; letter-spacing: -0.02em; max-width: 12ch; }
.about-hero .lede { font-size: clamp(18px, 2.6vw, 21px); color: var(--muted); margin: 0; max-width: 42ch; }
.about-hero .actions { margin-top: 28px; }

/* the logo, large, drawn as the one line it is */
.mark-stage { margin: 0; justify-self: center; width: 100%; max-width: 380px; position: relative; text-align: center; }
.mark-stage::before {
  content: ""; position: absolute; left: 6%; right: 6%; top: 0; aspect-ratio: 1; border-radius: 50%;
  background: radial-gradient(circle, var(--bg-glow), transparent 68%); filter: blur(24px); opacity: .95;
}
.line-mark { position: relative; display: block; width: 100%; height: auto; color: var(--brand); overflow: visible; }
.mark-stage figcaption { position: relative; color: var(--muted); font-size: 14px; line-height: 1.5; max-width: 34ch; margin: 4px auto 0; }
.redraw {
  font: inherit; font-size: 14px; font-weight: 700; color: var(--accent); background: none; border: 0; cursor: pointer;
  min-height: 44px; padding: 0 10px; border-radius: 999px; text-decoration: underline; text-underline-offset: 3px;
}
.mark-dot, .mark-spark { transform-box: fill-box; transform-origin: center; }
.line-mark.draw .mark-line { stroke-dasharray: 1; animation: mark-draw 3s cubic-bezier(.6, .05, .25, 1) .25s both; }
.line-mark.draw .mark-dot { animation: mark-pop .45s cubic-bezier(.3, 1.6, .5, 1) both; }
.line-mark.draw .mark-spark { animation: mark-pop .6s cubic-bezier(.3, 1.8, .5, 1) 3.1s both, mark-twinkle 3.6s ease-in-out 4s infinite; }
@keyframes mark-draw { from { stroke-dashoffset: 1; } to { stroke-dashoffset: 0; } }
@keyframes mark-pop { from { transform: scale(0); opacity: 0; } to { transform: scale(1); opacity: 1; } }
@keyframes mark-twinkle { 0%, 100% { transform: scale(1) rotate(0); } 50% { transform: scale(1.22) rotate(45deg); } }

/* the numbers */
.counts {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px;
  background: var(--line); border: 1px solid var(--line); border-radius: 24px; overflow: hidden; box-shadow: var(--shadow);
}
.counts > div { background: var(--card); padding: 24px 16px 22px; text-align: center; }
.count { display: block; font-size: clamp(48px, 8vw, 76px); font-weight: 800; line-height: 1; letter-spacing: -0.03em; color: var(--brand); font-variant-numeric: tabular-nums; }
.count-label { display: block; margin-top: 8px; color: var(--muted); font-size: 15px; font-weight: 600; }

/* the principles */
.principles { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
.principles .card { padding: 26px 26px 24px; position: relative; overflow: hidden; }
.principles .num { display: block; font-size: 14px; font-weight: 800; letter-spacing: .12em; color: var(--brand); margin-bottom: 10px; }
.principles h3 { font-size: 21px; margin-bottom: 6px; }
.principles p { margin: 0; color: var(--muted); }
.principles .card::after {
  content: ""; position: absolute; right: -90px; top: -90px; width: 220px; height: 220px; border-radius: 50%;
  background: radial-gradient(circle, var(--brand), transparent 68%); opacity: .1; pointer-events: none;
}

/* the apps as one constellation: a line through four stars */
.sky-lede { margin: -12px 0 8px; }
.sky { position: relative; display: grid; grid-template-columns: repeat(var(--n, 4), 1fr); padding-bottom: 8px; }
.sky-line { position: absolute; left: 0; top: 0; width: 100%; height: 200px; color: var(--brand); opacity: .55; pointer-events: none; }
.star {
  position: relative; display: flex; flex-direction: column; align-items: center; text-align: center; gap: 14px;
  padding: var(--y) 10px 12px; color: inherit; text-decoration: none; border-radius: 24px;
}
.star img {
  width: 96px; height: 96px; border-radius: 22px;
  box-shadow: 0 0 0 6px var(--bg), 0 14px 34px rgb(10 11 31 / 26%);
  transition: transform .35s cubic-bezier(.3, 1.4, .5, 1), box-shadow .35s ease;
}
.star:hover img, .star:focus-visible img { transform: translateY(-6px) scale(1.06); box-shadow: 0 0 0 6px var(--bg), 0 0 0 8px var(--app), 0 20px 44px rgb(10 11 31 / 30%); }
.star-text { display: flex; flex-direction: column; align-items: center; gap: 4px; }
.star-text strong { font-size: 21px; letter-spacing: -0.01em; }
.star-tag { color: var(--app); font-weight: 600; line-height: 1.35; }
.star-kind { color: var(--muted); font-size: 14px; line-height: 1.4; }
.star .pill { margin-top: 6px; }

/* contact */
.hello { margin-top: 72px; padding: 32px; border-radius: 28px; display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap; position: relative; overflow: hidden; }
.hello::after {
  content: ""; position: absolute; left: -140px; bottom: -200px; width: 420px; height: 420px; border-radius: 50%;
  background: radial-gradient(circle, var(--brand), transparent 68%); opacity: .14; pointer-events: none;
}
.hello > * { position: relative; }
.hello h2 { margin: 0 0 4px; font-size: clamp(26px, 4vw, 34px); }
.hello p { margin: 0; color: var(--muted); max-width: 44ch; }

/* things rise into place as they come into view (only when scripts run and motion is welcome) */
@media (prefers-reduced-motion: no-preference) {
  .js [data-reveal] { opacity: 0; transform: translateY(18px); transition: opacity .7s ease, transform .7s cubic-bezier(.2, .7, .2, 1); transition-delay: calc(var(--d, 0) * 90ms); }
  .js [data-reveal].in { opacity: 1; transform: none; }
  .js .sky .sky-line polyline { stroke-dasharray: 1; stroke-dashoffset: 1; transition: stroke-dashoffset 1.8s ease .2s; }
  .js .sky.in .sky-line polyline { stroke-dashoffset: 0; }
  .js .sky .star { opacity: 0; transform: scale(.9); transition: opacity .5s ease, transform .6s cubic-bezier(.3, 1.4, .5, 1); transition-delay: calc(var(--d, 0) * 380ms + 200ms); }
  .js .sky.in .star { opacity: 1; transform: none; }
}
@media (prefers-reduced-motion: reduce) {
  .line-mark .mark-line, .line-mark .mark-dot, .line-mark .mark-spark { animation: none !important; }
}

@media (max-width: 760px) {
  .about-hero { grid-template-columns: 1fr; padding: 28px 0 32px; gap: 28px; }
  .mark-stage { max-width: 260px; }
  .counts { grid-template-columns: repeat(2, 1fr); }
  .principles { grid-template-columns: 1fr; }
  /* the constellation turns to run down the page */
  .sky { grid-template-columns: 1fr; gap: 6px; }
  .sky-line { display: none; }
  .sky::before { content: ""; position: absolute; left: 47px; top: 40px; bottom: 60px; width: 1.5px; background: var(--brand); opacity: .45; }
  .star { flex-direction: row; align-items: center; text-align: left; gap: 16px; padding: 12px 8px; }
  .star img { width: 80px; height: 80px; border-radius: 18px; flex: none; }
  .star-text { align-items: flex-start; }
  .hello { padding: 24px; margin-top: 56px; }
}

/* ---------- every page ---------- */
/* a second, twinkling layer of stars */
body::after {
  content: ""; position: fixed; inset: 0; z-index: -1; pointer-events: none;
  background-image:
    radial-gradient(1.5px 1.5px at 22% 30%, var(--star) 50%, transparent 51%),
    radial-gradient(1.2px 1.2px at 70% 22%, var(--star) 50%, transparent 51%),
    radial-gradient(1.6px 1.6px at 84% 78%, var(--star) 50%, transparent 51%),
    radial-gradient(1.2px 1.2px at 38% 70%, var(--star) 50%, transparent 51%),
    radial-gradient(1.4px 1.4px at 56% 8%, var(--star) 50%, transparent 51%);
}
@media (prefers-reduced-motion: no-preference) {
  body::after { animation: twinkle 5s ease-in-out infinite alternate; }
}
@keyframes twinkle { from { opacity: .25; } to { opacity: 1; } }

.page-head { padding: 56px 0 32px; max-width: 720px; }
.page-head h1 { font-size: clamp(36px, 6vw, 56px); line-height: 1.08; margin: 0 0 14px; letter-spacing: -0.02em; }
.page-head .lede { font-size: clamp(18px, 2.6vw, 21px); color: var(--muted); margin: 0; max-width: 46ch; }
.section-title { scroll-margin-top: 24px; }
.glyph { color: var(--accent); }

/* ---------- home ---------- */
@media (prefers-reduced-motion: no-preference) {
  .icon-fan img { animation: float 6s ease-in-out infinite; animation-delay: calc(var(--i, 0) * -1.5s); }
}
@keyframes float { 0%, 100% { translate: 0 0; } 50% { translate: 0 -10px; } }
.show { transition: border-color .3s ease, transform .3s ease; }
.show:hover { border-color: var(--app); }
.show-icon { transition: transform .4s cubic-bezier(.3, 1.4, .5, 1); }
.show:hover .show-icon { transform: rotate(-3deg) scale(1.04); }
.maker { margin-top: 72px; padding: 36px; border-radius: 28px; display: grid; grid-template-columns: 200px 1fr; gap: 36px; align-items: center; position: relative; overflow: hidden; }
.maker::after {
  content: ""; position: absolute; left: -120px; top: -120px; width: 440px; height: 440px; border-radius: 50%;
  background: radial-gradient(circle, var(--brand), transparent 68%); opacity: .13; pointer-events: none;
}
.maker > * { position: relative; }
.maker-mark { width: 100%; height: auto; color: var(--brand); overflow: visible; }
.maker h2 { margin: 0 0 8px; font-size: clamp(26px, 4vw, 34px); }
.maker p:not(.eyebrow) { margin: 0; color: var(--muted); max-width: 48ch; }
.maker .eyebrow { margin-bottom: 8px; }

/* ---------- links ---------- */
.link-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 12px; max-width: 760px; }
.link-card {
  display: flex; align-items: center; gap: 16px; padding: 14px 20px 14px 14px; min-height: 84px;
  background: var(--card); border: 1px solid var(--line); border-radius: 22px; box-shadow: var(--shadow);
  color: inherit; text-decoration: none; transition: transform .25s ease, border-color .25s ease;
}
.link-card img { width: 56px; height: 56px; border-radius: 13px; flex: none; }
.link-glyph { width: 56px; height: 56px; border-radius: 13px; flex: none; display: grid; place-items: center; background: var(--raised); }
.link-text { display: flex; flex-direction: column; flex: 1; min-width: 0; }
.link-text strong { font-size: 18px; }
.link-text span { color: var(--muted); font-size: 15px; line-height: 1.4; }
.link-host { color: var(--muted); font-size: 14px; white-space: nowrap; }
.arrow { font-size: 20px; color: var(--app, var(--accent)); transition: transform .25s ease; }
.link-card:hover { transform: translateY(-2px); border-color: var(--app, var(--accent)); }
.link-card:hover .arrow { transform: translateX(4px); }

/* ---------- writing ---------- */
.post-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 14px; max-width: 760px; }
.post-card {
  display: flex; flex-direction: column; gap: 6px; padding: 24px; border-radius: 22px;
  background: var(--card); border: 1px solid var(--line); box-shadow: var(--shadow); color: inherit; text-decoration: none;
  transition: transform .25s ease, border-color .25s ease;
}
.post-card strong { font-size: 22px; line-height: 1.25; }
.post-card .date { color: var(--accent); font-size: 13px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
.post-card .read { color: var(--accent); font-weight: 700; font-size: 15px; margin-top: 4px; }
.post-card:hover { transform: translateY(-2px); border-color: var(--accent); }
.post .lede { font-size: 21px; color: var(--muted); }
.soon { max-width: 760px; padding: 44px 32px; border-radius: 28px; text-align: center; }
.soon h2 { margin: 16px 0 8px; font-size: clamp(24px, 4vw, 30px); }
.soon p { color: var(--muted); margin: 0 auto; max-width: 42ch; }
.soon .actions { justify-content: center; }
.soon-spark, .lost-spark { width: 56px; height: 56px; color: var(--brand); }
@media (prefers-reduced-motion: no-preference) {
  .soon-spark, .lost-spark { animation: mark-twinkle 3.6s ease-in-out infinite; }
}

/* ---------- 404 ---------- */
.lost { text-align: center; padding: 64px 0 24px; max-width: 620px; margin: 0 auto; }
.lost h1 { font-size: clamp(38px, 7vw, 64px); line-height: 1.05; margin: 0 0 14px; letter-spacing: -0.02em; }
.lost .eyebrow { margin: 18px 0 8px; }
.lost .lede { color: var(--muted); font-size: 19px; margin: 0 auto; }
.lost-home { text-align: center; margin-top: 24px; }

/* ---------- app sites ---------- */
.app-hero { display: grid; grid-template-columns: auto 1fr; gap: 48px; align-items: center; padding: 56px 0 24px; }
.app-hero-icon { position: relative; }
.app-hero-icon::before {
  content: ""; position: absolute; inset: -40%; border-radius: 50%;
  background: radial-gradient(circle, var(--accent), transparent 62%); opacity: .3; filter: blur(10px);
}
.app-hero-icon img { position: relative; display: block; width: 200px; height: 200px; border-radius: 45px; box-shadow: 0 24px 60px rgb(10 11 31 / 30%), 0 2px 6px rgb(10 11 31 / 18%); }
@media (prefers-reduced-motion: no-preference) {
  .app-hero-icon img { animation: float 6s ease-in-out infinite; }
}
.app-hero h1 { font-size: clamp(42px, 8vw, 72px); line-height: 1; margin: 0 0 8px; letter-spacing: -0.03em; }
.app-hero .tag { font-size: clamp(20px, 3vw, 26px); color: var(--accent); font-weight: 700; margin: 0 0 14px; }
.app-hero .eyebrow { margin-bottom: 10px; }
.big-intro { font-size: clamp(19px, 2.6vw, 23px); line-height: 1.55; max-width: 52ch; margin: 24px 0 0; }
.feature-list .num, .feature-list .card::after { color: var(--accent); }
.feature-list .card::after { background: radial-gradient(circle, var(--accent), transparent 68%); }
.feature-list .num { color: var(--accent); }
.facts { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 16px; }
.facts .card { padding: 24px; }
.facts .glyph { width: 28px; height: 28px; margin-bottom: 10px; }
.facts p { margin: 0; color: var(--muted); }

/* support, privacy, terms */
.legal { padding-top: 8px; }
.legal.has-toc { display: grid; grid-template-columns: minmax(0, 680px) 220px; gap: 56px; align-items: start; }
.legal-eyebrow { margin: 40px 0 0; }
.legal .prose h1 { margin-top: 8px; }
.legal .prose h2 { scroll-margin-top: 24px; }
.legal .prose .card { border-radius: 20px; }
.toc { position: sticky; top: 24px; margin-top: 40px; display: flex; flex-direction: column; gap: 2px; border-left: 1.5px solid var(--line); padding-left: 14px; }
.toc a { color: var(--muted); text-decoration: none; font-size: 14px; font-weight: 600; padding: 7px 0; line-height: 1.35; }
.toc a:hover { color: var(--accent); }
.toc .eyebrow { margin: 0 0 6px; font-size: 12px; }

@media (max-width: 860px) {
  .legal.has-toc { grid-template-columns: 1fr; gap: 0; }
  .toc { display: none; }
}
@media (max-width: 760px) {
  .page-head { padding: 28px 0 24px; }
  .maker { grid-template-columns: 1fr; padding: 24px; gap: 20px; margin-top: 56px; }
  .maker-mark { width: 120px; }
  .link-host { display: none; }
  .app-hero { grid-template-columns: 1fr; gap: 28px; padding: 32px 0 16px; }
  .app-hero-icon img { width: 136px; height: 136px; border-radius: 31px; }
  .lost { padding-top: 40px; }
}
