@font-face {
  font-family: "Bricolage Grotesque";
  font-style: normal;
  font-weight: 200 800;
  font-display: swap;
  src: url("/fonts/bricolage-latin.woff2") format("woff2");
  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: "Bricolage Grotesque";
  font-style: normal;
  font-weight: 200 800;
  font-display: swap;
  src: url("/fonts/bricolage-latin-ext.woff2") format("woff2");
  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 {
  --paper: #f7f8fc;
  --ink: #15173a;
  --ink-soft: #4a4e6e;
  --indigo: #4f46e5;
  --indigo-deep: #4338ca;
  --violet: #7c6cf7;
  --highlight: #c9d1ff;
  --night: #101030;
  --line: rgba(21, 23, 58, 0.12);
  --wash: #eceffd;
  --measure: 66ch;
  --page: 1120px;
  --gutter: clamp(20px, 5vw, 56px);
  color-scheme: light;
}

* {
  box-sizing: border-box;
}

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

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

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: "Bricolage Grotesque", system-ui, sans-serif;
  font-size: 18px;
  line-height: 1.6;
  font-optical-sizing: auto;
  text-rendering: optimizeLegibility;
}

::selection {
  background: var(--highlight);
  color: var(--ink);
}

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

a {
  color: var(--indigo);
  text-underline-offset: 0.18em;
  text-decoration-thickness: 1px;
}

a:hover {
  color: var(--indigo-deep);
}

:focus-visible {
  outline: 3px solid var(--violet);
  outline-offset: 3px;
  border-radius: 6px;
}

h1,
h2,
h3 {
  margin: 0;
  font-weight: 700;
  line-height: 1.08;
  letter-spacing: -0.02em;
  text-wrap: balance;
}

h2 {
  font-size: clamp(32px, 4.4vw, 50px);
}

h3 {
  font-size: 21px;
  line-height: 1.25;
  letter-spacing: -0.01em;
}

p {
  margin: 0;
  text-wrap: pretty;
}

kbd {
  display: inline-block;
  min-width: 1.9em;
  padding: 0.05em 0.45em;
  border: 1px solid currentColor;
  border-bottom-width: 2px;
  border-radius: 6px;
  font: inherit;
  font-size: 0.82em;
  font-weight: 600;
  line-height: 1.5;
  text-align: center;
}

.wrap {
  max-width: var(--page);
  margin: 0 auto;
  padding: 0 var(--gutter);
}

.skip {
  position: absolute;
  left: 12px;
  top: -60px;
  z-index: 10;
  padding: 8px 14px;
  border-radius: 8px;
  background: var(--paper);
  color: var(--ink);
}

.skip:focus {
  top: 12px;
}

/* ---------- Buttons ---------- */

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 48px;
  padding: 0 22px;
  border-radius: 12px;
  font-weight: 650;
  font-size: 17px;
  text-decoration: none;
  white-space: nowrap;
  transition: background-color 120ms, color 120ms;
}

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

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

.button-indigo {
  background: var(--indigo);
  color: #ffffff;
}

.button-indigo:hover {
  background: var(--indigo-deep);
  color: #ffffff;
}

.button-quiet {
  background: transparent;
  color: var(--ink);
  box-shadow: inset 0 0 0 1px var(--line);
}

.button-quiet:hover {
  background: var(--wash);
  color: var(--ink);
}

/* ---------- Navigation ---------- */

.nav {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  width: 100%;
  max-width: var(--page);
  margin: 0 auto;
  padding: 22px var(--gutter);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: inherit;
  font-weight: 700;
  font-size: 20px;
  letter-spacing: -0.01em;
  text-decoration: none;
}

.brand:hover {
  color: inherit;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 26px;
  font-size: 16px;
}

.nav-links a:not(.button) {
  color: inherit;
  text-decoration: none;
  opacity: 0.82;
}

.nav-links a:not(.button):hover {
  opacity: 1;
}

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

/* ---------- Hero ---------- */

.hero {
  position: relative;
  overflow: hidden;
  min-height: min(100svh, 860px);
  display: flex;
  flex-direction: column;
  color: #ffffff;
  background:
    radial-gradient(60% 70% at 78% 40%, rgba(124, 108, 247, 0.55), transparent 70%),
    radial-gradient(50% 60% at 60% 90%, rgba(79, 70, 229, 0.45), transparent 70%),
    var(--night);
}

.hero-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  transition: opacity 600ms ease-out;
}

.hero-canvas.is-live {
  opacity: 1;
}

@media (prefers-reduced-motion: reduce) {
  .hero-canvas {
    transition: none;
  }
}

.hero-body {
  position: relative;
  z-index: 1;
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  width: 100%;
  max-width: var(--page);
  margin: 0 auto;
  padding: 40px var(--gutter) 96px;
  pointer-events: none;
}

.hero-body a,
.hero-body kbd {
  pointer-events: auto;
}

.hero-title {
  max-width: 11ch;
  font-size: clamp(52px, 9.4vw, 116px);
  font-weight: 750;
  line-height: 1.02;
  letter-spacing: -0.035em;
  text-wrap: initial;
}

/* The headline is set as selected text, the way it looks right before you copy it. */
.hero-title .selected {
  background: var(--highlight);
  color: var(--ink);
  padding: 0 0.06em;
  box-decoration-break: clone;
  -webkit-box-decoration-break: clone;
}

.hero-lede {
  max-width: 34ch;
  margin-top: 30px;
  font-size: clamp(19px, 2vw, 23px);
  line-height: 1.45;
  color: rgba(255, 255, 255, 0.88);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 16px 22px;
  margin-top: 36px;
}

.hero-hint {
  color: rgba(255, 255, 255, 0.78);
  font-size: 16px;
}

.hero-hint kbd {
  margin: 0 1px;
  border-color: rgba(255, 255, 255, 0.55);
}

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

.section {
  padding: clamp(80px, 11vw, 140px) 0;
}

.section + .section {
  padding-top: 0;
}

.lede {
  max-width: var(--measure);
  margin-top: 20px;
  color: var(--ink-soft);
  font-size: 20px;
  line-height: 1.55;
}

.split {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  gap: clamp(32px, 6vw, 80px);
  align-items: center;
}

.shot {
  margin: 0;
}

.shot img {
  width: 100%;
  border-radius: 14px;
  box-shadow: 0 0 0 1px var(--line), 0 24px 60px -24px rgba(21, 23, 58, 0.35);
}

.shot figcaption {
  margin-top: 12px;
  color: var(--ink-soft);
  font-size: 15px;
}

.checks {
  display: grid;
  gap: 10px;
  margin: 28px 0 0;
  padding: 0;
  list-style: none;
}

.checks li {
  position: relative;
  padding-left: 30px;
}

.checks li::before {
  content: "";
  position: absolute;
  left: 2px;
  top: 0.42em;
  width: 16px;
  height: 9px;
  border-left: 2.5px solid var(--indigo);
  border-bottom: 2.5px solid var(--indigo);
  transform: rotate(-45deg);
}

.gallery {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(16px, 2.4vw, 28px);
  margin-top: 48px;
}

/* ---------- Privacy ---------- */

.privacy {
  background: var(--wash);
}

.section.privacy {
  padding-top: clamp(80px, 11vw, 140px);
}

.facts {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 36px clamp(32px, 6vw, 80px);
  margin: 56px 0 0;
}

.facts dt {
  font-weight: 700;
  font-size: 21px;
  letter-spacing: -0.01em;
}

.facts dd {
  margin: 6px 0 0;
  max-width: 42ch;
  color: var(--ink-soft);
}

.section.privacy + .section {
  padding-top: clamp(80px, 11vw, 140px);
}

/* ---------- Pricing ---------- */

.pricing h2 {
  text-align: center;
}

.plans {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
  max-width: 880px;
  margin: 48px auto 0;
}

.plan {
  display: flex;
  flex-direction: column;
  padding: 32px;
  border-radius: 20px;
  background: #ffffff;
  box-shadow: inset 0 0 0 1px var(--line);
}

.plan-pro {
  box-shadow: inset 0 0 0 2px var(--indigo);
}

.price {
  margin-top: 10px;
  font-size: 52px;
  font-weight: 750;
  line-height: 1;
  letter-spacing: -0.03em;
}

.price small {
  margin-left: 6px;
  color: var(--ink-soft);
  font-size: 18px;
  font-weight: 500;
  letter-spacing: 0;
}

.plan .checks {
  flex: 1;
  align-content: start;
  margin: 26px 0 30px;
}

.plan .button {
  align-self: flex-start;
}

.fine {
  max-width: var(--measure);
  margin: 24px auto 0;
  text-align: center;
  color: var(--ink-soft);
  font-size: 16px;
}

/* ---------- Steps ---------- */

.steps {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(24px, 4vw, 48px);
  margin: 48px 0 0;
  padding: 0;
  list-style: none;
  counter-reset: step;
}

.steps li {
  counter-increment: step;
  padding-top: 22px;
  border-top: 2px solid var(--ink);
}

.steps li::before {
  content: counter(step);
  display: block;
  margin-bottom: 14px;
  color: var(--indigo);
  font-size: 44px;
  font-weight: 750;
  line-height: 1;
}

.steps p {
  margin-top: 8px;
  color: var(--ink-soft);
}

/* ---------- FAQ ---------- */

.faq {
  max-width: 820px;
  margin-top: 40px;
  border-top: 1px solid var(--line);
}

.faq details {
  border-bottom: 1px solid var(--line);
}

.faq summary {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  padding: 22px 0;
  font-size: 20px;
  font-weight: 650;
  cursor: pointer;
  list-style: none;
}

.faq summary::-webkit-details-marker {
  display: none;
}

.faq summary::after {
  content: "+";
  flex: none;
  color: var(--indigo);
  font-weight: 500;
  font-size: 26px;
  line-height: 1;
}

.faq details[open] summary::after {
  content: "\2212";
}

.faq details p {
  max-width: var(--measure);
  padding-bottom: 24px;
  color: var(--ink-soft);
}

/* ---------- Footer ---------- */

.footer {
  padding: 48px 0 56px;
  border-top: 1px solid var(--line);
  color: var(--ink-soft);
  font-size: 15px;
}

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

.footer nav {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 24px;
}

.footer a {
  color: inherit;
}

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

/* ---------- Legal pages ---------- */

.page-nav {
  border-bottom: 1px solid var(--line);
}

.legal {
  max-width: calc(var(--measure) + 2 * var(--gutter));
  margin: 0 auto;
  padding: clamp(56px, 8vw, 96px) var(--gutter);
}

.legal h1 {
  font-size: clamp(40px, 6vw, 60px);
}

.legal .updated {
  margin-top: 14px;
  color: var(--ink-soft);
}

.legal h2 {
  margin-top: 48px;
  font-size: 26px;
  line-height: 1.2;
}

.legal p,
.legal ul {
  margin-top: 14px;
  line-height: 1.7;
}

.legal ul {
  padding-left: 22px;
}

.legal li + li {
  margin-top: 8px;
}

/* ---------- Small screens ---------- */

@media (max-width: 900px) {
  .split,
  .facts,
  .plans,
  .steps {
    grid-template-columns: minmax(0, 1fr);
  }

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

  .split .shot {
    order: 2;
  }
}

@media (max-width: 560px) {
  body {
    font-size: 17px;
  }

  .nav-links a:not(.button) {
    display: none;
  }

  .hero-body {
    padding-bottom: 64px;
  }

  .plan {
    padding: 24px;
  }
}
