:root {
  --paper:      #FAFAF7;
  --surface:    #EDF1EC;
  --ink:        #16232E;
  --ink-soft:   #46565F;
  --muted:      #6B7A80;
  --rule:       #D6DCD6;
  --accent:     #256B52;
  --accent-ink: #1B4F3C;
  --on-accent:  #FFFFFF;

  --f-display: Georgia, "Iowan Old Style", "Palatino Linotype", Palatino, "Times New Roman", serif;
  --f-body: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;

  --maxw: 36rem;
}

@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --paper:      #121A18;
    --surface:    #1D2725;
    --ink:        #E9EEEA;
    --ink-soft:   #B6C2BC;
    --muted:      #8C9A94;
    --rule:       #2E3A36;
    --accent:     #6BC79D;
    --accent-ink: #8FD8B5;
    --on-accent:  #0E1614;
  }
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--f-body);
  font-size: 19px;
  line-height: 1.7;
}
h1, h2, h3, p, ul, figure { margin: 0; }

.wrap { max-width: var(--maxw); margin: 0 auto; padding: 0 1.35rem 4.5rem; }

/* ---- nav ---- */
.topnav { border-bottom: 1px solid var(--rule); margin-bottom: 3rem; }
.topnav-inner {
  max-width: var(--maxw); margin: 0 auto; padding: 0.5rem 1.35rem;
  display: flex; align-items: center; justify-content: space-between; gap: 1rem;
}
.topnav a {
  color: var(--ink); text-decoration: none; font-weight: 600; font-size: 1rem;
  display: inline-flex; align-items: center; min-height: 48px;
}
.topnav .home { font-family: var(--f-display); font-size: 1.1rem; font-weight: 400; }
.topnav a:hover { color: var(--accent-ink); }
.topnav a[aria-current="page"] { color: var(--accent-ink); }

/* ---- masthead ---- */
.masthead { margin-bottom: 3rem; }
.brand {
  font-family: var(--f-display);
  font-weight: 400;
  font-size: clamp(1.7rem, 5.4vw, 2.15rem);
  line-height: 1.2;
  letter-spacing: -0.01em;
  text-wrap: balance;
  margin-bottom: 1rem;
}
.standfirst { font-size: 1.05rem; color: var(--ink-soft); }

/* ---- sections ---- */
section { margin-bottom: 3.5rem; }
h2 {
  font-family: var(--f-display);
  font-weight: 400;
  font-size: 1.5rem;
  line-height: 1.3;
  margin-bottom: 1.1rem;
  padding-bottom: 0.55rem;
  border-bottom: 1px solid var(--rule);
}
p { margin-bottom: 1.1rem; }
p:last-child { margin-bottom: 0; }
.after-list { margin-top: 1.2rem; }

/* ---- price ---- */
.bignum {
  font-family: var(--f-display);
  font-size: clamp(2.6rem, 9vw, 3.2rem);
  line-height: 1.05;
  color: var(--accent-ink);
  margin-bottom: 0.5rem;
}
.bignum span {
  display: block;
  font-family: var(--f-body);
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--ink);
  margin-top: 0.5rem;
}
.undernum { color: var(--ink-soft); }

/* ---- the one panel on the site ---- */
.panel { background: var(--surface); padding: 1.5rem 1.6rem; margin-top: 2rem; }
.panel h3 {
  font-size: 0.78rem; font-weight: 700; letter-spacing: 0.1em;
  text-transform: uppercase; color: var(--accent-ink); margin-bottom: 1rem;
}

/* ---- lists ---- */
ul { list-style: none; padding: 0; display: flex; flex-direction: column; gap: 0.8rem; }
.checks li { padding-left: 1.7rem; position: relative; }
.checks li::before {
  content: ""; position: absolute; left: 0; top: 0.66em;
  width: 0.5rem; height: 0.5rem; background: var(--accent); border-radius: 50%;
}
.nots li { padding-left: 1.7rem; position: relative; color: var(--ink-soft); }
.nots li::before {
  content: ""; position: absolute; left: 0; top: 0.88em;
  width: 0.85rem; height: 2px; background: var(--rule);
}

/* ---- buttons ---- */
.actions { display: flex; flex-wrap: wrap; gap: 0.75rem; margin-top: 1.6rem; }
.btn {
  display: inline-flex; align-items: center; min-height: 52px;
  padding: 0 1.7rem; border-radius: 2px;
  font-size: 1.05rem; font-weight: 650; text-decoration: none;
  border: 2px solid var(--accent);
}
.btn-solid { background: var(--accent); color: var(--on-accent); }
.btn-line { background: transparent; color: var(--accent-ink); }
.btn:hover { opacity: 0.87; }
.btn:focus-visible { outline: 3px solid var(--ink); outline-offset: 3px; }
a:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; }

/* ---- contact rows ---- */
.contact-list { display: flex; flex-direction: column; gap: 0; margin-bottom: 1rem; }
.contact-row { padding: 1rem 0; border-bottom: 1px solid var(--rule); }
.contact-row:last-child { border-bottom: none; }
.contact-row .k {
  display: block; font-size: 0.72rem; font-weight: 700; letter-spacing: 0.1em;
  text-transform: uppercase; color: var(--muted); margin-bottom: 0.2rem;
}
.contact-row .v { font-family: var(--f-display); font-size: 1.25rem; color: var(--accent-ink); word-break: break-word; }
.contact-row .v a { color: inherit; display: inline-block; padding: 0.3rem 0; }

footer {
  margin-top: 1rem; padding-top: 1.5rem;
  border-top: 1px solid var(--rule);
  color: var(--muted); font-size: 0.9rem;
}
footer a { color: var(--muted); }

@media (prefers-reduced-motion: reduce) { * { animation: none !important; transition: none !important; } }
