/* Fieldmark Studios — site styles. No external fonts, no trackers. */
:root {
  --ink: #12201b;
  --ink-soft: #3b4a44;
  --muted: #63716b;
  --paper: #f7f5ef;
  --card: #ffffff;
  --line: #e2ddd0;
  --brand: #1f5b45;        /* field green */
  --brand-deep: #143d2f;
  --accent: #d9822b;       /* marker orange */
  --accent-soft: #fbeedd;
  --accent-text: #a3570f;  /* AA-contrast orange for text */
  --focus: #2b6cb0;
  --radius: 14px;
  --shadow: 0 1px 2px rgba(18,32,27,.06), 0 8px 24px rgba(18,32,27,.06);
  --max: 1120px;
  --font: ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --serif: ui-serif, Georgia, "Times New Roman", serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  margin: 0; font-family: var(--font); color: var(--ink); background: var(--paper);
  font-size: 17px; line-height: 1.6;
}
img, svg { max-width: 100%; display: block; }
a { color: var(--brand); text-underline-offset: 3px; }
a:hover { color: var(--brand-deep); }
:focus-visible { outline: 3px solid var(--focus); outline-offset: 2px; border-radius: 4px; }

.skip-link { position: absolute; left: -9999px; top: 8px; background: var(--ink); color: #fff; padding: 8px 14px; border-radius: 8px; z-index: 100; }
.skip-link:focus { left: 16px; }

.wrap { max-width: var(--max); margin: 0 auto; padding: 0 20px; }
.section { padding: 80px 0; }
.section--tight { padding: 56px 0; }
.section--alt { background: #fff; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.section--dark { background: var(--brand-deep); color: #e9f1ec; }
.section--dark h2, .section--dark h3 { color: #fff; }
.section--dark a { color: #ffd7ab; }

h1, h2, h3 { line-height: 1.15; letter-spacing: -0.015em; margin: 0 0 .5em; }
h1 { font-family: var(--serif); font-weight: 600; font-size: clamp(2.2rem, 5.2vw, 3.6rem); }
h2 { font-family: var(--serif); font-weight: 600; font-size: clamp(1.7rem, 3.4vw, 2.5rem); }
h3 { font-size: 1.15rem; }
p { margin: 0 0 1em; }
.lead { font-size: 1.2rem; color: var(--ink-soft); max-width: 40em; }
.eyebrow { display: inline-block; font-size: .8rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--accent-text); margin-bottom: 12px; }
.section--dark .eyebrow { color: #ffd7ab; }
.section--dark :focus-visible, .cta-band :focus-visible, .site-footer :focus-visible { outline-color: #ffd7ab; }
.muted { color: var(--muted); }
.small { font-size: .9rem; }
.center { text-align: center; }
.center .lead { margin-left: auto; margin-right: auto; }

/* Header */
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(247,245,239,.92); backdrop-filter: saturate(1.4) blur(8px); border-bottom: 1px solid var(--line); }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 68px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--ink); font-weight: 800; font-size: 1.1rem; letter-spacing: -.01em; }
.brand svg { width: 30px; height: 30px; }
.nav { display: flex; align-items: center; gap: 22px; }
.nav a { text-decoration: none; color: var(--ink-soft); font-weight: 600; font-size: .95rem; }
.nav a:hover, .nav a[aria-current="page"] { color: var(--brand); }
.nav-toggle { display: none; background: none; border: 1px solid var(--line); border-radius: 10px; padding: 8px 10px; font: inherit; color: var(--ink); cursor: pointer; }
@media (max-width: 860px) {
  .nav-toggle { display: inline-flex; }
  .nav { display: none; position: absolute; left: 0; right: 0; top: 68px; background: var(--paper); border-bottom: 1px solid var(--line); flex-direction: column; align-items: stretch; padding: 12px 20px 20px; gap: 4px; }
  .nav.is-open { display: flex; }
  .nav a { padding: 10px 0; font-size: 1.05rem; }
  .nav .btn { margin-top: 8px; text-align: center; }
}

/* Buttons */
.btn { display: inline-block; text-decoration: none; font-weight: 700; border-radius: 999px; padding: 13px 24px; border: 2px solid transparent; cursor: pointer; font: inherit; font-weight: 700; line-height: 1.2; transition: transform .15s ease, background .15s ease; }
.btn:active { transform: translateY(1px); }
.btn--primary { background: var(--accent); color: #1c1208; }
.btn--primary:hover { background: #c77320; color: #1c1208; }
.btn--ghost { border-color: var(--brand); color: var(--brand); background: transparent; }
.btn--ghost:hover { background: var(--brand); color: #fff; }
.btn--small { padding: 9px 18px; font-size: .92rem; }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 24px; }

/* Hero */
.hero { padding: 72px 0 64px; }
.hero-grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: 48px; align-items: center; }
@media (max-width: 920px) { .hero-grid { grid-template-columns: 1fr; } }
.hero-card { background: var(--card); border: 1px solid var(--line); border-radius: 20px; padding: 26px; box-shadow: var(--shadow); }
.hero-card h3 { margin-bottom: 14px; }
.checklist { list-style: none; padding: 0; margin: 0; }
.checklist li { position: relative; padding: 9px 0 9px 32px; border-bottom: 1px dashed var(--line); color: var(--ink-soft); }
.checklist li:last-child { border-bottom: 0; }
.checklist li::before { content: ""; position: absolute; left: 0; top: 13px; width: 18px; height: 18px; border-radius: 50%; background: var(--accent-soft); border: 2px solid var(--accent); }
.checklist li strong { color: var(--ink); }
.trust-row { display: flex; flex-wrap: wrap; gap: 10px 22px; margin-top: 26px; color: var(--muted); font-size: .92rem; }
.trust-row span::before { content: "✓ "; color: var(--brand); font-weight: 800; }

/* Grids & cards */
.grid { display: grid; gap: 20px; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 980px) { .grid-4 { grid-template-columns: repeat(2, 1fr); } .grid-3 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; } }
.card { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; }
.card p:last-child { margin-bottom: 0; }
.card .icon { width: 42px; height: 42px; border-radius: 12px; background: var(--accent-soft); color: var(--accent); display: grid; place-items: center; margin-bottom: 14px; }
.card .icon svg { width: 22px; height: 22px; }
.section-head { max-width: 720px; margin-bottom: 40px; }
.center.section-head { margin-left: auto; margin-right: auto; }

/* Steps */
.steps { counter-reset: step; display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
@media (max-width: 980px) { .steps { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .steps { grid-template-columns: 1fr; } }
.step { position: relative; padding: 24px; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); }
.step::before { counter-increment: step; content: counter(step, decimal-leading-zero); font-family: var(--serif); font-size: 1.8rem; color: var(--accent-text); display: block; margin-bottom: 8px; }
.step .when { font-size: .8rem; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); font-weight: 700; }

/* Clinic types */
.clinic { border-left: 4px solid var(--brand); }
.clinic h3 { margin-bottom: 6px; }

/* Pricing */
.price-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; align-items: stretch; }
@media (max-width: 1040px) { .price-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .price-grid { grid-template-columns: 1fr; } }
.price { background: var(--card); border: 1px solid var(--line); border-radius: 18px; padding: 26px; display: flex; flex-direction: column; }
.price h3 { font-size: 1.2rem; margin-bottom: 4px; }
.price .amount { font-family: var(--serif); font-size: 2.4rem; font-weight: 600; line-height: 1; margin: 14px 0 4px; }
.price .amount small { font-family: var(--font); font-size: .95rem; font-weight: 600; color: var(--muted); }
.price ul { padding-left: 1.1em; margin: 16px 0 20px; color: var(--ink-soft); }
.price ul li { margin-bottom: 6px; }
.price .btn { margin-top: auto; text-align: center; }
.price--featured { border: 2px solid var(--accent); box-shadow: var(--shadow); position: relative; }
.badge { display: inline-block; background: var(--accent); color: #1c1208; font-size: .75rem; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; padding: 5px 10px; border-radius: 999px; }
.starter { display: grid; grid-template-columns: 1.1fr .9fr; gap: 32px; background: var(--card); border: 2px solid var(--accent); border-radius: 22px; padding: 36px; box-shadow: var(--shadow); }
@media (max-width: 880px) { .starter { grid-template-columns: 1fr; padding: 26px; } }
.starter .amount { font-family: var(--serif); font-size: 3.2rem; font-weight: 600; line-height: 1; margin: 10px 0; }
.starter .amount small { font-family: var(--font); font-size: 1rem; color: var(--muted); font-weight: 600; }
.note { background: var(--accent-soft); border-radius: 12px; padding: 14px 16px; font-size: .95rem; color: var(--ink-soft); }

/* FAQ */
.faq details { background: var(--card); border: 1px solid var(--line); border-radius: 12px; padding: 0 20px; margin-bottom: 12px; }
.faq summary { cursor: pointer; font-weight: 700; padding: 18px 0; list-style: none; display: flex; justify-content: space-between; gap: 16px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-size: 1.4rem; line-height: 1; color: var(--accent-text); }
.faq details[open] summary::after { content: "–"; }
.faq details p { color: var(--ink-soft); padding-bottom: 6px; }

/* Forms */
.form { display: grid; gap: 16px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
@media (max-width: 640px) { .form-row { grid-template-columns: 1fr; } }
label { font-weight: 600; font-size: .95rem; display: block; margin-bottom: 6px; }
input, select, textarea { width: 100%; font: inherit; color: var(--ink); background: #fff; border: 1.5px solid #857c6b; border-radius: 10px; padding: 12px 14px; }
input:focus, select:focus, textarea:focus { border-color: var(--brand); box-shadow: 0 0 0 3px rgba(31,91,69,.18); }
textarea { min-height: 110px; resize: vertical; }
.hint { font-size: .85rem; color: var(--muted); margin-top: 4px; }
.form-status { display: none; }
.form-status.is-visible { display: block; }

/* Prose (legal pages) */
.prose { max-width: 760px; }
.prose h2 { font-size: 1.5rem; margin-top: 2em; }
.prose h3 { margin-top: 1.5em; }
.prose ul { padding-left: 1.2em; }
.prose li { margin-bottom: 6px; }

/* CTA band */
.cta-band { background: var(--brand); color: #fff; border-radius: 24px; padding: 48px; display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
.cta-band h2 { color: #fff; margin: 0 0 6px; }
.cta-band p { margin: 0; color: #d6e7de; }
@media (max-width: 640px) { .cta-band { padding: 30px 24px; } }

/* Footer */
.site-footer { background: var(--ink); color: #b9c6c0; padding: 56px 0 32px; font-size: .95rem; }
.site-footer a { color: #e7efe9; text-decoration: none; }
.site-footer a:hover { text-decoration: underline; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 32px; }
@media (max-width: 760px) { .footer-grid { grid-template-columns: 1fr; } }
.footer-grid h4 { color: #fff; font-size: .85rem; letter-spacing: .1em; text-transform: uppercase; margin: 0 0 12px; }
.footer-grid ul { list-style: none; padding: 0; margin: 0; }
.footer-grid li { margin-bottom: 8px; }
.footer-brand { color: #fff; font-weight: 800; font-size: 1.1rem; display: flex; gap: 10px; align-items: center; margin-bottom: 10px; }
.footer-brand svg { width: 28px; height: 28px; }
.footer-legal { border-top: 1px solid #2c3a35; margin-top: 40px; padding-top: 20px; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; font-size: .85rem; color: #8fa199; }
