/* Public site: /, /en, the privacy pages and the notices.
   System faces only; nothing is fetched from another origin. */

:root {
  --paper: #f4f1eb;
  --paper-2: #ebe5da;
  --bubble: #e5dfd3;
  --ink: #1e1b18;
  --ink-2: #57514a;
  --ink-3: #6b645b;
  --line: #dbd4c8;
  --line-2: #c5bdae;
  --field: #8a8276;
  /* One accent, a lacquer oxblood, for the call to action and the missed call. */
  --accent: #7d2530;
  --accent-deep: #611b25;
  /* Money only. */
  --green: #1f6a3d;
  --error: #b3261e;
  --night: #1e1b18;
  --night-ink: #f4f1eb;
  --night-ink-2: #b9b1a5;
  --night-line: rgba(244, 241, 235, 0.18);

  --sans: -apple-system, BlinkMacSystemFont, "Segoe UI Variable Text", "Segoe UI", Roboto,
    "Helvetica Neue", Arial, sans-serif;
  /* Three optical sizes of the same system serif. Apple has Iowan Old Style;
     Windows has Sitka, whose Text, Heading and Display cuts are drawn for
     reading, small-heading and large sizes; elsewhere Charter or Georgia. */
  --serif: "Iowan Old Style", "Charter", "Bitstream Charter", "Sitka Text", Georgia, "Noto Serif",
    serif;
  --serif-head: "Iowan Old Style", "Charter", "Bitstream Charter", "Sitka Heading", Georgia,
    "Noto Serif", serif;
  --serif-display: "Iowan Old Style", "Charter", "Bitstream Charter", "Sitka Display",
    "Sitka Heading", Georgia, "Noto Serif", serif;

  --wrap: 76rem;
  --gutter: clamp(1.25rem, 4.5vw, 3.5rem);
  --gap: clamp(1rem, 2.2vw, 2rem);
  --radius: 4px;
  --ease: cubic-bezier(0.2, 0.7, 0.2, 1);
  color-scheme: light;
}

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

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

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font: 400 1.0625rem/1.6 var(--sans);
  font-kerning: normal;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  hanging-punctuation: first allow-end last;
}

a {
  color: inherit;
  text-decoration-line: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 0.22em;
  text-decoration-color: var(--line-2);
  transition: text-decoration-color 0.15s var(--ease), color 0.15s var(--ease);
}
a:hover {
  text-decoration-color: currentColor;
}

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

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

p {
  margin: 0 0 1em;
}

h1,
h2,
h3 {
  margin: 0;
  font-weight: 400;
}

h1,
h2 {
  font-family: var(--serif-display);
  text-wrap: balance;
}

h3 {
  font: 600 1.125rem/1.35 var(--sans);
  letter-spacing: -0.01em;
}

.num {
  font-variant-numeric: tabular-nums;
}
.nw {
  white-space: nowrap;
}

.vh {
  position: absolute !important;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
  clip-path: inset(50%);
  white-space: nowrap;
  border: 0;
}

.skip {
  position: absolute;
  left: var(--gutter);
  top: 0.75rem;
  z-index: 10;
  padding: 0.75rem 1rem;
  border-radius: var(--radius);
  background: var(--ink);
  color: var(--paper);
  font-weight: 600;
  text-decoration: none;
  transform: translateY(-200%);
}
.skip:focus {
  transform: none;
}

.wrap {
  width: 100%;
  max-width: calc(var(--wrap) + 2 * var(--gutter));
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.grid12 {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  column-gap: var(--gap);
}

/* ---------- Buttons and links ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.65em;
  min-height: 3.25rem;
  padding: 0.85rem 1.4rem;
  border: 1px solid transparent;
  border-radius: var(--radius);
  font: 600 1rem/1.2 var(--sans);
  letter-spacing: -0.005em;
  text-decoration: none;
  cursor: pointer;
  transition: background-color 0.15s var(--ease), transform 0.15s var(--ease);
}
.btn:active {
  transform: translateY(1px);
}
.btn-primary {
  background: var(--accent);
  color: #fff;
}
.btn-primary:hover {
  background: var(--accent-deep);
}
.btn .arrow {
  transition: transform 0.2s var(--ease);
}
.btn:hover .arrow {
  transform: translateX(3px);
}
.btn[disabled] {
  opacity: 0.75;
  cursor: progress;
}

.text-link {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  font-weight: 500;
}

/* ---------- Header and lockup ---------- */

.site-header {
  border-bottom: 1px solid var(--line);
}
.header-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: 4.5rem;
}

.lockup {
  display: inline-flex;
  align-items: baseline;
  gap: 0.85rem;
  padding-block: 0.7rem;
  color: var(--ink);
  text-decoration: none;
}
.wordmark {
  font: 400 1.5rem/1 var(--serif-head);
  letter-spacing: -0.012em;
}
.byline {
  padding-left: 0.85rem;
  border-left: 1px solid var(--line-2);
  font: 400 0.75rem/1.1 var(--sans);
  letter-spacing: 0.01em;
  white-space: nowrap;
  color: var(--ink-3);
}

.nav {
  display: flex;
  align-items: center;
}
.nav-sections {
  display: flex;
  margin: 0 0.5rem 0 0;
  padding: 0;
  list-style: none;
}
.nav a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 0 0.75rem;
  font-size: 0.9375rem;
  color: var(--ink-2);
  text-decoration: none;
}
.nav a:hover {
  color: var(--ink);
}
.nav .lang {
  min-width: 44px;
  justify-content: center;
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  color: var(--ink);
}
.nav .lang-word {
  font-size: 0.9375rem;
  font-weight: 500;
  letter-spacing: 0;
}
.nav .nav-cta {
  margin-left: 0.25rem;
  padding-right: 0;
  font-weight: 600;
  color: var(--ink);
  text-decoration: underline;
  text-decoration-color: var(--line-2);
  text-underline-offset: 0.3em;
}
.nav .nav-cta:hover {
  text-decoration-color: currentColor;
}
.cta-short {
  display: none;
}

@media (max-width: 900px) {
  .nav-sections {
    display: none;
  }
}
@media (max-width: 560px) {
  .header-bar {
    min-height: 4rem;
  }
  .lockup {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.35rem;
  }
  .wordmark {
    font-size: 1.3125rem;
  }
  .byline {
    padding-left: 0;
    border-left: 0;
    font-size: 0.6875rem;
  }
  .cta-full {
    display: none;
  }
  .cta-short {
    display: inline;
  }
}

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

.hero {
  padding-block: clamp(3rem, 6.5vw, 5.75rem) clamp(4.5rem, 8vw, 7rem);
}
.hero-grid {
  row-gap: 3rem;
  align-items: start;
}
.hero-copy {
  grid-column: 1 / span 7;
}

.surtitle {
  display: flex;
  gap: 0.85rem;
  margin: 0 0 1.75rem;
  font: 500 0.9375rem/1.35 var(--sans);
  color: var(--ink-2);
  text-wrap: balance;
}
.surtitle::before {
  content: "";
  flex: none;
  margin-top: 0.67em;
  width: 1.75rem;
  height: 1px;
  background: currentColor;
}

h1 {
  margin: 0 0 2rem;
  font-size: clamp(2.75rem, 1.1rem + 5.4vw, 5.75rem);
  line-height: 0.98;
  letter-spacing: -0.024em;
}
h1 > span,
h1 > em {
  display: block;
}
h1 > em {
  font-style: italic;
  letter-spacing: -0.015em;
}

.lede {
  max-width: 30em;
  margin: 0 0 2.5rem;
  font-size: clamp(1.125rem, 1.02rem + 0.35vw, 1.3125rem);
  line-height: 1.55;
  color: var(--ink-2);
  text-wrap: pretty;
}

.actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem 1.75rem;
}

/* The live demo line, when there is one. */
.call {
  display: grid;
  justify-items: start;
  gap: 0.9rem;
  margin-bottom: 0.5rem;
}
.btn-call {
  min-height: 4rem;
  padding: 0.9rem 1.5rem;
  gap: 1rem;
  font-size: 1.125rem;
}
.call-label {
  padding-right: 1rem;
  border-right: 1px solid rgba(255, 255, 255, 0.35);
}
.call-number {
  font-size: 1.375rem;
  letter-spacing: 0.01em;
}
.call-note {
  max-width: 28rem;
  margin: 0;
  font-size: 0.9375rem;
  color: var(--ink-2);
  text-wrap: pretty;
}

/* ---------- The story: missed call, booked ---------- */

.story {
  grid-column: 8 / span 5;
  margin: 0;
}
.story-cap {
  max-width: 25em;
  margin: 0 0 1rem;
  font: italic 400 1.0625rem/1.45 var(--serif);
  color: var(--ink);
  text-wrap: pretty;
}
.thread {
  display: grid;
  gap: 0.4rem;
  margin: 0;
  padding: 1rem 0 1.4rem;
  list-style: none;
  border-top: 1px solid var(--ink);
}
.thread time {
  font-size: 0.75rem;
  line-height: 1.2;
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
  color: var(--ink-3);
}
.msg {
  display: grid;
  justify-items: start;
}
.msg-salon {
  justify-items: end;
}
.msg time {
  margin: 0.55rem 0.4rem 0.3rem;
}
.bubble {
  max-width: 84%;
  margin: 0;
  padding: 0.55rem 0.85rem 0.6rem;
  border-radius: 18px;
  font-size: 0.9375rem;
  line-height: 1.42;
}
.msg-client .bubble {
  border-bottom-left-radius: 6px;
  background: var(--bubble);
}
.msg-salon .bubble {
  border-bottom-right-radius: 6px;
  background: var(--ink);
  color: var(--night-ink);
}
.event p {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.2rem 0.55rem;
  margin: 0;
  padding: 0.3rem 0;
  font-size: 0.875rem;
  line-height: 1.35;
}
.event time {
  margin-left: auto;
}
.event strong {
  font-weight: 600;
}
.event-meta {
  color: var(--ink-2);
}
.event-booked {
  margin-top: 0.6rem;
}
.event-booked strong {
  color: var(--green);
}
.glyph {
  display: block;
  flex: none;
  width: 1rem;
  height: 1rem;
  fill: var(--accent);
}
.check {
  position: relative;
  flex: none;
  width: 1.1rem;
  height: 1.1rem;
  border-radius: 50%;
  background: var(--green);
}
.check::after {
  content: "";
  position: absolute;
  left: 0.39rem;
  top: 0.22rem;
  width: 0.28rem;
  height: 0.5rem;
  border: solid #fff;
  border-width: 0 1.5px 1.5px 0;
  transform: rotate(45deg);
}
.story-total {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1.25rem;
  margin: 0;
  padding: 1.25rem 0 0.5rem;
  border-top: 1px solid var(--line-2);
}
.total-label {
  max-width: 16.5rem;
  padding-bottom: 0.2rem;
  font-size: 0.9375rem;
  line-height: 1.45;
  color: var(--ink-2);
  text-wrap: pretty;
}
.total-label strong {
  display: block;
  font-weight: 600;
  color: var(--ink);
}
.amount {
  font: 400 clamp(3.75rem, 2.4rem + 3.8vw, 6rem)/0.8 var(--serif-display);
  letter-spacing: -0.035em;
  font-variant-numeric: lining-nums tabular-nums;
  white-space: nowrap;
  color: var(--green);
}
/* The plus is set small and raised, and kerned tight against the figure so
   "+55 $" reads as one amount, not two tokens. */
.sign {
  margin-right: -0.02em;
  font: 400 0.62em/1 var(--serif-display);
  letter-spacing: 0;
  vertical-align: 0.34em;
}

@media (min-width: 1001px) {
  .story {
    padding-top: 0.1rem;
  }
}
@media (max-width: 1000px) {
  .hero-copy,
  .story {
    grid-column: 1 / -1;
  }
  .story {
    max-width: 34rem;
  }
}
/* On a tablet the story steps in from the right, under the headline,
   instead of leaving the right side of the screen empty. */
@media (min-width: 761px) and (max-width: 1000px) {
  .story {
    grid-column: 4 / -1;
    max-width: none;
  }
}
@media (max-width: 640px) {
  .hero {
    padding-block: 1.75rem 3.5rem;
  }
  .surtitle {
    margin-bottom: 1.1rem;
  }
  h1 {
    margin-bottom: 1.1rem;
  }
  .lede {
    margin-bottom: 1.5rem;
    font-size: 1.0625rem;
    line-height: 1.5;
  }
  .hero-grid {
    row-gap: 2.25rem;
  }
  /* On a phone the story itself is the way down: it shows right under the button. */
  .hero-more {
    display: none;
  }
  .story {
    max-width: none;
  }
  .total-label {
    max-width: none;
  }
  .total-label strong {
    white-space: nowrap;
  }
}
@media (max-width: 480px) {
  .btn-call {
    width: 100%;
  }
  /* On a phone the total reads like the bottom of a receipt: the line first,
     then the amount on its own, bottom right, where the story ends. */
  .story-total {
    flex-direction: column;
    align-items: stretch;
    gap: 0.75rem;
  }
  .amount {
    align-self: flex-end;
  }
}

/* The conversation arrives the way it happened, once, when JS asks for it.
   Without JS, or with reduced motion, it simply shows its final state. */
@media (prefers-reduced-motion: no-preference) {
  html {
    scroll-behavior: smooth;
  }
  .story-armed .thread > li,
  .story-armed .story-total {
    opacity: 0;
  }
  .story-play .thread > li,
  .story-play .story-total {
    animation: arrive 0.4s var(--ease) both;
  }
  .story-play .thread > li:nth-child(2) {
    animation-delay: 0.35s;
  }
  .story-play .thread > li:nth-child(3) {
    animation-delay: 0.8s;
  }
  .story-play .thread > li:nth-child(4) {
    animation-delay: 1.2s;
  }
  .story-play .thread > li:nth-child(5) {
    animation-delay: 1.6s;
  }
  .story-play .thread > li:nth-child(6) {
    animation-delay: 1.95s;
  }
  .story-play .story-total {
    animation-delay: 2.3s;
  }
}
@keyframes arrive {
  from {
    opacity: 0;
    transform: translateY(6px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

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

h2 {
  margin: 0 0 1.5rem;
  font-size: clamp(2.25rem, 1.35rem + 3vw, 3.75rem);
  line-height: 1.02;
  letter-spacing: -0.02em;
}

.week {
  border-top: 1px solid var(--line);
}

/* A week at the salon: a timetable, times in the margin */
.week {
  padding-block: clamp(4.5rem, 9vw, 8rem) clamp(4rem, 7vw, 6rem);
}
.week-head {
  align-items: end;
  row-gap: 1.25rem;
  margin-bottom: clamp(2.5rem, 5vw, 3.75rem);
}
.week-head h2 {
  grid-column: 1 / span 7;
  margin: 0;
}
.week-intro {
  grid-column: 9 / span 4;
  max-width: 22em;
  margin: 0;
  font-size: 0.9375rem;
  color: var(--ink-2);
}
.days {
  margin: 0;
  padding: 0;
  list-style: none;
  border-top: 1px solid var(--ink);
}
.days > li {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  column-gap: var(--gap);
  align-items: baseline;
  padding: 1.3rem 0 1.45rem;
  border-bottom: 1px solid var(--line);
}
.when {
  grid-column: 1 / span 3;
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  margin: 0;
}
.when-time {
  font: 400 clamp(1.75rem, 1.2rem + 1.3vw, 2.3rem)/1 var(--serif-display);
  letter-spacing: -0.015em;
  font-variant-numeric: lining-nums tabular-nums;
  white-space: nowrap;
}
.when-day {
  font-size: 0.8125rem;
  font-weight: 500;
  color: var(--ink-3);
}
.day-text {
  grid-column: 4 / span 7;
  max-width: 34em;
  margin: 0;
  font-size: 1.125rem;
  line-height: 1.5;
  text-wrap: pretty;
}
.day-tag {
  margin: 0;
  font-size: 0.75rem;
  line-height: 1.4;
  letter-spacing: 0.01em;
  color: var(--ink-3);
}
/* The tag sits under the day, in the time margin, so each row reads as a
   moment rather than a line in a table. */
@media (min-width: 861px) {
  /* The first row is only as tall as the time and the day, so the tag stays
     right under them however long the sentence runs. */
  .days > li {
    grid-template-rows: auto 1fr;
  }
  .when {
    grid-row: 1;
  }
  .day-text {
    grid-row: 1 / span 2;
  }
  .day-tag {
    grid-column: 1 / span 3;
    grid-row: 2;
    margin-top: 0.35rem;
  }
}
/* One moment of the week gets more room: the cancelled slot that fills
   itself. */
.days > li.day-key {
  padding-block: 2.2rem;
}
.day-key .day-text {
  font: 400 1.375rem/1.4 var(--serif);
  letter-spacing: -0.005em;
}
.week-note {
  margin: 1.5rem 0 0;
  font-size: 0.875rem;
  color: var(--ink-3);
}
@media (max-width: 860px) {
  .week-head h2,
  .week-intro {
    grid-column: 1 / -1;
  }
  .days > li {
    grid-template-columns: minmax(0, 1fr);
    row-gap: 0.5rem;
  }
  .when {
    grid-column: 1;
    flex-direction: row;
    align-items: baseline;
    gap: 0.75rem;
  }
  .day-text,
  .day-tag {
    grid-column: 1;
  }
  .day-tag {
    text-align: left;
  }
  .days > li.day-key {
    padding-block: 1.8rem;
  }
  .day-key .day-text {
    font-size: 1.25rem;
  }
}

/* Founding members: a letter on the dark ground, the terms as side notes */
.offer {
  padding-block: clamp(5rem, 11vw, 9.5rem);
  background: var(--night);
  color: var(--night-ink);
}
.offer ::selection {
  background: #5a2a30;
  color: var(--night-ink);
}
.offer :focus-visible {
  outline-color: var(--night-ink);
}
.offer-grid {
  align-items: start;
  row-gap: 2rem;
}
.seats {
  grid-column: 1 / span 2;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.6rem;
  margin: 0;
}
.seats-num {
  font: 400 clamp(4.5rem, 2.5rem + 6vw, 9rem)/0.8 var(--serif-display);
  letter-spacing: -0.045em;
  font-variant-numeric: lining-nums;
}
.seats-label {
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--night-ink-2);
}
.letter {
  grid-column: 3 / span 6;
}
.letter h2 {
  margin-bottom: 1.75rem;
}
.letter p {
  max-width: 33em;
  color: #e4ded3;
  text-wrap: pretty;
}
.letter p strong {
  font-weight: 600;
  color: var(--night-ink);
}
.letter .letter-note {
  margin-bottom: 2.25rem;
  font-size: 0.9375rem;
  color: var(--night-ink-2);
}
.offer .btn-primary {
  background: var(--night-ink);
  color: var(--ink);
}
.offer .btn-primary:hover {
  background: #fff;
}
.terms {
  grid-column: 10 / span 3;
  margin: 0.6rem 0 0;
  padding-left: 1.5rem;
  border-left: 1px solid var(--night-line);
}
.terms > div + div {
  margin-top: 1.6rem;
}
.terms dt {
  margin: 0 0 0.3rem;
  font: italic 400 1.0625rem/1.3 var(--serif);
  color: var(--night-ink);
}
.terms dd {
  margin: 0;
  font-size: 0.9375rem;
  line-height: 1.5;
  color: var(--night-ink-2);
}
.price-amount {
  display: block;
  margin: 0.35rem 0 0.45rem;
  font: 400 2.75rem/1 var(--serif-display);
  letter-spacing: -0.025em;
  font-variant-numeric: lining-nums tabular-nums;
  color: var(--night-ink);
}
@media (max-width: 1000px) {
  .seats {
    grid-column: 1 / -1;
    flex-direction: row;
    align-items: baseline;
    gap: 0.9rem;
  }
  .letter {
    grid-column: 1 / span 12;
  }
  .terms {
    grid-column: 1 / -1;
    width: 100%;
    max-width: 36rem;
    margin-top: 1rem;
  }
}

/* Questions: the heading holds the left margin, the answers read down one column */
.faq {
  padding-block: clamp(4.5rem, 9vw, 7.5rem);
}
.faq-grid {
  align-items: start;
  row-gap: 2.5rem;
}
.faq-head {
  grid-column: 1 / span 4;
  position: sticky;
  top: 2.5rem;
}
.faq h2 {
  max-width: 8em;
  margin: 0;
  font-size: clamp(2.25rem, 1.5rem + 2.2vw, 3.25rem);
}
.qa {
  grid-column: 6 / span 7;
  padding-top: 0.5rem;
}
.qa-item + .qa-item {
  margin-top: 2.6rem;
}
.qa h3 {
  margin: 0 0 0.6rem;
  font: 400 1.5rem/1.25 var(--serif-head);
  letter-spacing: -0.012em;
  text-wrap: balance;
}
.qa-item p {
  max-width: 34em;
  margin: 0;
  color: var(--ink-2);
  text-wrap: pretty;
}
.privacy-note {
  max-width: 36em;
  margin: 4rem 0 0;
  font-size: 0.9375rem;
  line-height: 1.6;
  color: var(--ink-2);
  text-wrap: pretty;
}
.privacy-note::before {
  content: "";
  display: block;
  width: 1.75rem;
  height: 1px;
  margin-bottom: 1.25rem;
  background: var(--ink);
}
.privacy-note strong {
  font-weight: 600;
  color: var(--ink);
}
@media (max-width: 860px) {
  .faq-head,
  .qa {
    grid-column: 1 / -1;
  }
  .faq-head {
    position: static;
  }
  .faq h2 {
    max-width: 11em;
  }
  .qa {
    padding-top: 0;
  }
  .qa h3 {
    font-size: 1.375rem;
  }
}

/* The demo request */
.request {
  padding-block: clamp(4.5rem, 9vw, 7.5rem);
  background: var(--paper-2);
}
.request-head {
  margin-bottom: clamp(2.5rem, 5vw, 3.5rem);
}
.kicker {
  margin: 0 0 1rem;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--ink-2);
}
.request-head h2 {
  max-width: 13em;
}
.request-intro {
  max-width: 32em;
  margin: 0;
  color: var(--ink-2);
}
.request-call {
  max-width: 32em;
  margin: 1.25rem 0 0;
}
.request-body {
  align-items: start;
  row-gap: 2.5rem;
}
.form {
  grid-column: 1 / span 7;
  position: relative;
}
.form-aside {
  grid-column: 9 / span 4;
  padding-left: 1.5rem;
  border-left: 1px solid var(--line-2);
  font-size: 0.9375rem;
  color: var(--ink-2);
}
.form-aside p:last-child {
  margin-bottom: 0;
}
/* Once the request is in, the confirmation speaks alone. */
.request.is-done .request-intro,
.request.is-done .request-call,
.request.is-done .form-aside {
  display: none;
}
.form-aside h3 {
  margin: 0 0 0.6rem;
  font-size: 0.9375rem;
  color: var(--ink);
}
@media (max-width: 1000px) {
  .form,
  .form-aside {
    grid-column: 1 / -1;
    max-width: 40rem;
  }
}

.pair {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  column-gap: 1rem;
}
.field {
  display: grid;
  align-content: start;
  gap: 0.45rem;
  margin-bottom: 1.25rem;
}
.field label,
.field-group legend {
  font-size: 0.9375rem;
  font-weight: 600;
  line-height: 1.3;
}
.opt {
  font-weight: 400;
  color: var(--ink-2);
}
.field-group {
  min-width: 0;
  margin: 0 0 0.25rem;
  padding: 1.25rem 0 0;
  border: 0;
  border-top: 1px solid var(--line-2);
}
.field-group legend {
  float: left;
  width: 100%;
  margin: 0 0 0.2rem;
  padding: 0;
}
.hint {
  clear: both;
  margin: 0 0 0.9rem;
  font-size: 0.875rem;
  line-height: 1.45;
  color: var(--ink-2);
}
.field .hint {
  margin: 0;
}
.field-group > .error {
  margin: -0.5rem 0 1.25rem;
}
input[type="text"],
input[type="tel"],
input[type="email"],
textarea {
  width: 100%;
  min-height: 3rem;
  margin: 0;
  padding: 0.75rem 0.9rem;
  border: 1px solid var(--field);
  border-radius: var(--radius);
  background: #fff;
  color: var(--ink);
  font: 400 1rem/1.4 var(--sans);
  appearance: none;
  transition: border-color 0.15s var(--ease), box-shadow 0.15s var(--ease);
}
textarea {
  min-height: 7.5rem;
  resize: vertical;
}
input:hover,
textarea:hover {
  border-color: var(--ink-2);
}
input:focus-visible,
textarea:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 1px;
  border-color: var(--ink);
  border-radius: var(--radius);
}
[aria-invalid="true"] {
  border-color: var(--error) !important;
  box-shadow: inset 0 0 0 1px var(--error);
}
.error {
  margin: 0;
  font-size: 0.875rem;
  font-weight: 500;
  line-height: 1.4;
  color: var(--error);
}
.consent-wrap {
  padding-top: 1.25rem;
  border-top: 1px solid var(--line-2);
}
.consent {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 0.85rem;
  align-items: start;
  font-size: 0.9375rem;
  line-height: 1.5;
  cursor: pointer;
}
.consent input {
  width: 1.5rem;
  height: 1.5rem;
  margin: 0;
  accent-color: var(--ink);
  cursor: pointer;
}
.consent-note,
.consent-wrap .error {
  margin: 0.5rem 0 0 2.35rem;
}
.consent-note {
  font-size: 0.8125rem;
  line-height: 1.5;
  color: var(--ink-2);
}
.hp {
  position: absolute;
  left: -10000px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}
.form-status {
  margin: 0;
  font-size: 0.9375rem;
  font-weight: 600;
  color: var(--error);
}
.form-status:not(:empty) {
  margin-top: 1.5rem;
}
.form-foot {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.75rem 1.25rem;
  margin-top: 1.5rem;
}
.form-note {
  max-width: 22rem;
  margin: 0;
  font-size: 0.8125rem;
  line-height: 1.45;
  color: var(--ink-2);
}
.sent:focus {
  outline: none;
}
.sent-title {
  margin: 0 0 0.75rem;
  font: 400 clamp(2.25rem, 1.6rem + 2vw, 3.25rem)/1.05 var(--serif-display);
  letter-spacing: -0.02em;
}
.sent p:not(.sent-title) {
  max-width: 30em;
  color: var(--ink-2);
}
.form.is-sent {
  display: grid;
  align-content: start;
  padding-top: 2.5rem;
  border-top: 1px solid var(--ink);
}
.form.is-sent > :not(.sent) {
  display: none;
}
@media (max-width: 560px) {
  .pair {
    grid-template-columns: minmax(0, 1fr);
  }
}

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

.site-footer {
  padding-block: clamp(3.5rem, 7vw, 5.5rem) 2rem;
  background: var(--night);
  color: var(--night-ink-2);
  font-size: 0.9375rem;
}
.site-footer a {
  color: var(--night-ink);
  text-decoration-color: var(--night-line);
}
.site-footer a:hover {
  text-decoration-color: currentColor;
}
.site-footer :focus-visible {
  outline-color: var(--night-ink);
}
.footer-grid {
  row-gap: 2.5rem;
  align-items: start;
}
.footer-brand {
  grid-column: 1 / span 7;
}
.site-footer .lockup {
  flex-direction: column;
  align-items: flex-start;
  gap: 0.7rem;
  padding: 0;
  color: var(--night-ink);
}
.site-footer .wordmark {
  font-family: var(--serif-display);
  font-size: clamp(2.5rem, 1.8rem + 2.4vw, 3.75rem);
  letter-spacing: -0.025em;
}
.site-footer .byline {
  padding-left: 0;
  border-left: 0;
  font-size: 0.8125rem;
  color: var(--night-ink-2);
}
.footer-desc {
  max-width: 24em;
  margin: 1.75rem 0 0;
}
.footer-links {
  grid-column: 9 / span 4;
  display: grid;
  margin: 0;
  padding: 0;
  list-style: none;
}
.footer-links li {
  border-top: 1px solid var(--night-line);
}
.footer-links a {
  display: flex;
  align-items: center;
  min-height: 48px;
  text-decoration: none;
}
.footer-links a:hover {
  text-decoration: underline;
}
.footer-base {
  grid-column: 1 / -1;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 0.5rem 1.5rem;
  margin: 1.5rem 0 0;
  padding-top: 1.5rem;
  border-top: 1px solid var(--night-line);
  font-size: 0.8125rem;
  font-variant-numeric: tabular-nums;
}
@media (max-width: 760px) {
  .footer-brand,
  .footer-links {
    grid-column: 1 / -1;
  }
}

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

.doc {
  padding-block: clamp(3rem, 7vw, 5.5rem) clamp(4.5rem, 9vw, 7.5rem);
}
.doc-header {
  grid-column: 1 / span 8;
  margin-bottom: clamp(2.5rem, 5vw, 4rem);
}
.doc-status {
  margin: 0 0 1.5rem;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--accent);
}
.doc h1 {
  margin-bottom: 1rem;
  font-size: clamp(2.4rem, 1.6rem + 3vw, 4rem);
  line-height: 1.02;
}
.doc-meta {
  margin: 0 0 1.5rem;
  font-size: 0.9375rem;
  color: var(--ink-2);
}
.doc-header .lede {
  margin: 0;
}
.doc-toc {
  grid-column: 1 / span 3;
  align-self: start;
  position: sticky;
  top: 2rem;
  font-size: 0.875rem;
}
.doc-toc p {
  margin: 0 0 0.75rem;
  font-weight: 600;
}
.doc-toc ol {
  margin: 0;
  padding: 0;
  list-style: none;
  border-top: 1px solid var(--ink);
  counter-reset: toc;
}
.doc-toc li {
  border-bottom: 1px solid var(--line);
  counter-increment: toc;
}
.doc-toc a {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  min-height: 44px;
  padding: 0.35rem 0;
  color: var(--ink-2);
  text-decoration: none;
}
.doc-toc a::before {
  content: counter(toc, decimal-leading-zero);
  flex: none;
  width: 1.4rem;
  font-size: 0.75rem;
  font-variant-numeric: tabular-nums;
  color: var(--ink-3);
}
.doc-toc a:hover {
  color: var(--ink);
}
.doc-body {
  grid-column: 5 / span 8;
  max-width: 42rem;
}
.doc-body section {
  margin-bottom: 2.75rem;
  padding-bottom: 2.75rem;
  border-bottom: 1px solid var(--line);
  scroll-margin-top: 2rem;
}
.doc-body section:last-child {
  border-bottom: 0;
}
.doc-body h2 {
  margin-bottom: 1.1rem;
  font-size: clamp(1.6rem, 1.3rem + 1vw, 2.1rem);
  line-height: 1.15;
}
.doc-body ul {
  margin: 0 0 1em;
  padding-left: 1.2rem;
}
.doc-body li {
  margin-bottom: 0.45rem;
}
.doc-body li::marker {
  color: var(--ink-3);
}
.table-wrap {
  margin: 1.5rem 0;
  overflow-x: auto;
}
.subprocessors {
  width: 100%;
  min-width: 34rem;
  border-collapse: collapse;
  font-size: 0.9375rem;
}
.subprocessors th {
  padding: 0.6rem 1rem 0.6rem 0;
  border-bottom: 1px solid var(--ink);
  font-size: 0.8125rem;
  font-weight: 600;
  text-align: left;
  color: var(--ink-2);
}
.subprocessors td {
  padding: 0.85rem 1rem 0.85rem 0;
  border-bottom: 1px solid var(--line);
  vertical-align: top;
}
.subprocessors td:first-child,
.subprocessors td:last-child {
  white-space: nowrap;
}
.subprocessors td:first-child {
  font-weight: 600;
}
/* On a phone each provider becomes a two-line entry: name and country on
   the first line, what it does underneath. The headers stay for screen
   readers. */
@media (max-width: 560px) {
  .subprocessors {
    min-width: 0;
  }
  .subprocessors thead {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip-path: inset(50%);
    white-space: nowrap;
  }
  .subprocessors tbody tr {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: baseline;
    gap: 0.2rem 1rem;
    padding: 0.85rem 0;
    border-bottom: 1px solid var(--line);
  }
  .subprocessors tbody tr:first-child {
    border-top: 1px solid var(--ink);
  }
  .subprocessors td {
    padding: 0;
    border: 0;
  }
  .subprocessors td:first-child,
  .subprocessors td:last-child {
    white-space: normal;
  }
  .subprocessors td:nth-child(2) {
    grid-column: 1 / -1;
    grid-row: 2;
    font-size: 0.9375rem;
    color: var(--ink-2);
  }
  .subprocessors td:last-child {
    grid-column: 2;
    grid-row: 1;
    text-align: right;
    font-size: 0.8125rem;
    color: var(--ink-3);
  }
}
@media (max-width: 1000px) {
  .doc-header,
  .doc-toc,
  .doc-body {
    grid-column: 1 / -1;
  }
  .doc-toc {
    position: static;
    margin-bottom: 3rem;
  }
}

/* ---------- Notices: thanks, 404, form errors ---------- */

.notice {
  padding-block: clamp(4rem, 12vw, 9rem);
}
.notice-body {
  grid-column: 2 / span 7;
}
.notice h1 {
  margin-bottom: 1.5rem;
  font-size: clamp(2.4rem, 1.5rem + 3.4vw, 4.25rem);
}
.notice-text {
  max-width: 32em;
  margin-bottom: 2.25rem;
  font-size: 1.125rem;
  color: var(--ink-2);
}
.notice-list {
  margin: 0 0 1.25rem;
  padding-left: 1.2rem;
  color: var(--error);
}
@media (max-width: 760px) {
  .notice-body {
    grid-column: 1 / -1;
  }
}

@media print {
  .site-header .nav,
  .skip,
  .request {
    display: none;
  }
  .site-footer {
    background: none;
    color: var(--ink);
  }
}
