/* Free Code website. Black and white, IBM Plex, one outline icon set (/icons.svg).
   The tokens, type scale and components follow the Figma file named in the README. */
@font-face {
  font-family: 'IBM Plex Sans';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('/fonts/ibm-plex-sans-latin-400-normal.woff2') format('woff2');
}
@font-face {
  font-family: 'IBM Plex Sans';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url('/fonts/ibm-plex-sans-latin-500-normal.woff2') format('woff2');
}
@font-face {
  font-family: 'IBM Plex Sans';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url('/fonts/ibm-plex-sans-latin-600-normal.woff2') format('woff2');
}
@font-face {
  font-family: 'IBM Plex Mono';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('/fonts/ibm-plex-mono-latin-400-normal.woff2') format('woff2');
}
@font-face {
  font-family: 'IBM Plex Mono';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url('/fonts/ibm-plex-mono-latin-500-normal.woff2') format('woff2');
}

:root {
  color-scheme: light;
  --bg: #ffffff;
  --surface: #fafafa;
  --surface-2: #f2f2f2;
  --text: #000000;
  --text-2: #3d3d3d;
  --muted: #6b6b6b;
  --line: #e6e6e6;
  --line-strong: #bdbdbd;
  --inverse-bg: #000000;
  --inverse-text: #ffffff;
  --inverse-muted: #a6a6a6;
  --shadow: 0 28px 72px rgb(0 0 0 / 10%);
  --pad: 80px;
  --section: 104px;
  --sans: 'IBM Plex Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --mono: 'IBM Plex Mono', ui-monospace, 'SF Mono', Menlo, monospace;
  font-family: var(--sans);
  font-synthesis: none;
  font-size: 16px;
  line-height: 26px;
  color: var(--text);
  background: var(--bg);
  -webkit-text-size-adjust: 100%;
  -webkit-font-smoothing: antialiased;
}
@media (prefers-color-scheme: dark) {
  :root {
    color-scheme: dark;
    --bg: #000000;
    --surface: #0a0a0a;
    --surface-2: #161616;
    --text: #ffffff;
    --text-2: #c9c9c9;
    --muted: #9b9b9b;
    --line: #242424;
    --line-strong: #474747;
    --inverse-bg: #ffffff;
    --inverse-text: #000000;
    --inverse-muted: #5e5e5e;
    --shadow: 0 28px 72px rgb(0 0 0 / 60%);
  }
  /* The icon is black: a hairline keeps its shape visible on a black page. */
  .app-icon {
    filter: drop-shadow(0 0 1px rgb(255 255 255 / 45%));
  }
  .band .app-icon {
    filter: none;
  }
}

*,
*::before,
*::after {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
  scroll-padding-top: 24px;
}
body {
  margin: 0;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  background: var(--bg);
}
main {
  flex: 1;
}
[hidden] {
  display: none !important;
}
img {
  max-width: 100%;
  height: auto;
  display: block;
}
a {
  color: inherit;
  text-underline-offset: 3px;
}
h1,
h2,
h3,
p,
ul,
ol,
dl,
figure {
  margin: 0;
}
ul,
ol {
  padding: 0;
  list-style: none;
}
button,
input,
select,
textarea {
  font: inherit;
  color: inherit;
}
:focus-visible {
  outline: 2px solid var(--text);
  outline-offset: 3px;
  border-radius: 4px;
}
.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}
.skip {
  position: absolute;
  left: 16px;
  top: -64px;
  z-index: 20;
  padding: 10px 16px;
  border-radius: 10px;
  background: var(--inverse-bg);
  color: var(--inverse-text);
  font-weight: 500;
  text-decoration: none;
}
.skip:focus {
  top: 16px;
}

/* Type */
h1 {
  font-size: clamp(40px, 3.9vw, 56px);
  line-height: 1.107;
  letter-spacing: -0.03em;
  font-weight: 600;
}
.display {
  font-size: clamp(40px, 6.11vw, 88px);
  line-height: 1.023;
  letter-spacing: -0.035em;
  font-weight: 600;
}
h2 {
  font-size: clamp(32px, 2.78vw, 40px);
  line-height: 1.15;
  letter-spacing: -0.025em;
  font-weight: 600;
}
h3 {
  font-size: 22px;
  line-height: 30px;
  letter-spacing: -0.01em;
  font-weight: 500;
}
.h2 {
  font-size: clamp(32px, 2.78vw, 40px);
  line-height: 1.15;
  letter-spacing: -0.025em;
  font-weight: 600;
}
.h3 {
  font-size: 22px;
  line-height: 30px;
  letter-spacing: -0.01em;
  font-weight: 500;
}
.muted {
  color: var(--muted);
}
.lede {
  font-size: 19px;
  line-height: 30px;
  letter-spacing: -0.005em;
  color: var(--text-2);
}
.small {
  font-size: 14px;
  line-height: 22px;
}
.label,
.eyebrow {
  font-family: var(--mono);
  font-size: 12px;
  line-height: 16px;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
}
.eyebrow {
  display: flex;
  align-items: center;
  gap: 8px;
}
.eyebrow .icon {
  width: 16px;
  height: 16px;
  color: var(--text);
}
.mono {
  font-family: var(--mono);
  font-size: 13px;
  line-height: 20px;
  color: var(--muted);
}
.icon {
  width: 18px;
  height: 18px;
  flex: none;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

/* Layout */
.wrap {
  width: 100%;
  max-width: 1440px;
  margin-inline: auto;
  padding-inline: var(--pad);
}
.section {
  padding-block: var(--section);
}
.tint {
  background: var(--surface);
}
.stack {
  display: flex;
  flex-direction: column;
  gap: 20px;
  align-items: flex-start;
}
.section-head {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin-bottom: 56px;
}
.grid-2 {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
}
.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
}
.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

/* Buttons */
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px 22px;
  border: 1px solid var(--inverse-bg);
  border-radius: 10px;
  background: var(--inverse-bg);
  color: var(--inverse-text);
  font-size: 15px;
  line-height: 20px;
  font-weight: 500;
  text-decoration: none;
  white-space: nowrap;
  cursor: pointer;
  transition:
    opacity 0.15s ease,
    background-color 0.15s ease;
}
.button:hover {
  opacity: 0.82;
}
.button.small {
  padding: 9px 16px;
}
.button.secondary {
  background: transparent;
  border-color: var(--line-strong);
  color: var(--text);
}
.button.secondary:hover {
  opacity: 1;
  background: var(--surface-2);
}
.button.on-inverse {
  background: var(--bg);
  border-color: var(--bg);
  color: var(--text);
}
.button.on-inverse-outline {
  background: transparent;
  border-color: var(--inverse-muted);
  color: var(--inverse-text);
}
.button.block {
  width: 100%;
}
.button:disabled,
.button[aria-disabled='true'] {
  opacity: 0.4;
  cursor: default;
}
.link {
  padding: 0;
  border: 0;
  background: none;
  cursor: pointer;
  text-align: left;
}
.text-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 500;
}

/* Navigation */
.nav {
  border-bottom: 1px solid var(--line);
  background: var(--bg);
}
.nav > .wrap {
  height: 76px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 22px;
  line-height: 30px;
  letter-spacing: -0.01em;
  font-weight: 500;
  text-decoration: none;
  white-space: nowrap;
}
.brand .app-icon {
  width: 40px;
  height: 40px;
}
.nav-links {
  display: flex;
  align-items: center;
  gap: 36px;
}
.nav-links a,
.nav-signin {
  font-size: 15px;
  line-height: 20px;
  font-weight: 500;
  color: var(--text-2);
  text-decoration: none;
}
.nav-links a:hover,
.nav-signin:hover {
  color: var(--text);
  text-decoration: underline;
}
.nav-actions {
  display: flex;
  align-items: center;
  gap: 24px;
}
.nav-signin {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--text);
}
.nav-signin .icon {
  display: none;
  width: 20px;
  height: 20px;
}
.nav-signin[aria-current='page'] {
  text-decoration: underline;
}

/* Home */
.hero {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 32px;
  padding-block: 96px 72px;
  text-align: center;
}
.hero .app-icon {
  width: 168px;
  height: 168px;
}
.hero .lede {
  max-width: 640px;
}
.hero .actions {
  justify-content: center;
}
.showcase {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
  padding-bottom: var(--section);
}
.showcase img {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 20px;
  box-shadow: var(--shadow);
}
.showcase .mono {
  text-align: center;
}
.card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 16px;
  padding: 32px;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: var(--surface);
  min-width: 0;
}
.tint .card,
.card.plain {
  background: var(--bg);
}
.card p {
  color: var(--text-2);
}
.card > .icon {
  width: 24px;
  height: 24px;
}
.card-top {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.card-top .icon {
  width: 24px;
  height: 24px;
}
.icon-tile {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--bg);
}
.icon-tile .icon {
  width: 22px;
  height: 22px;
}
.split {
  display: grid;
  grid-template-columns: 480px minmax(0, 1fr);
  gap: 80px;
  align-items: start;
}
.split.even {
  grid-template-columns: minmax(0, 1fr) 560px;
  align-items: center;
}
.split .stack > p:not(.eyebrow) {
  color: var(--text-2);
}
.row-card {
  display: flex;
  align-items: center;
  gap: 14px;
  width: 100%;
  padding: 16px 18px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--bg);
}
.row-card .icon {
  width: 20px;
  height: 20px;
}
.row-card strong {
  display: block;
  font-size: 15px;
  line-height: 20px;
  font-weight: 500;
}
.row-card span {
  display: block;
  font-size: 14px;
  line-height: 22px;
  color: var(--muted);
}
.families {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}
.families .row-card {
  padding: 20px;
}
.families-note {
  margin-top: 20px;
}
.compare {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: var(--surface);
  border-collapse: separate;
  border-spacing: 0;
  overflow: hidden;
}
.compare th,
.compare td {
  padding: 16px 24px;
  text-align: left;
  font-weight: 400;
}
.compare thead th {
  font-family: var(--mono);
  font-size: 12px;
  line-height: 16px;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
}
.compare tbody th,
.compare tbody td {
  border-top: 1px solid var(--line);
}
.compare th:not(:first-child),
.compare td {
  width: 96px;
  padding-inline: 0;
  text-align: center;
}
.compare td .icon {
  width: 20px;
  height: 20px;
  vertical-align: middle;
}
.compare .no {
  color: var(--muted);
}
.band {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 28px;
  padding: 80px;
  border-radius: 28px;
  background: var(--inverse-bg);
  color: var(--inverse-text);
  text-align: center;
}
.band .app-icon {
  width: 88px;
  height: 88px;
}
.band h2 {
  font-size: clamp(36px, 3.9vw, 56px);
  line-height: 1.107;
  letter-spacing: -0.03em;
}
.band p {
  color: var(--inverse-muted);
}
.band .actions {
  justify-content: center;
}

/* Download */
.page-hero {
  padding-block: 88px;
}
.page-hero .split {
  grid-template-columns: minmax(0, 1fr) 480px;
  align-items: center;
}
.page-hero .stack {
  gap: 24px;
}
.release {
  gap: 20px;
  padding: 36px;
}
.release-title {
  display: flex;
  align-items: center;
  gap: 18px;
  width: 100%;
}
.release-title .app-icon {
  width: 88px;
  height: 88px;
  flex: none;
}
.release-title .label {
  margin-top: 6px;
}
.facts {
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.facts li {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--text-2);
}
.steps {
  display: flex;
  flex-direction: column;
  gap: 20px;
  width: 100%;
  counter-reset: step;
}
.steps li {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  color: var(--text-2);
  counter-increment: step;
}
.steps li::before {
  content: counter(step);
  display: grid;
  place-items: center;
  flex: none;
  width: 26px;
  height: 26px;
  border: 1px solid var(--line-strong);
  border-radius: 50%;
  font-family: var(--mono);
  font-size: 12px;
  line-height: 16px;
  font-weight: 500;
  color: var(--text);
}
.steps strong {
  font-weight: 500;
  color: var(--text);
}
.callout {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  width: 100%;
  padding: 18px 20px;
  border: 1px solid var(--line-strong);
  border-radius: 12px;
  background: var(--bg);
  text-align: left;
}
.callout .icon {
  width: 20px;
  height: 20px;
  margin-top: 1px;
}
.callout strong {
  display: block;
  font-size: 15px;
  line-height: 20px;
  font-weight: 500;
  color: var(--text);
  margin-bottom: 4px;
}
.callout p {
  font-size: 14px;
  line-height: 22px;
  color: var(--text-2);
}
.strip {
  width: 100%;
  display: flex;
  align-items: center;
  gap: 40px;
  padding: 48px 56px;
  border: 1px solid var(--line);
  border-radius: 24px;
  background: var(--surface);
}
.strip > div {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.strip p:not(.eyebrow) {
  color: var(--text-2);
}
.resources {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 32px;
}

/* Sign in */
.auth {
  display: flex;
  justify-content: center;
  padding-block: 96px 100px;
}
.auth-card {
  width: 100%;
  max-width: 520px;
  padding: 44px;
  align-items: stretch;
  gap: 24px;
  text-align: center;
}
.auth-card .app-icon {
  width: 96px;
  height: 96px;
  margin-inline: auto;
}
.auth-view {
  display: flex;
  flex-direction: column;
  gap: 24px;
}
.auth-view > p {
  color: var(--text-2);
}
.promises {
  display: flex;
  flex-direction: column;
  gap: 12px;
  text-align: left;
}
.promises li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 14px;
  line-height: 22px;
  color: var(--text-2);
}
.promises .icon {
  margin-top: 2px;
  color: var(--text);
}
.check {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 14px;
  line-height: 22px;
  text-align: left;
  cursor: pointer;
}
.check input {
  appearance: none;
  -webkit-appearance: none;
  flex: none;
  display: grid;
  place-content: center;
  width: 20px;
  height: 20px;
  margin: 1px 0 0;
  border: 1px solid var(--line-strong);
  border-radius: 5px;
  background: var(--bg);
  cursor: pointer;
}
.check input:checked {
  border-color: var(--inverse-bg);
  background: var(--inverse-bg);
}
.check input:checked::before {
  content: '';
  width: 10px;
  height: 6px;
  border-left: 2px solid var(--inverse-text);
  border-bottom: 2px solid var(--inverse-text);
  transform: translateY(-1px) rotate(-45deg);
}
.spinner {
  display: grid;
  place-items: center;
  width: 56px;
  height: 56px;
  margin-inline: auto;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: var(--bg);
}
.spinner .icon {
  width: 26px;
  height: 26px;
}
.stages {
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--bg);
  text-align: left;
}
.stages li {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 18px;
}
.stages li + li {
  border-top: 1px solid var(--line);
}
.stages li > span:first-of-type {
  flex: 1;
}
.stages .next {
  color: var(--muted);
}
@media (prefers-reduced-motion: no-preference) {
  .spin {
    animation: spin 0.9s linear infinite;
    transform-origin: center;
  }
}
@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

/* Account */
.account {
  display: flex;
  flex-direction: column;
  gap: 32px;
  padding-block: 88px var(--section);
}
.account-content {
  display: flex;
  flex-direction: column;
  gap: 32px;
}
.identity {
  display: flex;
  align-items: center;
  gap: 20px;
}
.identity > div {
  flex: 1;
  min-width: 0;
}
.identity h1 {
  font-size: clamp(30px, 2.78vw, 40px);
  line-height: 1.15;
  letter-spacing: -0.025em;
  overflow-wrap: anywhere;
}
.identity .mono {
  margin-top: 6px;
}
.avatar {
  display: grid;
  place-items: center;
  flex: none;
  width: 72px;
  height: 72px;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: var(--surface-2);
}
.avatar .icon {
  width: 30px;
  height: 30px;
}
.card form:not(.auth-view) {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 20px;
  width: 100%;
}
.card-title {
  display: flex;
  align-items: center;
  gap: 12px;
}
.card-title .icon {
  width: 22px;
  height: 22px;
}
.field {
  display: flex;
  flex-direction: column;
  gap: 8px;
  width: 100%;
  font-family: var(--mono);
  font-size: 12px;
  line-height: 16px;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
}
.field input,
.field select,
.field textarea {
  width: 100%;
  padding: 14px 16px;
  border: 1px solid var(--line-strong);
  border-radius: 10px;
  background: var(--bg);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 26px;
  font-weight: 400;
  letter-spacing: 0;
  text-transform: none;
  color: var(--text);
}
.field textarea {
  min-height: 132px;
  resize: vertical;
}
.field input::placeholder,
.field textarea::placeholder {
  color: var(--muted);
}
.status:empty {
  display: none;
}
.status {
  color: var(--text-2);
}
/* Once the account is on screen the heading says who is signed in; the status line stays
   for screen readers only. */
#account-status:has(+ #account-content:not([hidden])) {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}

/* Legal */
.document {
  display: flex;
  flex-direction: column;
  gap: 40px;
  padding-block: 88px var(--section);
}
.document-head {
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.tabs a {
  padding: 10px 18px;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  font-size: 15px;
  line-height: 20px;
  font-weight: 500;
  color: var(--text-2);
  text-decoration: none;
}
.tabs a:hover {
  background: var(--surface-2);
}
.tabs a[aria-current='page'] {
  border-color: var(--inverse-bg);
  background: var(--inverse-bg);
  color: var(--inverse-text);
}
.prose {
  display: flex;
  flex-direction: column;
  gap: 20px;
  max-width: 760px;
  color: var(--text-2);
}
.prose h2 {
  margin-top: 12px;
  font-size: 22px;
  line-height: 30px;
  letter-spacing: -0.01em;
  font-weight: 500;
  color: var(--text);
}
.prose ul {
  padding-left: 20px;
  list-style: disc;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.prose strong {
  font-weight: 500;
  color: var(--text);
}
.table-scroll {
  max-width: 100%;
  overflow-x: auto;
  border: 1px solid var(--line);
  border-radius: 12px;
}
.prose table {
  width: 100%;
  min-width: 560px;
  border-collapse: collapse;
  font-size: 14px;
  line-height: 22px;
}
.prose th,
.prose td {
  padding: 14px 16px;
  text-align: left;
  vertical-align: top;
}
.prose th {
  font-family: var(--mono);
  font-size: 12px;
  line-height: 16px;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
  background: var(--surface);
}
.prose td {
  border-top: 1px solid var(--line);
}
.prose td:first-child {
  font-family: var(--mono);
  font-size: 13px;
  color: var(--text);
  white-space: nowrap;
}

/* Not found */
.not-found {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 24px;
  padding-block: 120px 160px;
  text-align: center;
}
.not-found .app-icon {
  width: 112px;
  height: 112px;
}
.not-found .actions {
  justify-content: center;
  padding-top: 12px;
}

/* Footer */
footer {
  border-top: 1px solid var(--line);
  background: var(--bg);
}
footer > .wrap {
  display: flex;
  flex-direction: column;
  gap: 48px;
  padding-block: 64px 40px;
}
.footer-columns {
  display: flex;
  flex-wrap: wrap;
  gap: 48px 64px;
}
.footer-about {
  flex: 1 1 320px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.footer-about p {
  max-width: 320px;
  font-size: 14px;
  line-height: 22px;
  color: var(--muted);
}
footer nav {
  display: flex;
  flex-direction: column;
  gap: 14px;
}
footer nav h2 {
  font-family: var(--mono);
  font-size: 12px;
  line-height: 16px;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
}
footer nav ul {
  display: flex;
  flex-direction: column;
  gap: 14px;
}
footer nav a,
footer nav .link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  line-height: 22px;
  color: var(--text-2);
  text-decoration: none;
}
footer nav a:hover,
footer nav .link:hover {
  color: var(--text);
  text-decoration: underline;
}
footer nav .icon {
  width: 16px;
  height: 16px;
  color: var(--text);
}
.copyright {
  padding-top: 48px;
  border-top: 1px solid var(--line);
  font-size: 14px;
  line-height: 22px;
  color: var(--muted);
}

/* The cookie notice, built by site.js */
.cookie-banner {
  position: fixed;
  left: 20px;
  bottom: 20px;
  z-index: 30;
  width: min(440px, calc(100vw - 40px));
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 24px;
  border: 1px solid var(--line-strong);
  border-radius: 20px;
  background: var(--bg);
  box-shadow: var(--shadow);
}
.cookie-banner h2 {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 22px;
  line-height: 30px;
  letter-spacing: -0.01em;
  font-weight: 500;
}
.cookie-banner h2 .icon {
  width: 22px;
  height: 22px;
}
.cookie-banner p {
  font-size: 14px;
  line-height: 22px;
  color: var(--text-2);
}
.cookie-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px 20px;
  margin-top: 4px;
}
.cookie-actions a {
  font-size: 14px;
  font-weight: 500;
}

/* Narrower screens */
@media (max-width: 1100px) {
  :root {
    --pad: 40px;
    --section: 80px;
  }
  .nav-links {
    gap: 24px;
  }
  .split,
  .split.even,
  .page-hero .split {
    grid-template-columns: minmax(0, 1fr);
    gap: 48px;
  }
  .grid-3 {
    grid-template-columns: minmax(0, 1fr);
  }
  .band {
    padding: 56px 32px;
  }
}
@media (max-width: 860px) {
  .nav-links {
    display: none;
  }
  .grid-2 {
    grid-template-columns: minmax(0, 1fr);
  }
  .strip {
    flex-direction: column;
    align-items: flex-start;
    padding: 32px;
  }
}
@media (max-width: 640px) {
  :root {
    --pad: 20px;
    --section: 56px;
  }
  .nav > .wrap {
    height: 64px;
  }
  .brand {
    gap: 8px;
    font-size: 15px;
    line-height: 20px;
  }
  .brand .app-icon {
    width: 34px;
    height: 34px;
  }
  .nav-actions {
    gap: 14px;
  }
  .nav-signin span {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip-path: inset(50%);
  }
  .nav-signin .icon {
    display: block;
  }
  .wide-only {
    display: none;
  }
  .hero {
    gap: 22px;
    padding-block: 48px 48px;
  }
  .hero .app-icon {
    width: 120px;
    height: 120px;
  }
  .lede {
    font-size: 16px;
    line-height: 26px;
    letter-spacing: 0;
  }
  .hero .actions,
  .band .actions,
  .not-found .actions {
    flex-direction: column;
    width: 100%;
    gap: 10px;
  }
  .hero .actions .button,
  .band .actions .button,
  .not-found .actions .button,
  .strip .button {
    width: 100%;
  }
  .showcase img {
    border-radius: 12px;
  }
  .section-head {
    margin-bottom: 24px;
  }
  .card {
    gap: 10px;
    padding: 22px;
    border-radius: 16px;
  }
  .icon-tile {
    width: auto;
    height: auto;
    border: 0;
    background: none;
  }
  .families {
    grid-template-columns: minmax(0, 1fr);
  }
  .compare th,
  .compare td {
    padding: 14px 16px;
  }
  .compare th:not(:first-child),
  .compare td {
    width: 72px;
  }
  .band {
    gap: 20px;
    padding: 40px 24px;
    border-radius: 20px;
  }
  .band .app-icon {
    width: 72px;
    height: 72px;
  }
  .page-hero {
    padding-block: 48px;
  }
  .release {
    padding: 24px;
  }
  .release-title .app-icon {
    width: 64px;
    height: 64px;
  }
  .auth {
    padding-block: 32px 56px;
  }
  .auth-card {
    padding: 28px 22px;
  }
  .account,
  .document {
    padding-block: 48px var(--section);
  }
  .identity {
    flex-wrap: wrap;
  }
  .avatar {
    width: 56px;
    height: 56px;
  }
  .not-found {
    padding-block: 64px 80px;
  }
  footer > .wrap {
    gap: 32px;
    padding-block: 40px 32px;
  }
  .footer-columns {
    gap: 32px;
  }
  .copyright {
    padding-top: 32px;
  }
  .cookie-banner {
    left: 12px;
    bottom: 12px;
    width: calc(100vw - 24px);
    padding: 20px;
  }
}
