@font-face{font-family:RelateApp;src:url('/assets/relate/google-sans-regular.ttf') format('truetype');font-weight:400;font-display:swap}
@font-face{font-family:RelateApp;src:url('/assets/relate/google-sans-medium.ttf') format('truetype');font-weight:500;font-display:swap}
.relate-demo{display:grid;grid-template-columns:1.04fr 1fr;gap:76px;align-items:center}
.relate-demo-stage{padding:26px 32px 24px;background:#eff3fc;border:1px solid #e2e8f5;border-radius:32px;position:relative;min-width:0}
.relate-stage-label{display:flex;justify-content:space-between;gap:12px;margin-bottom:26px;color:#687b9d;font-size:9px;letter-spacing:.09em;text-transform:uppercase}
.relate-stage-label span:first-child{color:#315de0}
.relate-device{font-family:RelateApp,Arial,sans-serif;line-height:1.4;width:100%;max-width:324px;height:652px;margin:auto;display:flex;flex-direction:column;overflow:hidden;background:#fff;border:5px solid #fff;border-radius:34px;box-shadow:0 20px 45px #2542700d,0 0 0 1px #d5dfef;color:#202124}
.relate-statusbar{height:35px;display:flex;align-items:center;justify-content:space-between;padding:8px 19px 4px;font-size:11px;flex-shrink:0}
.relate-app-header{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:12px 18px 20px;font-size:17px}
.relate-app-header img{width:22px;height:22px;object-fit:contain}.relate-header-dot{width:22px;display:flex;justify-content:center}.relate-header-dot:after{content:'';width:6px;height:6px;background:#c8d5ed;border-radius:50%}
.relate-app-main{flex:1;min-height:0;display:flex;flex-direction:column;padding:6px 21px 12px}
.relate-empty{display:flex;flex-direction:column;align-items:center;justify-content:center;flex:1;text-align:center;padding:2px 0 8px}
.relate-mode-illustration{width:160px;height:128px;margin:0 auto 21px}.relate-mode-illustration svg{width:100%;height:100%}
.relate-empty h3{font-family:RelateApp,Arial,sans-serif;font-size:25px;font-weight:500;line-height:1.17;letter-spacing:-.035em;max-width:255px}
.relate-empty p{font-size:13px;line-height:1.55;color:#69707e;margin-top:15px;max-width:248px}
.relate-feedback{display:flex;align-items:center;justify-content:center;gap:9px;min-height:30px;font-size:10px;color:#7a8595;margin-top:12px;flex-shrink:0}
.relate-wave{display:none;align-items:center;gap:3px;height:20px;color:#315de0}.relate-wave i{width:3px;height:8px;border-radius:3px;background:currentColor;animation:relate-signal .55s ease-in-out infinite alternate}.relate-wave i:nth-child(2n){height:17px;animation-delay:-.22s}.relate-wave i:nth-child(3){height:22px;animation-delay:-.4s}
.relate-device[data-state='listening'] .relate-wave,.relate-device[data-state='speaking'] .relate-wave{display:flex}
.relate-device[data-state='speaking'] .relate-wave{color:#188038}
.relate-result{padding-top:12px;flex:1;min-height:0;overflow:auto;scrollbar-width:thin}
.relate-result-eyebrow{font-size:10px;letter-spacing:.1em;text-transform:uppercase;color:#7989a2;margin-bottom:16px}
.relate-transcript{font-size:27px;line-height:1.4;letter-spacing:-.025em;overflow-wrap:anywhere;white-space:pre-wrap}
.relate-screen-controls{padding:0 22px 24px;display:flex;flex-direction:column;gap:14px;flex-shrink:0}
.relate-start{display:flex;align-items:center;justify-content:center;gap:11px;min-height:54px;width:100%;border-radius:32px;background:#315de0;color:white;font-family:RelateApp,Arial,sans-serif;font-size:18px;transition:background .2s,transform .2s}
.relate-start:hover{background:#244cc4}.relate-start:active{transform:scale(.98)}.relate-start .icon{width:20px;height:20px}
.relate-device[data-state='listening'] .relate-start,.relate-device[data-state='speaking'] .relate-start,.relate-device[data-state='handoff'] .relate-start{background:#c7ebd6;color:#184e32}
.relate-text-actions{display:flex;justify-content:center;gap:18px}.relate-text-actions button{display:grid;place-items:center;background:white;border:1px solid #bacbeb;border-radius:50%;width:43px;height:43px;color:#315de0}.relate-text-actions button:hover{background:#edf2ff}.relate-text-actions .icon{width:20px;height:20px}
.relate-voice-play{display:flex;align-items:center;justify-content:center;gap:9px;color:#315de0;background:#edf2ff;border-radius:24px;min-height:43px;font-size:13px}.relate-voice-play .icon{width:19px;height:19px}
.relate-bottom-nav{display:grid;grid-template-columns:repeat(4,1fr);gap:1px;padding:11px 7px 7px;background:#f3f6fc;flex-shrink:0}
.relate-bottom-nav>button,.relate-record{display:flex;align-items:center;flex-direction:column;justify-content:center;gap:6px;min-height:52px;padding:0;background:transparent;color:#606b7d;font-size:10px;font-family:RelateApp,Arial,sans-serif;line-height:1.2}
.relate-bottom-nav .icon{box-sizing:content-box;width:19px;height:19px;padding:4px 12px;border-radius:20px}
.relate-bottom-nav>button[aria-pressed='true']{color:#214fa9}.relate-bottom-nav>button[aria-pressed='true'] .icon{background:#d6e7ff}.relate-bottom-nav>button:hover .icon{background:#e4edfc}.relate-record{opacity:.5}
.relate-gesture{height:21px;display:grid;place-items:center;background:#f3f6fc;flex-shrink:0}.relate-gesture:after{content:'';height:3px;width:76px;background:#333c4b;border-radius:8px}
.relate-demo-stage figcaption{text-align:center;font-size:10px;color:#78859c;margin-top:23px;line-height:1.5}
.relate-mode-content{min-width:0}.relate-mode-content .mode-tabs{margin-bottom:34px;width:max-content;max-width:100%}
.relate-mode-content h3{font-size:clamp(30px,3.1vw,44px);line-height:1.15;margin-bottom:25px;max-width:440px}
.relate-mode-content #mode-copy{font-size:16px;line-height:1.85;color:#616b7d;max-width:420px}
.relate-mode-steps{list-style:none;padding:0;margin:30px 0 0;border-top:1px solid #e1e6ef;max-width:420px}
.relate-mode-steps li{display:flex;gap:17px;align-items:baseline;padding:14px 0;border-bottom:1px solid #e1e6ef;font-size:13px;color:#43536b}.relate-mode-steps li>span{font-size:9px;color:#8293b1;font-variant-numeric:tabular-nums}
.relate-sample-picker{margin-top:30px;max-width:420px}.relate-sample-picker label{display:block;font-size:10px;letter-spacing:.1em;text-transform:uppercase;color:#71809b;margin-bottom:10px}.relate-sample-picker select{font:inherit;font-size:13px;color:#315173;background:#f6f8fd;border:1px solid #dce3f0;border-radius:10px;padding:12px 34px 12px 14px;width:100%;min-height:45px}
.relate-try-hint{display:flex;align-items:flex-start;gap:12px;font-size:12px;line-height:1.7;color:#315de0;margin-top:22px;max-width:400px}.relate-try-hint .icon{width:19px;height:19px;flex-shrink:0;margin-top:1px}
.relate-demo-note{font-size:10px;line-height:1.8;color:#7b8597;margin-top:18px;max-width:380px}
.relate-demo-status{min-height:32px;font-size:11px;line-height:1.6;color:#315de0;margin-top:12px;max-width:420px}
.relate-edit-label{font-size:11px;color:#596a86;margin-bottom:8px}#relate-edit{display:block;width:100%;resize:vertical;min-height:140px;max-height:240px;font:400 23px/1.4 RelateApp,Arial,sans-serif;color:#202124;border:1px solid #9cb4e6;border-radius:10px;padding:10px;background:#f7f9ff}
.relate-assistant-answer{margin-top:28px;border-top:1px solid #e1e7f2;padding-top:19px}.relate-assistant-answer>p{font-size:18px;line-height:1.45;margin-top:14px}.assistant-mark{display:flex;align-items:center;gap:3px;height:14px}.assistant-mark i{width:7px;height:7px;border-radius:50%;background:#4285f4}.assistant-mark i:nth-child(2){background:#ea4335;width:5px;height:5px}.assistant-mark i:nth-child(3){background:#fbbc04;width:5px;height:5px}.assistant-mark i:nth-child(4){background:#34a853;width:5px;height:5px}
.relate-weather{display:flex;align-items:center;gap:14px;margin-top:15px;background:#f1f5ff;border-radius:13px;padding:13px}.relate-weather svg{width:42px;height:42px;fill:#f9c757;stroke:#df9c18;stroke-width:2;stroke-linecap:round;flex-shrink:0}.relate-weather strong{display:block;font-size:27px;font-weight:400;line-height:1.15}.relate-weather span{display:block;font-size:9px;color:#667993;margin-top:5px}.relate-device[data-mode='assistant'] .relate-transcript{font-size:23px}
@keyframes relate-signal{from{transform:scaleY(.4)}to{transform:scaleY(1)}}
@media(max-width:1100px){.relate-demo{gap:38px}.relate-demo-stage{padding-inline:22px}.relate-stage-label{font-size:8px}.relate-device{height:638px}.relate-mode-content #mode-copy{font-size:14px}.relate-mode-content h3{font-size:34px}}
@media(max-width:760px){.relate-demo{grid-template-columns:1fr;gap:30px}.relate-demo-stage{width:100%;max-width:540px;justify-self:center}.relate-mode-content{max-width:540px;width:100%;justify-self:center}.relate-mode-content #mode-copy,.relate-mode-steps,.relate-sample-picker{max-width:none}.relate-mode-content .mode-tabs{margin-bottom:24px}.relate-try-hint .icon{transform:rotate(90deg)}.relate-mode-content h3{font-size:35px}.relate-demo-status{min-height:18px}}
@media(max-width:400px){.relate-demo-stage{padding:22px 12px 18px;border-radius:24px}.relate-device{height:620px;border-width:3px;border-radius:28px}.relate-stage-label{gap:8px;font-size:7px;margin-bottom:22px}.relate-app-header{font-size:16px;padding-inline:14px}.relate-app-main{padding-inline:16px}.relate-mode-illustration{width:132px;height:106px}.relate-empty h3{font-size:23px}.relate-empty p{font-size:12px}.relate-screen-controls{padding-inline:16px}.relate-transcript{font-size:24px}.relate-bottom-nav .icon{padding-inline:9px}.relate-bottom-nav>button,.relate-record{font-size:9px}.relate-mode-content .mode-tab{padding-inline:15px}}
@media(prefers-reduced-motion:reduce){.relate-wave i{animation:none}.relate-start{transition:none}}
