/* SimplyBooked — shared tokens, type and primitives (landing, sign-in, dashboard) */
@font-face { font-family: "Inter"; font-weight: 400; font-style: normal; font-display: swap; src: url("../assets/fonts/Inter-Regular.woff") format("woff"); }
@font-face { font-family: "Inter"; font-weight: 500; font-style: normal; font-display: swap; src: url("../assets/fonts/Inter-Medium.woff") format("woff"); }
@font-face { font-family: "Inter"; font-weight: 600; font-style: normal; font-display: swap; src: url("../assets/fonts/Inter-SemiBold.woff") format("woff"); }
@font-face { font-family: "Inter Display"; font-weight: 600; font-style: normal; font-display: swap; src: url("../assets/fonts/InterDisplay-SemiBold.woff") format("woff"); }
@font-face { font-family: "Inter Display"; font-weight: 700; font-style: normal; font-display: swap; src: url("../assets/fonts/InterDisplay-Bold.woff") format("woff"); }
@font-face { font-family: "Inter Display"; font-weight: 800; font-style: normal; font-display: swap; src: url("../assets/fonts/InterDisplay-ExtraBold.woff") format("woff"); }

:root {
  /* brand — sampled from the SimplyBooked logo */
  --ink: #011d3f;          /* "Simply" navy */
  --ink-2: #1d3150;
  --blue: #005efc;         /* "Booked" blue */
  --blue-press: #004ccf;
  --blue-wash: #e8f0ff;
  /* the band behind the landing reel: a muted harbour blue between the logo navy and the films' daylight */
  --harbour: #2b4a6f;
  --harbour-deep: #223d5e;
  /* categorical set (validated for colour-blind separation): blue, teal, brass, violet — channels and staff */
  --c1: #005efc;
  --c2: #12957a;
  --c3: #b07a12;
  --c4: #7a5cc2;
  --c1-wash: #e8f0ff;
  --c2-wash: #e2f4ef;
  --c3-wash: #f8efdc;
  --c4-wash: #efeaf9;
  /* the same hues deepened for white text on the KPI cards */
  --k-navy: #011d3f;
  --k-blue: #0050d8;
  --k-teal: #0d6b58;
  --k-brass: #87590b;
  /* surfaces — the limestone counter from the brand films, used sparingly */
  --paper: #ffffff;
  --stone: #f2efe9;
  --stone-2: #e7e2d8;
  --line: #e3e5ea;
  --line-strong: #cfd3db;
  --muted: #566176;
  --faint: #8a93a3;
  /* status */
  --mint: #0e7a57;
  --mint-wash: #e2f5ec;
  --amber: #8a5300;
  --amber-wash: #fdf1dc;
  --red: #b42c25;
  --red-wash: #fce9e7;

  --font: "Inter", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --display: "Inter Display", "Inter", ui-sans-serif, system-ui, sans-serif;

  --r-sm: 8px;
  --r-md: 14px;
  --r-lg: 28px;
  --gutter: clamp(16px, 4vw, 48px);
  --max: 1240px;
  --shadow-float: 0 1px 2px rgba(1, 29, 63, .06), 0 12px 32px -8px rgba(1, 29, 63, .18);
  --ease: cubic-bezier(.2, .7, .1, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.6;
  color: var(--ink);
  background: var(--paper);
  font-feature-settings: "cv11", "ss01";
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
img, video { display: block; max-width: 100%; }
a { color: inherit; }
button, input, select, textarea { font: inherit; color: inherit; }
h1, h2, h3, h4 { font-family: var(--display); margin: 0; font-weight: 700; letter-spacing: -0.02em; text-wrap: balance; }
p { margin: 0; text-wrap: pretty; }

:focus-visible { outline: 2px solid var(--blue); outline-offset: 3px; border-radius: 4px; }

[hidden] { display: none !important; }
.sr-only { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip-link { position: absolute; left: 12px; top: -60px; z-index: 100; background: var(--ink); color: #fff; padding: 10px 16px; border-radius: var(--r-sm); text-decoration: none; }
.skip-link:focus { top: 12px; }

/* buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 44px; padding: 0 20px;
  border-radius: 999px; border: 1px solid transparent;
  font-weight: 600; font-size: 15px; line-height: 1; letter-spacing: -0.005em;
  text-decoration: none; cursor: pointer; white-space: nowrap;
  transition: background-color .15s var(--ease), border-color .15s var(--ease), color .15s var(--ease);
}
.btn-primary { background: var(--blue); color: #fff; }
.btn-primary:hover { background: var(--blue-press); }
.btn-dark { background: var(--ink); color: #fff; }
.btn-dark:hover { background: var(--ink-2); }
.btn-ghost { background: transparent; color: var(--ink); border-color: var(--line-strong); }
.btn-ghost:hover { border-color: var(--ink); }
.btn-on-dark { background: #fff; color: var(--ink); }
.btn-on-dark:hover { background: var(--blue-wash); }
.btn-lg { min-height: 52px; padding: 0 26px; font-size: 16px; }
.btn-sm { min-height: 36px; padding: 0 14px; font-size: 14px; }
.btn[disabled], .btn[aria-disabled="true"] { opacity: .5; cursor: not-allowed; }

.wrap { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 var(--gutter); }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; scroll-behavior: auto !important; }
}

video.is-broken { visibility: hidden; }
