/* carda.network — the brand world (owner, 2026-09-30).
   The website is a brand surface, not an app screen: its own type (Archivo, condensed
   black for display), paper, grain and the logo's four tile hues. The app's rules
   (SF Pro, the grey ground, tokens.ts) do not bind it. */
/* Archivo, hosted here (fonts/OFL.txt). One variable file per script: width 62–125, weight 100–900. */
@font-face { font-family: Archivo; font-style: normal; font-weight: 100 900; font-stretch: 62% 125%; font-display: swap;
  src: url(/fonts/archivo-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: Archivo; font-style: normal; font-weight: 100 900; font-stretch: 62% 125%; font-display: swap;
  src: url(/fonts/archivo-latin-ext.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
:root {
  --paper: #EEE9DF;
  --ink: #16130F;
  --ink2: #4A443B;
  /* the logo's four tiles, and what each one means in the app */
  --terra: #D9653F; /* new people */
  --rose: #D65582;  /* interactions */
  --teal: #2F9A96;  /* events */
  --amber: #DDA02E; /* tasks */
  --ease: cubic-bezier(.16, 1, .3, 1);
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; background: var(--paper); }
body {
  margin: 0; color: var(--ink);
  font-family: Archivo, system-ui, -apple-system, "Helvetica Neue", Arial, sans-serif;
  font-stretch: 100%; font-size: 18px; line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; }
:focus-visible { outline: 3px solid var(--ink); outline-offset: 4px; border-radius: 8px; }
main { overflow-x: clip; }
.cond { font-stretch: 62%; font-weight: 900; text-transform: uppercase; letter-spacing: -.005em; line-height: .86; }

/* paper grain over everything */
.grain {
  position: fixed; inset: -50%; z-index: 60; pointer-events: none; opacity: .13; mix-blend-mode: multiply;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='220' height='220'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='220' height='220' filter='url(%23n)'/%3E%3C/svg%3E");
  animation: grain 1s steps(6) infinite;
}
@keyframes grain { 0%,100% { transform: translate(0,0) } 20% { transform: translate(-3%,2%) } 40% { transform: translate(2%,-3%) } 60% { transform: translate(-2%,-1%) } 80% { transform: translate(3%,3%) } }

nav {
  position: fixed; inset: 0 0 auto; z-index: 40; display: flex; justify-content: space-between; align-items: center;
  padding: 22px clamp(18px, 3.4vw, 44px);
}
.brand { font-stretch: 62%; font-weight: 900; font-size: 30px; letter-spacing: .01em; text-transform: uppercase; text-decoration: none; line-height: 1; }
.links a { margin-left: 26px; text-decoration: none; font-weight: 700; font-size: 13px; letter-spacing: .14em; text-transform: uppercase; position: relative; }
.links a::after { content: ""; position: absolute; left: 0; right: 0; bottom: -4px; height: 2px; background: currentColor; transform: scaleX(0); transform-origin: right; transition: transform .45s var(--ease); }
.links a:hover::after, .links a[aria-current]::after { transform: scaleX(1); transform-origin: left; }

/* a letter that stretches when you point at it */
.ch { display: inline-block; transition: font-stretch .7s var(--ease); }
@media (hover: hover) and (pointer: fine) { .stretch .ch:hover { font-stretch: 125%; } }

footer { position: relative; z-index: 2; background: var(--ink); color: var(--paper); padding: 48px clamp(18px, 3.4vw, 44px) 30px; overflow: hidden; }
footer .row { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; font-weight: 700; font-size: 13px; letter-spacing: .14em; text-transform: uppercase; margin-bottom: 34px; }
footer .row a { text-decoration: none; margin-left: 24px; opacity: .75; transition: opacity .3s; }
footer .row a:hover { opacity: 1; }
footer .word { font-size: clamp(120px, 31vw, 560px); line-height: .78; margin: 0 0 -.06em -.02em; display: block; }

/* ---------- Support, Privacy, Terms ---------- */
.doc-head { background: var(--c); padding: 150px clamp(18px, 3.4vw, 44px) 56px; position: relative; }
.doc-head h1 { font-size: clamp(64px, 12vw, 190px); margin: 0; }
.doc-head .meta { margin: 22px 0 0; font-weight: 700; font-size: 13px; letter-spacing: .14em; text-transform: uppercase; }
.doc-head .wave { position: absolute; left: 0; right: 0; bottom: -40px; width: 100%; height: 42px; }
.doc-head .wave path { fill: var(--c); }
.doc { max-width: 44em; padding: 90px clamp(18px, 3.4vw, 44px) 110px; margin: 0 auto 0 clamp(0px, 8vw, 140px); }
.doc .lead { font-size: clamp(21px, 2vw, 26px); line-height: 1.4; font-weight: 500; margin: 0 0 48px; text-wrap: pretty; }
.doc h2 { font-stretch: 62%; font-weight: 900; text-transform: uppercase; font-size: clamp(30px, 3.2vw, 44px); line-height: .95; margin: 52px 0 12px; }
.doc p { margin: 0 0 14px; color: var(--ink2); text-wrap: pretty; }
.doc a { color: var(--ink); text-decoration-thickness: 2px; text-underline-offset: 3px; }
.doc .note { font-size: 14px; margin-top: 48px; }
.mail { display: inline-block; font-stretch: 62%; font-weight: 900; text-transform: uppercase; font-size: clamp(34px, 6vw, 80px); line-height: .9; text-decoration: none !important; margin: 4px 0 26px; }

@media (max-width: 860px) {
  .links a:not(:first-child) { display: none; }
  .doc { margin: 0 auto; }
}
@media (prefers-reduced-motion: reduce) { .grain { animation: none; } }

/* Phones: the bar scrolls away with the page, so it never sits on a
   chapter's words (2026-10-02, owner: text looked cut off on mobile). */
@media (max-width: 860px) { nav { position: absolute; } }
