:root {
  --ink: #243037;
  --muted: #61717a;
  --paper: #fff8e8;
  --panel: #fffdf6;
  --line: #e5d8bf;
  --yellow: #ffd45a;
  --green: #74b866;
  --coral: #f36f57;
  --blue: #55b7e6;
  --pink: #f6a6bf;
  --shadow: 0 20px 50px rgba(58, 45, 24, 0.16);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background:
    radial-gradient(circle at 12% 8%, rgba(255, 212, 90, 0.32), transparent 22rem),
    radial-gradient(circle at 88% 18%, rgba(85, 183, 230, 0.28), transparent 24rem),
    var(--paper);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.5;
}

a {
  color: inherit;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
  padding: 14px clamp(18px, 4vw, 56px);
  background: rgba(255, 253, 246, 0.9);
  border-bottom: 2px solid rgba(229, 216, 191, 0.8);
  backdrop-filter: blur(14px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 850;
  text-decoration: none;
  white-space: nowrap;
}

.brand-mark {
  display: inline-grid;
  width: 36px;
  height: 36px;
  place-items: center;
  color: #fff;
  background: var(--coral);
  border: 2px solid var(--ink);
  border-radius: 10px;
  box-shadow: 4px 4px 0 var(--yellow);
  font-size: 0.78rem;
  letter-spacing: 0;
}

nav {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--ink);
  font-size: 0.94rem;
  font-weight: 760;
}

nav a {
  padding: 8px 11px;
  border-radius: 999px;
  text-decoration: none;
}

nav a:hover,
nav a:focus-visible {
  background: var(--yellow);
  outline: 0;
}

.hero {
  width: min(1180px, calc(100% - 36px));
  min-height: calc(100vh - 72px);
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(340px, 0.92fr);
  gap: clamp(24px, 5vw, 64px);
  align-items: center;
  padding: clamp(42px, 7vw, 90px) 0 76px;
}

.hero-copy {
  position: relative;
  z-index: 1;
}

.hero-copy::before {
  content: "";
  position: absolute;
  top: -34px;
  left: -28px;
  z-index: -1;
  width: 128px;
  height: 128px;
  background: var(--yellow);
  border-radius: 42% 58% 48% 52%;
  transform: rotate(-10deg);
}

.hero-media {
  position: relative;
  min-height: 470px;
  border: 3px solid var(--ink);
  border-radius: 18px;
  overflow: hidden;
  background: #fff;
  box-shadow: 14px 14px 0 var(--green), var(--shadow);
  transform: rotate(1deg);
}

.hero-media::after {
  content: "";
  position: absolute;
  inset: 14px;
  border: 2px dashed rgba(36, 48, 55, 0.18);
  border-radius: 12px;
  pointer-events: none;
}

.hero-media img {
  width: 100%;
  height: 100%;
  min-height: 470px;
  display: block;
  object-fit: cover;
}

.eyebrow {
  display: inline-flex;
  margin: 0 0 14px;
  padding: 7px 12px;
  color: var(--ink);
  background: var(--pink);
  border: 2px solid var(--ink);
  border-radius: 999px;
  font-size: 0.76rem;
  font-weight: 900;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

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

h1 {
  max-width: 700px;
  margin-bottom: 22px;
  font-size: clamp(3rem, 6.4vw, 5.4rem);
  line-height: 0.92;
  letter-spacing: 0;
}

h2 {
  margin-bottom: 16px;
  font-size: clamp(2.1rem, 4.2vw, 3.8rem);
  line-height: 0.98;
  letter-spacing: 0;
}

h3 {
  margin-bottom: 8px;
  font-size: 1.18rem;
}

.hero p:not(.eyebrow),
.section-copy {
  color: var(--muted);
  font-size: clamp(1.04rem, 1.5vw, 1.22rem);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 30px;
}

.button {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  padding: 12px 18px;
  border: 2px solid var(--ink);
  border-radius: 12px;
  box-shadow: 4px 4px 0 rgba(36, 48, 55, 0.18);
  font-weight: 850;
  text-decoration: none;
}

.button.primary {
  color: var(--ink);
  background: var(--yellow);
}

.button.secondary {
  color: var(--ink);
  background: #fff;
}

.section {
  width: min(1120px, calc(100% - 36px));
  margin: 0 auto;
  padding: 64px 0;
}

.section-heading {
  max-width: 820px;
  margin-bottom: 28px;
}

.section-copy {
  max-width: 660px;
}

.hours-section {
  padding-top: 18px;
}

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

.hours-card,
.flow-step,
.task-card,
.download-card,
details {
  background: var(--panel);
  border: 2px solid var(--ink);
  border-radius: 18px;
  box-shadow: 7px 7px 0 rgba(36, 48, 55, 0.14);
}

.hours-card {
  min-height: 240px;
  padding: 26px;
  position: relative;
  overflow: hidden;
}

.hours-card::after {
  content: "";
  position: absolute;
  right: -34px;
  bottom: -42px;
  width: 160px;
  height: 160px;
  border-radius: 46% 54% 56% 44%;
  opacity: 0.82;
  z-index: 0;
}

.hours-card > * {
  position: relative;
  z-index: 1;
}

.hours-card.family::after {
  background: var(--blue);
}

.hours-card.single::after {
  background: var(--green);
}

.hours-number {
  display: block;
  margin-bottom: 12px;
  font-size: clamp(4.2rem, 11vw, 7rem);
  line-height: 0.9;
  font-weight: 950;
}

.hours-card p,
.flow-step p,
.task-card p,
.faq-section p {
  color: var(--muted);
}

.organisation-section {
  position: relative;
}

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

.flow-step {
  position: relative;
  min-height: 245px;
  padding: 22px;
}

.flow-icon {
  display: inline-grid;
  width: 42px;
  height: 42px;
  margin-bottom: 22px;
  place-items: center;
  color: var(--ink);
  background: var(--yellow);
  border: 2px solid var(--ink);
  border-radius: 50%;
  font-weight: 950;
}

.flow-step:nth-child(2) .flow-icon {
  background: var(--blue);
}

.flow-step:nth-child(3) .flow-icon {
  background: var(--green);
}

.coming-soon {
  background: #eaf8dc;
}

.status-pill {
  display: inline-flex;
  min-height: 34px;
  align-items: center;
  margin-top: 8px;
  padding: 6px 11px;
  color: #fff;
  background: var(--coral);
  border: 2px solid var(--ink);
  border-radius: 999px;
  font-size: 0.86rem;
  font-weight: 900;
}

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

.task-card {
  padding: 24px;
}

.task-card.recurring {
  background: #e8f7ff;
}

.task-card.once {
  background: #fff0c2;
}

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

.chip-list li {
  padding: 8px 11px;
  color: var(--ink);
  background: #fff;
  border: 2px solid var(--ink);
  border-radius: 999px;
  font-weight: 760;
}

.chip-list li:nth-child(3n + 1) {
  background: #dff4d4;
}

.chip-list li:nth-child(3n + 2) {
  background: #ffdfe8;
}

.chip-list li:nth-child(3n) {
  background: #d9efff;
}

.form-section {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(300px, 0.65fr);
  gap: 28px;
  align-items: center;
  padding: 46px;
  background: var(--coral);
  border: 2px solid var(--ink);
  border-radius: 24px;
  box-shadow: 10px 10px 0 var(--blue);
}

.form-section .eyebrow {
  background: #fff;
}

.form-section .section-copy {
  color: rgba(36, 48, 55, 0.82);
}

.download-card {
  display: flex;
  align-items: center;
  gap: 16px;
  min-height: 118px;
  padding: 20px;
  text-decoration: none;
}

.download-card strong,
.download-card small {
  display: block;
}

.download-card small {
  margin-top: 4px;
  color: var(--muted);
}

.download-icon {
  position: relative;
  flex: 0 0 auto;
  width: 54px;
  height: 64px;
  background: var(--yellow);
  border: 2px solid var(--ink);
  border-radius: 8px;
}

.download-icon::before,
.download-icon::after {
  content: "";
  position: absolute;
  left: 12px;
  right: 12px;
  height: 2px;
  background: var(--ink);
}

.download-icon::before {
  top: 22px;
  box-shadow: 0 10px 0 var(--ink), 0 20px 0 var(--ink);
}

.download-icon::after {
  right: auto;
  top: -2px;
  left: auto;
  width: 18px;
  height: 18px;
  background: #fff;
  border-left: 2px solid var(--ink);
  border-bottom: 2px solid var(--ink);
  border-radius: 0 6px 0 5px;
}

.faq-section {
  padding-top: 72px;
}

details {
  padding: 18px 20px;
  margin-bottom: 12px;
}

summary {
  cursor: pointer;
  font-weight: 850;
}

details p {
  margin: 12px 0 0;
}

footer {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 16px;
  padding: 30px clamp(18px, 4vw, 56px);
  color: rgba(255, 255, 255, 0.78);
  background: var(--ink);
}

footer p {
  margin: 0;
}

@media (max-width: 900px) {
  .site-header {
    align-items: flex-start;
    flex-direction: column;
  }

  nav {
    width: 100%;
    overflow-x: auto;
    padding-bottom: 4px;
  }

  .hero,
  .hours-grid,
  .flow,
  .task-columns,
  .form-section {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
    padding-top: 42px;
  }

  .hero-media,
  .hero-media img {
    min-height: 360px;
  }

  .hero-media {
    transform: none;
  }

  .section {
    padding: 52px 0;
  }

  .form-section {
    padding: 28px;
  }
}

@media (max-width: 560px) {
  .brand {
    font-size: 0.98rem;
  }

  h1 {
    font-size: 3rem;
  }

  h2 {
    font-size: 2.15rem;
  }

  .hero-actions,
  .button,
  .download-card {
    width: 100%;
  }

  .hero-media,
  .hero-media img {
    min-height: 280px;
  }

  .download-card {
    align-items: flex-start;
    flex-direction: column;
  }
}
