/* Pipsocket landing page. Brand rules: black and white only, greys for hierarchy, Geist for reading,
   Geist Mono for anything a machine would print. Green and red belong to market numbers in the
   product, never here. */

@font-face {
  font-family: "Geist";
  src: url("/fonts/Geist-Variable.woff2") format("woff2");
  font-weight: 100 900;
  font-display: swap;
}

@font-face {
  font-family: "Geist Mono";
  src: url("/fonts/GeistMono-Variable.woff2") format("woff2");
  font-weight: 100 900;
  font-display: swap;
}

:root {
  --ink: #000000;
  --ground: #ffffff;
  --graphite: #3a3a3a;
  --steel: #8a8a8a;
  --rule: #e6e6e6;
  --panel: #f4f4f4;
  /* Greys used only on black surfaces. */
  --night-raised: #0a0a0a;
  --night-rule: #1f1f1f;
  --night-line: #2a2a2a;
  --night-dim: #5c5c5c;
  --night-text: #a0a0a0;

  --sans: "Geist", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  --mono: "Geist Mono", ui-monospace, "SF Mono", Menlo, monospace;

  --gutter: clamp(20px, 5.5vw, 80px);
  --section-space: clamp(88px, 11vw, 140px);
  color-scheme: light;
}

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

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
}

body {
  margin: 0;
  background: var(--ground);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

h1,
h2,
h3,
p,
ul,
ol,
dl,
dd,
figure {
  margin: 0;
}

ul,
ol {
  padding: 0;
  list-style: none;
}

a {
  color: inherit;
  text-decoration: none;
}

a:focus-visible {
  outline: 2px solid currentColor;
  outline-offset: 3px;
  border-radius: 4px;
}

time,
em {
  font-style: normal;
}

.wrap {
  width: 100%;
  max-width: 1440px;
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.dark {
  background-color: var(--ink);
  background-image: radial-gradient(#262626 1px, transparent 1px);
  background-size: 24px 24px;
  color: var(--ground);
}

.muted {
  color: var(--night-dim);
}

.muted-light {
  color: var(--steel);
}

/* Logo */

/* The mark is a reused <symbol>, and selectors do not reach inside <use>; custom properties do.
   Dark surfaces flip it to a white body with black pins. */
.mark-body {
  fill: var(--mark-body, var(--ink));
}

.mark-pin {
  fill: var(--mark-pin, var(--ground));
}

.dark {
  --mark-body: var(--ground);
  --mark-pin: var(--ink);
}

.logo {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-weight: 600;
  font-size: 20px;
  letter-spacing: -0.045em;
}

.logo-mark {
  width: 24px;
  height: 24px;
}

.logo-small {
  font-size: 16px;
}

.logo-small .logo-mark {
  width: 18px;
  height: 18px;
}

/* Buttons */

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 24px;
  border-radius: 8px;
  border: 1px solid transparent;
  font-weight: 600;
  font-size: 16px;
  white-space: nowrap;
  transition: opacity 120ms ease;
}

.button:hover {
  opacity: 0.86;
}

.button-small {
  min-height: 40px;
  padding: 0 16px;
  font-size: 15px;
}

.button-light {
  background: var(--ground);
  color: var(--ink);
}

.button-dark {
  background: var(--ink);
  color: var(--ground);
}

.button-ghost-dark {
  background: var(--ink);
  color: var(--ground);
  border-color: #333333;
}

.actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
}

/* Hero */

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
  border-bottom: 1px solid var(--night-rule);
  max-width: none;
}

.nav-links {
  display: flex;
  gap: 32px;
  font-size: 15px;
  color: var(--night-text);
}

.nav-links a:hover,
.nav-signin:hover {
  color: var(--ground);
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 20px;
  font-size: 15px;
}

.hero-copy {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 28px;
  padding-top: clamp(72px, 9vw, 120px);
  padding-bottom: 64px;
  text-align: center;
}

.pill {
  display: inline-flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 10px;
  padding: 6px 14px;
  border: 1px solid var(--night-line);
  border-radius: 999px;
  background: var(--ink);
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.pill-muted {
  color: var(--night-text);
}

.pill-divider {
  width: 1px;
  height: 12px;
  background: var(--night-line);
}

.hero-title {
  max-width: 1200px;
  font-weight: 600;
  font-size: clamp(44px, 7.6vw, 104px);
  line-height: 0.96;
  letter-spacing: -0.055em;
}

.hero-title .muted {
  display: block;
}

.hero-lead {
  max-width: 720px;
  font-size: clamp(17px, 1.5vw, 20px);
  line-height: 1.5;
  color: var(--night-text);
}

.hero-copy .actions {
  padding-top: 8px;
}

/* Console */

.wrap-wide {
  width: calc(100% - 2 * var(--gutter));
  max-width: 1120px;
  margin-inline: auto;
}

.console {
  background: var(--night-raised);
  border: 1px solid #262626;
  border-bottom: none;
  border-radius: 14px 14px 0 0;
  overflow: hidden;
  font-family: var(--mono);
}

.console-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  height: 44px;
  padding: 0 18px;
  border-bottom: 1px solid var(--night-rule);
  font-size: 12px;
  color: var(--steel);
}

.console-dots {
  display: flex;
  gap: 6px;
}

.console-dots i {
  width: 10px;
  height: 10px;
  border-radius: 999px;
  background: var(--night-line);
}

.console-url {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.console-live {
  display: flex;
  align-items: center;
  gap: 7px;
  font-size: 11px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--ground);
}

.console-live i,
.dot {
  width: 6px;
  height: 6px;
  border-radius: 999px;
  background: var(--ground);
  flex-shrink: 0;
}

.dot-off {
  background: transparent;
  border: 1.5px solid var(--night-dim);
}

.console-body {
  display: flex;
  min-height: 300px;
}

.console-accounts {
  width: 260px;
  flex-shrink: 0;
  padding: 16px 12px;
  border-right: 1px solid var(--night-rule);
  font-family: var(--sans);
}

.console-accounts::before {
  content: "Accounts";
  display: block;
  padding: 0 8px 8px;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--night-dim);
}

.console-accounts li {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 9px 8px;
  border-radius: 6px;
}

.console-accounts li.is-selected {
  background: #161616;
}

.console-accounts span {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.console-accounts b {
  font-weight: 400;
  font-size: 13px;
  color: var(--night-text);
}

.console-accounts .is-selected b {
  color: var(--ground);
}

.console-accounts small {
  font-family: var(--mono);
  font-size: 11px;
  color: var(--night-dim);
}

/* Every event row is exactly --row tall, so the live stream can scroll one row per step. */
.console-stream {
  --row: 32px;
  flex: 1;
  min-width: 0;
  height: 300px;
  padding-top: 8px;
  overflow: hidden;
  -webkit-mask-image: linear-gradient(to bottom, #000 calc(100% - 64px), transparent);
  mask-image: linear-gradient(to bottom, #000 calc(100% - 64px), transparent);
}

.console-events {
  padding: 0 24px;
  font-size: 13px;
  line-height: 20px;
  color: var(--steel);
}

/* The copy that lets the stream loop shows only when motion is allowed. */
.console-events[aria-hidden] {
  display: none;
}

.console-events li {
  display: flex;
  align-items: center;
  gap: 20px;
  height: var(--row);
}

.console-events time {
  width: 110px;
  flex-shrink: 0;
  color: var(--night-dim);
}

.console-events b {
  width: 56px;
  flex-shrink: 0;
  font-weight: 400;
  color: var(--ground);
}

.console-events span {
  flex: 1;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.console-events em {
  flex-shrink: 0;
  color: var(--night-dim);
}

/* Callers strip */

.callers {
  display: grid;
  grid-template-columns: minmax(240px, 320px) repeat(5, 1fr);
  border-bottom: 1px solid var(--rule);
}

.callers-label {
  padding: 36px 40px 36px var(--gutter);
  border-right: 1px solid var(--rule);
  font-size: 15px;
  line-height: 22px;
  color: var(--graphite);
}

.callers-list {
  display: contents;
}

.callers-list li {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px 12px;
  border-right: 1px solid var(--rule);
  font-family: var(--mono);
  font-size: 15px;
  text-align: center;
}

.callers-list li:last-child {
  border-right: none;
}

/* Sections */

.section {
  padding-top: var(--section-space);
}

main > .section:last-child {
  padding-bottom: var(--section-space);
}

.section-head {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-bottom: 56px;
}

.center {
  align-items: center;
  text-align: center;
}

.eyebrow {
  font-family: var(--mono);
  font-size: 13px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--steel);
}

.display {
  font-weight: 600;
  font-size: clamp(36px, 4.6vw, 64px);
  line-height: 1.04;
  letter-spacing: -0.05em;
}

.display .muted-light {
  display: block;
}

/* Bento */

.bento {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 16px;
}

.tile {
  grid-column: span 2;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 32px;
  min-height: 340px;
  padding: 32px;
  border: 1px solid var(--rule);
  border-radius: 16px;
}

.tile-wide {
  grid-column: span 4;
  min-height: 360px;
}

.tile-dark {
  min-height: 360px;
  background: var(--ink);
  border-color: var(--ink);
  color: var(--ground);
}

.tile-grey {
  background: var(--panel);
  border-color: var(--panel);
}

.tile-copy {
  display: flex;
  flex-direction: column;
  gap: 10px;
  max-width: 560px;
}

.tile h3 {
  font-weight: 600;
  font-size: 22px;
  letter-spacing: -0.025em;
}

.tile-wide h3,
.tile-dark h3 {
  font-size: 26px;
  letter-spacing: -0.03em;
}

.tile p {
  font-size: 15px;
  line-height: 23px;
  color: var(--graphite);
}

.tile-wide p,
.tile-dark p {
  font-size: 16px;
  line-height: 24px;
}

.tile-dark p {
  color: var(--night-text);
}

.recovery {
  border: 1px solid var(--rule);
  border-radius: 10px;
  font-family: var(--mono);
  font-size: 13px;
  color: var(--steel);
}

.recovery li {
  display: grid;
  grid-template-columns: 110px 220px 1fr;
  gap: 24px;
  padding: 12px 16px;
  border-bottom: 1px solid var(--rule);
}

.recovery li:last-child {
  border-bottom: none;
}

.recovery li:nth-child(3) span {
  color: var(--graphite);
}

.recovery .strong span,
.recovery .strong em {
  font-weight: 600;
  color: var(--ink);
}

.kill {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.toggle {
  display: flex;
  justify-content: flex-end;
  width: 112px;
  height: 60px;
  padding: 6px;
  border: 2px solid var(--ground);
  border-radius: 999px;
  flex-shrink: 0;
}

.toggle i {
  width: 44px;
  height: 44px;
  border-radius: 999px;
  background: var(--ground);
}

.kill-sources {
  font-family: var(--mono);
  font-size: 12px;
  color: var(--steel);
  text-align: right;
}

.regions,
.login {
  font-family: var(--mono);
  font-size: 13px;
}

.regions div,
.login div {
  display: flex;
  justify-content: space-between;
  gap: 12px;
}

.regions div {
  padding: 10px 0;
  border-top: 1px solid var(--rule);
}

.regions div:last-child {
  border-bottom: 1px solid var(--rule);
}

.regions dd {
  color: var(--steel);
}

.login {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.login div {
  align-items: center;
  padding: 9px 12px;
  border: 1px solid var(--rule);
  border-radius: 8px;
}

.login div.focused {
  border-color: var(--ink);
}

.login dt {
  color: var(--steel);
}

.tools {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  font-family: var(--mono);
  font-size: 12px;
}

.tools li {
  padding: 6px 10px;
  border: 1px solid var(--rule);
  border-radius: 6px;
  background: var(--ground);
}

.tools .tool-dark {
  background: var(--ink);
  border-color: var(--ink);
  color: var(--ground);
}

/* Before and after */

.compare {
  display: grid;
  grid-template-columns: 1fr 1fr;
  margin-top: 48px;
  border: 1px solid var(--rule);
  border-radius: 16px;
}

.compare-col {
  padding: 8px 32px 16px;
}

.compare-col + .compare-col {
  border-left: 1px solid var(--rule);
}

.compare-head {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 20px 0 12px;
  font-family: var(--mono);
  font-weight: 400;
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--steel);
}

.compare-head-strong {
  color: var(--ink);
}

.mini-mark {
  width: 16px;
  height: 16px;
}

.compare-list li {
  display: flex;
  gap: 14px;
  padding: 18px 0;
  border-top: 1px solid var(--rule);
  font-size: 17px;
  line-height: 1.4;
}

.compare-list li::before {
  width: 16px;
  flex-shrink: 0;
  font-family: var(--mono);
  font-size: 13px;
  line-height: 24px;
}

.compare-before li {
  color: var(--steel);
}

.compare-before li::before {
  content: "×";
}

.compare-after li {
  font-weight: 500;
}

.compare-after li::before {
  content: "✓";
}

/* Pricing */

.price {
  display: grid;
  grid-template-columns: minmax(0, 520px) 1fr;
  border: 1px solid var(--ink);
  border-radius: 20px;
  overflow: hidden;
}

.price-panel {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 48px;
  background: var(--ink);
  color: var(--ground);
}

.price-amount {
  display: flex;
  align-items: flex-start;
  gap: 6px;
  font-weight: 600;
  font-size: clamp(120px, 14vw, 184px);
  line-height: 0.92;
  letter-spacing: -0.07em;
}

.price-currency {
  font-size: 0.26em;
  line-height: 1.4;
  letter-spacing: -0.04em;
  color: var(--steel);
}

.price-unit {
  font-size: 20px;
  color: var(--night-text);
}

.price-note {
  margin-top: auto;
  padding-top: 48px;
  font-size: 15px;
  line-height: 23px;
  color: var(--steel);
}

.price-detail {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 40px;
  padding: 48px;
}

.price-detail h3 {
  font-weight: 600;
  font-size: 22px;
  letter-spacing: -0.025em;
}

.price-included {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.checks {
  display: grid;
  grid-template-columns: 1fr 1fr;
  column-gap: 32px;
}

.checks li {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 0;
  border-top: 1px solid var(--rule);
}

.checks li:nth-last-child(-n + 2) {
  border-bottom: 1px solid var(--rule);
}

.checks li::before {
  content: "";
  width: 16px;
  height: 16px;
  flex-shrink: 0;
  background:
    no-repeat center / 16px
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='none' stroke='%23000' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M3 8.5l3 3 7-7'/%3E%3C/svg%3E");
}

.price-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 20px;
}

.price-examples {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 28px;
  font-family: var(--mono);
  font-size: 13px;
  color: var(--graphite);
}

.price-examples b {
  font-weight: 400;
  color: var(--ink);
}

/* FAQ */

.faq {
  display: grid;
  grid-template-columns: minmax(0, 420px) 1fr;
  gap: 80px;
}

.faq-list div {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 24px 0;
  border-top: 1px solid var(--rule);
}

.faq-list div:first-child {
  border-top-color: var(--ink);
}

.faq-list div:last-child {
  border-bottom: 1px solid var(--rule);
}

.faq-list dt {
  font-weight: 600;
  font-size: 19px;
  letter-spacing: -0.015em;
}

.faq-list dd {
  font-size: 16px;
  line-height: 25px;
  color: var(--graphite);
}

/* Closing and footer */

.closing-copy {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 32px;
  padding-top: var(--section-space);
  padding-bottom: 120px;
  text-align: center;
}

.closing-mark {
  width: 96px;
  height: 96px;
}

.closing-title {
  font-weight: 600;
  font-size: clamp(56px, 6.2vw, 88px);
  line-height: 0.98;
  letter-spacing: -0.055em;
}

.closing-title .muted {
  display: block;
}

.footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding-top: 28px;
  padding-bottom: 28px;
  border-top: 1px solid var(--night-rule);
  max-width: none;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 28px;
  font-size: 14px;
  color: var(--steel);
}

.footer-links a:hover {
  color: var(--ground);
}

.copyright {
  font-family: var(--mono);
  font-size: 12px;
  color: var(--night-dim);
}

.disclaimer {
  padding-bottom: 32px;
  font-size: 12px;
  line-height: 18px;
  color: var(--night-dim);
  max-width: none;
}

/* Tablet */

@media (max-width: 1024px) {
  .nav-links {
    display: none;
  }

  .console-accounts {
    display: none;
  }

  .callers {
    grid-template-columns: repeat(5, 1fr);
  }

  .callers-label {
    grid-column: 1 / -1;
    padding: 24px var(--gutter);
    border-right: none;
    border-bottom: 1px solid var(--rule);
    text-align: center;
  }

  .bento {
    grid-template-columns: repeat(2, 1fr);
  }

  .tile,
  .tile-dark {
    grid-column: span 1;
    min-height: 320px;
  }

  .tile-wide {
    grid-column: 1 / -1;
  }

  .price {
    grid-template-columns: 1fr;
  }

  .faq {
    grid-template-columns: 1fr;
    gap: 40px;
  }
}

/* Phone */

@media (max-width: 720px) {
  .nav {
    height: 64px;
  }

  .nav-signin {
    display: none;
  }

  .logo {
    font-size: 18px;
  }

  .logo-mark {
    width: 22px;
    height: 22px;
  }

  .hero-copy {
    gap: 22px;
    padding-bottom: 48px;
  }

  .pill {
    font-size: 11px;
    padding: 6px 12px;
  }

  .pill-muted,
  .pill-divider {
    display: none;
  }

  .actions {
    flex-direction: column;
    align-self: stretch;
  }

  .actions .button {
    width: 100%;
  }

  .console-url {
    display: none;
  }

  .console-body {
    min-height: 0;
  }

  .console-stream {
    --row: 28px;
    height: 200px;
  }

  .console-events {
    padding: 0 16px;
    font-size: 12px;
    line-height: 18px;
  }

  .console-events li {
    gap: 12px;
  }

  .console-events time {
    display: none;
  }

  .console-events em {
    display: none;
  }

  .callers {
    grid-template-columns: repeat(2, 1fr);
  }

  .callers-list li {
    border-bottom: 1px solid var(--rule);
    font-size: 14px;
  }

  .callers-list li:nth-child(2n) {
    border-right: none;
  }

  .callers-list li:last-child {
    grid-column: 1 / -1;
    border-bottom: none;
  }

  .section-head {
    margin-bottom: 36px;
  }

  .bento {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .tile,
  .tile-wide,
  .tile-grey,
  .tile-dark {
    grid-column: 1 / -1;
    min-height: 0;
    padding: 24px;
    gap: 28px;
  }

  .recovery li {
    grid-template-columns: 1fr auto;
    gap: 2px 12px;
    padding: 10px 12px;
    font-size: 12px;
  }

  .recovery time {
    grid-column: 1 / -1;
    font-size: 11px;
  }

  .compare {
    grid-template-columns: 1fr;
    margin-top: 32px;
  }

  .compare-col {
    padding: 4px 20px 12px;
  }

  .compare-col + .compare-col {
    border-left: none;
    border-top: 1px solid var(--rule);
  }

  .compare-list li {
    font-size: 16px;
    padding: 14px 0;
  }

  .price-panel,
  .price-detail {
    padding: 28px 24px;
  }

  .price-note {
    padding-top: 28px;
  }

  .checks {
    grid-template-columns: 1fr;
  }

  .checks li:nth-last-child(2) {
    border-bottom: none;
  }

  .price-foot .button {
    width: 100%;
  }

  .closing-copy {
    padding-bottom: 88px;
  }

  .closing-mark {
    width: 72px;
    height: 72px;
  }

  .footer {
    flex-direction: column;
    align-items: flex-start;
  }
}

/* 404 page */

.not-found {
  min-height: 100vh;
  display: flex;
  align-items: center;
}

.sprite {
  position: absolute;
  width: 0;
  height: 0;
  overflow: hidden;
}

/* Text for screen readers only. */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}

/* Motion. Everything below is decoration, so none of it runs for people who ask for reduced motion,
   and the page reads the same without it. Pure CSS: the Content-Security-Policy allows no scripts. */

@media (prefers-reduced-motion: no-preference) {
  /* Hero: the copy and the console rise in, one after another. */
  .hero-copy > *,
  .console {
    animation: rise 700ms cubic-bezier(0.2, 0.7, 0.2, 1) both;
  }

  .hero-copy > :nth-child(2) {
    animation-delay: 80ms;
  }

  .hero-copy > :nth-child(3) {
    animation-delay: 160ms;
  }

  .hero-copy > :nth-child(4) {
    animation-delay: 240ms;
  }

  .console {
    animation-delay: 360ms;
  }

  /* Live stream: a new event arrives every two seconds. The track holds two copies of the events
     and moves up one row per step; after eight steps the second copy sits exactly where the first
     began, so the loop is seamless. */
  .console-events[aria-hidden] {
    display: block;
  }

  .console-track {
    animation: stream 16s infinite;
  }

  .console-live i,
  .console-accounts .is-selected .dot {
    animation: pulse 2s ease-in-out infinite;
  }

  /* The closing mark's right pin ticks up now and then: one pip. */
  .pip {
    transform-box: fill-box;
    animation: pip 4s ease-in-out infinite;
  }

  /* Kill switch tile: hovering flips the switch. */
  .toggle i {
    transition: transform 360ms cubic-bezier(0.2, 0.7, 0.2, 1);
  }

  .tile-dark:hover .toggle i {
    transform: translateX(-52px);
  }

  /* Sections fade up as they scroll into view, where the browser supports scroll-driven animations.
     Elsewhere they are simply visible. */
  @supports (animation-timeline: view()) {
    .tile,
    .compare,
    .price,
    .faq-list > div {
      animation: rise linear both;
      animation-timeline: view();
      animation-range: entry 0% entry 35%;
    }
  }
}

@keyframes rise {
  from {
    opacity: 0;
    transform: translateY(16px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

@keyframes pulse {
  50% {
    opacity: 0.25;
  }
}

@keyframes pip {
  0%,
  70%,
  100% {
    transform: none;
  }
  80% {
    transform: translateY(-4px);
  }
}

@keyframes stream {
  0%,
  9% {
    transform: translateY(0);
  }
  12.5%,
  21.5% {
    transform: translateY(calc(var(--row) * -1));
  }
  25%,
  34% {
    transform: translateY(calc(var(--row) * -2));
  }
  37.5%,
  46.5% {
    transform: translateY(calc(var(--row) * -3));
  }
  50%,
  59% {
    transform: translateY(calc(var(--row) * -4));
  }
  62.5%,
  71.5% {
    transform: translateY(calc(var(--row) * -5));
  }
  75%,
  84% {
    transform: translateY(calc(var(--row) * -6));
  }
  87.5%,
  96.5% {
    transform: translateY(calc(var(--row) * -7));
  }
  100% {
    transform: translateY(calc(var(--row) * -8));
  }
}
