/* ==========================================================================
   Taxxess — Music Filing Service
   Tax-prep-styled, music-themed static site. Headless: no self-hosted audio,
   everything "listen" links out to external platforms (see assets/js/data.js).
   ========================================================================== */

:root {
  --navy: #0a2540;
  --navy-dark: #061627;
  --blue: #0056b3;
  --blue-dark: #003d82;
  --blue-light: #e8f1fc;
  --green: #0a8754;
  --green-dark: #076b43;
  --green-light: #e7f6ee;
  --bg: #f5f6f8;
  --card: #ffffff;
  --ink: #16202b;
  --muted: #5b6472;
  --border: #dfe3e9;
  --mono: 'IBM Plex Mono', 'Roboto Mono', 'SFMono-Regular', Consolas, monospace;
  --sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --radius: 10px;
  --shadow-sm: 0 1px 3px rgba(10, 37, 64, 0.08);
  --shadow-md: 0 6px 20px rgba(10, 37, 64, 0.10);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--sans);
  background: var(--bg);
  color: var(--ink);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}

a {
  color: inherit;
}

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

.wrap {
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ---- Utility topbar (the running "revenue service" gag) ---- */

.topbar {
  background: var(--navy);
  color: #cfe0f5;
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.03em;
}

.topbar .wrap {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 7px;
  padding-bottom: 7px;
  gap: 12px;
}

.topbar .agency {
  font-weight: 600;
  color: #fff;
}

.topbar .status {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.topbar .status::before {
  content: '';
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #35d488;
  box-shadow: 0 0 0 3px rgba(53, 212, 136, 0.25);
}

@media (max-width: 560px) {
  .topbar .status-text-full {
    display: none;
  }
}

/* ---- Header / nav ---- */

.site-header {
  background: #fff;
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  z-index: 50;
}

.site-header .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 14px;
  padding-bottom: 14px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: var(--navy);
}

.brand-mark {
  width: 34px;
  height: 34px;
  border-radius: 8px;
  background: linear-gradient(135deg, var(--blue), var(--navy));
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-family: var(--mono);
  font-weight: 700;
  font-size: 15px;
  flex-shrink: 0;
}

.brand-word {
  font-weight: 800;
  font-size: 19px;
  letter-spacing: -0.01em;
}

.brand-sub {
  display: block;
  font-family: var(--mono);
  font-size: 10px;
  font-weight: 500;
  color: var(--muted);
  letter-spacing: 0.04em;
  margin-top: -2px;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 4px;
}

.main-nav a {
  text-decoration: none;
  color: var(--ink);
  font-weight: 600;
  font-size: 14.5px;
  padding: 9px 14px;
  border-radius: 7px;
  transition: background 0.15s, color 0.15s;
}

.main-nav a:hover {
  background: var(--blue-light);
  color: var(--blue-dark);
}

.main-nav a.active {
  color: var(--blue-dark);
  background: var(--blue-light);
}

.nav-toggle {
  display: none;
  background: none;
  border: 1px solid var(--border);
  border-radius: 7px;
  width: 40px;
  height: 40px;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

.nav-toggle span,
.nav-toggle span::before,
.nav-toggle span::after {
  content: '';
  display: block;
  width: 18px;
  height: 2px;
  background: var(--navy);
  position: relative;
  transition: transform 0.15s;
}

.nav-toggle span::before {
  position: absolute;
  top: -6px;
}

.nav-toggle span::after {
  position: absolute;
  top: 6px;
}

@media (max-width: 780px) {
  .nav-toggle {
    display: flex;
  }

  .main-nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: #fff;
    border-bottom: 1px solid var(--border);
    flex-direction: column;
    align-items: stretch;
    padding: 8px 16px 16px;
    display: none;
    box-shadow: var(--shadow-md);
  }

  .main-nav.open {
    display: flex;
  }

  .main-nav a {
    padding: 12px 10px;
  }
}

/* ---- Form-badge chip (the recurring "official form number" gag) ---- */

.form-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--mono);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: var(--blue-dark);
  background: var(--blue-light);
  border: 1px solid #c9dff5;
  padding: 5px 12px;
  border-radius: 999px;
  text-transform: uppercase;
}

.form-badge.green {
  color: var(--green-dark);
  background: var(--green-light);
  border-color: #bfe6d2;
}

/* ---- Hero ---- */

.hero {
  background: linear-gradient(160deg, var(--navy) 0%, var(--blue-dark) 60%, var(--blue) 100%);
  color: #fff;
  padding: 72px 0 90px;
  position: relative;
  overflow: hidden;
}

.hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.05) 1px, transparent 1px);
  background-size: 42px 42px;
  mask-image: linear-gradient(180deg, rgba(0,0,0,0.6), transparent 80%);
  pointer-events: none;
}

.hero .wrap {
  position: relative;
}

.hero-content {
  max-width: 620px;
}

.hero h1 {
  font-size: clamp(2.2rem, 5vw, 3.4rem);
  line-height: 1.08;
  margin: 18px 0 16px;
  font-weight: 800;
  letter-spacing: -0.02em;
}

.hero p.lede {
  font-size: 1.15rem;
  color: #cfe0f5;
  margin: 0 0 30px;
  max-width: 520px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

/* ---- Buttons ---- */

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 700;
  font-size: 14.5px;
  padding: 13px 22px;
  border-radius: 8px;
  text-decoration: none;
  border: 2px solid transparent;
  cursor: pointer;
  transition: transform 0.12s, box-shadow 0.12s, background 0.12s;
}

.btn:hover {
  transform: translateY(-1px);
}

.btn-primary {
  background: var(--green);
  color: #fff;
  box-shadow: 0 4px 14px rgba(10, 135, 84, 0.35);
}

.btn-primary:hover {
  background: var(--green-dark);
}

.btn-ghost {
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
  border-color: rgba(255, 255, 255, 0.4);
}

.btn-ghost:hover {
  background: rgba(255, 255, 255, 0.16);
}

.btn-outline {
  background: transparent;
  color: var(--blue-dark);
  border-color: var(--blue);
}

.btn-outline:hover {
  background: var(--blue-light);
}

.btn-sm {
  padding: 8px 14px;
  font-size: 13px;
  border-radius: 7px;
}

.btn[disabled],
.btn.is-disabled {
  opacity: 0.5;
  cursor: not-allowed;
  pointer-events: none;
}

/* ---- Steps strip (the TurboTax-style progress motif) ---- */

.steps {
  background: #fff;
  border-bottom: 1px solid var(--border);
}

.steps ol {
  list-style: none;
  margin: 0;
  padding: 16px 0;
  display: flex;
  gap: 0;
  overflow-x: auto;
}

.steps li {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
  padding-right: 28px;
  font-size: 13.5px;
  font-weight: 600;
  color: var(--muted);
}

.steps li:not(:last-child)::after {
  content: '';
  width: 28px;
  height: 1px;
  background: var(--border);
  margin-left: 18px;
}

.steps .step-num {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: var(--border);
  color: #fff;
  font-family: var(--mono);
  font-size: 11.5px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.steps li.done .step-num {
  background: var(--green);
}

.steps li.current .step-num {
  background: var(--blue);
}

.steps li.current {
  color: var(--navy);
}

.steps li.done {
  color: var(--ink);
}

/* ---- Sections ---- */

section {
  padding: 64px 0;
}

.section-head {
  margin-bottom: 34px;
  max-width: 640px;
}

.section-head .form-badge {
  margin-bottom: 14px;
}

.section-head h2 {
  font-size: clamp(1.6rem, 3vw, 2.1rem);
  margin: 0 0 10px;
  letter-spacing: -0.01em;
}

.section-head p {
  color: var(--muted);
  margin: 0;
  font-size: 1.02rem;
}

.section-alt {
  background: #fff;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

/* ---- Trust / feature cards ---- */

.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

@media (max-width: 780px) {
  .feature-grid {
    grid-template-columns: 1fr;
  }
}

.feature-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 26px;
  box-shadow: var(--shadow-sm);
}

.feature-card .icon {
  width: 42px;
  height: 42px;
  border-radius: 9px;
  background: var(--green-light);
  color: var(--green-dark);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  margin-bottom: 14px;
}

.feature-card h3 {
  margin: 0 0 8px;
  font-size: 1.05rem;
}

.feature-card p {
  margin: 0;
  color: var(--muted);
  font-size: 0.94rem;
}

/* ---- "Filing line item" table (releases / listen page) ---- */

.filing-table {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}

.filing-row {
  display: grid;
  grid-template-columns: 56px 1fr auto;
  gap: 18px;
  align-items: center;
  padding: 18px 22px;
  border-bottom: 1px solid var(--border);
}

.filing-row:last-child {
  border-bottom: none;
}

.filing-row:hover {
  background: #fafbfc;
}

.line-no {
  font-family: var(--mono);
  color: var(--muted);
  font-size: 13px;
}

.filing-main .filing-title {
  font-weight: 700;
  font-size: 1rem;
  margin: 0 0 4px;
}

.filing-main .filing-meta {
  font-family: var(--mono);
  font-size: 11.5px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--muted);
}

.filing-links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: flex-end;
}

.platform-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 12.5px;
  font-weight: 700;
  padding: 8px 12px;
  border-radius: 7px;
  text-decoration: none;
  border: 1px solid var(--border);
  color: var(--ink);
  background: #fff;
  transition: border-color 0.12s, background 0.12s;
}

.platform-btn:hover {
  border-color: var(--blue);
  background: var(--blue-light);
  color: var(--blue-dark);
}

.filing-pending {
  font-family: var(--mono);
  font-size: 12px;
  color: var(--muted);
  font-style: italic;
}

@media (max-width: 620px) {
  .filing-row {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .line-no {
    display: none;
  }

  .filing-links {
    justify-content: flex-start;
  }
}

/* ---- Callout / confirmation card ---- */

.card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  padding: 36px;
}

.card-center {
  max-width: 560px;
  margin: 0 auto;
  text-align: center;
}

.stamp {
  display: inline-block;
  font-family: var(--mono);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--green-dark);
  border: 2px dashed var(--green);
  border-radius: 8px;
  padding: 6px 14px;
  transform: rotate(-3deg);
  margin-bottom: 18px;
}

/* ---- CTA banner ---- */

.cta-banner {
  background: linear-gradient(135deg, var(--green-dark), var(--green));
  color: #fff;
  border-radius: 16px;
  padding: 48px 40px;
  text-align: center;
}

.cta-banner h2 {
  margin: 0 0 10px;
  font-size: clamp(1.5rem, 3vw, 2rem);
}

.cta-banner p {
  margin: 0 0 26px;
  color: #dff5ea;
}

/* ---- Field-style rows (about page "filer information") ---- */

.field-row {
  display: grid;
  grid-template-columns: 180px 1fr;
  gap: 20px;
  padding: 16px 0;
  border-bottom: 1px solid var(--border);
}

.field-row:last-child {
  border-bottom: none;
}

.field-label {
  font-family: var(--mono);
  font-size: 11.5px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--muted);
  padding-top: 2px;
}

@media (max-width: 620px) {
  .field-row {
    grid-template-columns: 1fr;
    gap: 6px;
  }
}

/* ---- Contact ---- */

.contact-methods {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 16px;
  margin-top: 26px;
}

.contact-method {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 20px;
  text-decoration: none;
  color: var(--ink);
  background: #fff;
  transition: border-color 0.12s, transform 0.12s;
}

.contact-method:hover {
  border-color: var(--blue);
  transform: translateY(-2px);
}

.contact-method .label {
  font-family: var(--mono);
  font-size: 11px;
  text-transform: uppercase;
  color: var(--muted);
  letter-spacing: 0.05em;
  margin-bottom: 6px;
}

.contact-method .value {
  font-weight: 700;
}

/* ---- Footer ---- */

.site-footer {
  background: var(--navy);
  color: #b9c9dd;
  padding: 48px 0 24px;
  font-size: 14px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 32px;
  padding-bottom: 32px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

@media (max-width: 700px) {
  .footer-grid {
    grid-template-columns: 1fr;
  }
}

.footer-grid h4 {
  color: #fff;
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin: 0 0 14px;
}

.footer-grid ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.footer-grid li {
  margin-bottom: 9px;
}

.footer-grid a {
  color: #b9c9dd;
  text-decoration: none;
}

.footer-grid a:hover {
  color: #fff;
}

.footer-brand p {
  color: #8fa3bd;
  max-width: 320px;
  margin: 12px 0 0;
}

.social-row {
  display: flex;
  gap: 10px;
  margin-top: 16px;
}

.social-row a {
  width: 36px;
  height: 36px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
}

.social-row a:hover {
  background: rgba(255, 255, 255, 0.18);
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px;
  padding-top: 22px;
  font-size: 12.5px;
  color: #8098b6;
  font-family: var(--mono);
}

.footer-bottom a {
  color: #8098b6;
  text-decoration: none;
}

.footer-bottom a:hover {
  color: #fff;
}

/* ---- Misc utility ---- */

.center {
  text-align: center;
}

.mt-lg {
  margin-top: 40px;
}

.muted {
  color: var(--muted);
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}
