/* Concierge by buyok.ai — public marketing pages.
   Loaded by the homepage, sample demos, terms and credits.
   Functional pages keep css/styles.css. */

@font-face {
  font-family: "Inter Tight";
  src: url("../assets/marketing/fonts/InterTight-Variable.woff2") format("woff2");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}

:root {
  --ink: #111111;
  --ink-2: #2a2a2a;
  --muted: #5c5c5c;
  --faint: #8a8a8a;
  --paper: #ffffff;
  --paper-2: #f3f3f3;
  --white: #ffffff;
  --line: #e5e5e5;
  --line-strong: #d0d0d0;
  --accent: #d4392f;
  --accent-hover: #b42f26;
  --held: #d4392f;
  --ok: #111111;
  --danger: #d4392f;
  --shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
  --shadow-soft: 0 1px 2px rgba(0, 0, 0, 0.06);
  --radius: 8px;
  --radius-sm: 4px;
  --sans: "Inter Tight", system-ui, -apple-system, sans-serif;
  --max: 1160px;
  --nav-h: 64px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 80px; }
body {
  margin: 0;
  overflow-x: hidden;
  font-family: var(--sans);
  background: var(--paper);
  color: var(--ink);
  font-size: 17px;
  line-height: 1.55;
  letter-spacing: -0.011em;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img, svg { max-width: 100%; display: block; }
a { color: inherit; }
button, input, select, textarea { font: inherit; color: inherit; }
h1, h2, h3, h4 {
  font-family: var(--sans);
  font-weight: 700;
  letter-spacing: -0.045em;
  line-height: 1.08;
  margin: 0 0 0.45em;
  font-style: normal;
}
h1 { font-size: clamp(2.35rem, 5.2vw, 4.15rem); letter-spacing: -0.05em; line-height: 1.02; }
h2 { font-size: clamp(1.7rem, 3.2vw, 2.55rem); }
h3 { font-size: 1.15rem; font-weight: 650; letter-spacing: -0.03em; }
p { margin: 0 0 1em; }
p:last-child { margin-bottom: 0; }

.skip {
  position: absolute; left: 16px; top: -48px; z-index: 100;
  background: var(--ink); color: var(--white); padding: 8px 12px; border-radius: var(--radius-sm); text-decoration: none;
}
.skip:focus { top: 12px; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }

.wrap { width: min(var(--max), calc(100% - 40px)); margin: 0 auto; }
.kicker {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 13px; font-weight: 650; letter-spacing: 0.04em;
  text-transform: uppercase; color: var(--accent); margin-bottom: 14px;
}
.lede { font-size: clamp(1.05rem, 1.4vw, 1.2rem); color: var(--ink-2); line-height: 1.5; max-width: 38rem; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 46px; padding: 0 18px; border-radius: var(--radius-sm);
  text-decoration: none; font-weight: 650; font-size: 15px; letter-spacing: -0.01em;
  border: 1px solid transparent; cursor: pointer; background: none;
  transition: background .15s, color .15s, border-color .15s;
}
.btn-primary { background: var(--accent); color: var(--white); }
.btn-primary:hover { background: var(--accent-hover); }
.btn-light { background: var(--white); color: var(--accent); }
.btn-light:hover { background: var(--ink); color: var(--white); }
.btn-ghost { border-color: var(--line-strong); color: var(--ink); background: transparent; }
.btn-ghost:hover { background: var(--paper-2); border-color: var(--ink); }
.btn-ghost-light { border-color: rgba(255,255,255,.7); color: var(--white); }
.btn-ghost-light:hover { background: var(--white); color: var(--accent); }
.btn-block { width: 100%; }
.cta-row { display: flex; flex-wrap: wrap; gap: 10px; }

/* Header */
.site-header {
  position: sticky; top: 0; z-index: 50;
  height: var(--nav-h);
  background: var(--white);
  border-bottom: 1px solid var(--line);
}
.nav {
  display: flex; align-items: center; gap: 18px; height: var(--nav-h);
}
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; min-width: 0; }
.brand-mark {
  width: 32px; height: 32px; border-radius: var(--radius-sm);
  background: var(--accent); color: var(--white);
  display: grid; place-items: center; flex: none;
}
.brand-mark svg { width: 18px; height: 18px; }
.brand-text { display: flex; flex-direction: column; gap: 1px; line-height: 1.15; }
.brand-name { font-weight: 700; font-size: 15px; letter-spacing: -0.03em; }
.brand-by { font-size: 11px; color: var(--muted); font-weight: 500; letter-spacing: 0.01em; }
.nav-links {
  display: flex; align-items: center; gap: 22px;
  list-style: none; margin: 0 auto 0 18px; padding: 0;
}
.nav-links a {
  text-decoration: none; font-size: 14px; font-weight: 550; color: var(--ink-2);
}
.nav-links a:hover { color: var(--accent); }
.nav-actions { display: flex; align-items: center; gap: 8px; margin-left: auto; }
.nav-actions .btn { min-height: 38px; padding: 0 14px; font-size: 14px; }
.menu-toggle {
  display: none; width: 42px; height: 42px; border: 0; background: none; cursor: pointer;
  color: var(--ink);
}
.mobile-menu {
  display: none; position: absolute; inset: var(--nav-h) 16px auto; padding: 8px 12px;
  background: var(--white); border: 1px solid var(--line); border-radius: var(--radius);
  box-shadow: var(--shadow); list-style: none; margin: 0;
}
.mobile-menu a { display: block; padding: 12px 8px; text-decoration: none; font-weight: 550; }
.mobile-menu.is-open { display: block; }

/* Hero — split, photo full-bleed to the right, product UI overlapping */
.hero {
  position: relative;
  color: var(--ink);
  background: var(--white);
  padding: 0;
  overflow: hidden;
}
.hero-split {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.12fr);
  min-height: 36rem;
}
.hero-copy {
  display: flex;
  align-items: center;
  background: var(--white);
}
.hero-copy-inner {
  width: 100%;
  padding: 56px 48px 56px max(20px, calc((100vw - var(--max)) / 2));
}
.hero-visual { position: relative; min-height: 36rem; }
.hero-photo {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover; object-position: 28% 50%;
  background: var(--paper-2);
}
.hero .lede { color: var(--ink-2); }
.hero-note { margin-top: 22px; font-size: 13px; color: var(--muted); }
.hero-card {
  position: absolute; left: 24px; bottom: 24px;
  width: min(352px, calc(100% - 32px));
  background: var(--white); color: var(--ink);
  border-radius: var(--radius); padding: 16px 16px 18px;
  box-shadow: var(--shadow); border: 1px solid var(--line);
}
.hero-card .card-label {
  display: flex; justify-content: space-between; align-items: center; gap: 8px;
  font-size: 11px; font-weight: 650; letter-spacing: .04em; text-transform: uppercase;
  color: var(--muted); margin-bottom: 14px;
}
.badge {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: 10px; font-weight: 700; letter-spacing: .05em; text-transform: uppercase;
  padding: 3px 7px; border-radius: var(--radius-sm);
  border: 1px solid var(--line-strong); color: var(--muted); background: var(--white);
}
.badge-sample { border-color: var(--line-strong); color: var(--muted); }
.badge-live { border-color: var(--accent); color: var(--accent); }
.badge-live::before {
  content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--accent);
}

/* Booking calendar widget (hero product UI) */
.booking-ui { display: grid; gap: 14px; }
.booking-meta {
  display: grid; grid-template-columns: 1fr 1fr; gap: 8px;
  border-bottom: 1px solid var(--line); padding-bottom: 12px;
}
.booking-k { display: block; font-size: 11px; color: var(--muted); font-weight: 600; margin-bottom: 2px; }
.booking-meta strong { font-size: 14px; letter-spacing: -0.02em; }
.booking-times {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px;
}
.booking-times span {
  display: grid; place-items: center; min-height: 36px;
  border: 1px solid var(--line-strong); border-radius: var(--radius-sm);
  font-size: 13px; font-weight: 650;
  background: var(--white);
}
.booking-times .is-selected { background: var(--accent); color: var(--white); border-color: var(--accent); }
.booking-times .is-busy { color: var(--faint); text-decoration: line-through; background: var(--paper-2); border-color: var(--line); }
.booking-confirm {
  font-size: 13px; font-weight: 650;
  padding: 10px 12px; border: 1px solid var(--accent); color: var(--accent);
  border-radius: var(--radius-sm); background: var(--white);
}

/* Proof */
.proof { padding: 28px 0; border-bottom: 1px solid var(--line); background: var(--white); }
.proof-caption { font-size: 12px; font-weight: 650; letter-spacing: .04em; text-transform: uppercase; color: var(--muted); margin-bottom: 16px; }
.proof-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.proof-item strong {
  display: block; font-size: clamp(1.8rem, 3vw, 2.4rem);
  font-weight: 700; letter-spacing: -0.045em;
}
.proof-item span { color: var(--muted); font-size: 14px; }
.placeholder-note {
  display: inline-block; margin-left: 8px; padding: 2px 7px; border-radius: var(--radius-sm);
  border: 1px solid var(--line-strong); color: var(--muted); font-size: 10px; font-weight: 700;
  letter-spacing: .05em; text-transform: uppercase; vertical-align: middle;
}

/* Sections */
.section { padding: 88px 0; }
.section-head { max-width: 40rem; margin-bottom: 40px; }
.section.alt { background: var(--paper-2); }
.section.ink, .section.tint {
  background: var(--paper-2); color: var(--ink);
}
.section.tint .lede, .section.tint .muted { color: var(--ink-2); }
.muted { color: var(--muted); }

/* Demo tenants */
.tenant-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.tenant {
  display: flex; flex-direction: column; background: var(--white);
  border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line);
  text-decoration: none; color: inherit;
  transition: border-color .15s;
}
.tenant:hover { border-color: var(--ink); }
.tenant img { width: 100%; height: 200px; object-fit: cover; }
.tenant-body { padding: 18px 18px 20px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.tenant-body p { color: var(--muted); font-size: 15px; }
.tenant-body .btn { margin-top: auto; align-self: flex-start; min-height: 40px; }

/* Flow diagram */
.flow {
  position: relative; background: var(--white); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 24px 16px 18px; overflow: hidden;
}
.flow-nodes {
  display: grid; grid-template-columns: repeat(6, 1fr); gap: 10px; position: relative; z-index: 1;
}
.flow-node {
  background: var(--white); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 14px 10px 12px; text-align: center; min-height: 132px;
  transition: border-color .3s, color .3s;
}
.flow-node.is-active {
  border-color: var(--accent); border-width: 2px; padding: 13px 9px 11px;
}
.flow-icon {
  width: 32px; height: 32px; margin: 0 auto 8px; border-radius: var(--radius-sm);
  background: var(--paper-2); color: var(--ink);
  display: grid; place-items: center;
}
.flow-node.is-active .flow-icon { background: var(--accent); color: var(--white); }
.flow-icon svg { width: 18px; height: 18px; }
.flow-node h3 { font-size: 13px; margin: 0 0 4px; letter-spacing: -0.02em; }
.flow-node p { font-size: 12px; color: var(--muted); margin: 0; line-height: 1.35; }
.flow-track {
  position: relative; height: 28px; margin: 8px 8% 0;
}
.flow-track line, .flow-track path { fill: none; }
.packet {
  position: absolute; top: 10px; width: 8px; height: 8px; margin-left: -4px;
  border-radius: 0; background: var(--accent);
  offset-path: path("M 0 10 L 1000 10");
  animation: packet 7s linear infinite;
}
@keyframes packet {
  0% { offset-distance: 0%; }
  100% { offset-distance: 100%; }
}
.flow-caption { margin-top: 16px; font-size: 13px; color: var(--muted); text-align: center; }

/* Slot board — admin diary */
.board-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: 36px; align-items: center; }
.slot-board {
  background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 16px;
}
.slot-head { display: flex; justify-content: space-between; align-items: baseline; gap: 8px; margin-bottom: 12px; }
.slot-head strong { font-size: 14px; letter-spacing: -0.02em; }
.slot-head span { font-size: 12px; color: var(--muted); }
.slots {
  display: grid; grid-template-columns: repeat(5, 1fr); gap: 4px;
}
.slots .day { font-size: 11px; font-weight: 650; color: var(--muted); text-align: center; padding-bottom: 4px; }
.slot {
  border: 1px solid var(--line); border-radius: var(--radius-sm); min-height: 36px;
  display: grid; place-items: center; font-size: 11px; font-weight: 650;
  background: var(--white); color: var(--ink-2);
}
.slot.blocked { background: var(--paper-2); color: var(--faint); text-decoration: line-through; }
.slot.held {
  background: var(--white); border-color: var(--accent); color: var(--accent);
  animation: holdpulse 1s ease-in-out 2;
}
.slot.confirmed {
  background: var(--accent); border-color: var(--accent); color: var(--white);
}
@keyframes holdpulse {
  50% { transform: scale(1.03); }
}

/* Industries */
.industry-list { display: grid; gap: 16px; }
.industry {
  display: grid; grid-template-columns: 1.1fr 1fr; gap: 0;
  background: var(--white); border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line);
}
.industry.reverse { grid-template-columns: 1fr 1.1fr; }
.industry.reverse .industry-copy { order: 2; }
.industry img { width: 100%; height: 100%; min-height: 280px; object-fit: cover; }
.industry-copy { padding: 36px 32px; display: flex; flex-direction: column; justify-content: center; }
.industry-copy ul { margin: 12px 0 0; padding: 0; list-style: none; }
.industry-copy li { position: relative; padding: 6px 0 6px 22px; color: var(--ink-2); }
.industry-copy li::before {
  content: ""; position: absolute; left: 0; top: 14px;
  width: 8px; height: 8px; border-radius: 1px; background: var(--accent);
}

/* Features */
.feature-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; }
.feature {
  background: var(--white); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 22px;
}
.feature h3 { margin-bottom: 8px; }
.feature p { color: inherit; opacity: .85; font-size: 15px; }
.section.tint .feature { background: var(--white); border-color: var(--line); }

/* Quotes placeholders */
.quotes { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-top: 28px; }
.quote {
  border: 1px dashed var(--line-strong); border-radius: var(--radius); padding: 20px;
  background: var(--white);
}
.quote p { font-size: 1.1rem; font-style: normal; letter-spacing: -0.02em; font-weight: 500; }
.quote cite { display: block; margin-top: 12px; font-style: normal; font-size: 13px; color: var(--muted); }

/* Pricing */
.price-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.price {
  background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px;
  display: flex; flex-direction: column; gap: 8px;
}
.price.featured { border: 2px solid var(--accent); }
.tier { font-size: 12px; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; color: var(--muted); }
.price.featured .tier { color: var(--accent); }
.amt {
  font-size: 2.2rem; font-weight: 700; letter-spacing: -0.045em; margin: 6px 0;
}
.amt small { font-size: 15px; color: var(--muted); font-weight: 550; letter-spacing: -0.02em; }
.price ul { margin: 8px 0 18px; padding: 0; list-style: none; flex: 1; }
.price li { padding: 6px 0 6px 22px; position: relative; font-size: 15px; }
.price li::before { content: "✓"; position: absolute; left: 0; color: var(--accent); font-weight: 700; }
.fine { font-size: 13px; color: var(--muted); }

/* FAQ */
.faq { display: grid; gap: 8px; max-width: 760px; }
.faq details {
  background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 4px 18px;
}
.faq summary {
  cursor: pointer; font-weight: 650; padding: 14px 0; list-style: none; letter-spacing: -0.02em;
}
.faq summary::-webkit-details-marker { display: none; }
.faq details p { padding: 0 0 16px; color: var(--ink-2); }

/* Final CTA — full-bleed brand colour band */
.final {
  text-align: center; padding: 80px 24px;
  background: var(--accent);
  color: var(--white);
}
.final h2 { max-width: 18ch; margin: 0 auto 12px; color: var(--white); }
.final .lede { margin: 0 auto 24px; color: rgba(255,255,255,.9); }
.final .cta-row { justify-content: center; }
.final .btn-primary { background: var(--white); color: var(--accent); }
.final .btn-primary:hover { background: var(--ink); color: var(--white); }
.final .btn-ghost { border-color: rgba(255,255,255,.75); color: var(--white); }
.final .btn-ghost:hover { background: var(--white); color: var(--accent); border-color: var(--white); }

/* Footer */
.site-footer { background: #111111; color: rgba(255,255,255,.86); padding: 56px 0 28px; }
.foot-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 28px; margin-bottom: 36px; }
.site-footer h2 {
  font-family: var(--sans); font-size: 12px; letter-spacing: .06em; text-transform: uppercase;
  color: rgba(255,255,255,.55); margin-bottom: 12px; font-weight: 650;
}
.site-footer ul { list-style: none; margin: 0; padding: 0; }
.site-footer a { text-decoration: none; }
.site-footer a:hover { color: var(--white); }
.site-footer li { margin: 0 0 8px; font-size: 14px; }
.site-footer .brand-mark { background: var(--accent); color: var(--white); }
.site-footer .brand-by { color: rgba(255,255,255,.55); }
.legal {
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px;
  border-top: 1px solid rgba(255,255,255,.12); padding-top: 18px; font-size: 13px; color: rgba(255,255,255,.5);
}
.legal a { color: inherit; margin-right: 12px; }

/* Interior pages */
.page-hero { padding: 56px 0 24px; }
.page-hero h1 { font-size: clamp(2rem, 4vw, 3.1rem); }
.panel {
  background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px;
}
.form-grid { display: grid; gap: 14px; }
label { display: grid; gap: 6px; font-size: 14px; font-weight: 650; }
input, select, textarea {
  width: 100%; min-height: 44px; border: 1px solid var(--line-strong); border-radius: var(--radius-sm);
  background: var(--white); padding: 8px 12px;
}
textarea { min-height: 110px; resize: vertical; }

/* Demo booking */
.demo-shell { display: grid; grid-template-columns: .9fr 1.1fr; gap: 28px; align-items: start; }
.demo-aside img { width: 100%; height: 220px; object-fit: cover; border-radius: var(--radius); margin-bottom: 16px; }
.slot-list { display: flex; flex-wrap: wrap; gap: 8px; margin: 12px 0 18px; }
.slot-list button {
  border: 1px solid var(--line-strong); background: var(--white); border-radius: var(--radius-sm);
  padding: 8px 12px; cursor: pointer; font-weight: 650; font-size: 14px;
}
.slot-list button[aria-pressed="true"] { background: var(--accent); color: var(--white); border-color: var(--accent); }
.slot-list button:disabled { opacity: .4; cursor: not-allowed; }
.notice {
  padding: 12px 14px; border-radius: var(--radius-sm); border: 1px solid var(--line-strong);
  background: var(--paper-2); color: var(--ink-2);
  font-size: 14px; margin-bottom: 16px;
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .packet { display: none; }
  .slot.held, .slot.confirmed { animation: none; }
}

/* Responsive */
@media (max-width: 960px) {
  .nav-links, .nav-actions .btn-ghost { display: none; }
  .menu-toggle { display: grid; place-items: center; }
  .hero-split, .board-grid, .demo-shell, .industry, .industry.reverse { grid-template-columns: 1fr; }
  .industry.reverse .industry-copy { order: 0; }
  .industry img { min-height: 220px; }
  .flow-nodes { grid-template-columns: repeat(2, 1fr); }
  .tenant-grid, .proof-grid, .price-grid, .quotes, .feature-grid { grid-template-columns: 1fr; }
  .foot-grid { grid-template-columns: 1fr 1fr; }
  .hero { min-height: auto; }
  .hero-split { min-height: 0; }
  .hero-copy-inner {
    padding: 32px 20px 28px;
  }
  .hero-visual { min-height: 0; aspect-ratio: auto; }
  .hero-photo {
    position: relative; inset: auto;
    width: 100%; height: auto; aspect-ratio: 4 / 3;
    object-position: 30% 40%;
  }
  .hero-card {
    position: relative; left: auto; right: auto; bottom: auto;
    width: auto; margin: -88px 16px 20px;
  }
  .slots { grid-template-columns: repeat(5, 1fr); gap: 4px; }
  .slot { min-height: 30px; font-size: 10px; padding: 2px; }
  .flow-track { display: none; }
}
@media (max-width: 640px) {
  .wrap { width: min(var(--max), calc(100% - 28px)); }
  .section { padding: 64px 0; }
  .cta-row .btn { width: 100%; }
  .foot-grid { grid-template-columns: 1fr; }
  .flow-nodes { grid-template-columns: 1fr 1fr; }
  .nav-actions .btn-primary { display: none; }
  .hero-card { margin: -72px 12px 16px; }
}


/* Availability line injected by /js/concierge-status.js */
.concierge-service-notice.wrap {
  width: 100%;
  max-width: none;
  margin: 0;
  padding: 8px 20px;
  text-align: center;
  background: var(--paper-2);
  color: var(--muted);
  font-size: 13px;
  border-bottom: 1px solid var(--line);
}
.concierge-service-notice p { margin: 0; }
.concierge-service-notice a { color: var(--accent); text-underline-offset: 2px; }

/* Keep the five-day sample board inside the viewport */
.slot, .slots .day { min-width: 0; overflow: hidden; }
.slot { padding: 0 1px; }
