/* Devon Verified — draft one-page site. No build step. */

@font-face {
  font-family: "Fraunces";
  src: url("fonts/fraunces.woff2") format("woff2");
  font-weight: 400 700;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Atkinson Hyperlegible";
  src: url("fonts/atkinson-regular.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Atkinson Hyperlegible";
  src: url("fonts/atkinson-italic.woff2") format("woff2");
  font-weight: 400;
  font-style: italic;
  font-display: swap;
}

@font-face {
  font-family: "Atkinson Hyperlegible";
  src: url("fonts/atkinson-bold.woff2") format("woff2");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

:root {
  --paper: #f4f3f0;
  --paper-deep: #e8e6e0;
  --card: #ffffff;
  --ink: #141311;
  --ink-soft: #33302c;
  --green: #1e3a31;
  --green-mid: #2d5246;
  --green-deep: #162b25;
  --cream: #f4f3f0;
  --rule: #d4d0c8;
  --banner: #ece6d4;
  --focus: #1e3a31;
  --max: 40rem;
  --wide: 68rem;
  --header-wide: 68rem;
  --header-h: 4.35rem;
  color-scheme: light;
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 0.75rem);
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: "Atkinson Hyperlegible", "Segoe UI", "Helvetica Neue", Arial, sans-serif;
  font-size: 1.2rem;
  line-height: 1.6;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

body::before {
  content: "";
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: var(--green);
  z-index: 20;
}

img,
svg {
  max-width: 100%;
  display: block;
}

a {
  color: var(--green);
  text-underline-offset: 0.18em;
  text-decoration-thickness: 1px;
}

a:hover {
  color: var(--green-deep);
}

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

.skip {
  position: absolute;
  left: 0.75rem;
  top: 0.75rem;
  z-index: 30;
  padding: 0.5rem 0.85rem;
  background: var(--green);
  color: var(--cream);
  text-decoration: none;
  border-radius: 6px;
  transform: translateY(-200%);
}

.skip:focus {
  transform: none;
}

.wrap {
  width: min(var(--wide), calc(100% - 2.5rem));
  margin-inline: auto;
}

.narrow {
  width: min(var(--max), 100%);
  margin-inline: auto;
}

/* Buttons — one action, used wherever it appears */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--green);
  color: #fff;
  text-decoration: none;
  font-weight: 700;
  font-size: 1.1rem;
  line-height: 1.2;
  padding: 0.85rem 1.35rem;
  border-radius: 8px;
  border: 2px solid var(--green);
}

.btn:hover {
  background: var(--green-deep);
  border-color: var(--green-deep);
  color: #fff;
}

.btn-compact {
  font-size: 1rem;
  padding: 0.55rem 0.95rem;
  white-space: nowrap;
}

/* Header */

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  background: color-mix(in srgb, var(--paper) 94%, transparent);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--rule);
}

.header-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem 1.5rem;
  min-height: var(--header-h);
  padding-block: 0.7rem;
  flex-wrap: wrap;
}

.wordmark {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  color: var(--green);
  text-decoration: none;
  font-family: "Fraunces", Georgia, "Times New Roman", serif;
  font-weight: 560;
  font-size: 1.25rem;
  letter-spacing: -0.01em;
  font-optical-sizing: auto;
}

.wordmark:hover {
  color: var(--green-mid);
}

.wordmark svg {
  width: 1.75rem;
  height: 1.75rem;
  flex-shrink: 0;
}

.site-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem 1.2rem;
  margin-left: auto;
  margin-right: 0.25rem;
}

.site-nav a {
  color: var(--ink-soft);
  text-decoration: none;
  font-size: 1rem;
}

.site-nav a:hover {
  color: var(--ink);
  text-decoration: underline;
}

/* Hero */

.hero {
  padding: 3.75rem 0 3.25rem;
}

.hero h1 {
  margin: 0 0 1.15rem;
  font-family: "Fraunces", Georgia, "Times New Roman", serif;
  font-weight: 560;
  font-size: clamp(2.2rem, 5.6vw, 3.5rem);
  line-height: 1.15;
  letter-spacing: -0.02em;
  font-optical-sizing: auto;
  text-wrap: balance;
  color: var(--ink);
}

.lede {
  margin: 0 0 1.6rem;
  max-width: 34rem;
  color: var(--ink-soft);
  font-size: 1.3rem;
  line-height: 1.45;
}

.hero-actions {
  margin: 0 0 0.85rem;
}

.hero-note {
  margin: 0;
  color: var(--ink-soft);
  font-size: 1.05rem;
}

/* Sections */

.section {
  padding: 3rem 0;
  border-top: 1px solid var(--rule);
}

.section h2 {
  margin: 0 0 1.2rem;
  font-family: "Fraunces", Georgia, "Times New Roman", serif;
  font-weight: 550;
  font-size: clamp(1.7rem, 3vw, 2.15rem);
  line-height: 1.2;
  letter-spacing: -0.015em;
  font-optical-sizing: auto;
  text-wrap: balance;
}

.section p {
  margin: 0 0 1rem;
  color: var(--ink);
}

.section p:last-child {
  margin-bottom: 0;
}

.quiet {
  color: var(--ink-soft);
}

.section-actions {
  margin-top: 1.4rem;
}

/* What you get */

.perks {
  list-style: none;
  margin: 0 0 1.5rem;
  padding: 0;
  display: grid;
  gap: 1rem;
}

.perks li {
  padding: 1.1rem 1.15rem 1.15rem;
  background: var(--card);
  border: 1px solid var(--rule);
  border-radius: 8px;
}

.perks h3 {
  margin: 0 0 0.3rem;
  font-family: "Fraunces", Georgia, "Times New Roman", serif;
  font-weight: 550;
  font-size: 1.3rem;
  letter-spacing: -0.01em;
}

.perks p {
  margin: 0;
  color: var(--ink-soft);
}

/* Example profile */

.example {
  margin-top: 1.75rem;
  background: var(--card);
  border: 1px solid var(--rule);
  border-radius: 8px;
  overflow: hidden;
}

.example-flag {
  margin: 0;
  padding: 0.5rem 1.15rem;
  background: var(--banner);
  color: var(--ink);
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.03em;
  text-transform: uppercase;
}

.example-body {
  padding: 1.2rem 1.2rem 1.35rem;
}

.example h3 {
  margin: 0 0 0.15rem;
  font-family: "Fraunces", Georgia, "Times New Roman", serif;
  font-weight: 560;
  font-size: 1.65rem;
  letter-spacing: -0.015em;
}

.example .meta {
  margin: 0 0 0.85rem;
  color: var(--ink-soft);
  font-size: 1.05rem;
}

.example .blurb {
  margin: 0 0 1rem;
}

.facts {
  display: grid;
  gap: 0.65rem 1.25rem;
  margin: 0;
}

.facts div {
  display: grid;
  grid-template-columns: 8.2rem 1fr;
  gap: 0.35rem 1rem;
  padding-top: 0.7rem;
  border-top: 1px solid var(--rule);
}

.facts dt {
  margin: 0;
  color: var(--ink-soft);
  font-size: 1rem;
}

.facts dd {
  margin: 0;
}

@media (max-width: 560px) {
  .facts div {
    grid-template-columns: 1fr;
    gap: 0.15rem;
  }
}

/* How we verify */

.verify-strip {
  background: var(--green);
  color: var(--cream);
  padding: 3rem 0 3.15rem;
}

.verify-strip h2 {
  margin: 0 0 1.5rem;
  font-family: "Fraunces", Georgia, "Times New Roman", serif;
  font-weight: 550;
  font-size: clamp(1.7rem, 3vw, 2.15rem);
  line-height: 1.2;
  letter-spacing: -0.015em;
  font-optical-sizing: auto;
}

.verify-points {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.35rem 1.5rem;
  counter-reset: verify;
}

.verify-points li {
  counter-increment: verify;
}

.verify-points li::before {
  content: counter(verify);
  display: block;
  font-family: "Fraunces", Georgia, "Times New Roman", serif;
  font-weight: 560;
  font-size: 1.6rem;
  line-height: 1;
  color: #c8e0d6;
  margin-bottom: 0.55rem;
}

.verify-points h3 {
  margin: 0 0 0.35rem;
  font-family: "Fraunces", Georgia, "Times New Roman", serif;
  font-weight: 550;
  font-size: 1.25rem;
  letter-spacing: -0.01em;
  color: #fff;
}

.verify-points p {
  margin: 0;
  color: #dce8e3;
  font-size: 1.05rem;
}

.no-promise {
  margin: 2rem 0 0;
  padding-top: 1.25rem;
  border-top: 1px solid rgba(244, 243, 240, 0.22);
  color: #fff;
  font-size: 1.15rem;
}

@media (max-width: 900px) {
  .verify-points {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 560px) {
  .verify-points {
    grid-template-columns: 1fr;
    gap: 1.25rem;
  }
}

/* How it works */

.steps {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 1.35rem;
  counter-reset: step;
}

.steps li {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 0.85rem 1.1rem;
  counter-increment: step;
}

.steps li::before {
  content: counter(step);
  font-family: "Fraunces", Georgia, "Times New Roman", serif;
  font-weight: 560;
  font-size: 1.95rem;
  line-height: 1;
  color: var(--green);
  min-width: 1.4rem;
  padding-top: 0.15rem;
}

.steps h3 {
  margin: 0 0 0.25rem;
  font-family: "Fraunces", Georgia, "Times New Roman", serif;
  font-weight: 550;
  font-size: 1.3rem;
}

.steps p {
  margin: 0;
  color: var(--ink-soft);
}

/* Price */

.prices {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  margin: 0 0 1.25rem;
}

.price-card {
  background: var(--card);
  border: 1px solid var(--rule);
  border-radius: 8px;
  padding: 1.2rem 1.2rem 1.25rem;
}

.price-card p {
  margin: 0;
}

.amount {
  display: block;
  font-family: "Fraunces", Georgia, "Times New Roman", serif;
  font-weight: 560;
  font-size: clamp(2.4rem, 5vw, 3.15rem);
  line-height: 1;
  letter-spacing: -0.03em;
  color: var(--green);
  margin-bottom: 0.45rem;
}

.price-card .label {
  color: var(--ink-soft);
}

@media (max-width: 520px) {
  .prices {
    grid-template-columns: 1fr;
  }
}

/* FAQ */

.faq {
  display: grid;
  gap: 0.55rem;
}

.faq details {
  background: var(--card);
  border: 1px solid var(--rule);
  border-radius: 8px;
  padding: 0.15rem 0;
}

.faq summary {
  cursor: pointer;
  list-style: none;
  padding: 0.9rem 2.6rem 0.9rem 1.15rem;
  font-weight: 700;
  font-size: 1.1rem;
  position: relative;
}

.faq summary::-webkit-details-marker {
  display: none;
}

.faq summary::after {
  content: "";
  position: absolute;
  right: 1.15rem;
  top: 50%;
  width: 0.5rem;
  height: 0.5rem;
  border-right: 1.5px solid var(--ink-soft);
  border-bottom: 1.5px solid var(--ink-soft);
  transform: translateY(-70%) rotate(45deg);
}

.faq details[open] summary::after {
  transform: translateY(-30%) rotate(225deg);
}

.faq details p {
  margin: 0;
  padding: 0 1.15rem 1.05rem;
  color: var(--ink-soft);
}

/* Contact form */

.enquiry-form {
  margin-top: 1.5rem;
  display: grid;
  gap: 1.05rem;
}

.field label {
  display: block;
  font-weight: 700;
  font-size: 1.05rem;
  margin-bottom: 0.35rem;
}

.field input,
.field select,
.field textarea {
  width: 100%;
  font: inherit;
  font-size: 1.1rem;
  line-height: 1.4;
  padding: 0.65rem 0.75rem;
  border: 1px solid var(--rule);
  border-radius: 8px;
  background: var(--card);
  color: var(--ink);
  appearance: none;
}

.field select {
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'><path fill='none' stroke='%2333302c' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round' d='M1.5 1.5 6 6 10.5 1.5'/></svg>");
  background-repeat: no-repeat;
  background-position: right 0.85rem center;
  background-size: 0.75rem;
  padding-right: 2.2rem;
}

.field textarea {
  resize: vertical;
  min-height: 8.5rem;
}

.field input:focus,
.field select:focus,
.field textarea:focus,
.consent input:focus-visible {
  outline: 2px solid var(--focus);
  outline-offset: 2px;
  border-color: var(--green);
}

.optional {
  font-weight: 400;
  color: var(--ink-soft);
}

.consent label {
  display: flex;
  gap: 0.7rem;
  align-items: flex-start;
  font-weight: 400;
  font-size: 1.05rem;
  color: var(--ink-soft);
  cursor: pointer;
}

.consent input {
  width: 1.15rem;
  height: 1.15rem;
  margin: 0.3rem 0 0;
  flex-shrink: 0;
  accent-color: var(--green);
}

/* Hidden honeypot — visually and from assistive tech, but still in the form. */
.honeypot {
  position: absolute;
  left: -10000px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.turnstile-wrap {
  margin: 0;
}

.form-hint {
  margin: 0;
  color: var(--ink-soft);
  font-size: 1rem;
}

.form-actions {
  margin: 0.2rem 0 0;
}

button.btn {
  font-family: inherit;
  cursor: pointer;
}

button.btn:disabled {
  opacity: 0.7;
  cursor: wait;
}

.form-status {
  margin: 0 0 1.15rem;
  padding: 0.85rem 1rem;
  border-radius: 8px;
  font-size: 1.05rem;
}

.form-status[hidden] {
  display: none;
}

.form-status.is-success {
  background: #e6efe9;
  border: 1px solid #b7d0c3;
  color: var(--green-deep);
}

.form-status.is-error {
  background: #f8e8e6;
  border: 1px solid #e0c2bd;
  color: #5c2b26;
}

/* Privacy note page */

.policy h1 {
  margin: 0 0 1.15rem;
  font-family: "Fraunces", Georgia, "Times New Roman", serif;
  font-weight: 560;
  font-size: clamp(2rem, 5vw, 2.8rem);
  line-height: 1.15;
  letter-spacing: -0.02em;
}

.policy .lede {
  margin-bottom: 1.25rem;
}

.policy h2 {
  margin: 2rem 0 0.7rem;
  font-family: "Fraunces", Georgia, "Times New Roman", serif;
  font-weight: 550;
  font-size: 1.45rem;
  letter-spacing: -0.01em;
}

.policy ul {
  margin: 0 0 1rem;
  padding-left: 1.2rem;
}

.policy li {
  margin: 0 0 0.4rem;
}

.updated {
  margin-top: 2rem;
  color: var(--ink-soft);
  font-size: 1rem;
}

/* Footer */

.site-footer {
  border-top: 1px solid var(--rule);
  padding: 1.6rem 0 2.4rem;
  color: var(--ink-soft);
  font-size: 1rem;
}

.site-footer p {
  margin: 0;
}

.footer-links {
  margin-top: 0.45rem;
}

/* Layout: desktop header keeps nav in the middle, button at the end */

@media (max-width: 860px) {
  .site-header {
    position: static;
  }

  html {
    scroll-padding-top: 0.75rem;
  }

  .header-bar {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 0.55rem 1rem;
    min-height: 0;
    padding-block: 0.85rem 0.8rem;
  }

  .wordmark {
    grid-column: 1;
    grid-row: 1;
  }

  .btn-compact {
    grid-column: 2;
    grid-row: 1;
  }

  .site-nav {
    grid-column: 1 / -1;
    grid-row: 2;
    margin: 0;
    width: 100%;
    gap: 0.25rem 1rem;
    font-size: 0.98rem;
  }

  .site-nav a {
    padding: 0.15rem 0;
  }
}

@media (max-width: 640px) {
  body {
    font-size: 1.125rem;
  }

  .hero {
    padding: 2.35rem 0 2.15rem;
  }

  .hero h1 {
    font-size: clamp(2rem, 9vw, 2.55rem);
  }

  .lede {
    font-size: 1.2rem;
  }

  .section,
  .verify-strip {
    padding: 2.35rem 0;
  }

  .wrap {
    width: min(var(--wide), calc(100% - 1.5rem));
  }
}
