/* Tokens are one word:'s (tokens.css v1.4); hmmtja differs in shape, not in colour. */
@font-face{font-family:'Switzer';src:url('fonts/Switzer-Regular.woff2') format('woff2');font-weight:400;font-style:normal;font-display:swap}
@font-face{font-family:'Switzer';src:url('fonts/Switzer-Medium.woff2') format('woff2');font-weight:500;font-style:normal;font-display:swap}
@font-face{font-family:'Switzer';src:url('fonts/Switzer-Bold.woff2') format('woff2');font-weight:700;font-style:normal;font-display:swap}
:root{
  --ow-orange:#FF4F00; --ow-white:#FFFFFF;
  --ow-grey-100:#E0E0E0; --ow-grey-500:#9E9E9E; --ow-grey-700:#4A5568; --ow-grey-900:#212121;
  --ow-font:'Switzer',system-ui,-apple-system,sans-serif;
  --margin:1.5rem; --head:2rem; --sub:1.125rem; --talk:1.5rem;
}
@media (min-width:720px){ :root{ --margin:3rem; --sub:1.5rem } }
@media (min-width:1180px){ :root{ --margin:4.5rem; --head:3rem } }
*,*::before,*::after{box-sizing:border-box}
html{-webkit-font-smoothing:antialiased;text-rendering:optimizeLegibility;font-size:16px}
body,h1,p{margin:0;padding:0}
body{font-family:var(--ow-font);font-size:1.125rem;line-height:1.5;color:var(--ow-grey-900);background:var(--ow-white);font-weight:400}
a{color:inherit;text-decoration:none}
button{font:inherit;color:inherit;background:none;border:0;padding:0;cursor:pointer;border-radius:0}
:focus-visible{outline:2px solid var(--ow-orange);outline-offset:4px}

.page{min-height:100vh;min-height:100svh;display:grid;grid-template-rows:auto 1fr auto;padding:2.25rem var(--margin) 1.125rem;gap:2rem;max-width:80rem;margin:0 auto}

.top{display:flex;justify-content:space-between;align-items:flex-start;gap:1.5rem}
.logo{display:block;width:min(240px,44vw);flex:none}
.logo svg{display:block;width:100%;height:auto;overflow:visible}
.colon{fill:var(--ow-orange)}
.line{fill:none;stroke:var(--ow-grey-900);stroke-width:1.5;stroke-linejoin:round;stroke-linecap:round;vector-effect:non-scaling-stroke}
.logo text{font-family:var(--ow-font);font-size:11px;font-weight:500;fill:var(--ow-grey-500);text-anchor:middle}
.nav{display:flex;gap:clamp(.875rem,3vw,1.6875rem);font-size:.875rem;font-weight:500;color:var(--ow-grey-700);line-height:1.75rem;white-space:nowrap}
.nav a,.nav button{border-bottom:1px solid transparent}
.nav a:hover,.nav button:hover,.nav a[aria-current]{color:var(--ow-grey-900);border-bottom-color:var(--ow-grey-900)}

.hero{display:grid;gap:3.375rem;align-items:center;align-self:center}
@media (min-width:960px){
  .hero{grid-template-columns:minmax(0,1.2fr) minmax(0,1fr);gap:4.5rem}
  .pitch{order:1} .side{order:2}
}

.pitch{display:grid;gap:1.6875rem;justify-items:start;max-width:34rem}
.pitch h1{font-size:var(--head);font-weight:700;line-height:1.1;letter-spacing:-.02em;text-wrap:balance}
.pitch .second{text-wrap:balance;font-size:var(--sub);color:var(--ow-grey-700);line-height:1.35;letter-spacing:-.005em}
.pitch .body{max-width:30em}
.pitch b{font-weight:700}
.cta{display:inline-block;border:1px solid var(--ow-grey-900);padding:.5625rem 1.125rem;font-size:1rem;font-weight:500;line-height:1.5}
.cta:hover{background:var(--ow-grey-900);color:var(--ow-white)}
.mail{font-size:var(--sub);font-weight:700;letter-spacing:-.005em;border-bottom:1px solid var(--ow-grey-900)}
.mail:hover{color:var(--ow-orange);border-bottom-color:var(--ow-orange)}
.pitch > *{transition:opacity .7s linear}
.js .pitch > .off{opacity:0}

/* The phone keeps an iPhone's proportions (390 by 844) at any size: everything inside is set in em, scaled from the
   phone's height, so it grows and shrinks as one thing. */
.side{min-width:0;display:grid;justify-items:center}
.phone{--ph:clamp(28rem,calc(100svh - 13rem),40rem);
  font-size:min(calc(var(--ph) / 52.75),calc((100vw - 2 * var(--margin)) / 24.375));
  width:24.375em;height:52.75em;border:1px solid var(--ow-grey-900);border-radius:3.4em;overflow:hidden;background:var(--ow-white);
  display:grid;grid-template-rows:auto auto minmax(0,1fr) auto auto;line-height:1.3;letter-spacing:0;cursor:default;
  -webkit-user-select:none;user-select:none}
@media (min-width:960px){ .phone{--ph:clamp(30rem,calc(100svh - 17rem),46rem)} }
.status{height:3.3em;padding:.5em 2em 0;display:grid;grid-template-columns:1fr auto 1fr;align-items:center}
.clock{font-size:1em;font-weight:700}
.island{width:7.6em;height:2.2em;border:1px solid var(--ow-grey-900);border-radius:1.1em}
.batt{justify-self:end;width:1.65em;height:.8em;border:1px solid var(--ow-grey-900);border-radius:.22em;position:relative}
.batt::after{content:"";position:absolute;inset:.1em;right:.45em;background:var(--ow-grey-900);border-radius:.08em}
.phone .head{display:grid;justify-items:center;gap:.3em;padding:.45em 1em .65em;border-bottom:1px solid var(--ow-grey-100)}
.avatar{width:2.9em;height:2.9em;border-radius:50%;background:#E9E9EB;display:grid;place-items:center;color:var(--ow-grey-700)}
.avatar b{font-size:.8em;font-weight:500}
.name{font-size:.7em;line-height:1.2;color:var(--ow-grey-900)}
.msgs{display:flex;flex-direction:column;justify-content:flex-start;gap:.4em;padding:.75em .9em .45em;overflow:hidden}
.stamp{align-self:center;font-size:.69em;line-height:1.2;color:var(--ow-grey-500);margin-bottom:.4em}
.msg{font-size:1.0625em;max-width:76%;padding:.4em .76em .45em;border-radius:1.1em;animation:pop .24s cubic-bezier(.2,.8,.2,1) both}
.msg.in{align-self:flex-start;background:#E9E9EB;color:var(--ow-grey-900);border-bottom-left-radius:.3em}
.msg.out{align-self:flex-end;background:var(--ow-orange);color:var(--ow-white);font-weight:500;border-bottom-right-radius:.3em}
.msg.long{max-width:94%;white-space:nowrap}
.msg.typing{padding:.62em .76em}
.msg.typing svg,.field svg.hum{display:block;width:2.6em;height:.9em;overflow:visible}
.sent{align-self:flex-end;font-size:.69em;line-height:1.2;color:var(--ow-grey-500);margin-right:.3em;animation:pop .24s both}
@keyframes pop{from{opacity:0;transform:translateY(.5em) scale(.97)}}
.compose{display:flex;align-items:center;gap:.55em;padding:.35em .75em .55em}
.plus{flex:none;width:2.15em;height:2.15em;border-radius:50%;background:#E9E9EB;position:relative}
.plus::before,.plus::after{content:"";position:absolute;left:50%;top:50%;width:.95em;height:1.5px;background:var(--ow-grey-700);transform:translate(-50%,-50%)}
.plus::after{transform:translate(-50%,-50%) rotate(90deg)}
.field{flex:1;min-width:0;min-height:2.3em;border:1px solid #C2C3C8;border-radius:1.15em;padding:.2em .25em .2em .8em;
  display:flex;align-items:center;justify-content:space-between;gap:.5em;white-space:nowrap;overflow:hidden}
.field > :first-child{font-size:1.0625em}
.field .ph{color:var(--ow-grey-500)}
.send{flex:none;width:1.75em;height:1.75em;border-radius:50%;background:var(--ow-orange);display:grid;place-items:center;opacity:0;transition:opacity .15s linear,transform .1s linear}
.send.on{opacity:1}
.send.down{transform:scale(.86)}
.send svg{width:.85em;height:.85em;fill:none;stroke:var(--ow-white);stroke-width:2;stroke-linecap:round;stroke-linejoin:round}
.kb{background:#E4E5E9;padding:.5em .22em 0;display:grid;gap:.7em}
.kb .row{display:flex;gap:.375em;justify-content:center}
.key{flex:1 1 0;min-width:0;height:2.65em;border-radius:.32em;background:var(--ow-white);box-shadow:0 .07em 0 rgba(0,0,0,.26);display:grid;place-items:center;color:var(--ow-grey-900)}
.key span{font-size:1.4em;line-height:1}
.kb.caps .key.l span{text-transform:uppercase}
.key.fn{background:#C9CCD3;flex:1.45 1 0}
.key.fn span{font-size:.95em}
.key.wide{flex:2.5 1 0}
.key.space{flex:5.4 1 0;background:var(--ow-white)}
.key.space span{font-size:.95em}
.key.gapr{margin-right:.5em} .key.gapl{margin-left:.5em}
.kb.caps .key.shift{background:var(--ow-white)}
.key.down{background:var(--ow-orange);color:var(--ow-white)}
.kb.caps .key.shift.down{background:var(--ow-orange)}
.homebar{height:2em;display:grid;place-items:center}
.homebar::after{content:"";width:8.6em;height:.32em;border-radius:.16em;background:var(--ow-grey-900)}
.js .off{visibility:hidden}
.caret{position:relative;display:inline-block;width:0;height:1em;vertical-align:-.12em}
.caret::after{content:"";position:absolute;left:1px;top:0;width:max(1.5px,.04em);height:100%;background:currentColor}
.caret.blink::after{animation:blink 1.06s steps(1) infinite}
@keyframes blink{50%{opacity:0}}

.toy{display:grid;gap:.75rem;width:100%;text-align:left;touch-action:none;-webkit-user-select:none;user-select:none;-webkit-touch-callout:none}
.toy svg{display:block;width:100%;height:auto;overflow:visible}
.toy .word{font-size:var(--talk);line-height:1.35;letter-spacing:-.005em;min-height:1.35em;white-space:nowrap;overflow:hidden}
.toy .word i{font-style:normal;color:var(--ow-orange);font-weight:700}
.toy .hint{font-size:.875rem;color:var(--ow-grey-500);line-height:1.5;min-height:1.5em}

.foot{text-align:center;font-size:.875rem;color:var(--ow-grey-700);border-top:1px solid var(--ow-grey-100);padding-top:1.125rem}
.sound{justify-self:center;margin-top:.875rem;font-size:.75rem;font-weight:500;line-height:1.5;color:var(--ow-grey-500);border-bottom:1px solid transparent;white-space:nowrap}
.sound:hover,.sound[aria-pressed="true"]{color:var(--ow-grey-900)}
.sound:hover{border-bottom-color:var(--ow-grey-900)}
.sound.left{justify-self:start}
.foot b{font-weight:700;color:var(--ow-grey-900)}
.foot b i{font-style:normal;color:var(--ow-orange)}

@media (prefers-reduced-motion:reduce){ .caret.blink::after{animation:none} .pitch > *{transition:none} .msg,.sent{animation:none} }
