[hidden] { display: none !important; }
:root {
  --bg: #fbf7f2; --paper: #ffffff; --ink: #1c1917; --muted: #78716c; --line: #ece5dc; --soft: #f5efe7;
  --brand: #ff7a59; --brand2: #ffc857; --ok: #16a34a; --bad: #dc2626;
  --display: "Bricolage Grotesque", ui-sans-serif, system-ui, sans-serif; --sans: "Inter", ui-sans-serif, system-ui, sans-serif;
  --r: 20px; --ease: cubic-bezier(.2, .8, .2, 1);
  --shadow: 0 1px 2px rgba(28, 25, 23, .04), 0 12px 32px -16px rgba(28, 25, 23, .18);
  color-scheme: light;
}
* { box-sizing: border-box; }
body { margin: 0; background: var(--bg); color: var(--ink); font: 400 15px/1.55 var(--sans); -webkit-font-smoothing: antialiased; overflow-x: hidden; }
a { color: inherit; }
h1, h2, h3 { font-family: var(--display); letter-spacing: -.02em; line-height: 1.05; }
button { font: inherit; color: inherit; }
:focus-visible { outline: 3px solid color-mix(in srgb, var(--brand) 55%, transparent); outline-offset: 2px; border-radius: 10px; }
.wrap { width: min(1120px, 100% - 40px); margin-inline: auto; }
.wrap-wide { width: min(1320px, 100% - 32px); margin-inline: auto; }
.muted { color: var(--muted); } .small { font-size: 13px; }
.center { text-align: center; }

.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; height: 46px; padding: 0 20px; border-radius: 14px; border: 0; font-weight: 600; text-decoration: none; cursor: pointer; transition: transform .2s var(--ease), box-shadow .2s, background .2s; white-space: nowrap; }
.btn:active { transform: scale(.97); }
.btn-sm { height: 36px; padding: 0 14px; font-size: 13px; border-radius: 11px; }
.btn-lg { height: 54px; padding: 0 26px; font-size: 16px; border-radius: 16px; }
.btn-block { width: 100%; }
.btn-brand { background: var(--brand); color: #fff; box-shadow: 0 10px 24px -10px color-mix(in srgb, var(--brand) 80%, transparent); }
.btn-brand:hover { transform: translateY(-2px); box-shadow: 0 16px 30px -12px color-mix(in srgb, var(--brand) 90%, transparent); }
.btn-dark { background: var(--ink); color: #fff; }
.btn-line { background: var(--paper); border: 1.5px solid var(--line); color: var(--ink); }
.btn-line:hover { border-color: var(--ink); }
.danger { color: var(--bad) !important; }
.btn-dark.danger { background: var(--bad); color: #fff !important; }
.btn[disabled] { opacity: .5; pointer-events: none; }
.chip-link { padding: 6px 10px; border-radius: 10px; border: 1.5px solid var(--line); text-decoration: none; font-weight: 600; font-size: 12px; }
.chip-link.light { color: #fff; border-color: rgba(255, 255, 255, .4); }
.brandmark { display: inline-flex; align-items: center; gap: 8px; font: 800 22px var(--display); text-decoration: none; letter-spacing: -.03em; }
.brandmark.small { font-size: 17px; } .brandmark.light { color: #fff; }
.bm-ic { display: grid; place-items: center; width: 30px; height: 30px; border-radius: 10px; background: #ff7a59; color: #fff; font-size: 20px; transform: rotate(-6deg); }
.brandmark.small .bm-ic { width: 24px; height: 24px; font-size: 16px; }
.tag { display: inline-block; font-size: 12px; font-weight: 600; color: var(--muted); text-transform: uppercase; letter-spacing: .08em; }

/* landing */
.topbar { display: flex; align-items: center; gap: 26px; padding: 18px max(20px, calc(50% - 560px)); }
.topbar nav { display: flex; gap: 20px; }
.topbar nav a { text-decoration: none; color: var(--muted); font-weight: 500; }
.tb-right { margin-left: auto; display: flex; gap: 10px; align-items: center; }
.hero { display: grid; grid-template-columns: 1.1fr 1fr; gap: 40px; align-items: center; padding: 50px 0 70px; }
.kicker { font-weight: 600; color: var(--brand); margin: 0 0 14px; }
.hero h1 { font-size: clamp(48px, 7vw, 92px); margin: 0; font-weight: 800; }
.hl { background: linear-gradient(100deg, var(--brand), #ff4d6d 55%, var(--brand2)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.lead { font-size: 19px; color: #57534e; max-width: 540px; margin: 22px 0 0; }
.cta-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.cta-row.center { justify-content: center; }
.hero-art { position: relative; height: 480px; }
.blob { position: absolute; inset: 30px; border-radius: 42% 58% 60% 40% / 45% 40% 60% 55%; background: linear-gradient(135deg, var(--brand2), var(--brand)); opacity: .9; z-index: 0; animation: morph 12s ease-in-out infinite alternate; }
@keyframes morph { to { border-radius: 58% 42% 40% 60% / 60% 55% 45% 40%; transform: rotate(8deg); } }
.mock { position: absolute; z-index: 1; left: 50%; top: 50%; transform: translate(-50%, -50%) rotate(-3deg); width: min(340px, 90%); padding: 20px; border-radius: 26px; background: var(--paper); box-shadow: 0 40px 80px -30px rgba(28, 25, 23, .45); animation: bob 6s ease-in-out infinite; }
@keyframes bob { 50% { transform: translate(-50%, -54%) rotate(-2deg); } }
.mock-head { display: flex; gap: 12px; align-items: center; } .mock-head small { display: block; color: var(--muted); font-size: 12px; }
.mock-av { width: 42px; height: 42px; border-radius: 14px; display: grid; place-items: center; background: var(--soft); font-size: 22px; }
.mock-cal { display: grid; grid-template-columns: repeat(7, 1fr); gap: 4px; margin: 16px 0; font-size: 12px; text-align: center; }
.mock-cal span { padding: 6px 0; border-radius: 8px; color: #c7bfb6; }
.mock-cal .av { color: var(--ink); font-weight: 600; background: var(--soft); }
.mock-cal .sel { background: var(--brand); color: #fff; }
.mock-slots { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; }
.mock-slots span { text-align: center; padding: 7px 0; border-radius: 10px; border: 1.5px solid var(--line); font-size: 12px; font-weight: 600; }
.mock-slots .sel { border-color: var(--brand); color: var(--brand); background: color-mix(in srgb, var(--brand) 10%, #fff); }
.mock-btn { margin-top: 14px; padding: 12px; border-radius: 14px; text-align: center; color: #fff; background: var(--ink); font-weight: 600; font-size: 14px; }
.bubble { position: absolute; z-index: 2; padding: 10px 14px; border-radius: 14px; background: var(--paper); box-shadow: var(--shadow); font-size: 13px; font-weight: 600; animation: bob2 7s ease-in-out infinite; }
.b1 { left: -30px; bottom: 120px; } .b2 { right: -20px; top: 50px; animation-delay: -3s; }
@keyframes bob2 { 50% { transform: translateY(-10px); } }
.feats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.feat { padding: 22px; border-radius: var(--r); background: var(--paper); box-shadow: var(--shadow); }
.feat-ic { font-size: 26px; }
.feat h3 { margin: 12px 0 6px; font-size: 20px; }
.feat p { margin: 0; color: var(--muted); font-size: 14px; }
.section { padding: 80px 0 0; }
.h2 { font-size: clamp(32px, 4.5vw, 52px); margin: 0 0 28px; }
.biz-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.biz-card { display: flex; flex-direction: column; text-decoration: none; border-radius: 24px; overflow: hidden; background: var(--paper); box-shadow: var(--shadow); transition: transform .35s var(--ease), box-shadow .35s; }
.biz-card:hover { transform: translateY(-6px) rotate(-.4deg); box-shadow: 0 30px 60px -30px rgba(28, 25, 23, .35); }
.biz-cover { height: 150px; display: grid; place-items: center; background: radial-gradient(circle at 30% 30%, var(--brand2), var(--brand)); }
.biz-cover span { font-size: 64px; filter: drop-shadow(0 10px 20px rgba(0, 0, 0, .2)); transition: transform .4s var(--ease); }
.biz-card:hover .biz-cover span { transform: scale(1.15) rotate(-8deg); }
.biz-body { padding: 20px; display: grid; gap: 6px; }
.biz-body h3 { margin: 0; font-size: 24px; }
.biz-body p { margin: 0; color: var(--muted); }
.biz-go { margin-top: 8px; font-weight: 700; color: var(--brand); }
.pricing { display: grid; grid-template-columns: repeat(2, minmax(0, 360px)); gap: 18px; }
.plan { position: relative; padding: 28px; border-radius: 24px; background: var(--paper); box-shadow: var(--shadow); }
.plan-pro { background: var(--ink); color: #fff; }
.plan h3 { margin: 0; font-size: 22px; }
.price { font: 800 48px var(--display); margin: 10px 0; } .price small { font: 500 15px var(--sans); opacity: .6; }
.plan ul { margin: 0; padding-left: 18px; display: grid; gap: 6px; }
.ribbon { position: absolute; top: 20px; right: 20px; padding: 4px 10px; border-radius: 999px; background: var(--brand); font-size: 12px; font-weight: 700; }
.foot { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; padding: 70px 0 80px; font-size: 13px; }

/* booking page */
.biz-hero { background: radial-gradient(800px 300px at 80% 0%, color-mix(in srgb, var(--brand2) 70%, transparent), transparent 70%), var(--brand); color: #fff; padding: 22px 0 90px; }
.biz-hero-in { display: grid; grid-template-columns: auto 1fr auto; gap: 24px; align-items: start; }
.biz-id { display: flex; gap: 18px; align-items: center; grid-column: 1 / -1; grid-row: 2; margin-top: 26px; }
.biz-emoji { width: 84px; height: 84px; border-radius: 26px; display: grid; place-items: center; font-size: 46px; background: rgba(255, 255, 255, .22); backdrop-filter: blur(8px); flex: none; }
.biz-emoji.sm { width: 44px; height: 44px; font-size: 24px; border-radius: 14px; background: var(--soft); }
.biz-id h1 { margin: 0; font-size: clamp(34px, 5vw, 56px); }
.biz-id p { margin: 6px 0 0; opacity: .92; }
.biz-meta { font-size: 13px; opacity: .85 !important; }
.biz-hero-in > .chip-link { justify-self: end; grid-column: 3; grid-row: 1; }
.book-grid { display: grid; grid-template-columns: 1fr 320px; gap: 20px; margin-top: -60px; padding-bottom: 80px; align-items: start; }
.wizard, .summary { background: var(--paper); border-radius: 26px; box-shadow: 0 30px 60px -30px rgba(28, 25, 23, .3); }
.wizard { padding: 26px; position: relative; min-height: 420px; }
.summary { padding: 22px; position: sticky; top: 20px; }
.summary h3 { margin: 0 0 12px; }
.summary dl { margin: 0; display: grid; gap: 10px; }
.summary dl div { display: flex; gap: 10px; }
.summary dt { width: 24px; } .summary dd { margin: 0; font-weight: 500; }
.sum-total, .sum-dep { display: flex; justify-content: space-between; margin-top: 16px; padding-top: 14px; border-top: 1.5px dashed var(--line); }
.sum-total b { font: 800 24px var(--display); }
.sum-dep { border: 0; padding-top: 0; margin-top: 6px; color: var(--muted); font-size: 14px; }
.steps { display: flex; gap: 8px; list-style: none; margin: 0 0 18px; padding: 0; }
.steps li { flex: 1; height: 6px; border-radius: 99px; background: var(--soft); font-size: 0; transition: background .4s; }
.steps li.on { background: var(--brand); }
.step-panel h2 { margin: 0 0 16px; font-size: 26px; }
.step-panel.enter { animation: enter .45s var(--ease); }
@keyframes enter { from { opacity: 0; transform: translateX(16px); } }
.svc-list, .staff-list { display: grid; gap: 10px; }
.svc, .staff { display: grid; grid-template-columns: 52px 1fr auto; gap: 14px; align-items: center; width: 100%; padding: 14px; border-radius: 18px; border: 1.5px solid var(--line); background: var(--paper); text-align: left; cursor: pointer; transition: border-color .2s, transform .2s var(--ease), box-shadow .2s; }
.svc:hover, .staff:hover { border-color: var(--brand); transform: translateY(-2px); box-shadow: var(--shadow); }
.svc-ic { width: 52px; height: 52px; border-radius: 16px; display: grid; place-items: center; font-size: 26px; background: color-mix(in srgb, var(--brand) 12%, #fff); }
.svc-main small, .svc-meta small { display: block; color: var(--muted); font-size: 13px; }
.svc-meta { text-align: right; }
.staff-av { width: 52px; height: 52px; border-radius: 50%; display: grid; place-items: center; color: #fff; font: 700 20px var(--display); }
.staff small { display: block; color: var(--muted); }
.date-time { display: grid; grid-template-columns: 1fr 1fr; gap: 26px; }
.cal-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 10px; }
.cal-head button { width: 36px; height: 36px; border-radius: 12px; border: 1.5px solid var(--line); background: var(--paper); cursor: pointer; font-size: 18px; }
.cal-dow, .cal-grid { display: grid; grid-template-columns: repeat(7, 1fr); gap: 4px; text-align: center; }
.cal-dow span { font-size: 11px; color: var(--muted); font-weight: 600; text-transform: uppercase; padding: 4px 0; }
.cal-grid button { aspect-ratio: 1; border-radius: 12px; border: 0; background: transparent; color: #c9c0b6; font-weight: 600; cursor: default; }
.cal-grid button.av { color: var(--ink); background: var(--soft); cursor: pointer; }
.cal-grid button.av:hover { background: color-mix(in srgb, var(--brand) 18%, #fff); }
.cal-grid button.sel { background: var(--brand); color: #fff; }
.cal-grid button.today { box-shadow: inset 0 0 0 1.5px var(--ink); }
.cal-grid.loading { opacity: .4; }
.slots { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; max-height: 330px; overflow: auto; padding: 2px; }
.slots button { height: 44px; border-radius: 12px; border: 1.5px solid var(--line); background: var(--paper); font-weight: 600; cursor: pointer; transition: all .15s; }
.slots button:hover { border-color: var(--brand); color: var(--brand); }
.slots button.sel { background: var(--brand); color: #fff; border-color: var(--brand); }
.slots .empty { grid-column: 1 / -1; padding: 20px; text-align: center; color: var(--muted); background: var(--soft); border-radius: 14px; }
.fld { display: grid; gap: 6px; margin-bottom: 12px; }
.fld > span { font-size: 13px; font-weight: 600; color: #57534e; }
.fld input, .fld textarea { padding: 13px 14px; border-radius: 14px; border: 1.5px solid var(--line); background: var(--paper); font: inherit; transition: border-color .2s, box-shadow .2s; }
.fld input:focus, .fld textarea:focus { outline: none; border-color: var(--brand); box-shadow: 0 0 0 4px color-mix(in srgb, var(--brand) 18%, transparent); }
.err { color: var(--bad); font-weight: 500; margin: 0 0 10px; }
.err:empty { display: none; }
.back { margin-top: 16px; border: 0; background: none; color: var(--muted); font-weight: 600; cursor: pointer; }
.done { text-align: center; padding: 20px 0; position: relative; overflow: hidden; }
.done-check { width: 84px; height: 84px; border-radius: 50%; margin: 0 auto 16px; display: grid; place-items: center; font-size: 40px; color: #fff; background: var(--ok); animation: pop .6s var(--ease); }
@keyframes pop { 0% { transform: scale(0); } 70% { transform: scale(1.15); } }
.code { display: inline-block; font: 800 26px var(--display); letter-spacing: .08em; padding: 10px 18px; border-radius: 14px; background: var(--soft); }
.confetti { position: absolute; inset: 0; pointer-events: none; }
.confetti i { position: absolute; top: -10px; width: 8px; height: 14px; border-radius: 2px; animation: fall 1.6s ease-in forwards; }
@keyframes fall { to { transform: translateY(460px) rotate(540deg); opacity: 0; } }

/* manage */
.manage { max-width: 560px; padding: 40px 0 90px; display: grid; gap: 18px; }
.ticket { position: relative; padding: 28px; border-radius: 28px; background: var(--paper); box-shadow: 0 30px 60px -30px rgba(28, 25, 23, .3); border-top: 8px solid var(--brand); }
.ticket.is-cancelled { opacity: .7; filter: grayscale(.7); }
.ticket-top { display: flex; justify-content: space-between; }
.status { font-weight: 700; text-transform: capitalize; color: var(--ok); }
.is-cancelled .status { color: var(--bad); }
.ticket h1 { margin: 10px 0 4px; font-size: 34px; }
.ticket-when { display: flex; gap: 16px; align-items: center; margin-top: 18px; }
.tw-date { width: 72px; height: 72px; border-radius: 18px; background: var(--brand); color: #fff; display: grid; place-content: center; text-align: center; }
.tw-date b { font: 800 28px/1 var(--display); } .tw-date span { font-size: 11px; }
.ticket-when small { display: block; color: var(--muted); }
.ticket-perf { margin: 22px -28px; border-top: 2px dashed var(--line); position: relative; }
.ticket-perf::before, .ticket-perf::after { content: ""; position: absolute; top: -13px; width: 24px; height: 24px; border-radius: 50%; background: var(--bg); }
.ticket-perf::before { left: -12px; } .ticket-perf::after { right: -12px; }
.ticket-foot { display: flex; justify-content: space-between; }
.ticket-foot small { display: block; color: var(--muted); font-size: 12px; }
.ticket-foot b { font: 700 18px var(--display); }
.notice { padding: 14px; border-radius: 14px; background: #fee2e2; color: #991b1b; font-weight: 500; margin: 0; }

/* owner */
.center-wrap { min-height: 100svh; display: grid; place-items: center; padding: 20px; }
.card-form { width: min(420px, 100%); padding: 32px; border-radius: 26px; background: var(--paper); box-shadow: 0 30px 60px -30px rgba(28, 25, 23, .3); display: grid; gap: 4px; }
.card-form h1 { margin: 16px 0 14px; font-size: 28px; }
.card-form .big { font: 800 90px/1 var(--display); color: var(--brand); margin: 0; }
.demo-accounts { margin-top: 16px; display: grid; gap: 6px; }
.demo-acc { text-align: left; padding: 10px 12px; border-radius: 12px; border: 1.5px solid var(--line); background: var(--soft); cursor: pointer; font-weight: 600; }
.owner-top { background: var(--paper); border-bottom: 1px solid var(--line); position: sticky; top: 0; z-index: 10; }
.owner-top-in { display: flex; justify-content: space-between; align-items: center; padding: 12px 0; gap: 12px; }
.ot-left, .ot-right { display: flex; gap: 12px; align-items: center; }
.ot-left small { display: block; }
.ot-right form { margin: 0; }
.owner-main { padding: 22px 0 80px; }
.kpis { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin-bottom: 16px; }
.kpi { padding: 18px; border-radius: 18px; background: var(--paper); box-shadow: var(--shadow); display: grid; gap: 4px; }
.kpi small { color: var(--muted); font-weight: 600; }
.kpi b { font: 800 32px var(--display); }
.bar { height: 6px; border-radius: 99px; background: var(--soft); overflow: hidden; }
.bar i { display: block; height: 100%; background: var(--brand); border-radius: 99px; }
.week-card { padding: 20px; border-radius: 24px; background: var(--paper); box-shadow: var(--shadow); }
.week-head { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 10px; }
.week-head h2 { margin: 0; font-size: 24px; }
.week-nav { display: flex; gap: 6px; }
.legend { display: flex; flex-wrap: wrap; gap: 14px; margin: 12px 0; font-size: 13px; }
.legend span { display: flex; gap: 6px; align-items: center; } .legend i { width: 10px; height: 10px; border-radius: 3px; }
.week { --hour: 52px; display: grid; grid-template-columns: 52px repeat(7, minmax(150px, 1fr)); overflow-x: auto; border: 1px solid var(--line); border-radius: 16px; }
.wk-col { position: relative; border-left: 1px solid var(--line); }
.wk-head { position: sticky; top: 0; height: 48px; display: grid; place-content: center; text-align: center; border-bottom: 1px solid var(--line); background: var(--paper); z-index: 2; font-size: 12px; font-weight: 600; color: var(--muted); }
.wk-head b { font: 800 18px var(--display); color: var(--ink); }
.wk-head.today b { color: var(--brand); }
.wk-body { position: relative; }
.wk-hours .wk-body div { height: var(--hour); font-size: 11px; color: var(--muted); text-align: right; padding-right: 6px; transform: translateY(-7px); }
.wk-line { height: var(--hour); border-bottom: 1px dashed var(--line); }
.appt { position: absolute; padding: 4px 5px; border-radius: 10px; font-size: 11px; line-height: 1.25; color: #fff; overflow: hidden; cursor: pointer; border: 0; text-align: left; box-shadow: 0 4px 10px -4px rgba(0, 0, 0, .3); transition: transform .15s; }
.appt:hover { transform: scale(1.03); z-index: 3; }
.appt b { display: block; font-size: 11px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.appt.cancelled { background: repeating-linear-gradient(135deg, #e7e5e4 0 6px, #f5f5f4 6px 12px) !important; color: #78716c; text-decoration: line-through; }
.now-line { position: absolute; left: 0; right: 0; height: 2px; background: var(--bad); z-index: 4; }
.now-line::before { content: ""; position: absolute; left: -4px; top: -4px; width: 10px; height: 10px; border-radius: 50%; background: var(--bad); }
.bk-dialog { border: 0; border-radius: 22px; padding: 0; box-shadow: 0 40px 80px -20px rgba(0, 0, 0, .4); max-width: 420px; width: calc(100% - 32px); }
.bk-dialog::backdrop { background: rgba(28, 25, 23, .4); backdrop-filter: blur(3px); }
.bk-dialog-in { padding: 24px; }
.bk-dialog h3 { margin: 0 0 6px; font-size: 22px; }

@media (max-width: 900px) {
  .hero, .book-grid { grid-template-columns: 1fr; }
  .hero-art { height: 400px; }
  .feats { grid-template-columns: 1fr 1fr; }
  .biz-grid { grid-template-columns: 1fr; }
  .summary { position: static; order: -1; }
  .date-time { grid-template-columns: 1fr; }
  .kpis { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 560px) {
  .topbar nav { display: none; }
  .feats, .pricing { grid-template-columns: 1fr; }
  .svc { grid-template-columns: 44px 1fr; } .svc-meta { grid-column: 2; text-align: left; display: flex; gap: 10px; }
  .svc-ic { width: 44px; height: 44px; }
  .wizard { padding: 18px; }
  .b1, .b2 { display: none; }
}
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { animation: none !important; transition: none !important; } }
