/* Colours and fonts for the whole site.
   Change the values under "Colour tokens" if you want a different look. */

:root {
  --sand: #f4efe6;
  --sand-deep: #e7dccb;
  --paper: #fffaf4;
  --ink: #2c241c;
  --ink-soft: #5e5348;
  --line: #e4d5c3;
  --clay: #9a3f14;
  --clay-deep: #7c3110;
  --clay-soft: #f3e1d4;
  --gold: #c9852a;
  --whatsapp: #075e54;
  --whatsapp-deep: #054c44;
  --shadow: 0 16px 40px rgba(44, 36, 28, 0.08);
  --serif: "Fraunces", "Iowan Old Style", Palatino, "Palatino Linotype", Georgia, serif;
  --sans: "Nunito Sans", "Segoe UI", sans-serif;
  --mono: ui-monospace, "Cascadia Code", "Segoe UI Mono", monospace;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--sans);
  color: var(--ink);
  background: var(--sand);
  line-height: 1.6;
  font-size: 1.0625rem;
}

img,
svg {
  display: block;
  max-width: 100%;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1,
h2,
h3 {
  font-family: var(--serif);
  font-weight: 560;
  line-height: 1.15;
  letter-spacing: -0.02em;
  text-wrap: balance;
}

p {
  text-wrap: pretty;
}

a {
  color: var(--clay);
}

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

a:focus-visible,
button:focus-visible {
  outline: 3px solid var(--gold);
  outline-offset: 3px;
}

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

.skip-link:focus {
  top: 12px;
}

.wrap {
  width: min(1080px, calc(100% - 32px));
  margin: 0 auto;
}

.eyebrow {
  margin: 0 0 12px;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--clay);
}

.lede {
  font-size: 1.15rem;
  color: var(--ink-soft);
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* Buttons */

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 48px;
  padding: 12px 18px;
  border-radius: 999px;
  border: 2px solid transparent;
  text-decoration: none;
  font-family: inherit;
  font-size: 1rem;
  font-weight: 700;
  line-height: 1.2;
  cursor: pointer;
}

a.button:hover,
a.button:visited,
button.button:hover {
  text-decoration: none;
}

.button-primary,
a.button-primary:visited {
  background: var(--clay);
  color: #fffaf3;
}

.button-primary:hover {
  background: var(--clay-deep);
  color: #fffaf3;
}

.button-ghost,
a.button-ghost:visited {
  background: transparent;
  color: var(--clay);
  border-color: var(--clay);
}

.button-ghost:hover {
  background: var(--clay-soft);
  color: var(--clay-deep);
}

.button-whatsapp,
a.button-whatsapp:visited {
  background: var(--whatsapp);
  color: #fff;
}

.button-whatsapp:hover {
  background: var(--whatsapp-deep);
  color: #fff;
}

.button svg {
  width: 20px;
  height: 20px;
  flex: 0 0 auto;
}

/* Home page */

.page-home {
  background:
    radial-gradient(ellipse at 0% 0%, #f6ddc0 0%, transparent 46%),
    var(--sand);
}

.site-header {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px 24px;
  padding: 20px 0;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--ink);
  text-decoration: none;
  font-family: var(--serif);
  font-size: 1.45rem;
  font-weight: 650;
  letter-spacing: -0.03em;
}

.brand:hover,
.brand:visited {
  color: var(--ink);
}

.brand svg {
  width: 36px;
  height: 36px;
}

.nav {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 18px;
}

.nav a {
  color: var(--ink);
  text-decoration: none;
  font-weight: 700;
}

.nav a:hover,
.nav a:visited {
  color: var(--clay);
}

.hero {
  display: grid;
  gap: 36px;
  padding: 12px 0 56px;
}

.hero h1 {
  margin: 0 0 16px;
  font-size: clamp(2.5rem, 8vw, 4.6rem);
  line-height: 1.02;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin: 24px 0 10px;
}

.fine-print {
  margin: 0;
  color: var(--ink-soft);
  font-size: 0.95rem;
}

.phone {
  justify-self: center;
  width: min(300px, 100%);
  padding: 14px;
  border-radius: 32px;
  background: #2c241c;
  box-shadow: var(--shadow);
}

.phone-screen {
  display: block;
  padding: 18px 16px 16px;
  border-radius: 22px;
  background: var(--paper);
  color: var(--ink);
  text-decoration: none;
}

.phone-screen:hover,
.phone-screen:visited {
  color: var(--ink);
}

.phone-screen .place {
  margin: 0;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--clay);
}

.phone-screen h2 {
  margin: 6px 0 12px;
  font-size: 1.7rem;
}

.mini-row {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 10px 0;
  border-top: 1px solid var(--line);
  font-size: 0.95rem;
}

.mini-row span {
  color: var(--ink-soft);
}

.mini-row strong {
  font-family: var(--mono);
  font-size: 0.85rem;
  text-align: right;
}

.section {
  padding: 28px 0 56px;
}

.section h2 {
  margin-bottom: 12px;
  font-size: clamp(1.8rem, 4vw, 2.6rem);
}

.steps,
.included,
.prices {
  display: grid;
  gap: 16px;
  margin: 28px 0 0;
  padding: 0;
  list-style: none;
}

.steps li,
.included li,
.price {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 20px;
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.7) inset;
}

.step-number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  margin-bottom: 12px;
  border-radius: 50%;
  background: var(--clay-soft);
  color: var(--clay);
  font-family: var(--serif);
  font-weight: 650;
}

.steps h3,
.included h3,
.price h3 {
  margin: 0 0 8px;
  font-size: 1.35rem;
}

.steps p,
.included p,
.price p {
  margin: 0;
  color: var(--ink-soft);
}

.price .button {
  width: 100%;
  margin-top: 16px;
}

.test-banner {
  margin: 0;
  padding: 14px 16px;
  background: #e8b84a;
  color: #2c241c;
  text-align: center;
  font-weight: 800;
}

.notice {
  margin: 0 0 16px;
  padding: 12px 14px;
  background: var(--clay-soft);
  border-radius: 12px;
}

.choice-list {
  display: grid;
  gap: 10px;
  margin: 0;
  padding: 0;
  border: 0;
  min-inline-size: 0;
}

.choice {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  min-height: 48px;
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: #fff;
}

.choice input {
  width: 1.15rem;
  height: 1.15rem;
  margin-top: 0.2rem;
  flex: 0 0 auto;
}

.choice span {
  display: block;
}

.amount {
  margin: 8px 0 0;
  font-family: var(--serif);
  font-size: 2.6rem;
  letter-spacing: -0.03em;
  color: var(--ink);
  line-height: 1;
}

.amount span {
  font-size: 0.62em;
  margin-right: 2px;
}

.per {
  margin: 8px 0 12px;
  font-weight: 700;
  color: var(--clay);
}

.signup {
  scroll-margin-top: 24px;
}

.signup-form {
  display: grid;
  gap: 18px;
  margin-top: 24px;
  padding: 20px;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 18px;
}

.form-grid {
  display: grid;
  gap: 16px;
}

.field {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.field label {
  font-weight: 700;
}

.optional {
  font-weight: 600;
  color: var(--ink-soft);
}

.field input,
.field select,
.field textarea {
  width: 100%;
  min-height: 48px;
  padding: 12px 14px;
  border: 1px solid #cfc0ae;
  border-radius: 12px;
  background: #fff;
  color: var(--ink);
  font: inherit;
}

.field textarea {
  min-height: 120px;
  resize: vertical;
}

.field input::placeholder {
  color: #8a7b6c;
}

.signup-form .button {
  width: 100%;
}

.thanks {
  display: grid;
  min-height: 100vh;
  align-content: center;
  padding: 32px 0 48px;
}

.thanks-card {
  width: min(640px, 100%);
  padding: 28px 22px;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 24px;
}

.thanks-card h1 {
  margin: 0 0 12px;
  font-size: clamp(2.2rem, 6vw, 3.4rem);
}

.thanks-card .hero-actions {
  margin-top: 20px;
}

.contact-band {
  background: #2c241c;
  color: #f6efe6;
  border-radius: 28px;
  padding: 28px 22px;
  margin-bottom: 48px;
}

.contact-band h2 {
  font-size: clamp(1.8rem, 4vw, 2.6rem);
  margin-bottom: 12px;
}

.contact-band p {
  color: #f0e4d4;
  max-width: 62ch;
}

.contact-band .fine-print {
  margin-top: 14px;
  color: #d9cbb8;
}

.site-footer {
  padding: 8px 0 32px;
  color: var(--ink-soft);
  font-size: 0.95rem;
}

.site-footer p {
  margin: 0;
}

.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 16px;
  margin-top: 10px;
}

.footer-nav a {
  font-weight: 700;
}

.nav a[aria-current="page"] {
  color: var(--clay);
}

.price-note {
  margin-top: 18px;
}

.pay-note {
  margin: 0 0 16px;
}

/* Policy pages */

.policy {
  width: min(760px, calc(100% - 32px));
  margin: 0 auto;
  padding: 8px 0 56px;
}

.policy h1 {
  margin: 0 0 8px;
  font-size: clamp(2.2rem, 6vw, 3.4rem);
}

.policy .updated {
  margin: 0 0 20px;
  color: var(--ink-soft);
}

.policy h2 {
  margin: 32px 0 10px;
  font-size: clamp(1.35rem, 3vw, 1.8rem);
}

.policy p,
.policy li {
  max-width: 68ch;
}

.policy ul,
.policy ol {
  margin: 0 0 16px;
  padding-left: 1.25em;
}

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

.policy-table {
  width: 100%;
  margin: 16px 0 8px;
  border-collapse: collapse;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 16px;
  overflow: hidden;
}

.policy-table th,
.policy-table td {
  padding: 12px 14px;
  border-bottom: 1px solid var(--line);
  text-align: left;
  vertical-align: top;
}

.policy-table tr:last-child td {
  border-bottom: 0;
}

.policy-table th {
  background: var(--clay-soft);
  font-size: 0.82rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.policy-table tbody th {
  background: transparent;
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: 0;
  text-transform: none;
}

.policy-table caption {
  caption-side: bottom;
  padding: 10px 2px 0;
  color: var(--ink-soft);
  font-size: 0.92rem;
  text-align: left;
}

@media (max-width: 640px) {
  .policy-table thead {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
  }

  .policy-table,
  .policy-table tbody,
  .policy-table tr,
  .policy-table th,
  .policy-table td {
    display: block;
    width: 100%;
  }

  .policy-table tr {
    padding: 8px 0;
    border-bottom: 1px solid var(--line);
  }

  .policy-table tr:last-child {
    border-bottom: 0;
  }

  .policy-table td {
    border: 0;
    padding: 4px 14px;
  }

  .policy-table td::before {
    content: attr(data-label);
    display: block;
    margin-bottom: 2px;
    color: var(--clay);
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
  }
}

/* Sample welcome book */

.page-book {
  background: var(--sand-deep);
  --owner-cta-height: calc(101px + env(safe-area-inset-bottom, 0px));
  padding-bottom: calc(108px + var(--owner-cta-height));
  scroll-padding-bottom: calc(12px + var(--owner-cta-height) + 78px);
}

.sheet {
  width: min(430px, 100%);
  margin: 0 auto;
  background: var(--paper);
  min-height: 100vh;
  padding-bottom: 24px;
  box-shadow: 0 0 0 1px rgba(44, 36, 28, 0.05);
}

.example-banner {
  padding: 12px 16px;
  background: #f3e1d4;
  color: var(--ink);
  font-size: 0.92rem;
}

.example-banner a {
  font-weight: 700;
}

.preview-banner {
  padding: 14px 16px 16px;
  background: #2c241c;
  color: #fffaf4;
}

.preview-banner p {
  margin: 0 0 12px;
}

.preview-banner .button {
  width: 100%;
}

.preview-banner a:not(.button),
.preview-banner a:not(.button):visited {
  color: #fffaf4;
  font-weight: 700;
}

.preview-hero {
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  gap: 14px;
  min-height: 210px;
  padding: 20px 16px;
  background:
    radial-gradient(circle at 18% 20%, rgba(255, 250, 244, 0.5), transparent 42%),
    linear-gradient(155deg, var(--sand-deep) 0%, var(--gold) 48%, var(--clay) 100%);
}

.preview-hero svg {
  width: 52px;
  height: 52px;
}

.preview-hero p {
  margin: 0;
  align-self: flex-start;
  padding: 6px 12px;
  border-radius: 999px;
  background: rgba(44, 36, 28, 0.78);
  color: #fffaf4;
  font-weight: 700;
  font-size: 0.92rem;
}

.password.is-placeholder,
.facts dd.is-placeholder {
  font-family: var(--sans);
  font-style: italic;
  font-weight: 600;
  font-size: 1.05rem;
  color: var(--ink-soft);
}

.sample-tag {
  display: inline-block;
  margin-right: 6px;
  padding: 2px 6px;
  border-radius: 999px;
  background: var(--clay-soft);
  color: var(--clay-deep);
  font-family: var(--sans);
  font-style: normal;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  vertical-align: middle;
}

.book-head {
  padding: 22px 16px 8px;
}

.book-head h1 {
  margin: 0 0 8px;
  font-size: 2.5rem;
}

.book-head p {
  margin: 0;
  color: var(--ink-soft);
}

.jumps {
  position: sticky;
  top: 0;
  z-index: 3;
  display: flex;
  gap: 8px;
  overflow-x: auto;
  padding: 10px 16px;
  background: rgba(255, 250, 244, 0.95);
  border-bottom: 1px solid var(--line);
}

.jumps a {
  flex: 0 0 auto;
  padding: 8px 12px;
  border-radius: 999px;
  background: var(--sand);
  color: var(--ink);
  text-decoration: none;
  font-size: 0.92rem;
  font-weight: 700;
}

.jumps a:hover,
.jumps a:visited {
  color: var(--clay-deep);
  background: var(--clay-soft);
}

.book-section {
  padding: 26px 16px 6px;
  scroll-margin-top: 76px;
}

.book-section h2 {
  margin: 0 0 10px;
  font-size: 1.7rem;
}

.card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 14px;
}

.review-card {
  background: #fff8ef;
  border: 2px solid #e2b15a;
  padding: 18px 16px 16px;
}

.review-card h2,
.review-card h3 {
  margin: 0 0 8px;
  font-family: var(--serif);
  font-size: 1.45rem;
  font-weight: 560;
  line-height: 1.2;
  letter-spacing: -0.02em;
}

.review-card p {
  margin: 0 0 12px;
}

.review-note {
  color: var(--ink-soft);
  font-size: 0.95rem;
}

.review-card .button {
  width: 100%;
}

.review-card {
  scroll-margin-bottom: calc(120px + var(--owner-cta-height, 148px));
}

.wifi-label {
  margin: 0;
  color: var(--ink-soft);
  font-size: 0.92rem;
}

.password {
  margin: 6px 0 12px;
  padding: 12px 14px;
  border-radius: 12px;
  border: 1px dashed #e0c4a4;
  background: var(--sand);
  font-family: var(--mono);
  font-size: 1.25rem;
  letter-spacing: 0.03em;
  overflow-wrap: anywhere;
}

.facts {
  display: grid;
  gap: 10px;
  margin: 0;
}

.facts div {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--line);
}

.facts dt {
  color: var(--ink-soft);
}

.facts dd {
  margin: 0;
  font-weight: 700;
  text-align: right;
}

.access-form {
  display: grid;
  gap: 12px;
}

.access-form .button {
  width: 100%;
}

.access-form .button:disabled {
  opacity: 0.65;
  cursor: wait;
}

.access-hint {
  margin: 0;
  color: var(--ink-soft);
  font-size: 0.95rem;
}

.access-status {
  margin: 0;
  min-height: 1.4em;
  font-weight: 700;
}

.access-status.is-error {
  color: var(--clay-deep);
}

.access-codes {
  margin: 0;
}

.plain-list {
  margin: 0;
  padding: 0;
  list-style: none;
}

.plain-list li {
  position: relative;
  padding: 0 0 12px 18px;
}

.plain-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 8px;
  height: 8px;
  border-radius: 2px;
  background: var(--clay);
}

.place-list {
  display: grid;
  gap: 12px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.place-list h3 {
  margin: 0 0 4px;
  font-size: 1.15rem;
}

.place-list p {
  margin: 0;
  color: var(--ink-soft);
}

.emergency {
  border-color: #e2b59a;
  background: #fff8f3;
}

.emergency-link {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  min-height: 52px;
  margin-top: 8px;
  padding: 10px 12px;
  border-radius: 12px;
  background: #fff;
  color: var(--ink);
  text-decoration: none;
  font-weight: 700;
  border: 1px solid var(--line);
}

.emergency-link:hover,
.emergency-link:visited {
  color: var(--ink);
  border-color: var(--clay);
}

.emergency-link strong {
  font-family: var(--serif);
  font-size: 1.6rem;
  color: var(--clay);
}

.host-actions {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 14px;
}

.book-end {
  padding: 8px 16px 12px;
  color: var(--ink-soft);
  font-size: 0.92rem;
}

.owner-cta {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 6;
  display: flex;
  justify-content: center;
  pointer-events: none;
}

.owner-cta-inner {
  pointer-events: auto;
  width: min(430px, 100%);
  padding: 8px 12px calc(8px + env(safe-area-inset-bottom));
  background: #2c241c;
  color: #fffaf4;
}

.owner-cta p {
  margin: 0 0 8px;
  text-align: center;
  font-weight: 700;
  font-size: 0.92rem;
}

.owner-cta-actions {
  display: flex;
  gap: 8px;
}

.owner-cta-actions .button {
  flex: 1;
  min-width: 0;
  min-height: 44px;
  padding: 8px 10px;
  font-size: 0.88rem;
  text-align: center;
}

.owner-pitch {
  background: #2c241c;
  color: #fffaf4;
}

.owner-pitch-inner {
  width: min(1080px, calc(100% - 32px));
  margin: 0 auto;
  padding: 28px 0;
}

.owner-pitch p {
  margin: 0 0 16px;
  font-family: var(--serif);
  font-size: clamp(1.4rem, 4vw, 2rem);
  line-height: 1.2;
}

.owner-pitch .owner-cta-actions .button {
  flex: 1 1 220px;
  max-width: 280px;
}

.contact-bar {
  position: fixed;
  left: 0;
  right: 0;
  bottom: var(--owner-cta-height);
  z-index: 5;
  display: flex;
  justify-content: center;
  pointer-events: none;
}

.contact-bar-inner {
  pointer-events: auto;
  width: min(430px, 100%);
  display: flex;
  gap: 10px;
  padding: 10px 16px;
  background: rgba(255, 250, 244, 0.96);
  border-top: 1px solid var(--line);
}

.contact-bar .button {
  flex: 1;
}

@media (min-width: 800px) {
  .hero {
    grid-template-columns: 1.15fr 0.85fr;
    align-items: center;
    padding-top: 28px;
  }

  .steps,
  .prices {
    grid-template-columns: repeat(3, 1fr);
  }

  .included {
    grid-template-columns: 1fr 1fr;
  }

  .form-grid {
    grid-template-columns: 1fr 1fr;
  }

  .field-wide {
    grid-column: 1 / -1;
  }

  .signup-form .button {
    width: auto;
    min-width: 180px;
  }

  .contact-band {
    padding: 40px;
  }

  .sheet {
    box-shadow:
      0 0 0 1px rgba(44, 36, 28, 0.06),
      0 24px 60px rgba(44, 36, 28, 0.12);
  }

  .page-book {
    --owner-cta-height: 0px;
    padding-bottom: 108px;
    scroll-padding-bottom: 96px;
  }

  .contact-bar-inner {
    padding-bottom: calc(10px + env(safe-area-inset-bottom, 0px));
  }

  .owner-cta {
    position: static;
    display: block;
    background: #2c241c;
    pointer-events: auto;
  }

  .owner-cta-inner {
    width: min(1080px, calc(100% - 32px));
    margin: 0 auto;
    padding: 18px 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
  }

  .owner-cta p {
    margin: 0;
    text-align: left;
    font-size: 1.2rem;
  }

  .owner-cta-actions {
    flex: 0 1 auto;
  }

  .owner-cta-actions .button {
    flex: 0 0 auto;
  }
}

@media (max-width: 380px) {
  .hero-actions .button,
  .contact-bar .button {
    width: 100%;
  }

  .facts div,
  .emergency-link {
    align-items: flex-start;
    flex-direction: column;
  }

  .facts dd {
    text-align: left;
  }
}

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

  .button {
    transition: none;
  }
}
