:root, .cl-theme-dark {
  --bg: #0f1216; --panel: #171d26; --line: #273140; --text: #e8eaed; --dim: #9aa7b8;
  --amber: #e8a33d; --amber-deep: #c77f1a; --green: #2f9e73;
  --amber-text: #e8a33d; --green-text: #7ed3ae;
  --nav-bg: color-mix(in srgb, #111315 86%, transparent); --nav-line: #2b3036;
  --pill-bg: #15181b; --hover-bg: #20242a; --primary: #3b82f6;
  --cm-grid-bg: #12171e; --grid-line: rgba(255, 255, 255, .03);
  --hatch-a: rgba(255, 255, 255, .02); --hatch-b: rgba(255, 255, 255, .055);
  --tip-bg: #e4e4e7; --tip-text: #18181b; --mock-shadow: 0 22px 55px rgba(0, 0, 0, .42);
  color-scheme: dark;
}
:root[data-theme="light"], .cl-theme-light {
  --bg: #e7e5df; --panel: #f5f3ed; --line: #c7c2b8; --text: #10151b; --dim: #444f5c;
  --amber-deep: #d08a1d;
  --amber-text: #5f3d08; --green-text: #176b45;
  --nav-bg: color-mix(in srgb, #f5f3ed 88%, transparent); --nav-line: #c7c2b8;
  --pill-bg: #f5f3ed; --hover-bg: #e0dcd2; --primary: #2563eb;
  --cm-grid-bg: #efede7; --grid-line: rgba(15, 23, 42, .075);
  --hatch-a: rgba(15, 23, 42, .035); --hatch-b: rgba(15, 23, 42, .085);
  --tip-bg: #1e293b; --tip-text: #f1f5f9; --mock-shadow: 0 22px 55px rgba(15, 23, 42, .16);
  color-scheme: light;
}
* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body, .cl-clone-body {
  background: var(--bg); color: var(--text);
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  line-height: 1.55; -webkit-font-smoothing: antialiased;
}
a { color: inherit; }
/* Pinned full-width bar; padding-inline centers the content column at 1060px. */
.cl-nav {
  position: sticky; top: 0; z-index: 40; display: flex; align-items: center; gap: 12px;
  height: 56px; padding: 0 20px; box-sizing: border-box;
  border-bottom: 1px solid var(--nav-line);
  background: var(--nav-bg);
  backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
}
.cl-brand { display: flex; align-items: center; gap: 10px; font-weight: 700; font-size: 17px; letter-spacing: -.02em; text-decoration: none; white-space: nowrap; }
.cl-brand img { width: 28px; height: 28px; border-radius: 9px; display: block; box-shadow: 0 4px 14px rgb(0 0 0 / .22); }
.cl-brand-text { background: linear-gradient(90deg, #fff, #d4d4d8 60%, #a1a1aa); -webkit-background-clip: text; background-clip: text; color: transparent; line-height: 1.15; }
.cl-brand-text small { display: block; color: var(--dim); font-size: 11px; font-weight: 650; line-height: 1; letter-spacing: 0; -webkit-text-fill-color: var(--dim); }
.cl-spacer { flex: 1; }
.cl-langs { display: flex; background: var(--pill-bg); border: 1px solid var(--nav-line); border-radius: 9px; padding: 2px; gap: 2px; }
.cl-langs a { padding: 4px 9px; border-radius: 7px; text-decoration: none; color: var(--dim); font-size: 11px; font-weight: 600; transition: color .15s, background .15s; }
.cl-langs a:hover { color: var(--text); }
.cl-langs a.on { color: #241708; background: var(--amber); }
.cl-vsep { width: 1px; height: 16px; background: var(--nav-line); margin: 0 4px; flex: none; }
.cl-login { color: var(--dim); text-decoration: none; font-size: .86rem; font-weight: 600; padding: 7px 2px; white-space: nowrap; }
.cl-login:hover { color: var(--text); }

.cl-btn {
  display: inline-block; font-weight: 600; text-decoration: none; border-radius: 9px;
  padding: 11px 22px; font-size: .95rem; transition: background .15s;
}
.cl-btn.amber { background: var(--amber); color: #241708; }
.cl-btn.amber:hover { background: var(--amber-deep); }
.cl-btn.ghost { border: 1px solid var(--line); color: var(--text); }
.cl-btn.ghost:hover { background: var(--panel); }
.cl-btn.small { padding: 7px 15px; font-size: .86rem; }

.cl-hero { max-width: 1060px; margin: 0 auto; padding: 48px 20px 56px; display: grid; grid-template-columns: 1.02fr .98fr; gap: 42px; align-items: center;
  min-height: calc(100vh - 56px); min-height: calc(100svh - 56px); }
.cl-badge {
  display: inline-block; font-size: .78rem; font-weight: 600; color: var(--amber-text);
  background: rgba(232, 163, 61, .1); border: 1px solid rgba(232, 163, 61, .3);
  padding: 4px 13px; border-radius: 999px; margin-bottom: 22px;
}
.cl-hero h1 {
  font-size: clamp(1.9rem, 4.6vw, 3rem); line-height: 1.16; letter-spacing: -.02em;
  margin-bottom: 18px;
}
.cl-hero h1 .acc { color: var(--amber-text); }
.cl-hero .sub { font-size: 1.06rem; color: var(--dim); max-width: 520px; margin: 0 0 28px; }
.cl-cta-row { display: flex; gap: 12px; flex-wrap: wrap; margin-bottom: 14px; }
.cl-note { font-size: .82rem; color: var(--dim); }

.cl-section { max-width: 1060px; margin: 0 auto; padding: 46px 20px; }
.cl-section h2 {
  font-size: clamp(1.4rem, 3vw, 1.9rem); letter-spacing: -.01em;
  text-align: center; margin: 0 0 34px;
}
.cl-section .lead { text-align: center; color: var(--dim); max-width: 940px; margin: 0 auto 36px; }
.cl-section.strip-sec { padding-top: 0; }

.cl-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(290px, 1fr)); gap: 14px; }
.cl-card {
  background: var(--panel); border: 1px solid var(--line); border-radius: 13px; padding: 22px;
}
.cl-card h3 { font-size: 1.02rem; margin-bottom: 8px; display: flex; align-items: center; gap: 9px; }
.cl-card h3 .ic { color: var(--amber-text); flex-shrink: 0; }
.cl-card p, .cl-step p, .cl-privacy p { text-align: justify; hyphens: auto; }
.cl-card p { font-size: .9rem; color: var(--dim); }

.cl-steps { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 14px; counter-reset: step; }
.cl-step { padding: 22px; background: var(--panel); border: 1px solid var(--line); border-radius: 13px; }
.cl-step .num {
  width: 30px; height: 30px; border-radius: 50%; background: rgba(232, 163, 61, .12);
  color: var(--amber-text); font-weight: 700; display: flex; align-items: center; justify-content: center;
  margin-bottom: 12px; font-size: .92rem;
}
.cl-step h3 { font-size: 1rem; margin-bottom: 7px; }
.cl-step p { font-size: .89rem; color: var(--dim); }

.cl-privacy {
  background: linear-gradient(135deg, rgba(47, 158, 115, .09), rgba(232, 163, 61, .06));
  border: 1px solid var(--line); border-radius: 16px; padding: 34px 30px;
  display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 18px;
}
.cl-privacy h3 { font-size: .98rem; margin-bottom: 6px; color: var(--green-text); }
.cl-privacy p { font-size: .88rem; color: var(--dim); }

.cl-final { text-align: center; padding: 60px 20px 70px; }
.cl-final h2 { font-size: clamp(1.5rem, 3.2vw, 2.1rem); margin-bottom: 14px; letter-spacing: -.01em; }
.cl-final p { color: var(--dim); margin-bottom: 26px; }

.cl-footer {
  border-top: 1px solid var(--line); padding: 24px 20px; text-align: center;
  font-size: .82rem; color: var(--dim);
}
.cl-footer a { color: var(--dim); text-decoration: none; margin: 0 8px; }
.cl-footer a:hover { color: var(--text); }

@media (max-width: 560px) {
  .cl-hero { padding: 48px 16px 42px; }
  /* the bar is fixed-height: the nav CTA and brand subtitle yield their room,
     the hero carries the same action one scroll-free glance below */
  .cl-nav .cl-btn, .cl-nav .cl-login { display: none; }
  .cl-brand-text small { display: none; }
}

/* hero booking-widget mock - a static visual echoing the real week grid */
.cl-mock {
  background: var(--panel); border: 1px solid var(--line); border-radius: 15px;
  padding: 17px; box-shadow: var(--mock-shadow);
}
.cm-top { display: flex; align-items: center; justify-content: space-between; margin-bottom: 8px; }
.cm-label { font: 600 .64rem ui-monospace, SFMono-Regular, Menlo, monospace; letter-spacing: .08em; color: var(--dim); }
.cm-tz {
  font: .68rem ui-monospace, SFMono-Regular, Menlo, monospace; color: var(--text);
  background: var(--bg); border: 1px solid var(--line); padding: 3px 9px; border-radius: 6px;
}
.cm-sub { font-size: .82rem; margin-bottom: 12px; }
.cm-sub span { color: var(--dim); }
.cm-controls { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 7px; margin-bottom: 12px; }
.cm-durs { display: inline-flex; gap: 5px; }
.cm-dur {
  font: .66rem ui-monospace, SFMono-Regular, Menlo, monospace; padding: 4px 9px; border-radius: 6px;
  border: 1px solid var(--line); background: var(--bg); color: var(--dim);
}
.cm-dur.on { background: var(--amber); border-color: var(--amber); color: #241708; font-weight: 700; }
.cm-range { font: .66rem ui-monospace, SFMono-Regular, Menlo, monospace; color: var(--dim); }
.cm-grid { border: 1px solid var(--line); border-radius: 9px; overflow: hidden; background: var(--cm-grid-bg); }
.cm-head {
  display: grid; grid-template-columns: 46px repeat(5, 1fr); border-bottom: 1px solid var(--line);
  background: var(--panel); font: .6rem ui-monospace, SFMono-Regular, Menlo, monospace;
  text-align: center; color: var(--dim);
}
.cm-head div { padding: 7px 3px; border-right: 1px solid var(--line); }
.cm-head div:last-child { border-right: none; }
.cm-head .today { color: var(--amber-text); font-weight: 700; }
.cm-body { display: grid; grid-template-columns: 46px repeat(5, 1fr); height: 187px; }
.cm-times {
  display: block; padding: 0 5px; position: relative;
  font: .58rem ui-monospace, SFMono-Regular, Menlo, monospace; color: var(--dim);
  text-align: right; border-right: 1px solid var(--line);
}
/* hour lines sit on a 22px pitch starting at 11px; labels pin to every other line */
.cm-times span { position: absolute; right: 5px; transform: translateY(-50%); }
.cm-times span:nth-child(1) { top: 11px; }
.cm-times span:nth-child(2) { top: 55px; }
.cm-times span:nth-child(3) { top: 99px; }
.cm-times span:nth-child(4) { top: 143px; }
.cm-col {
  position: relative; border-right: 1px solid var(--line); padding: 5px;
  background-image: linear-gradient(to bottom, var(--grid-line) 1px, transparent 1px);
  background-size: 100% 22px;
  background-position: 0 11px;
}
.cm-col:last-child { border-right: none; }
.cm-col.hatched {
  background: repeating-linear-gradient(-45deg, var(--hatch-a), var(--hatch-a) 5px, var(--hatch-b) 5px, var(--hatch-b) 10px);
}
.cm-free {
  position: absolute; left: 4px; right: 4px; border-radius: 5px;
  background: rgba(232, 163, 61, .2); border: 1px solid rgba(232, 163, 61, .38);
}
.cm-foot {
  margin-top: 10px; font: .64rem ui-monospace, SFMono-Regular, Menlo, monospace;
  color: var(--dim); display: flex; justify-content: space-between; gap: 8px;
}
.cm-foot .cm-ok { color: var(--amber-text); }

@media (max-width: 900px) {
  .cl-hero { grid-template-columns: 1fr; text-align: center; padding-top: 48px; }
  .cl-hero .sub { margin: 0 auto 28px; }
  .cl-cta-row { justify-content: center; }
  .cl-mock { max-width: 520px; margin: 0 auto; }
}

/* interactive demo states */
.cm-prev {
  position: absolute; left: 4px; right: 4px; border-radius: 4px;
  background: rgba(232, 163, 61, .3); pointer-events: none;
}
.cm-pick {
  position: absolute; left: 4px; right: 4px; border-radius: 4px;
  background: var(--amber); color: #241708; pointer-events: none;
  font: 600 .58rem ui-monospace, SFMono-Regular, Menlo, monospace;
  display: flex; align-items: center; justify-content: center; overflow: hidden;
}
.cm-tip {
  position: absolute; z-index: 4; pointer-events: none; background: var(--tip-bg); color: var(--tip-text);
  font: .62rem ui-monospace, SFMono-Regular, Menlo, monospace; padding: 4px 9px; border-radius: 6px;
  white-space: nowrap; box-shadow: 0 8px 22px rgba(0, 0, 0, .35); transform: translateY(-50%);
}
.cm-tip-arrow { position: absolute; top: 50%; width: 7px; height: 7px; background: var(--tip-bg); transform: translateY(-50%) rotate(45deg); }
.cm-tip-arrow.right { right: -3px; } .cm-tip-arrow.left { left: -3px; }

/* step-3 url examples */
.cl-urls { display: flex; flex-direction: column; gap: 7px; margin-bottom: 12px; }
.cl-url-row { display: flex; flex-wrap: wrap; align-items: baseline; gap: 3px 9px; }
.cl-urls code {
  font: .78rem ui-monospace, SFMono-Regular, Menlo, monospace; color: var(--amber-text);
  background: rgba(232, 163, 61, .08); border: 1px solid rgba(232, 163, 61, .25);
  padding: 2px 7px; border-radius: 6px; white-space: nowrap;
}
.cl-urls em { font-style: normal; color: var(--dim); font-size: .8rem; }

.cm-form { padding: 12px 14px 14px; display: flex; flex-direction: column; gap: 8px; }
.cm-form[hidden] { display: none; }
.cm-form-time {
  font: .72rem ui-monospace, SFMono-Regular, Menlo, monospace;
  color: var(--amber-text); margin-bottom: 2px;
}
.cm-form input, .cm-form textarea {
  width: 100%; background: var(--bg); border: 1px solid var(--line); border-radius: 7px;
  color: var(--text); font: .82rem system-ui, sans-serif; padding: 7px 10px; outline: none;
  resize: none;
}
.cm-form input:focus, .cm-form textarea:focus { border-color: var(--amber); }
.cm-form input:-webkit-autofill, .cm-form textarea:-webkit-autofill {
  -webkit-box-shadow: 0 0 0 1000px var(--bg) inset;
  -webkit-text-fill-color: var(--text);
  caret-color: var(--text);
}
.cm-form input::placeholder, .cm-form textarea::placeholder { color: var(--dim); opacity: .7; }
.cm-form-actions { display: flex; gap: 8px; align-items: center; margin-top: 2px; }
.cm-back {
  background: none; border: none; color: var(--dim); font: .78rem system-ui, sans-serif;
  cursor: pointer; padding: 6px 4px;
}
.cm-back:hover { color: var(--text); }
.cm-send {
  flex: 1; background: var(--amber); color: #241708; border: none; border-radius: 7px;
  font: 600 .82rem system-ui, sans-serif; padding: 8px 12px; cursor: pointer;
}
.cm-send:hover { background: var(--amber-deep); }
.cm-form-demo {
  font-size: .66rem; color: var(--dim); opacity: .75; text-align: center; margin-top: 2px;
}
.cm-done {
  padding: 34px 16px 30px; display: flex; flex-direction: column; align-items: center; gap: 10px;
  text-align: center;
}
.cm-done[hidden] { display: none; }
.cm-done-check {
  width: 34px; height: 34px; border-radius: 50%; background: var(--green); color: #fff;
  display: flex; align-items: center; justify-content: center; font-size: 1.05rem; font-weight: 700;
}
.cm-done strong { font-size: .95rem; color: var(--text); }
.cm-done p { font-size: .8rem; color: var(--dim); max-width: 300px; }

/* brand gradient only exists in the dark theme (shell parity); light gets solid text */
:root[data-theme="light"] .cl-brand-text, .cl-theme-light .cl-brand-text { background: none; -webkit-background-clip: unset; background-clip: unset; color: var(--text); }

/* theme toggle — navlink icon-only, sun/moon swap ported from the shell */
.cl-theme-toggle {
  display: inline-flex; align-items: center; justify-content: center; width: 32px; height: 32px;
  border: none; border-radius: 9px; background: none; color: var(--dim); cursor: pointer;
  transition: color .15s, background .15s; flex: none; padding: 0;
}
.cl-theme-toggle:hover { color: var(--text); background: var(--hover-bg); }
.icon-sun { display: none; }
:root[data-theme="dark"] .icon-sun, .cl-theme-dark .icon-sun { display: block; }
:root[data-theme="dark"] .icon-moon, .cl-theme-dark .icon-moon { display: none; }
