/*
 * Web Studio landing pages (/web-design-*, /website-cost-east-texas) and the
 * /studio crawler render inside #root. Every rule is scoped to `.seo` so this
 * file can sit on the React /studio page without restyling anything there.
 */
.seo {
  --bg: #08090d;
  --raised: #0e1018;
  --card: #13151f;
  --mint: #4edfa0;
  --mint-ink: #06140d;
  --ink: #f4f6f8;
  --text: #c8ced7;
  --muted: #94a3b8;
  --line: rgba(255, 255, 255, 0.08);
  color: var(--text);
  background: var(--bg);
  font-family: Inter, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
body.seo { margin: 0; min-height: 100vh; }
.seo *, .seo *::before, .seo *::after { box-sizing: border-box; }
.seo a { color: var(--mint); text-underline-offset: 3px; }
.seo a:hover { color: #6aeab5; }
.seo h1, .seo h2, .seo h3 { color: var(--ink); line-height: 1.15; letter-spacing: -0.025em; margin: 0 0 0.6em; }
.seo h1 { font-size: clamp(2.2rem, 6vw, 4rem); font-weight: 800; max-width: 18ch; }
.seo h2 { font-size: clamp(1.6rem, 3.4vw, 2.3rem); font-weight: 750; }
.seo h3 { font-size: 1.15rem; font-weight: 650; letter-spacing: -0.01em; }
.seo p { margin: 0 0 1em; }
.seo ul, .seo ol { padding-left: 1.25em; margin: 0 0 1em; }
.seo li { margin: 0.35em 0; }
.seo strong { color: var(--ink); }

.seo-wrap { width: 100%; max-width: 1120px; margin: 0 auto; padding: 0 16px; }
@media (min-width: 720px) { .seo-wrap { padding: 0 28px; } }

.seo-skip { position: absolute; left: -999px; top: 8px; background: var(--mint); color: var(--mint-ink); padding: 8px 14px; border-radius: 8px; z-index: 10; }
.seo-skip:focus { left: 8px; }

/* Header */
.seo-hdr { border-bottom: 1px solid var(--line); background: rgba(8, 9, 13, 0.92); position: sticky; top: 0; z-index: 5; backdrop-filter: blur(10px); }
.seo-hdr__in { display: flex; align-items: center; gap: 20px; min-height: 64px; flex-wrap: wrap; padding-top: 8px; padding-bottom: 8px; }
.seo-brand { color: var(--ink) !important; text-decoration: none; font-weight: 800; font-size: 1.3rem; letter-spacing: -0.03em; margin: 0; }
.seo-brand span { color: var(--mint); }
.seo-brand small { font-size: 0.68rem; letter-spacing: 0.18em; text-transform: uppercase; color: var(--muted); font-weight: 600; margin-left: 4px; }
.seo-hdr nav { display: flex; gap: 18px; flex-wrap: wrap; margin-left: auto; }
.seo-hdr nav a { color: var(--text); text-decoration: none; font-size: 0.92rem; font-weight: 500; }
.seo-hdr nav a:hover { color: var(--ink); }
@media (max-width: 860px) {
  .seo-hdr nav { order: 3; width: 100%; margin-left: 0; gap: 14px; overflow-x: auto; padding-bottom: 4px; }
  .seo-hdr .seo-btn--sm { margin-left: auto; }
}
/* Phones get the sticky call bar instead of the header button. */
@media (max-width: 720px) { .seo-hdr .seo-btn--sm { display: none; } }

/* Buttons */
.seo-btn { display: inline-flex; align-items: center; justify-content: center; min-height: 46px; padding: 0 22px; border-radius: 999px; background: var(--mint); color: var(--mint-ink) !important; font-weight: 700; text-decoration: none; border: 1px solid var(--mint); font-size: 0.98rem; cursor: pointer; font-family: inherit; }
.seo-btn:hover { background: #6aeab5; }
.seo-btn--ghost { background: transparent; color: var(--ink) !important; border-color: rgba(255, 255, 255, 0.22); }
.seo-btn--ghost:hover { background: rgba(255, 255, 255, 0.06); }
.seo-btn--sm { min-height: 38px; padding: 0 16px; font-size: 0.88rem; }

/* Hero */
.seo-crumbs ol { list-style: none; padding: 0; margin: 22px 0 0; display: flex; flex-wrap: wrap; gap: 6px; font-size: 0.85rem; color: var(--muted); }
.seo-crumbs li + li::before { content: '/'; margin-right: 6px; opacity: 0.5; }
.seo-crumbs a { color: var(--muted); text-decoration: none; }
.seo-hero { padding: 48px 0 40px; border-bottom: 1px solid var(--line); }
.seo-eyebrow { font-size: 0.74rem !important; letter-spacing: 0.18em; text-transform: uppercase; color: var(--mint); font-weight: 700; margin-bottom: 14px !important; }
.seo-lead { font-size: 1.18rem; max-width: 46rem; color: var(--text); }
.seo-ctas { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 26px; }
.seo-facts { list-style: none; padding: 0; display: flex; flex-wrap: wrap; gap: 10px; margin-top: 22px; }
.seo-facts li { margin: 0; padding: 6px 14px; border: 1px solid var(--line); border-radius: 999px; font-size: 0.88rem; color: var(--ink); background: var(--raised); }

/* Blocks */
.seo-block { padding: 52px 0; border-bottom: 1px solid var(--line); }
.seo-block > p, .seo-block > ul, .seo-block > ol { max-width: 48rem; }
.seo-plans { display: grid; gap: 18px; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); margin-top: 8px; }
.seo-plan { background: var(--card); border: 1px solid var(--line); border-radius: 20px; padding: 28px; display: flex; flex-direction: column; }
.seo-plan--main { border-color: rgba(78, 223, 160, 0.45); }
.seo-plan ul { padding-left: 1.1em; flex: 1; }
.seo-plan .seo-btn { align-self: flex-start; margin-top: 12px; }
.seo-price { margin: 0 0 12px !important; color: var(--muted); }
.seo-price strong { font-size: 2.6rem; font-weight: 800; letter-spacing: -0.04em; color: var(--ink); }
.seo-price__from { font-size: 0.9rem; }
.seo-note { color: var(--muted); font-size: 0.95rem; margin-top: 18px; }
.seo-grid { display: grid; gap: 16px; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); margin: 0; }
.seo-grid > div { background: var(--raised); border: 1px solid var(--line); border-radius: 16px; padding: 20px; }
.seo-grid dt { color: var(--ink); font-weight: 650; margin-bottom: 6px; }
.seo-grid dd { margin: 0; color: var(--text); font-size: 0.95rem; }
.seo-work { list-style: none; padding: 0; display: grid; gap: 16px; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); max-width: none !important; }
.seo-work li { margin: 0; background: var(--raised); border: 1px solid var(--line); border-radius: 16px; padding: 20px; }
.seo-work span { display: block; color: var(--muted); font-size: 0.85rem; margin-top: 2px; }
.seo-work p { margin: 10px 0 0; font-size: 0.95rem; }
.seo-steps { counter-reset: step; list-style: none; padding: 0; display: grid; gap: 16px; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); max-width: none !important; }
.seo-steps li { counter-increment: step; margin: 0; background: var(--raised); border: 1px solid var(--line); border-radius: 16px; padding: 20px; }
.seo-steps li::before { content: '0' counter(step); color: var(--mint); font-weight: 700; font-size: 0.85rem; display: block; margin-bottom: 6px; }
.seo-steps p { margin: 6px 0 0; font-size: 0.95rem; }
.seo-faq { display: grid; gap: 4px; max-width: 52rem; }
.seo-faq > div { border-top: 1px solid var(--line); padding: 20px 0 6px; }
.seo-links { columns: 2; }
@media (max-width: 560px) { .seo-links { columns: 1; } }
.seo-table-wrap { overflow-x: auto; margin: 0 0 1em; border: 1px solid var(--line); border-radius: 16px; }
.seo-table { width: 100%; min-width: 620px; border-collapse: collapse; font-size: 0.94rem; }
.seo-table th, .seo-table td { padding: 12px 14px; text-align: left; border-bottom: 1px solid var(--line); vertical-align: top; }
.seo-table thead th { color: var(--ink); background: var(--raised); }
.seo-table tbody th { color: var(--muted); font-weight: 600; }
.seo-table td:last-child, .seo-table thead th:last-child { color: var(--ink); background: rgba(78, 223, 160, 0.06); }

/* Quote */
.seo-quote { display: grid; gap: 32px; grid-template-columns: minmax(0, 1fr); }
@media (min-width: 900px) { .seo-quote { grid-template-columns: minmax(0, 1fr) minmax(0, 30rem); } }
.seo-contact { display: flex; flex-wrap: wrap; align-items: center; gap: 16px; }
.seo-form { background: var(--card); border: 1px solid var(--line); border-radius: 20px; padding: 24px; display: grid; gap: 14px; }
.seo-form label { display: grid; gap: 6px; font-size: 0.9rem; font-weight: 600; color: var(--ink); }
.seo-form small { color: var(--muted); font-weight: 400; }
.seo-form input, .seo-form select, .seo-form textarea { width: 100%; font: inherit; font-weight: 400; color: var(--ink); background: var(--bg); border: 1px solid rgba(255, 255, 255, 0.14); border-radius: 12px; padding: 11px 13px; min-height: 46px; }
.seo-form textarea { resize: vertical; }
.seo-form input:focus, .seo-form select:focus, .seo-form textarea:focus { outline: 2px solid var(--mint); outline-offset: 1px; }
.seo-form .seo-btn { justify-self: start; }
.seo-form__status { margin: 0 !important; font-size: 0.92rem; min-height: 0; }
.seo-form__status.is-error { color: #fca5a5; }
.seo-form__status.is-ok { color: var(--mint); }
.seo-hp { position: absolute; left: -9999px; width: 1px; height: 1px; }

.seo-updated { color: var(--muted); font-size: 0.85rem; padding: 24px 0; margin: 0; }

/* Footer */
.seo-ftr { border-top: 1px solid var(--line); background: var(--raised); padding: 40px 0 96px; font-size: 0.92rem; }
.seo-ftr__in { display: grid; gap: 28px; grid-template-columns: minmax(0, 1fr); }
@media (min-width: 800px) { .seo-ftr__in { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); } }
.seo-ftr ul { list-style: none; padding: 0; margin: 0; }
.seo-ftr li { margin: 0 0 8px; }
.seo-ftr__legal { display: flex; flex-wrap: wrap; gap: 16px; margin-top: 28px; color: var(--muted); font-size: 0.85rem; }
.seo-ftr__legal a { color: var(--muted); }

/* Sticky call bar, phones only */
.seo-callbar { display: none; }
@media (max-width: 720px) {
  .seo-callbar { display: flex; position: fixed; left: 12px; right: 12px; bottom: 12px; z-index: 6; min-height: 52px; align-items: center; justify-content: center; border-radius: 999px; background: var(--mint); color: var(--mint-ink) !important; font-weight: 800; text-decoration: none; box-shadow: 0 10px 30px rgba(0, 0, 0, 0.45); }
}

/* The /studio render inside #root: the moment before React starts. */
.seo-ssr { min-height: 100vh; }
.seo-ssr .seo-hdr { position: static; }
