ledercap/xai_voice_agent
1
1/* xAI Voice Agent — HF Space landing page, matching the control panel's look:2 near-black, orange accent, mono details, quiet cards. */3 4:root {5 --bg: #0a0a0b;6 --card: #161618;7 --line: #29292e;8 --text: #ececee;9 --muted: #8b8b93;10 --accent: #f7941d;11 --accent-dim: rgba(247, 148, 29, .14);12}13 14* { box-sizing: border-box; margin: 0; padding: 0; }15 16body {17 font-family: system-ui, -apple-system, sans-serif;18 background: var(--bg);19 color: var(--text);20 line-height: 1.5;21}22 23main { max-width: 860px; margin: 0 auto; padding: 48px 20px 32px; }24 25.hero {26 display: grid;27 grid-template-columns: 1fr 280px;28 gap: 40px;29 align-items: center;30 padding-bottom: 40px;31}32.hero-media video {33 display: block;34 width: 100%;35 border: 1px solid var(--line);36 border-radius: 18px;37 background: var(--card);38}39.hero-media figcaption {40 margin-top: 8px;41 font-size: 11.5px;42 text-align: center;43 color: var(--muted);44 letter-spacing: .04em;45}46.highlights {47 list-style: none;48 display: grid;49 gap: 7px;50 margin-bottom: 18px;51 font-size: 14px;52 color: var(--muted);53}54.highlights li { padding-left: 18px; position: relative; }55.highlights li::before {56 content: "";57 position: absolute;58 left: 0;59 top: .52em;60 width: 7px;61 height: 7px;62 border-radius: 50%;63 background: var(--accent-dim);64 border: 1.5px solid var(--accent);65}66@media (max-width: 640px) {67 .hero { grid-template-columns: 1fr; gap: 28px; text-align: center; }68 .hero-media { max-width: 260px; margin: 0 auto; width: 100%; }69 .highlights { justify-items: center; }70 .highlights li { padding-left: 0; }71 .highlights li::before { display: none; }72}73.mark {74 width: 56px;75 height: 56px;76 stroke: var(--accent);77 fill: none;78 stroke-width: 1.6;79 stroke-linecap: round;80 stroke-linejoin: round;81 filter: drop-shadow(0 0 14px rgba(247, 148, 29, .35));82 margin-bottom: 14px;83}84h1 { font-size: 34px; letter-spacing: -.01em; margin-bottom: 10px; }85.tagline { max-width: 560px; margin: 0 0 16px; color: var(--text); font-size: 16px; }86@media (max-width: 640px) { .tagline { margin: 0 auto 16px; } }87.tagline strong { color: var(--accent); }88.disclaimer {89 display: inline-block;90 font-size: 12px;91 color: var(--muted);92 border: 1px solid var(--line);93 border-radius: 999px;94 padding: 4px 14px;95}96 97.features {98 display: grid;99 grid-template-columns: repeat(3, 1fr);100 gap: 12px;101 margin-bottom: 36px;102}103@media (max-width: 720px) { .features { grid-template-columns: repeat(2, 1fr); } }104@media (max-width: 480px) { .features { grid-template-columns: 1fr; } }105 106.card {107 background: var(--card);108 border: 1px solid var(--line);109 border-radius: 14px;110 padding: 16px;111}112.card h2 {113 font-size: 12px;114 text-transform: uppercase;115 letter-spacing: .08em;116 color: var(--accent);117 margin-bottom: 8px;118}119.card p { font-size: 13.5px; color: var(--muted); }120 121.setup { margin-bottom: 36px; }122.setup-grid {123 display: grid;124 grid-template-columns: 1fr 240px;125 gap: 16px;126 align-items: start;127}128.panel-shot img {129 display: block;130 width: 100%;131 border: 1px solid var(--line);132 border-radius: 14px;133 background: var(--card);134}135.panel-shot figcaption {136 margin-top: 8px;137 font-size: 11.5px;138 text-align: center;139 color: var(--muted);140 letter-spacing: .04em;141}142@media (max-width: 640px) {143 .setup-grid { grid-template-columns: 1fr; }144 .panel-shot { max-width: 260px; margin: 0 auto; width: 100%; }145}146.sec {147 font-size: 12px;148 text-transform: uppercase;149 letter-spacing: .08em;150 color: var(--muted);151 margin-bottom: 12px;152}153.setup ol {154 background: var(--card);155 border: 1px solid var(--line);156 border-radius: 14px;157 padding: 18px 18px 18px 38px;158 display: grid;159 gap: 10px;160 font-size: 14.5px;161}162.setup li::marker { color: var(--accent); font-weight: 700; }163.note { margin-top: 10px; font-size: 12.5px; color: var(--muted); }164 165.mono {166 font-family: ui-monospace, "SF Mono", Menlo, monospace;167 font-size: .92em;168 color: var(--accent);169}170 171a { color: var(--accent); text-decoration: none; }172a:hover { text-decoration: underline; }173 174footer {175 text-align: center;176 font-size: 11.5px;177 color: var(--muted);178 letter-spacing: .05em;179 border-top: 1px solid var(--line);180 padding-top: 18px;181}182 