/* GeorgiaCannabisCard.com - single hand-written stylesheet. No framework, no JS. */

:root {
  --pine-950: #10291c;
  --pine-800: #173f2c;
  --pine-600: #236946;
  --pine-100: #e3efe7;
  --clay-600: #b85c35;
  --clay-500: #c96f4a;
  --clay-100: #f7e8df;
  --cream: #faf6f0;
  --paper: #ffffff;
  --ink: #1c2420;
  --body: #35423b;
  --muted: #68756e;
  --line: #e2ddd4;
  --radius: 14px;
  --maxw: 980px;
  --serif: Georgia, "Times New Roman", "Iowan Old Style", serif;
  --sans: system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--sans);
  font-size: 17.5px;
  line-height: 1.7;
  color: var(--body);
  background: var(--paper);
}

h1, h2, h3, h4 { font-family: var(--serif); color: var(--ink); line-height: 1.18; font-weight: 700; }
h1 { font-size: clamp(2rem, 5vw, 3rem); margin: .3em 0 .4em; letter-spacing: -.015em; }
h2 { font-size: clamp(1.45rem, 3.2vw, 2rem); margin: 0 0 .55em; }
h3 { font-size: 1.18rem; margin: 1.4em 0 .4em; }
p { margin: 0 0 1em; }
ul, ol { margin: 0 0 1.1em; padding-left: 1.3em; }

a { color: var(--pine-600); text-decoration: underline; text-underline-offset: 2px; }
a:hover { color: var(--pine-950); }

img, svg { max-width: 100%; height: auto; }

.container { max-width: var(--maxw); margin: 0 auto; padding: 0 22px; }

.skip { position: absolute; left: -9999px; top: 0; background: var(--pine-950); color: #fff; padding: 10px 16px; z-index: 200; }
.skip:focus { left: 10px; top: 10px; }

/* ---------- Header ---------- */
.topbar { background: var(--pine-950); color: #f3efe7; font-size: .86rem; text-align: center; padding: 7px 14px; }
.topbar b { color: #ffd9c4; }

.site-header { background: var(--paper); border-bottom: 1px solid var(--line); position: sticky; top: 0; z-index: 90; }
.site-header .container { display: flex; align-items: center; justify-content: space-between; gap: 14px; min-height: 62px; }
.wordmark { display: inline-flex; align-items: center; font-family: var(--serif); font-weight: 700; font-size: 1.22rem; color: var(--pine-950); text-decoration: none; letter-spacing: -.01em; }
.wordmark img { flex: none; width: 27px; height: 38px; margin-right: 9px; }
.wordmark span { color: var(--clay-600); }
.nav { display: flex; gap: 18px; flex-wrap: wrap; }
.nav a { font-size: .95rem; font-weight: 600; color: var(--body); text-decoration: none; }
.nav a:hover { color: var(--pine-600); }

.btn {
  display: inline-block; background: var(--clay-600); color: #fff; font-weight: 700;
  font-family: var(--sans); text-decoration: none; border-radius: 999px;
  padding: 11px 22px; font-size: .98rem; border: 2px solid var(--clay-600);
}
.btn:hover { background: var(--clay-500); border-color: var(--clay-500); color: #fff; }
.btn-outline { background: transparent; color: var(--pine-800); border-color: var(--pine-600); }
.btn-outline:hover { background: var(--pine-100); color: var(--pine-950); }
.btn-lg { padding: 14px 30px; font-size: 1.05rem; }

/* ---------- Hero (centered, text-forward) ---------- */
.hero { background: linear-gradient(180deg, var(--cream) 0%, var(--paper) 100%); text-align: center; padding: 56px 0 40px; border-bottom: 1px solid var(--line); }
.hero .kicker { display: inline-block; font-size: .85rem; font-weight: 700; letter-spacing: .09em; text-transform: uppercase; color: var(--clay-600); margin-bottom: 10px; }
.hero .lede { max-width: 54rem; margin: 0 auto 1.4em; font-size: 1.12rem; }
.hero .actions { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; margin-bottom: 8px; }
.crumbs { font-size: .85rem; color: var(--muted); margin-bottom: 14px; }
.crumbs a { color: var(--muted); }

/* Key-facts stat band */
.facts {
  display: flex; flex-wrap: wrap; justify-content: center; gap: 0;
  max-width: 56rem; margin: 26px auto 0; background: var(--paper);
  border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden;
}
.facts div { flex: 1 1 150px; padding: 14px 16px; border-right: 1px solid var(--line); }
.facts div:last-child { border-right: 0; }
.facts b { display: block; font-family: var(--serif); font-size: 1.3rem; color: var(--pine-800); }
.facts span { font-size: .82rem; color: var(--muted); }

/* Page illustration (1200x630, also the og:image) */
.page-figure { max-width: 46rem; margin: 30px auto 0; }
.page-figure img { display: block; width: 100%; border: 1px solid var(--line); border-radius: var(--radius); background: var(--cream); }
.page-figure figcaption { max-width: 40rem; margin: 10px auto 0; font-size: .86rem; line-height: 1.5; color: var(--muted); }

/* ---------- Sections ---------- */
main section { padding: 44px 0; }
main section.band { background: var(--cream); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
section > .container > p:first-of-type { max-width: 56rem; }

/* ---------- Timeline (process steps) ---------- */
.timeline { list-style: none; counter-reset: step; margin: 26px 0 10px; padding: 0; max-width: 620px; }
.timeline li { counter-increment: step; position: relative; padding: 0 0 26px 64px; }
.timeline li::before {
  content: counter(step); position: absolute; left: 0; top: 0;
  width: 42px; height: 42px; border-radius: 50%; background: var(--pine-800); color: #fff;
  font-family: var(--serif); font-weight: 700; font-size: 1.15rem;
  display: flex; align-items: center; justify-content: center;
}
.timeline li::after {
  content: ""; position: absolute; left: 20px; top: 46px; bottom: 2px; width: 2px;
  background: var(--pine-100);
}
.timeline li:last-child::after { display: none; }
.timeline b { display: block; font-family: var(--serif); font-size: 1.1rem; color: var(--ink); }
.timeline .step-note { color: var(--body); }

/* ---------- Tables ---------- */
table { width: 100%; border-collapse: collapse; margin: 18px 0 10px; background: var(--paper); font-size: .97rem; }
caption { caption-side: top; text-align: left; font-family: var(--serif); font-weight: 700; color: var(--ink); padding-bottom: 8px; }
th, td { text-align: left; padding: 11px 12px; border-bottom: 1px solid var(--line); vertical-align: top; }
thead th { background: var(--pine-800); color: #fff; font-family: var(--sans); font-size: .85rem; letter-spacing: .03em; text-transform: uppercase; }
td.num { font-family: var(--serif); font-weight: 700; color: var(--pine-800); white-space: nowrap; }
tr.total td { background: var(--clay-100); font-weight: 700; }
@media (max-width: 480px) {
  table { font-size: .9rem; }
  th, td { padding: 9px 6px; }
  thead th { font-size: .72rem; letter-spacing: .02em; }
  td.num { white-space: normal; }
}
@media (max-width: 340px) {
  table { font-size: .84rem; }
  th, td { padding: 8px 5px; }
  thead th { letter-spacing: 0; }
}

/* ---------- Condition list ---------- */
.conditions { columns: 2; column-gap: 34px; max-width: 56rem; }
.conditions li { break-inside: avoid; margin-bottom: 6px; }
@media (max-width: 640px) { .conditions { columns: 1; } }

/* ---------- FAQ ---------- */
.faq-q { border-left: 4px solid var(--clay-500); padding-left: 14px; margin: 1.6em 0 .35em; font-family: var(--serif); font-size: 1.12rem; }
.faq-a { padding-left: 18px; max-width: 56rem; }

/* ---------- Callouts, bylines, cards ---------- */
.byline { font-size: .85rem; color: var(--muted); margin: 0 0 1.4em; }
.note { background: var(--clay-100); border-radius: var(--radius); padding: 16px 20px; max-width: 56rem; margin: 18px 0; }
.related { margin-top: 10px; }
.related ul { list-style: none; padding: 0; display: flex; flex-wrap: wrap; gap: 10px; }
.related li a {
  display: inline-block; background: var(--pine-100); color: var(--pine-950);
  text-decoration: none; font-weight: 600; font-size: .92rem;
  padding: 8px 16px; border-radius: 999px;
}
.related li a:hover { background: var(--pine-600); color: #fff; }

/* ---------- HTML sitemap ---------- */
.site-index { list-style: none; padding: 0; max-width: 56rem; margin: 0 0 2.4em; border-top: 1px solid var(--line); }
.site-index:last-child { margin-bottom: 0; }
.site-index li { padding: 14px 0 12px; border-bottom: 1px solid var(--line); }
.site-index a { font-family: var(--serif); font-weight: 700; font-size: 1.12rem; }
.site-index p { margin: 3px 0 0; font-size: .96rem; line-height: 1.6; }

/* ---------- CTA band ---------- */
.cta-band { background: var(--pine-950); color: #eef3ee; text-align: center; padding: 52px 0; }
.cta-band h2 { color: #fff; }
.cta-band p { max-width: 46rem; margin: 0 auto 1.3em; color: #cfdcd2; }

/* ---------- Footer ---------- */
.site-footer { background: var(--cream); border-top: 1px solid var(--line); padding: 40px 0 26px; font-size: .92rem; }
.site-footer .container { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 26px; }
.site-footer h4 { font-size: 1rem; margin: 0 0 .6em; }
.site-footer a { display: block; color: var(--body); text-decoration: none; padding: 3px 0; }
.site-footer a:hover { color: var(--pine-600); text-decoration: underline; }
.legal { border-top: 1px solid var(--line); margin-top: 28px; }
.legal .container { display: block; padding-top: 18px; }
.legal p { color: var(--muted); font-size: .82rem; margin: 0 0 .5em; }

@media (max-width: 720px) {
  .site-header { position: static; }
  .site-header .container { flex-wrap: wrap; gap: 6px 14px; min-height: 0; padding-top: 10px; }
  .site-header .nav {
    order: 3; flex: 1 0 100%; flex-wrap: nowrap; gap: 18px; overflow-x: auto;
    padding: 4px 0 10px; scrollbar-width: none; -webkit-overflow-scrolling: touch;
  }
  .site-header .nav::-webkit-scrollbar { display: none; }
  .site-header .nav a { white-space: nowrap; font-size: .9rem; }
  .facts div { flex-basis: 50%; border-bottom: 1px solid var(--line); }
  .hero { padding-top: 38px; }
}
@media (max-width: 420px) {
  .site-header .container { gap: 6px 8px; }
  .wordmark { font-size: .92rem; }
  .wordmark img { width: 20px; height: 28px; margin-right: 6px; }
  .site-header .btn { padding: 6px 10px; font-size: .8rem; }
}
