/* =========================================================
   CCHAXCESSWK — Tax Organizer by Mari's Taxes LLC
   Global stylesheet
   ========================================================= */

:root {
  --navy: #0f2a4a;
  --navy-dark: #0a1f38;
  --navy-light: #17456f;
  --blue: #1f6fb2;
  --blue-light: #eaf3fb;
  --gold: #c9a227;
  --gold-dark: #a9861a;
  --green: #1e8e5a;
  --ink: #1c2733;
  --slate: #4a5a6a;
  --muted: #6b7a89;
  --line: #e2e8ee;
  --bg: #ffffff;
  --bg-alt: #f5f8fb;
  --bg-soft: #eef3f8;
  --white: #ffffff;
  --danger: #c0392b;
  --radius: 10px;
  --radius-lg: 16px;
  --shadow-sm: 0 1px 3px rgba(15, 42, 74, .08), 0 1px 2px rgba(15, 42, 74, .06);
  --shadow: 0 6px 24px rgba(15, 42, 74, .10);
  --shadow-lg: 0 16px 48px rgba(15, 42, 74, .16);
  --maxw: 1140px;
  --font: "Segoe UI", Roboto, "Helvetica Neue", Arial, system-ui, sans-serif;
  --serif: Georgia, "Times New Roman", serif;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font);
  color: var(--ink);
  line-height: 1.65;
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  font-size: 17px;
}

img { max-width: 100%; display: block; }

a { color: var(--blue); text-decoration: none; }
a:hover { text-decoration: underline; }

h1, h2, h3, h4 {
  color: var(--navy);
  line-height: 1.2;
  margin: 0 0 .5em;
  font-weight: 700;
}
h1 { font-size: 2.5rem; }
h2 { font-size: 2rem; }
h3 { font-size: 1.35rem; }
p { margin: 0 0 1rem; }

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

.section { padding: 72px 0; }
.section--alt { background: var(--bg-alt); }
.section--navy { background: var(--navy); color: #dbe6f1; }
.section--navy h2, .section--navy h3 { color: #fff; }

.text-center { text-align: center; }
.eyebrow {
  display: inline-block;
  text-transform: uppercase;
  letter-spacing: .12em;
  font-size: .78rem;
  font-weight: 700;
  color: var(--blue);
  margin-bottom: .75rem;
}
.section--navy .eyebrow { color: var(--gold); }
.lead { font-size: 1.15rem; color: var(--slate); max-width: 720px; }
.section--navy .lead { color: #cdd9e6; }
.center-block { margin-left: auto; margin-right: auto; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-block;
  padding: 14px 28px;
  border-radius: var(--radius);
  font-weight: 700;
  font-size: 1rem;
  cursor: pointer;
  border: 2px solid transparent;
  transition: transform .12s ease, box-shadow .18s ease, background .18s ease;
  text-align: center;
}
.btn:hover { text-decoration: none; transform: translateY(-1px); }
.btn--primary { background: var(--gold); color: var(--navy-dark); }
.btn--primary:hover { background: var(--gold-dark); color: #fff; box-shadow: var(--shadow); }
.btn--nav { background: var(--blue); color: #fff; padding: 10px 20px; }
.btn--nav:hover { background: var(--navy-light); color: #fff; }
.btn--outline { background: transparent; border-color: #fff; color: #fff; }
.btn--outline:hover { background: #fff; color: var(--navy); }
.btn--ghost { background: transparent; border-color: var(--blue); color: var(--blue); }
.btn--ghost:hover { background: var(--blue); color: #fff; }
.btn--lg { padding: 16px 36px; font-size: 1.08rem; }
.btn--block { display: block; width: 100%; }

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255,255,255,.96);
  backdrop-filter: saturate(180%) blur(8px);
  border-bottom: 1px solid var(--line);
}
.topbar {
  background: var(--navy-dark);
  color: #c3d3e3;
  font-size: .84rem;
}
.topbar .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  min-height: 38px;
  flex-wrap: wrap;
}
.topbar a { color: #dce7f2; }
.topbar-info { display: flex; gap: 22px; flex-wrap: wrap; align-items: center; }
.topbar-info span { display: inline-flex; align-items: center; gap: 6px; }

.navbar { display: flex; align-items: center; justify-content: space-between; min-height: 72px; }
.brand { display: flex; align-items: center; gap: 12px; }
.brand:hover { text-decoration: none; }
.brand-mark {
  width: 44px; height: 44px; flex: 0 0 44px;
  border-radius: 9px;
  background: linear-gradient(135deg, var(--navy) 0%, var(--blue) 100%);
  color: #fff; font-weight: 800; font-size: 1.15rem;
  display: flex; align-items: center; justify-content: center;
  letter-spacing: .02em;
}
.brand-text { line-height: 1.1; }
.brand-name { font-weight: 800; color: var(--navy); font-size: 1.18rem; letter-spacing: .01em; }
.brand-sub { font-size: .72rem; color: var(--muted); text-transform: uppercase; letter-spacing: .08em; }

.nav-links { display: flex; align-items: center; gap: 6px; list-style: none; margin: 0; padding: 0; }
.nav-links a {
  color: var(--ink);
  font-weight: 600;
  font-size: .97rem;
  padding: 8px 14px;
  border-radius: 8px;
}
.nav-links a:hover { background: var(--blue-light); text-decoration: none; color: var(--navy); }
.nav-links a.active { color: var(--blue); }
.nav-cta { margin-left: 8px; }

.nav-toggle {
  display: none;
  background: none; border: none; cursor: pointer;
  padding: 8px; border-radius: 8px;
}
.nav-toggle span { display: block; width: 24px; height: 2px; background: var(--navy); margin: 5px 0; transition: .2s; }

/* ---------- Hero ---------- */
.hero {
  background:
    radial-gradient(1000px 500px at 85% -10%, rgba(31,111,178,.35), transparent 60%),
    linear-gradient(160deg, var(--navy-dark) 0%, var(--navy) 55%, var(--navy-light) 100%);
  color: #eaf1f8;
  padding: 84px 0;
}
.hero-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: 48px; align-items: center; }
.hero h1 { color: #fff; font-size: 2.9rem; margin-bottom: .4em; }
.hero p { color: #cdd9e6; font-size: 1.18rem; }
.hero .badge-row { display: flex; gap: 10px; flex-wrap: wrap; margin: 18px 0 26px; }
.hero .hero-cta { display: flex; gap: 14px; flex-wrap: wrap; }
.pill {
  display: inline-flex; align-items: center; gap: 7px;
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.18);
  color: #dbe7f3;
  padding: 6px 13px; border-radius: 999px; font-size: .84rem; font-weight: 600;
}
.pill .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--green); }

/* Hero card */
.hero-card {
  background: #fff;
  color: var(--ink);
  border-radius: var(--radius-lg);
  padding: 30px;
  box-shadow: var(--shadow-lg);
}
.hero-card h3 { color: var(--navy); }
.hero-card ul { list-style: none; padding: 0; margin: 0 0 20px; }
.hero-card li { display: flex; gap: 10px; padding: 9px 0; border-bottom: 1px dashed var(--line); color: var(--slate); }
.hero-card li:last-child { border-bottom: none; }
.check {
  flex: 0 0 22px; width: 22px; height: 22px; border-radius: 50%;
  background: var(--blue-light); color: var(--blue);
  display: flex; align-items: center; justify-content: center; font-weight: 800; font-size: .85rem;
}

/* ---------- Trust strip ---------- */
.trust-strip { background: var(--bg-soft); border-bottom: 1px solid var(--line); }
.trust-strip .container { display: flex; justify-content: space-around; gap: 24px; flex-wrap: wrap; padding: 26px 20px; text-align: center; }
.trust-item .num { font-size: 1.9rem; font-weight: 800; color: var(--navy); }
.trust-item .lbl { font-size: .9rem; color: var(--muted); }

/* ---------- Grid / Cards ---------- */
.grid { display: grid; gap: 26px; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }

.card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 30px;
  box-shadow: var(--shadow-sm);
  transition: transform .15s ease, box-shadow .2s ease;
  height: 100%;
}
.card:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.card .icon {
  width: 54px; height: 54px; border-radius: 12px;
  background: var(--blue-light); color: var(--blue);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.5rem; margin-bottom: 16px;
}
.card h3 { margin-bottom: .4em; }
.card p { color: var(--slate); margin-bottom: 0; }

/* ---------- Steps ---------- */
.steps { counter-reset: step; display: grid; grid-template-columns: repeat(4,1fr); gap: 24px; }
.step { position: relative; padding-top: 8px; }
.step .n {
  width: 46px; height: 46px; border-radius: 50%;
  background: var(--navy); color: #fff; font-weight: 800; font-size: 1.2rem;
  display: flex; align-items: center; justify-content: center; margin-bottom: 14px;
}
.step h3 { font-size: 1.15rem; }
.step p { color: var(--slate); margin: 0; }

/* ---------- Feature split ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; }
.split ul { list-style: none; padding: 0; margin: 18px 0 0; }
.split li { display: flex; gap: 12px; padding: 10px 0; color: var(--slate); }
.split .check { flex: 0 0 24px; width: 24px; height: 24px; }
.media-box {
  background: linear-gradient(160deg, var(--blue-light), #fff);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 34px;
  box-shadow: var(--shadow);
}
.media-box .kpi { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.media-box .kpi div { background: #fff; border: 1px solid var(--line); border-radius: 10px; padding: 16px; }
.media-box .kpi .v { font-size: 1.5rem; font-weight: 800; color: var(--navy); }
.media-box .kpi .k { font-size: .82rem; color: var(--muted); }

/* ---------- Pricing ---------- */
.price-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 26px; align-items: stretch; }
.plan { position: relative; display: flex; flex-direction: column; }
.plan.featured { border-color: var(--blue); box-shadow: var(--shadow); }
.plan .tag {
  position: absolute; top: -13px; left: 50%; transform: translateX(-50%);
  background: var(--gold); color: var(--navy-dark); font-size: .74rem; font-weight: 800;
  padding: 5px 14px; border-radius: 999px; text-transform: uppercase; letter-spacing: .05em;
}
.plan .price { font-size: 2.4rem; font-weight: 800; color: var(--navy); margin: 6px 0; }
.plan .price small { font-size: .95rem; font-weight: 600; color: var(--muted); }
.plan ul { list-style: none; padding: 0; margin: 16px 0 22px; flex: 1; }
.plan li { padding: 8px 0; color: var(--slate); border-bottom: 1px dashed var(--line); display: flex; gap: 10px; }
.plan li:last-child { border-bottom: none; }

/* ---------- Testimonials ---------- */
.quote { background:#fff; border:1px solid var(--line); border-radius: var(--radius-lg); padding: 28px; box-shadow: var(--shadow-sm); height: 100%; }
.quote p { font-style: italic; color: var(--slate); }
.quote .who { display: flex; align-items: center; gap: 12px; margin-top: 14px; }
.quote .avatar { width: 44px; height: 44px; border-radius: 50%; background: var(--navy); color:#fff; display:flex; align-items:center; justify-content:center; font-weight:800; }
.quote .who b { color: var(--navy); display:block; }
.quote .who span { font-size:.85rem; color: var(--muted); }
.stars { color: var(--gold); letter-spacing: 2px; }

/* ---------- FAQ ---------- */
.faq details {
  background:#fff; border:1px solid var(--line); border-radius: 10px;
  padding: 4px 20px; margin-bottom: 14px; box-shadow: var(--shadow-sm);
}
.faq summary {
  cursor: pointer; font-weight: 700; color: var(--navy);
  padding: 14px 0; list-style: none; position: relative; padding-right: 30px;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+"; position: absolute; right: 0; top: 12px;
  font-size: 1.4rem; color: var(--blue); font-weight: 400;
}
.faq details[open] summary::after { content: "\2212"; }
.faq details p { color: var(--slate); padding-bottom: 14px; margin: 0; }

/* ---------- CTA band ---------- */
.cta-band {
  background: linear-gradient(135deg, var(--blue) 0%, var(--navy) 100%);
  color: #fff; text-align: center; border-radius: var(--radius-lg);
  padding: 56px 32px; box-shadow: var(--shadow);
}
.cta-band h2 { color: #fff; }
.cta-band p { color: #d6e3f0; max-width: 640px; margin: 0 auto 24px; }

/* ---------- Forms ---------- */
.form-wrap {
  display: grid; grid-template-columns: 1fr .9fr; gap: 44px; align-items: start;
}
.form-card {
  background: #fff; border: 1px solid var(--line);
  border-radius: var(--radius-lg); padding: 36px; box-shadow: var(--shadow);
}
.field { margin-bottom: 18px; }
.field label { display: block; font-weight: 600; color: var(--navy); margin-bottom: 6px; font-size: .95rem; }
.field label .req { color: var(--danger); }
.field input, .field select, .field textarea {
  width: 100%; padding: 13px 14px; font-size: 1rem; font-family: inherit;
  border: 1.5px solid var(--line); border-radius: 10px; background: #fcfdfe; color: var(--ink);
  transition: border-color .15s ease, box-shadow .15s ease;
}
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; border-color: var(--blue); box-shadow: 0 0 0 3px rgba(31,111,178,.15); background:#fff;
}
.field textarea { min-height: 110px; resize: vertical; }
.field .hint { font-size: .82rem; color: var(--muted); margin-top: 5px; }
.field .error-msg { color: var(--danger); font-size: .84rem; margin-top: 5px; display: none; }
.field.invalid input, .field.invalid select { border-color: var(--danger); }
.field.invalid .error-msg { display: block; }
.checkbox-row { display: flex; gap: 10px; align-items: flex-start; margin-bottom: 20px; }
.checkbox-row input { width: auto; margin-top: 4px; flex: 0 0 auto; }
.checkbox-row label { font-weight: 500; color: var(--slate); font-size: .92rem; }
.form-note { font-size: .82rem; color: var(--muted); margin-top: 16px; text-align: center; }
.hp-field { position: absolute; left: -9999px; top: -9999px; height: 0; overflow: hidden; }

.form-success {
  display: none;
  background: #eafaf1; border: 1.5px solid #b6e6cd; color: #146c43;
  padding: 16px 18px; border-radius: 10px; margin-bottom: 18px; font-weight: 600;
}
.form-benefits { list-style: none; padding: 0; margin: 22px 0 0; }
.form-benefits li { display: flex; gap: 12px; padding: 12px 0; border-bottom: 1px dashed var(--line); color: var(--slate); }
.form-benefits li:last-child { border-bottom: none; }

/* ---------- Contact info ---------- */
.info-list { list-style: none; padding: 0; margin: 0; }
.info-list li { display: flex; gap: 14px; padding: 16px 0; border-bottom: 1px solid var(--line); }
.info-list li:last-child { border-bottom: none; }
.info-list .ic {
  flex: 0 0 42px; width: 42px; height: 42px; border-radius: 10px;
  background: var(--blue-light); color: var(--blue);
  display: flex; align-items: center; justify-content: center; font-size: 1.1rem;
}
.info-list b { color: var(--navy); display: block; }
.info-list span, .info-list a { color: var(--slate); }

/* ---------- Page header ---------- */
.page-head {
  background:
    radial-gradient(800px 380px at 90% -20%, rgba(31,111,178,.30), transparent 60%),
    linear-gradient(160deg, var(--navy-dark), var(--navy));
  color: #fff; padding: 56px 0;
}
.page-head h1 { color: #fff; margin-bottom: .3em; }
.page-head p { color: #cdd9e6; max-width: 720px; margin: 0; }
.breadcrumb { font-size: .86rem; color: #9fb6cc; margin-bottom: 14px; }
.breadcrumb a { color: #cfe0ee; }

/* ---------- Legal / prose ---------- */
.prose { max-width: 860px; }
.prose h2 { font-size: 1.5rem; margin-top: 2em; }
.prose h3 { font-size: 1.2rem; margin-top: 1.6em; }
.prose ul, .prose ol { padding-left: 22px; color: var(--slate); }
.prose li { margin-bottom: 8px; }
.prose p { color: var(--slate); }
.prose .updated { color: var(--muted); font-size: .9rem; font-style: italic; }
.prose table { width: 100%; border-collapse: collapse; margin: 1em 0; }
.prose th, .prose td { border: 1px solid var(--line); padding: 10px 12px; text-align: left; font-size: .95rem; }
.prose th { background: var(--bg-alt); color: var(--navy); }

/* ---------- Footer ---------- */
.site-footer { background: var(--navy-dark); color: #a9bccf; padding: 56px 0 26px; font-size: .94rem; }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.2fr; gap: 36px; }
.site-footer h4 { color: #fff; font-size: 1rem; margin-bottom: 16px; text-transform: uppercase; letter-spacing: .05em; }
.site-footer a { color: #a9bccf; }
.site-footer a:hover { color: #fff; }
.footer-links { list-style: none; padding: 0; margin: 0; }
.footer-links li { margin-bottom: 10px; }
.footer-brand .brand-mark { margin-bottom: 14px; }
.footer-brand p { color: #90a6ba; }
.footer-contact li { display: flex; gap: 10px; margin-bottom: 12px; }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.10); margin-top: 40px; padding-top: 22px;
  display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; font-size: .85rem; color: #7f95aa;
}
.footer-bottom a { color: #9fb2c6; }
.disclaimer { font-size: .8rem; color: #7f95aa; margin-top: 14px; line-height: 1.6; }

/* ---------- Utilities ---------- */
.mt-0 { margin-top: 0; }
.mb-0 { margin-bottom: 0; }
.mb-1 { margin-bottom: 12px; }
.mb-2 { margin-bottom: 24px; }
.mb-3 { margin-bottom: 36px; }
.hidden { display: none; }

/* ---------- Responsive ---------- */
@media (max-width: 960px) {
  .hero-grid, .split, .form-wrap { grid-template-columns: 1fr; gap: 32px; }
  .grid-4 { grid-template-columns: repeat(2,1fr); }
  .steps { grid-template-columns: repeat(2,1fr); }
  .price-grid { grid-template-columns: 1fr; max-width: 460px; margin: 0 auto; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  h1 { font-size: 2.1rem; } .hero h1 { font-size: 2.3rem; }
}
@media (max-width: 720px) {
  .nav-toggle { display: block; }
  .nav-links {
    position: absolute; top: 100%; left: 0; right: 0;
    flex-direction: column; align-items: stretch; gap: 0;
    background: #fff; border-bottom: 1px solid var(--line);
    padding: 10px 16px 18px; box-shadow: var(--shadow);
    display: none;
  }
  .nav-links.open { display: flex; }
  .nav-links a { padding: 12px 10px; border-bottom: 1px solid var(--line); border-radius: 0; }
  .nav-cta { margin: 10px 0 0; }
  .nav-cta .btn { display: block; text-align: center; }
  .topbar-info { gap: 12px; font-size: .78rem; }
  .grid-2, .grid-3, .grid-4, .steps { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .section { padding: 52px 0; }
}
@media (max-width: 420px) {
  body { font-size: 16px; }
  .hero h1 { font-size: 1.95rem; }
}
