/* Shared styles for WellCollar's static marketing pages (/texas/, /compare/, /faq/).
   These pages are plain HTML so search engines and AI assistants can read them
   without running the app. Colors follow the app: slate ink, field green accent. */
:root {
  --ink: #0f172a;
  --ink-2: #334155;
  --muted: #64748b;
  --line: #e2e8f0;
  --bg: #ffffff;
  --tint: #f8fafc;
  --green: #1d5c3a;
  --green-2: #2f7a51;
  --green-soft: #e8f2ec;
  --gold: #a16207;
  --gold-soft: #fef6e4;
  --radius: 14px;
  --sans: ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; font-family: var(--sans); color: var(--ink); background: var(--bg); font-size: 17px; line-height: 1.6; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--green); }
a:focus-visible, button:focus-visible { outline: 2px solid var(--green); outline-offset: 2px; }
h1, h2, h3 { line-height: 1.15; letter-spacing: -0.02em; text-wrap: balance; margin: 0; }
p { margin: 0; }
.wrap { max-width: 1120px; margin: 0 auto; padding-left: max(20px, env(safe-area-inset-left, 0px)); padding-right: max(20px, env(safe-area-inset-right, 0px)); }

/* Header */
.top { position: sticky; top: 0; z-index: 10; background: rgba(255,255,255,.94); backdrop-filter: blur(8px); border-bottom: 1px solid var(--line); }
.top .wrap { display: flex; align-items: center; justify-content: space-between; gap: 16px; height: 64px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--ink); font-weight: 700; font-size: 1.1rem; }
.brand img { width: 30px; height: 30px; border-radius: 7px; }
.nav { display: flex; align-items: center; gap: 22px; font-size: .95rem; }
.nav a { color: var(--ink-2); text-decoration: none; }
.nav a:hover { color: var(--ink); }
.nav a[aria-current="page"] { color: var(--green); font-weight: 600; }
@media (max-width: 760px) { .nav .hide-sm { display: none; } .nav { gap: 14px; } }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 46px; padding: 0 22px; border-radius: 10px; font-weight: 600; font-size: 1rem; text-decoration: none; border: 1px solid var(--ink); background: var(--ink); color: #fff; }
.btn:hover { background: #1e293b; }
.btn.ghost { background: transparent; color: var(--ink); border-color: var(--line); }
.btn.ghost:hover { border-color: var(--ink-2); }
.btn.sm { min-height: 38px; padding: 0 14px; font-size: .9rem; }
.ctas { display: flex; flex-wrap: wrap; gap: 12px; }

/* Hero */
.hero { padding: 72px 0 56px; background: linear-gradient(180deg, var(--green-soft), var(--bg) 85%); }
.hero .grid { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); gap: 48px; align-items: center; }
@media (max-width: 900px) { .hero .grid { grid-template-columns: 1fr; gap: 32px; } .hero { padding-top: 48px; } }
.eyebrow { display: inline-flex; align-items: center; gap: 8px; font-size: .8rem; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--green); }
.eyebrow .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--green); }
.hero h1 { font-size: clamp(2.2rem, 5vw, 3.5rem); margin: 14px 0 18px; }
.hero h1 em { font-style: normal; color: var(--green); }
.hero .lede { font-size: 1.18rem; color: var(--ink-2); max-width: 58ch; margin-bottom: 26px; }
.checks { display: flex; flex-wrap: wrap; gap: 8px 20px; margin-top: 20px; font-size: .92rem; color: var(--ink-2); padding: 0; list-style: none; }
.checks li::before { content: "✓"; color: var(--green); font-weight: 700; margin-right: 6px; }
.shot { border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; box-shadow: 0 24px 60px -24px rgba(15,23,42,.35); background: #fff; }
.shot .bar { display: flex; gap: 6px; align-items: center; padding: 10px 14px; border-bottom: 1px solid var(--line); font-size: .75rem; color: var(--muted); }
.shot .bar i { width: 9px; height: 9px; border-radius: 50%; background: var(--line); }
.shot .bar span { margin-left: 8px; }

/* Sections */
section.band { padding: 72px 0; }
section.band.tint { background: var(--tint); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.head { max-width: 720px; margin-bottom: 36px; }
.head h2 { font-size: clamp(1.7rem, 3.4vw, 2.4rem); margin: 10px 0 12px; }
.head p { color: var(--ink-2); font-size: 1.08rem; }
.cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
@media (max-width: 900px) { .cards { grid-template-columns: 1fr; } }
.card { border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; background: #fff; display: flex; flex-direction: column; gap: 10px; }
.card h3 { font-size: 1.15rem; }
.card p { color: var(--ink-2); font-size: .98rem; }
.card .tag { font-size: .72rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }

/* Steps */
.steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0; counter-reset: s; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; background: #fff; }
@media (max-width: 900px) { .steps { grid-template-columns: 1fr; } }
.step { padding: 26px; border-right: 1px solid var(--line); counter-increment: s; }
.step:last-child { border-right: 0; }
@media (max-width: 900px) { .step { border-right: 0; border-bottom: 1px solid var(--line); } .step:last-child { border-bottom: 0; } }
.step::before { content: counter(s); display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; background: var(--green); color: #fff; font-weight: 700; margin-bottom: 14px; }
.step h3 { font-size: 1.08rem; margin-bottom: 6px; }
.step p { color: var(--ink-2); font-size: .96rem; }

/* Split feature */
.split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 48px; align-items: center; }
.split.rev > :first-child { order: 2; }
@media (max-width: 900px) { .split { grid-template-columns: 1fr; gap: 28px; } .split.rev > :first-child { order: 0; } }
.split h2 { font-size: clamp(1.6rem, 3vw, 2.2rem); margin: 10px 0 14px; }
.split p { color: var(--ink-2); }
.ticks { list-style: none; padding: 0; margin: 18px 0 0; display: flex; flex-direction: column; gap: 10px; }
.ticks li { padding-left: 28px; position: relative; }
.ticks li::before { content: ""; position: absolute; left: 0; top: .45em; width: 16px; height: 16px; border-radius: 50%; background: var(--green-soft); box-shadow: inset 0 0 0 5px var(--green); }

/* Calendar table */
.tw { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; }
table { border-collapse: collapse; width: 100%; font-size: .96rem; min-width: 560px; }
th { text-align: left; font-size: .76rem; letter-spacing: .07em; text-transform: uppercase; color: var(--muted); font-weight: 600; padding: 14px 18px; border-bottom: 1px solid var(--line); background: var(--tint); }
td { padding: 14px 18px; border-bottom: 1px solid var(--line); vertical-align: top; }
tr:last-child td { border-bottom: 0; }
td.yes { color: var(--green); font-weight: 600; }
td.na { color: var(--muted); }
th.us, td.us { background: var(--green-soft); }

/* Pricing */
.plans { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
@media (max-width: 1000px) { .plans { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .plans { grid-template-columns: 1fr; } }
.plan { border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; background: #fff; display: flex; flex-direction: column; gap: 6px; }
.plan.hi { border-color: var(--green); box-shadow: 0 0 0 1px var(--green); }
.plan .name { font-weight: 700; }
.plan .price { font-size: 2rem; font-weight: 800; letter-spacing: -0.03em; font-variant-numeric: tabular-nums; }
.plan .price small { font-size: .9rem; font-weight: 500; color: var(--muted); }
.plan .meta { font-size: .9rem; color: var(--ink-2); }
.plan .ob { font-size: .82rem; color: var(--muted); margin-top: auto; padding-top: 10px; border-top: 1px dashed var(--line); }

/* Callout */
.callout { border-radius: var(--radius); padding: 30px; background: var(--gold-soft); border: 1px solid #f3dfb2; display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 20px; align-items: center; }
@media (max-width: 760px) { .callout { grid-template-columns: 1fr; } }
.callout h3 { font-size: 1.3rem; margin-bottom: 6px; }
.callout p { color: var(--ink-2); }
.pill { display: inline-block; font-size: .72rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--gold); border: 1px solid currentColor; border-radius: 999px; padding: 2px 10px; margin-bottom: 10px; }

/* FAQ */
.faq { max-width: 820px; display: flex; flex-direction: column; gap: 10px; }
.faq details { border: 1px solid var(--line); border-radius: 12px; background: #fff; }
.faq summary { cursor: pointer; padding: 18px 22px; font-weight: 600; font-size: 1.04rem; list-style: none; display: flex; justify-content: space-between; gap: 16px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; color: var(--green); font-weight: 700; font-size: 1.3rem; line-height: 1; }
.faq details[open] summary::after { content: "–"; }
.faq .a { padding: 0 22px 20px; color: var(--ink-2); }
.faq .a p + p { margin-top: 10px; }
.faq h2.group { font-size: 1.05rem; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); margin: 28px 0 6px; }

/* Closing CTA */
.close { padding: 72px 0; }
.close .box { background: var(--ink); color: #fff; border-radius: 22px; padding: clamp(32px, 6vw, 60px); text-align: center; }
.close h2 { font-size: clamp(1.7rem, 3.6vw, 2.5rem); margin-bottom: 12px; }
.close p { color: #cbd5e1; max-width: 56ch; margin: 0 auto 24px; font-size: 1.08rem; }
.close .btn { background: #fff; color: var(--ink); border-color: #fff; }
.close .btn.ghost { background: transparent; color: #fff; border-color: #475569; }
.close .ctas { justify-content: center; }

/* Footer */
footer.site { border-top: 1px solid var(--line); padding: 36px 0 calc(36px + env(safe-area-inset-bottom, 0px)); font-size: .9rem; color: var(--muted); }
footer.site .wrap { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 16px; }
footer.site nav { display: flex; flex-wrap: wrap; gap: 18px; }
footer.site a { color: var(--ink-2); text-decoration: none; }
footer.site a:hover { color: var(--ink); }
.plans.two { grid-template-columns: repeat(2, minmax(0, 1fr)); max-width: 860px; }
@media (max-width: 640px) { .plans.two { grid-template-columns: 1fr; } }
.plan .meta + .meta { color: var(--muted); font-size: .86rem; margin-top: 6px; }
.nav a.btn, .nav a.btn:hover { color: #fff; }

/* ── Added with the full marketing site (features, states, pricing, legal) ── */
.nav .menu { display: flex; align-items: center; gap: 22px; }
@media (max-width: 900px) { .nav .hide-md { display: none; } }
.brand small { font-weight: 500; color: var(--muted); font-size: .78rem; margin-left: 2px; }

/* Video tour */
.video { margin: 0; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); background: #0f172a; box-shadow: 0 24px 60px -24px rgba(15,23,42,.35); }
.video video { display: block; width: 100%; height: auto; aspect-ratio: 16 / 9; background: #0f172a; }
.video figcaption { background: #fff; padding: 12px 16px; font-size: .9rem; color: var(--muted); border-top: 1px solid var(--line); }

/* Phone mockup */
.phone { max-width: 300px; margin: 0 auto; border: 10px solid var(--ink); border-radius: 36px; overflow: hidden; box-shadow: 0 30px 60px -24px rgba(15,23,42,.45); background: #fff; }
.phone img { width: 100%; }

/* Feature hub grid */
.fgrid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
@media (max-width: 980px) { .fgrid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 620px) { .fgrid { grid-template-columns: 1fr; } }
.fcard { border: 1px solid var(--line); border-radius: var(--radius); background: #fff; overflow: hidden; text-decoration: none; color: inherit; display: flex; flex-direction: column; transition: box-shadow .2s, transform .2s; }
.fcard:hover { box-shadow: 0 18px 40px -22px rgba(15,23,42,.35); transform: translateY(-2px); }
.fcard img { aspect-ratio: 16 / 10; object-fit: cover; object-position: top left; border-bottom: 1px solid var(--line); }
.fcard .body { padding: 20px 22px 22px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.fcard h3 { font-size: 1.12rem; }
.fcard p { color: var(--ink-2); font-size: .96rem; }
.fcard .more { margin-top: auto; padding-top: 8px; color: var(--green); font-weight: 600; font-size: .92rem; }
.fcard .price-tag { font-size: .75rem; font-weight: 700; color: var(--green); background: var(--green-soft); border-radius: 999px; padding: 3px 10px; align-self: flex-start; }

/* Stat strip */
.stats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; overflow: hidden; }
@media (max-width: 760px) { .stats { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.stat { padding: 22px; border-right: 1px solid var(--line); }
.stat:last-child { border-right: 0; }
@media (max-width: 760px) { .stat:nth-child(2n) { border-right: 0; } .stat:nth-child(-n+2) { border-bottom: 1px solid var(--line); } }
.stat b { display: block; font-size: 1.7rem; letter-spacing: -0.03em; font-variant-numeric: tabular-nums; }
.stat span { color: var(--muted); font-size: .9rem; }

/* State chooser */
.states { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; }
@media (max-width: 760px) { .states { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.states a { border: 1px solid var(--line); border-radius: 12px; padding: 18px; background: #fff; text-decoration: none; color: var(--ink); display: flex; flex-direction: column; gap: 4px; }
.states a:hover { border-color: var(--green); }
.states b { font-size: 1.05rem; }
.states span { color: var(--muted); font-size: .88rem; }

/* Breadcrumb */
.crumbs { font-size: .85rem; color: var(--muted); margin-bottom: 4px; }
.crumbs a { color: var(--muted); text-decoration: none; }
.crumbs a:hover { color: var(--green); }

/* Legal prose */
.prose { max-width: 760px; }
.prose h1 { font-size: clamp(2rem, 4vw, 2.6rem); margin-bottom: 8px; }
.prose h2 { font-size: 1.3rem; margin: 34px 0 10px; }
.prose p, .prose li { color: var(--ink-2); }
.prose p + p { margin-top: 12px; }
.prose ul { padding-left: 22px; margin: 10px 0; }
.prose li + li { margin-top: 6px; }
.prose .updated { color: var(--muted); font-size: .92rem; }

/* Site footer (multi-column) */
footer.site .cols { display: grid; grid-template-columns: 1.4fr repeat(4, minmax(0, 1fr)); gap: 28px; width: 100%; }
@media (max-width: 900px) { footer.site .cols { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
footer.site .cols h4 { font-size: .75rem; letter-spacing: .08em; text-transform: uppercase; color: var(--ink); margin: 0 0 10px; }
footer.site .cols ul { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 8px; }
footer.site .about p { margin-top: 10px; max-width: 34ch; }
footer.site .legal { width: 100%; border-top: 1px solid var(--line); padding-top: 18px; margin-top: 10px; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px; }

/* Filing guides */
.guide .prose { max-width: 780px; }
.guide .prose .lede { font-size: 1.15rem; color: var(--ink-2); margin: 10px 0 6px; }
.guide .prose h2 { font-size: 1.45rem; margin: 40px 0 12px; }
.guide .prose h3 { font-size: 1.1rem; margin: 26px 0 10px; }
.guide .prose ol { padding-left: 22px; margin: 10px 0; }
.guide .prose ol li + li { margin-top: 10px; }
.guide .prose .tw { margin: 18px 0; }
.guide .prose table { min-width: 0; }
.guide-facts table { min-width: 0; }
.guide-facts th[scope="row"] { width: 34%; background: var(--green-soft); color: var(--green); border-bottom: 1px solid var(--line); vertical-align: top; }
.guide-facts td { color: var(--ink); }
.guide-cta { margin: 36px 0 8px; background: var(--green-soft); border-color: #cfe3d6; }
.guide-cta .pill { color: var(--green); }
.guide-sources { padding-left: 22px; }
.guide-sources a { color: var(--green); overflow-wrap: anywhere; }
.guide-note { color: var(--muted); font-size: .9rem; margin-top: 14px; }
.guide-card .body { padding-top: 24px; }
.split .states { grid-template-columns: 1fr; }
@media (max-width: 560px) { .guide-facts th[scope="row"] { width: 40%; } .guide .prose .tw table { font-size: .9rem; } }
