:root { --bg: #161a1b; /* lighter cool charcoal */ --bg-2: #1d2224; /* raised surface */ --bg-3: #232a2b; /* card / input */ --line: #2c3335; --line-2: #3a4346; --text: #e8eceb; /* cool off-white */ --muted: #94a09e; --amber: #2dd4bf; /* primary accent (teal) */ --amber-soft: #6ee7d5; --rust: #fb7a5c; /* secondary accent (warm coral) */ --danger: #f0795f; --radius: 8px; --maxw: 1060px; --display: "Space Grotesk", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; --sans: "Work Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; } * { box-sizing: border-box; } html, body { margin: 0; padding: 0; } body { background: radial-gradient(1100px 520px at 78% -8%, rgba(45, 212, 191, 0.10), transparent 60%), var(--bg); color: var(--text); font-family: var(--sans); font-size: 17px; line-height: 1.65; min-height: 100vh; display: flex; flex-direction: column; -webkit-font-smoothing: antialiased; } .container { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 24px; } /* ---------- header ---------- */ .site-header { border-bottom: 1px solid var(--line); background: rgba(20, 17, 13, 0.8); backdrop-filter: blur(8px); position: sticky; top: 0; z-index: 40; } .header-inner { display: flex; align-items: center; justify-content: space-between; height: 70px; max-width: var(--maxw); margin: 0 auto; padding: 0 24px; } .brand { font-family: var(--display); font-weight: 700; font-size: 1.3rem; letter-spacing: -0.02em; text-decoration: none; color: var(--text); } .brand-mark { color: var(--amber); margin-right: 4px; } .brand-accent { color: var(--muted); font-weight: 400; } .nav { display: flex; gap: 24px; } .nav a { position: relative; color: var(--muted); text-decoration: none; font-weight: 500; font-size: 0.82rem; letter-spacing: 0.12em; text-transform: uppercase; padding: 4px 0; } .nav a:hover { color: var(--text); } .nav a.active { color: var(--amber); } .nav a.active::after { content: ""; position: absolute; left: 0; right: 0; bottom: -2px; height: 2px; background: var(--amber); } /* ---------- layout ---------- */ .main { flex: 1; width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 52px 24px 80px; } .page-title { font-family: var(--display); font-weight: 600; font-size: 2.5rem; line-height: 1.08; letter-spacing: -0.03em; margin: 0 0 10px; } .page-sub { color: var(--muted); font-size: 1.05rem; margin: 0 0 34px; max-width: 60ch; } /* ---------- hero ---------- */ .hero { padding: 26px 0 40px; } .eyebrow { font-family: var(--display); font-size: 0.78rem; letter-spacing: 0.22em; text-transform: uppercase; color: var(--amber); font-weight: 600; margin: 0 0 22px; } .hero h1 { font-family: var(--display); font-weight: 700; font-size: clamp(2.4rem, 5.2vw, 4.3rem); line-height: 1.04; letter-spacing: -0.03em; margin: 0 0 24px; max-width: 16ch; } .hero h1 .grad { color: var(--amber); } .hero p { color: var(--muted); font-size: 1.2rem; max-width: 54ch; margin: 0 0 32px; } .hero-cta { display: flex; gap: 14px; flex-wrap: wrap; } /* ---------- index cards ---------- */ .grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 18px; margin-top: 30px; } .card { position: relative; background: linear-gradient(180deg, var(--bg-2), var(--bg)); border: 1px solid var(--line); border-radius: var(--radius); padding: 28px 24px; text-decoration: none; color: var(--text); display: block; transition: transform 0.18s ease, border-color 0.18s ease, box-shadow 0.18s ease; } a.card:hover { transform: translateY(-4px); border-color: var(--line-2); box-shadow: 0 18px 40px rgba(0,0,0,0.45); } a.card:hover .card-no { color: var(--amber); } a.card:hover .arrow { color: var(--amber-soft); } .card-no { font-family: var(--display); font-size: 1rem; font-weight: 600; color: var(--line-2); display: block; margin-bottom: 18px; letter-spacing: 0.05em; transition: color 0.18s ease; } .card h3 { font-family: var(--display); font-weight: 600; font-size: 1.4rem; margin: 0 0 8px; letter-spacing: -0.01em; } .card p { margin: 0; color: var(--muted); font-size: 0.97rem; } .card .arrow { margin-top: 16px; color: var(--amber); font-weight: 600; font-size: 0.8rem; letter-spacing: 0.1em; text-transform: uppercase; transition: color 0.18s ease; } .ic { display: none; } /* ---------- panel ---------- */ .panel { background: linear-gradient(180deg, var(--bg-2), var(--bg)); border: 1px solid var(--line); border-radius: var(--radius); padding: 32px; } .center { text-align: center; } /* ---------- buttons ---------- */ .btn { display: inline-flex; align-items: center; gap: 8px; justify-content: center; font-family: var(--display); font-weight: 600; font-size: 0.95rem; letter-spacing: 0.01em; padding: 13px 26px; border-radius: 6px; border: 1px solid transparent; cursor: pointer; text-decoration: none; transition: all 0.15s ease; color: var(--bg); background: var(--amber); } .btn:disabled { opacity: 0.4; cursor: not-allowed; } .btn:not(:disabled):hover { transform: translateY(-2px); } .btn-primary { background: var(--amber); color: #06231d; } .btn-primary:not(:disabled):hover { background: var(--amber-soft); box-shadow: 0 10px 26px rgba(45,212,191,0.28); } .btn-face { background: var(--amber); color: #06231d; } .btn-face:not(:disabled):hover { background: var(--amber-soft); box-shadow: 0 10px 26px rgba(45,212,191,0.28); } .btn-voice { background: var(--rust); color: #2a0f08; } .btn-voice:not(:disabled):hover { filter: brightness(1.08); box-shadow: 0 10px 26px rgba(251,122,92,0.3); } .btn-ghost { background: transparent; color: var(--text); border-color: var(--line-2); } .btn-ghost:not(:disabled):hover { border-color: var(--amber); color: var(--amber); } /* ---------- media capture ---------- */ .stage { position: relative; display: inline-block; overflow: hidden; border: 1px solid var(--line-2); border-radius: var(--radius); max-width: 100%; background: #000; } .stage video { display: block; background: #000; width: 100%; height: auto; max-width: 640px; } .stage canvas { position: absolute; left: 0; top: 0; width: 100%; height: 100%; } .controls { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; margin: 22px 0 8px; } .status { color: var(--muted); min-height: 1.5em; margin: 8px 0; } .result { font-family: var(--display); font-size: 1.7rem; font-weight: 600; margin: 14px 0 0; letter-spacing: -0.01em; color: var(--amber); } .result:empty { display: none; } .chips { display: flex; gap: 10px; justify-content: center; flex-wrap: wrap; margin-top: 18px; } .chip { font-family: var(--display); font-size: 0.78rem; letter-spacing: 0.08em; text-transform: uppercase; padding: 6px 14px; border-radius: 999px; border: 1px solid var(--line-2); background: var(--bg-3); color: var(--muted); } .chip b { color: var(--amber); } .mic-orb { width: 96px; height: 96px; border-radius: 50%; margin: 4px auto 20px; display: grid; place-items: center; font-size: 2.1rem; background: var(--bg-3); border: 1.5px solid var(--rust); } .mic-orb.recording { animation: pulse 1.1s ease-in-out infinite; } @keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(251, 122, 92, 0.45); } 70% { box-shadow: 0 0 0 20px rgba(251, 122, 92, 0); } 100% { box-shadow: 0 0 0 0 rgba(251, 122, 92, 0); } } audio { width: 100%; max-width: 420px; margin-top: 16px; } /* ---------- PHQ-9 ---------- */ .q { border-bottom: 1px solid var(--line); padding: 20px 0; } .q:first-child { padding-top: 4px; } .q-text { font-weight: 500; font-size: 1.04rem; margin-bottom: 14px; } .q-text .num { font-family: var(--display); color: var(--amber); margin-right: 10px; font-weight: 600; } .opts { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; } .opt { position: relative; } .opt input { position: absolute; opacity: 0; inset: 0; cursor: pointer; } .opt span { display: block; text-align: center; padding: 11px 6px; border-radius: 6px; border: 1px solid var(--line-2); background: var(--bg-3); color: var(--muted); font-size: 0.85rem; cursor: pointer; transition: all 0.12s ease; } .opt input:checked + span { border-color: var(--amber); background: rgba(45,212,191,0.16); color: var(--text); font-weight: 600; } .opt:hover span { border-color: var(--amber); } .scorecard { margin-top: 26px; padding: 26px; border: 1px solid var(--line-2); border-radius: var(--radius); background: var(--bg-3); } .scorecard:empty { display: none; } .score-num { font-family: var(--display); font-size: 3rem; font-weight: 700; line-height: 1; } .sev { display: inline-block; padding: 5px 14px; border-radius: 999px; font-weight: 600; font-size: 0.9rem; border: 1px solid currentColor; } .sev-minimal { color: #5fb389; } .sev-mild { color: var(--amber); } .sev-moderate { color: var(--rust); } .sev-modsevere { color: #df7a4f; } .sev-severe { color: var(--danger); } .crisis { margin-top: 16px; padding: 16px 18px; border-radius: var(--radius); border: 1px solid var(--danger); background: rgba(224, 106, 82, 0.1); color: #f0a594; font-size: 0.95rem; } /* ---------- misc ---------- */ .note { color: var(--muted); font-size: 0.92rem; max-width: 64ch; margin: 22px auto 0; } .note.center { margin-left: auto; margin-right: auto; } /* ---------- use-case / explainer ---------- */ .section { margin-top: 64px; padding-top: 40px; border-top: 1px solid var(--line); } .section-eyebrow { font-family: var(--display); font-size: 0.76rem; letter-spacing: 0.2em; text-transform: uppercase; color: var(--amber); font-weight: 600; margin: 0 0 10px; } .section h2 { font-family: var(--display); font-weight: 600; font-size: 1.8rem; letter-spacing: -0.02em; margin: 0 0 24px; } .two-col { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; } .two-col h3 { font-family: var(--display); font-weight: 600; font-size: 1.15rem; margin: 0 0 14px; } .ticks, .steps { margin: 0; padding: 0; list-style: none; } .ticks li { position: relative; padding-left: 26px; margin-bottom: 12px; color: var(--text); } .ticks li::before { content: "\2713"; position: absolute; left: 0; top: 0; color: var(--amber); font-weight: 700; } .ticks li span { color: var(--muted); } .steps { counter-reset: step; } .steps li { position: relative; padding-left: 42px; margin-bottom: 16px; min-height: 30px; } .steps li::before { counter-increment: step; content: counter(step); position: absolute; left: 0; top: -2px; width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; background: rgba(45, 212, 191, 0.14); border: 1px solid var(--amber); color: var(--amber); font-family: var(--display); font-weight: 600; font-size: 0.9rem; } .steps li b { display: block; } .steps li span { color: var(--muted); } @media (max-width: 640px) { .two-col { grid-template-columns: 1fr; gap: 28px; } } .site-footer { border-top: 1px solid var(--line); padding: 26px 0; color: var(--muted); font-size: 0.9rem; } .site-footer p { margin: 0 auto; text-align: center; max-width: var(--maxw); padding: 0 24px; } /* ---------- responsive ---------- */ @media (max-width: 760px) { .container, .header-inner, .main, .site-footer p { padding-left: 18px; padding-right: 18px; } .main { padding-top: 36px; padding-bottom: 56px; } .header-inner { height: auto; min-height: 60px; flex-wrap: wrap; gap: 8px 16px; padding-top: 10px; padding-bottom: 10px; } .nav { gap: 16px; flex-wrap: wrap; } .panel { padding: 22px 18px; } .page-title { font-size: 2rem; } .hero { padding: 14px 0 30px; } } @media (max-width: 520px) { body { font-size: 16px; } .brand-accent { display: none; } .nav { width: 100%; justify-content: space-between; gap: 10px; } .nav a { font-size: 0.74rem; letter-spacing: 0.08em; } .opts { grid-template-columns: repeat(2, 1fr); } .hero h1 { font-size: clamp(2rem, 9vw, 2.6rem); } .hero p { font-size: 1.05rem; } /* full-width, comfortable tap targets */ .hero-cta, .controls { flex-direction: column; align-items: stretch; } .hero-cta .btn, .controls .btn { width: 100%; padding: 14px 20px; } .score-num { font-size: 2.4rem; } }