:root { color-scheme: light dark; --canvas: #f2f6f7; --surface: #ffffff; --sunken: #e9eeef; --stage: #000e12; --phone: #10252a; --ink: #061d22; --ink-2: #515f63; --ink-3: #606d70; --link: #007c7b; --focus: #009896; --line: #d2d9db; --line-soft: #dee4e6; --line-strong: #707b7e; --on-stage: #f2f6f7; --on-stage-2: #d2d9db; --accent: #fe533f; --accent-pressed: #e83c2e; --on-accent: #ffffff; --accent-subtle: #fff4f1; --accent-subtle-fg: #c3261f; --lagoon: #009896; --lagoon-text: #007c7b; --lagoon-subtle: #ecfaf8; --sun-subtle: #fffaec; --sun-text: #966300; --golden-1: #fec552; --golden-2: #fe533f; --golden-3: #fe477d; --glow: #fe477d33; --shadow: #00070a1f; --shadow-deep: #00070a8c; }
@media (prefers-color-scheme: dark) { :root { --canvas: #001419; --surface: #061d22; --sunken: #000e12; --stage: #00070a; --phone: #10252a; --ink: #f2f6f7; --ink-2: #d2d9db; --ink-3: #b7bfc2; --link: #86ddd6; --focus: #4ac9c3; --line: #1b2f34; --line-soft: #10252a; --line-strong: #707b7e; --on-stage: #f2f6f7; --on-stage-2: #d2d9db; --accent: #fe533f; --accent-pressed: #e83c2e; --on-accent: #ffffff; --accent-subtle: #3c1917; --accent-subtle-fg: #ffb6a7; --lagoon: #00ada9; --lagoon-text: #86ddd6; --lagoon-subtle: #0e2a2b; --sun-subtle: #33210b; --sun-text: #ffd785; --golden-1: #fec552; --golden-2: #fe533f; --golden-3: #fe477d; --glow: #fe477d33; --shadow: #00070a1f; --shadow-deep: #00070a8c; } }
/*
 * The website's styles (ADR 0108). Colors are only the design tokens' (the build writes them as variables above this
 * file, light and dark); the type is Geologica, the app's face. One coral action per page; the Golden Hour only for
 * the brand: its mark, and the dot by the opening's last line.
 */

@font-face {
  font-family: "Geologica";
  src: url("/assets/geologica.9124d9e88a.ttf") format("truetype");
  font-weight: 100 900;
  font-display: swap;
}

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

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

body {
  margin: 0;
  background: var(--canvas);
  color: var(--ink);
  font-family: "Geologica", system-ui, sans-serif;
  font-size: 1.0625rem;
  line-height: 1.55;
  font-feature-settings: "tnum" 0;
}

a {
  color: var(--link);
  text-underline-offset: 0.18em;
  text-decoration-thickness: 1px;
}
a:hover {
  text-decoration-thickness: 2px;
}
:focus-visible {
  outline: 3px solid var(--focus);
  outline-offset: 2px;
  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: 10;
  padding: 10px 16px;
  border-radius: 12px;
  background: var(--surface);
  color: var(--ink);
}
.skip:focus {
  top: 12px;
}

h1,
h2,
h3 {
  margin: 0;
  letter-spacing: -0.015em;
  text-wrap: balance;
}
h1 {
  font-size: clamp(2.1rem, 5.5vw, 3rem);
  font-weight: 800;
  line-height: 1.08;
}
h2 {
  font-size: clamp(1.45rem, 3vw, 1.85rem);
  font-weight: 800;
  line-height: 1.18;
}
h3 {
  font-size: 1.125rem;
  font-weight: 700;
  line-height: 1.3;
}
p {
  margin: 0;
}
.lead {
  font-size: clamp(1.1rem, 2.2vw, 1.3rem);
  line-height: 1.45;
  color: var(--ink-2);
  max-width: 38rem;
}

/* The bars: header and footer share one width. */
.bar {
  width: min(72rem, 100% - 32px);
  margin-inline: auto;
}

.top .bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 72px;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--ink);
  text-decoration: none;
  min-height: 48px;
}
.brand svg {
  width: 30px;
  height: 30px;
  flex: none;
}
.wordmark {
  font-weight: 800;
  font-size: 1.45rem;
  letter-spacing: -0.02em;
}
.brand.small svg {
  width: 22px;
  height: 22px;
}
.brand.small .wordmark {
  font-size: 1.1rem;
}

.top-nav {
  display: flex;
  align-items: center;
  gap: 8px;
}
.top-nav > a,
.languages summary {
  display: inline-flex;
  align-items: center;
  min-height: 48px;
  padding-inline: 14px;
  border-radius: 999px;
  color: var(--ink);
  text-decoration: none;
  font-weight: 600;
}
.top-nav > a:hover,
.languages summary:hover {
  background: var(--sunken);
}
.top-nav > a[aria-current="page"] {
  background: var(--sunken);
}

.languages {
  position: relative;
}
.languages summary {
  cursor: pointer;
  list-style: none;
  gap: 6px;
}
.languages summary::-webkit-details-marker {
  display: none;
}
.languages summary::after {
  content: "";
  width: 7px;
  height: 7px;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: translateY(-2px) rotate(45deg);
  margin-left: 4px;
}
.languages[open] summary::after {
  transform: translateY(2px) rotate(-135deg);
}
.languages ul {
  position: absolute;
  right: 0;
  top: calc(100% + 6px);
  z-index: 5;
  margin: 0;
  padding: 6px;
  list-style: none;
  min-width: 13rem;
  background: var(--surface);
  border: 1px solid var(--line-soft);
  border-radius: 16px;
  box-shadow: 0 12px 32px var(--shadow);
}
.languages li a {
  display: flex;
  align-items: center;
  min-height: 44px;
  padding-inline: 12px;
  border-radius: 10px;
  color: var(--ink);
  text-decoration: none;
}
.languages li a:hover {
  background: var(--sunken);
}
.languages li a[aria-current="true"] {
  font-weight: 700;
  background: var(--sunken);
}

main {
  display: block;
}

/* The opening: the video stage, dark in both themes, a frame of a real video in a phone beside the title. */
.hero {
  position: relative;
  overflow: hidden;
  background: var(--stage);
  color: var(--on-stage);
  border-radius: 0 0 32px 32px;
}
.hero-art {
  position: relative;
  justify-self: center;
  width: min(420px, 100%);
  display: grid;
  justify-items: center;
}
.hero-inner {
  position: relative;
  width: min(72rem, 100% - 32px);
  margin-inline: auto;
  padding-block: clamp(40px, 8vw, 96px) clamp(48px, 8vw, 104px);
  display: grid;
  gap: clamp(32px, 6vw, 72px);
  align-items: center;
}
@media (min-width: 840px) {
  .hero-inner {
    grid-template-columns: minmax(0, 1.25fr) minmax(0, 0.75fr);
  }
}
.hero h1 {
  font-size: clamp(2.6rem, 7vw, 4.75rem);
  line-height: 1.02;
  letter-spacing: -0.03em;
  max-width: 12ch;
}
.hero .lead {
  margin-top: 24px;
  color: var(--on-stage-2);
}
.soon {
  margin-top: 32px;
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-weight: 600;
}
.soon::before {
  content: "";
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--golden-3);
  box-shadow: 0 0 0 5px var(--glow);
}
.hero-video {
  position: relative;
  margin: 0;
  width: min(300px, 74vw);
}
.phone {
  aspect-ratio: 9 / 16;
  border-radius: 34px;
  padding: 8px;
  background: var(--phone);
  box-shadow: 0 30px 80px var(--shadow-deep);
}
.phone img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 27px;
}
.hero-video figcaption {
  margin-top: 12px;
  text-align: center;
  font-size: 0.8125rem;
  color: var(--on-stage-2);
}

/* How it works: three steps along a route, a ring for the start and dots for the stops. */
.steps,
.private,
.page-head,
.faq,
.card,
.doc,
.result {
  width: min(72rem, 100% - 32px);
  margin-inline: auto;
}
.steps {
  padding-block: clamp(56px, 9vw, 112px) 24px;
}
.steps ol {
  list-style: none;
  margin: 40px 0 0;
  padding: 0;
  display: grid;
  gap: 32px;
  counter-reset: step;
}
@media (min-width: 840px) {
  .steps ol {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 40px;
  }
}
.steps li {
  position: relative;
  counter-increment: step;
  padding-top: 64px;
}
.steps li::before {
  content: counter(step);
  position: absolute;
  top: 0;
  left: 0;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-weight: 800;
  font-variant-numeric: tabular-nums;
  background: var(--accent-subtle);
  color: var(--accent-subtle-fg);
}
.steps li:first-child::before {
  background: var(--canvas);
  box-shadow: inset 0 0 0 3px var(--accent-subtle-fg);
}
@media (min-width: 840px) {
  .steps li:not(:last-child)::after {
    content: "";
    position: absolute;
    top: 21px;
    left: 56px;
    right: -28px;
    height: 2px;
    background: var(--line);
  }
}
.steps p {
  margin-top: 10px;
  color: var(--ink-2);
}

.private {
  margin-block: clamp(40px, 7vw, 88px);
  padding: clamp(28px, 5vw, 56px);
  background: var(--lagoon-subtle);
  border-radius: 24px;
}
.private h2 {
  max-width: 20ch;
}
.private p {
  margin-top: 16px;
  max-width: 40rem;
  font-size: 1.125rem;
}
.private a {
  color: var(--lagoon-text);
  font-weight: 600;
}

/* Help. */
.page-head {
  padding-block: clamp(40px, 7vw, 80px) 8px;
}
.page-head .lead {
  margin-top: 16px;
}
.faq {
  padding-block: 32px;
  max-width: 48rem;
  margin-left: max(16px, (100% - 72rem) / 2);
}
.faq h2 {
  margin-bottom: 16px;
}
.faq details {
  border-bottom: 1px solid var(--line-soft);
}
.faq summary {
  cursor: pointer;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  min-height: 56px;
  padding-block: 12px;
  font-weight: 700;
}
.faq summary::-webkit-details-marker {
  display: none;
}
.faq summary::after {
  content: "";
  flex: none;
  width: 9px;
  height: 9px;
  border-right: 2px solid var(--ink-2);
  border-bottom: 2px solid var(--ink-2);
  transform: rotate(45deg);
  margin-right: 6px;
}
.faq details[open] summary::after {
  transform: rotate(-135deg);
}
.faq details p {
  padding-bottom: 18px;
  color: var(--ink-2);
  max-width: 42rem;
}

.card {
  max-width: 48rem;
  margin-left: max(16px, (100% - 72rem) / 2);
  margin-block: 24px;
  padding: clamp(22px, 4vw, 36px);
  background: var(--surface);
  border: 1px solid var(--line-soft);
  border-radius: 24px;
}
.card > p {
  margin-top: 10px;
  color: var(--ink-2);
}
.card.answer {
  margin-bottom: clamp(48px, 8vw, 96px);
}
form {
  margin-top: 24px;
  display: grid;
  gap: 10px;
}
fieldset {
  margin: 0 0 14px;
  padding: 0;
  border: 0;
}
legend,
.field-label {
  font-weight: 700;
  margin-bottom: 10px;
  padding: 0;
}
.choices {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.choice {
  position: relative;
}
.choice input {
  position: absolute;
  opacity: 0;
  inset: 0;
  margin: 0;
}
.choice span {
  display: inline-flex;
  align-items: center;
  min-height: 48px;
  padding-inline: 18px;
  border-radius: 999px;
  border: 1px solid var(--line);
  cursor: pointer;
}
.choice input:checked + span {
  background: var(--lagoon-subtle);
  border-color: var(--lagoon);
  color: var(--lagoon-text);
  font-weight: 700;
}
.choice input:focus-visible + span {
  outline: 3px solid var(--focus);
  outline-offset: 2px;
}
textarea {
  width: 100%;
  min-height: 10rem;
  padding: 14px 16px;
  font: inherit;
  color: var(--ink);
  background: var(--canvas);
  border: 1px solid var(--line-strong);
  border-radius: 16px;
  resize: vertical;
}
.hint {
  font-size: 0.9375rem;
  color: var(--ink-3);
}
.app-version {
  margin-top: 6px;
}
.check {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 48px;
  cursor: pointer;
}
.check input {
  width: 22px;
  height: 22px;
  accent-color: var(--lagoon);
}
.trap {
  position: absolute;
  left: -10000px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding-inline: 28px;
  border-radius: 999px;
  border: 1px solid var(--line-strong);
  background: transparent;
  color: var(--ink);
  font: inherit;
  font-weight: 700;
  text-decoration: none;
  cursor: pointer;
}
.button.primary {
  justify-self: start;
  margin-top: 12px;
  border: 0;
  background: var(--accent);
  color: var(--on-accent);
  font-size: 1.1875rem;
}
.button.primary:hover {
  background: var(--accent-pressed);
}

/* Results and the missing page. */
.result {
  max-width: 40rem;
  padding-block: clamp(56px, 10vw, 128px);
  margin-left: max(16px, (100% - 72rem) / 2);
  display: grid;
  gap: 20px;
  justify-items: start;
}
.language-list {
  list-style: none;
  margin: 12px 0 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 4px 16px;
}

/* The legal pages: one reading column. */
.doc {
  max-width: 44rem;
  margin-left: max(16px, (100% - 72rem) / 2);
  padding-block: clamp(40px, 7vw, 80px) clamp(56px, 9vw, 112px);
}
.doc .updated {
  margin-top: 12px;
  color: var(--ink-3);
  font-size: 0.9375rem;
}
.doc .note {
  margin-top: 20px;
  padding: 14px 18px;
  border-radius: 16px;
  background: var(--sun-subtle);
  color: var(--sun-text);
  font-size: 0.9375rem;
}
.doc h2 {
  margin-top: 48px;
  font-size: 1.4rem;
}
.doc h3 {
  margin-top: 28px;
}
.doc p,
.doc ul,
.doc ol {
  margin-top: 14px;
}
.doc ul,
.doc ol {
  padding-left: 1.3rem;
}
.doc li + li {
  margin-top: 8px;
}
.doc a {
  overflow-wrap: anywhere;
}

/* The footer. */
.foot {
  border-top: 1px solid var(--line-soft);
}
.foot .bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 8px 24px;
  padding-block: 24px 40px;
}
.foot ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 0 20px;
}
.foot ul a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  color: var(--ink-2);
  text-decoration: none;
}
.foot ul a:hover {
  color: var(--ink);
  text-decoration: underline;
}
