/* MyDaysOff, the promotional site. The colours are the web app's (web/src/styles/app.css): teal for the brand,
   orange for school holidays, blue for outside them, on warm stone neutrals. Fonts are served from the site
   itself, so a visit sends nothing to a third party.
   Layout: one 1120px column. The hero pairs the promise with the Edit rules screen, one change waiting for review;
   the sections below alternate text and lists, ending on a band in the brand's teal. */

@font-face {
  font-family: "Bricolage Grotesque";
  src: url("/fonts/bricolage-grotesque-latin.woff2") format("woff2");
  font-weight: 200 800;
  font-stretch: 75% 100%;
  font-display: swap;
}
@font-face {
  font-family: "Inter";
  src: url("/fonts/inter-latin.woff2") format("woff2");
  font-weight: 100 900;
  font-display: swap;
}

:root {
  --bg: #fafaf9;
  --surface: #ffffff;
  --sunk: #f5f5f4;
  --line: #e7e5e4;
  --line-strong: #d6d3d1;
  --ink: #1c1917;
  --ink-2: #44403c;
  --ink-3: #6b6560;
  --teal: #0f766e;
  --teal-strong: #115e59;
  --teal-tint: #e6f2f1;
  --school: #c2410c;
  --school-fill: #fb923c;
  --school-tint: #ffedd5;
  --school-soft: #fff7ed;
  --outside: #1d4ed8;
  --outside-fill: #bfdbfe;
  --outside-tint: #dbeafe;
  --outside-soft: #eff6ff;
  --holiday: #44403c;
  --weekend: #eeedeb;
  --on-teal: #ffffff;
  --band: #134e4a;
  --band-ink: #f0fdfa;
  --band-ink-2: #b5d8d3;
  --band-line: #2a6863;

  --font-display: "Bricolage Grotesque", "Avenir Next", "Segoe UI", system-ui, sans-serif;
  --font-body: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  --step--1: 0.875rem;
  --step-0: 1rem;
  --step-1: 1.1875rem;
  --step-2: 1.5rem;
  --step-3: clamp(1.75rem, 1.2rem + 2vw, 2.5rem);
  --step-4: clamp(2.25rem, 1.4rem + 3.4vw, 3.75rem);
  --radius: 18px;
  color-scheme: light;
}

@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg: #0c0a09;
    --surface: #1c1917;
    --sunk: #171412;
    --line: #2c2826;
    --line-strong: #44403c;
    --ink: #fafaf9;
    --ink-2: #e7e5e4;
    --ink-3: #a8a29e;
    --teal: #2dd4bf;
    --teal-strong: #5eead4;
    --teal-tint: #123a36;
    --school: #fdba74;
    --school-fill: #fb923c;
    --school-tint: #57301a;
    --school-soft: #2a1a0e;
    --outside: #93c5fd;
    --outside-fill: #2f5ea8;
    --outside-tint: #172b4d;
    --outside-soft: #0f1a2c;
    --holiday: #e7e5e4;
    --weekend: #2e2a27;
    --on-teal: #0c0a09;
    --band: #0f2725;
    --band-ink: #f0fdfa;
    --band-ink-2: #99c9c2;
    --band-line: #1f4f4a;
    color-scheme: dark;
  }
}
:root[data-theme="dark"] {
  --bg: #0c0a09;
  --surface: #1c1917;
  --sunk: #171412;
  --line: #2c2826;
  --line-strong: #44403c;
  --ink: #fafaf9;
  --ink-2: #e7e5e4;
  --ink-3: #a8a29e;
  --teal: #2dd4bf;
  --teal-strong: #5eead4;
  --teal-tint: #123a36;
  --school: #fdba74;
  --school-fill: #fb923c;
  --school-tint: #57301a;
  --school-soft: #2a1a0e;
  --outside: #93c5fd;
  --outside-fill: #2f5ea8;
  --outside-tint: #172b4d;
  --outside-soft: #0f1a2c;
  --holiday: #e7e5e4;
  --weekend: #2e2a27;
  --on-teal: #0c0a09;
  --band: #0f2725;
  --band-ink: #f0fdfa;
  --band-ink-2: #99c9c2;
  --band-line: #1f4f4a;
  color-scheme: dark;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: var(--step-0);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

h1,
h2,
h3 {
  font-family: var(--font-display);
  line-height: 1.08;
  margin: 0;
  text-wrap: balance;
  letter-spacing: -0.02em;
}
h1 {
  font-size: var(--step-4);
  font-weight: 750;
  font-variation-settings: "opsz" 96;
}
h2 {
  font-size: var(--step-3);
  font-weight: 700;
  font-variation-settings: "opsz" 72;
}
h3 {
  font-size: var(--step-1);
  font-weight: 650;
  letter-spacing: -0.01em;
  line-height: 1.25;
}
p {
  margin: 0;
}
ul {
  margin: 0;
  padding: 0;
  list-style: none;
}
figure {
  margin: 0;
}
a {
  color: var(--teal);
}
a:focus-visible,
summary:focus-visible {
  outline: 3px solid var(--teal);
  outline-offset: 3px;
  border-radius: 6px;
}

.wrap {
  max-width: 1120px;
  margin-inline: auto;
  padding-left: max(16px, env(safe-area-inset-left, 0px));
  padding-right: max(16px, env(safe-area-inset-right, 0px));
}
@media (min-width: 720px) {
  .wrap {
    padding-left: max(32px, env(safe-area-inset-left, 0px));
    padding-right: max(32px, env(safe-area-inset-right, 0px));
  }
}
.narrow {
  max-width: 820px;
}

.skip {
  position: absolute;
  left: -9999px;
}
.skip:focus {
  left: 16px;
  top: 16px;
  z-index: 20;
  background: var(--surface);
  padding: 8px 14px;
  border-radius: 8px;
}

.eyebrow {
  font-size: var(--step--1);
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--teal);
}
.lead {
  font-size: var(--step-1);
  color: var(--ink-2);
  max-width: 62ch;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 22px;
  border-radius: 999px;
  border: 1.5px solid var(--teal);
  background: var(--teal);
  color: var(--on-teal);
  font-weight: 600;
  text-decoration: none;
  white-space: nowrap;
  transition: background-color 0.15s, border-color 0.15s;
}
.button:hover {
  background: var(--teal-strong);
  border-color: var(--teal-strong);
}
.button.ghost {
  background: transparent;
  color: var(--ink);
  border-color: var(--line-strong);
}
.button.ghost:hover {
  border-color: var(--ink-3);
}
.button.small {
  min-height: 38px;
  padding: 0 16px;
  font-size: var(--step--1);
}
.actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
}

/* Top bar */
.top {
  border-bottom: 1px solid var(--line);
  background: var(--bg);
}
.top-inner {
  display: flex;
  align-items: center;
  gap: 24px;
  min-height: 68px;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--ink);
  text-decoration: none;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.25rem;
  letter-spacing: -0.02em;
}
.logo {
  flex: none;
}
.nav {
  display: none;
  gap: 22px;
  margin-right: auto;
}
.nav a {
  color: var(--ink-2);
  text-decoration: none;
  font-size: 0.9375rem;
}
.nav a:hover {
  color: var(--ink);
}
.top-actions {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-left: auto;
}
.langs {
  display: flex;
  gap: 2px;
}
.langs a {
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: var(--ink-3);
  text-decoration: none;
  padding: 6px 7px;
  border-radius: 6px;
}
.langs a[aria-current="page"] {
  color: var(--ink);
  background: var(--sunk);
}
@media (min-width: 980px) {
  .nav {
    display: flex;
  }
  .top-actions {
    margin-left: 0;
  }
}
@media (max-width: 420px) {
  .top-actions .button {
    display: none;
  }
}

/* Hero */
.hero {
  padding-block: clamp(40px, 7vw, 88px) clamp(48px, 7vw, 96px);
}
.hero-grid {
  display: grid;
  gap: clamp(40px, 5vw, 64px);
  align-items: center;
}
@media (min-width: 980px) {
  .hero-grid {
    grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr);
  }
}
.hero-text {
  display: grid;
  gap: 22px;
  min-width: 0;
}
.hl {
  background: none;
  color: inherit;
  text-decoration-line: underline;
  text-decoration-color: var(--teal);
  text-decoration-thickness: 0.12em;
  text-underline-offset: 0.14em;
  text-decoration-skip-ink: none;
}
.hero .actions {
  margin-top: 6px;
}

/* The Edit rules screen, drawn after the web app's */
.editor {
  min-width: 0;
  display: grid;
  gap: 12px;
}
.editor-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: clamp(16px, 3vw, 24px);
  display: grid;
  gap: 14px;
  box-shadow: 0 1px 2px rgb(28 25 23 / 0.04), 0 18px 40px -16px rgb(28 25 23 / 0.18);
}
.editor-caption {
  font-size: 0.8125rem;
  color: var(--ink-3);
  text-align: center;
}
.editor-head {
  display: grid;
  gap: 2px;
}
.editor-head strong {
  font-family: var(--font-display);
  font-size: var(--step-2);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.15;
}
.editor-head span {
  font-size: var(--step--1);
  color: var(--ink-3);
}
.group {
  display: grid;
  gap: 10px;
  padding: 14px 16px;
  border: 1px solid var(--line);
  border-radius: 14px;
  min-width: 0;
}
.group.changed {
  border-color: var(--teal);
  background: var(--teal-tint);
}
.group-title {
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 600;
  font-size: 0.9375rem;
}
.changed-chip {
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--teal);
  border: 1px solid var(--teal);
  border-radius: 999px;
  padding: 1px 8px;
}
.types {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.types li {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 12px;
  border-radius: 999px;
  background: var(--sunk);
  font-size: var(--step--1);
}
.types b {
  font-variant-numeric: tabular-nums;
}
.types .add {
  background: none;
  border: 1.5px dashed var(--line-strong);
  color: var(--teal);
  font-weight: 600;
}
.row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  font-size: var(--step--1);
  color: var(--ink-2);
}
.row b {
  color: var(--ink);
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}
.stepper {
  display: inline-flex;
  align-items: center;
  border: 1px solid var(--line-strong);
  border-radius: 10px;
  background: var(--surface);
  overflow: hidden;
}
.stepper i {
  font-style: normal;
  width: 30px;
  text-align: center;
  color: var(--ink-3);
}
.stepper b {
  min-width: 28px;
  text-align: center;
  padding: 3px 0;
  border-inline: 1px solid var(--line);
}
.segmented {
  display: flex;
  padding: 3px;
  border-radius: 10px;
  background: var(--surface);
  border: 1px solid var(--line);
  font-size: 0.8125rem;
}
.segmented span {
  flex: 1;
  text-align: center;
  padding: 5px 8px;
  border-radius: 7px;
  color: var(--ink-3);
}
.segmented .on {
  background: var(--ink);
  color: var(--bg);
  font-weight: 600;
}
.group-pair {
  display: grid;
  gap: 14px;
}
@media (min-width: 520px) {
  .group-pair {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
.review-bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 10px 16px;
  padding: 12px 14px 12px 16px;
  border-radius: 14px;
  background: var(--band);
  color: var(--band-ink);
}
.review-text {
  display: grid;
  min-width: 0;
}
.review-text b {
  font-size: 0.9375rem;
}
.review-text span {
  font-size: 0.8125rem;
  color: var(--band-ink-2);
}
.review-bar .button {
  background: var(--band-ink);
  border-color: var(--band-ink);
  color: var(--band);
}

/* The year, day by day */
.year-card {
  min-width: 0;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: clamp(16px, 3vw, 28px);
  display: grid;
  gap: 16px;
  box-shadow: 0 1px 2px rgb(28 25 23 / 0.04), 0 12px 32px -12px rgb(28 25 23 / 0.12);
}
.year-head {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: baseline;
  gap: 4px 16px;
}
.year-title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: var(--step-1);
}
.year-example {
  font-size: 0.8125rem;
  color: var(--ink-3);
}
.band {
  display: grid;
  gap: 3px;
}
.month {
  display: grid;
  grid-template-columns: 2.4rem repeat(31, minmax(0, 1fr));
  gap: 2px;
  align-items: center;
}
.m {
  font-size: 0.6875rem;
  font-weight: 500;
  color: var(--ink-3);
  text-transform: capitalize;
  line-height: 1;
}
.d {
  display: block;
  aspect-ratio: 1;
  max-width: 100%;
  border-radius: 2px;
  background: var(--outside-fill);
}
.d.school {
  background: var(--school-fill);
}
.d.bridge {
  background: repeating-linear-gradient(135deg, var(--school-fill) 0 2px, var(--school-tint) 2px 4px);
}
.d.holiday {
  background: var(--holiday);
}
.d.weekend {
  background: var(--weekend);
}
.legend {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 16px;
  font-size: 0.8125rem;
  color: var(--ink-2);
}
.legend li {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.legend .d {
  width: 12px;
  height: 12px;
}
.year-caption {
  font-size: 0.8125rem;
  color: var(--ink-3);
}

/* Sections */
.section {
  padding-block: clamp(56px, 8vw, 104px);
  border-top: 1px solid var(--line);
}
.section-head {
  display: grid;
  gap: 14px;
  margin-bottom: clamp(32px, 4vw, 48px);
  min-width: 0;
}
.section-head h2 {
  max-width: 22ch;
}

.feature {
  display: grid;
  gap: 8px;
  align-content: start;
  padding-top: 18px;
  border-top: 2px solid var(--line-strong);
  min-width: 0;
}
.feature p {
  color: var(--ink-2);
}
.features {
  display: grid;
  gap: 36px 32px;
}
@media (min-width: 640px) {
  .features {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media (min-width: 980px) {
  .features {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

/* Your rules: three steps, then the settings */
.steps {
  counter-reset: step;
  margin: 0 0 clamp(48px, 6vw, 72px);
  padding: 0;
  list-style: none;
  display: grid;
  gap: 16px;
}
@media (min-width: 820px) {
  .steps {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}
.step {
  counter-increment: step;
  display: grid;
  gap: 8px;
  align-content: start;
  padding: 22px;
  border-radius: var(--radius);
  background: var(--teal-tint);
  min-width: 0;
}
.step::before {
  content: counter(step);
  font-family: var(--font-display);
  font-weight: 750;
  font-size: 2.25rem;
  line-height: 1;
  color: var(--teal);
}
.step p {
  color: var(--ink-2);
}
.sub-title {
  font-size: var(--step-2);
  margin-bottom: 28px;
}
.rules {
  background: var(--surface);
}
.rules .feature {
  border-top-color: var(--teal);
}

/* Built for Belgium */
.belgium-grid {
  display: grid;
  gap: 0 56px;
}
@media (min-width: 980px) {
  .belgium-grid {
    grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
    align-items: start;
  }
  .belgium-grid .year-card {
    grid-row: span 2;
  }
}
.belgium .year-card {
  margin-bottom: clamp(40px, 5vw, 56px);
}
.be-features.features {
  grid-template-columns: minmax(0, 1fr);
}
@media (min-width: 640px) {
  .be-features.features {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
.be-features .feature {
  border-top-color: var(--school-fill);
}

/* Employees */
.employees .feature {
  border-top-color: var(--outside);
}

/* HR */
.hr-grid {
  display: grid;
  gap: 0 56px;
}
@media (min-width: 980px) {
  .hr-grid {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    align-items: start;
  }
  .hr-features {
    grid-column: 1 / -1;
  }
}
.hr .feature {
  border-top-color: var(--ink-2);
}
.request {
  display: grid;
  gap: 10px;
  margin-bottom: clamp(40px, 5vw, 56px);
  min-width: 0;
}
.request-label {
  font-size: 0.8125rem;
  color: var(--ink-3);
}
.request-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 20px;
  display: grid;
  gap: 14px;
  box-shadow: 0 1px 2px rgb(28 25 23 / 0.04), 0 12px 32px -12px rgb(28 25 23 / 0.12);
}
.request-top {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}
.avatar {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--teal-tint);
  color: var(--teal);
  font-weight: 700;
  font-size: 0.875rem;
}
.request-who {
  display: grid;
  margin-right: auto;
  min-width: 0;
}
.request-who span {
  font-size: var(--step--1);
  color: var(--ink-2);
}
.chip {
  font-size: 0.75rem;
  font-weight: 600;
  padding: 4px 10px;
  border-radius: 999px;
  background: var(--school-tint);
  color: var(--school);
}
.request-days {
  display: grid;
  gap: 6px;
}
.request-days li {
  display: grid;
  grid-template-columns: 14px 3.2rem minmax(0, 1fr) auto;
  align-items: center;
  gap: 10px;
  padding: 10px 12px;
  border-radius: 10px;
  background: var(--sunk);
  font-size: var(--step--1);
}
.request-days .d {
  width: 14px;
  height: 14px;
}
.request-days span {
  color: var(--ink-2);
}
.request-days .cost {
  font-weight: 600;
  color: var(--ink);
  font-variant-numeric: tabular-nums;
}
.request-cost {
  font-weight: 600;
  color: var(--school);
}
.request-after {
  font-size: var(--step--1);
  color: var(--ink-2);
  margin-top: -8px;
}
.request-actions {
  display: flex;
  justify-content: flex-end;
  gap: 8px;
}

/* Privacy */
.privacy {
  background: var(--band);
  color: var(--band-ink);
  border-top: 0;
}
.privacy .eyebrow {
  color: var(--band-ink-2);
}
.privacy .lead,
.privacy .feature p {
  color: var(--band-ink-2);
}
.privacy-grid {
  display: grid;
  gap: 0 64px;
  align-items: start;
}
@media (min-width: 980px) {
  .privacy-grid {
    grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  }
}
.trust {
  display: grid;
  gap: 24px;
}
.trust .feature {
  border-top: 1px solid var(--band-line);
}

/* Questions */
.faq h2 {
  margin-bottom: 24px;
}
details {
  border-bottom: 1px solid var(--line);
}
summary {
  cursor: pointer;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  padding-block: 18px;
  font-family: var(--font-display);
  font-weight: 650;
  font-size: var(--step-1);
}
summary::-webkit-details-marker {
  display: none;
}
summary::after {
  content: "+";
  flex: none;
  font-size: 1.5rem;
  line-height: 1;
  color: var(--ink-3);
}
details[open] summary::after {
  content: "–";
}
details p {
  padding-bottom: 20px;
  color: var(--ink-2);
  max-width: 64ch;
}

/* Closing band */
.cta {
  background: var(--teal-tint);
}
.cta-inner {
  padding-block: clamp(56px, 8vw, 96px);
  display: grid;
  justify-items: center;
  text-align: center;
  gap: 16px;
}
.cta p {
  color: var(--ink-2);
  font-size: var(--step-1);
  max-width: 48ch;
}
.cta .actions {
  justify-content: center;
  margin-top: 8px;
}
.address {
  font-weight: 600;
  user-select: all;
}

/* Footer */
.foot {
  padding-block: 40px;
  font-size: var(--step--1);
  color: var(--ink-3);
}
.foot-inner {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 24px;
}
.foot-brand {
  display: grid;
  gap: 8px;
}
.foot-links {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 20px;
}
.foot-links a {
  color: var(--ink-2);
}
.made {
  flex-basis: 100%;
}
@media (min-width: 720px) {
  .made {
    text-align: right;
  }
}
@media (min-width: 980px) {
  .belgium-grid .be-features {
    grid-template-columns: minmax(0, 1fr);
    gap: 28px;
  }
  .belgium .year-card {
    margin-bottom: 0;
  }
}
