/* Feature pages (/crm/, /nudga/): sections on top of the main site's styles in site.css. Same tokens, same ledger look:
   sharp corners, hairline rules, mono figures. */

.skip-link { position: absolute; left: -999px; top: 0; background: var(--ink); color: var(--bg); padding: .6rem 1rem; z-index: 1000; }
.skip-link:focus { left: 1rem; top: 1rem; }

/* Tools menu in the header */
.nav-tools { position: relative; }
/* The site styles every <details> and <summary> as an FAQ row; the menu undoes that. */
.nav-tools details { border-bottom: 0; }
.nav-tools summary { list-style: none; cursor: pointer; color: var(--ink-soft); display: inline-flex; align-items: center; gap: .3rem; padding: 0; font: inherit; font-weight: inherit; border: 0; }
.nav-tools summary::-webkit-details-marker { display: none; }
.nav-tools summary::after { content: ""; width: .42rem; height: .42rem; border-right: 1.5px solid currentColor; border-bottom: 1.5px solid currentColor; transform: translateY(-2px) rotate(45deg); }
.nav-tools summary:hover, .nav-tools summary[aria-current] { color: var(--ink); }
.nav-tools-panel { position: absolute; top: calc(100% + .8rem); left: -1rem; width: 19rem; background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow-md); padding: .4rem; z-index: 50; }
.nav-tools-panel a { display: block; padding: .65rem .75rem; text-decoration: none; border-bottom: 1px dashed var(--line); }
.nav-tools-panel a:last-child { border-bottom: 0; }
.nav-tools-panel a:hover, .nav-tools-panel a[aria-current] { background: var(--surface-2); }
.nav-tools-panel strong { display: block; color: var(--ink); font-size: .95rem; }
.nav-tools-panel span { display: block; color: var(--muted); font-size: .82rem; line-height: 1.35; margin-top: .1rem; }

/* Hero */
.f-hero { padding: 5rem 0 4.5rem; border-bottom: 1px solid var(--line); }
.f-hero-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: 3.5rem; align-items: center; }
.f-hero h1 { font-size: clamp(2.7rem, 4.6vw + 1rem, 5rem); margin-top: 1rem; }
.f-hero h1 em { font-style: normal; color: var(--accent-text); }
.f-hero .hero-sub { margin-top: 1.4rem; font-size: 1.2rem; color: var(--ink-soft); max-width: 34rem; }
.f-hero .hero-ctas { margin-top: 2rem; display: flex; gap: .8rem; flex-wrap: wrap; }
.f-hero-note { margin-top: 1.2rem; font-family: "IBM Plex Mono", monospace; font-size: .8rem; color: var(--muted); }
@media (max-width: 900px) { .f-hero-grid { grid-template-columns: 1fr; gap: 2.5rem; } .f-hero { padding: 3.5rem 0; } }

/* The problem: a short scene, three lines */
.f-problem { background: var(--surface-2); border-bottom: 1px solid var(--line); }
.f-problem-lines { max-width: 46rem; }
.f-problem-lines p { font-size: clamp(1.25rem, 1vw + 1rem, 1.6rem); line-height: 1.45; color: var(--ink); padding: 1.1rem 0; border-bottom: 1px dashed var(--line); }
.f-problem-lines p:last-child { border-bottom: 0; }
.f-problem-lines .mono { color: var(--accent-text); font-size: .85em; margin-right: .6rem; }
.f-problem-turn { margin-top: 2rem; font-size: 1.1rem; color: var(--ink-soft); max-width: 40rem; }

/* What changes: outcome rows, text beside a screen, alternating */
.f-outcomes { display: grid; gap: 4.5rem; }
.f-outcome { display: grid; grid-template-columns: .9fr 1.1fr; gap: 3rem; align-items: center; }
.f-outcome:nth-child(even) .f-outcome-text { order: 2; }
.f-outcome h3 { font-size: clamp(1.7rem, 1.6vw + 1rem, 2.4rem); }
.f-outcome p { color: var(--ink-soft); margin-top: 1rem; font-size: 1.07rem; }
.f-outcome .f-tag { display: inline-block; margin-top: 1.1rem; font-family: "IBM Plex Mono", monospace; font-size: .75rem; letter-spacing: .1em; text-transform: uppercase; color: var(--accent-text); border: 1px solid var(--accent-text); padding: .25rem .55rem; }
@media (max-width: 900px) { .f-outcome { grid-template-columns: 1fr; gap: 1.5rem; } .f-outcome:nth-child(even) .f-outcome-text { order: 0; } }

/* A screenshot, or the drawn example shown until one is added */
.shot { width: 100%; height: auto; border: 1px solid var(--line); box-shadow: var(--shadow-lg); background: var(--surface); }
.screen { background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow-lg); font-size: .85rem; }
.screen-bar { display: flex; align-items: center; gap: .4rem; padding: .55rem .8rem; border-bottom: 1px solid var(--line); background: var(--surface-2); font-family: "IBM Plex Mono", monospace; font-size: .72rem; color: var(--muted); }
.screen-bar i { width: .55rem; height: .55rem; border-radius: 50%; background: var(--line); display: inline-block; }
.screen-bar b { margin-left: .5rem; font-weight: 500; }
.screen-body { padding: 1rem 1.1rem 1.2rem; }
.screen-title { font-weight: 700; color: var(--ink); margin-bottom: .7rem; display: flex; justify-content: space-between; gap: 1rem; align-items: baseline; }
.screen-title .mono { color: var(--muted); font-weight: 400; font-size: .78rem; }
.screen-row { display: flex; justify-content: space-between; align-items: center; gap: .8rem; padding: .55rem 0; border-bottom: 1px dashed var(--line); color: var(--ink-soft); }
.screen-row:last-child { border-bottom: 0; }
.screen-row .mono { color: var(--ink); white-space: nowrap; }
.screen-total { display: flex; justify-content: space-between; padding-top: .8rem; margin-top: .3rem; border-top: 2px solid var(--ink); font-weight: 700; color: var(--ink); }
.chip { display: inline-block; font-family: "IBM Plex Mono", monospace; font-size: .68rem; letter-spacing: .04em; padding: .15rem .45rem; border: 1px solid var(--line); color: var(--muted); white-space: nowrap; }
.chip.good { color: #2f6b45; border-color: #9cc3a8; background: #e6f1e9; }
.chip.warn { color: #8a5a00; border-color: #e3c27a; background: #fbf0d6; }
.chip.bad { color: var(--accent-text); border-color: var(--accent-text); background: var(--accent-soft); }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .chip.good { background: transparent; color: #8fd0a4; } :root:not([data-theme="light"]) .chip.warn { background: transparent; color: #e8c26a; } }
.tiers { display: grid; grid-template-columns: repeat(3, 1fr); gap: .6rem; }
.tier { border: 1px solid var(--line); padding: .8rem .7rem; text-align: center; }
.tier.picked { border: 2px solid var(--accent); }
.tier small { display: block; font-family: "IBM Plex Mono", monospace; font-size: .68rem; color: var(--muted); text-transform: uppercase; letter-spacing: .08em; }
.tier strong { display: block; font-family: "Big Shoulders Display", sans-serif; font-size: 1.8rem; color: var(--ink); margin: .2rem 0; }
.tier span { font-size: .75rem; color: var(--ink-soft); }

/* From lead to client */
.f-pipeline { display: grid; grid-template-columns: 1fr auto 1fr auto 1fr; gap: 1rem; align-items: stretch; }
.f-stage { background: var(--surface); border: 1px solid var(--line); padding: 1.5rem 1.4rem; box-shadow: var(--shadow-sm); }
.f-stage .mono { font-size: .75rem; color: var(--accent-text); letter-spacing: .12em; }
.f-stage h3 { font-size: 1.9rem; margin: .5rem 0 .6rem; }
.f-stage p { color: var(--ink-soft); font-size: .98rem; }
.f-arrow { display: flex; align-items: center; color: var(--muted); }
.f-arrow svg { width: 2rem; height: 2rem; }
@media (max-width: 860px) { .f-pipeline { grid-template-columns: 1fr; } .f-arrow { justify-content: center; transform: rotate(90deg); } }

/* The dark positioning band */
.f-band { background: var(--panel-bg); color: var(--panel-text); }
.f-band h2 { color: var(--panel-text); font-size: clamp(2rem, 2.6vw + 1rem, 3.2rem); max-width: 18ch; }
.f-band .eyebrow { color: var(--panel-accent); }
.f-band-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 3rem; align-items: end; }
.f-band p { color: var(--panel-muted); font-size: 1.1rem; margin-top: 1rem; max-width: 38rem; }
.f-band ul { list-style: none; margin: 0; padding: 0; }
.f-band li { padding: .9rem 0; border-bottom: 1px solid var(--panel-line); font-family: "IBM Plex Mono", monospace; font-size: .95rem; display: flex; gap: .8rem; }
.f-band li::before { content: "\2715"; color: var(--panel-accent); }
.f-band li.yes::before { content: "\2713"; }
@media (max-width: 860px) { .f-band-grid { grid-template-columns: 1fr; gap: 2rem; } }

/* How it works: numbered steps */
.f-steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
.f-step { display: flex; flex-direction: column; gap: 1.2rem; }
.f-step-num { font-family: "Big Shoulders Display", sans-serif; font-weight: 900; font-size: 3.4rem; line-height: 1; color: var(--accent-text); }
.f-step h3 { font-size: 1.7rem; }
.f-step p { color: var(--ink-soft); }
@media (max-width: 960px) { .f-steps { grid-template-columns: 1fr; gap: 3rem; } }

/* Small print under a section */
.f-small { margin-top: 1.5rem; color: var(--muted); font-size: .92rem; max-width: 44rem; }
.f-small a { color: var(--accent-text); }

/* An email, as the client sees it */
.mail { background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow-lg); font-size: .92rem; }
.mail-head { padding: .9rem 1.1rem; border-bottom: 1px solid var(--line); background: var(--surface-2); font-size: .8rem; color: var(--muted); line-height: 1.6; }
.mail-head strong { color: var(--ink); font-weight: 600; }
.mail-body { padding: 1.1rem 1.2rem 1.3rem; color: var(--ink-soft); line-height: 1.6; }
.mail-body p + p, .mail-body ul + p { margin-top: .8rem; }
.mail-body ul { margin: .6rem 0 0; padding-left: 1.2rem; color: var(--ink); }

/* Works with your CRM: one line beside a screen */
.f-split { display: grid; grid-template-columns: 1fr 1fr; gap: 3rem; align-items: center; }
@media (max-width: 860px) { .f-split { grid-template-columns: 1fr; gap: 2rem; } }
