/*
 * One stylesheet for the whole public site.
 *
 * No framework and no build step, deliberately. These pages exist so a
 * Meta reviewer, a hotel owner and a guest can read them; the most valuable
 * property they have is that they load when everything else is broken. A
 * dependency-free static site can be served by Cloudflare Pages with the
 * application, the API, the database and the laptop all switched off.
 */

:root {
  color-scheme: light;

  --ink: #14161a;
  --ink-soft: #4a4f57;
  --ink-faint: #6b717a;
  --page: #fbfaf8;
  --surface: #ffffff;
  --rule: #e4e1db;
  --accent: #1f5f4f;
  --accent-soft: #eaf2ef;

  --measure: 34rem;
  --step: clamp(1rem, 0.9rem + 0.4vw, 1.0625rem);
  --title: clamp(1.9rem, 1.4rem + 2.2vw, 2.9rem);
}

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

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

body {
  margin: 0;
  background: var(--page);
  color: var(--ink);
  font:
    var(--step) / 1.65 ui-sans-serif,
    system-ui,
    -apple-system,
    "Segoe UI",
    Roboto,
    "Helvetica Neue",
    Arial,
    sans-serif;
  text-rendering: optimizeLegibility;
}

/* A keyboard user must be able to jump the masthead on every page. */
.skip {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--surface);
  color: var(--ink);
  padding: 0.65rem 1rem;
  border: 2px solid var(--accent);
  border-radius: 0 0 6px 0;
  z-index: 10;
}

.skip:focus {
  left: 0;
}

a {
  color: var(--accent);
  text-underline-offset: 0.18em;
}

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

.masthead {
  border-bottom: 1px solid var(--rule);
  background: var(--surface);
}

.masthead__inner,
.wrap {
  max-width: 62rem;
  margin: 0 auto;
  padding: 0 1.25rem;
}

.masthead__inner {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1.5rem;
  align-items: baseline;
  justify-content: space-between;
  padding-top: 1.1rem;
  padding-bottom: 1.1rem;
}

.wordmark {
  font-size: 1.2rem;
  font-weight: 650;
  letter-spacing: -0.015em;
  color: var(--ink);
  text-decoration: none;
}

.wordmark span {
  color: var(--accent);
}

nav ul {
  display: flex;
  flex-wrap: wrap;
  gap: 1.1rem;
  margin: 0;
  padding: 0;
  list-style: none;
  font-size: 0.9375rem;
}

nav a {
  color: var(--ink-soft);
  text-decoration: none;
}

nav a:hover,
nav a[aria-current="page"] {
  color: var(--accent);
  text-decoration: underline;
}

nav a[aria-current="page"] {
  font-weight: 600;
}

main {
  padding: 2.75rem 0 4rem;
}

h1 {
  font-size: var(--title);
  line-height: 1.12;
  letter-spacing: -0.022em;
  margin: 0 0 0.6rem;
  max-width: 18ch;
}

.lede {
  font-size: 1.15rem;
  line-height: 1.55;
  color: var(--ink-soft);
  max-width: var(--measure);
  margin: 0 0 2rem;
}

h2 {
  font-size: 1.2rem;
  letter-spacing: -0.01em;
  margin: 2.5rem 0 0.6rem;
  padding-top: 1.4rem;
  border-top: 1px solid var(--rule);
}

h3 {
  font-size: 1.02rem;
  margin: 1.6rem 0 0.4rem;
}

.prose p,
.prose li {
  max-width: var(--measure);
}

.prose ul,
.prose ol {
  padding-left: 1.15rem;
}

.prose li {
  margin-bottom: 0.4rem;
}

.meta {
  font-size: 0.875rem;
  color: var(--ink-faint);
  margin: 0 0 2rem;
}

/* The two things a visitor can do from the home page. */
.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem 1.25rem;
  align-items: center;
  margin: 0 0 1rem;
  padding: 0;
  list-style: none;
}

.actions li {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem 0.75rem;
  align-items: center;
  max-width: none;
  margin: 0;
}

.actions__note {
  font-size: 0.9375rem;
  color: var(--ink-faint);
}

.button {
  display: inline-block;
  padding: 0.7rem 1.2rem;
  border-radius: 8px;
  background: var(--accent);
  color: var(--surface);
  font-weight: 600;
  text-decoration: none;
}

.button:hover {
  text-decoration: underline;
}

.button--quiet {
  background: transparent;
  color: var(--accent);
  border: 1px solid var(--accent);
}

/* These lists are layout, not prose: without this, `.prose ul`'s indent
 * outranks their own `padding: 0` and pushes them off the text's left edge. */
.prose .actions,
.prose .cards {
  padding-left: 0;
}

.steps li {
  margin-bottom: 0.75rem;
}

.callout {
  background: var(--accent-soft);
  border-left: 3px solid var(--accent);
  border-radius: 0 6px 6px 0;
  padding: 1rem 1.15rem;
  margin: 1.5rem 0;
  max-width: var(--measure);
}

.callout p {
  margin: 0;
}

.callout p + p {
  margin-top: 0.65rem;
}

.cards {
  display: grid;
  gap: 1rem;
  grid-template-columns: repeat(auto-fit, minmax(13rem, 1fr));
  margin: 2rem 0 0;
  padding: 0;
  list-style: none;
}

.card {
  background: var(--surface);
  border: 1px solid var(--rule);
  border-radius: 10px;
  padding: 1.15rem 1.25rem;
}

.card h3 {
  margin: 0 0 0.35rem;
  font-size: 1.02rem;
}

.card p {
  margin: 0;
  color: var(--ink-soft);
  font-size: 0.9375rem;
}

dl.facts {
  margin: 1.5rem 0 0;
  max-width: var(--measure);
}

dl.facts dt {
  font-weight: 650;
  margin-top: 1rem;
}

dl.facts dd {
  margin: 0.2rem 0 0;
  color: var(--ink-soft);
}

.footer {
  border-top: 1px solid var(--rule);
  background: var(--surface);
  padding: 1.75rem 0;
  font-size: 0.9rem;
  color: var(--ink-faint);
}

.footer ul {
  display: flex;
  flex-wrap: wrap;
  gap: 1.1rem;
  margin: 0 0 0.75rem;
  padding: 0;
  list-style: none;
}

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

@media (max-width: 34rem) {
  .masthead__inner {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.6rem;
  }

  main {
    padding-top: 2rem;
  }
}

/* Shared brand and navigation; legal prose keeps its own reading measure. */
:root {
  color-scheme: light;
  --ink: #173a31;
  --ink-soft: #52665e;
  --ink-faint: #60746b;
  --page: #f8faf7;
  --surface: #fff;
  --rule: #dde5df;
  --accent: #1f5f4f;
  --accent-soft: #eaf2ef;
}
.masthead__inner,
.wrap {
  max-width: 78rem;
  padding-inline: clamp(1.25rem, 4vw, 3rem);
}
.masthead__inner {
  align-items: center;
  padding-block: 0.8rem;
  gap: 0.75rem 2rem;
}
.wordmark {
  display: inline-flex;
  flex-shrink: 0;
  align-items: center;
}
.wordmark img {
  display: block;
  width: 154px;
  height: 56px;
  object-fit: contain;
}
nav ul {
  align-items: center;
  gap: 0.25rem 1rem;
}
nav a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 0.4rem 0.25rem;
}
nav li:last-child a {
  padding: 0.55rem 1rem;
  border: 1px solid var(--rule);
  border-radius: 8px;
  color: var(--accent);
  font-weight: 600;
}
.prose {
  max-width: 52rem;
}
.prose p,
.prose li,
.prose .callout,
.prose dl.facts {
  max-width: 44rem;
}
.prose h1 {
  max-width: 24ch;
}
a {
  overflow-wrap: anywhere;
}
.footer {
  padding-block: 2.5rem;
}
.footer a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
}
.footer p {
  margin: 0.5rem 0 0;
}
.landing {
  padding: 0 0 4rem;
}
.hero {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: clamp(2rem, 5vw, 5rem);
  align-items: center;
  padding-block: clamp(3rem, 6vw, 6rem);
}
.eyebrow {
  margin: 0 0 1rem;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
}
.hero h1 {
  font-size: clamp(2.25rem, 3.7vw, 3.65rem);
  line-height: 1.08;
  letter-spacing: -0.045em;
  max-width: 18ch;
  margin-bottom: 1.5rem;
}
.hero .lede {
  font-size: 1.0625rem;
  max-width: 52ch;
  margin-bottom: 1.75rem;
}
.actions {
  align-items: flex-start;
  gap: 0.75rem;
}
.actions li {
  flex-direction: column;
  align-items: flex-start;
}
.actions__note {
  font-size: 0.8125rem;
  margin-top: 0.4rem;
}
.button {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--accent);
  padding: 0.7rem 1.25rem;
  transition: background 0.15s;
}
.button:hover {
  background: #184b3f;
  color: #fff;
  text-decoration: none;
}
.button--quiet {
  background: transparent;
  color: var(--accent);
}
.hero__panel {
  background: #eaf2ed;
  border: 1px solid #d5e2d9;
  border-radius: 24px;
  padding: clamp(1.5rem, 3vw, 2.5rem);
  box-shadow: 0 20px 50px -30px #1f5f4f55;
}
.hero__panel h2 {
  border: 0;
  padding: 0;
  margin: 0.8rem 0 1.8rem;
  font-size: clamp(1.5rem, 2.5vw, 2rem);
  line-height: 1.2;
  letter-spacing: -0.03em;
}
.workflow {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 0.75rem;
}
.workflow li {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  background: var(--surface);
  border: 1px solid #dce6df;
  padding: 1.15rem;
  border-radius: 12px;
}
.workflow li > span {
  font-size: 0.75rem;
  padding-top: 0.2rem;
  color: var(--accent);
  font-weight: 700;
}
.workflow strong {
  font-size: 0.9375rem;
}
.workflow p {
  font-size: 0.875rem;
  line-height: 1.5;
  color: var(--ink-soft);
  margin: 0.25rem 0 0;
}
.panel-note {
  font-size: 0.8125rem;
  margin: 1.25rem 0 0;
  color: var(--ink-soft);
}
.section {
  padding-block: clamp(2.5rem, 5vw, 4.5rem);
  border-top: 1px solid var(--rule);
}
.section-heading {
  margin-bottom: 2rem;
}
.landing h2 {
  border: 0;
  padding: 0;
  margin: 0 0 1rem;
  font-size: clamp(1.5rem, 2.4vw, 2rem);
  line-height: 1.2;
  letter-spacing: -0.025em;
}
.section-heading .eyebrow {
  margin-bottom: 0.65rem;
}
.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  padding: 0;
  list-style: none;
  counter-reset: step;
  margin: 0;
}
.steps li {
  counter-increment: step;
  color: var(--ink-soft);
  font-size: 0.9375rem;
}
.steps li::before {
  content: "0" counter(step);
  display: block;
  color: var(--accent);
  font-size: 0.875rem;
  font-weight: 700;
  border-bottom: 2px solid #c8dbcf;
  padding-bottom: 1rem;
  margin-bottom: 1rem;
}
.steps strong {
  display: block;
  color: var(--ink);
  font-size: 1.0625rem;
  margin-bottom: 0.75rem;
}
.landing .cards {
  grid-template-columns: repeat(4, 1fr);
  margin-top: 1.5rem;
}
.card {
  border-radius: 14px;
  padding: 1.5rem;
}
.card h3 {
  margin-bottom: 0.75rem;
}
.scope-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
}
.scope-grid h2:not(:first-child) {
  margin-top: 2rem;
}
.scope-grid p,
.scope-grid li {
  font-size: 0.9375rem;
  color: var(--ink-soft);
}
.scope-grid .cards {
  grid-template-columns: 1fr 1fr;
}
.callout {
  max-width: none;
}
.contact-panel {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  align-items: start;
  background: var(--accent-soft);
  border-radius: 20px;
  padding: clamp(1.5rem, 4vw, 3rem);
}
.contact-panel .facts {
  margin: 0;
}
.contact-panel .facts dt:first-child {
  margin-top: 0;
}
.contact-panel p {
  margin-bottom: 0;
}
@media (max-width: 64rem) {
  .hero {
    gap: 2rem;
  }
  .landing .cards {
    grid-template-columns: repeat(2, 1fr);
  }
  .scope-grid {
    gap: 2rem;
  }
}
@media (max-width: 48rem) {
  .hero {
    grid-template-columns: 1fr;
  }
  .hero h1 {
    max-width: 20ch;
  }
  .hero .lede {
    max-width: 60ch;
  }
  .hero__panel {
    max-width: none;
  }
  .steps,
  .scope-grid,
  .contact-panel {
    grid-template-columns: 1fr;
  }
  .steps {
    gap: 1.5rem;
  }
  .masthead__inner {
    align-items: center;
  }
  nav ul {
    gap: 0.2rem 0.75rem;
  }
}
@media (max-width: 34rem) {
  .masthead__inner {
    flex-direction: column;
    align-items: flex-start;
  }
  nav {
    width: 100%;
  }
  nav ul {
    justify-content: space-between;
    gap: 0.2rem 0.4rem;
    font-size: 0.8125rem;
  }
  nav li:last-child a {
    padding-inline: 0.55rem;
  }
  .landing .cards {
    grid-template-columns: 1fr;
  }
  .actions {
    flex-direction: column;
  }
  .actions li,
  .actions .button {
    width: 100%;
  }
  .hero {
    padding-top: 2.5rem;
  }
}
@media (prefers-reduced-motion: reduce) {
  .button {
    transition: none;
  }
}

/* Static answers and a keyboard-accessible table of contents. */
.faq-index {
  display: grid;
  gap: 0.5rem;
  max-width: var(--measure);
}
.faq-answer h2 {
  max-width: var(--measure);
  scroll-margin-top: 1rem;
}

.faq-toc a,
.faq-toc li:last-child a {
  padding: 0.4rem 0.25rem;
  border: 0;
  border-radius: 0;
  color: var(--accent);
  font-weight: inherit;
  text-decoration: underline;
}
