/* Text pages: about, rules, contact, install, privacy, terms, success */
.page {
  max-width: 800px;
  margin: 0 auto;
  padding: 108px 20px 104px;
}

.page-kicker {
  font-size: 15px;
  font-weight: 600;
  color: var(--red);
}
.page-title {
  margin-top: 10px;
  font-family: var(--font-heading);
  font-weight: 400;
  font-size: 64px;
  line-height: 0.86;
  overflow-wrap: break-word;
}
.page-intro {
  margin-top: 20px;
  max-width: 600px;
  font-size: 18px;
  line-height: 1.5;
  color: var(--ink-soft);
}
.page-meta {
  margin-top: 16px;
  font-size: 14px;
  color: var(--ink-soft);
}

.page-body { margin-top: 48px; }
.page-body h2,
.contact-form h2 {
  margin: 48px 0 12px;
  font-size: 22px;
  font-weight: 600;
  line-height: 1.2;
  letter-spacing: -0.02em;
}
.page-body h2:first-child { margin-top: 0; }
.page-body h3 {
  margin: 28px 0 8px;
  font-size: 17px;
  font-weight: 600;
}
.page-body p,
.page-body li {
  max-width: 640px;
  font-size: 16px;
  line-height: 1.65;
  color: var(--ink-soft);
}
.page-body p + p { margin-top: 12px; }
.page-body a:not([class]),
.page-intro a:not([class]) {
  color: var(--chocolate);
  text-decoration: underline;
  text-decoration-color: var(--red);
  text-decoration-thickness: 1.5px;
  text-underline-offset: 3px;
}
.page-body strong { font-weight: 600; color: var(--chocolate); }

.page-rule {
  height: 1px;
  margin: 56px 0;
  border: 0;
  background: rgba(69,48,46,0.14);
}

/* Numbered rows: a big Bebas number, a title, a line */
.page-rows { margin-top: 20px; border-top: 1px solid rgba(69,48,46,0.14); }
.page-rows > li {
  display: grid;
  grid-template-columns: 56px 1fr;
  gap: 4px 16px;
  padding: 20px 0;
  border-bottom: 1px solid rgba(69,48,46,0.14);
}
.page-rows .row-num {
  grid-row: 1 / span 2;
  font-family: var(--font-heading);
  font-size: 40px;
  line-height: 0.86;
  color: var(--red);
}
.page-rows .row-title { font-size: 17px; font-weight: 600; color: var(--chocolate); }
.page-rows .row-text { font-size: 15px; line-height: 1.55; }

/* Bulleted list with a short red dash */
.page-list > li {
  position: relative;
  padding-left: 22px;
}
.page-list > li + li { margin-top: 10px; }
.page-list > li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.8em;
  width: 10px;
  height: 2px;
  background: var(--red);
}

/* Dark block for the one thing to do next */
.page-callout {
  margin-top: 24px;
  padding: 32px 24px;
  border-radius: 4px;
  background: var(--chocolate);
  color: var(--snow);
}
.page-callout p { color: rgba(254,248,245,0.78); }
.page-callout .callout-big {
  display: inline-block;
  margin: 10px 0 24px;
  font-size: 22px;
  font-weight: 600;
  letter-spacing: -0.02em;
  color: var(--snow);
  text-decoration: none;
}
.page-callout .btn-split-label { background: var(--snow); color: var(--chocolate); }
.page-callout .btn-split:hover .btn-split-label { background: #fff; }

/* Forms */
.field { display: block; }
.field + .field { margin-top: 14px; }
.field-label {
  display: block;
  margin-bottom: 6px;
  font-size: 14px;
  font-weight: 600;
}
.input {
  width: 100%;
  height: 52px;
  padding: 0 14px;
  border: 0;
  border-radius: 3px;
  background: #fff;
  box-shadow: inset 0 0 0 1.5px var(--ink-line);
  font: 400 16px/1.4 var(--font-body);
  color: var(--chocolate);
  transition: box-shadow var(--ease-normal);
}
textarea.input { height: 160px; padding: 14px; resize: vertical; }
.input::placeholder { color: rgba(69,48,46,0.5); }
.input:focus { outline: none; box-shadow: inset 0 0 0 1.5px var(--chocolate); }
.input:focus-visible { outline: 2px solid var(--red); outline-offset: 3px; }

@media (min-width: 900px) {
  .page { padding: 152px 40px 136px; }
  .page-title { font-size: 104px; }
  .page-intro { font-size: 20px; }
  .page-callout { padding: 40px; }
}

/* Contact */
.contact-facts { border-top: 1px solid rgba(69,48,46,0.14); }
.contact-facts > div {
  display: grid;
  grid-template-columns: 110px 1fr;
  gap: 16px;
  padding: 18px 0;
  border-bottom: 1px solid rgba(69,48,46,0.14);
}
.contact-facts dt { font-size: 14px; font-weight: 600; color: var(--ink-soft); padding-top: 3px; }
.contact-facts dd { display: flex; flex-direction: column; gap: 2px; }
.contact-facts dd a,
.contact-facts dd strong { font-size: 18px; font-weight: 600; letter-spacing: -0.01em; color: var(--chocolate); }
.contact-facts dd span { font-size: 14px; color: var(--ink-soft); }
.contact-form { margin-top: 56px; max-width: 560px; }
.contact-form h2 { margin-bottom: 20px; }
.contact-send { margin-top: 24px; }

/* Short confirmation pages */
.page--center {
  min-height: calc(100svh - 120px);
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.page-cta { margin-top: 32px; align-self: flex-start; }

/* Install */
.install-platform + .install-platform { margin-top: 56px; }
.install-platform h2 { margin-top: 0; }
.platform-sub { font-weight: 500; color: var(--ink-soft); }
.install-privacy { margin-top: 64px; }
.install-privacy .install-privacy-title { margin: 0 0 16px; color: var(--snow); }
.install-privacy .page-list > li { color: rgba(254,248,245,0.82); }

.offline { min-height: 100svh; padding-top: 40px; padding-bottom: 40px; }

/* Desktop: the reading column is centred on the screen, not just the box around it */
@media (min-width: 900px) {
  .page { max-width: 680px; padding-top: 128px; }
}
