@font-face { font-family: "Work Sans"; src: url("/fonts/worksans-latin.woff2") format("woff2"); font-weight: 400 700; font-display: swap; }
@font-face { font-family: "General Sans"; src: url("/fonts/generalsans-700.woff2") format("woff2"); font-weight: 700; font-display: swap; }

/* Colours, sizes and spacing taken from the live Twenty Twenty-Four theme settings */
:root {
  --base: #f9f9f9;
  --white: #fff;
  --ink: #111;
  --grey: #636363;
  --light-grey: #a4a4a4;
  --blue: #2d82b7;
  --wide: 1280px;
  --content: 620px;
  --gutter: min(6.5rem, 8vw);
  --space: min(6.5rem, 8vw);
  --sans: "Work Sans", system-ui, sans-serif;
  --display: "General Sans", "Work Sans", system-ui, sans-serif;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--sans);
  font-size: 1.05rem;
  line-height: 1.55;
  color: var(--ink);
  background: var(--base);
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
a:hover { text-decoration: none; }
h1, h2, h3, h4, h5 { font-family: var(--display); font-weight: 700; line-height: 1.2; margin: 0 0 .6em; }
h1 { font-size: clamp(2.5rem, 2.2rem + 1.3vw, 3.27rem); line-height: 1.15; }
h2 { font-size: clamp(1.85rem, 1.65rem + 1.1vw, 2.5rem); }
h3 { font-size: clamp(1.39rem, 1.25rem + .77vw, 1.85rem); }
h5 { font-size: 1.05rem; }
p { margin: 0 0 1.2em; }
hr { border: 0; border-bottom: 1px solid currentColor; margin: 1.5rem 0; }

.wide { max-width: calc(var(--wide) + 2 * var(--gutter)); margin: 0 auto; padding: 0 var(--gutter); }
.centred { text-align: center; }

/* Header */
.site-header { padding: 20px 0; background: var(--base); }
.site-header .wide { display: flex; align-items: center; justify-content: space-between; gap: 16px 32px; flex-wrap: wrap; }
.site-header .logo img { width: 192px; }
.nav { display: flex; flex-wrap: wrap; gap: 8px 28px; font-weight: 500; font-size: .95rem; }
.nav a { text-decoration: none; }
.nav a:hover, .nav a[aria-current] { text-decoration: underline; text-underline-offset: 4px; }

/* Page title */
.page-title { text-align: center; padding: var(--space) var(--gutter) 0; }
.page-title h1 { margin: 0; }

/* Buttons */
.buttons { display: flex; flex-wrap: wrap; gap: .7rem; margin-top: 1.4rem; }
.button {
  display: inline-block; background: var(--blue); color: var(--base); border: 1px solid var(--blue);
  border-radius: .33rem; padding: calc(.6rem - 1px) calc(1rem - 1px); font-size: .9rem;
  text-decoration: none; line-height: 1.55; cursor: pointer;
}
.button:hover { background: var(--grey); border-color: var(--grey); color: var(--base); }
.button.outline { background: transparent; color: var(--ink); border-color: currentColor; }
.button.outline:hover { background: var(--grey); border-color: var(--grey); color: var(--base); }
.button.is-disabled, .button.is-disabled:hover {
  background: #e4e4e4; border-color: #e4e4e4; color: var(--grey); cursor: not-allowed; pointer-events: none;
}

/* Intro (two columns: text + photo) */
.intro { padding: var(--space) 0; }
.split { display: grid; grid-template-columns: 1fr 1fr; gap: var(--space); align-items: center; }
.split h2 { font-size: clamp(1.85rem, 1.65rem + 1.1vw, 2.5rem); }
.checks { list-style-type: "\2713"; padding-left: 1rem; line-height: 1.75; margin: 0; }
.checks li { padding-inline-start: 1ch; }
.rounded { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: min(1.5rem, 2vw); }
.mono { filter: grayscale(1); }

/* White band */
.band { padding: calc(var(--space) * .75) 0; }
.band.white { background: var(--white); }
.thin { margin-bottom: 1.5rem; }

/* Services grid */
.services { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--space) min(2.5rem, 3vw); }
.services img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; margin-bottom: 1rem; }
.services h3 { font-size: 1.05rem; font-weight: 700; margin-bottom: .5em; }
.services p { margin: 0; }

/* FAQs */
.faqs { background: var(--ink); color: var(--base); padding: var(--space) 0; }
.faqs h2 { color: var(--base); font-size: clamp(4.5rem, 3.5rem + 9vw, 10rem); letter-spacing: -0.02em; line-height: 1; margin-bottom: .2em; }
.faqs h3 { color: var(--white); margin: 0 0 .6em; }
.faqs hr { border-color: var(--base); margin: min(2.5rem, 3vw) 0; }
.faqs p { margin: 0; }

/* Asterisk headings (theme decoration) */
.asterisk::before {
  content: ""; display: block; width: 1.5rem; height: 3rem; background: var(--grey);
  clip-path: path('M11.93.684v8.039l5.633-5.633 1.216 1.23-5.66 5.66h8.04v1.737H13.2l5.701 5.701-1.23 1.23-5.742-5.742V21h-1.737v-8.094l-5.77 5.77-1.23-1.217 5.743-5.742H.842V9.98h8.162l-5.701-5.7 1.23-1.231 5.66 5.66V.684h1.737Z');
}
.centred .asterisk::before { margin: 0 auto; }
.centred { max-width: var(--content); margin: 0 auto min(4rem, 5vw); }

/* Benefits */
.benefits { display: grid; grid-template-columns: repeat(3, 1fr); gap: min(1.5rem, 2vw) min(2.5rem, 3vw); }
.benefits h3 { font-family: var(--sans); font-size: 1.05rem; font-weight: 600; margin-bottom: .4em; }

/* How it works */
.how { padding: calc(var(--space) * .5) 0; }
.how-grid { display: grid; grid-template-columns: 1fr 1fr; gap: var(--space); align-items: center; }
.cover { min-height: 800px; position: relative; background: #c0b6b6; }
.cover img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 40% 51%; }
.steps { padding: 20px 50px; }
.step h5 { text-transform: capitalize; margin-bottom: .4em; }
.step p { margin: 0; }
.steps hr { margin: 1.2rem 0; }

/* Legal pages */
.prose { max-width: calc(860px + 2 * var(--gutter)); margin: 0 auto; padding: var(--space) var(--gutter); }
.prose h3 { font-size: 1.39rem; margin-top: 1.6em; }
.prose ul { padding-left: 1rem; }
.prose li { margin-bottom: .4em; }

/* Breadcrumbs */
.crumbs { font-size: .9rem; padding-top: 1.5rem; margin-bottom: 1.5rem; }

/* Shop */
.shop { padding-bottom: var(--space); }
.shop h1 { margin-bottom: .3em; }
.count { font-size: .9rem; }
.products { list-style: none; padding: 0; margin: 2rem 0 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 3rem min(2.5rem, 3vw); text-align: center; }
.products img { width: 100%; aspect-ratio: 1; object-fit: cover; background: var(--white); margin-bottom: 1rem; }
.products h2 { font-size: 1.05rem; line-height: 1.4; margin-bottom: .4em; }
.products h2 a { text-decoration: none; }
.products h2 a:hover { text-decoration: underline; }
.products .price { font-size: .9rem; margin-bottom: .8em; }

/* Product */
.product { padding-bottom: var(--space); }
.product-top { display: grid; grid-template-columns: 1.4fr 1fr; gap: var(--space); align-items: start; }
.product-top img { width: 100%; background: var(--white); }
.summary .price { font-size: 1.39rem; }
.summary .buy-button { margin: .4rem 0 1.4rem; }
.meta { font-size: .9rem; color: var(--grey); }
.description { max-width: 860px; margin-top: var(--space); padding-top: 1.5rem; border-top: 1px solid #ddd; }
.description h2 { font-size: 1.39rem; }
.description ul { padding-left: 1rem; }

/* 404 */
.notfound { padding: 2rem var(--gutter) var(--space); }
.notfound .buttons { justify-content: center; }

/* Footer */
.site-footer { padding: var(--space) 0; }
.site-footer .wide { display: grid; grid-template-columns: 60% 40%; align-items: start; }
.site-footer .logo img { width: 157px; }
.tagline { color: var(--grey); font-size: .9rem; margin: 1rem 0 0; }
.links { display: grid; grid-template-columns: repeat(3, 1fr); gap: min(2.5rem, 3vw); }
.links p { margin: 0; }
.small { font-size: .9rem; }

@media (max-width: 781px) {
  .split, .how-grid, .product-top, .benefits, .site-footer .wide { grid-template-columns: 1fr; }
  .services, .products { grid-template-columns: 1fr 1fr; }
  .cover { min-height: 420px; }
  .steps { padding: 0; }
  .site-footer .wide { gap: 2rem; }
}
@media (max-width: 520px) {
  .services, .products { grid-template-columns: 1fr; }
  .links { grid-template-columns: 1fr 1fr; }
  .site-header .logo img { width: 160px; }
}
