/* LighterWork — shared theme.
   Tokens, base type, buttons, header, footer and the booking modal.
   Loaded by every page; landing.css and audit.css add page-specific rules on top. */

:root {
  --lw-bg:        #F5F7FB;
  --lw-white:     #FFFFFF;
  --lw-ink:       #0B1533;
  --lw-blue:      #0E2E97;
  --lw-blue-dark: #0A2478;
  --lw-cyan:      #4CC7F4;
  --lw-danger:    #D93A2B;

  --lw-ink-72: rgba(11, 21, 51, 0.72);
  --lw-ink-65: rgba(11, 21, 51, 0.65);
  --lw-ink-55: rgba(11, 21, 51, 0.55);
  --lw-ink-45: rgba(11, 21, 51, 0.45);

  --lw-sans: 'Schibsted Grotesk', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --lw-mono: 'Spline Sans Mono', ui-monospace, SFMono-Regular, Menlo, monospace;

  --lw-hairline: rgba(11, 21, 51, 0.08);
  --lw-rule:     rgba(11, 21, 51, 0.12);
  --lw-border:   rgba(11, 21, 51, 0.18);

  --lw-max: 1200px;
  --lw-pad: 32px;
  --lw-radius: 14px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--lw-bg);
  color: var(--lw-ink);
  font-family: var(--lw-sans);
  font-size: 16px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3 { margin: 0; line-height: 1.15; letter-spacing: -0.025em; }
p { margin: 0; }
img { max-width: 100%; }

a { color: var(--lw-blue); text-decoration: none; }
a:hover { color: var(--lw-blue-dark); }

.lw-wrap,
.shell {
  max-width: var(--lw-max);
  margin: 0 auto;
  padding-inline: var(--lw-pad);
  width: 100%;
}

.lw-dot   { color: var(--lw-cyan); }
.lw-arrow { color: var(--lw-blue); }

.lw-eyebrow {
  font-family: var(--lw-mono);
  font-size: 13px;
  letter-spacing: 0.1em;
  color: rgba(11, 21, 51, 0.5);
}

.small  { font-size: 0.875rem; }
.muted  { color: var(--lw-ink-55); }

/* ---------------------------------------------------------------- motion */

@keyframes lw-fade-up {
  from { opacity: 0; transform: translateY(18px); }
  to   { opacity: 1; transform: translateY(0); }
}

.lw-anim { animation: lw-fade-up 0.6s var(--d, 0s) ease both; }

/* --------------------------------------------------------------- buttons */

.lw-btn,
.btn {
  font-family: var(--lw-sans);
  font-weight: 600;
  font-size: 16.5px;
  letter-spacing: -0.005em;
  border: 1px solid transparent;
  border-radius: 999px;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  /* 48px is the accessible minimum tap target; these clear it comfortably. */
  min-height: 52px;
  padding: 14px 32px;
  text-decoration: none;
  transition: background-color 0.15s ease, color 0.15s ease, border-color 0.15s ease;
}
.lw-btn:focus-visible,
.btn:focus-visible { outline: 2px solid var(--lw-cyan); outline-offset: 3px; }

.lw-btn--primary,
.btn-primary { background: var(--lw-blue); color: var(--lw-bg); }
.lw-btn--primary:hover,
.btn-primary:hover { background: var(--lw-blue-dark); color: var(--lw-bg); }
.btn-primary[disabled] { opacity: 0.55; cursor: not-allowed; }

.lw-btn--secondary,
.btn-secondary { background: transparent; color: var(--lw-ink); border-color: var(--lw-border); }
.lw-btn--secondary:hover,
.btn-secondary:hover { background: rgba(11, 21, 51, 0.04); color: var(--lw-ink); }

.lw-btn--sm { font-size: 15px; min-height: 44px; padding: 10px 22px; }
.lw-btn--lg { font-size: 18.5px; font-weight: 700; min-height: 62px; padding: 18px 44px; }

/* white button on a blue band */
.lw-btn--onblue { background: var(--lw-white); color: var(--lw-blue-dark); padding: 16px 36px; }
.lw-btn--onblue:hover { background: var(--lw-bg); color: var(--lw-blue-dark); }

/* light button on a dark band */
.lw-btn--ondark { background: var(--lw-bg); color: var(--lw-ink); font-size: 18.5px; font-weight: 700; min-height: 62px; padding: 18px 44px; }
.lw-btn--ondark:hover { background: var(--lw-white); color: var(--lw-ink); }

.lw-btn--block,
.btn-block { width: 100%; }

/* ---------------------------------------------------------------- header */

.lw-header,
.masthead {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(245, 247, 251, 0.85);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--lw-hairline);
}
.lw-header__inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  padding-block: 16px;
}
.lw-logo { display: flex; align-items: center; line-height: 0; }
.lw-logo img { height: 30px; width: auto; display: block; }

/* ---------------------------------------------------------------- footer */

.lw-footer {
  background: var(--lw-ink);
  color: rgba(245, 247, 251, 0.45);
  border-top: 1px solid rgba(245, 247, 251, 0.1);
}
.lw-footer__inner {
  padding-block: 36px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
  font-size: 13.5px;
}
.lw-footer__logo { height: 26px; width: auto; display: block; }
.lw-footer__links { display: flex; gap: 22px; flex-wrap: wrap; }
.lw-footer__links a { color: rgba(245, 247, 251, 0.45); }
.lw-footer__links a:hover { color: rgba(245, 247, 251, 0.85); }
.lw-footer__note { max-width: 46rem; }

/* ----------------------------------------------------------------- modal */

.lw-modal {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
}
.lw-modal[hidden] { display: none; }
.lw-modal__backdrop { position: absolute; inset: 0; background: rgba(11, 21, 51, 0.55); backdrop-filter: blur(3px); }
.lw-modal__panel {
  position: relative;
  background: var(--lw-white);
  border-radius: var(--lw-radius);
  padding: 36px;
  width: 420px;
  max-width: 100%;
  max-height: calc(100vh - 48px);
  overflow-y: auto;
  animation: lw-fade-up 0.25s ease both;
}
.lw-modal__head { display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; }
.lw-modal__title { font-size: 22px; font-weight: 700; letter-spacing: -0.015em; outline: none; }
.lw-modal__close {
  border: none;
  background: none;
  font-size: 20px;
  line-height: 1;
  color: rgba(11, 21, 51, 0.4);
  cursor: pointer;
  padding: 4px;
  font-family: var(--lw-sans);
}
.lw-modal__close:hover { color: var(--lw-ink); }
.lw-modal__sub { margin-top: 10px; font-size: 14px; line-height: 1.5; color: var(--lw-ink-55); }
.lw-modal__form { display: flex; flex-direction: column; gap: 12px; margin-top: 24px; }
.lw-modal__form input {
  font-family: var(--lw-sans);
  font-size: 15px;
  padding: 13px 16px;
  border: 1px solid var(--lw-border);
  border-radius: var(--lw-radius);
  outline: none;
  color: var(--lw-ink);
  background: var(--lw-white);
  width: 100%;
}
.lw-modal__form input:focus { border-color: var(--lw-blue); }
.lw-modal__error { font-size: 13px; color: var(--lw-danger); }
.lw-modal__error[hidden] { display: none; }
.lw-modal__form .lw-btn { margin-top: 4px; }

body.lw-modal-open { overflow: hidden; }

/* ------------------------------------------------------------ responsive */

@media (max-width: 640px) {
  :root { --lw-pad: 20px; }
  .lw-footer__inner { flex-direction: column; align-items: flex-start; }
  .lw-modal__panel { padding: 28px 24px; }

  /* Full-width primary CTAs on phones: a bigger, unambiguous target. */
  .lw-btn--lg { width: 100%; font-size: 18px; min-height: 60px; padding: 17px 28px; }
  .lw-btn--block { min-height: 56px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
}
