/* The demo booking page (getmaisondesk.com/book). Design: design/10-book*, 11-booked*, 12-book-states.
   Quiet luxury: generous space, hairlines instead of boxes, one decision per step. Inter, neutral greys, the charcoal fade. */
:root {
  --ink: #111111;
  --ink-2: #3d3d3d;
  --muted: #5c5c5c;
  --hair: #e8e8e8;
  --soft: #f5f5f5;
  --fade: linear-gradient(160deg, #3b3b3b 0%, #1c1c1c 55%, #0b0b0b 100%);
  --btn: linear-gradient(180deg, #3a3a3a 0%, #111111 100%);
  --shadow: 0 1px 2px rgba(0, 0, 0, 0.03), 0 24px 60px rgba(0, 0, 0, 0.06);
}
* { box-sizing: border-box; }
body {
  margin: 0;
  font-family: 'Inter', system-ui, sans-serif;
  font-size: 17px;
  line-height: 1.7;
  color: var(--ink-2);
  -webkit-font-smoothing: antialiased;
  background:
    radial-gradient(1000px 600px at 92% -80px, rgba(40, 40, 40, 0.16) 0%, rgba(40, 40, 40, 0) 70%),
    #f5f5f5;
  background-repeat: no-repeat;
}
h1, h2, h3 { color: var(--ink); margin: 0; }
p { margin: 0; }
a { color: var(--ink); text-underline-offset: 4px; }
img { max-width: 100%; height: auto; }
:focus-visible { outline: 2px solid #111111; outline-offset: 3px; border-radius: 6px; }
.muted { color: var(--muted); }
.small { font-size: 15px; color: var(--muted); line-height: 1.7; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--ink); color: #fff; padding: 12px 16px; border-radius: 10px; z-index: 10; }
.skip:focus { left: 8px; }

/* Header and footer: nothing but the logo and a way to reach us. */
.bk-head { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 0 24px; min-height: 84px; }
.bk-head .logo { display: inline-flex; align-items: center; min-height: 44px; }
.bk-head .logo img { display: block; width: 190px; height: 36px; }
.bk-head .contact { display: none; font-size: 15px; color: var(--muted); text-decoration: none; }
.bk-foot { padding: 32px 24px 56px; font-size: 14px; line-height: 1.7; color: var(--muted); text-align: center; }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 56px; padding: 0 28px; border-radius: 14px; font: inherit; font-size: 17px; font-weight: 500; border: 1px solid transparent; cursor: pointer; text-decoration: none; text-align: center; }
.btn-p { background: var(--btn); color: #ffffff; box-shadow: 0 1px 0 rgba(255, 255, 255, 0.12) inset, 0 8px 20px rgba(0, 0, 0, 0.16); }
.btn-s { background: #ffffff; color: var(--ink); border-color: #d9d9d9; }
.btn-w { width: 100%; }
.btn-p:focus-visible { box-shadow: 0 0 0 3px #ffffff, 0 0 0 5px var(--ink); }
.actions { display: grid; gap: 12px; margin-top: 32px; }

/* The booking stage: headline beside the card on a laptop. On a phone the order is
   headline, "Prepared for" note, card, then the subline and the host. */
.stage { display: grid; grid-template-columns: minmax(0, 1fr); grid-template-areas: "intro" "prep" "card" "sub" "host"; padding: 8px 16px 32px; }
.intro { grid-area: intro; padding: 0 8px 24px; }
.sub { grid-area: sub; padding: 40px 8px 0; font-size: 17px; color: var(--ink-2); }
.prep { grid-area: prep; padding: 0 8px 28px; }
.host { grid-area: host; padding: 28px 8px 0; display: flex; align-items: center; gap: 16px; }
.card { grid-area: card; background: #ffffff; border-radius: 24px; box-shadow: var(--shadow); padding: 32px 24px; min-width: 0; }
.meta { font-size: 15px; color: var(--muted); margin-bottom: 20px; }
.intro h1 { font-size: 38px; font-weight: 300; line-height: 1.14; letter-spacing: -0.03em; }
.prep b { display: block; color: var(--ink); font-weight: 500; font-size: 16px; }
.host b { display: block; color: var(--ink); font-weight: 500; font-size: 16px; line-height: 1.4; }
.av { width: 52px; height: 52px; border-radius: 50%; background: var(--fade); display: flex; align-items: center; justify-content: center; flex: none; overflow: hidden; }
.av .mark { width: 24px; height: auto; }
.av .photo { width: 52px; height: 52px; object-fit: cover; }

@media (min-width: 900px) {
  .bk-head { padding: 0 clamp(40px, 8.8vw, 120px); min-height: 104px; }
  .bk-head .contact { display: inline; }
  .stage {
    grid-template-columns: minmax(0, 420px) minmax(0, 1fr);
    grid-template-rows: auto auto auto auto 1fr;
    grid-template-areas: "intro card" "sub card" "prep card" "host card" "rest card";
    column-gap: clamp(48px, 8.8vw, 120px);
    padding: 48px clamp(40px, 8.8vw, 120px) 96px;
  }
  .intro { padding: 0; }
  .intro h1 { font-size: clamp(44px, 4.4vw, 60px); line-height: 1.1; letter-spacing: -0.035em; }
  .sub { padding: 24px 0 0; font-size: 19px; line-height: 1.7; }
  .prep { padding: 28px 0 0; margin-top: 44px; border-top: 1px solid var(--hair); }
  .host { padding: 36px 0 0; }
  .card { padding: 64px; border-radius: 28px; max-width: 640px; }
}

/* The card */
.step { font-size: 14px; color: var(--muted); margin-bottom: 10px; }
.card h2 { font-size: 26px; font-weight: 400; letter-spacing: -0.02em; line-height: 1.25; }
@media (min-width: 900px) { .card h2 { font-size: 30px; } }
.body { margin-top: 18px; }
.zone { margin-top: 12px; font-size: 15px; color: var(--muted); display: flex; flex-wrap: wrap; align-items: baseline; gap: 2px 16px; }
.zone b { color: var(--ink); font-weight: 500; }
.tz[open] { flex-basis: 100%; }
.tz summary { display: inline-block; cursor: pointer; color: var(--ink); text-decoration: underline; text-underline-offset: 4px; list-style: none; min-height: 28px; }
.tz summary::-webkit-details-marker { display: none; }
.tz form { display: grid; gap: 12px; margin-top: 16px; padding: 20px; background: var(--soft); border-radius: 14px; }
.tz label { font-size: 15px; color: var(--ink); }
.tz select { width: 100%; min-height: 52px; padding: 0 14px; font: inherit; font-size: 16px; color: var(--ink); background: #ffffff; border: 1px solid #d9d9d9; border-radius: 12px; }
.sugg { margin-top: 28px; font-size: 16px; color: var(--ink-2); line-height: 1.9; }
.sugg a { white-space: nowrap; }
.sugg .sep { color: #9a9a9a; margin: 0 4px; }
.wk { display: flex; align-items: center; justify-content: space-between; margin: 40px 0 16px; }
.wk b { font-weight: 500; color: var(--ink); font-size: 17px; }
.chevs { display: flex; gap: 4px; }
.chev { width: 44px; height: 44px; display: flex; align-items: center; justify-content: center; border-radius: 50%; color: var(--ink); }
.chev.off { color: #c4c4c4; }
a.chev:hover { background: var(--soft); }

/* The seven days */
.days { list-style: none; margin: 0; padding: 0 0 22px; display: grid; grid-template-columns: repeat(7, 1fr); border-bottom: 1px solid var(--hair); }
.day { display: flex; flex-direction: column; align-items: center; gap: 6px; font-size: 14px; color: var(--muted); text-decoration: none; min-height: 44px; }
.day i { font-style: normal; width: 40px; height: 40px; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 17px; color: var(--ink); }
.day.on { color: var(--ink); }
.day.on i { background: var(--btn); color: #ffffff; }
a.day:hover i { background: var(--soft); }
a.day.on:hover i { background: var(--btn); }
.day.off i { color: #a8a8a8; }
@media (min-width: 900px) { .day i { width: 48px; height: 48px; font-size: 18px; } }

/* The open slots of the chosen day */
.slots { list-style: none; margin: 32px 0 0; padding: 0; display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; border: 0; }
@media (min-width: 900px) { .slots { grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 36px; } }
.t { min-height: 60px; border-radius: 16px; background: var(--soft); font-size: 17px; font-weight: 400; color: var(--ink); display: flex; align-items: center; justify-content: center; text-decoration: none; cursor: pointer; }
a.t:hover { background: #ececec; }
.none { margin-top: 32px; color: var(--muted); }
.more { margin-top: 28px; font-size: 15px; }

/* Step 2 */
.slim { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 20px 0; margin: 28px 0 8px; border-top: 1px solid var(--hair); border-bottom: 1px solid var(--hair); font-size: 16px; color: var(--ink); }
.slim .z { color: var(--muted); }
.slim a { font-size: 15px; white-space: nowrap; }
.form { display: grid; gap: 28px; margin-top: 36px; }
.slim + .form { margin-top: 28px; }
.f label { display: block; font-size: 15px; color: var(--ink); margin-bottom: 10px; }
.in { width: 100%; min-height: 56px; padding: 15px 18px; font: inherit; font-size: 17px; color: var(--ink); background: var(--soft); border: 1px solid transparent; border-radius: 14px; }
.in:focus { outline: none; border-color: var(--ink); background: #ffffff; box-shadow: 0 0 0 1px var(--ink); }
textarea.in { min-height: 120px; resize: vertical; }
.f.bad .in { border-color: var(--ink); background: #ffffff; box-shadow: 0 0 0 1px var(--ink); }
.err { margin-top: 8px; font-size: 15px; color: var(--ink); }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.opt summary { cursor: pointer; color: var(--ink); text-decoration: underline; text-underline-offset: 4px; font-size: 16px; list-style: none; }
.opt summary::-webkit-details-marker { display: none; }
.optfields { display: grid; gap: 28px; margin-top: 28px; }
.fine { font-size: 14px; color: var(--muted); line-height: 1.7; }
.banner { border-left: 2px solid var(--ink); padding: 4px 0 4px 18px; margin: 0 0 28px; color: var(--ink); font-size: 17px; }
.slim + .banner, h2 + .banner { margin-top: 28px; }

/* "That slot was just taken": the nearest slots are choices in the same form */
.nearest { border: 0; padding: 0; margin: 0; min-width: 0; }
.nearest .slots { margin-top: 28px; grid-template-columns: repeat(2, 1fr); }
.nearest li { position: relative; }
.pick { position: absolute; opacity: 0; width: 100%; height: 100%; margin: 0; cursor: pointer; }
.pick:checked + .t { background: var(--btn); color: #ffffff; box-shadow: 0 8px 20px rgba(0, 0, 0, 0.16); }
.pick:focus-visible + .t { outline: 2px solid #111111; outline-offset: 3px; }
.nearest + .small { margin-top: 28px; }
form > .btn { margin-top: 28px; }

/* Pages with one column: confirmation, manage, the states */
.col { width: 100%; max-width: 760px; margin: 0 auto; padding: 8px 16px 48px; }
.col > .card { max-width: none; }
@media (min-width: 900px) { .col { padding: 32px 0 96px; } }
.dark { background: var(--fade); color: #d8d8d8; border-radius: 24px; padding: 32px 24px; box-shadow: 0 20px 50px rgba(0, 0, 0, 0.18); }
@media (min-width: 900px) { .dark { padding: 56px; border-radius: 28px; } }
.dark h1 { color: #ffffff; font-size: 26px; font-weight: 300; letter-spacing: -0.03em; line-height: 1.15; }
@media (min-width: 900px) { .dark h1 { font-size: 42px; } }
.dark .k { color: #cfcfcf; font-size: 15px; margin-bottom: 14px; }
.dark .z { color: #d4d4d4; margin-top: 10px; font-size: 17px; }
.dark .acts { margin-top: 40px; display: flex; gap: 12px; flex-wrap: wrap; }
.dark .acts .btn { width: 100%; }
@media (min-width: 900px) { .dark .acts .btn { width: auto; } }
.dark .addl { margin-top: 36px; padding-top: 28px; border-top: 1px solid rgba(255, 255, 255, 0.14); font-size: 15px; color: #cfcfcf; }
.dark .links { margin-top: 10px; display: flex; gap: 8px 24px; flex-wrap: wrap; }
.dark .links a { color: #ffffff; display: inline-flex; align-items: center; min-height: 44px; }
.dark .inv { margin-top: 16px; font-size: 15px; color: #cfcfcf; }
.dark :focus-visible { outline-color: #ffffff; }
.sec { margin-top: 40px; padding-top: 32px; border-top: 1px solid var(--hair); }
@media (min-width: 900px) { .sec { margin-top: 64px; padding-top: 40px; } }
.sec h2 { font-size: 24px; font-weight: 400; letter-spacing: -0.02em; margin-bottom: 22px; }
@media (min-width: 900px) { .sec h2 { font-size: 28px; margin-bottom: 28px; } }
.sec .actions { margin-top: 24px; }
.sec .small { margin-top: 28px; }
.tl { list-style: none; margin: 0; padding: 0; display: grid; gap: 28px; }
.tl li { display: grid; grid-template-columns: 1fr; gap: 2px; }
@media (min-width: 900px) { .tl li { grid-template-columns: 120px 1fr; gap: 16px; } }
.tl .when { font-size: 15px; color: var(--muted); }
.tl b { display: block; color: var(--ink); font-weight: 500; }
@media (min-width: 560px) { .actions { grid-template-columns: repeat(auto-fit, minmax(200px, max-content)); } }
.check { margin-top: 36px; padding-top: 28px; border-top: 1px solid var(--hair); }
.check .ask { color: var(--ink); }
.check .actions { margin-top: 22px; }

/* The owner's page (/admin): plain, wide enough for a link, same look as the rest. */
.adm { width: 100%; max-width: 760px; margin: 0 auto; padding: 8px 16px 48px; display: grid; gap: 32px; }
@media (min-width: 900px) { .adm { padding: 32px 0 96px; } }
.adm .card { grid-area: auto; max-width: none; padding: 32px 24px; }
@media (min-width: 900px) { .adm .card { padding: 48px; } }
.verform .in { min-height: 52px; background: #ffffff; border-color: #d9d9d9; }
.h2 { font-size: 26px; font-weight: 400; letter-spacing: -0.02em; line-height: 1.25; margin-bottom: 8px; }
.adm .form { margin-top: 28px; }
.adm .list h2 { font-size: 22px; font-weight: 400; margin-bottom: 16px; }
.linkbtn { background: none; border: 0; padding: 0 4px; min-height: 44px; font: inherit; font-size: 15px; color: var(--ink); text-decoration: underline; text-underline-offset: 4px; cursor: pointer; }
.verform { display: grid; grid-template-columns: 1fr; gap: 10px; margin-bottom: 12px; }
.verform label { font-size: 15px; color: var(--ink); }
.leads { list-style: none; margin: 28px 0 0; padding: 0; display: grid; gap: 20px; }
.lead { background: #ffffff; border-radius: 20px; box-shadow: var(--shadow); padding: 24px; }
.lead.new { outline: 2px solid var(--ink); }
.lead h3 { font-size: 19px; font-weight: 500; }
.leadhead { display: flex; justify-content: space-between; gap: 16px; align-items: flex-start; margin-bottom: 8px; }
.linkrow { display: grid; grid-template-columns: 1fr auto; gap: 8px 12px; align-items: end; margin-top: 14px; }
.linkrow label { grid-column: 1 / -1; font-size: 14px; color: var(--muted); }
.linkrow .in { min-height: 48px; font-size: 14px; user-select: all; }
.linkrow .btn { min-height: 48px; padding: 0 18px; font-size: 15px; }
