/* The app's public pages, in the app's own look: a navy page with slow blue
   light behind it, panes of glass with a bright rim, pills for everything
   that is pressed, a serif for what is said large. Nothing is fetched from
   anywhere else: the fonts and the pictures lie next to this file. */

@font-face {
  font-family: "Inter Variable";
  font-style: normal;
  font-display: swap;
  font-weight: 100 900;
  src: url("fonts/inter-latin-ext-wght-normal.woff2") format("woff2-variations");
  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-20C0,
    U+2113, U+2C60-2C7F, U+A720-A7FF;
}

@font-face {
  font-family: "Inter Variable";
  font-style: normal;
  font-display: swap;
  font-weight: 100 900;
  src: url("fonts/inter-latin-wght-normal.woff2") format("woff2-variations");
  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: "Newsreader Variable";
  font-style: normal;
  font-display: swap;
  font-weight: 200 800;
  src: url("fonts/newsreader-latin-ext-opsz-normal.woff2") format("woff2-variations");
  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-20C0,
    U+2113, U+2C60-2C7F, U+A720-A7FF;
}

@font-face {
  font-family: "Newsreader Variable";
  font-style: normal;
  font-display: swap;
  font-weight: 200 800;
  src: url("fonts/newsreader-latin-opsz-normal.woff2") format("woff2-variations");
  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;
}

/* The wordmark only, so only the letters it has. */
@font-face {
  font-family: "Playfair Display";
  font-style: italic;
  font-display: swap;
  font-weight: 400;
  src: url("fonts/playfair-display-latin-400-italic.woff2") format("woff2");
}

:root {
  --bg: #050a17;
  --surface: #0d1731;
  --raised: rgb(145 175 255 / 0.16);
  --line: rgb(165 190 255 / 0.14);
  --fg: #edf2ff;
  --soft: #c6d3f3;
  --muted: #94a3c8;
  --accent: #4c8dff;
  --danger: #ff7b86;
  --good: #5fe0a3;
  --sans: "Inter Variable", "Segoe UI Variable", "Segoe UI", system-ui, sans-serif;
  --display: "Newsreader Variable", Georgia, "Times New Roman", serif;
  --brand: "Playfair Display", Georgia, serif;
  --ease-soft: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-spring: cubic-bezier(0.34, 1.45, 0.64, 1);
  color-scheme: dark;
}

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

html {
  -webkit-text-size-adjust: 100%;
  -webkit-tap-highlight-color: transparent;
  scroll-behavior: smooth;
  /* A link into the page stops under the bar that floats over it. */
  scroll-padding-top: 6rem;
}

body {
  margin: 0;
  min-height: 100vh;
  overflow-x: hidden;
  color: var(--fg);
  font: 16px/1.65 var(--sans);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

::selection {
  background: rgb(76 141 255 / 0.4);
}

:focus-visible {
  outline: 2px solid rgb(110 165 255 / 0.75);
  outline-offset: 2px;
}

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

[hidden] {
  display: none !important;
}

/* One language at a time once the script has picked it; without scripts all
   of them show, English first. */
html[data-lang]:not([data-lang="en"]) .en,
html[data-lang]:not([data-lang="pl"]) .pl,
html[data-lang]:not([data-lang="de"]) .de,
html[data-lang]:not([data-lang="es"]) .es {
  display: none !important;
}

/* --- The light behind the glass ------------------------------------------ */

.aurora {
  position: fixed;
  inset: 0;
  z-index: -1;
  overflow: hidden;
  pointer-events: none;
  background:
    radial-gradient(90% 60% at 50% -10%, rgb(26 52 122 / 0.55), transparent 70%), var(--bg);
}

/* Blurred once, then only moved, so the drift costs next to nothing. */
.aurora span {
  position: absolute;
  border-radius: 50%;
  filter: blur(90px);
  will-change: transform;
}

.aurora span:nth-child(1) {
  top: -22vw;
  left: -10vw;
  width: 52vw;
  height: 52vw;
  background: #2453ff;
  opacity: 0.4;
  animation: drift-a 32s ease-in-out infinite alternate;
}

.aurora span:nth-child(2) {
  top: 12vh;
  right: -14vw;
  width: 42vw;
  height: 42vw;
  background: #18a0ff;
  opacity: 0.22;
  animation: drift-b 38s ease-in-out infinite alternate;
}

.aurora span:nth-child(3) {
  bottom: -26vw;
  left: 26vw;
  width: 48vw;
  height: 48vw;
  background: #5b3dff;
  opacity: 0.26;
  animation: drift-c 44s ease-in-out infinite alternate;
}

@keyframes drift-a {
  to {
    transform: translate3d(14vw, 10vh, 0) scale(1.15);
  }
}

@keyframes drift-b {
  to {
    transform: translate3d(-16vw, 16vh, 0) scale(0.9);
  }
}

@keyframes drift-c {
  to {
    transform: translate3d(-12vw, -14vh, 0) scale(1.12);
  }
}

/* --- Building blocks ------------------------------------------------------ */

.wrap {
  width: 100%;
  max-width: 70rem;
  margin: 0 auto;
  padding-inline: 1.5rem;
}

/* The phones of the first screen lean out past the edge of a narrow one. */
main {
  overflow-x: clip;
}

/* A pane of glass, with light catching its top-left edge. */
.card {
  position: relative;
  border: 1px solid rgb(170 195 255 / 0.1);
  border-radius: 22px;
  background: linear-gradient(180deg, rgb(150 180 255 / 0.1) 0%, rgb(150 180 255 / 0.04) 100%);
  box-shadow:
    inset 0 1px 0 rgb(255 255 255 / 0.1),
    0 24px 48px -28px rgb(0 0 0 / 0.75);
}

.card::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  padding: 1px;
  background: linear-gradient(
    140deg,
    rgb(255 255 255 / 0.3),
    rgb(255 255 255 / 0.04) 28%,
    transparent 55%,
    rgb(120 165 255 / 0.2)
  );
  mask:
    linear-gradient(#000 0 0) content-box exclude,
    linear-gradient(#000 0 0);
  pointer-events: none;
}

/* One that answers the pointer: it lifts, and a light follows (`--x` and
   `--y` are set by `site.js`). */
.card.lift {
  transition:
    transform 0.35s var(--ease-soft),
    border-color 0.25s ease,
    box-shadow 0.35s ease;
}

.card.lift::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: radial-gradient(
    260px circle at var(--x, 50%) var(--y, 0%),
    rgb(130 170 255 / 0.2),
    transparent 70%
  );
  opacity: 0;
  transition: opacity 0.35s ease;
  pointer-events: none;
}

@media (hover: hover) {
  .card.lift:hover {
    transform: translateY(-3px);
    border-color: rgb(170 195 255 / 0.22);
    box-shadow:
      inset 0 1px 0 rgb(255 255 255 / 0.14),
      0 30px 60px -28px rgb(0 0 0 / 0.85),
      0 0 0 1px rgb(76 141 255 / 0.12),
      0 18px 50px -24px rgb(76 141 255 / 0.5);
  }

  .card.lift:hover::before {
    opacity: 1;
  }
}

/* Filled with the accent colour. */
.card.tinted {
  border-color: rgb(120 170 255 / 0.32);
  background: linear-gradient(
    155deg,
    rgb(76 141 255 / 0.42) 0%,
    rgb(60 110 235 / 0.16) 55%,
    rgb(120 100 255 / 0.2) 100%
  );
  box-shadow:
    inset 0 1px 0 rgb(255 255 255 / 0.18),
    0 30px 70px -30px rgb(54 114 238 / 0.7);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  height: 2.75rem;
  padding: 0 1.35rem;
  border: 0;
  border-radius: 999px;
  color: #fff;
  font: inherit;
  font-size: 0.9375rem;
  font-weight: 600;
  text-decoration: none;
  white-space: nowrap;
  background: linear-gradient(180deg, #5c98ff 0%, #3672ee 100%);
  box-shadow:
    inset 0 1px 0 rgb(255 255 255 / 0.4),
    inset 0 -1px 0 rgb(0 0 0 / 0.15),
    0 10px 24px -10px rgb(54 114 238 / 0.9);
  cursor: pointer;
  transition:
    filter 0.18s ease,
    background-color 0.18s ease,
    border-color 0.18s ease,
    color 0.18s ease,
    box-shadow 0.22s ease,
    transform 0.22s var(--ease-soft);
}

.btn svg {
  width: 1.1rem;
  height: 1.1rem;
  flex: none;
}

.btn.large {
  height: 3.25rem;
  padding: 0 1.75rem;
  font-size: 1rem;
}

.btn:hover:not(:disabled) {
  filter: brightness(1.1);
  box-shadow:
    inset 0 1px 0 rgb(255 255 255 / 0.45),
    inset 0 -1px 0 rgb(0 0 0 / 0.15),
    0 14px 32px -10px rgb(54 114 238 / 1);
}

.btn:active:not(:disabled) {
  transform: scale(0.96);
}

.btn.soft {
  color: var(--soft);
  font-weight: 500;
  border: 1px solid rgb(170 195 255 / 0.13);
  background: rgb(150 180 255 / 0.09);
  box-shadow: inset 0 1px 0 rgb(255 255 255 / 0.07);
}

.btn.soft:hover:not(:disabled) {
  color: var(--fg);
  filter: none;
  border-color: rgb(170 195 255 / 0.24);
  background: rgb(150 180 255 / 0.17);
  box-shadow: inset 0 1px 0 rgb(255 255 255 / 0.07);
}

.btn.danger {
  color: #fff;
  background: linear-gradient(180deg, #ff8791 0%, #e9505e 100%);
  box-shadow:
    inset 0 1px 0 rgb(255 255 255 / 0.35),
    0 10px 24px -10px rgb(233 80 94 / 0.8);
}

.btn.danger:hover:not(:disabled) {
  box-shadow:
    inset 0 1px 0 rgb(255 255 255 / 0.4),
    0 14px 32px -10px rgb(233 80 94 / 0.95);
}

.btn:disabled {
  opacity: 0.45;
  cursor: default;
}

.eyebrow {
  margin: 0;
  color: rgb(148 163 200 / 0.9);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

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

.small {
  font-size: 0.875rem;
}

/* A small pill that says something and does nothing. */
.chip {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  height: 2rem;
  padding: 0 0.85rem;
  border: 1px solid rgb(170 195 255 / 0.14);
  border-radius: 999px;
  color: var(--soft);
  font-size: 0.8125rem;
  background: rgb(12 21 46 / 0.5);
  box-shadow: inset 0 1px 0 rgb(255 255 255 / 0.08);
}

.chip .dot {
  width: 0.4rem;
  height: 0.4rem;
  border-radius: 50%;
  background: #34d399;
  box-shadow: 0 0 8px rgb(52 211 153 / 0.9);
}

/* The square a section's sign sits in, as on the app's Home. */
.tile {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2.75rem;
  height: 2.75rem;
  flex: none;
  border-radius: 14px;
  color: #8db6ff;
  background: linear-gradient(160deg, rgb(76 141 255 / 0.3), rgb(76 141 255 / 0.1));
  box-shadow: inset 0 1px 0 rgb(255 255 255 / 0.14);
}

.tile svg {
  width: 1.3rem;
  height: 1.3rem;
}

svg.line {
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

/* --- The bar over every page ---------------------------------------------- */

.bar-place {
  position: sticky;
  top: 0.75rem;
  z-index: 20;
  padding: 0.75rem 1rem 0;
}

.bar {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  max-width: 68rem;
  height: 3.5rem;
  margin: 0 auto;
  padding: 0 0.5rem 0 1rem;
  border: 1px solid rgb(170 195 255 / 0.16);
  border-radius: 999px;
  background: rgb(12 21 46 / 0.66);
  backdrop-filter: blur(22px) saturate(170%);
  -webkit-backdrop-filter: blur(22px) saturate(170%);
  box-shadow:
    inset 0 1px 0 rgb(255 255 255 / 0.12),
    0 18px 40px -20px rgb(0 0 0 / 0.9);
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  margin-right: auto;
  color: var(--fg);
  text-decoration: none;
}

.brand img {
  width: 2rem;
  height: 2rem;
}

.wordmark {
  font: italic 400 1.5rem/1 var(--brand);
  letter-spacing: -0.01em;
}

.bar nav {
  display: flex;
  gap: 0.15rem;
}

.bar nav a {
  padding: 0.4rem 0.8rem;
  border-radius: 999px;
  color: var(--muted);
  font-size: 0.875rem;
  text-decoration: none;
  transition:
    color 0.18s ease,
    background-color 0.18s ease;
}

.bar nav a:hover,
.bar nav a[aria-current="page"] {
  color: var(--fg);
  background: rgb(150 180 255 / 0.1);
}

/* The choice of language. */
.langs {
  display: flex;
  padding: 0.2rem;
  border: 1px solid rgb(170 195 255 / 0.12);
  border-radius: 999px;
  background: rgb(5 10 23 / 0.45);
}

.langs button {
  height: 1.9rem;
  padding: 0 0.7rem;
  border: 0;
  border-radius: 999px;
  color: var(--muted);
  font: inherit;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  background: none;
  cursor: pointer;
  transition:
    color 0.18s ease,
    background-color 0.18s ease;
}

html[data-lang="en"] .langs [data-set="en"],
html[data-lang="pl"] .langs [data-set="pl"],
html[data-lang="de"] .langs [data-set="de"],
html[data-lang="es"] .langs [data-set="es"] {
  color: var(--fg);
  background: linear-gradient(180deg, rgb(150 180 255 / 0.28), rgb(150 180 255 / 0.14));
  box-shadow: inset 0 1px 0 rgb(255 255 255 / 0.14);
}

.bar .btn {
  height: 2.5rem;
  padding: 0 1.1rem;
  font-size: 0.875rem;
}

/* --- The first screen ------------------------------------------------------ */

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  align-items: center;
  gap: 3.5rem;
  padding-block: 4.5rem 5rem;
}

.hero h1 {
  margin: 1.1rem 0 0;
  font: 500 clamp(2.5rem, 4.6vw, 4.2rem) / 1.05 var(--display);
  letter-spacing: -0.02em;
  text-wrap: balance;
}

/* The second half of the sentence, in the light of the page. */
.hero h1 em {
  font-style: normal;
  background: linear-gradient(100deg, #a9c8ff 10%, #6ea5ff 55%, #a99bff);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero .lead {
  max-width: 30rem;
  margin: 1.4rem 0 0;
  color: var(--soft);
  font-size: 1.125rem;
  line-height: 1.6;
}

.actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.75rem;
  margin-top: 2rem;
}

.hero .note {
  margin: 1.1rem 0 0;
  color: var(--muted);
  font-size: 0.8125rem;
}

/* Three phones, the one in the middle in front. */
.phones {
  position: relative;
  height: 34rem;
}

.phones::before {
  content: "";
  position: absolute;
  inset: 12% 8%;
  border-radius: 50%;
  background: radial-gradient(closest-side, rgb(76 141 255 / 0.4), transparent);
  filter: blur(40px);
}

.phone {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 15.5rem;
  margin: 0;
  padding: 0.4rem;
  border-radius: 2.4rem;
  background: linear-gradient(160deg, rgb(190 210 255 / 0.5), rgb(60 80 140 / 0.3) 40%, rgb(20 30 70 / 0.6));
  box-shadow:
    inset 0 1px 0 rgb(255 255 255 / 0.3),
    0 40px 80px -30px rgb(0 0 0 / 0.9),
    0 30px 80px -40px rgb(76 141 255 / 0.6);
  transform: translate(-50%, -50%) rotate(var(--turn, 0deg)) translate(var(--away, 0), var(--down, 0))
    scale(var(--size, 1));
  animation: float 9s ease-in-out infinite alternate;
  animation-delay: var(--wait, 0s);
}

.phone img {
  width: 100%;
  height: auto;
  aspect-ratio: 9 / 16;
  border-radius: 2.05rem;
  background: var(--surface);
}

.phone:nth-child(1) {
  --turn: -9deg;
  --away: -10rem;
  --down: 1.5rem;
  --size: 0.86;
  --wait: -3s;
  opacity: 0.9;
}

.phone:nth-child(2) {
  --turn: 9deg;
  --away: 10rem;
  --down: 1.5rem;
  --size: 0.86;
  --wait: -6s;
  opacity: 0.9;
}

.phone:nth-child(3) {
  z-index: 1;
}

@keyframes float {
  to {
    margin-top: -0.9rem;
  }
}

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

section {
  padding-block: 4rem;
}

.head {
  max-width: 40rem;
  margin: 0 auto 2.75rem;
  text-align: center;
}

.head h2,
.show h2,
.get h2 {
  margin: 0.7rem 0 0;
  font: 500 clamp(2rem, 3.6vw, 2.9rem) / 1.1 var(--display);
  letter-spacing: -0.015em;
  text-wrap: balance;
}

.head p:not(.eyebrow) {
  margin: 1rem 0 0;
  color: var(--muted);
  font-size: 1.0625rem;
}

/* What the app is made of. */
.grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}

.feature {
  padding: 1.5rem;
}

.feature h3 {
  margin: 1.1rem 0 0.35rem;
  font-size: 1.0625rem;
  font-weight: 600;
  letter-spacing: -0.005em;
}

.feature p {
  margin: 0;
  color: var(--muted);
  font-size: 0.9375rem;
  line-height: 1.6;
}

/* A screen of the app next to what it is for. */
.show {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  align-items: center;
  gap: 3rem;
  padding: 3rem;
}

.show + .show {
  margin-top: 1.25rem;
}

.show.turned .words {
  order: 2;
}

.show p.say {
  margin: 1rem 0 0;
  color: var(--muted);
  font-size: 1.0625rem;
}

.ticks {
  margin: 1.5rem 0 0;
  padding: 0;
  list-style: none;
}

.ticks li {
  position: relative;
  margin: 0.7rem 0;
  padding-left: 2rem;
  color: var(--soft);
}

.ticks li::before {
  content: "";
  position: absolute;
  top: 0.2rem;
  left: 0;
  width: 1.25rem;
  height: 1.25rem;
  border-radius: 50%;
  background:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20' fill='none' stroke='%238db6ff' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 10.5l2.6 2.6L14 7.5'/%3E%3C/svg%3E")
      center / contain no-repeat,
    rgb(76 141 255 / 0.18);
}

.screens {
  position: relative;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  gap: 1rem;
}

.screens::before {
  content: "";
  position: absolute;
  inset: 10% 5%;
  border-radius: 50%;
  background: radial-gradient(closest-side, rgb(76 141 255 / 0.28), transparent);
  filter: blur(40px);
}

.screen {
  position: relative;
  width: min(15rem, 100%);
  margin: 0;
  padding: 0.35rem;
  border-radius: 2.2rem;
  background: linear-gradient(160deg, rgb(190 210 255 / 0.45), rgb(60 80 140 / 0.28) 40%, rgb(20 30 70 / 0.55));
  box-shadow:
    inset 0 1px 0 rgb(255 255 255 / 0.28),
    0 30px 60px -30px rgb(0 0 0 / 0.9);
}

.screen img {
  width: 100%;
  height: auto;
  aspect-ratio: 9 / 16;
  border-radius: 1.9rem;
  background: var(--surface);
}

.screens .screen:nth-child(2) {
  margin-top: 2.5rem;
}

/* What the app does not do with what is put in it. */
.quiet {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1rem;
}

.quiet .feature {
  padding: 1.35rem;
}

.quiet h3 {
  font-size: 1rem;
}

.quiet p {
  font-size: 0.875rem;
}

.center {
  margin-top: 2rem;
  text-align: center;
}

/* The last pane: where to get it. */
.get {
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr);
  align-items: center;
  gap: 2.5rem;
  padding: 3.25rem;
  overflow: hidden;
}

.get p.say {
  margin: 1rem 0 0;
  color: #cfdcfb;
  font-size: 1.0625rem;
}

.get .chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 1.6rem;
}

.get .chip {
  border-color: rgb(200 220 255 / 0.2);
  color: #e3ebff;
  background: rgb(5 10 23 / 0.3);
}

.ways {
  display: grid;
  gap: 0.75rem;
}

.way {
  display: flex;
  align-items: center;
  gap: 0.9rem;
  padding: 0.9rem 1.1rem;
  border: 1px solid rgb(200 220 255 / 0.16);
  border-radius: 18px;
  color: var(--fg);
  text-decoration: none;
  background: rgb(5 10 23 / 0.34);
  box-shadow: inset 0 1px 0 rgb(255 255 255 / 0.08);
  transition:
    transform 0.3s var(--ease-soft),
    background-color 0.2s ease,
    border-color 0.2s ease;
}

a.way:hover {
  transform: translateY(-2px);
  border-color: rgb(200 220 255 / 0.32);
  background: rgb(5 10 23 / 0.5);
}

.way .tile {
  color: #fff;
  background: linear-gradient(180deg, #5c98ff 0%, #3672ee 100%);
}

.way strong {
  display: block;
  font-weight: 600;
  line-height: 1.3;
}

.way span span {
  display: block;
  color: #b6c6ee;
  font-size: 0.8125rem;
  line-height: 1.4;
}

.way.later .tile {
  color: #b6c6ee;
  background: rgb(150 180 255 / 0.14);
}

.way .go {
  width: 1.1rem;
  height: 1.1rem;
  margin-left: auto;
  flex: none;
  color: #b6c6ee;
}

/* --- The foot of every page ------------------------------------------------ */

footer {
  margin-top: 3rem;
  border-top: 1px solid var(--line);
}

footer .wrap {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.75rem 1.5rem;
  padding-block: 1.75rem 2.5rem;
  color: var(--muted);
  font-size: 0.875rem;
}

footer .brand {
  margin-right: 0;
}

footer .brand img {
  width: 1.6rem;
  height: 1.6rem;
}

footer .wordmark {
  font-size: 1.25rem;
}

footer nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem 1.25rem;
  margin-right: auto;
}

footer a:not(.brand) {
  color: var(--muted);
  text-decoration: none;
  transition: color 0.18s ease;
}

footer a:not(.brand):hover {
  color: var(--fg);
}

/* --- A page of text (the policy, deleting an account) ----------------------- */

.doc {
  max-width: 50rem;
  padding-block: 3.5rem 2rem;
}

.doc > header {
  margin-bottom: 2.25rem;
}

.doc h1 {
  margin: 0.7rem 0 0;
  font: 500 clamp(2.3rem, 5vw, 3.4rem) / 1.08 var(--display);
  letter-spacing: -0.02em;
  text-wrap: balance;
}

.doc > header p:not(.eyebrow) {
  max-width: 40rem;
  margin: 1rem 0 0;
  color: var(--soft);
  font-size: 1.0625rem;
}

.doc h2 {
  margin: 2.75rem 0 0.6rem;
  font: 500 1.6rem/1.2 var(--display);
  letter-spacing: -0.01em;
}

.doc .card h2 {
  margin-top: 0;
  font-size: 1.35rem;
}

.doc .card h2:not(:first-child) {
  margin-top: 1.6rem;
}

.doc p,
.doc ul,
.doc ol {
  margin: 0.7rem 0;
  color: #d5dff7;
}

.doc ul,
.doc ol {
  padding-left: 1.25rem;
}

.doc li {
  margin: 0.4rem 0;
}

.doc li::marker {
  color: var(--accent);
}

.doc strong {
  color: var(--fg);
  font-weight: 600;
}

.doc a {
  color: #8fb8ff;
  text-decoration: underline;
  text-decoration-color: rgb(143 184 255 / 0.5);
  text-underline-offset: 3px;
}

.doc a:hover {
  text-decoration-color: currentColor;
}

.doc .card {
  margin: 1.5rem 0;
  padding: 1.5rem 1.6rem;
}

.doc .card > :first-child,
.doc .card > div > :first-child {
  margin-top: 0;
}

.doc .card > :last-child,
.doc .card > div > :last-child {
  margin-bottom: 0;
}

.doc p.muted {
  color: var(--muted);
}

.doc p.error,
.error {
  color: var(--danger);
}

.doc h2.done {
  color: var(--good);
}

table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.9375rem;
}

th,
td {
  padding: 0.75rem 1rem 0.75rem 0;
  border-bottom: 1px solid var(--line);
  color: #d5dff7;
  text-align: left;
  vertical-align: top;
}

th {
  padding-top: 0;
  color: rgb(148 163 200 / 0.9);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

td:first-child {
  color: var(--fg);
  font-weight: 600;
}

td:last-child,
th:last-child {
  padding-right: 0;
}

tr:last-child td {
  padding-bottom: 0;
  border-bottom: 0;
}

label {
  display: block;
  margin-top: 1rem;
  color: var(--muted);
  font-size: 0.8125rem;
  font-weight: 500;
}

input[type="email"],
input[type="password"] {
  display: block;
  width: 100%;
  height: 2.9rem;
  margin-top: 0.4rem;
  padding: 0 1.1rem;
  border: 1px solid rgb(170 195 255 / 0.16);
  border-radius: 999px;
  color: var(--fg);
  font: inherit;
  background: rgb(5 10 23 / 0.5);
  box-shadow: inset 0 1px 2px rgb(0 0 0 / 0.4);
  outline: none;
  transition:
    border-color 0.18s ease,
    box-shadow 0.22s ease;
}

input[type="email"]:focus,
input[type="password"]:focus {
  border-color: rgb(110 165 255 / 0.7);
  box-shadow:
    inset 0 1px 2px rgb(0 0 0 / 0.4),
    0 0 0 4px rgb(76 141 255 / 0.18);
}

.check {
  display: flex;
  gap: 0.7rem;
  align-items: flex-start;
  color: #d5dff7;
  font-size: 0.9375rem;
  font-weight: 400;
}

.check input {
  width: 1.15rem;
  height: 1.15rem;
  flex: none;
  margin: 0.25rem 0 0;
  accent-color: var(--danger);
}

form .btn {
  margin-top: 1.25rem;
}

.row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
}

/* --- Arriving --------------------------------------------------------------- */

/* Only with scripts: without them nothing would ever bring these in. */
.js .rise {
  opacity: 0;
  transform: translateY(1.5rem);
  transition:
    opacity 0.9s var(--ease-soft),
    transform 0.9s var(--ease-soft);
  transition-delay: var(--after, 0s);
}

.js .rise.in {
  opacity: 1;
  transform: none;
}

/* --- Narrower screens ------------------------------------------------------- */

@media (max-width: 60rem) {
  .hero {
    grid-template-columns: minmax(0, 1fr);
    gap: 1rem;
    padding-block: 3rem 2rem;
    text-align: center;
  }

  .hero .lead {
    margin-inline: auto;
  }

  .actions {
    justify-content: center;
  }

  .phones {
    height: 30rem;
  }

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

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

  .show,
  .get {
    grid-template-columns: minmax(0, 1fr);
    gap: 2.25rem;
    padding: 2rem;
  }

  .show.turned .words {
    order: 0;
  }

  .bar nav {
    display: none;
  }
}

@media (max-width: 36rem) {
  .wrap {
    padding-inline: 1rem;
  }

  .bar-place {
    top: 0.5rem;
    padding: 0.5rem 0.75rem 0;
  }

  .bar {
    height: 3.25rem;
    padding-left: 0.75rem;
  }

  .bar .btn {
    display: none;
  }

  .wordmark {
    font-size: 1.35rem;
  }

  section {
    padding-block: 2.75rem;
  }

  .hero h1 {
    font-size: 2.6rem;
  }

  .hero .lead {
    font-size: 1.0625rem;
  }

  .actions .btn {
    width: 100%;
  }

  .phones {
    height: 24.5rem;
  }

  .phone {
    width: 11.5rem;
    padding: 0.3rem;
    border-radius: 1.8rem;
  }

  .phone img {
    border-radius: 1.5rem;
  }

  .phone:nth-child(1) {
    --away: -6.5rem;
  }

  .phone:nth-child(2) {
    --away: 6.5rem;
  }

  .grid,
  .quiet {
    grid-template-columns: minmax(0, 1fr);
  }

  .show,
  .get {
    padding: 1.5rem 1.25rem;
    border-radius: 24px;
  }

  .screens {
    gap: 0.6rem;
  }

  .screen {
    padding: 0.25rem;
    border-radius: 1.6rem;
  }

  .screen img {
    border-radius: 1.35rem;
  }

  .doc {
    padding-block: 2.25rem 1rem;
  }

  .doc .card {
    padding: 1.25rem 1.1rem;
  }

  form .btn,
  .row .btn {
    width: 100%;
  }

  /* A table too wide for a phone: each row becomes a small block. */
  table,
  tbody,
  tr,
  td {
    display: block;
  }

  thead {
    display: none;
  }

  tr {
    padding: 0.8rem 0;
    border-bottom: 1px solid var(--line);
  }

  tr:first-child {
    padding-top: 0;
  }

  tr:last-child {
    padding-bottom: 0;
    border-bottom: 0;
  }

  td {
    padding: 0.1rem 0;
    border: 0;
  }

  td:last-child:not(:first-child):not(:nth-child(2)) {
    color: var(--muted);
    font-size: 0.8125rem;
  }
}

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

  *,
  ::before,
  ::after {
    animation-duration: 0.01ms !important;
    animation-delay: 0ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    transition-delay: 0ms !important;
  }
}
