/* Page styles for how-it-works.html. Moved out of the page's inline <style> on 2026-11-27 so the
   page text starts earlier in the HTML that AI agents read (see agent-readiness.test.js). */
 :root { --ark-font-display: 'Inter Tight', ui-sans-serif, system-ui, sans-serif; }
 .hiw-hero { padding: 80px 0 48px; background: var(--ark-paper-2); }
 .hiw-hero h1 { font-family: var(--ark-font-display); font-weight: 800; font-size: clamp(52px, 6.2vw, 96px); letter-spacing: -0.04em; line-height: 0.98; margin: 16px 0 24px; max-width: 18ch; text-wrap: pretty; }
 .hiw-hero h1 em { font-style: normal; color: var(--ark-pink); }
 .hiw-hero .lead { max-width: 56ch; font-size: 20px; }

 .tl { padding: 80px 0; }
 .tl-row { display: grid; grid-template-columns: 1fr 1.6fr; gap: 48px; padding: 48px 0; border-top: 1px solid var(--ark-line); align-items: start; }
 .tl-row:last-child { border-bottom: 1px solid var(--ark-line); }
 @media (max-width: 900px) { .tl-row { grid-template-columns: 1fr; gap: 24px; } }
 .tl-meta .tag { display: inline-flex; align-items: center; gap: 8px; background: var(--ark-pink-soft); color: var(--ark-pink-deep); padding: 6px 12px; border-radius: 999px; font-size: 12px; font-weight: 600; letter-spacing: 0.05em; text-transform: uppercase; }
 .tl-meta h2 { font-family: var(--ark-font-display); font-weight: 700; font-size: clamp(32px, 3.8vw, 52px); letter-spacing: -0.03em; line-height: 1.04; margin: 16px 0 12px; }
 .tl-meta .when { font-size: 15px; color: var(--ark-ink-3); font-weight: 500; }
 .tl-body p { font-size: 17px; line-height: 1.55; color: var(--ark-ink-2); margin: 0 0 16px; }
 .tl-body p:first-child { font-weight: 500; color: var(--ark-ink); font-size: 19px; }
 .tl-body ul { list-style: none; padding: 0; margin: 20px 0 0; display: grid; grid-template-columns: 1fr 1fr; gap: 10px 24px; }
 @media (max-width: 700px) { .tl-body ul { grid-template-columns: 1fr; } }
 .tl-body li { font-size: 14px; display: flex; gap: 8px; align-items: flex-start; color: var(--ark-ink-2); }
 .tl-body li svg { color: var(--ark-mint-deep); flex-shrink: 0; margin-top: 4px; }
 .tl-visual { background: var(--ark-paper); border: 1px solid var(--ark-line); border-radius: 20px; padding: 32px; margin-top: 24px; }

 /* Step photos — sit under the step heading in the meta column */
 .tl-photo { margin-top: 28px; aspect-ratio: 4 / 3; border-radius: 16px; overflow: hidden; background: var(--ark-paper-2); position: relative; }
 .tl-photo img { display: block; width: 100%; height: 100%; object-fit: cover; }

 .compare { padding: 96px 0; background: var(--ark-ink); color: white; }
 .compare h2 { font-family: var(--ark-font-display); font-weight: 700; font-size: clamp(36px, 4.4vw, 56px); letter-spacing: -0.03em; line-height: 1.05; max-width: 18ch; margin: 12px 0 48px; color: white; }
 .compare-table { display: grid; grid-template-columns: 1.2fr 1fr 1fr; border: 1px solid #2A2A2E; border-radius: 20px; overflow: hidden; background: #17171A; }
 .compare-table > div { padding: 20px 24px; font-size: 14.5px; display: flex; align-items: center; min-height: 60px; }
 .compare-table > div:nth-child(3n+1) { border-right: 1px solid #2A2A2E; }
 .compare-table > div:nth-child(3n+2) { border-right: 1px solid #2A2A2E; }
 .compare-table .head { font-family: var(--ark-font-display); font-weight: 700; font-size: 16px; background: #0E0E10; }
 .compare-table .head.ark { background: var(--ark-pink); color: white; }
 .compare-table .row-label { color: rgba(255,255,255,0.7); font-size: 14px; }
 .compare-table .yes { color: var(--ark-mint); }
 .compare-table .no { color: rgba(255,255,255,0.3); }
 .compare-table .highlight { background: rgba(249,52,108,0.1); color: white; font-weight: 600; }
 .compare-table > div:nth-child(6n+2), .compare-table > div:nth-child(6n+3), .compare-table > div:nth-child(6n+4) { border-top: 1px solid #2A2A2E; }
 @media (max-width: 800px) { .compare-table { grid-template-columns: 1fr; } .compare-table > div { border-right: none !important; } }

 .closing-cta { padding: 120px 0; background: var(--ark-paper-2); text-align: center; }
 .closing-cta h2 { font-family: var(--ark-font-display); font-weight: 800; font-size: clamp(44px, 5.6vw, 88px); letter-spacing: -0.04em; line-height: 0.98; margin: 0 auto 24px; max-width: 18ch; }
 .closing-cta .ctas { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; margin-top: 24px; }
