/* GentleCase — Green Card Eligibility Estimator
   Static shell (header / footer / SEO block) + interactive states.
   The React tool (eligibility.jsx) supplies its own inline styles;
   here we own hover states, the page shell, and the crawlable SEO
   content that lives outside the app for search engines. */

*{box-sizing:border-box}
html,body{margin:0;padding:0}
body{background:#fafbfc;color:#1f2433;font-family:'Inter',system-ui,-apple-system,'Segoe UI',sans-serif;-webkit-font-smoothing:antialiased}
::selection{background:#ede9fe}

@keyframes gcFade{from{transform:translateY(12px);opacity:0}to{transform:none;opacity:1}}
@media (prefers-reduced-motion: reduce){
  *{animation-duration:.001ms !important;transition-duration:.001ms !important}
}

/* ---- page shell ---- */
.gc-shell{min-height:100vh;display:flex;flex-direction:column;background:#fafbfc}
.gc-app-main{flex:1;width:100%;max-width:1080px;margin:0 auto;padding:0 28px}

/* ---- header ---- */
.gc-head{position:sticky;top:0;z-index:20;display:flex;align-items:center;justify-content:space-between;gap:16px;padding:16px 28px;background:rgba(250,251,252,0.85);backdrop-filter:blur(10px);-webkit-backdrop-filter:blur(10px);border-bottom:1px solid #eceef3}
.gc-brand{display:flex;align-items:center;gap:11px;text-decoration:none;color:inherit}
.gc-brand img{width:30px;height:30px;object-fit:contain}
.gc-wordmark{font-family:'Instrument Serif',Georgia,serif;font-size:24px;letter-spacing:-0.01em}
.gc-wordmark em{font-style:italic;color:#7c3aed}
.gc-head-links{display:flex;align-items:center;gap:18px}
.gc-head-links a{font-size:14px;font-weight:500;color:#4a5063;text-decoration:none}
.gc-head-links a:hover{color:#0b0d12}
.gc-pill{display:inline-flex;align-items:center;gap:8px;font-size:12px;color:#6b7280;background:#fff;border:1px solid #eceef3;padding:6px 12px;border-radius:999px;white-space:nowrap}
.gc-pill span{width:7px;height:7px;border-radius:50%;background:#7c3aed}
@media (max-width:640px){ .gc-head-links{display:none} }

/* ---- interactive: path chips (intro) ---- */
.gc-chip{display:flex;align-items:center;gap:13px;text-align:left;width:100%;font-family:'Inter',sans-serif;background:#fff;border:1px solid #e6e8ee;border-radius:14px;padding:15px 16px;cursor:pointer;transition:border-color .2s,box-shadow .2s;color:#1f2433}
.gc-chip:hover:not(:disabled){border-color:#c4b5fd;box-shadow:0 14px 30px -22px rgba(76,29,149,0.45)}
.gc-chip:disabled{opacity:.5;cursor:not-allowed}
.gc-chip-ico{flex:none;display:flex;align-items:center;justify-content:center;width:40px;height:40px;border-radius:10px;background:#f5f3ff;color:#5b21b6}

/* ---- interactive: option cards (wizard) ---- */
.gc-opt{display:flex;align-items:center;gap:15px;text-align:left;width:100%;font-family:'Inter',sans-serif;cursor:pointer;border-radius:16px;padding:18px;transition:border-color .2s,box-shadow .2s,background .2s;background:#fff;border:1.5px solid #e6e8ee;box-shadow:0 1px 0 rgba(0,0,0,0.01)}
.gc-opt:hover{border-color:#c4b5fd;box-shadow:0 14px 30px -22px rgba(76,29,149,0.45)}
.gc-opt.sel{background:#f5f3ff;border-color:#7c3aed;box-shadow:0 20px 40px -26px rgba(124,58,237,0.55)}
.gc-opt-ico{flex:none;display:flex;align-items:center;justify-content:center;width:44px;height:44px;border-radius:11px;transition:all .2s;background:#f5f3ff;color:#5b21b6}
.gc-opt.sel .gc-opt-ico{background:#7c3aed;color:#fff}
.gc-opt-check{flex:none;display:flex;align-items:center;justify-content:center;width:22px;height:22px;color:#7c3aed;opacity:0;transition:opacity .2s}
.gc-opt.sel .gc-opt-check{opacity:1}

/* ---- consent gate ---- */
.gc-consent{display:flex;align-items:flex-start;gap:11px;margin:28px 0 0;max-width:600px;padding:15px 17px;background:#faf9ff;border:1px solid #e3dcfb;border-radius:14px;cursor:pointer}
.gc-consent input{flex:none;width:18px;height:18px;margin-top:1px;accent-color:#7c3aed;cursor:pointer}
.gc-consent span{font-size:13.5px;color:#4a5063;line-height:1.5}
.gc-consent span strong{color:#1f2433;font-weight:600}
.gc-consent span a{color:#7c3aed;text-decoration:underline;text-underline-offset:2px}
.gc-consent-err{border-color:#f43f5e;box-shadow:0 0 0 3px #ffe4e6}
.gc-consent-hint{font-size:13px;color:#c14545;margin:8px 0 0;font-weight:500}
.gc-consent-sm{margin:12px 0 0;padding:11px 13px;background:#fafbfc}
.gc-consent-sm span{font-size:12.5px}

/* ---- SEO content: kept in the DOM for crawlers, visually hidden so the
   page is a 1:1 match of the design. (Structured data in <head> is the
   primary, guideline-safe SEO; this hidden block adds crawlable copy + links.) */
.gc-seo-hidden{position:absolute !important;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap;border:0}

/* ---- (retained) SEO block styles, unused while hidden ---- */
.gc-seo{border-top:1px solid #eceef3;background:linear-gradient(180deg,#fbfbfe,#ffffff 340px)}
.gc-seo-in{max-width:1080px;margin:0 auto;padding:80px 28px 72px}
.gc-seo-kicker{font-family:'JetBrains Mono',monospace;font-size:12px;letter-spacing:0.14em;text-transform:uppercase;color:#7c3aed;margin:0 0 16px}
.gc-seo h2{font-family:'Instrument Serif',Georgia,serif;font-weight:400;font-size:clamp(30px,3.8vw,44px);line-height:1.06;letter-spacing:-0.02em;color:#0b0d12;margin:0 0 10px}
.gc-seo h2 em{font-style:italic;color:#5b21b6}
.gc-seo .gc-seo-lead{font-size:17px;color:#4a5063;line-height:1.65;max-width:660px;margin:0 0 40px}
.gc-seo h3{font-size:15.5px;font-weight:700;color:#0b0d12;margin:0 0 7px;letter-spacing:-0.01em}
.gc-paths{display:grid;grid-template-columns:repeat(auto-fill,minmax(270px,1fr));gap:16px;margin:0 0 12px}
.gc-path{display:flex;flex-direction:column;background:#fff;border:1px solid #e9ebf1;border-radius:20px;padding:24px 24px 22px;text-decoration:none;box-shadow:0 30px 60px -50px rgba(76,29,149,0.3);transition:border-color .2s,box-shadow .2s,transform .2s}
.gc-path:hover{border-color:#c4b5fd;box-shadow:0 26px 50px -30px rgba(76,29,149,0.4);transform:translateY(-2px)}
.gc-path p{font-size:14px;color:#4a5063;line-height:1.6;margin:0;flex:1}
.gc-path .gc-path-link{display:inline-block;font-size:13.5px;font-weight:600;color:#7c3aed;margin-top:16px}

.gc-seo-divide{height:1px;background:#eceef3;margin:60px 0 56px}
.gc-seo h2.gc-faq-h{margin-top:0}
.gc-faq{display:grid;grid-template-columns:1fr 1fr;gap:16px;margin:32px 0 0}
.gc-faq-item{background:#fff;border:1px solid #e9ebf1;border-radius:18px;padding:22px 24px}
.gc-faq-item h3{font-size:16px;margin:0 0 9px}
.gc-faq-item p{font-size:14.5px;color:#4a5063;line-height:1.62;margin:0}
.gc-faq-item p a{color:#7c3aed;text-decoration:underline;text-underline-offset:2px}
@media (max-width:720px){ .gc-faq{grid-template-columns:1fr} }

/* ---- footer ---- */
.gc-foot{border-top:1px solid #eceef3;background:#fff;padding:30px 28px;margin-top:auto}
.gc-foot-in{max-width:1080px;margin:0 auto;display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:16px}
.gc-foot-legal{font-size:13px;color:#6b7280;margin:0;max-width:600px;line-height:1.55}
.gc-foot-legal strong{color:#4a5063;font-weight:600}
.gc-foot-legal a{color:#7c3aed;text-decoration:none}
.gc-foot-legal a:hover{text-decoration:underline}
.gc-foot-tag{font-family:'Instrument Serif',Georgia,serif;font-style:italic;font-size:15px;color:#6b7280}
.gc-foot-tag span{color:#7c3aed}
.gc-foot-nav{width:100%;max-width:1080px;margin:22px auto 0;padding-top:20px;border-top:1px solid #f0f1f5;display:flex;flex-wrap:wrap;gap:8px 20px}
.gc-foot-nav a{font-size:13px;color:#6b7280;text-decoration:none}
.gc-foot-nav a:hover{color:#0b0d12}

/* ---- print ---- */
@media print{
  .gc-head,.gc-seo,.gc-foot,.gc-foot-nav{display:none !important}
  body,.gc-shell{background:#fff}
  .gc-app-main{max-width:100%}
}
