/* ==========================================================================
   Amelo Consultants — ameloconsultants.com
   Deep navy, warm grey, serif headings. Quiet, restrained, editorial.
   Shared by the English and French pages.
   ========================================================================== */

:root {
  --serif: "Iowan Old Style", "Palatino Linotype", Palatino, "Book Antiqua", Georgia, "Times New Roman", serif;
  --sans: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;

  --navy: #12294a;
  --navy-deep: #0c1c34;
  --navy-soft: #2b4368;
  --ink: #1c2331;
  --muted: #5c6472;
  --warm: #f7f5f0;
  --warm-2: #eeeae1;
  --rule: #ddd7cb;
  --rule-dark: #2a3d5c;
  --paper: #ffffff;
}

/* --------------------------------------------------------- base ---------- */

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

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

body {
  margin: 0;
  background: var(--warm);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 1.0625rem;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3 {
  font-family: var(--serif);
  font-weight: 500;
  line-height: 1.2;
  letter-spacing: -0.005em;
  margin: 0 0 .6em;
}
p { margin: 0 0 1.15em; }
p:last-child { margin-bottom: 0; }

a { color: var(--navy); }

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

.measure {
  width: min(100% - 2.5rem, 70rem);
  margin-inline: auto;
}
.measure-slim {
  width: min(100% - 2.5rem, 44rem);
  margin-inline: auto;
}

.a11y {
  position: absolute;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  clip-path: inset(50%);
  white-space: nowrap;
}

.skip {
  position: absolute;
  left: 1rem; top: -4rem;
  z-index: 30;
  padding: .7rem 1.1rem;
  background: var(--navy);
  color: #fff;
  text-decoration: none;
  font-weight: 600;
}
.skip:focus { top: 0; }

/* ------------------------------------------------------- buttons --------- */

.action {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .55rem;
  padding: .95rem 1.7rem;
  background: var(--navy);
  color: #fff;
  border: 1px solid var(--navy);
  border-radius: 3px;
  font-family: var(--sans);
  font-size: 1rem;
  font-weight: 600;
  line-height: 1.25;
  text-align: center;
  text-decoration: none;
  cursor: pointer;
  transition: background-color .15s ease;
}
.action:hover { background: var(--navy-deep); border-color: var(--navy-deep); }
.action-wide { width: 100%; padding-block: 1.05rem; }

.quiet-link {
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  color: var(--navy);
  font-weight: 600;
  text-decoration: none;
  border-bottom: 1px solid var(--rule);
  padding-bottom: 3px;
}
.quiet-link:hover { border-bottom-color: var(--navy); }

/* --------------------------------------------------------- topbar -------- */

.topbar {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(247, 245, 240, .92);
  backdrop-filter: saturate(140%) blur(8px);
  border-bottom: 1px solid var(--rule);
}
.topbar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: 4.25rem;
  padding-block: .55rem;
}
.mark {
  display: inline-flex;
  align-items: center;
  gap: .65rem;
  color: var(--navy);
  font-family: var(--serif);
  font-size: 1.15rem;
  font-weight: 500;
  letter-spacing: .005em;
  text-decoration: none;
}
.mark-badge {
  display: grid;
  place-items: center;
  width: 2rem; height: 2rem;
  border-radius: 3px;
  background: var(--navy);
  flex: none;
}
.mark-badge span {
  display: block;
  width: 1rem;
  height: 2px;
  background: var(--warm-2);
  box-shadow: 0 -5px 0 var(--warm-2), 0 5px 0 var(--warm-2);
}
.top-nav {
  display: flex;
  align-items: center;
  gap: 1.6rem;
  font-size: .95rem;
}
.top-nav a {
  color: var(--muted);
  text-decoration: none;
}
.top-nav a:hover { color: var(--navy); }
.switch {
  color: var(--navy) !important;
  border-bottom: 1px solid var(--rule);
  padding-bottom: 2px;
  font-weight: 600;
}
.switch:hover { border-bottom-color: var(--navy); }

@media (max-width: 50em) {
  .top-nav .nav-a { display: none; }
}
@media (max-width: 26em) {
  .mark { font-size: 1rem; gap: .5rem; }
  .mark-badge { width: 1.75rem; height: 1.75rem; }
  .top-nav { font-size: .88rem; }
}

/* ---------------------------------------------------------- hero --------- */

.opening {
  padding: clamp(3rem, 8vw, 6rem) 0 clamp(2.5rem, 6vw, 4.5rem);
}
.opening-grid { display: grid; gap: 2.5rem; align-items: center; }
@media (min-width: 62em) {
  .opening-grid { grid-template-columns: 1.15fr .85fr; gap: 4rem; }
}
.opening h1 {
  font-size: clamp(2.3rem, 5.6vw, 3.85rem);
  line-height: 1.08;
  letter-spacing: -0.015em;
  margin-bottom: .45em;
  text-wrap: balance;
}
.opening-sub {
  font-size: clamp(1.08rem, 2vw, 1.22rem);
  color: var(--muted);
  max-width: 46ch;
  margin-bottom: 2.25rem;
}
.opening-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1.1rem 1.9rem;
}

/* decorative only */
.figure {
  background: var(--navy);
  border-radius: 4px;
  padding: clamp(1.75rem, 4vw, 2.5rem);
}
.figure-sheet {
  background: var(--paper);
  border-radius: 2px;
  padding: clamp(1.4rem, 3vw, 2rem);
  display: grid;
  gap: .95rem;
}
.figure-sheet i {
  display: block;
  height: 8px;
  border-radius: 2px;
  background: var(--warm-2);
}
.figure-sheet i:nth-child(1) { width: 42%; background: var(--navy); height: 10px; }
.figure-sheet i:nth-child(2) { width: 100%; }
.figure-sheet i:nth-child(3) { width: 88%; }
.figure-sheet i:nth-child(4) { width: 94%; }
.figure-sheet i:nth-child(5) { width: 60%; }
.figure-sheet i:nth-child(6) { width: 30%; background: var(--navy-soft); height: 10px; }

/* ------------------------------------------------------ sections --------- */

.strip {
  border-top: 1px solid var(--rule);
  padding: clamp(3rem, 7vw, 5rem) 0;
}
.strip-paper { background: var(--paper); }
.strip-navy {
  background: var(--navy);
  color: #fff;
  border-top-color: var(--rule-dark);
}
.strip-navy a { color: #fff; }

[id] { scroll-margin-top: 5.5rem; }

.strip-grid { display: grid; gap: 1.25rem; }
@media (min-width: 62em) {
  .strip-grid { grid-template-columns: 13rem 1fr; gap: 3.5rem; align-items: start; }
}
.label {
  margin: 0;
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--muted);
  padding-top: .55rem;
}
.strip-navy .label { color: #a9b6cb; }

.strip h2 {
  font-size: clamp(1.7rem, 3.4vw, 2.4rem);
  margin-bottom: .65em;
}
.body-copy {
  max-width: 60ch;
  font-size: clamp(1.05rem, 1.9vw, 1.18rem);
  color: var(--muted);
}
.strip-navy .body-copy { color: #c6d0e0; }

/* how it works */
.ledger { list-style: none; margin: 0; padding: 0; }
.ledger li {
  display: grid;
  grid-template-columns: 2.75rem 1fr;
  gap: .5rem 1.25rem;
  padding: 1.6rem 0;
  border-top: 1px solid var(--rule);
}
.ledger li:first-child { border-top: 0; padding-top: .25rem; }
@media (min-width: 46em) {
  .ledger li { grid-template-columns: 4rem 1fr; gap: 2rem; }
}
.tally {
  font-family: var(--serif);
  font-size: clamp(1.7rem, 3.2vw, 2.3rem);
  line-height: 1;
  color: var(--navy);
  opacity: .45;
}
.ledger h3 { font-size: clamp(1.2rem, 2.4vw, 1.45rem); margin-bottom: .35em; }
.ledger p { color: var(--muted); max-width: 56ch; }

/* the offer */
.plans { display: grid; gap: 1.5rem; }
@media (min-width: 58em) {
  .plans { grid-template-columns: 1fr 1fr; gap: 2rem; }
}
.plan {
  background: var(--paper);
  border: 1px solid var(--rule);
  border-radius: 4px;
  padding: clamp(1.6rem, 3.5vw, 2.4rem);
}
.plan-primary {
  background: var(--navy);
  border-color: var(--navy);
  color: #fff;
}
.plan-soft { background: var(--warm); }
.plan-line {
  font-family: var(--serif);
  font-size: clamp(1.15rem, 2.2vw, 1.3rem);
  line-height: 1.45;
  margin-bottom: 0;
}
.plan-figure {
  font-size: clamp(1.65rem, 3.4vw, 2.1rem);
  letter-spacing: -0.015em;
}
.plan-primary .plan-figure { color: #fff; }
.plan-lead {
  font-family: var(--sans);
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .16em;
  text-transform: uppercase;
  display: block;
  margin-bottom: .9rem;
  color: var(--muted);
}
.plan-primary .plan-lead { color: #a9b6cb; }
.plan-note {
  margin-top: 1.5rem;
  padding-top: 1.1rem;
  border-top: 1px solid var(--rule-dark);
  font-size: .92rem;
  color: #a9b6cb;
}
.plan p + p { margin-top: 1.1rem; }
.plan .plan-body { color: var(--muted); font-size: 1rem; }

/* AC-SITE-1, 2026-09-12 — three tiers where there was one.
   The offer has carried three prices since D-063 and the page carried a single
   range, so these are the styles the three-up needs and nothing more. */

/* Three across on a wide screen; two, then one, as it narrows. Three cards at
   the old two-column breakpoint would be 18rem wide with a paragraph in each. */
@media (min-width: 46em) {
  .plans-three { grid-template-columns: 1fr 1fr; }
}
@media (min-width: 72em) {
  .plans-three { grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
}
.plans + .plans { margin-top: 1.5rem; }

/* Two colours that were only ever correct inside the navy card.
   `.plan-body` is --muted, which is a grey for paper; on the navy tier it was
   grey on dark blue. `.plan-note` is #a9b6cb for the same reason, and it has
   moved out of the navy card to sit under the whole section on paper, where a
   pale blue on cream is close to unreadable. Both are fixed where they are
   used rather than by changing the tokens, which other sections rely on. */
.plan-primary .plan-body { color: #d7dfea; }
.plans + .plan-note,
.strip .plan-note {
  color: var(--muted);
  border-top-color: var(--rule);
}
.strip-navy .plan-note { color: #a9b6cb; border-top-color: var(--rule-dark); }

/* trust */
.paths { display: grid; gap: 1.25rem; }
@media (min-width: 58em) {
  .paths { grid-template-columns: 1fr 1fr; gap: 2rem; }
}
.path {
  background: var(--paper);
  border-left: 2px solid var(--navy);
  padding: 1.4rem 1.6rem;
  color: var(--ink);
}
.access {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 1rem;
  align-items: start;
  margin-top: 1.75rem;
  padding-top: 1.6rem;
  border-top: 1px solid var(--rule);
  color: var(--muted);
  max-width: 66ch;
}
.access svg { color: var(--navy); margin-top: .25rem; flex: none; }

/* faq */
.qlist { border-top: 1px solid var(--rule); }
.qlist details { border-bottom: 1px solid var(--rule); }
.qlist summary {
  list-style: none;
  cursor: pointer;
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 1.25rem;
  padding: 1.25rem 0;
  font-family: var(--serif);
  font-size: clamp(1.08rem, 2.2vw, 1.25rem);
}
.qlist summary::-webkit-details-marker { display: none; }
.qlist summary::after {
  content: "+";
  font-family: var(--sans);
  font-size: 1.2rem;
  color: var(--navy);
  translate: 0 2px;
}
.qlist details[open] summary::after { content: "–"; }
.qlist details p {
  padding: 0 0 1.4rem;
  max-width: 60ch;
  color: var(--muted);
}

/* ---------------------------------------------------------- form --------- */

.enquiry {
  background: var(--navy);
  padding: clamp(3rem, 8vw, 5.5rem) 0;
}
.enquiry-card {
  background: var(--paper);
  border-radius: 4px;
  padding: clamp(1.6rem, 4vw, 3rem);
}
.enquiry-card h2 {
  font-size: clamp(1.5rem, 3.2vw, 2.1rem);
  margin-bottom: 1.6rem;
}
.enquiry-card form { display: grid; gap: 1.25rem; }

.entry { display: grid; gap: .4rem; }
.entry label {
  font-size: .95rem;
  font-weight: 600;
  color: var(--ink);
}
.aside { font-weight: 400; color: var(--muted); }

.entry input,
.entry textarea {
  font: inherit;
  color: var(--ink);
  background: var(--warm);
  width: 100%;
  padding: .8rem .9rem;
  border: 1px solid var(--rule);
  border-radius: 3px;
}
.entry textarea { min-height: 7.5rem; resize: vertical; }
.entry input:hover, .entry textarea:hover { border-color: #bfb7a7; }
.entry input:focus-visible,
.entry textarea:focus-visible {
  outline: 2px solid var(--navy);
  outline-offset: 0;
  border-color: var(--navy);
  background: #fff;
}

@media (min-width: 40em) {
  .entry-pair { display: grid; grid-template-columns: 1fr 1fr; gap: 1.25rem; }
}

.entry-consent {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: .75rem;
  align-items: start;
  border-top: 1px solid var(--rule);
  border-bottom: 1px solid var(--rule);
  padding: 1.1rem 0;
}
.entry-consent input {
  width: 1.1rem; height: 1.1rem;
  margin: .35rem 0 0;
  accent-color: var(--navy);
  flex: none;
}
.entry-consent label {
  font-weight: 400;
  font-size: .97rem;
  line-height: 1.55;
}

.hp { display: none; }

/* -------------------------------------------------------- footer --------- */

.site-foot {
  background: var(--warm);
  border-top: 1px solid var(--rule);
  padding: 2.5rem 0;
  font-size: .95rem;
  color: var(--muted);
}
.foot-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: .75rem 1.5rem;
}
.foot-links { display: flex; flex-wrap: wrap; gap: 1.4rem; }
.foot-links a {
  color: var(--muted);
  text-decoration: none;
  border-bottom: 1px solid var(--rule);
}
.foot-links a:hover { color: var(--navy); border-bottom-color: var(--navy); }

/* ----------------------------------------------------- sub pages --------- */

.page { padding: clamp(3rem, 9vw, 6rem) 0 clamp(3rem, 8vw, 5rem); }
.page h1 { font-size: clamp(2.1rem, 5vw, 3.1rem); }
.page-lead {
  font-size: clamp(1.1rem, 2.3vw, 1.3rem);
  color: var(--muted);
  max-width: 44ch;
}
.prose { max-width: 62ch; color: var(--muted); }
.prose a { color: var(--navy); }
.page-back { margin-top: 2.25rem; }
.page-rule {
  width: 3.5rem;
  height: 2px;
  background: var(--navy);
  margin-bottom: 2rem;
}
