:root {
  --bg: #080808;
  --panel: #101010;
  --panel-2: #151515;
  --panel-3: #1a1a1a;
  --line: #262626;
  --line-soft: #1b1b1b;
  --text: #f5f5f5;
  --muted: #8c8c8c;
  --dim: #5f5f5f;
  --font: "JetBrains Mono", "Fira Code", "Cascadia Code", "Courier New", monospace;
  --radius: 10px;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; min-width: 320px; background: var(--bg); color: var(--text); font-family: var(--font); font-size: 13px; line-height: 1.5; overflow-x: hidden; }
button, input, textarea, select { font: inherit; color: inherit; }
button, a, label { -webkit-tap-highlight-color: transparent; }
button, a { cursor: pointer; }
a { color: inherit; text-decoration: none; }
button { border: 0; background: none; }
button:focus-visible, a:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible { outline: 1px solid white; outline-offset: 3px; }
.ambient-grid { position: fixed; inset: 0; pointer-events: none; opacity: .26; background-image: linear-gradient(rgba(255,255,255,.025) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.025) 1px, transparent 1px); background-size: 80px 80px; mask-image: linear-gradient(to bottom, black 0%, transparent 60%); }
.topbar { height: 64px; padding: 0 clamp(20px, 4vw, 64px); border-bottom: 1px solid var(--line-soft); display: flex; align-items: center; justify-content: space-between; position: sticky; top: 0; z-index: 20; background: rgba(8,8,8,.88); backdrop-filter: blur(16px); }
.brand { display: flex; align-items: center; gap: 10px; font-weight: 700; font-size: 15px; letter-spacing: -.04em; }
.brand-mark { width: 27px; height: 27px; display: grid; place-items: center; border: 1px solid #444; border-radius: 7px; background: #111; }
svg { fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.brand-mark svg { width: 17px; height: 17px; }
.topbar-actions { display: flex; align-items: center; gap: 5px; }
.icon-button, .close-button { width: 36px; height: 36px; display: grid; place-items: center; color: var(--muted); border: 1px solid transparent; border-radius: 7px; transition: .2s ease; }
.icon-button:hover, .close-button:hover { color: var(--text); background: #151515; border-color: var(--line); }
.icon-button svg { width: 17px; height: 17px; }
.question-mark { font-size: 16px; }
.topbar-divider { height: 20px; width: 1px; background: var(--line); margin: 0 10px; }
.follow-button { display: inline-flex; align-items: center; gap: 7px; padding: 8px 12px; border: 1px solid #454545; border-radius: 7px; color: #fafafa; background: #111; font-size: 11px; font-weight: 700; transition: .2s ease; }
.follow-button svg { width: 15px; height: 15px; }
.follow-button:hover { background: #fff; border-color: #fff; color: #080808; transform: translateY(-1px); }
.byline { color: var(--dim); font-size: 10px; margin-left: 12px; white-space: nowrap; }
.byline a { color: var(--muted); }
main { width: min(1180px, calc(100% - 40px)); margin: 0 auto; }
.hero { text-align: center; padding: 92px 0 64px; position: relative; }
.eyebrow, .section-label { color: var(--muted); font-size: 10px; letter-spacing: .14em; text-transform: uppercase; }
.eyebrow { display: flex; justify-content: center; gap: 8px; align-items: center; }
.status-dot { width: 5px; height: 5px; background: #eee; border-radius: 50%; animation: pulse 2s infinite; }
h1 { font-size: clamp(42px, 7vw, 82px); letter-spacing: -.1em; line-height: .98; margin: 20px 0 20px; font-weight: 700; text-shadow: 1px 1px #292929, 2px 2px #222, 3px 3px #1b1b1b, 4px 4px #151515; }
h1 span { color: #cfcfcf; }
.cursor-blink { color: #fff !important; font-weight: 400; text-shadow: none; animation: blink 1.2s step-end infinite; }
.hero-copy { color: var(--muted); line-height: 1.75; font-size: 12px; }
.stats-row { display: flex; justify-content: center; gap: 0; margin: 38px auto 0; width: fit-content; border: 1px solid var(--line); border-radius: 8px; background: rgba(16,16,16,.6); }
.stat { min-width: 130px; padding: 12px 19px; border-right: 1px solid var(--line); }
.stat:last-child { border-right: 0; }
.stat strong { display: block; font-size: 17px; letter-spacing: -.06em; }
.stat-unit { font-size: 10px; color: var(--muted); letter-spacing: 0; }
.stat span:not(.stat-unit) { display: block; color: var(--dim); font-size: 9px; margin-top: 2px; }
.studio-wrap { perspective: 1400px; }
.studio-card { background: rgba(16,16,16,.92); border: 1px solid #303030; border-radius: var(--radius); transform-style: preserve-3d; transition: transform .2s ease, border-color .2s ease; position: relative; }
.studio-card::after { content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none; background: radial-gradient(circle at var(--glare-x, 50%) var(--glare-y, 20%), rgba(255,255,255,.045), transparent 35%); }
.card-topline { min-height: 52px; padding: 0 22px; display: flex; align-items: center; justify-content: space-between; border-bottom: 1px solid var(--line); }
.label-index { color: #555; margin-right: 9px; }
.editor-tools, .editor-tools label { display: flex; align-items: center; gap: 12px; }
.editor-tools { color: var(--dim); font-size: 10px; }
.editor-tools svg, .subtle-button svg { width: 14px; height: 14px; }
.import-button, .subtle-button { display: flex; align-items: center; gap: 5px; color: var(--muted); transition: .2s; }
.import-button:hover, .subtle-button:hover { color: var(--text); }
.saved-indicator { color: #666; font-size: 9px; transition: .3s; }
.saved-indicator.active { color: #cfcfcf; }
.studio-grid { display: grid; grid-template-columns: 1.6fr 1fr; min-height: 355px; }
.editor-column { padding: 24px; border-right: 1px solid var(--line); display: flex; flex-direction: column; }
.editor-shell { flex: 1; display: flex; flex-direction: column; background: #0b0b0b; border: 1px solid #202020; border-radius: 8px; overflow: hidden; }
#textEditor { flex: 1; width: 100%; resize: none; border: 0; padding: 21px; min-height: 230px; background: transparent; color: #e7e7e7; font-size: 16px; line-height: 1.8; letter-spacing: -.04em; }
#textEditor::placeholder { color: #444; }
.editor-footer { display: flex; justify-content: space-between; align-items: end; padding: 12px 15px 13px; border-top: 1px solid var(--line-soft); color: var(--dim); font-size: 9px; }
.analysis { display: flex; flex-wrap: wrap; gap: 13px; }
.analysis b { color: #a4a4a4; font-weight: 500; }
.char-meter { position: relative; width: 35px; height: 35px; display: grid; place-items: center; color: var(--muted); font-size: 8px; }
.char-meter svg { position: absolute; inset: 0; width: 100%; height: 100%; transform: rotate(-90deg); }
.char-meter circle { fill: none; stroke-width: 2; }
.meter-track { stroke: #252525; }
.meter-value { stroke: #cfcfcf; stroke-dasharray: 107; stroke-dashoffset: 107; transition: stroke-dashoffset .25s ease; }
.drop-hint { color: #4d4d4d; font-size: 9px; text-align: center; padding-top: 13px; }
.drop-hint span { color: #aaa; }
.drop-hint i { display: inline-block; width: 3px; height: 3px; margin: 0 8px 2px; background: #444; border-radius: 50%; }
.controls-column { padding: 25px 25px 23px; display: flex; flex-direction: column; gap: 22px; }
.control-group { display: flex; flex-direction: column; gap: 9px; }
.control-label { display: flex; justify-content: space-between; align-items: center; text-transform: uppercase; font-size: 10px; letter-spacing: .09em; color: var(--muted); }
.muted { color: #5a5a5a; text-transform: none; letter-spacing: 0; font-size: 10px; }
.muted b { color: #999; font-weight: 400; }
.text-link { color: var(--muted); font-size: 10px; transition: .2s; }
.text-link:hover { color: #fff; }
.voice-select { display: flex; align-items: center; text-align: left; gap: 10px; width: 100%; padding: 11px; border: 1px solid var(--line); background: #141414; border-radius: 7px; transition: .2s; }
.voice-select:hover { border-color: #666; background: #1a1a1a; }
.voice-avatar { display: grid; place-items: center; width: 30px; height: 30px; background: #252525; border: 1px solid #444; color: #ddd; border-radius: 6px; font-size: 12px; }
.voice-selection-copy { display: grid; gap: 1px; flex: 1; }
.voice-selection-copy strong { font-size: 11px; font-weight: 600; }
.voice-selection-copy small { color: var(--dim); font-size: 9px; }
.chevron { width: 16px; height: 16px; color: var(--muted); }
.control-pair { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.field-label { display: grid; gap: 7px; color: var(--muted); font-size: 10px; text-transform: uppercase; letter-spacing: .08em; }
select { appearance: none; width: 100%; border: 1px solid var(--line); border-radius: 6px; background: #141414 url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%238c8c8c' stroke-width='2'%3E%3Cpath d='m7 10 5 5 5-5'/%3E%3C/svg%3E") no-repeat right 10px center; padding: 10px 28px 10px 10px; color: #ccc; font-size: 10px; }
option { background: #151515; }
.range-row { display: flex; align-items: center; gap: 9px; color: var(--dim); font-size: 9px; }
input[type="range"] { accent-color: #ddd; }
.range-row input { flex: 1; height: 3px; }
.range-value { display: flex; justify-content: space-between; color: #505050; font-size: 9px; }
.range-value strong { color: #bcbcbc; font-size: 10px; font-weight: 400; }
.generate-button { min-height: 51px; display: flex; align-items: center; justify-content: center; gap: 9px; background: #f2f2f2; color: #080808; border-radius: 7px; font-size: 12px; font-weight: 700; margin-top: auto; transition: transform .08s, background .2s; }
.generate-button:hover { background: #fff; transform: translateY(-2px); }
.generate-button:active, button:active { transform: scale(.97); }
.generate-button.loading { background: #252525; color: #eee; }
.generate-button.success { background: #e8e8e8; }
.generate-icon svg { width: 14px; height: 14px; fill: currentColor; stroke-width: 0; }
.shortcut { color: #888; font-size: 10px; margin-left: 7px; }
.generate-button:not(.loading) .shortcut { color: #777; }
.player-section, .languages-section, .recent-section { padding-top: 85px; }
.section-heading { display: flex; align-items: end; justify-content: space-between; margin-bottom: 18px; }
.section-heading h2 { margin: 6px 0 0; font-size: 22px; letter-spacing: -.08em; }
.heading-dot { color: #888; }
.response-badge { border: 1px solid var(--line); border-radius: 5px; padding: 6px 8px; color: var(--muted); font-size: 9px; }
.player-card { background: #101010; border: 1px solid #292929; border-radius: var(--radius); padding: 18px 22px 14px; }
.visualizer { height: 85px; display: flex; align-items: center; justify-content: space-between; gap: 3px; padding: 8px 0; perspective: 350px; border-bottom: 1px solid var(--line-soft); }
.wave-bar { flex: 1; max-width: 8px; min-width: 2px; background: rgba(255,255,255,.66); height: var(--bar-height, 25%); transform: translateZ(0) rotateX(22deg); transform-origin: bottom; border-radius: 2px 2px 0 0; transition: height .12s ease; }
.player-main { display: flex; align-items: center; gap: 14px; padding: 17px 0 11px; }
.play-button { width: 37px; height: 37px; display: grid; place-items: center; border: 1px solid #777; color: white; border-radius: 50%; flex: 0 0 auto; }
.play-button svg { width: 15px; height: 15px; fill: currentColor; stroke-width: 0; }
.player-copy { display: grid; gap: 1px; min-width: 0; flex: 1; }
.player-copy strong { font-size: 11px; }
.player-copy span { color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; font-size: 10px; }
.player-time { display: flex; gap: 5px; color: var(--muted); font-size: 10px; }
.player-action { width: 32px; height: 32px; color: var(--muted); border: 1px solid var(--line); border-radius: 6px; display: grid; place-items: center; }
.player-action:hover { color: white; background: #1a1a1a; }
.player-action svg { width: 15px; height: 15px; }
.scrubber-wrap { padding-bottom: 8px; }
#scrubber { width: 100%; height: 3px; }
.player-footer { display: flex; align-items: center; gap: 16px; color: var(--dim); font-size: 9px; }
.player-footer > span { flex: 1; }
.speed-options { display: flex; gap: 3px; }
.speed-options button, .loop-button { color: var(--dim); padding: 4px 5px; border-radius: 4px; font-size: 9px; }
.speed-options button:hover, .speed-options button.active, .loop-button:hover, .loop-button.active { color: #fff; background: #222; }
.language-scroller { display: flex; gap: 9px; overflow-x: auto; padding: 3px 0 10px; scrollbar-width: thin; }
.language-tile { flex: 0 0 145px; min-height: 78px; border: 1px solid var(--line); border-radius: 8px; padding: 14px; background: #101010; text-align: left; transition: .2s; }
.language-tile:hover { background: #1a1a1a; border-color: #666; transform: translateY(-2px); }
.language-tile strong { display: block; font-size: 11px; }
.language-tile span { display: block; color: var(--dim); font-size: 9px; margin-top: 8px; }
.loading-line { flex: 0 0 145px; height: 78px; border: 1px solid #1c1c1c; border-radius: 8px; background: linear-gradient(90deg,#101010,#1a1a1a,#101010); background-size: 200% 100%; animation: shimmer 1.5s infinite; }
.recent-grid { min-height: 140px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.empty-state { grid-column: 1/-1; border: 1px dashed #282828; border-radius: 8px; display: grid; place-items: center; align-content: center; gap: 8px; padding: 26px; text-align: center; color: var(--dim); }
.empty-glyph { color: #777; font-size: 27px; }
.empty-state p { margin: 0; font-size: 10px; }
.outline-button { color: var(--muted); border: 1px solid var(--line); padding: 9px 12px; border-radius: 6px; font-size: 10px; }
.outline-button:hover { color: #fff; background: #181818; border-color: #555; }
.recent-card { border: 1px solid var(--line); border-radius: 8px; background: #111; padding: 15px; min-width: 0; }
.recent-card:hover { border-color: #555; }
.recent-card p { margin: 0 0 14px; color: #ccc; font-size: 10px; white-space: nowrap; text-overflow: ellipsis; overflow: hidden; }
.recent-card footer { border: 0; padding: 0; display: flex; align-items: center; gap: 8px; color: var(--dim); font-size: 9px; }
.mini-play { width: 24px; height: 24px; border: 1px solid #555; border-radius: 50%; display: grid; place-items: center; }
.mini-play svg { width: 10px; height: 10px; fill: currentColor; stroke-width: 0; }
footer { max-width: 1180px; width: calc(100% - 40px); margin: 115px auto 0; padding: 24px 0 28px; border-top: 1px solid var(--line-soft); display: flex; justify-content: space-between; color: #555; font-size: 10px; }
.hidden { display: none !important; }
.backdrop { position: fixed; inset: 0; z-index: 30; background: rgba(0,0,0,.68); opacity: 0; pointer-events: none; transition: opacity .3s; backdrop-filter: blur(4px); }
.backdrop.visible { opacity: 1; pointer-events: auto; }
.drawer { position: fixed; z-index: 31; top: 0; right: 0; bottom: 0; width: min(600px, 100%); background: #0e0e0e; border-left: 1px solid #333; transform: translateX(101%); transition: transform .45s cubic-bezier(.16,1,.3,1); display: flex; flex-direction: column; }
.drawer.open { transform: translateX(0); }
.drawer-header { min-height: 92px; padding: 23px 28px; border-bottom: 1px solid var(--line); display: flex; justify-content: space-between; align-items: start; }
.drawer-header h2 { margin: 4px 0 0; font-size: 23px; letter-spacing: -.08em; }
.close-button { font-size: 25px; font-weight: 200; color: var(--muted); }
.drawer-body { overflow-y: auto; flex: 1; padding: 22px 28px 30px; }
.search-shell { display: flex; align-items: center; gap: 10px; padding: 0 12px; height: 44px; border: 1px solid #333; border-radius: 7px; background: #151515; }
.search-shell svg { width: 16px; color: #777; }
.search-shell input { flex: 1; border: 0; outline: 0; background: transparent; color: #eee; font-size: 11px; }
.search-shell kbd, kbd { border: 1px solid #3b3b3b; border-radius: 4px; padding: 3px 6px; color: #777; font-size: 9px; }
.filter-row { display: grid; grid-template-columns: 1fr 1fr auto; gap: 7px; margin: 12px 0 20px; }
.filter-row button { color: var(--muted); font-size: 9px; padding: 0 5px; }
.voice-result-meta { display: flex; justify-content: space-between; color: var(--dim); font-size: 9px; margin-bottom: 10px; }
.best-match { padding: 13px; margin-bottom: 12px; border: 1px solid #777; border-radius: 8px; background: #191919; }
.best-match .section-label { color: #bbb; }
.best-match strong { display: block; margin-top: 6px; font-size: 14px; }
.best-match span { color: var(--muted); font-size: 9px; }
.voice-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 8px; }
.voice-card { min-height: 128px; position: relative; background: transparent; border: 0; perspective: 700px; }
.voice-card-inner { height: 100%; min-height: 128px; position: relative; transition: transform .55s cubic-bezier(.16,1,.3,1); transform-style: preserve-3d; }
.voice-card.selected .voice-card-inner, .voice-card.flipped .voice-card-inner { transform: rotateY(180deg); }
.voice-face { position: absolute; inset: 0; backface-visibility: hidden; border: 1px solid var(--line); border-radius: 7px; padding: 13px; background: #151515; text-align: left; }
.voice-card:hover .voice-face { border-color: #555; }
.voice-card.selected .voice-face { border-color: #fff; }
.voice-back { transform: rotateY(180deg); border-color: #555; display: flex; flex-direction: column; justify-content: space-between; }
.voice-face strong { display: block; font-size: 12px; padding-right: 24px; }
.voice-face small { display: block; color: var(--muted); font-size: 9px; margin-top: 5px; }
.country-badge { display: inline-block; margin-top: 12px; padding: 3px 5px; border: 1px solid #333; border-radius: 4px; color: #999; font-size: 8px; }
.voice-actions { position: absolute; right: 9px; top: 9px; display: flex; gap: 4px; }
.voice-action { width: 23px; height: 23px; display: grid; place-items: center; color: #777; border: 1px solid transparent; border-radius: 4px; }
.voice-action:hover, .voice-action.active { color: white; border-color: #444; background: #222; }
.voice-action svg { width: 13px; height: 13px; }
.load-more { width: 100%; color: var(--muted); border: 1px solid var(--line); margin-top: 15px; padding: 12px; border-radius: 6px; font-size: 10px; }
.load-more:hover { background: #191919; color: white; }
.side-drawer { width: min(460px, 100%); }
.side-drawer .drawer-body { padding-top: 20px; }
.history-item { display: grid; grid-template-columns: 35px 1fr auto; gap: 11px; align-items: center; padding: 14px 0; border-bottom: 1px solid var(--line-soft); }
.history-item p { margin: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; color: #d0d0d0; font-size: 10px; }
.history-item small { display: block; margin-top: 4px; color: var(--dim); font-size: 9px; }
.history-actions { display: flex; gap: 2px; }
.history-actions button { color: #777; padding: 6px; }
.history-actions button:hover { color: #fff; }
.drawer-footer { padding: 18px 28px; border-top: 1px solid var(--line); display: flex; gap: 8px; }
.modal { position: fixed; inset: 0; z-index: 40; display: grid; place-items: center; padding: 20px; background: rgba(0,0,0,.75); backdrop-filter: blur(8px); opacity: 0; pointer-events: none; transition: opacity .25s; }
.modal.open { opacity: 1; pointer-events: auto; }
.modal-card { width: min(520px, 100%); background: #111; border: 1px solid #373737; border-radius: 11px; transform: translateY(12px); transition: transform .3s; }
.modal.open .modal-card { transform: translateY(0); }
.settings-list { padding: 4px 28px 22px; }
.setting-row { min-height: 72px; display: flex; align-items: center; justify-content: space-between; gap: 16px; border-bottom: 1px solid var(--line-soft); }
.setting-row strong { display: block; font-size: 11px; font-weight: 500; }
.setting-row small { display: block; color: var(--dim); font-size: 9px; margin-top: 4px; }
.setting-row select { width: 120px; }
.toggle { appearance: none; width: 34px; height: 19px; padding: 2px; background: #2b2b2b; border-radius: 10px; transition: .2s; }
.toggle::before { content: ""; display: block; width: 15px; height: 15px; border-radius: 50%; background: #777; transition: .2s; }
.toggle:checked { background: #eee; }
.toggle:checked::before { transform: translateX(15px); background: #111; }
.danger-row { border-bottom: 0; }
.shortcut-list { padding: 5px 28px 25px; }
.shortcut-list > div { display: flex; align-items: center; justify-content: space-between; padding: 13px 0; border-bottom: 1px solid var(--line-soft); color: var(--muted); font-size: 10px; }
.toast-stack { position: fixed; z-index: 60; right: 22px; bottom: 22px; display: flex; flex-direction: column; gap: 8px; width: min(340px, calc(100% - 44px)); }
.toast { position: relative; overflow: hidden; display: flex; gap: 9px; align-items: start; padding: 12px; background: #171717; border: 1px solid #4a4a4a; border-radius: 7px; animation: toastIn .35s ease both; font-size: 10px; }
.toast.error { border-color: #777; }
.toast-icon { color: #eee; font-size: 13px; }
.toast-progress { position: absolute; bottom: 0; left: 0; height: 2px; width: 100%; background: #aaa; animation: toastOut 3s linear forwards; transform-origin: left; }
@keyframes pulse { 50% { opacity: .3; } }
@keyframes blink { 50% { opacity: 0; } }
@keyframes shimmer { to { background-position: -200% 0; } }
@keyframes toastIn { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: translateY(0); } }
@keyframes toastOut { to { transform: scaleX(0); } }
.reveal { animation: reveal .7s both; }
.reveal:nth-child(2) { animation-delay: .1s; } .reveal:nth-child(3) { animation-delay: .2s; } .reveal:nth-child(4) { animation-delay: .3s; }
@keyframes reveal { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: translateY(0); } }
@media (max-width: 800px) {
  .byline, .topbar-divider, .icon-button:not(:last-of-type) { display: none; }
  .topbar { padding: 0 18px; }
  main { width: min(100% - 28px, 600px); }
  .hero { padding: 64px 0 45px; }
  .stats-row { width: 100%; }
  .stat { min-width: 0; flex: 1; padding: 10px 7px; }
  .stat strong { font-size: 14px; }
  .studio-grid { grid-template-columns: 1fr; }
  .editor-column { border-right: 0; border-bottom: 1px solid var(--line); min-height: 340px; }
  .controls-column { padding: 21px; }
  .recent-grid { grid-template-columns: 1fr; }
  .recent-section, .languages-section, .player-section { padding-top: 62px; }
  footer { width: calc(100% - 28px); margin-top: 75px; }
}
@media (max-width: 480px) {
  .follow-button { padding: 8px; }
  .follow-button span { display: none; }
  h1 { font-size: 46px; }
  .hero-copy br { display: none; }
  .card-topline { padding: 0 14px; }
  .editor-tools { gap: 7px; }
  .saved-indicator { display: none; }
  .editor-column { padding: 14px; }
  .controls-column { padding: 18px 14px; }
  .player-card { padding: 14px; }
  .player-footer { flex-wrap: wrap; }
  .player-footer > span { flex: 1 0 100%; }
  .voice-grid { grid-template-columns: 1fr; }
  .drawer-header, .drawer-body { padding-left: 18px; padding-right: 18px; }
  .drawer-footer { padding-left: 18px; padding-right: 18px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; scroll-behavior: auto !important; transition-duration: .01ms !important; }
}

/* Precision pass: brighter type, glass layers, richer motion, clearer controls. */
:root {
  --muted: #a6a6a6;
  --dim: #7d7d7d;
  --line: #303030;
  --line-soft: #242424;
  --glass: rgba(255,255,255,.045);
  --glass-strong: rgba(255,255,255,.075);
}
body { font-size: 14px; letter-spacing: -.015em; background: radial-gradient(circle at 50% -12%, #1b1b1b 0, #080808 35rem); }
body::before { content: ""; position: fixed; inset: 0; pointer-events: none; z-index: -1; opacity: .18; background: repeating-linear-gradient(0deg, transparent 0 3px, rgba(255,255,255,.025) 4px); mix-blend-mode: screen; }
.ambient-grid { opacity: .42; background-size: 64px 64px; mask-image: linear-gradient(to bottom, black, transparent 76%); }
.topbar { border-bottom-color: rgba(255,255,255,.11); background: rgba(8,8,8,.7); box-shadow: 0 1px 0 rgba(255,255,255,.025), 0 15px 45px rgba(0,0,0,.2); }
.brand { font-size: 16px; }
.brand-mark { width: 30px; height: 30px; border-color: #616161; background: rgba(255,255,255,.07); box-shadow: inset 0 1px rgba(255,255,255,.14); }
.icon-button { color: #aaa; }
.icon-button:hover { color: #fff; border-color: #555; box-shadow: 0 0 0 4px rgba(255,255,255,.035); }
.follow-button { border-color: #656565; background: rgba(255,255,255,.08); box-shadow: inset 0 1px rgba(255,255,255,.15); }
.follow-button:hover { box-shadow: 0 0 28px rgba(255,255,255,.18); }
.hero { padding-top: 105px; }
.eyebrow, .section-label { color: #b7b7b7; font-size: 11px; }
.hero-copy { color: #a7a7a7; font-size: 13px; }
h1 { text-shadow: 1px 1px #353535, 2px 2px #2b2b2b, 3px 3px #222; }
.stats-row { background: rgba(255,255,255,.045); border-color: #3b3b3b; box-shadow: inset 0 1px rgba(255,255,255,.06), 0 10px 50px rgba(0,0,0,.2); }
.stat span:not(.stat-unit) { color: #898989; font-size: 10px; }
.stat strong { font-size: 19px; }
.hero-pulse { display: flex; justify-content: center; align-items: center; gap: 5px; height: 22px; margin: 25px auto -10px; opacity: .6; }
.hero-pulse span { width: 4px; height: 6px; background: #eee; border-radius: 8px; animation: pulseWave 1.8s ease-in-out infinite; }
.hero-pulse span:nth-of-type(2) { height: 15px; animation-delay: .14s; }
.hero-pulse span:nth-of-type(3) { height: 10px; animation-delay: .27s; }
.hero-pulse span:nth-of-type(4) { height: 18px; animation-delay: .4s; }
.hero-pulse i { width: 3px; height: 3px; border-radius: 50%; background: #777; }
.signal-rail { margin: 0 0 17px; padding: 13px 0 0; }
.signal-heading { display: flex; align-items: center; gap: 8px; margin-bottom: 9px; color: #909090; font-size: 10px; letter-spacing: .07em; text-transform: uppercase; }
.signal-line { height: 1px; flex: 1; background: linear-gradient(90deg, #393939, transparent); }
.signal-live { width: 6px; height: 6px; background: #eee; border-radius: 50%; box-shadow: 0 0 0 4px rgba(255,255,255,.05); animation: pulse 2s infinite; }
.signal-cards { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; }
.signal-card { position: relative; display: flex; align-items: center; gap: 10px; min-height: 63px; padding: 11px 13px; overflow: hidden; text-align: left; color: #eee; border: 1px solid #2b2b2b; border-radius: 9px; background: linear-gradient(135deg, rgba(255,255,255,.07), rgba(255,255,255,.025)); backdrop-filter: blur(12px); transition: transform .25s cubic-bezier(.16,1,.3,1), border-color .25s, background .25s; }
.signal-card::after { content: ""; position: absolute; inset: -1px; background: linear-gradient(115deg, transparent 25%, rgba(255,255,255,.1), transparent 65%); transform: translateX(-120%); transition: transform .6s ease; }
.signal-card:hover { transform: translateY(-4px) rotateX(3deg); border-color: #686868; background: rgba(255,255,255,.085); }
.signal-card:hover::after { transform: translateX(120%); }
.signal-icon { display: grid; place-items: center; width: 28px; height: 28px; flex: 0 0 auto; color: #fff; border: 1px solid #555; border-radius: 7px; background: rgba(255,255,255,.07); font-size: 14px; }
.signal-card span:nth-child(2) { display: grid; gap: 1px; min-width: 0; }
.signal-card strong { font-size: 11px; white-space: nowrap; }
.signal-card small { color: #929292; font-size: 10px; white-space: nowrap; }
.signal-card b { position: absolute; right: 10px; top: 9px; color: #656565; font-size: 9px; font-weight: 400; }
.studio-card, .player-card, .language-tile, .recent-card { background: linear-gradient(145deg, rgba(255,255,255,.06), rgba(255,255,255,.018) 48%, rgba(0,0,0,.12)); backdrop-filter: blur(18px); box-shadow: inset 0 1px rgba(255,255,255,.07), 0 20px 80px rgba(0,0,0,.16); }
.studio-card { border-color: #414141; }
.studio-card:hover { border-color: #5a5a5a; }
.card-topline { min-height: 58px; }
.editor-tools, .editor-tools label { font-size: 11px; }
.saved-indicator { font-size: 10px; color: #8b8b8b; }
.editor-shell { background: rgba(0,0,0,.28); border-color: #353535; box-shadow: inset 0 1px rgba(255,255,255,.035), inset 0 0 30px rgba(255,255,255,.018); transition: border-color .25s, box-shadow .25s; }
.editor-shell:focus-within, .editor-shell.dragging { border-color: #999; box-shadow: 0 0 0 4px rgba(255,255,255,.05), inset 0 0 30px rgba(255,255,255,.03); }
#textEditor { color: #f0f0f0; font-size: 18px; line-height: 1.75; letter-spacing: -.045em; caret-color: white; }
#textEditor::placeholder { color: #777; }
.editor-footer { color: #888; font-size: 10px; }
.analysis b { color: #ddd; }
.char-meter { color: #ccc; font-size: 9px; }
.drop-hint { color: #777; font-size: 10px; }
.drop-hint span { color: #ddd; }
.quick-actions { display: flex; align-items: center; gap: 7px; padding-top: 13px; }
.quick-actions button { display: inline-flex; align-items: center; gap: 5px; padding: 6px 8px; border: 1px solid #303030; border-radius: 5px; color: #a8a8a8; background: rgba(255,255,255,.03); font-size: 10px; transition: .2s; }
.quick-actions button:hover { color: #fff; border-color: #666; background: rgba(255,255,255,.09); }
.quick-actions button span { color: #eee; }
.typing-state { display: inline-flex; align-items: center; gap: 5px; margin-left: auto; color: #888; font-size: 10px; }
.typing-state i { width: 5px; height: 5px; background: #ddd; border-radius: 50%; }
.typing-state.typing i { animation: pulse .8s infinite; }
.controls-column { gap: 24px; }
.control-label, .field-label { font-size: 11px; color: #a9a9a9; }
.muted { color: #8b8b8b; font-size: 11px; }
.voice-select, select { border-color: #3b3b3b; background-color: rgba(255,255,255,.055); }
.voice-select:hover, select:hover { border-color: #777; background-color: rgba(255,255,255,.1); }
.voice-selection-copy strong { font-size: 12px; }
.voice-selection-copy small { color: #929292; font-size: 10px; }
.generate-button { min-height: 56px; border-radius: 8px; font-size: 13px; box-shadow: 0 10px 32px rgba(0,0,0,.25), inset 0 1px rgba(255,255,255,.9); }
.generate-button:hover { box-shadow: 0 15px 40px rgba(255,255,255,.12), inset 0 1px rgba(255,255,255,.9); }
.section-heading h2 { font-size: 25px; }
.response-badge { color: #b5b5b5; font-size: 10px; }
.player-card { border-color: #3e3e3e; }
.player-copy strong { font-size: 12px; }
.player-copy span, .player-time { font-size: 11px; }
.language-tile { border-color: #333; }
.language-tile strong { font-size: 12px; }
.language-tile span { color: #8f8f8f; font-size: 10px; }
.empty-state p, .outline-button { font-size: 11px; }
.drawer, .modal-card { background: rgba(17,17,17,.88); backdrop-filter: blur(24px); box-shadow: -25px 0 80px rgba(0,0,0,.3), inset 1px 0 rgba(255,255,255,.05); }
.drawer-header h2 { font-size: 25px; }
.search-shell { background: rgba(255,255,255,.07); border-color: #4a4a4a; box-shadow: inset 0 1px rgba(255,255,255,.08); }
.search-shell input { font-size: 12px; }
.voice-result-meta, .voice-face small, .best-match span { color: #999; font-size: 10px; }
.voice-face { background: rgba(255,255,255,.06); border-color: #343434; }
.voice-face strong { font-size: 13px; }
.voice-card:hover { transform: translateY(-3px); }
.toast { font-size: 11px; background: rgba(27,27,27,.92); backdrop-filter: blur(16px); box-shadow: 0 14px 34px rgba(0,0,0,.35), inset 0 1px rgba(255,255,255,.08); }
.cursor-glow { position: fixed; z-index: 1; width: 280px; height: 280px; border-radius: 50%; pointer-events: none; opacity: 0; transform: translate(-50%, -50%); background: radial-gradient(circle, rgba(255,255,255,.07), rgba(255,255,255,0) 68%); transition: opacity .3s; mix-blend-mode: screen; }
.click-ripple { position: fixed; z-index: 70; width: 14px; height: 14px; pointer-events: none; border: 1px solid rgba(255,255,255,.85); border-radius: 50%; transform: translate(-50%, -50%) scale(1); animation: clickRipple .65s cubic-bezier(.16,1,.3,1) both; }
.command-palette { position: fixed; inset: 0; z-index: 55; display: grid; place-items: start center; padding-top: 16vh; background: rgba(0,0,0,.62); backdrop-filter: blur(14px); opacity: 0; pointer-events: none; transition: opacity .2s; }
.command-palette.open { opacity: 1; pointer-events: auto; }
.command-card { width: min(560px, calc(100% - 28px)); overflow: hidden; border: 1px solid #5b5b5b; border-radius: 12px; background: rgba(20,20,20,.94); box-shadow: 0 35px 100px rgba(0,0,0,.55), inset 0 1px rgba(255,255,255,.1); transform: translateY(-10px) scale(.98); transition: transform .25s cubic-bezier(.16,1,.3,1); }
.command-palette.open .command-card { transform: translateY(0) scale(1); }
.command-search { display: flex; align-items: center; gap: 11px; padding: 15px 17px; border-bottom: 1px solid #333; }
.command-search > span { color: #aaa; border: 1px solid #444; border-radius: 5px; padding: 3px 6px; font-size: 10px; }
.command-search input { flex: 1; border: 0; outline: 0; color: #fff; background: transparent; font-size: 13px; }
.command-search input::placeholder { color: #777; }
.command-list { padding: 8px; }
.command-list button { width: 100%; display: grid; grid-template-columns: 28px 1fr auto; align-items: center; gap: 9px; padding: 10px; border-radius: 7px; text-align: left; color: #eee; transition: .15s; }
.command-list button:hover, .command-list button.active { background: rgba(255,255,255,.1); }
.command-list button > span:nth-child(2) { display: grid; gap: 1px; }
.command-list strong { font-size: 11px; }
.command-list small { color: #8e8e8e; font-size: 10px; }
.command-glyph { display: grid; place-items: center; width: 27px; height: 27px; border: 1px solid #555; border-radius: 6px; color: #eee; }
.command-list kbd { color: #999; }
.command-footer { display: flex; justify-content: space-between; padding: 11px 17px; border-top: 1px solid #333; color: #777; font-size: 10px; }
.focus-mode .hero, .focus-mode .signal-rail, .focus-mode .player-section, .focus-mode .languages-section, .focus-mode .recent-section, .focus-mode > footer { display: none; }
.focus-mode .studio-wrap { padding-top: 9vh; min-height: calc(100vh - 64px); display: grid; align-items: center; }
.focus-mode .studio-card { box-shadow: 0 35px 120px rgba(0,0,0,.42), inset 0 1px rgba(255,255,255,.1); }
.focus-mode #focusModeButton { color: #fff; border-color: #777; background: rgba(255,255,255,.1); }
@keyframes pulseWave { 0%, 100% { transform: scaleY(.55); opacity: .5; } 50% { transform: scaleY(1.25); opacity: 1; } }
@keyframes clickRipple { 0% { opacity: .8; transform: translate(-50%, -50%) scale(.7); } 100% { opacity: 0; transform: translate(-50%, -50%) scale(10); } }
@media (max-width: 800px) {
  .signal-cards { grid-template-columns: repeat(2, 1fr); }
  .signal-card { min-height: 58px; }
  .signal-card small { font-size: 9px; }
  .hero { padding-top: 76px; }
  .focus-mode .studio-wrap { padding-top: 4vh; }
}
@media (max-width: 480px) {
  .signal-heading { font-size: 9px; }
  .signal-cards { gap: 6px; }
  .signal-card { padding: 9px; gap: 7px; }
  .signal-card strong { font-size: 10px; }
  .signal-icon { width: 25px; height: 25px; }
  #textEditor { font-size: 16px; }
  .quick-actions { flex-wrap: wrap; }
  .typing-state { flex-basis: 100%; margin-left: 0; }
}

/* High-contrast / Resend-inspired finish. Every readable text token stays white. */
:root {
  --text: #fff;
  --muted: #fff;
  --dim: #f0f0f0;
}
body,
button,
a,
input,
textarea,
select,
option,
.brand,
.hero-copy,
.section-label,
.eyebrow,
.stat span:not(.stat-unit),
.stat-unit,
.label-index,
.editor-tools,
.import-button,
.subtle-button,
.saved-indicator,
.editor-footer,
.analysis,
.drop-hint,
.control-label,
.field-label,
.muted,
.text-link,
.range-row,
.range-value,
.player-copy span,
.player-time,
.player-footer,
.speed-options button,
.loop-button,
.language-tile span,
.empty-state,
.byline,
.drawer-body,
.voice-result-meta,
.voice-face small,
.country-badge,
.search-shell kbd,
.filter-row button,
.command-footer,
.command-list small,
.toast {
  color: #fff;
}
.stat span:not(.stat-unit),
.stat-unit,
.label-index,
.saved-indicator,
.drop-hint,
.range-row,
.range-value,
.byline,
.command-footer,
.command-list small {
  opacity: .82;
}
.voice-selection-copy small,
.voice-face small,
.best-match span,
.language-tile span,
.player-copy span,
.response-badge,
.audioMeta {
  color: #fff !important;
  opacity: .86;
}
.editor-tools svg,
.subtle-button svg,
.chevron,
.player-action,
.loop-button,
.speed-options button,
.icon-button,
.close-button {
  color: #fff;
}
#textEditor,
#textEditor::placeholder,
.search-shell input,
.command-search input,
.command-search input::placeholder {
  color: #fff;
}
#textEditor::placeholder,
.search-shell input::placeholder,
.command-search input::placeholder {
  opacity: .68;
}
.label-index { color: #fff; }
.meter-track { stroke: #575757; }
.meter-value { stroke: #fff; }
.hero {
  isolation: isolate;
  overflow: hidden;
}
.hero::before {
  content: "";
  position: absolute;
  z-index: -2;
  width: min(62vw, 720px);
  height: min(62vw, 720px);
  left: 50%;
  top: 42%;
  transform: translate(-50%, -50%);
  border: 1px solid rgba(255,255,255,.08);
  border-radius: 50%;
  box-shadow: 0 0 120px rgba(255,255,255,.055), inset 0 0 90px rgba(255,255,255,.025);
}
.hero::after {
  content: "";
  position: absolute;
  z-index: -1;
  width: 58vw;
  height: 8vw;
  max-height: 100px;
  left: 50%;
  top: 60%;
  transform: translate(-50%, -50%) rotate(-14deg);
  border-top: 1px solid rgba(255,255,255,.16);
  border-radius: 50%;
  filter: blur(4px);
  opacity: .55;
}
h1 {
  color: #fff;
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 400;
  letter-spacing: -.09em;
  text-shadow: 1px 1px rgba(255,255,255,.14), 2px 2px rgba(255,255,255,.06);
}
h1 span { color: #fff; }
.hero-copy { max-width: 520px; margin-left: auto; margin-right: auto; }
.stats-row { background: rgba(255,255,255,.075); border-color: rgba(255,255,255,.36); }
.stat { border-right-color: rgba(255,255,255,.25); }
.signal-heading { color: #fff; }
.signal-line { background: linear-gradient(90deg, rgba(255,255,255,.65), transparent); }
.signal-card,
.studio-card,
.player-card,
.language-tile,
.recent-card,
.voice-face,
.modal-card,
.drawer {
  border-color: rgba(255,255,255,.28);
}
.signal-card:hover,
.studio-card:hover,
.language-tile:hover,
.recent-card:hover,
.voice-card:hover .voice-face {
  border-color: #fff;
}
.signal-card small,
.signal-card b {
  color: #fff;
  opacity: .8;
}
.voice-avatar,
.country-badge,
.response-badge,
.outline-button,
.quick-actions button,
.search-shell,
.command-card {
  border-color: rgba(255,255,255,.38);
}
.voice-select,
select,
.editor-shell,
.search-shell,
.command-card {
  background-color: rgba(255,255,255,.075);
}
.follow-button,
.outline-button:hover,
.quick-actions button:hover {
  color: #fff;
}
.follow-button:hover {
  color: #080808;
}
.generate-button {
  color: #080808;
  background: #fff;
}
.generate-button:hover { background: #fff; }
.toast { border-color: rgba(255,255,255,.52); }

/* Final readability guarantee: text is white; spacing, size, and opacity create hierarchy. */
body * { color: #fff !important; }
body .generate-button,
body .generate-button * { color: #080808 !important; }
body .follow-button:hover,
body .follow-button:hover * { color: #080808 !important; }
body .stat span:not(.stat-unit),
body .stat-unit,
body .label-index,
body .saved-indicator,
body .drop-hint,
body .range-row,
body .range-value,
body .byline,
body .command-footer,
body .command-list small,
body .voice-selection-copy small,
body .voice-face small,
body .best-match span,
body .language-tile span,
body .player-copy span,
body .response-badge {
  opacity: 1 !important;
}
.hero-visual {
  position: absolute;
  z-index: 1;
  top: 50%;
  left: 90%;
  width: min(390px, 38vw);
  height: min(390px, 38vw);
  pointer-events: none;
  transform: translate(calc(-50% + var(--hero-x, 0px)), calc(-50% + var(--hero-y, 0px)));
  transition: transform .25s cubic-bezier(.16,1,.3,1);
  perspective: 900px;
  opacity: .48;
}
.hero > :not(.hero-visual) { position: relative; z-index: 2; }
.hero-orbit {
  position: absolute;
  inset: 15%;
  border: 1px solid rgba(255,255,255,.13);
  border-radius: 50%;
  transform: rotateX(68deg) rotateZ(16deg);
  box-shadow: 0 0 26px rgba(255,255,255,.025);
}
.hero-orbit::after {
  content: "";
  position: absolute;
  top: -4px;
  left: 20%;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 0 18px rgba(255,255,255,.8);
}
.hero-orbit-one { animation: orbitSpin 14s linear infinite; }
.hero-orbit-two { inset: 23%; transform: rotateX(68deg) rotateZ(-24deg); animation: orbitSpinReverse 19s linear infinite; }
.hero-orbit-two::after { left: auto; right: 14%; top: auto; bottom: -4px; }
.hero-core {
  position: absolute;
  top: 50%;
  left: 50%;
  display: grid;
  place-items: center;
  width: 82px;
  height: 82px;
  transform: translate(-50%, -50%) rotateX(12deg) rotateY(-18deg) rotateZ(45deg);
  border: 1px solid rgba(255,255,255,.42);
  border-radius: 12px;
  background: linear-gradient(135deg, rgba(255,255,255,.22), rgba(255,255,255,.025) 48%, rgba(0,0,0,.3));
  box-shadow: inset 9px 9px 20px rgba(255,255,255,.07), 18px 22px 45px rgba(0,0,0,.35), 0 0 50px rgba(255,255,255,.05);
  animation: coreFloat 4.6s ease-in-out infinite;
}
.hero-core b { transform: rotateZ(-45deg); font-family: var(--font); font-size: 16px; letter-spacing: -.12em; }
.hero-core span { position: absolute; width: 9px; height: 9px; border: 1px solid #fff; border-radius: 50%; top: -5px; right: -5px; background: #111; }
.hero-float {
  position: absolute;
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 7px 9px;
  border: 1px solid rgba(255,255,255,.28);
  border-radius: 6px;
  background: rgba(15,15,15,.72);
  box-shadow: inset 0 1px rgba(255,255,255,.1), 0 16px 35px rgba(0,0,0,.25);
  font-size: 8px;
  letter-spacing: .08em;
  backdrop-filter: blur(12px);
}
.hero-float b { font-size: 11px; }
.hero-float-a { top: 13%; left: 43%; animation: floatA 5.5s ease-in-out infinite; }
.hero-float-b { right: -9%; bottom: 29%; animation: floatB 6.2s ease-in-out infinite; }
.hero-float-c { left: 43%; bottom: 5%; animation: floatC 5.9s ease-in-out infinite; }
@keyframes orbitSpin { to { transform: rotateX(68deg) rotateZ(376deg); } }
@keyframes orbitSpinReverse { to { transform: rotateX(68deg) rotateZ(-384deg); } }
@keyframes coreFloat { 50% { transform: translate(-50%, calc(-50% - 8px)) rotateX(12deg) rotateY(-18deg) rotateZ(45deg); } }
@keyframes floatA { 50% { transform: translate(8px, -9px) rotate(2deg); } }
@keyframes floatB { 50% { transform: translate(-9px, 7px) rotate(-2deg); } }
@keyframes floatC { 50% { transform: translate(6px, -5px); } }
@media (max-width: 800px) {
  .hero-visual { left: 50%; width: 500px; height: 500px; opacity: .24; }
}
@media (max-width: 480px) {
  .hero-visual { width:qp 420px; height: 420px; opacity: .2; }
  .hero-float { transform: scale(.85); }
}

/* TTSpec / clean product landing pass
   Inspired by the reference direction: black space, crisp type, hairline cards,
   focused objects, and generous rhythm. This intentionally supersedes the older
   layered visual passes above. */
:root {
  --font: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --bg: #000;
  --panel: #050505;
  --panel-2: #090909;
  --panel-3: #111;
  --line: #262626;
  --line-soft: #171717;
  --text: #fff;
  --muted: #fff;
  --dim: #fff;
  --accent-green: #51f2a5;
  --accent-violet: #9f8cff;
}

html, body {
  background: #000;
}

body {
  color: #fff;
  font-family: var(--font);
  font-size: 14px;
  letter-spacing: -.025em;
  background:
    radial-gradient(ellipse 45% 24% at 50% 0%, rgba(255,255,255,.065), transparent 70%),
    #000;
}

body::before,
.ambient-grid {
  opacity: 0;
}

body * {
  color: #fff !important;
}

button, input, textarea, select {
  font-family: var(--font);
}

.topbar {
  height: 72px;
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
  padding: 0;
  border-bottom: 0;
  background: transparent;
  box-shadow: none;
  backdrop-filter: none;
}

.brand {
  gap: 9px;
  font-size: 15px;
  letter-spacing: -.055em;
}

.brand-mark {
  width: 24px;
  height: 24px;
  border: 1px solid #555;
  border-radius: 7px;
  background: #0b0b0b;
  box-shadow: none;
}

.brand-mark svg {
  width: 15px;
  height: 15px;
}

.topbar-actions {
  gap: 3px;
}

.icon-button, .close-button {
  width: 32px;
  height: 32px;
  color: #fff !important;
  border-radius: 6px;
}

.icon-button:hover, .close-button:hover {
  color: #fff !important;
  background: #111;
  border-color: #333;
  box-shadow: none;
}

.topbar-divider {
  height: 16px;
  margin: 0 12px;
  background: #292929;
}

.follow-button {
  padding: 8px 11px;
  border: 1px solid #343434;
  border-radius: 6px;
  background: #0b0b0b;
  box-shadow: none;
  font-size: 11px;
}

.follow-button:hover {
  color: #000 !important;
  background: #fff;
  border-color: #fff;
  box-shadow: none;
}

.byline {
  margin-left: 13px;
  font-size: 10px;
}

main {
  width: min(1120px, calc(100% - 40px));
}

.hero {
  min-height: 690px;
  padding: 82px 0 108px;
  overflow: visible;
  isolation: isolate;
}

.hero::before {
  width: 440px;
  height: 440px;
  left: 50%;
  top: 255px;
  border-color: rgba(255,255,255,.08);
  box-shadow: 0 0 130px rgba(255,255,255,.04), inset 0 0 90px rgba(255,255,255,.02);
}

.hero::after {
  width: 500px;
  height: 150px;
  left: 50%;
  top: 280px;
  border-top-color: rgba(81,242,165,.28);
  filter: blur(7px);
  opacity: .6;
}

.eyebrow {
  width: fit-content;
  margin: 0 auto;
  padding: 7px 11px;
  border: 1px solid #2e2e2e;
  border-radius: 999px;
  background: #0b0b0b;
  color: #fff !important;
  font-size: 10px;
  letter-spacing: .02em;
  text-transform: none;
}

.status-dot {
  width: 5px;
  height: 5px;
  background: var(--accent-green);
  box-shadow: 0 0 12px var(--accent-green);
}

.hero-visual {
  position: relative;
  z-index: 1;
  top: auto;
  left: auto;
  width: 122px;
  height: 122px;
  margin: 60px auto 30px;
  opacity: 1;
  transform: translate(var(--hero-x, 0px), var(--hero-y, 0px));
}

.hero-orbit {
  border-color: rgba(255,255,255,.24);
  box-shadow: 0 0 30px rgba(81,242,165,.08);
}

.hero-orbit::after {
  width: 6px;
  height: 6px;
  background: var(--accent-green);
  box-shadow: 0 0 17px var(--accent-green);
}

.hero-core {
  width: 82px;
  height: 82px;
  border-color: #454545;
  border-radius: 18px;
  background:
    radial-gradient(circle at 32% 22%, rgba(255,255,255,.2), transparent 26%),
    radial-gradient(circle at 60% 78%, rgba(81,242,165,.2), transparent 42%),
    linear-gradient(135deg, #1a1a1a, #050505 68%);
  box-shadow: inset 8px 8px 20px rgba(255,255,255,.08), 0 0 55px rgba(81,242,165,.1);
}

.hero-core b {
  font-size: 17px;
  letter-spacing: -.12em;
}

.hero-float {
  display: none;
}

.hero-core {
  transform: translate(-50%, -50%) rotateX(8deg) rotateY(-12deg);
  animation: coreFloatClean 4.6s ease-in-out infinite;
}

.hero-core b {
  transform: none;
}

h1 {
  position: relative;
  z-index: 2;
  margin: 0 auto 22px;
  color: #fff !important;
  font-family: var(--font);
  font-size: clamp(48px, 8vw, 86px);
  font-weight: 400;
  letter-spacing: -.095em;
  line-height: .98;
  text-shadow: none;
}

h1 span {
  color: #fff !important;
}

.cursor-blink {
  color: var(--accent-green) !important;
  text-shadow: 0 0 18px rgba(81,242,165,.5);
}

.hero-copy {
  position: relative;
  z-index: 2;
  max-width: 535px;
  margin: 0 auto;
  color: #fff !important;
  font-size: 14px;
  line-height: 1.65;
}

.hero-pulse {
  display: none;
}

.stats-row {
  position: relative;
  z-index: 2;
  margin-top: 42px;
  border: 1px solid #242424;
  border-radius: 8px;
  background: #050505;
  box-shadow: none;
}

.stat {
  min-width: 142px;
  padding: 13px 20px;
  border-right-color: #242424;
}

.stat strong {
  font-size: 18px;
  font-weight: 500;
}

.stat span:not(.stat-unit), .stat-unit {
  color: #fff !important;
  font-size: 10px;
}

.signal-rail {
  margin: 0 0 20px;
  padding-top: 0;
}

.signal-heading {
  margin-bottom: 10px;
  color: #fff !important;
  font-size: 10px;
}

.signal-line {
  background: linear-gradient(90deg, #313131, transparent);
}

.signal-live {
  width: 5px;
  height: 5px;
  background: var(--accent-green);
  box-shadow: 0 0 12px var(--accent-green);
}

.signal-cards {
  gap: 7px;
}

.signal-card {
  min-height: 68px;
  padding: 13px;
  border: 1px solid #252525;
  border-radius: 8px;
  background: #050505;
  box-shadow: none;
  backdrop-filter: none;
}

.signal-card:hover {
  transform: translateY(-2px);
  border-color: #555;
  background: #0a0a0a;
}

.signal-card::after {
  background: linear-gradient(115deg, transparent 25%, rgba(255,255,255,.07), transparent 65%);
}

.signal-icon {
  width: 27px;
  height: 27px;
  border-color: #343434;
  border-radius: 7px;
  background: #0b0b0b;
}

.signal-card strong, .signal-card small, .signal-card b {
  color: #fff !important;
}

.signal-card small {
  font-size: 10px;
}

.studio-wrap {
  perspective: none;
}

.studio-card, .player-card, .language-tile, .recent-card {
  background: #050505;
  border: 1px solid #292929;
  box-shadow: none;
  backdrop-filter: none;
}

.studio-card:hover {
  border-color: #444;
}

.card-topline {
  min-height: 54px;
  border-bottom-color: #222;
}

.section-label, .eyebrow, .control-label, .field-label {
  color: #fff !important;
}

.label-index {
  color: #fff !important;
}

.editor-column {
  padding: 21px;
  border-right-color: #242424;
}

.editor-shell {
  background: #000;
  border-color: #242424;
  box-shadow: none;
}

.editor-shell:focus-within, .editor-shell.dragging {
  border-color: #fff;
  box-shadow: 0 0 0 3px rgba(255,255,255,.09);
}

#textEditor {
  color: #fff !important;
  font-family: var(--font);
  font-size: 18px;
  font-weight: 400;
  line-height: 1.7;
  letter-spacing: -.045em;
}

#textEditor::placeholder {
  color: #fff !important;
}

.editor-footer, .analysis, .drop-hint, .saved-indicator,
.quick-actions button, .typing-state, .range-row, .range-value,
.muted, .voice-selection-copy small, .player-copy span, .player-time,
.player-footer, .language-tile span, .response-badge, .byline,
.command-footer, .command-list small, .voice-face small {
  color: #fff !important;
  opacity: 1 !important;
}

.analysis b {
  color: #fff !important;
}

.quick-actions button {
  border-color: #292929;
  background: #050505;
}

.quick-actions button:hover {
  color: #fff !important;
  border-color: #666;
  background: #101010;
}

.controls-column {
  padding: 23px;
}

.voice-select, select {
  border-color: #292929;
  background-color: #0a0a0a;
}

.voice-select:hover, select:hover {
  border-color: #666;
  background-color: #101010;
}

.voice-avatar {
  border-color: #3a3a3a;
  background: #111;
}

.generate-button {
  min-height: 54px;
  border-radius: 7px;
  color: #000 !important;
  background: #fff;
  box-shadow: none;
}

.generate-button * {
  color: #000 !important;
}

.generate-button:hover {
  color: #000 !important;
  background: #fff;
  box-shadow: 0 0 30px rgba(255,255,255,.13);
}

.player-section, .languages-section, .recent-section {
  padding-top: 120px;
}

.section-heading h2 {
  color: #fff !important;
  font-size: clamp(30px, 4vw, 44px);
  font-weight: 400;
  letter-spacing: -.08em;
}

.heading-dot {
  color: var(--accent-green) !important;
}

.player-card {
  border-color: #292929;
}

.language-scroller {
  gap: 8px;
}

.language-tile {
  border-color: #252525;
}

.language-tile:hover {
  border-color: #666;
  background: #0a0a0a;
}

.empty-state {
  border-color: #292929;
  color: #fff !important;
}

footer {
  border-top-color: #1d1d1d;
  color: #fff !important;
}

/* Panels keep the same product language as the landing page. */
.drawer, .modal-card, .command-card {
  background: #050505;
  border-color: #333;
  box-shadow: 0 25px 100px rgba(0,0,0,.65);
  backdrop-filter: blur(18px);
}

.drawer-header, .drawer-footer, .shortcut-list > div,
.settings-list .setting-row {
  border-color: #222;
}

.search-shell {
  background: #0a0a0a;
  border-color: #333;
}

.search-shell input, .command-search input {
  color: #fff !important;
}

.voice-face {
  background: #0a0a0a;
  border-color: #292929;
}

.voice-card.selected .voice-face, .voice-card:hover .voice-face {
  border-color: #fff;
}

.cursor-glow {
  background: radial-gradient(circle, rgba(81,242,165,.08), transparent 68%);
}

@media (max-width: 800px) {
  .topbar {
    width: calc(100% - 32px);
  }

  main {
    width: min(100% - 32px, 600px);
  }

  .hero {
    min-height: 0;
    padding: 60px 0 84px;
  }

  .hero-visual {
    width: 112px;
    height: 112px;
    margin-top: 48px;
    margin-bottom: 26px;
  }

  .hero::before {
    width: 360px;
    height: 360px;
    top: 215px;
  }

  .hero::after {
    width: 360px;
    top: 235px;
  }

  .signal-cards {
    grid-template-columns: repeat(2, 1fr);
  }

  .player-section, .languages-section, .recent-section {
    padding-top: 84px;
  }
}

@media (max-width: 480px) {
  .topbar {
    height: 62px;
  }

  .topbar-actions .icon-button {
    display: none;
  }

  .topbar-actions .follow-button {
    display: inline-flex;
  }

  .topbar-divider, .byline {
    display: none;
  }

  .hero {
    padding-top: 48px;
  }

  .hero-visual {
    width: 104px;
    height: 104px;
    margin-top: 42px;
    margin-bottom: 24px;
  }

  .hero-core {
    width: 72px;
    height: 72px;
  }

  h1 {
    font-size: 47px;
  }

  .hero-copy {
    font-size: 13px;
  }

  .stats-row {
    width: 100%;
  }

  .stat {
    min-width: 0;
    padding: 11px 7px;
  }

  .stat strong {
    font-size: 15px;
  }

  .signal-card {
    min-height: 62px;
    padding: 10px;
  }

  .signal-card strong {
    font-size: 10px;
  }

  .signal-card small {
    font-size: 9px;
  }
}

@keyframes coreFloatClean {
  50% {
    transform: translate(-50%, calc(-50% - 7px)) rotateX(8deg) rotateY(-12deg);
  }
}
