:root {
  --paper: #f5f1e8;
  --card: #fffdf8;
  --ink: #1e2922;
  --muted: #5d6b61;
  --forest: #22382c;
  --moss: #5f7a5a;
  --clay: #b0603a;
  --line: #e2dccd;
  --danger: #a13c2c;
  --radius: 14px;
  --display: "Fraunces", Georgia, serif;
  --body: "Figtree", system-ui, -apple-system, "Segoe UI", sans-serif;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; overflow-x: hidden; }
body {
  margin: 0; background: var(--paper); color: var(--ink);
  font: 16px/1.55 var(--body); -webkit-font-smoothing: antialiased;
}
h1, h2, h3 { font-family: var(--display); font-weight: 500; line-height: 1.15; margin: 0; letter-spacing: -0.01em; text-wrap: balance; }
p { margin: 0; }
button { font: inherit; cursor: pointer; }
.wrap { max-width: 560px; margin: 0 auto; padding: 0 20px; }
.muted { color: var(--muted); }
.small { font-size: 14px; }
.eyebrow { font-size: 12px; letter-spacing: 0.14em; text-transform: uppercase; font-weight: 600; color: var(--moss); }

/* ---------- welcome ---------- */
.hero { position: relative; min-height: 62vh; display: flex; align-items: flex-end; color: #fff; background: var(--forest); overflow: hidden; }
.hero svg, .hero .photo { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, rgba(12,18,14,.94) 0%, rgba(12,18,14,.8) 22%, rgba(12,18,14,.45) 42%, rgba(12,18,14,0) 64%); }
.hero .wrap { position: relative; z-index: 1; width: 100%; padding-bottom: 34px; }
.hero .eyebrow { color: #d9e3cf; }
.badges { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-bottom: 16px; }
.badge { display: inline-flex; align-items: center; gap: 6px; padding: 7px 13px; border-radius: 999px; font-size: 13px; font-weight: 600; color: #fff; background: rgba(255,255,255,.16); border: 1px solid rgba(255,255,255,.38); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); }
.badge span { color: #f0cf7a; }
.badges .on { font-size: 12.5px; color: #d9e3cf; }
.msg a, p.muted a { color: var(--forest); font-weight: 600; text-decoration: underline; text-underline-offset: 2px; }
.hero h1 { font-size: clamp(34px, 9vw, 46px); margin: 10px 0 10px; text-shadow: 0 1px 14px rgba(0,0,0,.45); }
.hero p { color: #e6ebdf; max-width: 34ch; }
.pitch { padding: 30px 0 18px; }
.pitch h2 { font-size: 26px; margin-bottom: 6px; }
.benefits { list-style: none; margin: 22px 0 0; padding: 0; border-top: 1px solid var(--line); }
.benefits li { display: grid; grid-template-columns: 30px 1fr; gap: 12px; padding: 16px 0; border-bottom: 1px solid var(--line); }
.benefits .num { font-family: var(--display); color: var(--clay); font-size: 18px; }
.benefits strong { display: block; font-weight: 600; }
.cta { padding: 8px 0 44px; display: grid; gap: 12px; }
.fine { font-size: 13px; color: var(--muted); text-align: center; }

/* ---------- buttons and forms ---------- */
.btn { display: block; width: 100%; border: 0; border-radius: 999px; padding: 15px 22px; background: var(--forest); color: #fff; font-weight: 600; font-size: 16px; text-align: center; }
a.btn { text-decoration: none; }
.btn:hover { background: #1a2c22; }
.btn:disabled { opacity: .55; cursor: default; }
.btn.ghost { background: transparent; color: var(--forest); border: 1.5px solid var(--forest); }
.btn.ghost:hover { background: rgba(34,56,44,.06); }
.link { background: none; border: 0; padding: 0; color: var(--forest); text-decoration: underline; text-underline-offset: 3px; font-weight: 500; }
:focus-visible { outline: 2.5px solid var(--clay); outline-offset: 2px; }

.screen { padding-top: 28px; padding-bottom: 60px; }
.screen h1 { font-size: 30px; margin: 14px 0 8px; }
.back { background: none; border: 0; color: var(--muted); padding: 6px 0; font-size: 15px; }
form { display: grid; grid-template-columns: minmax(0, 1fr); gap: 16px; margin-top: 22px; }
label.field { display: grid; grid-template-columns: minmax(0, 1fr); gap: 6px; font-weight: 500; font-size: 15px; }
label.field span.hint { font-weight: 400; color: var(--muted); font-size: 13px; }
input[type=text], input[type=email], input[type=tel], input[type=date], input[type=search] {
  width: 100%; min-width: 0; max-width: 100%; font: inherit; color: var(--ink); background: var(--card);
  border: 1.5px solid var(--line); border-radius: 12px; padding: 13px 14px; min-height: 50px;
}
input:focus { border-color: var(--moss); outline: none; box-shadow: 0 0 0 3px rgba(95,122,90,.2); }
.check { display: grid; grid-template-columns: 22px 1fr; gap: 12px; align-items: start; font-size: 14.5px; color: var(--muted); }
.check input { width: 20px; height: 20px; margin: 2px 0 0; accent-color: var(--forest); }
.optins { display: grid; gap: 12px; padding: 16px; background: #efe9db; border-radius: var(--radius); }
.optins .eyebrow { color: var(--muted); }
.error { color: var(--danger); font-size: 14.5px; font-weight: 500; }
.note { background: #efe9db; border-radius: 12px; padding: 12px 14px; font-size: 14px; color: var(--muted); }
/* Safari sizes a wide-spaced input by its text, which pushed the page sideways on phones.
   The left padding offsets the space after the last digit so the code sits centered. */
.code-input { font-family: var(--display) !important; font-size: 28px !important; letter-spacing: .22em; text-align: center; padding-left: calc(14px + .22em) !important; padding-right: 14px !important; }

/* ---------- need-to-know steps ---------- */
.dots { display: flex; gap: 6px; margin: 4px 0 26px; }
.dots i { height: 4px; flex: 1; border-radius: 4px; background: var(--line); }
.dots i.on { background: var(--clay); }
.step-num { font-family: var(--display); font-size: 64px; line-height: 1; color: var(--clay); }
.step h1 { font-size: 32px; margin: 12px 0 14px; }
.step p { font-size: 17px; color: #36443a; }
.step .btn { margin-top: 30px; }

/* ---------- guest home ---------- */
.top { background: var(--forest); color: #fff; padding: 26px 0 60px; }
.top .row { display: flex; justify-content: space-between; align-items: center; }
.top .eyebrow { color: #c9d6bf; }
.top h1 { font-size: 32px; margin-top: 16px; }
.top .link { color: #dfe7d6; font-size: 14px; }
.lift { margin-top: -40px; display: grid; gap: 14px; padding-bottom: 110px; }
.card { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 18px; }
.card h2 { font-size: 20px; }
.dates { display: grid; grid-template-columns: 1fr 1fr; gap: 0; }
.dates > div + div { border-left: 1px solid var(--line); padding-left: 18px; }
.dates .big { font-family: var(--display); font-size: 21px; margin-top: 2px; }
.kv { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 12px 0; border-top: 1px solid var(--line); }
.kv:first-of-type { margin-top: 14px; }
.kv .v { font-weight: 600; font-variant-numeric: tabular-nums; }
.chip { border: 1px solid var(--line); background: var(--paper); border-radius: 999px; padding: 6px 12px; font-size: 13px; font-weight: 600; color: var(--forest); }
.todo { border-color: #e4c9b6; background: #fbf1e7; display: flex; justify-content: space-between; align-items: center; gap: 14px; }
.todo .btn { width: auto; padding: 11px 18px; font-size: 15px; white-space: nowrap; }
.ask { display: grid; grid-template-columns: 1fr auto; gap: 8px; margin-top: 12px; }
.ask button { border: 0; border-radius: 12px; background: var(--forest); color: #fff; padding: 0 18px; font-weight: 600; min-height: 50px; }
.tiles { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.tile { text-align: left; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 16px; display: grid; gap: 10px; color: var(--ink); min-height: 96px; }
.tile:hover { border-color: var(--moss); }
.tile svg { width: 24px; height: 24px; stroke: var(--moss); fill: none; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.tile b { font-weight: 600; }
.tile small { color: var(--muted); font-size: 13px; }

/* ---------- guide section and search ---------- */
details.item { background: var(--card); border: 1px solid var(--line); border-radius: 12px; }
details.item + details.item { margin-top: 8px; }
details.item summary { list-style: none; cursor: pointer; padding: 15px 16px; font-weight: 600; display: flex; justify-content: space-between; gap: 12px; }
details.item summary::-webkit-details-marker { display: none; }
details.item summary::after { content: "+"; color: var(--moss); font-size: 20px; line-height: 1; }
details.item[open] summary::after { content: "\2212"; }
details.item .body { padding: 0 16px 16px; white-space: pre-line; color: #36443a; }
.results-label { margin: 18px 0 10px; }

/* ---------- concierge ---------- */
.chat { display: grid; gap: 10px; margin-top: 18px; }
.msg { max-width: 88%; padding: 12px 14px; border-radius: 16px; white-space: pre-line; }
.msg.q { justify-self: end; background: var(--forest); color: #fff; border-bottom-right-radius: 4px; }
.msg.a { justify-self: start; background: var(--card); border: 1px solid var(--line); border-bottom-left-radius: 4px; }
.msg .src { display: block; margin-top: 8px; font-size: 12.5px; color: var(--muted); }
.suggest { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 14px; }
.suggest button { border: 1px solid var(--line); background: var(--card); border-radius: 999px; padding: 8px 14px; font-size: 14px; color: var(--forest); }
.composer { position: fixed; left: 0; right: 0; bottom: 64px; background: linear-gradient(to top, var(--paper) 70%, transparent); padding: 14px 0 12px; }

/* ---------- bottom nav ---------- */
.nav { position: fixed; left: 0; right: 0; bottom: 0; background: var(--card); border-top: 1px solid var(--line); padding-bottom: env(safe-area-inset-bottom); z-index: 5; }
.nav .wrap { display: grid; grid-template-columns: repeat(3, 1fr); }
.nav button { background: none; border: 0; padding: 10px 0 9px; display: grid; justify-items: center; gap: 3px; color: var(--muted); font-size: 12px; font-weight: 600; }
.nav button svg { width: 22px; height: 22px; stroke: currentColor; fill: none; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.nav button[aria-current=page] { color: var(--forest); }

@media (prefers-reduced-motion: no-preference) {
  .screen, .lift > * { animation: rise .35s ease both; }
  @keyframes rise { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }
}
