@import url("https://fonts.googleapis.com/css2?family=Archivo:wght@500;600;700;800&family=Plus+Jakarta+Sans:wght@400;500;600;700&display=swap");

/* ==========================================================================
   Design tokens
   ========================================================================== */
:root {
  color-scheme: light;

  /* Surfaces */
  --bg: #f7f8f7;
  --bg-2: #edf0ed;
  --card: #ffffff;
  --card-2: #f4f7f4;

  /* Ink */
  --ink: #11242a;
  --ink-soft: #344b52;
  --muted: #5f7278;

  /* Brand */
  --brand: #0e6357;
  --brand-dark: #08453c;
  --brand-soft: #e0efeb;
  --cta: #d95d16;
  --cta-dark: #b64a0d;
  --cta-soft: #fbeade;

  /* Lines and shadow */
  --line: rgba(17, 36, 42, 0.13);
  --line-strong: rgba(17, 36, 42, 0.24);
  --shadow-sm: 0 2px 10px -4px rgba(17, 36, 42, 0.18);
  --shadow: 0 20px 40px -24px rgba(17, 36, 42, 0.42);
  --shadow-lg: 0 34px 64px -30px rgba(17, 36, 42, 0.5);

  /* Status */
  --ok: #17694a;
  --ok-soft: #e2f1e9;
  --warn: #96570a;
  --warn-soft: #fdf1e0;
  --error: #a92019;
  --error-soft: #fceceb;

  /* Product colours */
  --kids-yellow: #f6c344;
  --kids-red: #e3564a;
  --kids-green: #4caf7d;
  --kids-blue: #3d8ecc;

  /* Geometry */
  --radius-sm: 2px;
  --radius: 2px;
  --radius-lg: 3px;
  --bar-h: 40px;
  --header-h: 72px;
}

/* ==========================================================================
   Reset and base elements
   ========================================================================== */
*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Plus Jakarta Sans", "Segoe UI", system-ui, sans-serif;
  font-size: 17px;
  line-height: 1.65;
  background: var(--bg);
  color: var(--ink);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: var(--brand-dark);
  text-decoration: none;
  transition: color 0.2s ease;
}

a:hover {
  color: var(--cta-dark);
}

h1, h2, h3, h4 {
  font-family: "Archivo", "Segoe UI", system-ui, sans-serif;
  color: var(--ink);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.8px;
  margin: 0 0 14px;
  text-wrap: balance;
}

h1 { font-size: clamp(33px, 4.8vw, 52px); }
h2 { font-size: clamp(26px, 3.2vw, 36px); }
h3 { font-size: clamp(18px, 1.8vw, 21px); letter-spacing: -0.4px; }
h4 { font-size: 16px; letter-spacing: -0.2px; }

p {
  margin: 0 0 16px;
  text-wrap: pretty;
}

ul, ol {
  margin: 0 0 16px;
  padding-left: 20px;
}

hr {
  border: 0;
  border-top: 1px solid var(--line);
  margin: 32px 0;
}

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

/* ==========================================================================
   Layout helpers
   ========================================================================== */
.container {
  width: min(1180px, 92vw);
  margin: 0 auto;
}

.container.narrow {
  width: min(840px, 92vw);
}

.section {
  padding: 82px 0;
}

.section.tight {
  padding: 54px 0;
}

.section.alt {
  background: var(--bg-2);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

section[id],
header[id] {
  scroll-margin-top: calc(var(--header-h) + 16px);
}

/* ==========================================================================
   Section headings
   ========================================================================== */
.section-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 24px;
  margin-bottom: 34px;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--line);
}

.section-head p {
  margin: 0;
  max-width: 62ch;
}

.section-head.plain {
  border-bottom: 0;
  padding-bottom: 0;
}

.section-head.center {
  flex-direction: column;
  align-items: center;
  text-align: center;
}

/* Uppercase micro-label above a heading */
.kicker {
  display: block;
  font-family: "Archivo", sans-serif;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 1.8px;
  text-transform: uppercase;
  color: var(--brand);
  margin-bottom: 10px;
}

.muted {
  color: var(--muted);
}

.lead {
  font-size: clamp(17px, 1.4vw, 19px);
  color: var(--ink-soft);
}

.sr-only {
  position: absolute;
  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: -9999px;
  top: 0;
  z-index: 100;
  background: var(--ink);
  color: #ffffff;
  padding: 12px 20px;
  font-weight: 700;
}

.skip-link:focus {
  left: 0;
  color: #ffffff;
}

/* ==========================================================================
   Buttons
   ========================================================================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  padding: 14px 26px;
  border-radius: var(--radius);
  border: 1.5px solid transparent;
  background: transparent;
  color: var(--ink);
  font-family: "Archivo", sans-serif;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 1.4px;
  text-transform: uppercase;
  line-height: 1.2;
  cursor: pointer;
  text-align: center;
  transition: transform 0.18s ease, background 0.18s ease, border-color 0.18s ease,
    box-shadow 0.18s ease, color 0.18s ease;
}

.btn:hover {
  transform: translateY(-2px);
}

.btn:active {
  transform: translateY(0);
}

.btn.primary {
  background: var(--cta);
  border-color: var(--cta);
  color: #ffffff;
  box-shadow: 0 14px 26px -12px rgba(217, 93, 22, 0.75);
}

.btn.primary:hover {
  background: var(--cta-dark);
  border-color: var(--cta-dark);
  color: #ffffff;
  box-shadow: 0 18px 30px -12px rgba(182, 74, 13, 0.8);
}

.btn.brand {
  background: var(--brand);
  border-color: var(--brand);
  color: #ffffff;
}

.btn.brand:hover {
  background: var(--brand-dark);
  border-color: var(--brand-dark);
  color: #ffffff;
}

.btn.ghost {
  background: transparent;
  border-color: var(--line-strong);
  color: var(--ink);
}

.btn.ghost:hover {
  background: var(--brand-soft);
  border-color: var(--brand);
  color: var(--brand-dark);
}

.btn.on-dark {
  background: transparent;
  border-color: rgba(255, 255, 255, 0.55);
  color: #ffffff;
}

.btn.on-dark:hover {
  background: #ffffff;
  color: var(--brand-dark);
  border-color: #ffffff;
}

.btn.lg {
  padding: 17px 34px;
  font-size: 14px;
}

.btn.block {
  width: 100%;
}

.btn[disabled],
.btn.is-busy {
  opacity: 0.6;
  cursor: not-allowed;
  transform: none;
}

.link-button {
  background: none;
  border: 0;
  padding: 0;
  font-family: "Archivo", sans-serif;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  color: var(--muted);
  text-decoration: underline;
  text-underline-offset: 3px;
  white-space: nowrap;
  cursor: pointer;
}

.link-button:hover {
  color: var(--error);
}

/* ==========================================================================
   Small shared pieces
   ========================================================================== */
.pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 7px 14px;
  border-radius: var(--radius);
  border: 1px solid var(--line-strong);
  background: var(--card);
  color: var(--ink-soft);
  font-family: "Archivo", sans-serif;
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  white-space: nowrap;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 15px;
  border-radius: var(--radius);
  background: var(--brand);
  color: #ffffff;
  font-family: "Archivo", sans-serif;
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 1.8px;
  text-transform: uppercase;
  margin-bottom: 20px;
}

.chip {
  display: inline-flex;
  padding: 7px 14px;
  border-radius: var(--radius);
  background: var(--card);
  border: 1px solid var(--line);
  font-size: 14px;
  font-weight: 600;
  color: var(--ink-soft);
}

.chip-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  list-style: none;
  padding: 0;
  margin: 0;
}

.placeholder-value {
  color: var(--warn);
  background: var(--warn-soft);
  padding: 1px 8px;
  border-radius: var(--radius);
  border: 1px dashed rgba(150, 87, 10, 0.45);
  font-weight: 600;
  font-size: 0.95em;
}

.detail-row {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 16px;
  padding: 11px 0;
  border-bottom: 1px solid var(--line);
}

.detail-row:last-child {
  border-bottom: 0;
}

.detail-row span {
  color: var(--muted);
  font-size: 14px;
  font-weight: 600;
}

.detail-row strong {
  text-align: right;
  font-weight: 700;
}

.tick-list {
  list-style: none;
  padding: 0;
  margin: 0 0 16px;
}

.tick-list li {
  position: relative;
  padding-left: 28px;
  margin-bottom: 11px;
  color: var(--ink-soft);
}

.tick-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 7px;
  width: 16px;
  height: 16px;
  background: var(--brand-soft);
  border: 1px solid var(--brand);
}

.tick-list li::after {
  content: "";
  position: absolute;
  left: 5px;
  top: 10px;
  width: 5px;
  height: 9px;
  border: solid var(--brand-dark);
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
}

/* ==========================================================================
   Responsive base
   ========================================================================== */
@media (max-width: 900px) {
  body {
    font-size: 16px;
  }
  .section {
    padding: 58px 0;
  }
  .section-head {
    flex-direction: column;
    align-items: flex-start;
  }
  .section-head.center {
    align-items: center;
  }
}

@media (max-width: 640px) {
  .section {
    padding: 48px 0;
  }
  .btn {
    width: 100%;
  }
  .btn.inline {
    width: auto;
  }
}

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