/* felt, research build. One light page: big condensed type, system text, two screenshots.
   felt's own rules apply: monochrome, colour only for state, restraint over flourish. */

:root {
  --bg: #ffffff;
  --ink: #0b0b0c;
  --dim: #6e6e73;
  --faint: #a1a1a6;
  --fill: #f5f5f7;
  --fill-2: #e8e8ed;
  --good: #1f8a3e;
  --text: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Helvetica Neue", Helvetica, Arial, sans-serif;
  --display: "Archivo", "Arial Narrow", "Helvetica Neue Condensed", -apple-system, sans-serif;
  --mono: ui-monospace, "SF Mono", SFMono-Regular, Menlo, Consolas, monospace;
  /* The whole type scale. Display: h1 and h2 only. Text: large, body, small. */
  --t-lg: 21px;
  --t-md: 17px;
  --t-sm: 14px;
  --measure: 40rem; /* about 65 characters of body text */
  --gutter: clamp(20px, 5vw, 48px);
  --banner-h: 0px;
  color-scheme: light;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font: 400 var(--t-md)/1.5 var(--text);
  -webkit-font-smoothing: antialiased;
  overflow-wrap: break-word;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { text-decoration-thickness: 2px; }
:focus-visible { outline: 2px solid var(--ink); outline-offset: 3px; border-radius: 4px; }
p { margin: 0; text-wrap: pretty; }
strong { font-weight: 600; }
code { font-family: var(--mono); font-size: 0.82em; background: var(--fill); padding: 0.1em 0.35em; border-radius: 6px; }

/* ── The banner: always in view ─────────────────────────────── */
.banner {
  position: sticky;
  top: 0;
  z-index: 20;
  background: var(--ink);
  color: #fff;
  padding: calc(14px + env(safe-area-inset-top, 0px)) var(--gutter) 14px;
  text-align: center;
}
.banner strong { display: block; font-size: var(--t-lg); line-height: 1.3; font-weight: 600; }
.banner span { display: block; margin-top: 4px; font-size: var(--t-sm); line-height: 1.45; color: rgba(255, 255, 255, 0.7); }

/* ── Layout ─────────────────────────────────────────────────── */
.wrap { max-width: 1080px; margin: 0 auto; padding-inline: var(--gutter); }
/* Reading sections: one centered column at the reading measure. */
.narrow { max-width: calc(var(--measure) + 2 * var(--gutter)); }
section { padding-block: clamp(72px, 11vw, 136px) 0; scroll-margin-top: calc(var(--banner-h) + 16px); }

h1, h2 {
  font-family: var(--display);
  font-weight: 800;
  font-stretch: 62%;
  font-variation-settings: "wdth" 62;
  text-transform: uppercase;
  margin: 0;
}
h2 {
  font-size: clamp(44px, 7.4vw, 88px);
  line-height: 0.9;
  letter-spacing: -0.005em;
  margin-bottom: 24px;
  text-wrap: balance;
}
h3 { font: 600 var(--t-md)/1.4 var(--text); margin: 0; text-wrap: balance; }
.lede { font-size: var(--t-lg); line-height: 1.45; max-width: 32em; text-wrap: pretty; }
.dim { color: var(--dim); }
.prose { display: flex; flex-direction: column; gap: 18px; max-width: var(--measure); }
/* A centered section: heading and copy share the page's center line. */
.centered { text-align: center; }
.centered .prose, .centered .intro { margin-inline: auto; }
.centered .prose { align-items: center; }

/* ── Hero ───────────────────────────────────────────────────── */
.hero { padding-top: clamp(48px, 7vw, 88px); text-align: center; }
h1 .nowrap { white-space: nowrap; }
.mark { display: flex; justify-content: center; }
.mark img {
  width: clamp(96px, 14vw, 132px);
  height: auto;
  border-radius: 23%;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.08), 0 18px 40px -12px rgba(0, 0, 0, 0.35);
}
h1 {
  font-size: clamp(46px, 12.4vw, 150px);
  line-height: 0.86;
  letter-spacing: -0.01em;
  margin: clamp(28px, 4vw, 44px) auto 0;
}
.hero .lede { margin: 32px auto 0; }
.downloads { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-top: 36px; }
.btn {
  display: inline-flex; flex-direction: column; align-items: flex-start; justify-content: center;
  min-width: 220px; padding: 12px 26px; border-radius: 999px;
  background: var(--ink); color: #fff; text-decoration: none; text-align: left;
  transition: transform 140ms cubic-bezier(0.23, 1, 0.32, 1), background-color 140ms;
  -webkit-tap-highlight-color: transparent; touch-action: manipulation;
}
.btn:hover { text-decoration: none; background: #2a2a2d; }
.btn:active { transform: scale(0.97); }
.btn small { font-size: var(--t-sm); line-height: 1.3; opacity: 0.66; }
.btn b { font-size: var(--t-md); line-height: 1.3; font-weight: 600; }
.btn.light { background: var(--fill-2); color: var(--ink); }
.btn.light:hover { background: #dcdce1; }
.btn[aria-disabled="true"] { opacity: 0.45; pointer-events: none; }
@media (prefers-reduced-motion: reduce) { .btn { transition: none; } }
.under-buttons { margin-top: 16px; font-size: var(--t-sm); color: var(--dim); }

/* ── The flow: your wallet, the vault, felt ─────────────────── */
.flow { display: grid; grid-template-columns: 1fr 1fr 1fr; margin-top: 80px; position: relative; }
.flow::before {
  content: ""; position: absolute; top: 5px; left: 16.66%; right: 16.66%; height: 2px; background: var(--ink);
}
.flow div { position: relative; text-align: center; padding-inline: 8px; }
.flow .dot {
  display: block; width: 12px; height: 12px; margin: 0 auto 18px; border-radius: 50%;
  background: var(--bg); box-shadow: inset 0 0 0 2px var(--ink);
}
.flow .dot.solid { background: var(--ink); }
.flow b { display: block; font-weight: 600; }
.flow span { display: block; font-size: var(--t-sm); color: var(--dim); max-width: 18em; margin: 2px auto 0; }
@media (max-width: 620px) {
  /* Stacked and centered, like the copy above it: a short line joins each stop to the next. */
  .flow { grid-template-columns: 1fr; gap: 56px; }
  .flow::before { display: none; }
  .flow .dot { margin-bottom: 12px; }
  .flow div:not(:last-child)::after {
    content: ""; position: absolute; left: 50%; top: calc(100% + 12px); height: 32px; width: 2px;
    margin-left: -1px; background: var(--ink);
  }
}

/* ── The 79 secrets ─────────────────────────────────────────── */
.secrets { display: grid; grid-template-columns: repeat(16, 1fr); gap: 6px; max-width: 420px; margin-top: 8px; }
.secrets i { aspect-ratio: 1; border-radius: 4px; background: var(--fill-2); }
.secrets i.open { background: var(--ink); }
figure { margin: 0; }
figcaption { margin-top: 14px; font-size: var(--t-sm); color: var(--dim); max-width: 32em; }
.sticky-figure { position: sticky; top: calc(var(--banner-h) + 40px); }
@media (max-width: 820px) { .sticky-figure { position: static; order: -1; } }
.figures { margin: 8px 0; display: flex; flex-direction: column; gap: 14px; padding: 22px 24px; border-radius: 18px; background: var(--fill); }
.figures dt { font-weight: 600; }
.figures dd { margin: 2px 0 0; color: var(--dim); }
.figures sup { font-size: 0.7em; line-height: 0; }
.split { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); gap: clamp(32px, 6vw, 88px); align-items: start; }
@media (max-width: 820px) { .split { grid-template-columns: 1fr; } }


.limits { margin: 0; padding-left: 20px; display: flex; flex-direction: column; gap: 8px; color: var(--dim); }

/* ── Screens ────────────────────────────────────────────────── */
.phone {
  border-radius: 13% / 6%;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06), 0 30px 60px -24px rgba(0, 0, 0, 0.32);
  overflow: hidden;
  background: #fff;
}
.phone img { width: 100%; height: auto; }
.shots { display: grid; grid-template-columns: repeat(2, minmax(0, 300px)); justify-content: center; gap: clamp(24px, 5vw, 72px); margin-top: 56px; }
.shots figcaption { text-align: center; margin-inline: auto; }
@media (max-width: 560px) { .shots { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; } }

/* ── Guide ──────────────────────────────────────────────────── */
.part { margin-top: 64px; }
.part + .part { margin-top: 96px; }
.part-title { font-size: var(--t-lg); line-height: 1.3; }
.steps { list-style: none; margin: 0; padding: 0; }
.steps > li { margin-top: 36px; }
.steps .body { display: flex; flex-direction: column; gap: 14px; }
.steps .body > h3 { margin-bottom: -8px; }
.steps .body > p { color: var(--dim); }
.steps .body > p strong { color: var(--ink); }

.cmd { background: var(--fill); border-radius: 14px; display: flex; align-items: flex-start; gap: 8px; padding: 10px; }
.cmd pre {
  flex: 1; min-width: 0; margin: 0; padding: 6px 0 6px 8px; font: var(--t-sm)/1.6 var(--mono);
  white-space: pre; overflow-x: auto;
}
.cmd button {
  flex: none;
  font: 600 var(--t-sm)/1 var(--text); border: 0; border-radius: 999px; cursor: pointer;
  background: #fff; color: var(--ink); height: 30px; min-width: 66px; padding: 0 14px;
  -webkit-tap-highlight-color: transparent; touch-action: manipulation; user-select: none;
  transition: transform 120ms cubic-bezier(0.23, 1, 0.32, 1);
}
.cmd button:active { transform: scale(0.96); }
.steps .body > .note b { color: var(--ink); font-weight: 600; }

/* ── Know this ──────────────────────────────────────────────── */
.facts { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 28px; }
.facts b { display: block; font-weight: 600; margin-bottom: 4px; }
.facts span { color: var(--dim); }

/* ── FAQ ────────────────────────────────────────────────────── */
.faq { display: flex; flex-direction: column; gap: 8px; }
.faq details { background: var(--fill); border-radius: 18px; }
.faq summary {
  list-style: none; cursor: pointer; padding: 22px 64px 22px 24px; position: relative;
  font-weight: 600;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after, .faq summary::before {
  content: ""; position: absolute; right: 26px; top: 50%; width: 14px; height: 2px; background: var(--ink);
  transition: transform 200ms cubic-bezier(0.23, 1, 0.32, 1);
}
.faq summary::before { transform: rotate(90deg); }
.faq details[open] summary::before { transform: rotate(0deg); }
@media (prefers-reduced-motion: reduce) { .faq summary::before { transition: none; } }
.faq .answer { padding: 0 24px 24px; color: var(--dim); display: flex; flex-direction: column; gap: 12px; }

/* ── Footer ─────────────────────────────────────────────────── */
footer.wrap { margin-top: clamp(96px, 12vw, 160px); padding-block: 0 calc(56px + env(safe-area-inset-bottom, 0px)); }
.foot { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 24px; font-size: var(--t-sm); color: var(--dim); }
.foot nav { display: flex; flex-wrap: wrap; gap: 8px 24px; }
@media (max-width: 560px) { .foot { flex-direction: column; align-items: center; text-align: center; } .foot nav { justify-content: center; } }
.closing { text-align: center; padding-top: clamp(64px, 8vw, 104px); }
.closing h2 { margin-bottom: 0; }
