/* myGC storefront — mobile-first, system fonts only. */

:root {
  --bg: #f7f5f0;
  --bg-alt: #efece4;
  --surface: #ffffff;
  --ink: #1c231f;
  --muted: #535d57;
  --line: #d9d4c7;
  --primary: #1f3d2f;
  --primary-hover: #163024;
  --accent: #a64f22;
  --accent-hover: #8c421c;
  --focus: #c76a2b;
  --error: #a1261b;
  --error-bg: #fbeceb;
  --ok: #1f5134;

  --chip-obs-bg: #e1eee4;  --chip-obs-fg: #1f5134;
  --chip-exp-bg: #f6e8d2;  --chip-exp-fg: #74440f;
  --chip-mod-bg: #e3e8f0;  --chip-mod-fg: #33435c;

  --serif: "Iowan Old Style", "Charter", "Bitstream Charter", "Sitka Text", Cambria, Georgia, serif;
  --sans: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;

  --radius: 6px;
  --gutter: 16px;
  --maxw: 1080px;
}

*, *::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;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.6;
}

h1, h2, h3 {
  font-family: var(--serif);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.01em;
  margin: 0 0 0.5em;
  text-wrap: balance;
}
h1 { font-size: clamp(2.2rem, 8vw, 3.6rem); }
h2 { font-size: clamp(1.7rem, 5vw, 2.3rem); margin-bottom: 0.8em; }
h3 { font-size: 1.2rem; }
p { margin: 0 0 1em; }
a { color: var(--primary); }

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

.wrap { max-width: var(--maxw); margin: 0 auto; padding: 0 var(--gutter); }
.narrow { max-width: 720px; }

.skip-link {
  position: absolute; left: -9999px; top: 0;
  background: var(--primary); color: #fff; padding: 8px 12px; z-index: 100;
}
.skip-link:focus { left: 8px; top: 8px; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(247, 245, 240, 0.94);
  backdrop-filter: saturate(140%) blur(6px);
  -webkit-backdrop-filter: saturate(140%) blur(6px);
  border-bottom: 1px solid var(--line);
}
.header-inner {
  display: flex; align-items: center; justify-content: space-between;
  gap: 12px; min-height: 60px;
}
.wordmark {
  font-family: var(--serif); font-weight: 700; font-size: 1.5rem;
  color: var(--primary); text-decoration: none; letter-spacing: -0.02em;
}
.wordmark span { color: var(--accent); }
.wordmark-light { color: #fff; }
.wordmark-light span { color: #e7b48f; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  gap: 8px; min-height: 48px; padding: 12px 22px;
  border: 2px solid transparent; border-radius: var(--radius);
  font: 600 1rem/1.2 var(--sans); text-align: center; text-decoration: none;
  cursor: pointer; transition: background-color .15s, border-color .15s;
}
.btn-primary { background: var(--primary); color: #fff; }
.btn-primary:hover { background: var(--primary-hover); }
.btn-accent { background: var(--accent); color: #fff; }
.btn-accent:hover { background: var(--accent-hover); }
.btn-sm { min-height: 40px; padding: 8px 12px; font-size: 0.85rem; }
.btn-lg { min-height: 54px; font-size: 1.05rem; padding: 14px 26px; }
.btn-block { display: flex; width: 100%; }
.btn[disabled] { opacity: .65; cursor: progress; }

/* ---------- Hero ---------- */
.hero { padding: 48px 0 56px; border-bottom: 1px solid var(--line); }
.eyebrow {
  font-size: .8rem; font-weight: 600; letter-spacing: .08em; text-transform: uppercase;
  color: var(--accent); margin-bottom: 14px;
}
.lede { font-size: 1.15rem; color: var(--ink); max-width: 40em; }
.hero-cta { margin-top: 28px; max-width: 32rem; }
.trust-line {
  margin-top: 14px; font-size: .92rem; color: var(--muted);
  padding-left: 12px; border-left: 3px solid var(--accent);
}

/* ---------- Sections ---------- */
.section { padding: 56px 0; }
.section-alt { background: var(--bg-alt); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.section-sub { color: var(--muted); margin-top: -0.4em; }
.email-alt {
  font-size: .95rem; padding: 12px 14px; margin-bottom: 24px;
  background: var(--bg); border: 1px solid var(--line); border-radius: var(--radius);
}
.email-alt a { font-weight: 600; word-break: break-word; }

/* Steps */
.steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 28px; }
.steps li { position: relative; padding-left: 56px; }
.steps h3 { margin-bottom: .3em; }
.steps p { color: var(--muted); margin: 0; }
.step-num {
  position: absolute; left: 0; top: -2px;
  width: 40px; height: 40px; border-radius: 50%;
  display: grid; place-items: center;
  border: 2px solid var(--primary); color: var(--primary);
  font: 700 1.1rem var(--serif);
}

/* What you get */
.two-col { display: grid; gap: 36px; }
.checklist { list-style: none; margin: 0; padding: 0; }
.checklist li {
  position: relative; padding: 12px 0 12px 34px; border-bottom: 1px solid var(--line);
}
.checklist li:last-child { border-bottom: 0; }
.checklist li::before {
  content: ""; position: absolute; left: 4px; top: 19px;
  width: 14px; height: 8px; border-left: 2.5px solid var(--accent); border-bottom: 2.5px solid var(--accent);
  transform: rotate(-45deg);
}

.hero-free { margin-top: 12px; font-size: .95rem; font-weight: 600; color: var(--primary); }
.free-box {
  margin-top: 28px; padding: 20px; border-radius: var(--radius);
  background: var(--surface); border: 1.5px solid var(--primary);
}
.free-box h3 { margin-bottom: .4em; }
.free-box ul { margin: 0 0 12px; padding-left: 20px; }
.free-box li { margin-bottom: 4px; }
.free-box p { margin-bottom: 10px; }
.free-box-line { font-weight: 600; margin-bottom: 0 !important; }

/* Sample report slot */
.sample-slot { margin: 0; }
.sample-paper {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 20px; box-shadow: 0 1px 0 var(--line), 0 12px 24px -16px rgba(28, 35, 31, .25);
}
.sample-head {
  display: flex; justify-content: space-between; align-items: baseline; gap: 8px;
  padding-bottom: 12px; margin-bottom: 8px; border-bottom: 2px solid var(--primary);
}
.sample-title { font: 700 .95rem var(--serif); color: var(--primary); }
.sample-redacted {
  font-size: .65rem; font-weight: 700; letter-spacing: .1em;
  background: var(--ink); color: var(--bg); padding: 2px 6px; border-radius: 2px;
}
.sample-row {
  display: flex; justify-content: space-between; align-items: center; gap: 12px;
  padding: 10px 0; border-bottom: 1px dashed var(--line);
}
.sample-row:last-child { border-bottom: 0; }
.sk { display: block; height: 10px; border-radius: 3px; background: #e6e2d8; }
.sk-35 { width: 35%; } .sk-45 { width: 45%; } .sk-50 { width: 50%; } .sk-60 { width: 60%; } .sk-70 { width: 70%; }
.sample-slot figcaption { margin-top: 10px; font-size: .85rem; color: var(--muted); text-align: center; }

/* Source chips */
.chip {
  display: inline-block; white-space: nowrap;
  font-size: .74rem; font-weight: 600; line-height: 1;
  padding: 5px 8px; border-radius: 999px;
}
.chip-observed { background: var(--chip-obs-bg); color: var(--chip-obs-fg); }
.chip-expert   { background: var(--chip-exp-bg); color: var(--chip-exp-fg); }
.chip-modeled  { background: var(--chip-mod-bg); color: var(--chip-mod-fg); }

/* Trust */
.trust-grid { display: grid; gap: 16px; }
.card {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 22px;
}
.card p:last-child { margin-bottom: 0; }
.labels { margin: 0; display: grid; gap: 10px; }
.labels div { display: grid; grid-template-columns: 130px 1fr; gap: 10px; align-items: start; }
.labels dt { margin: 0; }
.labels dd { margin: 0; font-size: .95rem; color: var(--muted); }

/* Pricing */
.price-grid { display: grid; gap: 16px; }
.price-card {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 26px; display: flex; flex-direction: column;
}
.price-card p { color: var(--muted); }
.price-card .btn { margin-top: auto; }
.price-card-featured { border: 2px solid var(--accent); }
.price { margin: 0 0 12px; }
.amount { font: 700 2.6rem/1 var(--serif); color: var(--ink); }
.price-note { margin-top: 20px; color: var(--muted); text-align: center; font-size: .95rem; }

/* FAQ */
.faq details { border-bottom: 1px solid var(--line); }
.faq details:first-child { border-top: 1px solid var(--line); }
.faq summary {
  list-style: none; cursor: pointer; padding: 18px 36px 18px 0; position: relative;
  font: 700 1.08rem/1.35 var(--serif);
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+"; position: absolute; right: 4px; top: 50%; transform: translateY(-50%);
  font: 400 1.6rem var(--sans); color: var(--accent);
}
.faq details[open] summary::after { content: "–"; }
.faq details p { color: var(--muted); padding-bottom: 6px; }

/* ---------- Form ---------- */
.section-intake { background: var(--surface); border-top: 1px solid var(--line); }
.form { display: grid; gap: 22px; }
.field { display: grid; gap: 6px; margin: 0; min-width: 0; }
.field-row { display: grid; gap: 22px; }
label, .label, legend { font-weight: 600; font-size: .98rem; }
.req, .opt {
  font-weight: 500; font-size: .75rem; margin-left: 6px; color: var(--muted);
  text-transform: uppercase; letter-spacing: .05em;
}
.req { color: var(--accent); }
.hint { margin: 0; font-size: .88rem; color: var(--muted); }

input[type="text"], input[type="email"], input[type="tel"], select, textarea {
  width: 100%; min-height: 50px; padding: 12px 14px;
  font: 16px/1.4 var(--sans); /* 16px stops iOS zoom-on-focus */
  color: var(--ink); background: var(--bg);
  border: 1.5px solid #b9b3a4; border-radius: var(--radius);
  appearance: none; -webkit-appearance: none;
}
select {
  background-image: linear-gradient(45deg, transparent 50%, var(--muted) 50%), linear-gradient(135deg, var(--muted) 50%, transparent 50%);
  background-position: calc(100% - 20px) 50%, calc(100% - 14px) 50%;
  background-size: 6px 6px; background-repeat: no-repeat; padding-right: 40px;
}
textarea { resize: vertical; min-height: 110px; }
input:focus, select:focus, textarea:focus { border-color: var(--primary); background: #fff; }
.was-validated :invalid { border-color: var(--error); }

/* Dropzone */
.dropzone { position: relative; }
.dropzone input[type="file"] {
  position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; cursor: pointer;
}
.dropzone-label {
  display: grid; gap: 4px; place-items: center; text-align: center;
  padding: 26px 16px; border: 2px dashed #b9b3a4; border-radius: var(--radius);
  background: var(--bg); font-weight: 400; cursor: pointer;
}
.dropzone-cta { font-weight: 700; color: var(--primary); font-size: 1.05rem; }
.dropzone-sub { font-size: .85rem; color: var(--muted); }
.dropzone.is-drag .dropzone-label,
.dropzone:hover .dropzone-label { border-color: var(--primary); background: #fff; }
.dropzone:focus-within .dropzone-label { outline: 3px solid var(--focus); outline-offset: 2px; }
.dropzone.is-invalid .dropzone-label { border-color: var(--error); }

.file-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.file-list:empty { display: none; }
.file-list li {
  display: flex; align-items: center; gap: 10px; justify-content: space-between;
  padding: 8px 8px 8px 12px; background: var(--bg); border: 1px solid var(--line); border-radius: var(--radius);
  font-size: .92rem;
}
.file-name { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; min-width: 0; flex: 1; }
.file-size { color: var(--muted); font-size: .82rem; white-space: nowrap; }
.file-remove {
  border: 0; background: transparent; color: var(--muted); cursor: pointer;
  width: 36px; height: 36px; border-radius: var(--radius); font-size: 1.3rem; line-height: 1;
}
.file-remove:hover { background: var(--bg-alt); color: var(--error); }
.file-total { font-size: .85rem; color: var(--muted); justify-content: flex-end !important; background: none !important; border: 0 !important; padding: 0 4px !important; }

/* Optional details */
.more-details { border: 1.5px solid var(--line); border-radius: var(--radius); background: var(--bg); }
.more-details > summary {
  list-style: none; cursor: pointer; position: relative;
  padding: 14px 44px 14px 14px; font-weight: 600; min-height: 50px;
}
.more-details > summary::-webkit-details-marker { display: none; }
.more-details > summary::after {
  content: "+"; position: absolute; right: 16px; top: 50%; transform: translateY(-50%);
  font: 400 1.5rem var(--sans); color: var(--accent);
}
.more-details[open] > summary::after { content: "–"; }
.more-details > .hint { padding: 0 14px; }
.more-details-body { display: grid; gap: 18px; padding: 14px; }
.more-details input, .more-details select { background-color: #fff; }

/* Tier + checkbox */
.tier-field { border: 0; padding: 0; gap: 10px; }
.tier-field legend { margin-bottom: 6px; padding: 0; }
.tier-option, .check {
  display: flex; gap: 12px; align-items: flex-start; font-weight: 400; cursor: pointer;
}
.tier-option {
  padding: 14px; border: 1.5px solid #b9b3a4; border-radius: var(--radius); background: var(--bg);
}
.tier-option:has(input:checked) { border-color: var(--primary); background: #fff; box-shadow: inset 0 0 0 1px var(--primary); }
.tier-option small { color: var(--muted); font-size: .88rem; }
.tier-option input, .check input {
  width: 22px; height: 22px; margin: 2px 0 0; flex: none; accent-color: var(--primary);
}
.check span { font-size: .93rem; color: var(--muted); }

.error {
  margin: 0; color: var(--error); font-size: .92rem; font-weight: 600;
}
.form-error {
  background: var(--error-bg); border: 1px solid #e6b8b3; border-radius: var(--radius);
  padding: 12px 14px; font-weight: 500;
}
.form-error a { color: var(--error); font-weight: 700; }
.fine { font-size: .85rem; color: var(--muted); text-align: center; margin: 0; }
.hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }

.spinner {
  width: 18px; height: 18px; border-radius: 50%;
  border: 2.5px solid rgba(255,255,255,.4); border-top-color: #fff;
  animation: spin .8s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }

/* Thank-you */
.thanks {
  text-align: center; padding: 32px 22px; border: 1.5px solid var(--primary);
  border-radius: var(--radius); background: var(--bg); display: grid; gap: 14px;
}
.thanks:focus { outline: none; }
.thanks h3 { font-size: 1.8rem; margin: 0; }
.thanks p { margin: 0; }
.thanks-main { font-size: 1.1rem; }
.thanks-icon {
  width: 56px; height: 56px; margin: 0 auto; border-radius: 50%;
  display: grid; place-items: center; background: var(--primary); color: #fff; font-size: 1.6rem;
}
.thanks-files {
  text-align: left; background: #fff7ec; border: 1px solid #e9c99f; border-radius: var(--radius);
  padding: 12px 14px; font-size: .95rem;
}

/* ---------- Checklist page ---------- */
.hero-compact { padding: 40px 0 36px; }
.placeholder-banner {
  background: #fff7ec; border: 1px dashed #d79a55; border-radius: var(--radius);
  padding: 10px 14px; font-size: .92rem;
}
.checklist-nav { display: flex; flex-wrap: wrap; gap: 8px; margin: 8px 0 32px; }
.checklist-nav a {
  padding: 8px 14px; border: 1.5px solid var(--line); border-radius: 999px;
  text-decoration: none; font-weight: 600; font-size: .92rem; background: var(--surface);
}
.checklist-nav a:hover { border-color: var(--primary); }
.checklist-group { margin-bottom: 40px; scroll-margin-top: 80px; }
.checklist-group h2 { font-size: 1.5rem; margin-bottom: .4em; }
.checklist li.placeholder { color: var(--muted); font-style: italic; }
.checklist-cta h2 { font-size: 1.4rem; }
.thanks-extra { font-size: .95rem; }

/* ---------- Footer ---------- */
.site-footer {
  background: var(--primary); color: #dfe6e1; padding: 40px 0 32px; font-size: .92rem;
}
.site-footer a { color: #fff; }
.footer-brand { font-size: 1rem; }
.footer-brand .wordmark { font-size: 1.3rem; }
.disclaimer { max-width: 46em; color: #c3cec7; font-size: .85rem; }
.copyright { color: #a9b8af; font-size: .8rem; margin: 0; }

/* ---------- Larger screens ---------- */
@media (min-width: 720px) {
  :root { --gutter: 28px; }
  .btn-sm { font-size: .92rem; padding: 8px 16px; }
  .hero { padding: 88px 0 96px; }
  .section { padding: 88px 0; }
  .steps { grid-template-columns: repeat(3, 1fr); gap: 32px; }
  .steps li { padding-left: 0; padding-top: 56px; }
  .field-row { grid-template-columns: 1fr 1fr; gap: 18px; }
  .price-grid { grid-template-columns: 1fr 1fr; max-width: 820px; margin: 0 auto; gap: 24px; }
  .trust-grid { grid-template-columns: 1fr 1fr; }
  .trust-grid .card:first-child { grid-row: span 2; }
}
@media (min-width: 960px) {
  .two-col { grid-template-columns: 1.1fr 1fr; gap: 64px; align-items: center; }
  .trust-grid { grid-template-columns: 1.4fr 1fr; }
}
@media (max-width: 380px) {
  .labels div { grid-template-columns: 1fr; gap: 4px; }
  .btn-sm { font-size: .78rem; padding: 8px 10px; }
}
