@font-face {
  font-family: "Source Serif 4";
  font-style: normal;
  font-weight: 200 900;
  font-display: swap;
  src: url(/fonts/source-serif-4-latin.woff2) format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Source Serif 4";
  font-style: normal;
  font-weight: 200 900;
  font-display: swap;
  src: url(/fonts/source-serif-4-latin-ext.woff2) format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

:root {
  color-scheme: light;
  --bg: #fbfaf7;
  --panel: #f3f1eb;
  --raised: #ffffff;
  --text: #1d1c1a;
  --text-2: #5c5952;
  --text-3: #6f6c64;
  --line: rgb(29 28 26 / 0.09);
  --line-2: rgb(29 28 26 / 0.16);
  --shade: rgb(60 45 20 / 0.07);
  --accent: #f5a524;
  --accent-ink: #945200;
  --accent-wash: #fbeed5;
  --accent-line: rgb(214 138 16 / 0.5);
  --on-accent: #1d1c1a;
  --selection: rgb(245 165 36 / 0.3);
  --key-top: #ffffff;
  --key-face: #f6f4ee;
  --key-edge: rgb(29 28 26 / 0.15);
  --key-side: #d9d5ca;
  --key-shadow: rgb(70 55 25 / 0.28);
  --sans: "Segoe UI Variable Text", "Segoe UI", system-ui, -apple-system, sans-serif;
  --display: "Segoe UI Variable Display", "Segoe UI", system-ui, -apple-system, sans-serif;
  --serif: "Source Serif 4", "Sitka Text", Georgia, serif;
  font: 400 17px/1.55 var(--sans);
  color: var(--text);
  background: var(--bg);
}

@media (prefers-color-scheme: dark) {
  :root {
    color-scheme: dark;
    --bg: #1b1a19;
    --panel: #242322;
    --raised: #2b2a28;
    --text: #f1efe8;
    --text-2: #c4c1b8;
    --text-3: #9e9b92;
    --line: rgb(241 239 232 / 0.08);
    --line-2: rgb(241 239 232 / 0.15);
    --shade: rgb(0 0 0 / 0.3);
    --accent-ink: #f6b44a;
    --accent-wash: rgb(245 165 36 / 0.12);
    --accent-line: rgb(245 165 36 / 0.42);
    --selection: rgb(245 165 36 / 0.32);
    --key-top: #3b3a37;
    --key-face: #312f2d;
    --key-edge: rgb(0 0 0 / 0.55);
    --key-side: #121110;
    --key-shadow: rgb(0 0 0 / 0.6);
  }
}

* { box-sizing: border-box; }
body { margin: 0; }
img { max-width: 100%; height: auto; }
a { color: var(--accent-ink); text-underline-offset: 3px; }
::selection { background: var(--selection); }
:focus-visible { outline: 2px solid var(--accent-ink); outline-offset: 3px; }

.wrap { width: min(1080px, 100% - 40px); margin: 0 auto; }
.narrow { width: min(760px, 100% - 40px); margin: 0 auto; }

.top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 22px 0;
}
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--text);
  text-decoration: none;
  font: 600 19px/1 var(--display);
}
.brand img { border-radius: 8px; }
.top nav { display: flex; gap: 24px; font-size: 15px; }
.top nav a { color: var(--text-2); text-decoration: none; }
.top nav a:hover { color: var(--text); }

h1, h2, h3 { margin: 0; text-wrap: balance; }
h1, h2 { font-family: var(--serif); font-weight: 500; letter-spacing: -0.018em; line-height: 1.12; }
h2 { font-size: 36px; }
h3 { font: 600 18px/1.3 var(--sans); }
p { margin: 0; text-wrap: pretty; }

.hero { padding: 64px 0 40px; }
/* Centered, not baseline-aligned: a keycap is taller than the capitals, and
   on a shared baseline it hangs below the line. */
.hero h1 {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px 20px;
  font-size: clamp(44px, 7.4vw, 80px);
  font-weight: 450;
  letter-spacing: -0.025em;
}
.hero .plus { font: 400 0.6em/1 var(--display); color: var(--text-3); }
.lede { margin-top: 24px; max-width: 34em; font-size: 20px; color: var(--text-2); }

/* Sized from its own font, which is 0.54 of the headline, in the app's proportions. */
.key {
  display: inline-flex;
  align-items: center;
  gap: 0.36em;
  height: 2.16em;
  padding: 0 0.72em;
  border: 1px solid var(--key-edge);
  border-radius: 0.48em;
  background: linear-gradient(var(--key-top), var(--key-face));
  box-shadow: 0 0.12em 0 var(--key-side), 0 0.48em 0.8em -0.48em var(--key-shadow);
  font: 600 0.54em/1 var(--display);
  letter-spacing: -0.01em;
  color: var(--text);
  animation: press 4.8s cubic-bezier(0.2, 0.8, 0.2, 1) 1.2s infinite;
}
.key svg { width: 0.76em; height: 0.76em; fill: currentColor; }
@keyframes press {
  0%, 8%, 54%, 100% {
    transform: translateY(0);
    box-shadow: 0 0.12em 0 var(--key-side), 0 0.48em 0.8em -0.48em var(--key-shadow);
  }
  12%, 48% {
    transform: translateY(0.12em);
    border-color: var(--accent);
    background: var(--accent-wash);
    box-shadow: 0 0 0 var(--key-side);
  }
}

.cta-row { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 22px; margin-top: 32px; }
.button {
  display: inline-block;
  padding: 13px 22px;
  border-radius: 10px;
  background: var(--accent);
  box-shadow: 0 1px 2px var(--shade);
  color: var(--on-accent);
  font-weight: 600;
  text-decoration: none;
  transition: background-color 120ms;
}
.button:hover { background: color-mix(in srgb, var(--accent), #fff 14%); }
.button:active { background: color-mix(in srgb, var(--accent), #000 8%); }
.cta-note { font-size: 15px; color: var(--text-2); }

.demo {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
  margin-top: 56px;
}
.said, .typed {
  padding: 22px 24px;
  border: 1px solid var(--line-2);
  border-radius: 16px;
  background: var(--raised);
}
.said { border-style: dashed; background: transparent; }
.label { margin-bottom: 8px; font-size: 14px; font-weight: 600; color: var(--text-2); }
.said p:not(.label) { color: var(--text-2); font-style: italic; }
.typed p:not(.label, .app) { font: 400 21px/1.45 var(--serif); }
.typed .app { margin-top: 10px; font-size: 14px; color: var(--text-2); }

.shot { margin: 56px 0 0; }
.shot img {
  display: block;
  width: 100%;
  border: 1px solid var(--line-2);
  border-radius: 8px;
  box-shadow: 0 2px 6px -2px var(--shade), 0 30px 60px -30px var(--key-shadow);
}
.shot figcaption { margin-top: 14px; font-size: 15px; color: var(--text-2); }

section { padding: 72px 0; border-top: 1px solid var(--line); }
.section-lede { margin-top: 14px; max-width: 36em; font-size: 18px; color: var(--text-2); }

.features { display: grid; grid-template-columns: repeat(2, 1fr); gap: 40px 56px; margin-top: 44px; }
.feature p { margin-top: 8px; color: var(--text-2); }
.feature kbd, .inline-key {
  display: inline-block;
  padding: 0 7px 1px;
  border: 1px solid var(--key-edge);
  border-radius: 6px;
  background: linear-gradient(var(--key-top), var(--key-face));
  box-shadow: 0 1.5px 0 var(--key-side);
  font: 600 0.82em/1.45 var(--sans);
  color: var(--text);
  white-space: nowrap;
}

.privacy { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; margin-top: 40px; }
.privacy div { padding: 24px 26px; border: 1px solid var(--line); border-radius: 16px; background: var(--panel); }
.privacy p { margin-top: 6px; color: var(--text-2); }
.privacy + .section-lede { margin-top: 24px; font-size: 16px; }

table { width: 100%; margin-top: 32px; border-collapse: collapse; font-size: 16px; }
caption { padding-bottom: 10px; font-size: 14px; color: var(--text-2); text-align: left; }
th, td { padding: 13px 14px; border-bottom: 1px solid var(--line-2); text-align: left; vertical-align: top; }
thead th { font-size: 14px; font-weight: 600; color: var(--text-2); }
tbody th { width: 30%; font-weight: 600; }
td.us { background: var(--accent-wash); }
.table-scroll { overflow-x: auto; }

.plans { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; margin-top: 40px; }
.plan { padding: 28px 30px; border: 1px solid var(--line-2); border-radius: 16px; background: var(--raised); }
.plan.pro { border-color: var(--accent-line); box-shadow: inset 0 0 0 1px var(--accent-line); }
.price { margin-top: 12px; font: 500 44px/1.05 var(--serif); letter-spacing: -0.02em; }
.price span { font: 400 17px/1.4 var(--sans); letter-spacing: 0; color: var(--text-2); }
.price-alt { margin-top: 6px; font-size: 15px; color: var(--text-2); }
.plan ul { margin: 18px 0 0; padding-left: 20px; color: var(--text-2); }
.plan li + li { margin-top: 6px; }
.trial {
  margin-top: 20px;
  padding: 10px 14px;
  border-radius: 10px;
  background: var(--accent-wash);
  font-size: 15px;
}

.faq { max-width: 760px; margin-top: 28px; }
.faq details { padding: 16px 0; border-bottom: 1px solid var(--line-2); }
.faq summary { font-size: 18px; font-weight: 600; cursor: pointer; }
.faq details p { margin-top: 10px; max-width: 40em; color: var(--text-2); }

.article { padding: 48px 0 24px; }
.article h1 { font-size: clamp(38px, 5.5vw, 56px); }
.updated { margin-top: 16px; font-size: 15px; color: var(--text-2); }
.answer {
  margin-top: 28px;
  padding: 20px 24px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--panel);
  font: 400 20px/1.5 var(--serif);
}
.prose h2 { margin-top: 56px; font-size: 30px; }
.prose h3 { margin-top: 32px; }
.prose p, .prose ul, .prose ol { margin-top: 16px; }
.prose ul, .prose ol { padding-left: 22px; }
.prose li + li { margin-top: 8px; }

footer { padding: 40px 0 56px; border-top: 1px solid var(--line); font-size: 14px; color: var(--text-2); }
footer .wrap { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px 32px; }
footer nav { display: flex; flex-wrap: wrap; gap: 8px 20px; }
footer a { color: var(--text-2); }

@media (max-width: 760px) {
  :root { font-size: 16px; }
  .top nav { display: none; }
  .demo, .features, .privacy, .plans { grid-template-columns: 1fr; }
  .hero { padding-top: 32px; }
  section { padding: 52px 0; }
  h2 { font-size: 29px; }
  /* Four columns don't fit a phone: each row's label takes a line of its own
     above the three answers. */
  #compare table, #compare caption, #compare thead, #compare tbody { display: block; }
  #compare tr { display: flex; flex-wrap: wrap; }
  #compare th, #compare td { flex: 1 1 0; min-width: 0; padding: 10px; }
  #compare thead th:first-child { display: none; }
  #compare tbody th { flex-basis: 100%; padding-bottom: 0; border-bottom: 0; }
}

@media (prefers-reduced-motion: reduce) {
  .key { animation: none; }
}
