﻿:root {
  --bg: #f8f9fb;
  --surface: #ffffff;
  --surface-strong: #eef3f8;
  --ink: #121d2a;
  --muted: #657184;
  --line: #d9e1ea;
  --accent: #ff7417;
  --accent-dark: #e95f08;
  --accent-soft: #fff0e6;
  --navy: #152233;
  --navy-soft: #e9f0f8;
  --amber: #f39a34;
  --blue: #47728f;
  --danger: #b84436;
  --shadow: 0 28px 70px -46px rgba(18, 29, 42, 0.45);
  --radius: 8px;
  --button-radius: 12px;
  --font: "Outfit", "Aptos", "Segoe UI", "Helvetica Neue", Arial, sans-serif;
  --mono: "IBM Plex Mono", "Cascadia Mono", "SFMono-Regular", Consolas, monospace;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-width: 320px;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font);
  letter-spacing: 0;
}

button,
input,
select,
textarea {
  font: inherit;
}

button {
  cursor: pointer;
}

a {
  color: inherit;
  text-decoration: none;
}

[hidden] {
  display: none !important;
}

.site-header {
  align-items: center;
  background: rgba(248, 249, 251, 0.92);
  border-bottom: 1px solid rgba(217, 225, 234, 0.82);
  display: grid;
  gap: 24px;
  grid-template-columns: auto 1fr auto;
  left: 0;
  padding: 18px clamp(20px, 5vw, 64px);
  position: sticky;
  top: 0;
  z-index: 5;
  backdrop-filter: blur(16px);
}

.brand {
  align-items: center;
  display: inline-flex;
  font-weight: 800;
  gap: 10px;
  letter-spacing: -0.02em;
}

.brand-logo {
  display: block;
  height: 50px;
  object-fit: contain;
  width: 168px;
}

.workspace-sidebar .brand-logo {
  height: 62px;
  width: 204px;
}

.site-nav {
  align-items: center;
  color: var(--muted);
  display: flex;
  gap: clamp(14px, 4vw, 34px);
  justify-content: center;
  font-size: 14px;
}

.site-nav a,
.header-login-button {
  align-items: center;
  display: inline-flex;
  gap: 8px;
}

.site-nav-icon {
  align-items: center;
  border: 1px solid rgba(18, 29, 42, 0.08);
  border-radius: 7px;
  color: currentColor;
  display: inline-grid;
  height: 24px;
  place-items: center;
  transition: background 180ms ease, border-color 180ms ease, color 180ms ease;
  width: 24px;
}

.site-nav-icon svg {
  display: block;
  fill: none;
  height: 15px;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 2.05;
  width: 15px;
}

.site-nav a:hover .site-nav-icon,
.header-login-button:hover .site-nav-icon {
  background: #f7f6f3;
  border-color: rgba(18, 29, 42, 0.13);
  color: var(--navy);
}

.button {
  align-items: center;
  border: 1px solid transparent;
  border-radius: var(--button-radius);
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.7) inset;
  display: inline-flex;
  font-size: 15px;
  font-weight: 800;
  gap: 8px;
  justify-content: center;
  line-height: 1;
  min-height: 46px;
  padding: 0 20px;
  transition:
    transform 180ms ease,
    border-color 180ms ease,
    background 180ms ease,
    box-shadow 180ms ease,
    color 180ms ease;
  white-space: nowrap;
}

.button:active,
.nav-item:active,
.text-button:active,
.icon-button:active {
  transform: translateY(1px);
}

.button-primary {
  background: linear-gradient(180deg, #ff812b 0%, var(--accent) 100%);
  border-color: rgba(196, 75, 0, 0.22);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.34),
    0 12px 24px -18px rgba(255, 116, 23, 0.9);
  color: #ffffff;
  text-shadow: 0 1px 0 rgba(18, 29, 42, 0.14);
}

.button-primary:hover {
  background: linear-gradient(180deg, #ff8d3d 0%, var(--accent-dark) 100%);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.38),
    0 16px 30px -20px rgba(255, 116, 23, 1);
  transform: translateY(-1px);
}

.button-secondary {
  background: #ffffff;
  border-color: rgba(21, 34, 51, 0.14);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.9),
    0 10px 22px -20px rgba(18, 29, 42, 0.5);
  color: var(--navy);
}

.button-secondary:hover {
  background: #fdfefe;
  border-color: rgba(255, 116, 23, 0.34);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.95),
    0 14px 26px -22px rgba(18, 29, 42, 0.62);
  color: var(--accent-dark);
  transform: translateY(-1px);
}

.button-ghost {
  background: rgba(255, 255, 255, 0.58);
  border-color: rgba(21, 34, 51, 0.14);
  color: var(--navy);
}

.button-ghost:hover {
  background: #ffffff;
  border-color: rgba(255, 116, 23, 0.28);
  color: var(--accent-dark);
  transform: translateY(-1px);
}

.button-danger {
  background: #fff3ef;
  border-color: rgba(184, 68, 54, 0.22);
  color: var(--danger);
}

.button-danger:hover {
  background: #ffe9e3;
  border-color: rgba(184, 68, 54, 0.34);
}

.button:focus-visible,
.nav-item:focus-visible,
.mini-button:focus-visible,
.text-button:focus-visible,
.icon-button:focus-visible,
.preview-command button:focus-visible {
  outline: 3px solid rgba(255, 116, 23, 0.24);
  outline-offset: 3px;
}

.hero {
  align-items: center;
  display: grid;
  gap: clamp(32px, 5vw, 72px);
  grid-template-columns: minmax(0, 1fr) minmax(340px, 460px);
  min-height: calc(100dvh - 79px);
  padding: clamp(64px, 8vw, 112px) clamp(20px, 5vw, 64px) clamp(56px, 8vw, 92px);
}

.hero-copy {
  justify-self: start;
  max-width: 820px;
  text-align: left;
}

.eyebrow {
  color: var(--accent);
  font-family: var(--mono);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  margin: 0 0 14px;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  font-size: clamp(46px, 5.1vw, 78px);
  font-weight: 800;
  letter-spacing: -0.052em;
  line-height: 0.94;
  margin-bottom: 24px;
  max-width: 820px;
}

h2 {
  font-size: clamp(30px, 5vw, 58px);
  letter-spacing: -0.045em;
  line-height: 1;
  margin-bottom: 0;
}

h3 {
  font-size: 22px;
  letter-spacing: -0.026em;
  line-height: 1.1;
}

.hero-copy > p:not(.eyebrow),
.section-heading p:not(.eyebrow),
.price-card p,
.feature-showcase p,
.login-copy p:not(.eyebrow) {
  color: var(--muted);
  font-size: 17px;
  line-height: 1.65;
}

.hero-copy > p:not(.eyebrow) {
  max-width: 640px;
}

.hero-actions {
  justify-content: flex-start;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 34px;
}

.hero-login-panel {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.94), rgba(255, 250, 247, 0.96)),
    radial-gradient(circle at 18% 0%, rgba(255, 116, 23, 0.18), transparent 38%);
  border: 1px solid rgba(21, 34, 51, 0.1);
  border-radius: 20px;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.9),
    0 26px 52px -38px rgba(18, 29, 42, 0.54);
  display: grid;
  gap: 18px;
  justify-self: end;
  padding: 28px;
  width: min(100%, 460px);
}

.hero-login-panel .login-copy {
  display: grid;
  gap: 10px;
}

.hero-login-panel h2 {
  font-size: clamp(28px, 3vw, 38px);
  line-height: 1.02;
}

.hero-login-panel .login-form {
  background: transparent;
  padding: 0;
}

.hero-login-foot {
  align-items: center;
  background: #fff7f0;
  border: 1px solid rgba(255, 116, 23, 0.18);
  border-radius: 12px;
  display: grid;
  gap: 4px;
  padding: 14px;
}

.hero-login-foot span {
  color: var(--accent-dark);
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.hero-login-foot strong {
  color: var(--navy);
  font-size: 14px;
}

.hero-product {
  display: none;
  background:
    radial-gradient(circle at 18% 0%, rgba(255, 116, 23, 0.28), transparent 34%),
    radial-gradient(circle at 86% 18%, rgba(71, 114, 143, 0.28), transparent 28%),
    linear-gradient(135deg, #152233 0%, #1a2d43 54%, #101a27 100%);
  border: 1px solid rgba(18, 29, 42, 0.14);
  border-radius: 24px;
  box-shadow: var(--shadow);
  color: #f9f6ee;
  justify-self: center;
  max-width: 1120px;
  min-height: 510px;
  overflow: hidden;
  position: relative;
  width: 100%;
}

.hero-product::after {
  background:
    linear-gradient(90deg, rgba(255, 253, 248, 0.05) 1px, transparent 1px),
    linear-gradient(rgba(255, 253, 248, 0.04) 1px, transparent 1px);
  background-size: 42px 42px;
  content: "";
  inset: 0;
  opacity: 0.48;
  pointer-events: none;
  position: absolute;
}

.customer-booking-page {
  background:
    radial-gradient(circle at 8% 10%, rgba(255, 116, 23, 0.1), transparent 32%),
    linear-gradient(180deg, #f8f9fb 0%, #eef4fa 100%);
  min-height: 100dvh;
  overflow-x: hidden;
}

.customer-booking-nav {
  align-items: center;
  display: grid;
  gap: 14px;
  grid-template-columns: auto 1fr;
  padding: 16px clamp(20px, 5vw, 64px);
}

.customer-booking-nav > div {
  color: var(--muted);
  display: grid;
  gap: 2px;
  justify-items: center;
}

.customer-booking-nav span {
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.customer-booking-nav strong {
  color: var(--navy);
  font-size: 14px;
}

.customer-booking-shell {
  align-items: start;
  display: grid;
  gap: clamp(18px, 3vw, 34px);
  grid-template-columns: minmax(0, 1fr);
  margin: 0 auto;
  max-width: 920px;
  min-height: calc(100dvh - 82px);
  padding: clamp(18px, 3vw, 34px) clamp(20px, 4vw, 42px) clamp(34px, 5vw, 58px);
  position: relative;
}

.customer-booking-shell::before {
  background:
    radial-gradient(circle at 12% 24%, rgba(255, 116, 23, 0.14), transparent 32%),
    radial-gradient(circle at 84% 18%, rgba(71, 114, 143, 0.18), transparent 34%);
  content: "";
  inset: 0;
  pointer-events: none;
  position: absolute;
}

.customer-booking-card {
  position: relative;
  z-index: 1;
}

.customer-booking-card {
  background:
    linear-gradient(145deg, rgba(255, 116, 23, 0.06), transparent 34%),
    #ffffff;
  border: 1px solid rgba(217, 225, 234, 0.92);
  border-radius: 20px;
  box-shadow: 0 30px 72px -54px rgba(18, 29, 42, 0.62);
  display: grid;
  gap: 16px;
  justify-self: center;
  padding: clamp(18px, 2.2vw, 26px);
  width: 100%;
}

.customer-form-head {
  display: grid;
  gap: 5px;
}

.customer-form-head span {
  color: var(--accent);
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 850;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.customer-form-head h2 {
  color: var(--navy);
  font-size: clamp(28px, 2.6vw, 36px);
  letter-spacing: -0.045em;
  line-height: 1;
  margin: 0;
}

.customer-form-head p {
  color: var(--muted);
  font-size: 15px;
  line-height: 1.45;
  margin: 0;
}

.customer-booking-grid {
  display: grid;
  gap: 12px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.customer-booking-grid .wide {
  grid-column: 1 / -1;
}

.customer-availability {
  background: #f8fbfd;
  border: 1px solid rgba(217, 225, 234, 0.9);
  border-radius: 16px;
  display: grid;
  gap: 12px;
  padding: 14px;
}

.customer-availability-head {
  align-items: end;
  display: flex;
  gap: 12px;
  justify-content: space-between;
}

.customer-availability-head h3 {
  color: var(--navy);
  font-size: 19px;
  margin: 0;
}

.customer-availability-head span {
  color: var(--muted);
  font-family: var(--mono);
  font-size: 12px;
  font-weight: 800;
}

.customer-date-strip {
  display: grid;
  gap: 7px;
  grid-auto-columns: minmax(74px, 1fr);
  grid-auto-flow: column;
  overflow-x: auto;
  padding: 1px 0 4px;
}

.customer-date-button,
.customer-slot-button {
  background: #f8fafc;
  border: 1px solid rgba(217, 225, 234, 0.9);
  border-radius: 11px;
  color: var(--navy);
  display: grid;
  gap: 3px;
  padding: 10px;
  text-align: left;
  transition:
    background 180ms ease,
    border-color 180ms ease,
    box-shadow 180ms ease,
    transform 180ms ease;
}

.customer-date-button:hover,
.customer-slot-button:hover {
  background: var(--accent-soft);
  border-color: rgba(255, 116, 23, 0.28);
  transform: translateY(-1px);
}

.customer-date-button.selected,
.customer-slot-button.selected {
  background: linear-gradient(180deg, #ff812b 0%, var(--accent) 100%);
  border-color: rgba(196, 75, 0, 0.24);
  box-shadow: 0 18px 34px -28px rgba(18, 29, 42, 0.7);
  color: #ffffff;
}

.customer-date-button strong,
.customer-slot-button strong {
  font-size: 15px;
}

.customer-date-button span,
.customer-slot-button span {
  color: currentColor;
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 800;
  opacity: 0.74;
}

.customer-slot-list {
  display: grid;
  gap: 8px;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  min-height: 92px;
}

.customer-slot-empty {
  background: #f8fafc;
  border: 1px dashed rgba(101, 113, 132, 0.32);
  border-radius: 12px;
  color: var(--muted);
  grid-column: 1 / -1;
  line-height: 1.45;
  margin: 0;
  padding: 18px;
}

.customer-contact-panel {
  border: 1px solid rgba(217, 225, 234, 0.86);
  border-radius: 16px;
  display: grid;
  gap: 12px;
  padding: 14px;
}

.customer-contact-panel > div:first-child {
  align-items: end;
  display: flex;
  gap: 10px;
  justify-content: space-between;
}

.customer-contact-panel h3 {
  color: var(--navy);
  font-size: 18px;
  margin: 0;
}

.customer-contact-panel p {
  color: var(--muted);
  font-size: 13px;
  line-height: 1.35;
  margin: 0;
}

.customer-contact-panel .customer-booking-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.customer-submit {
  min-height: 50px;
  width: 100%;
}

.customer-thankyou {
  bottom: clamp(16px, 4vw, 38px);
  position: fixed;
  right: clamp(16px, 4vw, 38px);
  width: min(380px, calc(100vw - 32px));
  z-index: 40;
}

.customer-thankyou-card {
  background:
    radial-gradient(circle at 100% 0%, rgba(255, 116, 23, 0.18), transparent 34%),
    #ffffff;
  border: 1px solid rgba(217, 225, 234, 0.94);
  border-radius: 18px;
  box-shadow: 0 28px 70px -42px rgba(18, 29, 42, 0.72);
  display: grid;
  gap: 10px;
  padding: 20px;
}

.customer-thankyou-card span {
  color: var(--accent);
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 850;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.customer-thankyou-card h3 {
  color: var(--navy);
  font-size: 30px;
  letter-spacing: -0.04em;
  line-height: 1;
  margin: 0;
}

.customer-thankyou-card p {
  color: var(--muted);
  font-size: 15px;
  line-height: 1.45;
  margin: 0;
}

.preview-actionbar {
  align-items: center;
  border-bottom: 1px solid rgba(255, 253, 248, 0.12);
  display: flex;
  justify-content: space-between;
  padding: 18px 20px;
  position: relative;
  z-index: 1;
}

.preview-actionbar strong {
  color: rgba(255, 253, 248, 0.72);
  font-family: var(--mono);
  font-size: 12px;
  font-weight: 700;
}

.preview-switch {
  background: rgba(255, 253, 248, 0.08);
  border: 1px solid rgba(255, 253, 248, 0.12);
  border-radius: 999px;
  display: inline-flex;
  padding: 4px;
}

.preview-switch span {
  border-radius: 999px;
  color: rgba(255, 253, 248, 0.62);
  font-size: 12px;
  font-weight: 700;
  padding: 7px 12px;
}

.preview-switch span:first-child {
  background: #ffffff;
  color: var(--navy);
}

.preview-command {
  align-items: center;
  background: rgba(255, 253, 248, 0.1);
  border: 1px solid rgba(255, 253, 248, 0.14);
  border-radius: 14px;
  display: grid;
  gap: 12px;
  grid-template-columns: auto 1fr auto;
  margin: 20px 20px 0;
  padding: 12px;
  position: relative;
  z-index: 1;
}

.command-dot {
  background: var(--accent);
  border-radius: 999px;
  box-shadow: 0 0 0 5px rgba(255, 116, 23, 0.16);
  height: 9px;
  width: 9px;
}

.preview-command span:not(.command-dot) {
  color: rgba(255, 253, 248, 0.82);
  font-size: 14px;
  font-weight: 650;
}

.preview-command button {
  background: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.5);
  border-radius: 999px;
  box-shadow: 0 10px 22px -18px rgba(0, 0, 0, 0.55);
  color: var(--navy);
  font-size: 12px;
  font-weight: 800;
  min-height: 34px;
  padding: 0 16px;
  transition: transform 180ms ease, background 180ms ease;
}

.preview-command button:hover {
  background: var(--accent-soft);
  transform: translateY(-1px);
}

.preview-grid {
  display: grid;
  gap: 14px;
  grid-template-columns: 76px minmax(0, 1fr) 264px;
  padding: 20px;
  position: relative;
  z-index: 1;
}

.preview-timeline,
.preview-note {
  background: rgba(255, 253, 248, 0.08);
  border: 1px solid rgba(255, 253, 248, 0.12);
  border-radius: 12px;
}

.preview-timeline {
  color: rgba(255, 253, 248, 0.58);
  display: grid;
  font-family: var(--mono);
  font-size: 11px;
  grid-template-rows: repeat(5, 1fr);
  min-height: 344px;
  padding: 18px 12px;
}

.preview-note {
  align-content: start;
  display: grid;
  gap: 14px;
  padding: 18px;
}

.preview-note strong {
  font-size: 16px;
}

.preview-note p {
  color: rgba(255, 253, 248, 0.72);
  font-size: 15px;
  line-height: 1.5;
  margin: 0;
}

.preview-note span {
  background: rgba(255, 116, 23, 0.14);
  border: 1px solid rgba(255, 116, 23, 0.24);
  border-radius: 8px;
  color: #ffe1ce;
  font-size: 12px;
  font-weight: 700;
  padding: 10px;
}

.preview-calendar {
  display: grid;
  gap: 10px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  min-height: 344px;
}

.preview-column {
  background:
    linear-gradient(rgba(255, 253, 248, 0.12) 1px, transparent 1px),
    rgba(255, 253, 248, 0.045);
  background-size: 100% 58px;
  border: 1px solid rgba(255, 253, 248, 0.1);
  border-radius: 12px;
  min-width: 0;
  padding: 14px 10px 10px;
  position: relative;
}

.preview-column b {
  display: block;
  font-size: 13px;
  margin-bottom: 16px;
}

.slot {
  border-radius: 8px;
  display: block;
  font-style: normal;
  font-size: 12px;
  line-height: 1.35;
  margin-bottom: 12px;
  min-height: 82px;
  padding: 10px;
  position: relative;
}

.slot::before,
.slot::after {
  background: currentColor;
  border-radius: 999px;
  content: "";
  height: 3px;
  left: 50%;
  opacity: 0.32;
  position: absolute;
  transform: translateX(-50%);
  width: 26px;
}

.slot::before {
  top: 5px;
}

.slot::after {
  bottom: 5px;
}

.slot span,
.slot small {
  display: block;
}

.slot small {
  font-family: var(--mono);
  margin-top: 4px;
}

.slot-green {
  background: #ffe3cf;
  color: #69310b;
}

.slot-blue {
  background: #dce9f4;
  color: #18354d;
}

.slot-amber {
  background: #fff0d7;
  color: #734708;
}

.slot-gray {
  background: #edf2f7;
  color: #364253;
}

.feature-band,
.pricing-section,
.login-panel {
  padding: clamp(54px, 9vw, 118px) clamp(20px, 5vw, 64px);
}

.section-heading {
  display: grid;
  gap: 20px;
  grid-template-columns: minmax(220px, 0.75fr) minmax(0, 1fr);
  margin: 0 auto 42px;
  max-width: 1300px;
}

.section-heading.compact {
  grid-template-columns: 1fr;
  max-width: 720px;
  margin-left: 0;
}

.feature-showcase {
  background:
    radial-gradient(circle at 10% 18%, rgba(255, 116, 23, 0.18), transparent 28%),
    linear-gradient(120deg, rgba(21, 34, 51, 0.04), rgba(71, 114, 143, 0.1));
  border: 1px solid rgba(217, 225, 234, 0.72);
  border-radius: 24px;
  display: grid;
  gap: clamp(18px, 3vw, 34px);
  grid-template-columns: repeat(12, minmax(0, 1fr));
  margin: 0 auto;
  max-width: 1300px;
  overflow: hidden;
  padding: clamp(28px, 5vw, 62px);
  position: relative;
}

.feature-showcase::before {
  color: rgba(21, 34, 51, 0.035);
  content: "Â£0";
  font-size: clamp(104px, 18vw, 240px);
  font-weight: 800;
  letter-spacing: -0.08em;
  line-height: 0.8;
  position: absolute;
  right: -0.08em;
  top: -0.24em;
  z-index: 0;
}

.feature-lede {
  align-content: center;
  background: transparent;
  color: var(--navy);
  display: grid;
  gap: 18px;
  grid-column: 1 / span 5;
  min-height: 500px;
  overflow: hidden;
  padding: 0;
  position: sticky;
  top: 110px;
  z-index: 1;
}

.feature-lede h2 {
  color: var(--navy);
  max-width: 760px;
}

.feature-lede p:not(.eyebrow) {
  color: rgba(21, 34, 51, 0.66);
  max-width: 620px;
}

.feature-pulse {
  display: grid;
  gap: 10px;
  grid-template-columns: repeat(3, 1fr);
  margin-top: 14px;
  max-width: 360px;
}

.feature-pulse span {
  background: linear-gradient(90deg, var(--accent), rgba(255, 116, 23, 0.18));
  border-radius: 999px;
  height: 8px;
  transform-origin: left center;
}

.feature-pulse span:nth-child(2) {
  background: linear-gradient(90deg, var(--blue), rgba(71, 114, 143, 0.18));
}

.feature-pulse span:nth-child(3) {
  background: linear-gradient(90deg, var(--navy), rgba(21, 34, 51, 0.18));
}

.fee-lockup {
  align-items: end;
  border-top: 1px solid rgba(21, 34, 51, 0.12);
  display: flex;
  gap: 18px;
  justify-content: space-between;
  margin-top: 14px;
  max-width: 420px;
  padding-top: 18px;
}

.fee-lockup span {
  color: var(--muted);
  font-family: var(--mono);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.fee-lockup strong {
  color: var(--accent);
  font-size: clamp(72px, 10vw, 128px);
  letter-spacing: -0.08em;
  line-height: 0.78;
}

.feature-flow {
  display: grid;
  align-content: center;
  gap: 0;
  grid-column: 6 / -1;
  grid-template-columns: 1fr;
  padding: clamp(24px, 4vw, 54px) 0;
  position: relative;
  z-index: 1;
}

.feature-flow::before {
  background: linear-gradient(180deg, transparent, rgba(255, 116, 23, 0.7), rgba(71, 114, 143, 0.5), transparent);
  border-radius: 999px;
  content: "";
  left: 44px;
  position: absolute;
  top: 20px;
  bottom: 20px;
  width: 2px;
}

.feature-step {
  background: transparent;
  border: 0;
  border-top: 1px solid rgba(21, 34, 51, 0.12);
  border-radius: 0;
  box-shadow: none;
  display: grid;
  gap: 12px;
  grid-template-columns: 92px minmax(0, 1fr);
  min-height: 150px;
  padding: clamp(26px, 4vw, 42px) 0 clamp(26px, 4vw, 42px) clamp(16px, 4vw, 54px);
  position: relative;
  transform-origin: center;
  will-change: transform, opacity;
}

.feature-step:last-child {
  border-bottom: 1px solid rgba(21, 34, 51, 0.12);
}

.feature-step:nth-child(1) {
  margin-left: clamp(18px, 5vw, 70px);
}

.feature-step:nth-child(2) {
  margin-right: clamp(22px, 6vw, 96px);
}

.feature-step:nth-child(3) {
  margin-left: clamp(54px, 10vw, 150px);
}

.feature-step span {
  align-items: center;
  align-self: start;
  background: #ffffff;
  border: 1px solid rgba(255, 116, 23, 0.28);
  border-radius: 999px;
  color: var(--accent-dark);
  display: inline-grid;
  font-family: var(--mono);
  font-size: 12px;
  font-weight: 800;
  height: 46px;
  place-items: center;
  width: 74px;
}

.feature-promise {
  align-items: center;
  background: #ffffff;
  border: 1px solid rgba(217, 225, 234, 0.86);
  border-radius: 999px;
  box-shadow: 0 18px 38px -34px rgba(18, 29, 42, 0.48);
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  grid-column: 1 / -1;
  justify-content: space-between;
  padding: 10px 12px 10px 22px;
  position: relative;
  z-index: 1;
}

.feature-promise span,
.feature-promise strong {
  font-size: 13px;
  font-weight: 850;
}

.feature-promise span {
  color: var(--muted);
}

.feature-promise strong {
  background: var(--accent);
  border-radius: 999px;
  color: #ffffff;
  padding: 11px 16px;
}

.feature-step h3,
.feature-step p {
  grid-column: 2;
}

.feature-step h3 {
  color: var(--navy);
  margin-bottom: 0;
}

.feature-step p {
  margin-bottom: 0;
}

.feature-studio {
  background:
    radial-gradient(circle at 18% 0%, rgba(255, 116, 23, 0.26), transparent 34%),
    linear-gradient(145deg, #152233 0%, #0f1825 100%);
  border: 1px solid rgba(21, 34, 51, 0.14);
  border-radius: 18px;
  box-shadow: var(--shadow);
  color: #ffffff;
  display: grid;
  gap: 18px;
  grid-column: 1 / -1;
  grid-template-columns: minmax(0, 1.2fr) minmax(280px, 0.8fr);
  padding: clamp(24px, 4vw, 34px);
}

.studio-header {
  align-items: center;
  display: flex;
  gap: 16px;
  grid-column: 1 / -1;
  justify-content: space-between;
}

.studio-header strong {
  font-size: 22px;
  letter-spacing: -0.02em;
}

.studio-header span,
.studio-note span,
.studio-lanes span {
  color: rgba(255, 255, 255, 0.62);
  font-family: var(--mono);
  font-size: 12px;
  font-weight: 700;
}

.studio-lanes {
  display: grid;
  gap: 10px;
}

.studio-lanes div,
.studio-note {
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

.studio-lanes div {
  background: rgba(255, 255, 255, 0.08);
  display: grid;
  gap: 6px;
  grid-template-columns: 80px minmax(0, 1fr);
  padding: 16px;
}

.studio-lanes strong,
.studio-lanes small {
  grid-column: 2;
}

.studio-lanes strong {
  font-size: 18px;
  letter-spacing: -0.015em;
}

.studio-lanes small {
  color: rgba(255, 255, 255, 0.68);
  font-size: 13px;
}

.studio-note {
  align-content: center;
  background: #ffffff;
  color: var(--navy);
  display: grid;
  gap: 14px;
  padding: 24px;
}

.studio-note span {
  color: var(--accent-dark);
}

.studio-note p {
  color: var(--navy);
  font-size: 22px;
  letter-spacing: -0.025em;
  line-height: 1.18;
  margin-bottom: 0;
}

.feature-grid article,
.price-card,
.login-form,
.client-form-panel,
.client-table-panel,
.diary-board {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.feature-grid article {
  min-height: 260px;
  padding: 30px;
}

.feature-large {
  grid-row: span 2;
}

.feature-wide {
  grid-column: span 2;
}

.feature-kicker,
.plan-label {
  color: var(--accent);
  display: block;
  font-family: var(--mono);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.07em;
  margin-bottom: 18px;
  text-transform: uppercase;
}

.pricing-grid {
  display: grid;
  gap: 18px;
  grid-template-columns: minmax(0, 1.08fr) minmax(0, 0.92fr);
  max-width: 980px;
}

.price-card {
  display: grid;
  gap: 28px;
  padding: 32px;
}

.price-featured {
  border-color: rgba(255, 116, 23, 0.42);
  box-shadow: var(--shadow);
}

.price-card h3 {
  font-size: clamp(38px, 5vw, 58px);
  margin-bottom: 10px;
}

.price-card h3 span {
  color: var(--muted);
  font-size: 16px;
  font-weight: 600;
  letter-spacing: 0;
}

.trial-note {
  color: var(--accent-dark) !important;
  font-weight: 800;
}

.price-card ul {
  color: var(--muted);
  display: grid;
  gap: 12px;
  line-height: 1.45;
  margin: 0;
  padding-left: 20px;
}

.login-panel {
  align-items: stretch;
  display: grid;
  gap: 24px;
  grid-template-columns: minmax(0, 0.8fr) minmax(320px, 420px);
  max-width: 1200px;
}

.login-copy {
  align-self: center;
}

.login-form,
.client-form {
  display: grid;
  gap: 16px;
}

.login-form {
  padding: 28px;
}

label {
  color: var(--ink);
  display: grid;
  font-size: 13px;
  font-weight: 760;
  gap: 8px;
}

input,
select,
textarea {
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  color: var(--ink);
  min-height: 42px;
  padding: 10px 12px;
  width: auto;
}

textarea {
  min-height: 96px;
  resize: vertical;
}

input:focus,
select:focus,
textarea:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(255, 116, 23, 0.14);
  outline: none;
}

.staff-service-field {
  border: 1px solid rgba(217, 225, 234, 0.9);
  border-radius: 12px;
  display: grid;
  gap: 10px;
  margin: 0;
  padding: 12px;
}

.staff-service-field legend {
  color: var(--ink);
  font-size: 13px;
  font-weight: 800;
  padding: 0 6px;
}

.staff-service-grid {
  display: grid;
  gap: 8px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.staff-service-option {
  align-items: center;
  background: #f8fafc;
  border: 1px solid rgba(217, 225, 234, 0.9);
  border-radius: 999px;
  display: flex;
  gap: 8px;
  min-height: 38px;
  padding: 8px 10px;
}

.staff-service-option input {
  accent-color: var(--accent);
  min-height: 16px;
  width: 16px;
}

.staff-service-option span {
  color: var(--navy);
  font-size: 12px;
  font-weight: 800;
  line-height: 1.2;
}

.form-error {
  color: var(--danger);
  font-size: 13px;
  font-weight: 700;
  margin: 0;
}

.workspace {
  display: grid;
  grid-template-columns: 252px minmax(0, 1fr);
  min-height: 100dvh;
  position: relative;
}

.mobile-menu-toggle,
.workspace-menu-scrim {
  display: none;
}

.workspace-sidebar {
  background: #edf2f7;
  border-right: 1px solid var(--line);
  display: grid;
  grid-template-rows: auto auto 1fr auto;
  gap: 24px;
  padding: 22px;
  position: sticky;
  top: 0;
  height: 100dvh;
}

.app-nav {
  display: grid;
  gap: 8px;
}

.nav-item {
  align-items: center;
  background: transparent;
  border: 1px solid transparent;
  border-radius: var(--button-radius);
  color: var(--muted);
  display: flex;
  gap: 10px;
  font-weight: 780;
  min-height: 44px;
  padding: 0 14px;
  text-align: left;
  transition: background 180ms ease, border-color 180ms ease, color 180ms ease, transform 180ms ease;
}

.nav-icon {
  align-items: center;
  background: rgba(255, 255, 255, 0.48);
  border: 1px solid rgba(18, 29, 42, 0.08);
  border-radius: 8px;
  color: currentColor;
  display: inline-grid;
  flex: 0 0 auto;
  height: 28px;
  place-items: center;
  transition: background 180ms ease, border-color 180ms ease, color 180ms ease;
  width: 28px;
}

.nav-icon svg {
  display: block;
  fill: none;
  height: 17px;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 2.1;
  width: 17px;
}

.nav-item.active,
.nav-item:hover {
  background: var(--surface);
  border-color: rgba(21, 34, 51, 0.08);
  color: var(--ink);
}

.nav-item.active .nav-icon,
.nav-item:hover .nav-icon {
  background: #f7f6f3;
  border-color: rgba(18, 29, 42, 0.12);
  color: var(--navy);
}

.nav-item.active {
  box-shadow: 0 10px 22px -20px rgba(18, 29, 42, 0.6);
}

.nav-item-subtle {
  border-color: rgba(32, 33, 29, 0.12);
  border-top: 1px solid rgba(32, 33, 29, 0.12);
  margin-top: 8px;
  padding-top: 12px;
}

.nav-item-subtle:hover {
  color: var(--accent-dark);
}

.sidebar-summary {
  align-self: end;
  border-top: 1px solid rgba(32, 33, 29, 0.12);
  color: var(--muted);
  display: grid;
  gap: 6px;
  padding-top: 18px;
}

.sidebar-summary span {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.sidebar-summary strong {
  color: var(--ink);
}

.sidebar-summary small {
  line-height: 1.4;
}

.sidebar-login {
  width: 100%;
}

.workspace-main {
  min-width: 0;
  padding: clamp(20px, 4vw, 38px);
}

.workspace-toolbar {
  align-items: end;
  display: grid;
  gap: 20px;
  grid-template-columns: minmax(0, 1fr) auto;
  margin-bottom: 22px;
  position: relative;
  z-index: 20;
}

.workspace-toolbar h2 {
  font-size: clamp(30px, 3.2vw, 48px);
  line-height: 1.04;
  max-width: 12em;
}

.toolbar-controls {
  align-items: end;
  display: flex;
  gap: 12px;
  justify-content: flex-end;
  min-width: 0;
}

.toolbar-actions {
  align-items: center;
  display: flex;
  gap: 10px;
  min-width: 0;
}

.toolbar-button {
  min-height: 42px;
}

.toolbar-button span {
  color: var(--muted);
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 750;
}

.calendar-field {
  position: relative;
  z-index: 40;
}

.calendar-input-row {
  display: block;
  min-width: 160px;
}

.calendar-trigger {
  align-items: center;
  background: #ffffff;
  border: 1px solid rgba(21, 34, 51, 0.14);
  border-radius: 12px;
  display: flex;
  gap: 10px;
  justify-content: space-between;
  min-height: 42px;
  padding: 0 12px 0 38px;
  position: relative;
  transition: background 180ms ease, border-color 180ms ease, transform 180ms ease;
  width: 100%;
}

.calendar-trigger strong {
  color: var(--navy);
  font-size: 14px;
  font-weight: 850;
  line-height: 1;
}

.calendar-trigger::before {
  border: 2px solid var(--navy);
  border-radius: 8px;
  content: "";
  height: 18px;
  left: 13px;
  position: absolute;
  width: 18px;
}

.calendar-trigger::after {
  background: var(--navy);
  border-radius: 999px;
  box-shadow: 7px 0 0 var(--navy);
  content: "";
  height: 2px;
  left: 20px;
  position: absolute;
  top: 13px;
  width: 2px;
}

.calendar-trigger:hover {
  background: var(--accent-soft);
  border-color: rgba(255, 116, 23, 0.28);
  transform: translateY(-1px);
}

.calendar-trigger-dot {
  background: var(--accent);
  border: 2px solid #ffffff;
  border-radius: 999px;
  bottom: 8px;
  height: 10px;
  position: absolute;
  right: 13px;
  width: 10px;
}

.mini-calendar {
  background: #ffffff;
  border: 1px solid rgba(217, 225, 234, 0.92);
  border-radius: 14px;
  box-shadow: 0 24px 46px -32px rgba(18, 29, 42, 0.52);
  display: grid;
  gap: 12px;
  padding: 12px;
  position: absolute;
  right: 0;
  top: calc(100% + 8px);
  width: 286px;
  z-index: 60;
}

.mini-calendar-header,
.mini-calendar-weekdays,
.mini-calendar-days {
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
}

.mini-calendar-header {
  align-items: center;
  gap: 8px;
  grid-template-columns: 34px 1fr 34px;
}

.mini-calendar-selectors {
  display: grid;
  gap: 8px;
  grid-template-columns: minmax(0, 1fr) 76px;
}

.mini-calendar-header button {
  align-items: center;
  background: #f8fafc;
  border: 1px solid rgba(217, 225, 234, 0.8);
  border-radius: 999px;
  color: var(--navy);
  display: grid;
  font-size: 18px;
  font-weight: 850;
  height: 32px;
  line-height: 1;
  padding: 0;
  place-items: center;
}

.mini-calendar-selectors select {
  border-radius: 999px;
  font-size: 12px;
  font-weight: 800;
  min-height: 32px;
  padding: 0 9px;
}

.mini-calendar-weekdays span {
  color: var(--muted);
  font-family: var(--mono);
  font-size: 10px;
  font-weight: 800;
  text-align: center;
}

.mini-calendar-days {
  gap: 4px;
}

.mini-calendar-spacer,
.mini-calendar-day {
  min-height: 32px;
}

.mini-calendar-day {
  background: transparent;
  border: 1px solid transparent;
  border-radius: 9px;
  color: var(--navy);
  font-size: 13px;
  font-weight: 760;
  position: relative;
}

.mini-calendar-day:hover {
  background: var(--accent-soft);
}

.mini-calendar-day.today {
  border-color: rgba(21, 34, 51, 0.16);
}

.mini-calendar-day.selected {
  background: var(--navy);
  color: #ffffff;
}

.mini-calendar-day.has-bookings::after {
  background: var(--accent);
  border-radius: 999px;
  bottom: 4px;
  content: "";
  height: 5px;
  left: 50%;
  position: absolute;
  transform: translateX(-50%);
  width: 5px;
}

.mini-calendar-day.selected.has-bookings::after {
  background: #ffffff;
}

.mini-calendar-footer {
  border-top: 1px solid rgba(217, 225, 234, 0.86);
  padding-top: 10px;
}

.calendar-back-button {
  align-items: center;
  background: #fff7f0;
  border: 1px solid rgba(255, 111, 28, 0.34);
  border-radius: 999px;
  color: var(--navy);
  display: flex;
  font-size: 12px;
  font-weight: 850;
  justify-content: center;
  min-height: 36px;
  padding: 0 14px;
  width: 100%;
}

.calendar-back-button:hover {
  background: #ffefe2;
  border-color: rgba(255, 111, 28, 0.5);
}

.diary-layout {
  display: grid;
  gap: 16px;
  grid-template-columns: minmax(0, 1fr);
}

.diary-board,
.client-form-panel,
.client-table-panel {
  min-width: 0;
}

.client-form-panel,
.client-table-panel {
  padding: 18px;
}

.panel-heading {
  align-items: center;
  display: flex;
  gap: 16px;
  justify-content: space-between;
  margin-bottom: 16px;
}

.panel-heading h3,
.client-form-panel h3 {
  font-size: 18px;
  margin: 0;
}

.text-button {
  background: var(--accent-soft);
  border: 1px solid rgba(255, 116, 23, 0.2);
  border-radius: 999px;
  color: var(--accent);
  min-height: 30px;
  font-weight: 800;
  padding: 0 12px;
  transition: background 180ms ease, color 180ms ease, transform 180ms ease;
}

.text-button:hover {
  background: #ffe4d2;
  color: var(--accent-dark);
}

.client-list {
  display: grid;
  gap: 10px;
}

.palette-client,
.client-row {
  background: #f7f9fc;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  display: grid;
  gap: 8px;
  padding: 12px;
}

.palette-client strong,
.client-row strong {
  letter-spacing: -0.015em;
}

.palette-client span,
.client-row span,
.booking-card small {
  color: var(--muted);
  font-size: 12px;
  line-height: 1.35;
}

.staff-service-summary {
  color: var(--blue);
  display: block;
  font-size: 12px;
  font-weight: 750;
  line-height: 1.35;
}

.client-row {
  grid-template-columns: minmax(0, 1fr) auto;
}

.client-row-editable {
  cursor: pointer;
  position: relative;
  transition:
    background 180ms ease,
    border-color 180ms ease,
    box-shadow 180ms ease,
    transform 180ms ease;
}

.client-row-editable::after {
  background: var(--accent);
  border-radius: 999px;
  content: "";
  height: calc(100% - 20px);
  left: 6px;
  opacity: 0;
  position: absolute;
  top: 10px;
  transition: opacity 180ms ease;
  width: 3px;
}

.service-row.client-row-editable::after {
  height: calc(100% - 18px);
}

.client-row-editable:hover,
.client-row-editable:focus-visible {
  background: #ffffff;
  border-color: rgba(255, 116, 23, 0.34);
  box-shadow: 0 18px 34px -30px rgba(18, 29, 42, 0.54);
  outline: none;
  transform: translateY(-1px);
}

.client-row-editable:hover::after,
.client-row-editable:focus-visible::after {
  opacity: 1;
}

.client-row-actions {
  display: flex;
  gap: 8px;
  position: relative;
  z-index: 1;
}

.service-row {
  align-items: center;
  grid-template-columns: minmax(0, 1fr) auto auto;
}

.service-row > div:first-child {
  align-items: center;
  display: grid;
  gap: 3px 10px;
  grid-template-columns: auto minmax(0, 1fr);
}

.service-row > div:first-child strong,
.service-row > div:first-child span:not(.service-card-swatch) {
  grid-column: 2;
}

.service-card-swatch {
  background: var(--swatch-color);
  border: 3px solid #ffffff;
  border-radius: 999px;
  box-shadow: 0 0 0 1px rgba(18, 29, 42, 0.11);
  grid-column: 1;
  grid-row: 1 / span 2;
  height: 28px;
  width: 28px;
}

.service-price {
  background: var(--accent-soft);
  border: 1px solid rgba(255, 116, 23, 0.22);
  border-radius: 999px;
  color: var(--accent-dark);
  font-family: var(--mono);
  font-size: 13px;
  font-weight: 850;
  padding: 8px 12px;
  white-space: nowrap;
}

.service-row .client-row-actions {
  justify-content: flex-end;
}

@media (max-width: 1180px) {
  .workspace-toolbar {
    align-items: start;
    grid-template-columns: 1fr;
  }

  .workspace-toolbar h2 {
    font-size: clamp(34px, 6vw, 48px);
    max-width: 100%;
  }

  .toolbar-controls {
    flex-wrap: wrap;
    justify-content: flex-start;
    width: 100%;
  }

  .toolbar-actions {
    flex-wrap: wrap;
  }
}

@media (min-width: 981px) and (max-width: 1180px) {
  .toolbar-controls > label,
  .toolbar-controls > button,
  .toolbar-actions > button {
    flex: 0 1 auto;
  }
}

.service-color-field {
  gap: 8px;
}

.service-color-trigger {
  align-items: center;
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: 12px;
  color: var(--card-text);
  cursor: pointer;
  display: grid;
  gap: 10px;
  grid-template-columns: 42px minmax(0, 1fr);
  height: 44px;
  padding: 0 12px 0 4px;
  text-align: left;
  transition: border-color 180ms ease, box-shadow 180ms ease, transform 180ms ease;
  width: 100%;
}

.service-color-trigger:hover {
  border-color: rgba(255, 116, 23, 0.38);
  box-shadow: 0 12px 22px -22px rgba(18, 29, 42, 0.5);
}

.service-preview-swatch {
  background: var(--swatch-color);
  border: 3px solid #ffffff;
  border-radius: 10px;
  box-shadow: 0 0 0 1px rgba(18, 29, 42, 0.11);
  height: 34px;
  width: 34px;
}

.service-color-trigger span:last-child {
  font-size: 13px;
  font-weight: 850;
}

.service-color-form {
  max-width: 680px;
}

.service-color-grid {
  display: grid;
  gap: 10px;
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.service-color-tile {
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: 14px;
  color: var(--navy);
  display: grid;
  gap: 9px;
  min-height: 108px;
  padding: 12px;
  text-align: left;
  transition: border-color 180ms ease, box-shadow 180ms ease, transform 180ms ease;
}

.service-color-tile:hover,
.service-color-tile.selected {
  border-color: rgba(255, 116, 23, 0.42);
  box-shadow: 0 16px 28px -24px rgba(18, 29, 42, 0.52);
}

.service-color-tile.selected {
  outline: 2px solid rgba(255, 116, 23, 0.34);
}

.service-color-tile-swatch {
  background: var(--swatch-color);
  border: 4px solid #ffffff;
  border-radius: 12px;
  box-shadow:
    0 0 0 1px rgba(18, 29, 42, 0.1),
    inset 0 1px 0 rgba(255, 255, 255, 0.24);
  height: 46px;
  width: 100%;
}

.service-color-tile strong {
  font-size: 12px;
  line-height: 1.2;
}

.service-color-tile.selected::after {
  align-items: center;
  background: var(--accent);
  border-radius: 999px;
  color: #ffffff;
  content: "";
  height: 7px;
  justify-self: end;
  margin-top: -16px;
  width: 7px;
}

.mini-button {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--ink);
  font-size: 12px;
  font-weight: 800;
  min-height: 34px;
  padding: 0 12px;
  transition: background 180ms ease, border-color 180ms ease, color 180ms ease, transform 180ms ease;
}

.mini-button:hover {
  background: var(--accent-soft);
  border-color: rgba(255, 116, 23, 0.28);
  color: var(--accent-dark);
  transform: translateY(-1px);
}

.mini-button-danger {
  color: #9b3428;
}

.mini-button-danger:hover {
  background: #fff0ed;
  border-color: rgba(184, 68, 54, 0.28);
  color: #8f2d22;
}

.diary-board {
  overflow: hidden;
  border-color: rgba(217, 225, 234, 0.46);
  box-shadow: 0 22px 56px -50px rgba(18, 29, 42, 0.24);
  position: relative;
}

.diary-scroll {
  overflow: auto;
  max-height: calc(100dvh - 156px);
  background:
    linear-gradient(180deg, rgba(255, 116, 23, 0.025), transparent 180px),
    #f8fafc;
}

.diary-fab {
  align-items: center;
  background: #ffffff;
  border: 1px solid rgba(255, 116, 23, 0.24);
  border-radius: 999px;
  bottom: 20px;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.9),
    0 18px 34px -24px rgba(18, 29, 42, 0.58);
  color: var(--navy);
  display: inline-flex;
  gap: 11px;
  left: 20px;
  min-height: 54px;
  padding: 7px 20px 7px 9px;
  position: absolute;
  transition: background 180ms ease, border-color 180ms ease, box-shadow 180ms ease, transform 180ms ease;
  z-index: 4;
}

.diary-fab span {
  align-items: center;
  background: linear-gradient(180deg, #ff812b 0%, var(--accent) 100%);
  border-radius: 999px;
  color: #ffffff;
  display: inline-grid;
  height: 40px;
  line-height: 1;
  place-items: center;
  width: 40px;
}

.diary-fab svg {
  fill: none;
  height: 22px;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 2.3;
  width: 22px;
}

.diary-fab strong {
  font-size: 15px;
  font-weight: 850;
}

.diary-fab:hover {
  background: #fffaf7;
  border-color: rgba(255, 116, 23, 0.36);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.95),
    0 22px 38px -26px rgba(18, 29, 42, 0.72);
  transform: translateY(-1px);
}

.diary-fab:active {
  transform: translateY(1px);
}

.toolbar-client-button {
  bottom: auto;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.92),
    0 12px 24px -22px rgba(18, 29, 42, 0.5);
  left: auto;
  min-height: 46px;
  padding: 5px 16px 5px 6px;
  position: relative;
  z-index: auto;
}

.toolbar-client-button span {
  height: 34px;
  width: 34px;
}

.toolbar-client-button svg {
  height: 19px;
  width: 19px;
}

.toolbar-client-button strong {
  font-size: 14px;
  white-space: nowrap;
}

.diary-grid {
  display: grid;
  grid-auto-rows: var(--slot-height);
  min-width: 820px;
}

.diary-corner,
.staff-header,
.time-cell,
.time-slot {
  border: 0;
  border-bottom: 1px solid rgba(202, 214, 227, 0.44);
  border-right: 1px solid rgba(202, 214, 227, 0.36);
}

.diary-corner,
.staff-header {
  align-items: center;
  background: rgba(255, 255, 255, 0.98);
  display: flex;
  font-weight: 820;
  height: 52px;
  min-height: 0;
  padding: 0 12px;
  position: sticky;
  top: 0;
  z-index: 4;
}

.diary-corner {
  color: var(--muted);
  font-family: var(--mono);
  font-size: 12px;
  left: 0;
  z-index: 8;
}

.staff-header {
  justify-content: space-between;
  backdrop-filter: blur(14px);
}

.staff-header span {
  color: var(--muted);
  font-size: 12px;
  font-weight: 600;
}

.time-cell {
  background: rgba(248, 250, 252, 0.98);
  box-shadow: 10px 0 18px -18px rgba(18, 29, 42, 0.55);
  color: rgba(101, 113, 132, 0.72);
  font-family: var(--mono);
  font-size: 11px;
  height: var(--slot-height);
  min-height: 0;
  padding: 7px 8px;
  position: sticky;
  left: 0;
  z-index: 6;
}

.time-slot {
  background: #ffffff;
  height: var(--slot-height);
  min-height: 0;
  padding: 3px;
  transition: background 160ms ease;
}

.time-slot:hover {
  background: #fffaf7;
}

.booking-card {
  --card-bg: #fff2e9;
  --card-border: rgba(255, 116, 23, 0.3);
  --card-text: #152233;
  --card-muted: rgba(21, 34, 51, 0.68);
  --card-rail: #ff7417;
  --card-chip-bg: #ffffff;
  --card-chip-border: rgba(255, 116, 23, 0.22);
  --card-chip-text: #9b4108;
  align-self: stretch;
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: 9px;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.72),
    0 14px 24px -22px rgba(18, 29, 42, 0.62);
  color: var(--card-text);
  cursor: grab;
  display: grid;
  gap: 10px;
  grid-template-rows: auto auto minmax(0, 1fr);
  height: calc(100% - 6px);
  justify-self: start;
  margin: 3px 0 3px 3px;
  min-height: calc(var(--slot-height) - 6px);
  overflow: hidden;
  padding: 26px 13px;
  position: relative;
  text-align: left;
  touch-action: none;
  transition: box-shadow 160ms ease, outline-color 160ms ease, transform 160ms ease;
  width: calc(100% - 6px);
  z-index: 1;
}

.booking-card--parallel {
  gap: 8px;
  padding-left: 10px;
  padding-right: 10px;
}

.booking-card--parallel strong,
.booking-card--parallel small {
  overflow-wrap: anywhere;
}

.booking-card.has-processing {
  padding-bottom: 48px;
}

.booking-card:hover {
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.78),
    0 18px 28px -24px rgba(18, 29, 42, 0.72);
  outline: 1px solid rgba(255, 116, 23, 0.24);
}

.booking-card:hover .transform-handle,
.booking-card:focus-visible .transform-handle,
.booking-card.dragging .transform-handle,
.booking-card.resizing .transform-handle {
  opacity: 1;
}

.booking-card.dragging,
.booking-card.resizing {
  cursor: grabbing;
  opacity: 0.96;
  outline: 2px solid rgba(255, 116, 23, 0.42);
  transition: none;
  z-index: 4;
}

.booking-card.overlap-blocked {
  opacity: 0.72;
  outline: 2px solid rgba(184, 68, 54, 0.55);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.78),
    0 18px 28px -24px rgba(184, 68, 54, 0.7);
}

.booking-card.arrived {
  --card-bg: #edf5fb;
  --card-border: rgba(71, 114, 143, 0.26);
  --card-text: #152233;
  --card-muted: rgba(21, 34, 51, 0.66);
  --card-rail: #47728f;
  --card-chip-bg: #ffffff;
  --card-chip-border: rgba(71, 114, 143, 0.18);
  --card-chip-text: #315873;
}

.booking-card.needs-call {
  --card-bg: #fff7ea;
  --card-border: rgba(243, 154, 52, 0.34);
  --card-text: #152233;
  --card-muted: rgba(21, 34, 51, 0.72);
  --card-rail: #f39a34;
  --card-chip-bg: #ffffff;
  --card-chip-border: rgba(243, 154, 52, 0.22);
  --card-chip-text: #8c3904;
}

.booking-card.completed {
  --card-bg: #f6f8fb;
  --card-border: rgba(21, 34, 51, 0.16);
  --card-text: #152233;
  --card-muted: rgba(21, 34, 51, 0.66);
  --card-rail: #657184;
  --card-chip-bg: #ffffff;
  --card-chip-border: rgba(21, 34, 51, 0.1);
  --card-chip-text: #38465a;
}

.booking-card strong {
  color: var(--card-text);
  font-size: 14px;
  font-weight: 800;
  letter-spacing: -0.01em;
  line-height: 1.22;
}

.booking-meta {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.booking-card .booking-time {
  color: var(--card-muted);
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 750;
  line-height: 1.35;
}

.booking-status {
  background: var(--card-chip-bg);
  border: 1px solid var(--card-chip-border);
  border-radius: 999px;
  color: var(--card-chip-text);
  font-size: 10.5px;
  font-weight: 800;
  letter-spacing: 0;
  line-height: 1.1;
  padding: 4px 7px;
}

.booking-card small {
  color: var(--card-muted);
  font-weight: 550;
  line-height: 1.45;
}

.booking-processing-addon {
  align-items: center;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.54) 25%, transparent 25% 50%, rgba(255, 255, 255, 0.54) 50% 75%, transparent 75%),
    color-mix(in srgb, var(--card-rail) 16%, #ffffff);
  background-size: 12px 12px, auto;
  border: 1px solid color-mix(in srgb, var(--card-rail) 22%, transparent);
  border-radius: 9px;
  bottom: 18px;
  color: var(--card-text);
  display: flex;
  gap: 8px;
  height: max(25px, var(--processing-height));
  justify-content: space-between;
  left: 8px;
  padding: 5px 8px;
  position: absolute;
  right: 8px;
  z-index: 1;
}

.booking-processing-addon span {
  color: var(--card-muted);
  font-size: 10px;
  font-weight: 850;
}

.booking-processing-addon strong {
  color: var(--card-chip-text);
  font-family: var(--mono);
  font-size: 10px;
  font-weight: 850;
  white-space: nowrap;
}

.transform-handle {
  align-items: center;
  background: rgba(255, 255, 255, 0.82);
  border: 1px solid rgba(18, 29, 42, 0.1);
  border-radius: 999px;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.72),
    0 6px 12px -11px rgba(18, 29, 42, 0.52);
  display: flex;
  height: 15px;
  justify-content: center;
  left: 8px;
  opacity: 0.72;
  position: absolute;
  right: 8px;
  transition: background 160ms ease, border-color 160ms ease, opacity 160ms ease, transform 160ms ease;
  z-index: 2;
}

.transform-handle::before,
.transform-handle::after {
  background: var(--card-rail);
  border: 2px solid rgba(255, 255, 255, 0.9);
  border-radius: 999px;
  content: "";
  height: 9px;
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 9px;
}

.transform-handle::before {
  left: -5px;
}

.transform-handle::after {
  right: -5px;
}

.handle-rail {
  background:
    linear-gradient(90deg, var(--card-rail) 0 4px, transparent 4px 8px) center / 8px 2px repeat-x;
  display: block;
  height: 6px;
  opacity: 0.68;
  width: 38px;
}

.transform-handle:hover {
  background: #ffffff;
  border-color: rgba(255, 116, 23, 0.28);
  transform: scaleY(1.04);
}

.transform-handle-top {
  cursor: ns-resize;
  top: 4px;
}

.transform-handle-bottom {
  bottom: 4px;
  cursor: ns-resize;
}

.empty-note {
  background: #f7f9fc;
  border: 1px dashed var(--line);
  border-radius: var(--radius);
  color: var(--muted);
  line-height: 1.45;
  margin: 0;
  padding: 14px;
}

.clients-layout {
  display: grid;
  gap: 16px;
  grid-template-columns: minmax(280px, 390px) minmax(0, 1fr);
}

.service-table-panel {
  min-height: 360px;
}

.service-editor-panel .client-form {
  gap: 14px;
}

.form-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.button-strong-secondary {
  background: var(--navy);
  border: 1px solid var(--navy);
  color: #ffffff;
  box-shadow: 0 14px 26px -22px rgba(18, 29, 42, 0.72);
}

.button-strong-secondary:hover {
  background: #243952;
  border-color: #243952;
  color: #ffffff;
}

.booking-dialog {
  background: transparent;
  border: 0;
  max-width: min(760px, calc(100vw - 28px));
  padding: 0;
  width: 100%;
}

.quick-client-dialog {
  max-width: min(640px, calc(100vw - 28px));
}

.booking-dialog::backdrop {
  background: rgba(32, 33, 29, 0.48);
}

.booking-form {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 12px;
  box-shadow: var(--shadow);
  display: grid;
  gap: 20px;
  padding: 24px;
}

.quick-client-form {
  background:
    linear-gradient(135deg, rgba(255, 116, 23, 0.06), transparent 46%),
    var(--surface);
}

.remove-dialog {
  max-width: min(560px, calc(100vw - 28px));
}

.remove-form {
  background:
    linear-gradient(135deg, rgba(184, 68, 54, 0.07), transparent 48%),
    var(--surface);
}

.remove-message {
  color: var(--muted);
  font-size: 15px;
  line-height: 1.55;
  margin: 0;
}

.dialog-header {
  align-items: start;
  display: flex;
  gap: 16px;
  justify-content: space-between;
}

.dialog-header h3 {
  font-size: 30px;
  margin: 0;
}

.icon-button {
  align-items: center;
  background: #ffffff;
  border: 1px solid rgba(21, 34, 51, 0.14);
  border-radius: 999px;
  color: var(--ink);
  display: inline-grid;
  font-size: 24px;
  height: 40px;
  line-height: 1;
  place-items: center;
  transition: background 180ms ease, border-color 180ms ease, color 180ms ease, transform 180ms ease;
  width: 40px;
}

.icon-button:hover {
  background: var(--accent-soft);
  border-color: rgba(255, 116, 23, 0.3);
  color: var(--accent-dark);
}

.booking-grid {
  display: grid;
  gap: 14px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.booking-grid .wide {
  grid-column: 1 / -1;
}

.client-search-field {
  position: relative;
  z-index: 3;
}

.client-search-results {
  background: #ffffff;
  border: 1px solid rgba(217, 225, 234, 0.92);
  border-radius: 10px;
  box-shadow: 0 18px 34px -28px rgba(18, 29, 42, 0.5);
  display: grid;
  gap: 4px;
  max-height: 214px;
  overflow: auto;
  padding: 5px;
  position: absolute;
  top: calc(100% + 6px);
  width: 100%;
  z-index: 5;
}

.client-search-results:empty {
  display: none;
}

.client-search-option {
  background: transparent;
  border: 0;
  border-radius: 8px;
  color: var(--navy);
  display: grid;
  gap: 3px;
  padding: 10px;
  text-align: left;
  transition: background 160ms ease, color 160ms ease;
}

.client-search-option:hover,
.client-search-option:focus-visible {
  background: var(--accent-soft);
  outline: none;
}

.client-search-option strong {
  font-size: 14px;
}

.client-search-option span,
.client-search-empty {
  color: var(--muted);
  font-size: 12px;
  line-height: 1.35;
}

.client-search-empty {
  margin: 0;
  padding: 10px;
}

.rebook-panel {
  align-items: end;
  background: #f8fafc;
  border: 1px solid rgba(217, 225, 234, 0.86);
  border-radius: 12px;
  display: grid;
  gap: 14px;
  grid-template-columns: minmax(0, 1fr) 150px auto;
  padding: 14px;
}

.rebook-panel > div {
  display: grid;
  gap: 4px;
}

.rebook-panel strong {
  color: var(--navy);
  font-size: 15px;
}

.rebook-panel span {
  color: var(--muted);
  font-size: 13px;
  line-height: 1.35;
}

.dialog-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: end;
}

@media (max-width: 980px) {
  .site-header {
    grid-template-columns: 1fr auto;
  }

  .site-nav {
    display: none;
  }

  .hero,
  .section-heading,
  .pricing-grid,
  .login-panel,
  .customer-booking-shell,
  .workspace,
  .diary-layout,
  .clients-layout {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
  }

  .hero-copy {
    max-width: 100%;
  }

  .hero-login-panel {
    justify-self: start;
  }

  .hero-product {
    min-height: 440px;
  }

  .customer-booking-nav {
    grid-template-columns: auto 1fr;
  }

  .customer-booking-nav > div {
    display: none;
  }

  .customer-slot-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .feature-grid {
    grid-template-columns: 1fr 1fr;
  }

  .feature-showcase,
  .feature-studio {
    grid-template-columns: 1fr;
  }

  .feature-lede {
    position: relative;
    top: auto;
  }

  .feature-flow {
    grid-column: auto;
    padding: 0;
  }

  .feature-flow::before {
    display: none;
  }

  .feature-step:nth-child(1),
  .feature-step:nth-child(2),
  .feature-step:nth-child(3) {
    margin-left: 0;
    margin-right: 0;
  }

  .feature-promise {
    border-radius: 18px;
    justify-content: flex-start;
  }

  .feature-large,
  .feature-wide {
    grid-column: auto;
    grid-row: auto;
  }

  .workspace-sidebar {
    box-shadow: 34px 0 70px -54px rgba(18, 29, 42, 0.8);
    height: 100dvh;
    left: 0;
    max-width: 320px;
    position: fixed;
    top: 0;
    transform: translateX(-104%);
    transition: transform 240ms ease;
    width: min(82vw, 320px);
    z-index: 32;
  }

  .workspace.menu-open .workspace-sidebar {
    transform: translateX(0);
  }

  .workspace-main {
    padding-top: 76px;
  }

  .mobile-menu-toggle {
    align-items: center;
    background: #ffffff;
    border: 1px solid rgba(18, 29, 42, 0.14);
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(18, 29, 42, 0.04);
    display: inline-grid;
    gap: 5px;
    height: 44px;
    justify-content: center;
    left: 16px;
    padding: 0;
    position: fixed;
    top: 16px;
    transition:
      background 200ms ease,
      border-color 200ms ease,
      box-shadow 200ms ease,
      transform 200ms ease;
    width: 44px;
    z-index: 34;
  }

  .mobile-menu-toggle:hover {
    background: #fbfbfa;
    border-color: rgba(18, 29, 42, 0.22);
  }

  .mobile-menu-toggle span {
    background: var(--navy);
    border-radius: 999px;
    display: block;
    height: 2px;
    position: relative;
    transition:
      background 180ms ease,
      opacity 180ms ease,
      transform 220ms ease;
    width: 19px;
  }

  .mobile-menu-toggle span:nth-child(2) {
    width: 19px;
  }

  .workspace.menu-open .mobile-menu-toggle {
    background: #ffffff;
    border-color: rgba(18, 29, 42, 0.22);
    box-shadow: 0 2px 10px rgba(18, 29, 42, 0.04);
  }

  .workspace.menu-open .mobile-menu-toggle span {
    background: var(--navy);
    width: 19px;
  }

  .workspace.menu-open .mobile-menu-toggle span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
  }

  .workspace.menu-open .mobile-menu-toggle span:nth-child(2) {
    opacity: 0;
    transform: translateX(-4px);
  }

  .workspace.menu-open .mobile-menu-toggle span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
  }

  .workspace-menu-scrim {
    background: rgba(18, 29, 42, 0.24);
    border: 0;
    display: block;
    inset: 0;
    padding: 0;
    position: fixed;
    z-index: 30;
  }

  .app-nav {
    display: grid;
    justify-content: stretch;
  }

  .nav-item {
    text-align: left;
  }

  .nav-item-subtle {
    border: 1px solid rgba(21, 34, 51, 0.1);
    margin-top: 18px;
    padding-top: 0;
    text-align: center;
  }

  .sidebar-summary {
    display: grid;
  }
}

@media (max-width: 720px) {
  .hero,
  .feature-band,
  .pricing-section,
  .login-panel,
  .customer-booking-shell,
  .workspace-main {
    padding-left: 16px;
    padding-right: 16px;
  }

  h1 {
    font-size: 42px;
  }

  .hero-copy {
    text-align: left;
  }

  .hero-actions {
    justify-content: flex-start;
  }

  .preview-grid,
  .feature-grid,
  .workspace-toolbar,
  .customer-booking-grid,
  .customer-contact-panel .customer-booking-grid,
  .customer-slot-list,
  .staff-service-grid,
  .booking-grid,
  .client-row {
    grid-template-columns: 1fr;
  }

  .customer-booking-nav {
    align-items: start;
    grid-template-columns: 1fr;
  }

  .preview-timeline,
  .preview-note {
    display: none;
  }

  .preview-actionbar,
  .preview-command {
    align-items: stretch;
    grid-template-columns: 1fr;
  }

  .preview-actionbar {
    gap: 12px;
    flex-direction: column;
  }

  .preview-calendar {
    min-height: 320px;
  }

  .feature-grid article,
  .feature-lede,
  .feature-step,
  .feature-studio,
  .price-card {
    padding: 22px;
  }

  .feature-step {
    grid-template-columns: 1fr;
    padding-left: 0;
  }

  .feature-step h3,
  .feature-step p {
    grid-column: auto;
  }

  .studio-lanes div {
    grid-template-columns: 1fr;
  }

  .studio-lanes strong,
  .studio-lanes small {
    grid-column: auto;
  }

  .workspace-sidebar {
    align-items: stretch;
    gap: 12px;
    grid-template-columns: 1fr;
  }

  .app-nav,
  .toolbar-controls,
  .toolbar-actions {
    align-items: stretch;
    flex-direction: column;
  }

  .nav-item {
    text-align: left;
  }

  .diary-scroll {
    max-height: 68dvh;
  }

  .dialog-actions {
    justify-content: stretch;
  }

  .rebook-panel {
    align-items: stretch;
    grid-template-columns: 1fr;
  }

  .dialog-actions .button {
    flex: 1;
  }
}
