@font-face { font-family: 'Bitter'; src: url('/fonts/bitter.woff2') format('woff2'); font-weight: 100 900; font-display: swap; }
@font-face { font-family: 'Wix Madefor Text'; src: url('/fonts/madefor.woff2') format('woff2'); font-weight: 400 800; font-display: swap; }
@font-face { font-family: 'Wix Madefor Text'; src: url('/fonts/madefor-italic.woff2') format('woff2'); font-weight: 400 800; font-style: italic; font-display: swap; }

:root {
  --bg: #f7f5f1;
  --card: #ffffff;
  --ink: #23262d;
  --ink-soft: #5d6470;
  --ink-faint: #8a909b;
  --line: #e6e1d8;
  --line-strong: #d4cdc1;
  --red: #b93a26;
  --red-dark: #962d1c;
  --red-wash: #fbebe6;
  --brass: #a8781f;
  --brass-wash: #f8efd9;
  --green: #2c7a52;
  --green-wash: #e2f2e8;
  --amber: #9a6309;
  --amber-wash: #fbf0d8;
  --blue: #2d5f9a;
  --blue-wash: #e6eef8;
  --violet: #6a4c9c;
  --violet-wash: #efe9f8;
  --gray-wash: #eef0f2;
  --radius: 14px;
  --radius-sm: 9px;
  --shadow: 0 1px 2px rgba(35, 38, 45, .05), 0 6px 18px rgba(35, 38, 45, .06);
  --display: 'Bitter', Georgia, serif;
  --body: 'Wix Madefor Text', -apple-system, 'Segoe UI', Helvetica, Arial, sans-serif;
  color-scheme: light;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--bg); color: var(--ink); font: 16px/1.6 var(--body); font-variant-numeric: tabular-nums; }
h1, h2, h3, h4 { font-family: var(--display); line-height: 1.2; margin: 0 0 .5em; font-weight: 700; letter-spacing: -.005em; }
h1 { font-size: clamp(1.7rem, 3.6vw, 2.5rem); }
h2 { font-size: clamp(1.3rem, 2.4vw, 1.7rem); }
h3 { font-size: 1.15rem; }
p { margin: 0 0 1em; }
a { color: var(--red-dark); text-underline-offset: 3px; }
a:hover { color: var(--red); }
img, svg { max-width: 100%; }
small, .small { font-size: .875rem; }
.muted { color: var(--ink-soft); }
.faint { color: var(--ink-faint); }
.wrap { max-width: 1180px; margin: 0 auto; padding: 0 20px; }
.narrow { max-width: 720px; }
.skip { position: absolute; left: -999px; }
.skip:focus { left: 12px; top: 12px; background: #fff; padding: 8px 12px; z-index: 99; border-radius: 8px; }
:focus-visible { outline: 3px solid #e7a08f; outline-offset: 2px; border-radius: 6px; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
hr { border: 0; border-top: 1px solid var(--line); margin: 24px 0; }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 44px; padding: 10px 18px; border-radius: 999px; border: 1px solid var(--line-strong); background: var(--card); color: var(--ink); font: 600 15px/1.2 var(--body); text-decoration: none; cursor: pointer; white-space: nowrap; transition: background .15s, border-color .15s; }
.btn:hover { border-color: var(--ink-faint); color: var(--ink); }
.btn-red { background: var(--red); border-color: var(--red); color: #fff; }
.btn-red:hover { background: var(--red-dark); border-color: var(--red-dark); color: #fff; }
.btn-quiet { border-color: transparent; background: transparent; }
.btn-quiet:hover { background: var(--gray-wash); }
.btn-sm { min-height: 36px; padding: 6px 13px; font-size: 14px; }
.btn-lg { min-height: 52px; padding: 13px 26px; font-size: 16.5px; }
.btn-danger { color: var(--red-dark); border-color: #efc5bb; }
.btn[disabled] { opacity: .5; cursor: not-allowed; }
.btn-row { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; }

/* Forms */
label { display: block; font-weight: 600; font-size: 14px; margin-bottom: 5px; }
.hint { font-weight: 400; color: var(--ink-soft); font-size: 13px; }
input:not([type]), input[type=text], input[type=email], input[type=password], input[type=tel], input[type=number], input[type=date], input[type=search], input[type=url], select, textarea {
  width: 100%; min-height: 44px; padding: 9px 12px; border: 1px solid var(--line-strong); border-radius: var(--radius-sm); background: #fff; color: var(--ink); font: 16px/1.4 var(--body);
}
textarea { min-height: 90px; resize: vertical; }
input:focus, select:focus, textarea:focus { outline: none; border-color: #d9826f; box-shadow: 0 0 0 3px #f6d9d1; }
input[type=checkbox], input[type=radio] { width: 18px; height: 18px; accent-color: var(--red); vertical-align: -3px; }
.check { display: flex; gap: 10px; align-items: flex-start; font-weight: 500; }
.field { margin-bottom: 16px; }
.grid2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 16px; }
.grid3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0 16px; }
.grid4 { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0 16px; }
@media (max-width: 720px) { .grid2, .grid3, .grid4 { grid-template-columns: 1fr; } }
fieldset { border: 1px solid var(--line); border-radius: var(--radius); padding: 18px 18px 4px; margin: 0 0 18px; background: #fff; }
legend { font-family: var(--display); font-weight: 700; padding: 0 6px; }
.hp { position: absolute; left: -5000px; }

/* Cards, notices, chips */
.card { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); padding: 20px; }
.card + .card { margin-top: 16px; }
.card h2, .card h3 { margin-top: 0; }
.notice { border-radius: var(--radius-sm); padding: 12px 16px; margin: 0 0 16px; background: var(--blue-wash); color: #1f446f; }
.notice.ok { background: var(--green-wash); color: #1d5a3b; }
.notice.warn { background: var(--amber-wash); color: #6f4706; }
.notice.err { background: var(--red-wash); color: #7d2516; }
.chip { display: inline-flex; align-items: center; gap: 5px; border-radius: 999px; padding: 2px 10px; font-size: 12.5px; font-weight: 700; background: var(--gray-wash); color: var(--ink-soft); white-space: nowrap; }
.chip.green { background: var(--green-wash); color: var(--green); }
.chip.amber { background: var(--amber-wash); color: var(--amber); }
.chip.red { background: var(--red-wash); color: var(--red-dark); }
.chip.blue { background: var(--blue-wash); color: var(--blue); }
.chip.brass { background: var(--brass-wash); color: var(--brass); }
.chip.violet { background: var(--violet-wash); color: var(--violet); }
.dot { width: 9px; height: 9px; border-radius: 50%; display: inline-block; background: currentColor; }

/* Tables */
.table-wrap { overflow-x: auto; -webkit-overflow-scrolling: touch; }
table.t { width: 100%; border-collapse: collapse; font-size: 15px; }
table.t th { text-align: left; font-size: 12.5px; text-transform: uppercase; letter-spacing: .04em; color: var(--ink-soft); font-weight: 700; padding: 8px 10px; border-bottom: 1px solid var(--line-strong); }
table.t td { padding: 10px; border-bottom: 1px solid var(--line); vertical-align: top; }
table.t tr:last-child td { border-bottom: 0; }
table.t .num { text-align: right; white-space: nowrap; }
table.t tfoot td { font-weight: 700; border-top: 1px solid var(--line-strong); }
.void td { color: var(--ink-faint); text-decoration: line-through; }

/* Stats */
.stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 12px; margin-bottom: 18px; }
.stat { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 14px 16px; }
.stat b { display: block; font: 700 1.6rem/1.1 var(--display); }
.stat span { color: var(--ink-soft); font-size: 13.5px; }

/* ---------- Marketing site ---------- */
.m-head { position: sticky; top: 0; z-index: 20; background: rgba(247, 245, 241, .92); backdrop-filter: blur(8px); border-bottom: 1px solid var(--line); }
.m-head .wrap { display: flex; align-items: center; gap: 18px; min-height: 66px; }
.brand { display: inline-flex; align-items: center; gap: 9px; text-decoration: none; color: var(--ink); font: 800 21px/1 var(--display); }
.brand svg { width: 34px; height: 34px; }
.brand em { font-style: normal; color: var(--red); }
.m-nav { display: flex; gap: 4px; margin-left: auto; align-items: center; }
.m-nav a { color: var(--ink); text-decoration: none; font-weight: 600; font-size: 15px; padding: 8px 12px; border-radius: 999px; }
.m-nav a:hover, .m-nav a[aria-current] { background: #ece7de; }
.m-menu { display: none; margin-left: auto; }
@media (max-width: 900px) {
  .m-nav { display: none; position: absolute; top: 66px; left: 0; right: 0; background: var(--bg); flex-direction: column; align-items: stretch; padding: 10px 20px 18px; border-bottom: 1px solid var(--line); box-shadow: var(--shadow); }
  .m-nav.open { display: flex; }
  .m-nav a { padding: 12px; }
  .m-menu { display: inline-flex; }
}
.hero { padding: 56px 0 40px; }
.hero-grid { display: grid; grid-template-columns: 1.05fr 1fr; gap: 44px; align-items: center; }
@media (max-width: 960px) { .hero-grid { grid-template-columns: 1fr; } }
.hero h1 { font-size: clamp(2.1rem, 4.6vw, 3.3rem); }
.hero .lede { font-size: 1.18rem; color: var(--ink-soft); max-width: 36em; }
.kicker { display: inline-block; font-weight: 700; color: var(--red-dark); font-size: 14px; margin-bottom: 12px; }
.section { padding: 56px 0; }
.section.alt { background: #fff; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: center; }
.split.flip > :first-child { order: 2; }
@media (max-width: 860px) { .split { grid-template-columns: 1fr; } .split.flip > :first-child { order: 0; } }
.ticks { list-style: none; padding: 0; margin: 0 0 1em; }
.ticks li { padding-left: 28px; position: relative; margin-bottom: 8px; }
.ticks li::before { content: ''; position: absolute; left: 4px; top: 8px; width: 12px; height: 7px; border-left: 2.5px solid var(--red); border-bottom: 2.5px solid var(--red); transform: rotate(-45deg); }
.desk-demo { background: #fff; border: 1px solid var(--line); border-radius: 18px; box-shadow: 0 18px 50px rgba(35, 38, 45, .12); padding: 14px; overflow: hidden; }
.desk-demo .dd-top { display: flex; justify-content: space-between; align-items: center; margin-bottom: 10px; font-size: 13px; color: var(--ink-soft); }
.dd-grid { display: grid; grid-template-columns: 52px repeat(7, minmax(0, 1fr)); gap: 3px; font-size: 12px; }
.dd-grid .h { color: var(--ink-faint); text-align: center; padding-bottom: 4px; font-weight: 600; }
.dd-grid .r { font-weight: 700; padding: 6px 0; }
.dd-grid .b { border-radius: 7px; padding: 6px 7px; font-weight: 700; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.feature-list { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 18px; }
.feature-list .card h3 { font-size: 1.08rem; }
.price-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; align-items: stretch; }
@media (max-width: 900px) { .price-grid { grid-template-columns: 1fr; } }
.price { display: flex; flex-direction: column; }
.price .amt { font: 800 2.4rem/1 var(--display); margin: 8px 0 2px; }
.price .amt small { font: 600 15px var(--body); color: var(--ink-soft); }
.price ul { flex: 1; }
.price.feature { border: 2px solid var(--red); }
.quote { font: italic 1.15rem/1.55 var(--display); border-left: 3px solid var(--brass); padding-left: 18px; color: #3a3d44; }
.faq details { border-bottom: 1px solid var(--line); padding: 14px 0; }
.faq summary { font-weight: 700; cursor: pointer; font-size: 17px; }
.faq details p { margin: 10px 0 0; color: var(--ink-soft); }
.m-foot { border-top: 1px solid var(--line); padding: 36px 0 90px; font-size: 14px; color: var(--ink-soft); }
.m-foot .cols { display: grid; grid-template-columns: 2fr 1fr 1fr 1.2fr 1fr; gap: 24px; }
@media (max-width: 760px) { .m-foot .cols { grid-template-columns: 1fr 1fr; } }
.m-foot a { color: var(--ink-soft); text-decoration: none; display: block; padding: 3px 0; }
.m-foot a:hover { color: var(--ink); }
.prose { max-width: 720px; }
.prose h2 { margin-top: 1.6em; }
.prose li { margin-bottom: .4em; }

/* ---------- App shell ---------- */
.a-top { background: #fff; border-bottom: 1px solid var(--line); position: sticky; top: 0; z-index: 30; }
.a-top .bar { display: flex; align-items: center; gap: 12px; min-height: 58px; padding: 0 16px; }
.a-top .brand { font-size: 18px; }
.a-top .brand svg { width: 28px; height: 28px; }
.prop-switch { font-weight: 700; color: var(--ink); text-decoration: none; padding: 6px 10px; border-radius: 9px; max-width: 40vw; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.prop-switch:hover { background: var(--gray-wash); }
.a-tabs { display: flex; gap: 2px; padding: 0 12px; overflow-x: auto; scrollbar-width: none; }
.a-tabs a { display: inline-flex; align-items: center; gap: 7px; padding: 10px 14px 11px; font-weight: 600; font-size: 15px; color: var(--ink-soft); text-decoration: none; border-bottom: 3px solid transparent; white-space: nowrap; }
.a-tabs a:hover { color: var(--ink); }
.a-tabs a[aria-current] { color: var(--ink); border-bottom-color: var(--red); }
.a-tabs svg, .a-bottom svg { width: 18px; height: 18px; }
.a-right { margin-left: auto; display: flex; gap: 6px; align-items: center; }
.a-main { padding: 22px 0 100px; }
.a-main .wrap { max-width: 1320px; }
.a-bottom { display: none; }
@media (max-width: 760px) {
  .a-tabs { display: none; }
  .a-bottom { display: flex; position: fixed; bottom: 0; left: 0; right: 0; background: #fff; border-top: 1px solid var(--line); z-index: 40; padding-bottom: env(safe-area-inset-bottom); }
  .a-bottom a { flex: 1; display: flex; flex-direction: column; align-items: center; gap: 2px; padding: 8px 2px 9px; font-size: 11.5px; font-weight: 600; color: var(--ink-soft); text-decoration: none; }
  .a-bottom a[aria-current] { color: var(--red); }
  .a-top .bar .hide-sm { display: none; }
}
.page-head { display: flex; flex-wrap: wrap; align-items: flex-end; gap: 12px; margin-bottom: 18px; }
.page-head h1 { margin: 0; font-size: 1.7rem; }
.page-head .btn-row { margin-left: auto; }
.trial-bar { background: var(--brass-wash); color: #6a4c12; font-size: 14px; padding: 8px 16px; text-align: center; }
.trial-bar a { color: #6a4c12; font-weight: 700; }
.cols-2 { display: grid; grid-template-columns: minmax(0, 2fr) minmax(0, 1fr); gap: 18px; }
@media (max-width: 960px) { .cols-2 { grid-template-columns: 1fr; } }
.list { list-style: none; margin: 0; padding: 0; }
.list li { display: flex; gap: 10px; align-items: center; padding: 10px 0; border-bottom: 1px solid var(--line); }
.list li:last-child { border-bottom: 0; }
.list .grow { flex: 1; min-width: 0; }
.settings-nav { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 18px; }
.settings-nav a { padding: 7px 13px; border-radius: 999px; background: #fff; border: 1px solid var(--line); text-decoration: none; color: var(--ink); font-weight: 600; font-size: 14px; }
.settings-nav a[aria-current] { background: var(--ink); color: #fff; border-color: var(--ink); }

/* Room grid */
.grid-tools { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; margin-bottom: 12px; }
.rg { position: relative; overflow: auto; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; max-height: calc(100vh - 230px); min-height: 300px; }
.rg table { border-collapse: separate; border-spacing: 0; font-size: 13.5px; }
.rg th, .rg td { border-right: 1px solid #f0ece5; border-bottom: 1px solid #f0ece5; height: 44px; padding: 0; }
.rg thead th { position: sticky; top: 0; background: #fbfaf7; z-index: 3; font-weight: 600; color: var(--ink-soft); min-width: 74px; text-align: center; font-size: 12.5px; line-height: 1.25; padding: 5px 2px; }
.rg thead th.today { color: var(--red-dark); background: #fdf1ed; }
.rg thead th.wkend { background: #f6f3ee; }
.rg tbody th { position: sticky; left: 0; background: #fff; z-index: 2; text-align: left; padding: 0 10px; min-width: 112px; font-weight: 700; white-space: nowrap; }
.rg tbody th .rt { display: block; font-size: 11.5px; color: var(--ink-faint); font-weight: 600; }
.rg thead th.corner { left: 0; z-index: 4; }
.rg td { position: relative; min-width: 74px; }
.rg td.drop { background: #fdf1ed; }
.rg td.today { background: #fffaf8; }
.rg .bar { position: absolute; top: 5px; bottom: 5px; left: 37px; border-radius: 9px; padding: 3px 9px; font-size: 12.5px; font-weight: 700; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; cursor: grab; z-index: 1; border: 1px solid transparent; text-decoration: none; display: flex; align-items: center; gap: 5px; }
.rg .bar.reserved { background: var(--blue-wash); color: #1f446f; border-color: #c4d6ee; }
.rg .bar.in_house { background: #dcefe3; color: #1d5a3b; border-color: #b6dcc4; }
.rg .bar.checked_out { background: var(--gray-wash); color: var(--ink-soft); }
.rg .bar.hold { background: var(--amber-wash); color: var(--amber); border-style: dashed; border-color: #e7c57e; }
.rg .bar.ota { box-shadow: inset 3px 0 0 var(--violet); }
.rg .bar.owes::after { content: '$'; margin-left: auto; color: var(--red-dark); }
.rg .bar.dragging { opacity: .45; }
.room-status { display: inline-block; width: 9px; height: 9px; border-radius: 50%; margin-right: 6px; vertical-align: 1px; }
.room-status.clean { background: #3aa26b; }
.room-status.inspected { background: #2d5f9a; }
.room-status.dirty { background: #d19323; }
.room-status.out_of_order { background: #9aa0aa; }
.rg-legend { display: flex; flex-wrap: wrap; gap: 14px; font-size: 13px; color: var(--ink-soft); margin-top: 10px; }
.live { font-size: 12.5px; color: var(--ink-faint); }
.live.on::before { content: ''; display: inline-block; width: 8px; height: 8px; border-radius: 50%; background: #3aa26b; margin-right: 6px; }

/* Housekeeping board */
.hk { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 12px; }
.hk .room { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 12px; }
.hk .room b { font: 800 1.5rem/1 var(--display); }
.hk form { display: inline; }
.hk .btn { width: 100%; margin-top: 6px; }

/* Desk forms */
.scan-box { border: 2px dashed var(--line-strong); border-radius: var(--radius); padding: 16px; background: #fcfbf9; }
.scan-box video { width: 100%; max-height: 260px; border-radius: 10px; background: #e8e4dc; object-fit: cover; }
.sig { border: 1px solid var(--line-strong); border-radius: var(--radius-sm); background: #fff; touch-action: none; width: 100%; height: 160px; }
.quote-box { background: #fcfbf9; border: 1px solid var(--line); border-radius: var(--radius); padding: 14px 16px; }
.quote-box .total { font: 800 1.5rem var(--display); }
.clock { display: inline-flex; align-items: baseline; gap: 6px; }
.clock b { font: 800 1.4rem var(--display); }
.timeline { list-style: none; padding: 0; margin: 0; font-size: 14px; }
.timeline li { padding: 6px 0; border-bottom: 1px dashed var(--line); }

/* Booking engine */
.b-head { background: #fff; border-bottom: 1px solid var(--line); }
.b-head .wrap { display: flex; align-items: center; gap: 14px; min-height: 70px; }
.b-head h1 { font-size: 1.35rem; margin: 0; }
.room-offer { display: grid; grid-template-columns: 1fr auto; gap: 16px; align-items: center; }
@media (max-width: 640px) { .room-offer { grid-template-columns: 1fr; } }
.room-offer .price-big { font: 800 1.6rem var(--display); text-align: right; }
.b-foot { font-size: 13px; color: var(--ink-faint); text-align: center; padding: 30px 0 50px; }

@media print {
  .a-top, .a-bottom, .btn, .settings-nav, .m-head, .m-foot, .no-print { display: none !important; }
  body { background: #fff; }
  .card { box-shadow: none; border: 0; }
}

/* Inline icons inside text and buttons */
h1 > svg, h2 > svg, h3 > svg, .kicker > svg, .btn > svg { width: 1.05em; height: 1.05em; flex: none; vertical-align: -0.15em; }
