/* Aspen Plantation LLP — site styles. Plain CSS, no build step. */

:root {
  --ink: #1f2420;
  --muted: #5d655e;
  --line: #e2e6df;
  --field: #cfd5cb;
  --bg: #ffffff;
  --soft: #f5f7f2;
  --green: #2c6e4f;      /* dark leaf green from the logo */
  --green-ink: #1f5139;
  --lime: #8cc63f;       /* light leaf green from the logo */
  --err-bg: #fbeeee;
  --err-line: #efcfcf;
  --ok-bg: #eef6ea;
  --ok-line: #cfe5c4;
}

* { box-sizing: border-box; }
[hidden] { display: none !important; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: "Inter", ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 16px;
  line-height: 1.6;
  color: var(--ink);
  background: var(--bg);
}
img { max-width: 100%; }
a { color: var(--green); text-underline-offset: 2px; }
a:hover { color: var(--green-ink); }
:focus-visible { outline: 3px solid var(--green); outline-offset: 2px; border-radius: 4px; }

.wrap { max-width: 960px; margin: 0 auto; padding: 0 20px; }
.narrow { max-width: 720px; }
.skip { position: absolute; left: -10000px; }
.skip:focus { left: 16px; top: 12px; background: #fff; padding: 8px 12px; z-index: 10; }

/* Header */
.site-header { border-bottom: 1px solid var(--line); background: #fff; }
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 76px; }
.brand img { display: block; height: 52px; width: auto; }
.site-nav { display: flex; gap: 2px; }
.site-nav a { padding: 8px 12px; border-radius: 6px; color: var(--ink); text-decoration: none; font-weight: 500; font-size: 15px; }
.site-nav a:hover { background: var(--soft); color: var(--ink); }
.site-nav a[aria-current="page"] { color: var(--green); background: var(--soft); }
@media (max-width: 480px) {
  .brand img { height: 42px; }
  .site-nav a { padding: 8px 8px; font-size: 14px; }
}

/* Type */
h1 { font-size: clamp(30px, 5vw, 44px); line-height: 1.15; letter-spacing: -0.02em; margin: 0.3em 0 0.4em; font-weight: 700; }
.page-head h1 { font-size: clamp(28px, 4vw, 36px); }
h2 { font-size: 22px; line-height: 1.3; letter-spacing: -0.01em; margin: 2em 0 0.6em; font-weight: 600; }
h3 { font-size: 17px; line-height: 1.4; margin: 1.6em 0 0.3em; font-weight: 600; }
.eyebrow { font-size: 13px; font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase; color: var(--green); margin: 0; }
.lead { font-size: 18px; color: var(--muted); max-width: 640px; }
.note { color: var(--muted); font-size: 15px; }
.small { font-size: 13px; color: var(--muted); }

/* Hero & sections */
.hero h1 { max-width: 560px; text-wrap: balance; }
.hero { background: linear-gradient(180deg, var(--soft), #fff); border-bottom: 1px solid var(--line); padding: 72px 0 64px; }
.page-head { padding: 48px 0 0; }
.section { padding: 48px 0 0; }
.section > h2:first-child { margin-top: 0; }

/* Buttons */
.actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 44px; padding: 10px 18px; border-radius: 8px;
  font: inherit; font-size: 15px; font-weight: 600; text-decoration: none;
  cursor: pointer; border: 1px solid transparent;
}
.btn-primary { background: var(--green); color: #fff; }
.btn-primary:hover { background: var(--green-ink); color: #fff; }
.btn-secondary { background: #fff; color: var(--ink); border-color: var(--field); }
.btn-secondary:hover { border-color: #b7bfb2; color: var(--ink); }
.btn[disabled] { opacity: 0.6; cursor: progress; }

/* Steps */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; list-style: none; padding: 0; margin: 24px 0 0; counter-reset: step; }
.steps li { border: 1px solid var(--line); border-radius: 12px; padding: 20px; background: #fff; counter-increment: step; }
.steps li::before {
  content: counter(step);
  display: inline-grid; place-items: center; width: 28px; height: 28px; border-radius: 50%;
  background: var(--soft); color: var(--green); font-weight: 700; font-size: 14px; margin-bottom: 10px;
}
.steps h3 { margin: 0 0 4px; font-size: 16px; }
.steps p { margin: 0; color: var(--muted); font-size: 15px; }
@media (max-width: 720px) { .steps { grid-template-columns: 1fr; } }

/* Callouts & lists */
.callout { border-left: 4px solid var(--lime); background: var(--soft); padding: 14px 18px; border-radius: 0 8px 8px 0; margin: 24px 0; }
.callout p { margin: 0; }
.callout p + p { margin-top: 8px; }
.list { padding-left: 1.25em; }
.list li { margin: 6px 0; }
.list li::marker { color: var(--green); font-weight: 600; }

/* FAQ */
.faq-group { border-top: 1px solid var(--line); margin-top: 40px; padding-top: 8px; }
.faq-group h2 { margin-top: 16px; }
.faq-group h3 { scroll-margin-top: 16px; }
.faq-group p { margin: 0 0 8px; }
[id] { scroll-margin-top: 16px; }

/* Contact chooser */
.choices { display: grid; gap: 12px; margin-top: 24px; }
details.choice { border: 1px solid var(--line); border-radius: 12px; background: #fff; }
details.choice[open] { border-color: var(--green); }
details.choice summary {
  cursor: pointer; list-style: none; padding: 18px 20px; font-weight: 600;
  display: flex; justify-content: space-between; align-items: center; gap: 12px;
}
details.choice summary::-webkit-details-marker { display: none; }
details.choice summary::after { content: "+"; font-weight: 400; font-size: 22px; color: var(--muted); line-height: 1; }
details.choice[open] summary::after { content: "\2212"; }
.choice-body { padding: 0 20px 20px; }
.choice-body > :first-child { margin-top: 0; }
.choice-body > :last-child { margin-bottom: 0; }

/* Mailing address reveal */
.address-box { border: 1px solid var(--line); border-radius: 12px; padding: 18px 20px; background: var(--soft); margin: 16px 0; }
.address-box address { font-style: normal; font-weight: 500; line-height: 1.5; margin: 0; }
.address-box .hint { margin-top: 10px; }
.ts-slot:not(:empty) { margin-top: 12px; }
.turnstile { min-height: 65px; margin: 4px 0 16px; }
.placeholder { background: #fff3c4; padding: 0 4px; border-radius: 4px; font-weight: 400; }

/* Forms */
form fieldset { border: 1px solid var(--line); border-radius: 12px; padding: 20px 20px 4px; margin: 0 0 16px; min-width: 0; }
legend { font-weight: 600; padding: 0 6px; }
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 0 16px; }
@media (max-width: 640px) { .grid-2 { grid-template-columns: 1fr; } }
.field { display: flex; flex-direction: column; gap: 6px; margin-bottom: 16px; }
.field > label, .group-label { font-size: 14px; font-weight: 500; }
.req { color: #a33; }
input[type="text"], input[type="email"], input[type="tel"], input[type="number"], select, textarea {
  font: inherit; font-size: 16px; padding: 10px 12px;
  border: 1px solid var(--field); border-radius: 8px; background: #fff; color: var(--ink); width: 100%;
}
input[type="number"] { font-variant-numeric: tabular-nums; }
textarea { min-height: 96px; resize: vertical; }
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--green); box-shadow: 0 0 0 3px rgba(44, 110, 79, 0.18); }
.checks { display: flex; flex-wrap: wrap; gap: 8px 24px; }
.check { display: flex; gap: 10px; align-items: flex-start; font-size: 15px; font-weight: 400; }
.check input { margin: 3px 0 0; width: 18px; height: 18px; accent-color: var(--green); flex: none; }
.hint { font-size: 13px; color: var(--muted); margin: 0; }
.hp { position: absolute !important; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.form-status { margin-top: 12px; padding: 12px 14px; border-radius: 8px; display: none; }
.form-status.ok { display: block; background: var(--ok-bg); border: 1px solid var(--ok-line); }
.form-status.err { display: block; background: var(--err-bg); border: 1px solid var(--err-line); }

/* Footer */
.site-footer { border-top: 1px solid var(--line); background: var(--soft); padding: 28px 0; margin-top: 72px; font-size: 14px; color: var(--muted); }
.footer-inner { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; }
.footer-links { display: flex; gap: 16px; }
.site-footer a { color: var(--muted); }
.site-footer a:hover { color: var(--ink); }
