/* Edgeleaf — the download page. The same paper, ink and vermilion as the app. */

@font-face {
  font-family: "Fraunces";
  src: url("fonts/fraunces-latin-full-normal.woff2") format("woff2");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Fraunces";
  src: url("fonts/fraunces-latin-full-italic.woff2") format("woff2");
  font-weight: 100 900;
  font-style: italic;
  font-display: swap;
}
@font-face {
  font-family: "Instrument Sans";
  src: url("fonts/instrument-sans-latin-wght-normal.woff2") format("woff2");
  font-weight: 400 700;
  font-style: normal;
  font-display: swap;
}

:root {
  --display: "Fraunces", "Iowan Old Style", Georgia, serif;
  --ui: "Instrument Sans", -apple-system, "Segoe UI", system-ui, sans-serif;
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);

  --bg: #f5efe3;
  --bg-2: #efe7d7;
  --surface: #fbf7ef;
  --ink: #221c16;
  --ink-2: #5d5245;
  --ink-3: #978a79;
  --line: rgba(34, 28, 22, 0.11);
  --line-2: rgba(34, 28, 22, 0.2);
  --accent: #d6452a;
  --accent-2: #b8361e;
  --accent-soft: rgba(214, 69, 42, 0.12);
  --on-accent: #fff8f0;
  --wall-1: #e9c9a3;
  --wall-2: #c98d6b;
  --wall-3: #8a5a4a;
  --shadow: 0 1px 2px rgba(60, 40, 20, 0.06), 0 8px 24px -8px rgba(60, 40, 20, 0.18);
  --shadow-lg: 0 2px 6px rgba(60, 40, 20, 0.08), 0 30px 70px -20px rgba(60, 40, 20, 0.45);
  --grain-opacity: 0.07;
  color-scheme: light;
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #1d1916;
    --bg-2: #241f1b;
    --surface: #2a2420;
    --ink: #ebe1d1;
    --ink-2: #b6a792;
    --ink-3: #7d705f;
    --line: rgba(235, 225, 209, 0.09);
    --line-2: rgba(235, 225, 209, 0.18);
    --accent: #f0694a;
    --accent-2: #ff8466;
    --accent-soft: rgba(240, 105, 74, 0.14);
    --on-accent: #1d1916;
    --wall-1: #4a3a52;
    --wall-2: #2f2a3d;
    --wall-3: #17151d;
    --shadow: 0 1px 2px rgba(0, 0, 0, 0.3), 0 8px 24px -8px rgba(0, 0, 0, 0.6);
    --shadow-lg: 0 2px 6px rgba(0, 0, 0, 0.35), 0 30px 70px -20px rgba(0, 0, 0, 0.8);
    --grain-opacity: 0.05;
    color-scheme: dark;
  }
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--ui);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

/* The same paper grain the app lays over its panel (plain transparency on its
   own layer; a blend mode would make Safari re-blend the page as it scrolls). */
body::after {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 100;
  opacity: var(--grain-opacity);
  transform: translateZ(0);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='220' height='220'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 .5 0 0 0 0 .4 0 0 0 0 .3 0 0 0 1.1 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

::selection {
  background: var(--accent-soft);
}

a {
  color: inherit;
}

img {
  display: block;
  max-width: 100%;
  height: auto;
}

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

/* The ribbon bookmark that hangs from the top of the page, as in the app. */
.ribbon {
  position: absolute;
  top: 0;
  right: max(16px, calc((100vw - 1120px) / 2 - 36px));
  z-index: 5;
  width: 16px;
  height: 190px;
  background: linear-gradient(180deg, var(--accent-2), var(--accent));
  clip-path: polygon(0 0, 100% 0, 100% 100%, 50% calc(100% - 10px), 0 100%);
  transform-origin: top;
  animation: ribbon-drop 1.3s var(--ease-out) 0.2s both;
}
.ribbon::after {
  content: "";
  position: absolute;
  inset: 0;
  background: repeating-linear-gradient(90deg, rgba(255, 255, 255, 0.08) 0 1px, transparent 1px 4px);
}
@keyframes ribbon-drop {
  from {
    transform: scaleY(0.15);
  }
}

/* --------------------------------------------------------------------------
   Top bar
   -------------------------------------------------------------------------- */

.nav {
  display: flex;
  align-items: center;
  gap: 12px;
  height: 76px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  font: 600 12px/1 var(--ui);
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ink-3);
}
.brand svg {
  width: 24px;
  height: 24px;
}
.brand b {
  font-weight: inherit;
  color: var(--accent);
}
.nav .spacer {
  flex: 1;
}
.nav-tip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  height: 36px;
  padding: 0 12px;
  border-radius: 10px;
  text-decoration: none;
  font: 550 13.5px/1 var(--ui);
  color: var(--ink-2);
  transition: background-color 0.2s, color 0.2s;
}
.nav-tip:hover {
  background: var(--line);
  color: var(--ink);
}

/* A coffee cup whose steam rises on hover (the same drawing as the app's button). */
.cup {
  width: 20px;
  height: 20px;
  flex: none;
}
.cup .steam {
  opacity: 0.5;
  transition: opacity 0.3s, stroke 0.3s;
}
a:hover .cup .steam {
  stroke: var(--accent);
  opacity: 1;
  animation: steam 1.8s var(--ease-out) infinite;
}
a:hover .cup .steam + .steam {
  animation-delay: 0.4s;
}
@keyframes steam {
  0% {
    transform: translateY(2px);
    opacity: 0;
  }
  45% {
    opacity: 1;
  }
  100% {
    transform: translateY(-2px);
    opacity: 0;
  }
}

/* --------------------------------------------------------------------------
   Buttons
   -------------------------------------------------------------------------- */

.pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  height: 52px;
  padding: 0 24px;
  border-radius: 99px;
  background: var(--accent);
  color: var(--on-accent);
  text-decoration: none;
  font: 600 15.5px/1 var(--ui);
  box-shadow: 0 10px 26px -12px var(--accent);
  transition: transform 0.3s var(--ease-out), background-color 0.2s, box-shadow 0.3s;
}
.pill:hover {
  background: var(--accent-2);
  transform: translateY(-2px);
}
.pill small {
  font: 500 12px/1 var(--ui);
  opacity: 0.75;
}
.pill.quiet {
  background: var(--surface);
  color: var(--ink);
  box-shadow: inset 0 0 0 1px var(--line-2);
}
.pill.quiet:hover {
  background: var(--bg-2);
}
.pill.small {
  height: 36px;
  padding: 0 16px;
  font-size: 13.5px;
  box-shadow: none;
}
.pill svg {
  width: 18px;
  height: 18px;
}

/* --------------------------------------------------------------------------
   Hero
   -------------------------------------------------------------------------- */

.hero {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: clamp(32px, 5vw, 72px);
  align-items: center;
  padding: clamp(24px, 6vw, 72px) 0 clamp(56px, 8vw, 110px);
}
.eyebrow {
  font: 600 12px/1 var(--ui);
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ink-3);
  display: flex;
  align-items: center;
  gap: 12px;
}
.eyebrow::before {
  content: "";
  width: 26px;
  height: 1px;
  background: currentColor;
}
.wordmark {
  margin: 20px 0 0 -0.05em;
  font-family: var(--display);
  font-weight: 340;
  font-size: clamp(76px, 11vw, 148px);
  line-height: 0.86;
  letter-spacing: -0.055em;
  font-variation-settings: "opsz" 144, "SOFT" 100, "WONK" 1;
}
.wordmark em {
  font-style: italic;
  font-weight: 300;
  color: var(--accent);
}
.lede {
  margin: 34px 0 0;
  max-width: 27em;
  font-family: var(--display);
  font-size: clamp(19px, 2vw, 22px);
  line-height: 1.45;
  font-weight: 360;
  font-variation-settings: "opsz" 24, "SOFT" 50;
  color: var(--ink-2);
  text-wrap: pretty;
}
.lede i {
  color: var(--ink);
}
.cta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 34px;
  scroll-margin-top: 120px;
}
.meta {
  margin: 16px 0 0;
  font: 500 13px/1.5 var(--ui);
  color: var(--ink-3);
}

/* --------------------------------------------------------------------------
   The stage: a little desktop where the panel slides in, tucks away and
   peeks back out. One 14-second loop; every part shares the timeline.
   -------------------------------------------------------------------------- */

.stage {
  --loop: 14s;
  position: relative;
}
.screen {
  position: relative;
  aspect-ratio: 16 / 10.4;
  border-radius: 18px;
  overflow: hidden;
  background:
    radial-gradient(120% 90% at 15% 10%, var(--wall-1), transparent 60%),
    radial-gradient(90% 80% at 90% 100%, var(--wall-3), transparent 70%),
    linear-gradient(160deg, var(--wall-1), var(--wall-2) 55%, var(--wall-3));
  box-shadow: var(--shadow-lg), 0 0 0 1px var(--line);
}
.menubar {
  position: absolute;
  inset: 0 0 auto;
  height: 4.6%;
  display: flex;
  align-items: center;
  gap: 2.4%;
  padding: 0 2.4%;
  background: rgba(255, 255, 255, 0.28);
  backdrop-filter: blur(10px);
}
.menubar i {
  width: 3.2%;
  height: 34%;
  border-radius: 2px;
  background: rgba(34, 28, 22, 0.45);
}
.menubar i:first-child {
  width: 1.4%;
  border-radius: 50%;
  aspect-ratio: 1;
  height: auto;
}
.menubar .gap {
  flex: 1;
}
/* The app's menu-bar icon: filled while the panel is out, an outline while tucked away. */
.menubar .tray {
  width: 2.6%;
  aspect-ratio: 1.25;
  border: 1.5px solid rgba(34, 28, 22, 0.6);
  border-radius: 3px;
  background: linear-gradient(90deg, transparent 60%, rgba(34, 28, 22, 0.6) 60%);
  animation: tray var(--loop) linear infinite;
}
@keyframes tray {
  0%,
  12%,
  52%,
  69%,
  96%,
  100% {
    background-size: 0 100%;
  }
  13%,
  51%,
  70%,
  95% {
    background-size: 100% 100%;
  }
}

/* Someone else's app, busy on the left. */
.window {
  position: absolute;
  left: 5%;
  top: 11%;
  width: 60%;
  height: 80%;
  border-radius: 10px;
  background: var(--surface);
  box-shadow: 0 20px 50px -20px rgba(0, 0, 0, 0.45), 0 0 0 1px rgba(0, 0, 0, 0.06);
  overflow: hidden;
}
.window-bar {
  display: flex;
  gap: 1.4%;
  padding: 3% 3.5%;
  border-bottom: 1px solid var(--line);
}
.window-bar i {
  width: 2.2%;
  aspect-ratio: 1;
  border-radius: 50%;
  background: var(--line-2);
}
.window-lines {
  display: grid;
  gap: 5.5%;
  padding: 7% 7% 0;
  height: 100%;
  align-content: start;
}
.window-lines span {
  display: block;
  height: 5px;
  width: var(--w);
  border-radius: 3px;
  background: var(--line-2);
}
.window-lines span.h {
  height: 9px;
  width: 42%;
  background: var(--ink-3);
  opacity: 0.6;
  margin-bottom: 2%;
}

/* Edgeleaf, docked on the right edge. */
.panel {
  position: absolute;
  top: 4.6%;
  bottom: 0;
  right: 0;
  aspect-ratio: 440 / 900;
  border-radius: 12px 0 0 12px;
  overflow: hidden;
  box-shadow: -24px 0 50px -24px rgba(0, 0, 0, 0.55);
  transform: translateX(104%);
  animation: panel var(--loop) var(--ease-out) infinite;
}
.panel img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top;
}
/* First reveal shows the library; after the peek it's the book. */
.panel .shot-reader {
  animation: shot var(--loop) linear infinite;
}
@keyframes panel {
  0%,
  8% {
    transform: translateX(104%);
  }
  14%,
  48% {
    transform: none;
  }
  54%,
  66% {
    transform: translateX(104%);
  }
  72%,
  92% {
    transform: none;
  }
  98%,
  100% {
    transform: translateX(104%);
  }
}
@keyframes shot {
  0%,
  60% {
    opacity: 0;
  }
  61%,
  100% {
    opacity: 1;
  }
}

/* The shortcut, pressed. */
.keys {
  position: absolute;
  left: 50%;
  bottom: 9%;
  display: flex;
  gap: 6px;
  translate: -50% 0;
  opacity: 0;
  animation: keys var(--loop) var(--ease-out) infinite;
}
.keys span {
  min-width: 34px;
  height: 34px;
  padding: 0 8px;
  display: grid;
  place-items: center;
  border-radius: 9px;
  background: var(--surface);
  color: var(--ink);
  font: 600 14px/1 var(--ui);
  box-shadow: 0 2px 0 var(--line-2), 0 10px 24px -10px rgba(0, 0, 0, 0.4);
}
@keyframes keys {
  0%,
  3% {
    opacity: 0;
    transform: translateY(8px) scale(0.96);
  }
  6%,
  13% {
    opacity: 1;
    transform: none;
  }
  17%,
  100% {
    opacity: 0;
    transform: translateY(-6px);
  }
}

/* The peek tab slides out where the cursor rests. */
.tab {
  position: absolute;
  right: 0;
  top: 38%;
  width: 3.6%;
  height: 17%;
  border-radius: 10px 0 0 10px;
  background: var(--surface);
  box-shadow: -8px 6px 20px -8px rgba(0, 0, 0, 0.45);
  transform: translateX(105%);
  animation: tab var(--loop) var(--ease-out) infinite;
}
.tab::before {
  /* its little ribbon */
  content: "";
  position: absolute;
  top: 0;
  left: 38%;
  width: 24%;
  height: 34%;
  background: var(--accent);
  clip-path: polygon(0 0, 100% 0, 100% 100%, 50% 80%, 0 100%);
}
@keyframes tab {
  0%,
  57% {
    transform: translateX(105%);
  }
  61%,
  67% {
    transform: none;
  }
  70%,
  100% {
    transform: translateX(105%);
  }
}
/* The cursor comes to rest on the edge, then clicks the tab. */
.cursor {
  position: absolute;
  top: 44%;
  right: 1.4%;
  width: 3%;
  opacity: 0;
  animation: cursor var(--loop) var(--ease-out) infinite;
}
@keyframes cursor {
  0%,
  52% {
    opacity: 0;
    transform: translate(-260%, 60%);
  }
  55% {
    opacity: 1;
  }
  59%,
  66% {
    opacity: 1;
    transform: none;
  }
  67% {
    transform: scale(0.85);
  }
  69% {
    opacity: 1;
    transform: none;
  }
  72%,
  100% {
    opacity: 0;
  }
}

@media (prefers-reduced-motion: reduce) {
  .panel,
  .panel .shot-reader,
  .keys,
  .tab,
  .cursor,
  .menubar .tray,
  .ribbon {
    animation: none;
  }
  .panel {
    transform: none;
  }
  .panel .shot-reader {
    opacity: 1;
  }
}

/* --------------------------------------------------------------------------
   Sections
   -------------------------------------------------------------------------- */

section {
  scroll-margin-top: 24px;
}
.sec {
  padding: clamp(56px, 8vw, 104px) 0;
  border-top: 1px solid var(--line);
}
.sec-title {
  margin: 14px 0 0;
  max-width: 16em;
  font: 400 clamp(34px, 4.6vw, 54px) / 1.04 var(--display);
  font-variation-settings: "opsz" 96, "SOFT" 100;
  letter-spacing: -0.02em;
  text-wrap: balance;
}
.sec-title em {
  font-style: italic;
  color: var(--ink-2);
}

/* Three ways it lives on the side */
.ways {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  margin-top: 44px;
}
.way {
  padding: 26px 24px 28px;
  border-radius: 20px;
  background: var(--surface);
  box-shadow: var(--shadow), 0 0 0 1px var(--line);
}
.way-art {
  height: 64px;
  display: flex;
  align-items: center;
  gap: 6px;
}
.kbd {
  min-width: 38px;
  height: 38px;
  padding: 0 9px;
  display: inline-grid;
  place-items: center;
  border-radius: 10px;
  background: var(--bg);
  font: 600 15px/1 var(--ui);
  box-shadow: inset 0 0 0 1px var(--line-2), 0 2px 0 var(--line-2);
}
/* A screen edge with the tab peeking out of it. */
.edge-art {
  position: relative;
  width: 76px;
  height: 52px;
  border: 1.5px solid var(--line-2);
  border-radius: 9px;
  overflow: hidden;
}
.edge-art::after {
  content: "";
  position: absolute;
  right: 0;
  top: 12px;
  width: 11px;
  height: 26px;
  border-radius: 5px 0 0 5px;
  background: var(--accent);
  animation: peek 3s var(--ease-out) infinite;
}
@keyframes peek {
  0%,
  25% {
    transform: translateX(100%);
  }
  45%,
  80% {
    transform: none;
  }
  100% {
    transform: translateX(100%);
  }
}
.way h3 {
  margin: 18px 0 0;
  font: 500 23px/1.15 var(--display);
  font-variation-settings: "opsz" 48, "SOFT" 100;
  letter-spacing: -0.01em;
}
.way p {
  margin: 10px 0 0;
  font: 450 15px/1.55 var(--ui);
  color: var(--ink-2);
}

/* Features, beside the library */
.features {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
  gap: clamp(36px, 6vw, 88px);
  align-items: center;
}
/* The library and a book, fanned like two cards. */
.feature-shot {
  position: relative;
  width: 100%;
  max-width: 460px;
  aspect-ratio: 1 / 1.3;
  justify-self: center;
}
.feature-shot picture {
  position: absolute;
  width: 58%;
}
.feature-shot picture:first-child {
  left: 0;
  top: 0;
  rotate: -4deg;
}
.feature-shot picture:last-child {
  right: 0;
  bottom: 0;
  rotate: 3deg;
}
.feature-shot img {
  border-radius: 16px;
  box-shadow: var(--shadow-lg), 0 0 0 1px var(--line);
}
.grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 30px 34px;
  margin-top: 40px;
}
.grid h3 {
  margin: 0;
  font: 500 20px/1.2 var(--display);
  font-variation-settings: "opsz" 36, "SOFT" 100;
}
.grid h3::before {
  content: "";
  display: block;
  width: 22px;
  height: 2px;
  margin-bottom: 14px;
  background: var(--accent);
}
.grid p {
  margin: 8px 0 0;
  font: 450 15px/1.55 var(--ui);
  color: var(--ink-2);
}

/* Try it: the app itself, docked at the edge of a little desktop */
.try {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: clamp(32px, 5vw, 72px);
  align-items: center;
}
.try-lede {
  margin: 18px 0 0;
  max-width: 30em;
  font: italic 360 clamp(17px, 1.8vw, 19px) / 1.5 var(--display);
  font-variation-settings: "opsz" 24, "SOFT" 50;
  color: var(--ink-2);
  text-wrap: pretty;
}
.try-screen {
  position: relative;
  height: min(720px, 86vh);
  border-radius: 18px;
  overflow: hidden;
  background:
    radial-gradient(120% 90% at 15% 10%, var(--wall-1), transparent 60%),
    radial-gradient(90% 80% at 90% 100%, var(--wall-3), transparent 70%),
    linear-gradient(160deg, var(--wall-1), var(--wall-2) 55%, var(--wall-3));
  box-shadow: var(--shadow-lg), 0 0 0 1px var(--line);
}
.try-window {
  left: 5%;
  top: 7%;
  width: 52%;
  height: 76%;
}
.try-panel {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  width: min(440px, 72%);
  height: 100%;
  border: 0;
  border-radius: 14px 0 0 14px;
  background: transparent;
  box-shadow: -24px 0 50px -24px rgba(0, 0, 0, 0.55);
}
.nav-link {
  margin-right: 14px;
  font: 550 14px/1 var(--ui);
  color: var(--ink-2);
  text-decoration: none;
}
.nav-link:hover {
  color: var(--accent);
}

/* First launch */
.install {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  margin-top: 40px;
}
.install-card {
  padding: 26px 26px 28px;
  border-radius: 20px;
  background: var(--surface);
  box-shadow: 0 0 0 1px var(--line);
}
.install-card h3 {
  margin: 0;
  font: 500 22px/1.2 var(--display);
  font-variation-settings: "opsz" 36, "SOFT" 100;
}
.install-card p,
.install-card li {
  font: 450 15px/1.6 var(--ui);
  color: var(--ink-2);
}
.install-card p {
  margin: 10px 0 0;
}
.install-card ol {
  margin: 14px 0 0;
  padding: 0;
  list-style: none;
  counter-reset: step;
  display: grid;
  gap: 10px;
}
.install-card li {
  position: relative;
  padding-left: 38px;
  counter-increment: step;
}
.install-card li::before {
  content: counter(step);
  position: absolute;
  left: 0;
  top: 0;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: var(--accent-soft);
  color: var(--accent);
  font: 650 13px/1 var(--ui);
}
.install-card b {
  color: var(--ink);
  font-weight: 600;
}

/* Support */
.support {
  display: grid;
  justify-items: center;
  text-align: center;
  padding: clamp(40px, 6vw, 64px) clamp(24px, 5vw, 64px);
  border-radius: 28px;
  background: var(--surface);
  box-shadow: var(--shadow), 0 0 0 1px var(--line);
}
.support .cup {
  width: 44px;
  height: 44px;
  color: var(--ink-2);
}
.support .cup .steam {
  stroke: var(--accent);
  opacity: 1;
  animation: steam 2.2s var(--ease-out) infinite;
}
.support .cup .steam + .steam {
  animation-delay: 0.5s;
}
.support h2 {
  margin: 18px 0 0;
  font: 400 clamp(32px, 4vw, 46px) / 1.05 var(--display);
  font-variation-settings: "opsz" 96, "SOFT" 100;
  letter-spacing: -0.02em;
}
.support h2 em {
  color: var(--accent);
}
.support p {
  margin: 14px 0 0;
  max-width: 31em;
  font: italic 360 clamp(17px, 1.8vw, 19px) / 1.5 var(--display);
  font-variation-settings: "opsz" 24, "SOFT" 50;
  color: var(--ink-2);
  text-wrap: pretty;
}
.support .pill {
  margin-top: 28px;
}

/* Footer */
.foot {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 18px 48px;
  padding: 44px 0 56px;
  margin-top: clamp(56px, 8vw, 96px);
  border-top: 1px solid var(--line);
  font: 450 13.5px/1.6 var(--ui);
  color: var(--ink-3);
}
.foot p {
  margin: 0;
}
.foot-label {
  margin: 0 0 6px;
  font: 600 10.5px/1 var(--ui);
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ink-2);
}
.foot p + .foot-label {
  margin-top: 20px;
}
.foot a {
  color: var(--ink-2);
  text-underline-offset: 3px;
  text-decoration-color: var(--line-2);
}
.foot a:hover {
  color: var(--accent);
}
.foot .brand {
  margin-bottom: 4px;
}

/* --------------------------------------------------------------------------
   Narrow screens
   -------------------------------------------------------------------------- */

@media (max-width: 900px) {
  .hero,
  .try,
  .features {
    grid-template-columns: minmax(0, 1fr);
  }
  .ways {
    grid-template-columns: minmax(0, 1fr);
  }
  .feature-shot {
    order: 2;
    max-width: 400px;
  }
}
@media (max-width: 640px) {
  .wrap {
    width: calc(100% - 32px);
  }
  .ribbon {
    right: 3px;
    width: 10px;
    height: 110px;
  }
  .nav-tip span {
    display: none;
  }
  .grid,
  .install,
  .foot {
    grid-template-columns: minmax(0, 1fr);
  }
  .cta .pill {
    flex: 1 1 100%;
  }
  .try-screen {
    height: 640px;
  }
  .try-window {
    display: none;
  }
  .try-panel {
    width: 100%;
    border-radius: 14px;
  }
  .keys span {
    min-width: 26px;
    height: 26px;
    font-size: 12px;
  }
}
