@import url('https://fonts.googleapis.com/css2?family=DM+Mono:wght@400;500&family=Manrope:wght@400;500;600;700;800&display=swap');

:root { --ink: #102a43; --muted: #627d98; --line: #d9e2ec; --paper: #f7f5ef; --cream: #fffdf8; --coral: #ef6f61; --teal: #167d81; --yellow: #f2c14e; }
* { box-sizing: border-box; }
body { margin: 0; color: var(--ink); background: var(--paper); font-family: 'Manrope', sans-serif; }
body:before { content: ''; position: fixed; inset: 0; pointer-events: none; opacity: .28; background-image: radial-gradient(#c6d2da .7px, transparent .7px); background-size: 14px 14px; }
button, input { font: inherit; }
button { cursor: pointer; }
.app-shell { max-width: 1220px; margin: auto; padding: 25px 42px 26px; position: relative; }
.topbar { display: flex; justify-content: space-between; align-items: center; padding-bottom: 26px; border-bottom: 1px solid var(--line); }
.brand { display: flex; gap: 11px; align-items: center; color: var(--ink); text-decoration: none; letter-spacing: -.03em; }
.brand-mark { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; color: white; background: var(--coral); font-weight: 800; }
.brand strong, .brand small { display: block; line-height: 1; }.brand strong { font-size: 15px; }.brand small { margin-top: 4px; color: var(--muted); font-size: 10px; letter-spacing: .16em; text-transform: uppercase; }
.status-pill { display: flex; align-items: center; gap: 9px; color: var(--teal); font: 500 11px 'DM Mono', monospace; text-transform: uppercase; letter-spacing: .1em; }.status-dot { width: 7px; height: 7px; border-radius: 50%; background: #42b883; box-shadow: 0 0 0 4px #d9f3e7; }
.hero { min-height: 350px; display: flex; justify-content: space-between; align-items: center; gap: 35px; }.hero-copy { max-width: 535px; padding: 65px 0 47px; }.eyebrow, .section-kicker { margin: 0 0 18px; color: var(--coral); font: 500 11px 'DM Mono', monospace; letter-spacing: .16em; }.hero h1 { margin: 0; font-size: clamp(48px, 7vw, 83px); line-height: .93; letter-spacing: -.075em; }.hero h1 em { color: var(--teal); font-style: normal; }.hero-intro { max-width: 470px; margin: 28px 0 25px; color: var(--muted); font-size: 15px; line-height: 1.7; }.quick-actions { display: flex; flex-wrap: wrap; gap: 8px; }.chip { border: 1px solid var(--line); border-radius: 100px; background: rgba(255,255,255,.55); color: var(--ink); padding: 9px 13px; font-size: 11px; transition: .2s; }.chip:hover { border-color: var(--teal); color: var(--teal); transform: translateY(-2px); }
.orb-wrap { position: relative; width: 375px; height: 280px; flex: 0 0 375px; }.orb-grid { position: absolute; inset: 16px 14px; opacity: .5; background: linear-gradient(90deg, transparent 49.5%, #d4e4e4 50%, transparent 50.5%), linear-gradient(0deg, transparent 49.5%, #d4e4e4 50%, transparent 50.5%); background-size: 42px 42px; transform: rotate(-18deg); }.orb { position: absolute; left: 76px; top: 34px; width: 210px; height: 210px; border-radius: 50%; background: radial-gradient(circle at 34% 29%, #f8d981 0 5%, transparent 5.5%), radial-gradient(circle at 52% 55%, #54b4ac 0 9%, transparent 9.5%), linear-gradient(140deg, #f3a27d, #e96962 43%, #1b737e 78%); box-shadow: 17px 22px 0 rgba(16,42,67,.12), inset -12px -17px 20px rgba(16,42,67,.17); animation: float 5s ease-in-out infinite; }.orb:before { content: ''; position: absolute; inset: 23px; border: 1px solid rgba(255,255,255,.7); border-radius: 50%; }.orb-core { position: absolute; width: 28px; height: 28px; left: 91px; top: 90px; background: #fff4cf; border-radius: 50%; box-shadow: 0 0 30px #fff4cf; }.orb i { position: absolute; width: 7px; height: 7px; background: #fff4cf; border-radius: 50%; }.orb i:nth-of-type(1) { left: 44px; top: 67px; }.orb i:nth-of-type(2) { right: 41px; top: 98px; }.orb i:nth-of-type(3) { left: 76px; bottom: 30px; }.orbit-label { position: absolute; padding: 6px 9px; color: var(--ink); border: 1px solid var(--line); background: var(--cream); font: 10px 'DM Mono', monospace; }.label-one { top: 10px; left: 34px; }.label-two { top: 72px; right: 0; }.label-three { right: 27px; bottom: 18px; }
.voice-control { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 25px; margin: 0 0 20px; padding: 20px 25px; border: 1px solid #b9d8d4; background: #e5f1ed; }.voice-copy h2 { margin: 0; font-size: 23px; letter-spacing: -.05em; }.voice-copy p:last-child { max-width: 440px; margin: 7px 0 0; color: var(--muted); font-size: 12px; line-height: 1.5; }.voice-control .section-kicker { margin-bottom: 7px; }.mic-button-large { display: flex; align-items: center; justify-content: center; gap: 11px; min-width: 220px; min-height: 68px; border: 0; border-radius: 8px; color: white; background: var(--coral); box-shadow: 0 8px 0 #d85d52; transition: transform .2s, box-shadow .2s, background .2s; }.mic-button-large:hover { transform: translateY(-2px); box-shadow: 0 10px 0 #d85d52; }.mic-button-large:active, .mic-button-large.listening { transform: translateY(4px); box-shadow: 0 3px 0 #d85d52; }.mic-button-large.listening { animation: pulse 1.1s infinite; background: var(--teal); box-shadow: 0 3px 0 #116569, 0 0 0 8px rgba(22,125,129,.12); }.mic-button-large .mic-symbol { font-size: 12px; }.mic-label { font-size: 12px; font-weight: 700; }.voice-hint { display: flex; justify-content: flex-end; align-items: center; gap: 8px; color: var(--muted); font: 10px 'DM Mono', monospace; text-align: right; }.voice-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--coral); }
.workspace { display: grid; grid-template-columns: 1.25fr .75fr; gap: 20px; }.conversation-panel, .command-panel { border: 1px solid var(--line); background: rgba(255,253,248,.8); }.conversation-panel { min-height: 405px; display: flex; flex-direction: column; }.panel-heading { display: flex; justify-content: space-between; align-items: flex-start; padding: 24px 25px 19px; border-bottom: 1px solid var(--line); }.section-kicker { margin-bottom: 7px; color: var(--muted); font-size: 9px; }.panel-heading h2 { margin: 0; font-size: 19px; letter-spacing: -.04em; }.icon-button { width: 28px; height: 28px; border: 1px solid var(--line); border-radius: 50%; color: var(--muted); background: transparent; font-size: 12px; }.icon-button:hover { color: var(--coral); border-color: var(--coral); }.messages { flex: 1; overflow-y: auto; max-height: 250px; padding: 21px 25px 5px; }.message { display: flex; gap: 12px; max-width: 94%; margin-bottom: 18px; }.message p { margin: 2px 0 5px; font-size: 13px; line-height: 1.55; }.message time { color: var(--muted); font: 10px 'DM Mono', monospace; }.avatar { display: grid; place-items: center; flex: 0 0 28px; width: 28px; height: 28px; border-radius: 50%; color: white; background: var(--teal); font-size: 12px; font-weight: 700; }.user-message { margin-left: auto; flex-direction: row-reverse; text-align: right; }.user-message .avatar { background: var(--coral); }.typing { color: var(--muted); font-style: italic; }.composer { display: flex; gap: 9px; align-items: center; margin: 17px 25px 10px; padding: 7px; border: 1px solid var(--line); background: white; }.mic-button { display: grid; place-items: center; width: 40px; height: 40px; flex: 0 0 40px; border: 0; border-radius: 50%; color: white; background: var(--coral); }.mic-symbol { font: 10px 'DM Mono', monospace; text-transform: uppercase; }.composer input { min-width: 0; flex: 1; border: 0; outline: 0; color: var(--ink); font-size: 12px; }.composer input::placeholder { color: #9fb3c8; }.send-button { border: 0; padding: 11px 13px; color: white; background: var(--ink); font-size: 11px; }.privacy-note { margin: 0 25px 18px; color: var(--muted); font: 10px 'DM Mono', monospace; }.privacy-note span { color: var(--teal); }
.command-panel { padding-bottom: 17px; }.command-panel .panel-heading { padding-bottom: 21px; }.capability-list { list-style: none; margin: 0; padding: 0 25px; }.capability-list li { display: flex; gap: 14px; padding: 14px 0; border-bottom: 1px solid #e7edf0; }.capability-list li:last-child { border-bottom: 0; }.cap-icon { color: var(--coral); font: 11px 'DM Mono', monospace; }.capability-list strong { font-size: 12px; }.capability-list p { margin: 4px 0 0; color: var(--muted); font-size: 11px; line-height: 1.45; }.language-card { display: flex; align-items: center; gap: 11px; margin: 16px 25px 0; padding: 12px; background: #e5f1ed; }.language-code { display: grid; place-items: center; width: 29px; height: 29px; color: white; background: var(--teal); font: 11px 'DM Mono', monospace; }.language-card strong { font-size: 11px; }.language-card p { margin: 3px 0 0; color: var(--muted); font-size: 10px; }.check { margin-left: auto; color: var(--teal); font: 10px 'DM Mono', monospace; }footer { display: flex; justify-content: space-between; padding-top: 23px; color: var(--muted); font: 9px 'DM Mono', monospace; letter-spacing: .08em; }
@keyframes float { 0%, 100% { transform: translateY(0) rotate(-3deg); } 50% { transform: translateY(-10px) rotate(3deg); } }@keyframes pulse { 50% { box-shadow: 0 0 0 10px rgba(22,125,129,.15); } }
@media (max-width: 800px) { .app-shell { padding: 18px 18px 22px; }.hero { min-height: auto; display: block; }.hero-copy { padding: 55px 0 20px; }.orb-wrap { width: 100%; height: 240px; transform: scale(.8); transform-origin: center top; margin-bottom: -35px; }.workspace { grid-template-columns: 1fr; }.command-panel { order: -1; }.command-panel .capability-list { display: grid; grid-template-columns: 1fr 1fr; gap: 0 18px; }.capability-list li { min-height: 79px; }.language-card { margin-top: 8px; } }
@media (max-width: 470px) { .hero h1 { font-size: 53px; }.hero-intro { font-size: 13px; }.command-panel .capability-list { display: block; }.orb-wrap { transform: scale(.7); margin: -10px 0 -64px; }footer { font-size: 8px; } }
@media (max-width: 800px) { .voice-control { grid-template-columns: 1fr; gap: 13px; }.mic-button-large { width: 100%; }.voice-hint { justify-content: flex-start; text-align: left; } }
.topbar-actions { display: flex; align-items: center; gap: 18px; }
.theme-toggle { display: inline-flex; align-items: center; gap: 8px; padding: 6px 0; border: 0; color: var(--muted); background: transparent; font-size: 11px; font-weight: 600; }
.theme-toggle:hover { color: var(--ink); }
.theme-toggle:focus-visible { outline: 2px solid var(--teal); outline-offset: 4px; }
.theme-switch { display: inline-flex; align-items: center; width: 31px; height: 18px; padding: 3px; border: 1px solid var(--muted); border-radius: 12px; transition: background-color .2s, border-color .2s; }
.theme-switch span { width: 10px; height: 10px; border-radius: 50%; background: var(--muted); transition: transform .2s, background-color .2s; }
.theme-toggle[aria-pressed="true"] .theme-switch { border-color: var(--teal); background: var(--teal); }
.theme-toggle[aria-pressed="true"] .theme-switch span { transform: translateX(13px); background: var(--paper); }
body, .conversation-panel, .command-panel, .voice-control, .composer, .language-card { transition: background-color .22s ease, color .22s ease, border-color .22s ease; }
body.night { --ink: #e8efeb; --muted: #a7b7b3; --line: #374944; --paper: #15211f; --cream: #1e2d2a; --coral: #f08a77; --teal: #60c0b1; }
body.night:before { opacity: .12; background-image: radial-gradient(#a7b7b3 .7px, transparent .7px); }
body.night .voice-control { border-color: #42645b; background: #233a34; }
body.night .conversation-panel, body.night .command-panel { background: rgba(30,45,42,.92); }
body.night .chip { border-color: var(--line); color: var(--ink); background: rgba(30,45,42,.85); }
body.night .composer { border-color: var(--line); background: #253632; }
body.night .composer input { color: var(--ink); background: transparent; }
body.night .capability-list li { border-color: #34453f; }
body.night .language-card { background: #263d36; }
body.night .status-dot { box-shadow: 0 0 0 4px #254338; }
@media (max-width: 470px) { .topbar-actions { gap: 12px; }.status-pill { gap: 6px; font-size: 9px; }.theme-toggle { gap: 6px; font-size: 10px; } }
.voice-control, .conversation-panel, .command-panel { border-radius: 16px; }
.composer { border-radius: 12px; }
.composer input, .send-button { border-radius: 8px; }
.mic-button-large { border-radius: 14px; }
.language-card, .language-code, .orbit-label { border-radius: 8px; }
.theme-toggle { border-radius: 999px; }
