/* The public site's one stylesheet. The colours, the radius and the typeface are the
   application's own (web/src/index.css), so the site and the product read as one thing.
   No script, no tracking, nothing loaded from another host. */

@font-face {
  font-family: "Inter Variable";
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  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+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Inter Variable";
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  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;
}

:root {
  --canvas: #f7f7f5;
  --surface: #ffffff;
  --sunken: #f1f0ec;
  --line: #e6e5e1;
  --line-strong: #d3d1ca;
  --ink: #1f1f1d;
  --ink-2: #5f5e5a;
  --accent: #185fa5;
  --accent-soft: #e6f1fb;
  --on-accent: #ffffff;
  --ok: #3b6d11;
  --ok-soft: #eaf3de;
  --warn: #854f0b;
  --warn-soft: #faeeda;
  --radius: 0.75rem;
  --shadow: 0 1px 2px rgb(31 31 29 / 0.06), 0 12px 32px -12px rgb(31 31 29 / 0.18);
  --wide: 72rem;
  --text: 42rem;
}
@media (prefers-color-scheme: dark) {
  :root {
    --canvas: #161615;
    --surface: #1f1f1d;
    --sunken: #282826;
    --line: #34332f;
    --line-strong: #4a4943;
    --ink: #f1efe8;
    --ink-2: #b4b2a9;
    --accent: #85b7eb;
    --accent-soft: #0c2d4f;
    --on-accent: #0b1c2e;
    --ok: #97c459;
    --ok-soft: #1f3409;
    --warn: #ef9f27;
    --warn-soft: #3d2605;
    --shadow: 0 1px 2px rgb(0 0 0 / 0.4), 0 12px 32px -12px rgb(0 0 0 / 0.6);
  }
}

*,
*::before,
*::after {
  box-sizing: border-box;
}
html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
}
body {
  margin: 0;
  background: var(--canvas);
  color: var(--ink);
  font-family: "Inter Variable", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  font-size: 1.0625rem;
  line-height: 1.6;
  font-feature-settings: "cv11", "ss03";
}
img {
  display: block;
  max-width: 100%;
  height: auto;
}
a {
  color: var(--accent);
  text-underline-offset: 0.18em;
}
a:focus-visible,
.button:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
  border-radius: 0.25rem;
}
h1,
h2,
h3 {
  margin: 0;
  line-height: 1.15;
  letter-spacing: -0.02em;
  font-weight: 650;
  text-wrap: balance;
}
h1 {
  font-size: clamp(2.1rem, 4.6vw, 3.4rem);
}
h2 {
  font-size: clamp(1.55rem, 2.8vw, 2.1rem);
}
h3 {
  font-size: 1.125rem;
  letter-spacing: -0.01em;
}
p {
  margin: 0;
  text-wrap: pretty;
}
.wrap {
  width: min(100% - 2.5rem, var(--wide));
  margin-inline: auto;
}
.skip {
  position: absolute;
  left: -100rem;
}
.skip:focus {
  left: 1rem;
  top: 1rem;
  z-index: 10;
  background: var(--surface);
  padding: 0.5rem 0.75rem;
  border-radius: 0.375rem;
}

/* ---- header */
.top {
  position: sticky;
  top: 0;
  z-index: 5;
  background: color-mix(in srgb, var(--canvas) 88%, transparent);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.top .wrap {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  min-height: 3.75rem;
  flex-wrap: wrap;
  padding-block: 0.5rem;
}
.brand {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  color: var(--ink);
  font-weight: 650;
  font-size: 1.125rem;
  letter-spacing: -0.02em;
  text-decoration: none;
}
.brand img {
  width: 1.75rem;
  height: 1.75rem;
}
.nav {
  display: flex;
  gap: 1.25rem;
  margin-left: auto;
  flex-wrap: wrap;
  font-size: 0.95rem;
}
.nav a {
  color: var(--ink-2);
  text-decoration: none;
  padding-block: 0.25rem;
  border-bottom: 2px solid transparent;
}
.nav a:hover,
.nav a[aria-current="page"] {
  color: var(--ink);
  border-bottom-color: var(--accent);
}
.lang {
  display: flex;
  gap: 0.15rem;
  padding: 0.15rem;
  border: 1px solid var(--line);
  border-radius: 0.5rem;
  font-size: 0.8rem;
  font-weight: 600;
}
.lang a,
.lang span {
  padding: 0.15rem 0.5rem;
  border-radius: 0.35rem;
  text-decoration: none;
  color: var(--ink-2);
}
.lang span {
  background: var(--accent-soft);
  color: var(--accent);
}

/* ---- buttons */
.button {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.7rem 1.15rem;
  border-radius: 0.5rem;
  border: 1px solid var(--accent);
  background: var(--accent);
  color: var(--on-accent);
  font-weight: 600;
  font-size: 1rem;
  text-decoration: none;
  white-space: nowrap;
}
.button:hover {
  filter: brightness(1.08);
}
.button.quiet {
  background: transparent;
  color: var(--ink);
  border-color: var(--line-strong);
}
.button.small {
  padding: 0.45rem 0.85rem;
  font-size: 0.9rem;
}
.actions {
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
  align-items: center;
}

/* ---- hero */
.hero {
  padding-block: clamp(2.5rem, 7vw, 5.5rem) clamp(2rem, 5vw, 3.5rem);
}
.hero .lead {
  max-width: 46rem;
}
.eyebrow {
  display: inline-block;
  margin-bottom: 1rem;
  padding: 0.25rem 0.7rem;
  border-radius: 99px;
  background: var(--accent-soft);
  color: var(--accent);
  font-size: 0.85rem;
  font-weight: 600;
}
.lead {
  margin-top: 1.25rem;
  font-size: clamp(1.1rem, 1.7vw, 1.3rem);
  color: var(--ink-2);
  max-width: var(--text);
}
.hero .actions {
  margin-top: 2rem;
}
.price-note {
  color: var(--ink-2);
  font-size: 0.95rem;
}
.price-note strong {
  color: var(--ink);
}

/* ---- a screenshot in its frame. The screenshots are of the application's dark theme, so the
   frame is dark in both of the site's own themes. */
.shot {
  margin: 0;
  border: 1px solid #34332f;
  border-radius: var(--radius);
  background: #161615;
  box-shadow: var(--shadow);
  overflow: hidden;
}
.shot .bar {
  display: flex;
  gap: 0.35rem;
  padding: 0.6rem 0.8rem;
  border-bottom: 1px solid #34332f;
  background: #1f1f1d;
}
.shot .bar i {
  width: 0.6rem;
  height: 0.6rem;
  border-radius: 50%;
  background: #4a4943;
}
.shot figcaption {
  padding: 0.6rem 0.9rem;
  border-top: 1px solid #34332f;
  background: #1f1f1d;
  color: #b4b2a9;
  font-size: 0.85rem;
}
.hero .shot {
  margin-top: clamp(2rem, 5vw, 3.5rem);
}

/* ---- sections */
section {
  padding-block: clamp(2.5rem, 6vw, 4.5rem);
}
section.tint {
  background: var(--surface);
  border-block: 1px solid var(--line);
}
.head {
  max-width: var(--text);
  margin-bottom: 2rem;
}
.head p {
  margin-top: 0.75rem;
  color: var(--ink-2);
}
.kicker {
  margin-bottom: 0.6rem;
  color: var(--accent);
  font-size: 0.85rem;
  font-weight: 650;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.three {
  display: grid;
  gap: 1rem;
  grid-template-columns: repeat(auto-fit, minmax(16rem, 1fr));
}
.card {
  padding: 1.35rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
}
section.tint .card {
  background: var(--canvas);
}
.card p {
  margin-top: 0.5rem;
  color: var(--ink-2);
  font-size: 0.98rem;
}
.split {
  display: grid;
  gap: clamp(1.5rem, 4vw, 3.5rem);
  align-items: center;
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
}
.split.flip {
  grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
}
.split.flip > :first-child {
  order: 2;
}
.split .text p {
  margin-top: 0.9rem;
  color: var(--ink-2);
}
.ticks {
  margin: 1.25rem 0 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 0.6rem;
}
.ticks li {
  position: relative;
  padding-left: 1.7rem;
}
.ticks li::before {
  content: "";
  position: absolute;
  left: 0.15rem;
  top: 0.5em;
  width: 0.85rem;
  height: 0.45rem;
  border-left: 2px solid var(--ok);
  border-bottom: 2px solid var(--ok);
  transform: rotate(-45deg);
}
.more {
  display: inline-block;
  margin-top: 1.25rem;
  font-weight: 600;
}

/* ---- steps */
.steps {
  counter-reset: step;
  display: grid;
  gap: 1rem;
  grid-template-columns: repeat(auto-fit, minmax(15rem, 1fr));
  margin: 0;
  padding: 0;
  list-style: none;
}
.steps li {
  counter-increment: step;
  padding: 1.35rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
}
.steps li::before {
  content: counter(step);
  display: grid;
  place-items: center;
  width: 2rem;
  height: 2rem;
  margin-bottom: 0.9rem;
  border-radius: 50%;
  background: var(--accent-soft);
  color: var(--accent);
  font-weight: 700;
}
.steps p {
  margin-top: 0.5rem;
  color: var(--ink-2);
  font-size: 0.98rem;
}

/* ---- plain facts, and what is not done yet */
.facts {
  display: grid;
  gap: 0;
  margin: 0;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  overflow: hidden;
}
.facts div {
  display: grid;
  gap: 0.25rem 2rem;
  grid-template-columns: minmax(10rem, 16rem) 1fr;
  padding: 1rem 1.35rem;
  border-top: 1px solid var(--line);
}
.facts div:first-child {
  border-top: 0;
}
.facts dt {
  font-weight: 600;
}
.facts dd {
  margin: 0;
  color: var(--ink-2);
}
.note {
  margin-top: 1.5rem;
  padding: 1.1rem 1.35rem;
  border-radius: var(--radius);
  border: 1px solid color-mix(in srgb, var(--warn) 30%, var(--line));
  background: var(--warn-soft);
}
.note h3 {
  color: var(--warn);
}
.note ul {
  margin: 0.6rem 0 0;
  padding-left: 1.2rem;
}
.note li {
  margin-top: 0.3rem;
}
.prose {
  max-width: var(--text);
}
/* On the page's own column, the words keep to the left edge everything else starts from. */
.wrap.prose {
  max-width: none;
}
.wrap.prose > * {
  max-width: var(--text);
}
.prose p,
.prose ul {
  margin-top: 1rem;
  color: var(--ink-2);
}
.prose h2 {
  margin-top: 2.5rem;
}
.prose h2:first-child {
  margin-top: 0;
}

/* ---- price and the last word */
.price {
  display: grid;
  gap: 2rem;
  align-items: center;
  grid-template-columns: minmax(0, 1fr) auto;
  padding: clamp(1.5rem, 4vw, 2.5rem);
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background: var(--surface);
  box-shadow: var(--shadow);
}
.price .amount {
  margin-top: 0;
  color: var(--ink);
  font-size: clamp(2rem, 4vw, 2.8rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.1;
}
.price .amount small {
  display: block;
  margin-bottom: 0.35rem;
  font-size: 0.95rem;
  font-weight: 600;
  letter-spacing: 0;
  color: var(--ink-2);
}
.price p {
  margin-top: 0.75rem;
  color: var(--ink-2);
  max-width: 38rem;
}

/* ---- footer */
footer {
  padding-block: 2.5rem;
  border-top: 1px solid var(--line);
  color: var(--ink-2);
  font-size: 0.92rem;
}
footer .wrap {
  display: flex;
  gap: 1rem 2rem;
  flex-wrap: wrap;
  justify-content: space-between;
}
footer nav {
  display: flex;
  gap: 1.25rem;
  flex-wrap: wrap;
}
footer a {
  color: var(--ink-2);
}

@media (max-width: 54rem) {
  .split,
  .split.flip,
  .price {
    grid-template-columns: 1fr;
  }
  .top {
    position: static;
  }
  .split.flip > :first-child {
    order: 0;
  }
  .nav {
    order: 3;
    width: 100%;
    margin-left: 0;
    gap: 1rem;
  }
  .lang {
    margin-left: auto;
  }
  .facts div {
    grid-template-columns: 1fr;
  }
}
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
}
