/* Followire home page prototype (5 Oct 2026): additions on top of the live
   site's style.css. Same tokens, same type scale; new blocks only. */

/* Hero: words on the left, the Wire on the right */
.hero { text-align: left; }
.hero .inner { width: 100%; max-width: 1080px; padding: 120px 28px 80px; display: grid; grid-template-columns: 1.1fr .9fr; gap: 48px; align-items: center; }
.hero h1 { margin-bottom: 18px; }
.hero p { margin: 0 0 28px; }
.cta-row { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.store { display: inline-flex; align-items: center; gap: 10px; padding: 11px 18px 11px 14px; border-radius: 12px; text-decoration: none; font-weight: 700; font-size: 14.5px; line-height: 1.1; }
.store.play { background: var(--accent); color: #0F1F17; }
.store.play small { display: block; font-size: 10.5px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; opacity: .75; }
.store.soon { border: 1px solid rgba(255,255,255,.22); color: #B4C3BC; font-weight: 600; }
.store svg { width: 22px; height: 22px; flex: none; }
.hero-note { font-size: 13px; color: #8FA39A; margin: 14px 0 0; }

/* Phones */
.phone { background: #1C3A34; border-radius: 44px; padding: 10px; box-shadow: 0 30px 60px rgba(0,0,0,.35); width: min(320px, 100%); margin: 0 auto; }
.phone .scr { border-radius: 36px; overflow: hidden; background: #FBF7F0; aspect-ratio: 390 / 844; }
.phone svg { display: block; width: 100%; height: 100%; }
.hero .phone { transform: rotate(-2deg); }

/* Two-column feature rows (text + phone) */
.row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; }
.row2.flip .phone-col { order: -1; }
.phone-col { display: grid; place-items: center; }

/* The confirmation steps */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-top: 40px; counter-reset: step; }
.step { background: var(--sheet); border: 1px solid var(--line); border-radius: 18px; padding: 24px 22px 22px; position: relative; box-shadow: var(--shadow); }
.step::before { counter-increment: step; content: counter(step); display: grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; background: var(--accent); color: #2A1F07; font-weight: 800; font-size: 14px; margin-bottom: 14px; }
.step h3 { margin: 0 0 8px; font-size: 17px; }
.step p { margin: 0; font-size: 14.5px; }
.ui { margin-top: 14px; background: var(--gold-panel); border: 1px solid var(--gold-line); border-radius: 12px; padding: 12px 14px; font-size: 13px; color: var(--ink); }
.ui b { display: block; font-weight: 800; }
.ui .btns { display: flex; gap: 8px; margin-top: 10px; }
.ui .btns span { padding: 6px 12px; border-radius: 999px; font-weight: 700; font-size: 12px; background: var(--sheet); border: 1px solid var(--line); }
.ui .btns span.gold { background: var(--accent); border-color: var(--accent); color: #2A1F07; }
.ui .id { font-family: ui-monospace, Menlo, monospace; background: var(--sheet); border: 1px solid var(--line); border-radius: 10px; padding: 8px 10px; margin-top: 8px; }

/* Cards: a drawing strip on top */
.card .art { min-height: 150px; margin: -8px -6px 14px; display: grid; place-items: center; overflow: hidden; }
.card .art svg { width: 100%; height: 150px; }
.card .art.emoji { font-size: 44px; white-space: nowrap; letter-spacing: .1em; }
@media (min-width: 900px) { .grid { grid-template-columns: repeat(3, 1fr); } }

/* Who can see this: the sheet, as in the app */
.sheet { background: var(--sheet); border: 1px solid var(--line); border-radius: 18px; padding: 16px 18px; box-shadow: var(--shadow); max-width: 360px; }
.sheet .t { font-weight: 800; font-size: 15px; margin-bottom: 2px; }
.sheet .s { font-size: 12.5px; color: var(--mute); margin-bottom: 10px; }
.opt { display: flex; align-items: center; gap: 12px; padding: 10px 0; border-top: 1px solid var(--line2); }
.opt .r { width: 20px; height: 20px; border-radius: 50%; border: 2px solid var(--line); flex: none; }
.opt .r.on { border: 6px solid var(--accent); background: var(--sheet); }
.opt .r.sq { border-radius: 6px; }
.opt .r.sq.on { border: 2px solid var(--accent); background: var(--accent); }
.opt .l { flex: 1; }
.opt .l b { display: block; font-size: 14px; }
.opt .l span { font-size: 12px; color: var(--ink2); }
.dial { display: inline-flex; align-items: center; gap: 10px; background: var(--sunk); border-radius: 999px; padding: 4px 8px; font-weight: 700; font-size: 13px; }
.dial b { width: 24px; height: 24px; border-radius: 50%; background: var(--sheet); border: 1px solid var(--line); display: grid; place-items: center; }
.sheet .done { margin-top: 12px; text-align: right; font-weight: 800; color: var(--accent-ink); }

/* Privacy list */
.plain { list-style: none; padding: 0; margin: 28px 0 0; display: grid; grid-template-columns: 1fr 1fr; gap: 10px 28px; }
.plain li { position: relative; padding-left: 26px; color: var(--ink2); font-size: 15.5px; line-height: 1.5; }
.plain li::before { content: ''; position: absolute; left: 0; top: 9px; width: 12px; height: 12px; border-radius: 50%; background: var(--accent); }
.plain li strong { color: var(--ink); }

/* Chat bubbles for the chat card */
.bub { font-size: 12px; line-height: 1.35; padding: 6px 10px; border-radius: 14px; max-width: 86%; margin: 4px 0; }
.bub.me { background: var(--accent-soft); margin-left: auto; border-bottom-right-radius: 4px; }
.bub.them { background: var(--sunk); border-bottom-left-radius: 4px; }
.bub .tk { color: #2F80ED; font-size: 10px; margin-left: 6px; }

/* Get the app */
.get { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: start; }
.get .store.play { background: var(--ink); color: var(--paper); }
.get .store.soon { border-color: var(--line); color: var(--ink2); }

@media (max-width: 860px) {
  .hero .inner { grid-template-columns: 1fr; padding-top: 110px; }
  .hero .phone { transform: none; width: min(260px, 80%); }
  .row2, .get, .plain { grid-template-columns: 1fr; }
  .row2.flip .phone-col { order: 0; }
  .steps { grid-template-columns: 1fr; }
}

/* Screenshot mode (?static): no viewport-sized blocks, so one tall capture shows the whole page */
html.static .hero { min-height: 0; }
html.static .stage-hold { min-height: 0; }
html.static .stage-hold .sticky { position: static; height: auto; padding: 96px 0 0; }
html.static .stage { min-height: 560px; }

/* ── 5 Oct, second round ─────────────────────────────────────────── */
/* The idea: one row of the six direct relations, centred, and two columns of explanation */
.derive.one { grid-template-columns: 1fr; justify-items: center; }
.derive.one .chips { justify-content: center; }
.idea-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 36px; margin-top: 40px; }
.idea-grid h3 { margin: 0 0 8px; }
.idea-grid p { font-size: 15.5px; }

/* Trace path: the numbered explanation */
.trace-steps { list-style: none; counter-reset: t; padding: 0; margin: 26px 0 0; display: grid; gap: 14px; }
.trace-steps li { position: relative; padding-left: 44px; color: var(--ink2); font-size: 15.5px; line-height: 1.55; }
.trace-steps li::before { counter-increment: t; content: counter(t); position: absolute; left: 0; top: 1px; width: 28px; height: 28px; border-radius: 50%; background: var(--accent-soft); color: var(--accent-ink); font-weight: 800; font-size: 13px; display: grid; place-items: center; }
.trace-steps b { color: var(--ink); }
.trace-steps em { font-style: normal; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; font-size: 12px; color: var(--accent-ink); }

/* Alternate paper section */
section.alt { background: var(--sunk); }

/* Coming soon: the pitch band */
.soon-band { background: #0B1A14; }
.soon-band .lede { color: #B4C3BC; }
.soon-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-top: 44px; }
.soon { position: relative; background: rgba(255,255,255,.04); border: 1px solid rgba(255,255,255,.1); border-radius: 18px; padding: 24px 22px 22px; }
.soon .tag { display: inline-block; font-size: 10.5px; font-weight: 800; letter-spacing: .16em; text-transform: uppercase; color: #0F1F17; background: var(--accent); padding: 4px 9px; border-radius: 999px; margin-bottom: 14px; }
.soon h3 { color: #F1EFE6; font-size: 17px; margin: 0 0 8px; }
.soon p { color: #B4C3BC; font-size: 14px; margin: 0; }

/* Vision: light section over the merge canvas, three beats */
.vision { position: relative; overflow: hidden; background: var(--paper); }
.vision #merge { position: absolute; inset: 0; width: 100%; height: 100%; opacity: .55; }
.vision .wrap { position: relative; z-index: 1; }
.vision h2 { font-size: clamp(40px, 6vw, 64px); }
.beats { display: grid; gap: 18px; margin-top: 10px; }
.beat { padding-left: 18px; border-left: 3px solid var(--accent); }
.beat b { display: block; color: var(--ink); font-size: 17px; margin-bottom: 3px; }
.beat span { color: var(--ink2); font-size: 15.5px; line-height: 1.5; }

/* Get in touch: smaller */
.get .lede { font-size: 16px; }
.contact-rows.small .crow { padding: 9px 0; font-size: 14px; }
.contact-rows.small .crow b { font-size: 13px; }

@media (max-width: 1000px) { .soon-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 860px) { .idea-grid { grid-template-columns: 1fr; } }
@media (max-width: 560px) { .soon-grid { grid-template-columns: 1fr; } }

/* ── 7 Oct: the Wire as the page background ─────────────────────────── */
/* One fixed canvas behind everything, panned by the scroll position (see
   wireBackground in proto.js). Sections are translucent so the wire runs
   under the whole page; the dark bands fade in and out instead of cutting. */
#wirebg { position: fixed; inset: 0; width: 100%; height: 100%; z-index: 0; pointer-events: none; }
body > *:not(#wirebg):not(.top) { position: relative; z-index: 1; }
#clusters, #merge { display: none; }

section { background: rgba(251, 247, 240, .72); transition: background-color .6s; }
section.alt { background: rgba(241, 239, 230, .76); }
footer { background: rgba(241, 239, 230, .92); }
.stage { background: rgba(255, 255, 255, .94); }
.vision { background: transparent; }
.vision .beat, .vision .lede { background: rgba(251, 247, 240, .7); border-radius: 10px; }
.vision .beat { padding: 10px 14px 10px 18px; }
.vision .lede { padding: 8px 12px; }

.hero { background: rgba(11, 26, 20, .90); }
.hero::after { content: ''; position: absolute; left: 0; right: 0; bottom: 0; height: 160px; z-index: 1;
  background: linear-gradient(180deg, rgba(11,26,20,0) 0%, rgba(251,247,240,.80) 100%); pointer-events: none; }
.soon-band { background: rgba(11, 26, 20, .90); position: relative; }
.soon-band::before, .soon-band::after { content: ''; position: absolute; left: 0; right: 0; height: 140px; pointer-events: none; }
.soon-band::before { top: -140px; background: linear-gradient(180deg, rgba(11,26,20,0), rgba(11,26,20,.90)); }
.soon-band::after { bottom: -140px; background: linear-gradient(180deg, rgba(11,26,20,.90), rgba(11,26,20,0)); }
.soon-band .wrap { position: relative; z-index: 1; }

/* Screens without a phone body: a thin edge and a shadow, nothing else */
.phone { background: none; padding: 0; box-shadow: none; width: min(300px, 100%); }
.phone .scr { border-radius: 30px; border: 1.5px solid rgba(28, 58, 52, .28); box-shadow: 0 30px 60px rgba(28, 58, 52, .22); }
.hero .phone .scr { border-color: rgba(251, 247, 240, .35); }

/* The icon tile keeps its edge on the cream bar and footer, as on a phone home screen */
.mark { border-radius: 8px; box-shadow: 0 0 0 1px rgba(28,58,52,.14), 0 2px 6px rgba(28,58,52,.10); }

/* 7 Oct: sharp screens. No tilt (rotated text is rasterised soft), a larger
   screen, and crisp vector text. */
.hero .phone { transform: none; }
.phone { width: min(360px, 100%); }
.phone svg { text-rendering: geometricPrecision; shape-rendering: geometricPrecision; }
@media (max-width: 860px) { .hero .phone { width: min(330px, 92%); } }
