@charset "UTF-8";
:root{--bg:#f5f3ec;--ink:#303c35;--muted:#778178;--green:#526c59;--line:#e2e3d9;--white:#fffefa;font-family:"Segoe UI","Apple SD Gothic Neo","Malgun Gothic",sans-serif;color:var(--ink);background:var(--bg);font-synthesis:none}
*{box-sizing:border-box}body{margin:0}button,input,a{-webkit-tap-highlight-color:transparent}button{font:inherit;color:inherit;cursor:pointer}button,a,input{outline-offset:5px}button:focus-visible,a:focus-visible,input:focus-visible{outline:2px solid var(--green)}button{border:0}a{color:inherit}button:disabled{cursor:wait;opacity:.5}[hidden]{display:none!important}.page{max-width:1072px;margin:auto;padding:0 40px}.topbar{height:104px;display:flex;align-items:center;justify-content:space-between;border-bottom:1px solid var(--line)}.brand{display:flex;align-items:center;gap:11px;text-decoration:none;font-size:25px;font-weight:750;letter-spacing:-1px}.brand-icon{height:33px;width:33px;background:var(--green);color:#fffdf6;border-radius:11px;display:grid;place-items:center;font:italic bold 28px Georgia}.beta{font-size:9px;font-weight:600;letter-spacing:1.5px;margin-left:8px;color:var(--muted)}.sound-toggle{display:flex;align-items:center;gap:10px;background:#eeeee5;border:1px solid #dedfd4;padding:10px 16px;border-radius:24px;font-size:12px;font-weight:600}.sound-toggle span:first-child{font-family:monospace;font-weight:bold}.sound-toggle[aria-pressed=true]{background:#e4e8df}.intro{text-align:center;padding:48px 0 33px}.eyebrow{font-size:10px;letter-spacing:2px;font-weight:600;color:var(--muted);margin:0 0 16px}.eyebrow>span{display:inline-block;width:6px;height:6px;background:#a7b393;border-radius:50%;margin:0 8px 1px 0}h1{font-size:44px;letter-spacing:-2.3px;line-height:1.25;margin:0;font-weight:650}h1>span{color:#c68f6e}.intro-copy{font-size:14px;line-height:1.9;color:var(--muted);margin:16px 0 0}.mobile-break{display:none}.playground{background:#ebeee4;border:1px solid #dfe4d6;border-radius:24px;overflow:hidden;position:relative}.playground-top{display:flex;align-items:center;justify-content:space-between;padding:21px 25px}.live{display:flex;align-items:center;gap:8px;font-size:11px;color:#6b7967}.live>span:first-child{width:6px;height:6px;border-radius:50%;background:#9fae90}.live.ready>span:first-child{background:#6a8863;box-shadow:0 0 0 3px #6a886315}.segments{display:flex;gap:3px;background:#dfe4d8;padding:4px;border-radius:10px}.segments button{padding:7px 13px;border-radius:7px;font-size:11px;background:transparent;color:#77816e}.segments button[aria-pressed=true]{background:#fffef8;box-shadow:0 1px 3px #35442e10;color:#3d4e3a;font-weight:700}.board-space{min-height:267px;position:relative;display:flex;align-items:center;justify-content:center;padding:13px 20px 35px}.board{position:relative;z-index:1;background:linear-gradient(150deg,#fdfbf3,#e9e5d8);border:1px solid #d3d1c3;border-radius:20px;padding:15px 19px 12px;box-shadow:0 9px 0 #ccc9bb,0 10px 0 1px #c3c0b2,0 20px 23px #52624b26,inset 0 2px 0 #fffefa;transform:perspective(900px) rotateX(10deg) rotateZ(-3deg);transition:width .2s;max-width:100%}.case-top,.case-bottom{display:flex;align-items:center;justify-content:space-between;gap:20px}.case-top{padding:0 2px 13px}.case-label{font-size:8px;color:#95958b;font-weight:700;letter-spacing:1.6px}.case-led{height:4px;width:14px;border-radius:3px;background:#9eaf88;box-shadow:0 0 5px #b7c79b}.keys{display:grid;grid-template-columns:repeat(4,1fr);gap:11px;padding:8px;background:#d3d3c6;border-radius:11px;box-shadow:inset 0 2px 5px #3f463331}.key{position:relative;width:98px;height:105px;background:var(--cap);border:1px solid #00000012;border-radius:12px 12px 14px 14px;box-shadow:0 7px 0 var(--edge),0 8px 0 1px #575e4f33,0 11px 6px #3f46332c,inset 0 2px 1px #ffffffb0;transform:translateY(-5px);transition:transform 55ms,box-shadow 55ms;touch-action:none;user-select:none;-webkit-user-select:none}.key:before{content:"";position:absolute;inset:7px 8px 14px;border-radius:9px;border:1px solid #ffffff35;background:linear-gradient(145deg,#ffffff26,#00000002);box-shadow:inset 0 -1px 5px #00000004}.key-letter{position:relative;font-size:24px;font-weight:500;color:#4c5c4f}.key-symbol{display:block;position:relative;font-size:10px;letter-spacing:1px;margin-top:10px;color:#56675099}.key.pressed{transform:translateY(1px);box-shadow:0 1px 0 var(--edge),0 2px 0 1px #575e4f33,inset 0 2px 3px #0000000d}.key.pressed .key-letter{color:#26382c}.case-bottom{padding:17px 3px 0;color:#9c9b8d;font-size:7px;letter-spacing:1.5px}.case-dots{letter-spacing:4px;font-size:9px}.board-shadow{position:absolute;width:55%;height:25px;bottom:26px;border-radius:50%;background:#64755113;filter:blur(10px)}.playground-bottom{display:flex;align-items:center;justify-content:space-between;padding:12px 25px 20px;color:#89927d;font-size:10px}.playground-bottom p{margin:0}kbd{font:9px "Segoe UI",sans-serif;border:1px solid #cbd2c2;border-bottom-width:2px;border-radius:4px;padding:2px 5px;color:#7c8870;margin-right:2px}.tap-count{font-family:monospace;white-space:nowrap;color:#8b967f}.tap-count>span{font-size:12px;color:#5d7054}.touch-help{display:none}.sound-section{padding:32px 0 0}.section-heading{display:flex;align-items:center;justify-content:space-between;gap:15px}.small{font-size:8px;letter-spacing:1.7px;margin-bottom:6px}h2{font-size:20px;margin:0;letter-spacing:-.8px;font-weight:650}.volume{display:flex;align-items:center;gap:10px;font-size:11px;color:#829077}.volume>span{font-family:monospace}.volume input{width:105px;height:4px;accent-color:#6c8060;cursor:pointer}.volume output{width:30px;font-family:monospace;font-size:10px}.sound-tabs{display:flex;gap:25px;margin-top:21px;border-bottom:1px solid var(--line)}.sound-tabs button{position:relative;background:transparent;padding:0 0 13px;color:#909488;font-size:12px;display:flex;gap:7px;align-items:center;white-space:nowrap}.sound-tabs button[aria-selected=true]{color:#435c46;font-weight:700}.sound-tabs button[aria-selected=true]:after{content:"";position:absolute;height:2px;background:#5d765a;bottom:-1px;left:0;right:0}.sound-tabs small{font-size:9px;font-weight:500;background:#e8eadd;color:#7f8b73;border-radius:5px;padding:2px 5px}.sound-list{display:grid;grid-template-columns:repeat(4,1fr);gap:10px;padding-top:17px}.sound-card{display:flex;gap:12px;text-align:left;align-items:center;padding:15px 13px;min-height:76px;background:#faf9f4;border:1px solid #e1e3d9;border-radius:12px;position:relative;transition:border-color .15s,background .15s}.sound-card:hover{border-color:#aab79b;background:#f0f2e8}.sound-card[aria-pressed=true]{background:#e9eee0;border-color:#8eaa7f}.sound-card[aria-pressed=true]:after{content:"✓";position:absolute;right:10px;top:8px;color:#6b835f;font-size:10px}.switch-icon{height:34px;width:34px;border-radius:9px;background:var(--chip,#b0becd);display:grid;place-items:center;flex-shrink:0;box-shadow:inset 0 0 0 1px #0000000b}.switch-icon:before{content:"";width:16px;height:16px;border-radius:4px;background:#ffffffb0;box-shadow:0 2px 0 #00000012;clip-path:polygon(30% 0,70% 0,70% 30%,100% 30%,100% 70%,70% 70%,70% 100%,30% 100%,30% 70%,0 70%,0 30%,30% 30%)}.animal-icon{height:34px;width:34px;display:grid;place-items:center;font-size:27px;flex-shrink:0}.card-title{font-size:11px;font-weight:650;display:block;line-height:1.5}.card-desc{font-size:9px;color:#91988b;display:block;margin-top:4px}.sound-note{font-size:10px;color:#939a8a;margin:13px 0 0;line-height:1.8}.custom-panel{grid-column:1/-1;border:1px dashed #b8c3ac;border-radius:12px;padding:25px;text-align:center;background:#eeeee5}.custom-panel p{font-size:12px;line-height:1.8;color:var(--muted);margin:0 0 14px}.upload-button{display:inline-block;background:var(--green);color:#fff;padding:11px 20px;border-radius:9px;font-size:12px;cursor:pointer}.custom-name{font-size:13px;margin:0 0 12px;overflow-wrap:anywhere}.custom-reset{font-size:11px;background:transparent;text-decoration:underline;margin-left:12px}footer{margin-top:32px;padding:22px 0 28px;border-top:1px solid var(--line);display:flex;align-items:center;justify-content:space-between;gap:20px}.footer-brand{font-size:16px;letter-spacing:-.5px;font-weight:750;color:#7e8b76}.footer-brand>span{font-size:10px;letter-spacing:0;font-weight:400;margin-left:12px;color:#9da38f}footer>div{display:flex;gap:17px;font-size:9px;color:#979e8b}footer a{text-decoration:none}#toast{position:fixed;bottom:24px;left:50%;transform:translate(-50%,15px);padding:12px 20px;border-radius:12px;color:#fff;background:#3d4f43;box-shadow:0 5px 20px #0002;font-size:12px;max-width:90vw;opacity:0;pointer-events:none;transition:opacity .2s,transform .2s;z-index:5}#toast.show{opacity:1;transform:translate(-50%,0)}
@media(max-width:800px){.page{padding:0 24px}.sound-list{grid-template-columns:repeat(2,1fr)}.key{width:85px;height:93px}.keys{gap:9px}.key-letter{font-size:23px}.board[data-layout="6"] .key{width:71px;height:85px}}
@media(max-width:540px){.page{padding:0 18px}.topbar{height:76px}.brand{font-size:22px;gap:8px}.brand-icon{width:29px;height:29px;font-size:25px}.beta{display:none}.sound-toggle{font-size:11px;padding:9px 12px;gap:7px}.intro{padding:34px 0 26px}.eyebrow{font-size:8px;letter-spacing:1.3px;margin-bottom:13px}h1{font-size:35px;letter-spacing:-1.7px}.intro-copy{font-size:12px;line-height:1.8;margin-top:13px}.mobile-break{display:block}.playground{border-radius:20px}.playground-top{padding:16px}.live{font-size:10px;gap:6px}.segments button{padding:6px 10px;font-size:10px}.board-space{min-height:234px;padding:18px 14px 32px}.board{padding:13px 12px 11px;border-radius:16px;transform:perspective(900px) rotateX(10deg) rotateZ(-3deg)}.keys{grid-template-columns:repeat(2,1fr)!important;gap:12px 11px;padding:8px}.board[data-layout="4"] .key,.board[data-layout="6"] .key{width:91px;height:91px}.board[data-layout="2"] .key{width:107px;height:111px}.board[data-layout="6"] .keys{grid-template-columns:repeat(3,1fr)!important;gap:10px}.board[data-layout="6"] .key{width:76px;height:82px}.case-top{padding-bottom:11px}.case-bottom{padding-top:15px}.key-letter{font-size:24px}.key-symbol{font-size:9px;margin-top:5px}.playground-bottom{padding:10px 16px 17px;gap:8px;font-size:9px}.desktop-help{display:none}.touch-help{display:inline}.tap-count{font-size:9px}.sound-section{padding-top:27px}h2{font-size:19px}.small{font-size:8px;margin-bottom:7px}.volume{gap:7px}.volume input{width:72px}.volume output{font-size:9px;width:27px}.sound-tabs{gap:19px;margin-top:20px}.sound-tabs button{font-size:11px;gap:5px;padding-bottom:13px}.sound-tabs small{font-size:8px}.sound-list{gap:9px;padding-top:14px}.sound-card{padding:13px 11px;gap:9px;min-height:74px}.card-title{font-size:10px}.card-desc{font-size:9px}.switch-icon{width:29px;height:31px;border-radius:7px}.sound-note{font-size:9px}footer{padding-top:19px;margin-top:26px;align-items:flex-start}.footer-brand>span{display:block;margin:6px 0 0;font-size:9px}footer>div{flex-direction:column;gap:8px;text-align:right;font-size:9px}}
@media(max-width:540px){.card-title{font-size:12px}.card-desc{font-size:10px}.sound-tabs button{font-size:12px}.sound-card{min-height:79px}.sound-note{font-size:10px}.case-label{font-size:8px}}
@media(max-width:380px){.board[data-layout="6"] .key{width:64px;height:76px}.sound-tabs{gap:13px}.sound-tabs button{font-size:11px}.sound-card{padding:12px 9px;gap:7px}.card-title{font-size:11px}.card-desc{font-size:9px}}
/* Mobile keyboard case stays square for every key count. */
@media(max-width:540px){
  .board{width:min(100%,320px);aspect-ratio:1;display:flex;flex-direction:column;transform:rotate(-3deg)}
  .keys{flex:1;min-height:0;grid-template-rows:repeat(2,minmax(0,1fr))}
  .board[data-layout="2"] .keys{grid-template-rows:minmax(0,1fr)}
  .board[data-layout="2"] .key,.board[data-layout="4"] .key,.board[data-layout="6"] .key{width:100%;height:100%;min-width:0;min-height:0}
  .board[data-layout="2"] .key,.board[data-layout="6"] .key{height:auto;aspect-ratio:1;align-self:center}
  .case-top,.case-bottom{flex-shrink:0}
}
.header-controls{display:flex;align-items:center;gap:8px}.haptic-note{font-size:10px;line-height:1.6;color:#89927d;padding:0 25px 16px;margin:-7px 0 0}.sound-toggle:disabled{cursor:default;opacity:.65}
.speech-panel{grid-column:1/-1;background:#eeeee5;border:1px solid #dce1d3;border-radius:12px;padding:20px}.speech-panel>p{font-size:12px;color:var(--muted);margin:0 0 16px;line-height:1.8}.speech-fields{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:12px}.speech-fields label{display:flex;flex-direction:column;gap:7px;font-size:11px;color:var(--muted)}.speech-fields input,.speech-fields select{width:100%;min-width:0;border:1px solid #cbd3c1;border-radius:9px;background:#fafaf3;color:var(--ink);text-align:center;font-family:inherit;font-weight:500;font-size:23px;line-height:1.4;padding:10px 5px;height:55px}
.key-slot{position:relative;width:98px;height:105px}.key-slot>.key{width:100%!important;height:100%!important}.ios-key-switch{position:absolute;inset:0;width:100%;height:100%;margin:0;opacity:0;clip-path:inset(0 round 12px);touch-action:none;-webkit-appearance:auto;appearance:auto;cursor:pointer;z-index:2}
@media(max-width:800px) and (min-width:541px){.key-slot{width:85px;height:93px}.board[data-layout="6"] .key-slot{width:71px;height:85px}}
@media(max-width:540px){.header-controls{gap:6px}.header-controls .sound-toggle{padding:9px 10px;font-size:10px;gap:5px}.haptic-note{font-size:9px;padding:0 16px 14px;margin-top:-6px}.sound-tabs{gap:0;justify-content:space-between}.sound-tabs button{font-size:11px;gap:4px}.sound-tabs small{font-size:8px;padding:2px 4px}.speech-panel{padding:16px}.speech-fields{grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}.key-slot{width:100%;height:100%;min-width:0;min-height:0}.board[data-layout="2"] .key-slot,.board[data-layout="6"] .key-slot{height:auto;aspect-ratio:1;align-self:center}}
@media(max-width:360px){.sound-tabs button{font-size:10px;gap:3px}.sound-tabs small{padding:2px 3px}.header-controls .sound-toggle{padding:8px;font-size:9px}}
.speech-fields{grid-template-columns:repeat(4,minmax(0,1fr))}.speech-fields[data-layout="2"]{grid-template-columns:repeat(2,minmax(0,1fr))}.speech-fields[data-layout="6"]{grid-template-columns:repeat(6,minmax(0,1fr))}
@media(max-width:540px){.speech-fields{grid-template-columns:repeat(2,minmax(0,1fr))}.speech-fields[data-layout="6"]{grid-template-columns:repeat(3,minmax(0,1fr))}}
/* Warm raised keycaps, following the supplied TOKDAK app icon. */
.brand{letter-spacing:1.3px;font-size:24px;gap:11px}.brand-image{width:44px;height:44px;display:block;border-radius:12px;object-fit:cover;box-shadow:0 2px 5px #b4a08b26}.brand .beta{letter-spacing:1.5px}
.playground{background:#f0e9dc;border-color:#e4dac9}.board{background:linear-gradient(145deg,#f9eddd 0%,#e7d3bb 65%,#d8bfa4 100%);border-color:#d0b89c;box-shadow:0 10px 0 #c6aa8b,0 11px 0 1px #bda183,0 23px 28px #8c6c4a37,inset 0 2px 1px #fff9ed,inset 2px 0 3px #fff5e3}.keys{background:#c9baa6;box-shadow:inset 0 3px 6px #51433345,inset 0 0 0 1px #af9e87}.case-label,.case-bottom{color:#a58f76}.case-led{background:#a4b18b}.key{border-radius:17px 17px 19px 19px;border-color:#00000012;background:linear-gradient(135deg,#ffffff1f,#00000007),var(--cap);box-shadow:0 9px 0 var(--edge),0 11px 0 1px #69534036,0 14px 9px #493b2c38,inset 0 3px 2px #ffffff80,inset 2px 0 3px #ffffff35;transform:perspective(650px) rotateX(7deg) translateY(-7px)}
.key:before{inset:7px 7px 15px;border-radius:14px;background:radial-gradient(ellipse at 40% 15%,#fff3,transparent 80%),repeating-radial-gradient(circle at 0 0,#ffffff0d 0 .5px,transparent .5px 2px);border:1px solid #ffffff45;box-shadow:inset 0 0 6px #fff1,inset 0 -3px 7px #00000005}.key-letter{color:var(--key-ink);font-size:29px;font-weight:650;text-shadow:0 1px 1px #fff2}.key-symbol{color:var(--key-ink);opacity:.55;font-size:9px;margin-top:8px}.key.pressed{transform:perspective(650px) rotateX(7deg) translateY(1px);box-shadow:0 1px 0 var(--edge),0 3px 0 1px #69534036,0 4px 3px #493b2c25,inset 0 2px 4px #00000016}.key.pressed .key-letter{color:var(--key-ink)}
@media(max-width:540px){.brand{font-size:18px;letter-spacing:1px;gap:7px}.brand-image{width:35px;height:35px;border-radius:10px}.key-letter{font-size:29px}.board{padding:15px 13px 13px;border-radius:19px}.case-top{padding-bottom:13px}.case-bottom{padding-top:17px}}
@media(max-width:360px){.brand{font-size:16px;gap:6px}.brand-image{width:32px;height:32px}.key-letter{font-size:25px}}
@media(prefers-reduced-motion:reduce){*{scroll-behavior:auto!important;transition:none!important}}
/* Keep the direct-touch switch over the raised cap, including its top edge. */
.key-slot{touch-action:none;user-select:none;-webkit-user-select:none}
.ios-key-switch{top:-9px;bottom:-3px;height:calc(100% + 12px);clip-path:inset(0 round 17px)}
.key>*{pointer-events:none}

.voice-presets{display:flex;gap:8px;margin:0 0 16px}.voice-presets button{font:inherit;font-size:12px;background:#fafaf3;border:1px solid #cbd3c1;border-radius:16px;padding:7px 15px}.voice-presets button:hover{background:#e9eee0}.speech-fields select{font:inherit;font-size:23px;cursor:pointer;appearance:auto;padding:0 8px;line-height:normal}
