/* thoughtnet.app -- travw-design web-journal profile (landing variant).
   tokens + trimmed site.css from the bible; self-hosted IBM Plex (OFL).
   one accent (teal). the red circle is the PRODUCT's record affordance,
   permitted here only inside .mock / the brand mark (depiction, not decor). */

@font-face { font-family: 'IBM Plex Sans'; src: url('/fonts/IBMPlexSans-Regular.woff2') format('woff2'); font-weight: 400; font-display: swap; }
@font-face { font-family: 'IBM Plex Sans'; src: url('/fonts/IBMPlexSans-Medium.woff2') format('woff2'); font-weight: 500; font-display: swap; }
@font-face { font-family: 'IBM Plex Sans'; src: url('/fonts/IBMPlexSans-SemiBold.woff2') format('woff2'); font-weight: 600; font-display: swap; }
@font-face { font-family: 'IBM Plex Mono'; src: url('/fonts/IBMPlexMono-Regular.woff2') format('woff2'); font-weight: 400; font-display: swap; }

:root {
  --bg: #0a0a0a; --fg: #e8e8e8; --fg-2: #9a9a9a; --fg-3: #555;
  --rule: #1c1c1c; --rule-strong: #2a2a2a;
  --accent: #15a79f;
  --rec: #e5484d; /* the product's record-red; depiction only on this page */
  --font-sans: 'IBM Plex Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-mono: 'IBM Plex Mono', ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  --measure: 68ch;
  --pad: clamp(1.25rem, 4vw, 2rem);
}

* { box-sizing: border-box; margin: 0; }
html, body { background: var(--bg); color: var(--fg); }
body { font-family: var(--font-sans); font-size: 1rem; line-height: 1.65; -webkit-font-smoothing: antialiased; }
a { color: inherit; text-decoration: none; }
b { font-weight: 600; }
em { font-style: italic; }

/* chrome */
.chrome { position: sticky; top: 0; background: rgba(10, 10, 10, 0.92); backdrop-filter: blur(6px); border-bottom: 1px solid var(--rule); z-index: 10; }
.chrome-inner { max-width: 960px; margin: 0 auto; padding: 0.7rem var(--pad); display: flex; align-items: center; justify-content: space-between; gap: 1rem; flex-wrap: wrap; }
.brand { display: inline-flex; align-items: center; gap: 0.5rem; font-weight: 600; letter-spacing: 0.01em; }
.brand-dot { color: var(--accent); font-weight: 400; }
.nav { display: flex; gap: 1.1rem; flex-wrap: wrap; }
.nav a { color: var(--fg-2); font-size: 0.9rem; border-bottom: 1px solid transparent; padding-bottom: 1px; transition: color 140ms ease, border-color 140ms ease; }
.nav a:hover { color: var(--fg); border-bottom-color: var(--accent); }

/* page scaffold */
.page { max-width: 760px; margin: 0 auto; padding: 3.5rem var(--pad) 4rem; animation: pageIn 240ms ease; }
@keyframes pageIn { from { opacity: 0; transform: translateY(4px); } to { opacity: 1; transform: none; } }
.block { margin-bottom: 4rem; }
.block:last-child { margin-bottom: 0; }
.block p { max-width: var(--measure); }
.block p + p { margin-top: 0.9rem; }

/* type */
.eyebrow { font-family: var(--font-mono); font-size: 0.72rem; color: var(--fg-3); text-transform: uppercase; letter-spacing: 0.08em; margin-bottom: 1rem; }
.eyebrow .sep, .site-footer .sep { margin: 0 0.5em; opacity: 0.5; }
.kicker { font-family: var(--font-mono); font-size: 0.72rem; text-transform: uppercase; letter-spacing: 0.08em; }
.h-display { font-size: clamp(1.9rem, 5vw, 2.8rem); line-height: 1.15; font-weight: 600; letter-spacing: -0.015em; max-width: 22ch; margin-bottom: 1.1rem; }
.h-section { font-size: 1.25rem; font-weight: 600; letter-spacing: -0.01em; margin-bottom: 1rem; }
.lede { font-size: 1.08rem; color: var(--fg-2); max-width: var(--measure); }
.fine { font-size: 0.85rem; color: var(--fg-3); margin-top: 1rem; }
.ilink { border-bottom: 1px solid var(--rule-strong); transition: color 140ms ease, border-color 140ms ease; }
.ilink:hover { color: var(--accent); border-bottom-color: var(--accent); }

/* the product mock -- css depiction of the actual composer, not a screenshot.
   caption sits BELOW the phone, not beside it. */
.mock { margin-top: 2.5rem; display: flex; flex-direction: column; align-items: flex-start; gap: 0.9rem; }
.mock-phone { width: 220px; border: 1px solid var(--rule-strong); padding: 1.4rem 1rem 1rem; display: flex; flex-direction: column; align-items: center; gap: 0.8rem; background: #0c0c0c; }
.mock-rec { width: 128px; height: 128px; border-radius: 50%; background: var(--rec); color: #fff; font-size: 0.8rem; font-weight: 500; display: flex; align-items: center; justify-content: center; }
.mock-row { display: flex; gap: 0.5rem; width: 100%; }
.mock-chip { flex: 1; text-align: center; border: 1px solid var(--rule-strong); border-radius: 999px; color: var(--accent); font-size: 0.72rem; padding: 0.32rem 0; }
/* the app's textarea is square (only the M3 buttons are pills) -- depict it square */
.mock-text { width: 100%; border: 1px solid var(--rule-strong); background: #0e0e0e; color: var(--fg-3); font-size: 0.72rem; text-align: left; padding: 0.4rem 0.5rem 1.2rem; }
.mock-send { width: 100%; text-align: center; background: var(--accent); color: var(--bg); border-radius: 999px; font-size: 0.78rem; font-weight: 600; padding: 0.45rem 0; }
/* .mock .mock-cap outranks `.block p`'s 68ch measure -- cap to the phone's width */
.mock .mock-cap { font-family: var(--font-mono); font-size: 0.75rem; color: var(--fg-3); max-width: 220px; }

/* the loop */
.loop { max-width: var(--measure); padding-left: 1.3rem; display: flex; flex-direction: column; gap: 0.85rem; }
.loop li::marker { font-family: var(--font-mono); color: var(--fg-3); font-size: 0.85rem; }

/* price + cta */
.price { font-size: 1.05rem; margin: 1.4rem 0 1.2rem; }
.price-num { font-family: var(--font-mono); font-size: 1.6rem; color: var(--accent); margin-right: 0.35rem; }
.btn-line { display: inline-block; border: 1px solid var(--fg); padding: 0.55rem 1.1rem; font-size: 0.92rem; font-weight: 500; transition: background 140ms ease, color 140ms ease; }
.btn-line:hover { background: var(--fg); color: var(--bg); }

/* inline code (file names, tokens) -- install guide */
code { font-family: var(--font-mono); font-size: 0.88em; background: #141414; border: 1px solid var(--rule); padding: 0.05em 0.35em; }
.dim { color: var(--fg-3); font-family: var(--font-mono); font-size: 0.88em; }

/* faq */
.faq { max-width: var(--measure); display: flex; flex-direction: column; gap: 1.1rem; }
.faq dt { font-weight: 600; margin-bottom: 0.25rem; }
.faq dd { color: var(--fg-2); font-size: 0.95rem; }

/* footer */
.site-footer { border-top: 1px solid var(--rule); padding: 1.1rem var(--pad) 2rem; max-width: 960px; margin: 0 auto; display: flex; justify-content: space-between; gap: 1rem; flex-wrap: wrap; color: var(--fg-3); font-size: 0.82rem; }
.site-footer a { color: var(--fg-2); border-bottom: 1px solid var(--rule-strong); }
.site-footer a:hover { color: var(--accent); border-bottom-color: var(--accent); }

/* smooth in-page anchors (nav -> sections) */
html { scroll-behavior: smooth; }
:target { scroll-margin-top: 4.5rem; }
