:root { color-scheme: dark; }
.policy-page { max-width: 760px; margin: 36px auto; padding: 0 20px 32px; line-height: 1.7; }
.policy-page h1 { font-size: 30px; line-height: 1.2; }
.policy-page h2 { font-size: 18px; margin-top: 28px; }
.policy-page a { color: var(--cf-ui-text-strong); text-underline-offset: 3px; }
body > header:has(.brand) { max-width: 800px; margin: 24px auto; padding: 0 20px; }
.brand img { width: 180px; height: auto; }
.caseforge-legal-footer { margin: 12px auto 20px; }
* { box-sizing: border-box; }
html { min-width: 320px; scroll-behavior: smooth; }
body { margin: 0; min-width: 320px; background: #020617; color: var(--cf-ui-text-strong); font-family: var(--font-app); }
.skip-link { position: fixed; z-index: 10; top: 0; left: 0; padding: 11px 15px; background: #f8fafc; color: #020617; transform: translateY(-130%); }
.skip-link:focus { transform: translateY(0); outline: 3px solid var(--cf-ui-accent); }
a:focus-visible { outline: 3px solid var(--cf-ui-accent); outline-offset: 4px; }
.site-header { border-bottom: 1px solid var(--cf-ui-border); background: rgba(2,6,23,.97); }
.header-inner { max-width: 1260px; margin: 0 auto; min-height: 70px; padding: 10px clamp(18px,4vw,54px); display: flex; align-items: center; justify-content: space-between; gap: 18px; }
.wordmark { display: block; width: clamp(156px,18vw,210px); height: auto; }
.sign-in.cf-action-button { text-decoration: none; flex: none; gap: 10px; font-weight: 750; }
.panel { max-width: 1260px; margin: 0 auto; padding: clamp(55px,7vw,104px) clamp(18px,4vw,54px); }
.eyebrow { color: #7dd3fc; font-size: 11px; font-weight: 850; letter-spacing: .16em; text-transform: uppercase; margin: 0 0 18px; }
h1,h2,h3,p { margin-top: 0; }
h1 { font-size: clamp(47px,7.5vw,105px); line-height: .98; letter-spacing: -.06em; max-width: 850px; margin-bottom: 23px; }
h1 span { color: var(--cf-ui-accent); }
.lede { color: #cbd5e1; font-size: clamp(19px,2.3vw,28px); line-height: 1.35; max-width: 660px; margin: 0; }
.hero { min-height: 520px; display: grid; grid-template-columns: minmax(0,1.5fr) minmax(220px,.5fr); align-items: center; gap: 20px; }
.hero-copy { position: relative; z-index: 1; }
.hero-visual { display: flex; align-items: center; justify-content: center; }
.hero-visual img { display: block; width: min(100%, 280px); height: auto; }
.workspace-panel,.factory-panel { border-top: 1px solid #1e293b; }
.section-copy { max-width: 650px; margin-bottom: 34px; }
.section-copy h2 { font-size: clamp(34px,4vw,58px); line-height: 1.08; letter-spacing: -.045em; margin-bottom: 16px; }
.section-copy > p:last-child { color: #94a3b8; font-size: clamp(16px,1.7vw,20px); line-height: 1.5; margin: 0; }
.preview { border: 1px solid var(--cf-ui-border); border-radius: 14px; background: #07111f; box-shadow: 0 32px 90px #0008; overflow: hidden; }
.preview-bar { display: flex; align-items: center; gap: 15px; min-height: 40px; padding: 0 15px; border-bottom: 1px solid var(--cf-ui-border); color: #cbd5e1; font-size: 11px; }
.preview-bar strong { font-size: 12px; }
.preview-dots { display: flex; gap: 5px; }.preview-dots i { width: 7px; height: 7px; border-radius: 50%; background: #475569; }
.preview-tag { margin-left: auto; color: #94a3b8; }
.workspace-frame { display: grid; grid-template-columns: 190px minmax(0,1fr); min-height: 390px; }
.workspace-side { border-right: 1px solid var(--cf-ui-border); padding: 21px 14px; background: #08111f; }
.case-monogram { display: grid; place-items: center; width: 31px; height: 31px; margin-bottom: 10px; border: 1px solid #38bdf8; border-radius: 8px; color: #7dd3fc; font-weight: 800; }
.case-name { font-size: 13px; font-weight: 800; }.case-subtitle { color: #94a3b8; font-size: 10px; margin-top: 3px; }.side-rule { height: 1px; background: #263449; margin: 17px 0; }
.side-item { display: flex; align-items: center; gap: 9px; min-height: 34px; padding: 5px 7px; border-radius: 8px; color: #94a3b8; font-size: 11px; font-weight: 700; }.side-item.active { background: #0f172a; color: #f8fafc; }.side-item svg { width: 18px; height: 18px; flex: none; }
.workspace-main { padding: 24px; min-width: 0; }
.workspace-main-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; margin-bottom: 22px; }.workspace-main-head small { color: #7dd3fc; font-size: 10px; font-weight: 800; letter-spacing: .1em; }.workspace-main-head h3 { font-size: 22px; margin: 4px 0 0; }.preview-status { color: #86efac; font-size: 11px; }
.workspace-cards { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 12px; }.workspace-card { min-width: 0; min-height: 170px; padding: 14px; background: #0f172a; border: 1px solid #334155; border-radius: 12px; display: flex; flex-direction: column; }.card-icon { color: #38bdf8; height: 29px; }.card-icon svg { width: 21px; height: 21px; }.workspace-card strong { font-size: 14px; }.workspace-card span { color: #94a3b8; font-size: 11px; margin: 5px 0 13px; }.card-row { display: flex; justify-content: space-between; gap: 5px; padding: 6px 0; border-top: 1px solid #263449; color: #cbd5e1; font-size: 10px; white-space: nowrap; }.card-row small { color: #94a3b8; }
.activity { margin-top: 16px; border-top: 1px solid #263449; padding-top: 14px; }.activity-title { font-size: 12px; font-weight: 800; margin-bottom: 6px; }.activity-row { display: flex; align-items: center; gap: 10px; padding: 7px 0; color: #cbd5e1; font-size: 11px; }.activity-row small { margin-left: auto; color: #64748b; }.activity-dot { width: 7px; height: 7px; border-radius: 50%; background: #38bdf8; }
.factory-preview { display: grid; grid-template-columns: minmax(0,1fr) 60px minmax(0,1.7fr); align-items: stretch; padding: clamp(20px,4vw,46px); gap: 12px; }
.factory-kicker { color: #7dd3fc; display: block; font-size: 10px; font-weight: 850; letter-spacing: .11em; margin-bottom: 18px; }.factory-input,.factory-output { min-width: 0; }.factory-input > strong,.output-file strong { display: block; color: #cbd5e1; font-size: 12px; margin-top: 13px; text-align: center; }.factory-arrow { align-self: center; color: #38bdf8; font-size: 45px; text-align: center; }.output-files { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 18px; }
.paper { width: 100%; max-width: 220px; aspect-ratio: .76; margin: 0 auto; padding: 17% 13%; border: 1px solid #475569; border-radius: 3px; background: #f8fafc; box-shadow: 0 14px 28px #0005; }.paper-output { border-top: 5px solid #38bdf8; }.paper-heading { height: 8px; width: 54%; background: #475569; margin-bottom: 17%; }.paper-line { height: 4px; width: 83%; margin-top: 9%; background: #cbd5e1; border-radius: 2px; }.paper-line.long { width: 100%; }.paper-line.medium { width: 69%; }.paper-line.short { width: 43%; }.paper-gap { height: 10%; }
@media (max-width: 800px) { .hero { min-height: 0; grid-template-columns: minmax(0,1fr) 150px; }.hero-visual img { width: 150px; }.workspace-frame { grid-template-columns: 135px minmax(0,1fr); }.workspace-side { padding: 16px 8px; }.workspace-main { padding: 17px; }.workspace-cards { grid-template-columns: 1fr; }.workspace-card { min-height: 110px; } }
@media (max-width: 550px) { .header-inner { min-height: 62px; }.wordmark { width: 147px; }.sign-in.cf-action-button { padding-left: 10px; padding-right: 10px; }.panel { padding-top: 52px; padding-bottom: 52px; }.hero { grid-template-columns: 1fr; gap: 24px; }.hero-visual { display: none; }.workspace-frame { grid-template-columns: 1fr; }.workspace-side { display: none; }.workspace-main { padding: 18px; }.workspace-main-head h3 { font-size: 19px; }.workspace-cards { gap: 9px; }.workspace-card { min-height: 110px; padding: 10px 12px; }.workspace-card span { margin-bottom: 8px; }.activity { margin-top: 10px; }.factory-preview { grid-template-columns: 1fr; gap: 13px; }.factory-input { display: none; }.factory-arrow { display: none; }.output-files { gap: 12px; }.factory-kicker { margin-bottom: 12px; } }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
