/* ============================================================
   TRUTAXA — Clean White · Blue · Green · Coral
   ============================================================ */

/* ── Reset ──────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
img { max-width: 100%; height: auto; display: block; }
a   { color: inherit; text-decoration: none; }
ul  { list-style: none; }

/* ── Tokens ─────────────────────────────────────────────────── */
:root {
  /* Deep navy-blues to sit with The Square Penny logo (navy #00142F).
     Previous brighter set: #4B7BF5 / #3665E0 / #7FABFF / #EEF3FF / #F5F8FF */
  --blue:        #1F3E72;
  --blue-dark:   #142B52;
  --blue-mid:    #5C79A8;
  --blue-light:  #E8EDF5;
  --blue-pale:   #F3F6FA;

  --green:       #1DBF78;
  --green-dark:  #18A566;
  --green-light: #E8FAF2;

  --coral:       #F5687A;
  --coral-dark:  #E05468;
  --coral-light: #FEF0F3;

  --bronze:       #8F6B45;   /* muted bronze accent (process icons, arrows, eyebrows) */
  --bronze-light: #F5EEE6;

  --white:       #FFFFFF;
  --off-white:   #F8F9FB;
  --border:      #E8ECF4;
  --border-light:#F0F3FA;

  --text:        #1A2340;
  --text-mid:    #596180;
  --text-light:  #666E88;   /* was #9BA4BC; darkened to pass WCAG AA contrast (audit H5, 2026-11-05) */

  --font:        'Inter', system-ui, sans-serif;
  --font-display:'DM Serif Display', Georgia, serif;

  --max-w:       1140px;
  --r:           12px;
  --r-sm:        8px;
  --r-lg:        20px;
  --r-pill:      999px;
  --transition:  0.18s ease;
  --shadow-sm:   0 2px 8px rgba(74,123,245,0.07);
  --shadow:      0 6px 24px rgba(74,123,245,0.10);
  --shadow-md:   0 12px 40px rgba(26,35,64,0.10);
}

/* ── Base ───────────────────────────────────────────────────── */
html { scroll-behavior: smooth; }
body {
  font-family: var(--font);
  color: var(--text);
  background: var(--white);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

/* ── Typography ─────────────────────────────────────────────── */
/* Headings use the home page's navy serif everywhere (was Inter, var(--text), letter-spacing -0.03em / -0.025em) */
h1 {
  font-family: 'Newsreader', Georgia, serif;
  font-size: clamp(2.4rem, 5vw, 3.6rem);
  font-weight: 700;
  line-height: 1.12;
  letter-spacing: -0.01em;
  color: var(--blue-dark);
}
h2 {
  font-family: 'Newsreader', Georgia, serif;
  font-size: clamp(2rem, 3.6vw, 2.8rem);
  font-weight: 700;
  line-height: 1.18;
  letter-spacing: -0.01em;
  color: var(--blue-dark);
}
h3 { font-size: 1.05rem; font-weight: 600; color: var(--text); }
/* "Skip to main content": hidden until a keyboard user tabs to it (audit L4) */
.skip-link { position: absolute; left: 12px; top: -60px; z-index: 1000; padding: 10px 16px; border-radius: 8px;
             background: var(--blue-dark); color: #fff; font-weight: 600; text-decoration: none; }
.skip-link:focus { top: 12px; }
main:focus { outline: none; }
/* An h2 that looks like an h3, where a page would otherwise skip from h1 to h3 (audit M6) */
h2.as-h3 { font-family: inherit; font-size: 1.05rem; font-weight: 600; line-height: inherit; letter-spacing: normal; color: var(--text); }
p  { color: var(--text-mid); line-height: 1.78; }

/* ── Container ──────────────────────────────────────────────── */
.container {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 32px;
}

section { padding: 88px 0; }

/* ── Eyebrow ────────────────────────────────────────────────── */
.eyebrow {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--blue-dark);
  margin-bottom: 14px;
  background: var(--bronze-light);
  padding: 4px 14px;
  border-radius: var(--r-pill);
}
.eyebrow.bronze-text { color: var(--bronze); }
.eyebrow.blue-bg { background: var(--blue-light); color: var(--blue); }

/* ── Buttons ────────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font);
  font-size: 0.9rem;
  font-weight: 600;
  padding: 13px 26px;
  border-radius: var(--r-sm);
  border: 2px solid transparent;
  cursor: pointer;
  transition: all var(--transition);
  white-space: nowrap;
}

.btn-blue {
  background: var(--blue);
  color: var(--white);
  border-color: var(--blue);
  box-shadow: 0 4px 14px rgba(31,62,114,0.28);
}
.btn-blue:hover { background: var(--blue-dark); border-color: var(--blue-dark); box-shadow: 0 6px 20px rgba(31,62,114,0.36); transform: translateY(-1px); }

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

.btn-coral {
  background: var(--coral);
  color: var(--white);
  border-color: var(--coral);
  box-shadow: 0 4px 14px rgba(247,108,94,0.28);
}
.btn-coral:hover { background: var(--coral-dark); border-color: var(--coral-dark); transform: translateY(-1px); }

.btn-green {
  background: var(--green);
  color: var(--white);
  border-color: var(--green);
  box-shadow: 0 4px 14px rgba(29,184,133,0.28);
}
.btn-green:hover { background: var(--green-dark); border-color: var(--green-dark); transform: translateY(-1px); }

.btn-ghost {
  background: transparent;
  color: var(--blue);
  border-color: transparent;
  padding-left: 4px; padding-right: 4px;
}
.btn-ghost:hover { color: var(--blue-dark); }

.btn-sm { padding: 9px 18px; font-size: 0.83rem; }
.btn-lg { padding: 10px 24px; font-size: 0.85rem; }

/* ── Nav ────────────────────────────────────────────────────── */
.site-header {
  position: sticky;
  top: 0;
  padding-top: 0;
  z-index: 200;
  background: rgba(255,255,255,0.52);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(15,23,42,0.05);
  box-shadow: none;
}

.header-inner {
  display: flex;
  align-items: center;
  height: 84px;
  gap: 8px;
}

.logo {
  flex-shrink: 0;
  margin-left: 0px;
  padding-top: 0;
}

.logo-tagline { display: none; }

.logo-img {
  height: 62px;   /* wide horizontal logo (owner 2026-10-29); smaller on narrow screens below */
  width: auto;
  display: block;
}
@media (max-width: 1100px) { .logo-img { height: 50px; } }
@media (max-width: 1000px) {   /* tablets: keep the menu on one line */
  .logo-img { height: 40px; }
  .nav-links a { padding: 6px 7px; white-space: nowrap; }
  .nav-auth a { white-space: nowrap; }
}
@media (max-width: 480px)  { .logo-img { height: 40px; } }

/* Saved fountain pen underline — restore by replacing .logo-accent below:
   position: relative;
   ::after { content:''; position:absolute; left:0; right:0; bottom:-5px; height:6px;
   background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 6' preserveAspectRatio='none'%3E%3Cpath d='M0,4 C28,1 55,6 100,3' stroke='%234B7BF5' stroke-width='1.5' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
   background-repeat:no-repeat; background-size:100% 100%; }
*/
.logo-accent {
  background: #D3E3EF;
  border-radius: 3px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 2px;
  margin-left: 28px;
}
.header-inner > nav { margin-left: auto; }   /* menu sits beside the Get Started button (owner 2026-10-29) */
.nav-links a {
  font-size: 0.88rem;
  font-weight: 500;
  color: var(--text-mid);
  padding: 6px 9px;   /* a little tighter now Home is in the menu (owner 2026-11-05; was 6px 12px) */
  border-radius: var(--r-sm);
  transition: color var(--transition), background var(--transition);
}
.nav-links a:hover { color: var(--text); background: var(--off-white); }

/* "Tax Preparation" dropdown (built by script.js) */
.nav-links li.has-sub { position: relative; }
.nav-links li.has-sub > a::after { content: ''; display: inline-block; width: 6px; height: 6px; margin-left: 7px; border-right: 1.5px solid currentColor; border-bottom: 1.5px solid currentColor; transform: translateY(-3px) rotate(45deg); opacity: 0.7; }
.nav-sub { position: absolute; top: 100%; left: 0; min-width: 270px; padding: 8px; margin-top: 6px; background: var(--white); border: 1px solid var(--border); border-radius: var(--r); box-shadow: 0 12px 32px rgba(15,23,42,0.12); display: none; flex-direction: column; z-index: 300; }
.nav-sub::before { content: ''; position: absolute; left: 0; right: 0; top: -10px; height: 10px; }   /* hover bridge */
.nav-links li.has-sub:hover .nav-sub, .nav-links li.has-sub:focus-within .nav-sub { display: flex; }
.nav-sub a { display: block; padding: 9px 12px; white-space: nowrap; }
.nav-sub a.sub-first { font-weight: 600; color: var(--blue-dark); border-bottom: 1px solid var(--border-light); margin-bottom: 4px; border-radius: var(--r-sm) var(--r-sm) 0 0; }
.nav-drawer a.nav-drawer-sub { padding-left: 18px; font-size: 0.9rem; color: var(--text-mid); }

.nav-auth { margin-left: 18px; display: flex; align-items: center; gap: 10px; }

.btn-nav-login {
  font-size: 0.88rem; font-weight: 500; color: var(--text-mid); padding: 7px 12px;
  border-radius: var(--r-sm); transition: color var(--transition);
}
.btn-nav-login:hover { color: var(--text); }

.nav-divider { color: var(--border); }

.btn-nav-register {
  font-size: 0.88rem; font-weight: 600; background: var(--blue); color: var(--white);
  padding: 9px 18px; border-radius: var(--r-sm); transition: background var(--transition), transform var(--transition);
}
.btn-nav-register:hover { background: var(--blue-dark); transform: translateY(-1px); }

.nav-toggle {
  display: none; flex-direction: column; gap: 5px; background: none;
  border: none; cursor: pointer; padding: 6px; margin-left: auto;
}
.nav-toggle span { display: block; width: 22px; height: 2px; background: var(--text); border-radius: 2px; transition: transform 0.2s, opacity 0.2s; }
.nav-toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.nav-drawer {
  display: none; flex-direction: column; background: var(--white);
  border-top: 1px solid var(--border-light); padding: 16px 32px 24px; gap: 4px;
}
.nav-drawer.open { display: flex; }
.nav-drawer a { font-size: 0.95rem; font-weight: 500; color: var(--text-mid); padding: 11px 0; border-bottom: 1px solid var(--border-light); }
.nav-drawer-auth { display: flex; flex-direction: column; gap: 10px; margin-top: 14px; }
.nav-drawer .nav-drawer-auth a.btn-nav-register { color: var(--white); text-align: center; padding: 12px 18px; border-bottom: 0; font-weight: 600; }

/* ── Hero ───────────────────────────────────────────────────── */
/* Saved atmospheric hero background — restore by replacing `background` and
   `border-bottom` below with these, and removing the `.hero::before { display:none }` rule:
   background:
    linear-gradient(180deg, rgba(255,255,255,0.92) 0%, rgba(255,255,255,0) 16%),
    linear-gradient(180deg, transparent 25%, rgba(232,237,245,0.92) 62%, #E8EDF5 100%),
    radial-gradient(ellipse at 80% 38%, rgba(31,62,114,0.28) 0%, transparent 52%),
    radial-gradient(ellipse at 90% 85%, rgba(31,62,114,0.18) 0%, transparent 44%),
    radial-gradient(ellipse at 14% 82%, rgba(29,191,123,0.10) 0%, transparent 38%),
    radial-gradient(ellipse at 95% 8%,  rgba(245,104,122,0.08) 0%, transparent 30%),
    #FFFFFF;
   border-bottom: none;
*/
.hero {
  position: relative;
  background: #F5F2EC;                               /* warm ivory to meet the pale wood of the medallion photo (was var(--blue-pale)) */
  padding: 72px 0 64px;
  border-bottom: 1px solid var(--border-light);
  overflow: hidden;
}
.hero::before { display: none; }                     /* the drifting glow belongs to the saved background */

/* Medallion photo on the right, full hero height, fading into the ivory on its left.
   hero-coin.jpg has extra wood added top and bottom so the coin shows at 85% size. */
.hero-medallion {
  position: absolute;
  /* Shown a little smaller (owner 2026-10-29: penny "a little in your face"); was full height and
     width max(47.6%, min(560px, 54%)) with a left/right fade only. Now fades on all four sides. */
  /* The whole photo scales with the window, nothing trimmed (owner 2026-11-08): the box keeps the
     photo's shape and sits centred top to bottom (was top: 9%; bottom: 9%, which cropped the sides on small laptops). */
  top: 50%; transform: translateY(-50%); aspect-ratio: 1200 / 677;
  right: clamp(0px, 12vw - 60px, 220px);   /* moved in from the right edge on wide screens, toward the text */
  width: max(39%, min(460px, 45%));
  z-index: 0;
  pointer-events: none;
  border-radius: 6px; overflow: hidden;              /* very slightly rounded corners (owner) */
  /* a light, narrow fade on all four sides (owner 2026-11-04: "a little blur on all sides") */
  -webkit-mask-image: linear-gradient(90deg, transparent 0%, #000 4%, #000 96%, transparent 100%),   /* left and right sides narrower (owner) */
                      linear-gradient(180deg, transparent 0%, #000 12%, #000 88%, transparent 100%),   /* top and bottom a little softer (owner) */
                      radial-gradient(farthest-corner at 50% 50%, #000 88%, transparent 100%);   /* corners a touch softer (owner) */
  -webkit-mask-composite: source-in, source-in;
          mask-image: linear-gradient(90deg, transparent 0%, #000 4%, #000 96%, transparent 100%),
                      linear-gradient(180deg, transparent 0%, #000 12%, #000 88%, transparent 100%),
                      radial-gradient(farthest-corner at 50% 50%, #000 88%, transparent 100%);
          mask-composite: intersect, intersect;
}
.hero-medallion-layer {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 56% 50%;                          /* hero-desk.jpg = owner's heropenny.png turned 2° left; the box now matches the photo's shape, so nothing is cropped */
  opacity: 0.88;                                     /* faded very slightly into the ivory */
}
.hero .hero-sculpture { min-height: 400px; }

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 74% 46%, rgba(31,62,114,0.18) 0%, transparent 52%);
  animation: heroAtmosphere 12s ease-in-out infinite;
  pointer-events: none;
  z-index: 0;
}

@keyframes heroAtmosphere {
  0%,  100% { opacity: 1;    transform: scale(1)    translate(0%,  0%); }
  33%        { opacity: 0.72; transform: scale(1.05) translate(2%,  1%); }
  66%        { opacity: 0.88; transform: scale(0.97) translate(-1%, 2%); }
}

.hero-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
  position: relative;
  z-index: 1;
}
.hero-content {
  padding-top: 0;
}
.hero-sculpture {
  display: flex;
  justify-content: center;
  align-items: center;
}
.sculpture-svg {
  width: 100%;
  max-width: 300px;
  max-height: 280px;
  object-fit: contain;
  animation: sculpturePulse 9s ease-in-out infinite;
}
.sculpture-glow {
  animation: glowDrift 9s ease-in-out infinite;
  transform-origin: 50% 50%;
}
@keyframes sculpturePulse {
  0%,100% { opacity: 1; }
  50%      { opacity: 0.82; }
}
@keyframes glowDrift {
  0%,100% { transform: scale(1)    translate(0px, 0px); }
  33%     { transform: scale(1.06) translate(6px, 4px);  }
  66%     { transform: scale(0.96) translate(-4px, 6px); }
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--blue-light);
  border: 1px solid rgba(31,62,114,0.18);
  border-radius: var(--r-pill);
  padding: 6px 14px;
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--blue);
  margin-bottom: 22px;
}
.hero-badge-dot { width: 6px; height: 6px; border-radius: 50%; background: var(--green); }

.hero h1 { margin-bottom: 8px; line-height: 1.1; }
.hero h1 .hero-label { font-family: 'Newsreader', Georgia, serif; font-size: clamp(2.3rem, 4.2vw, 3.5rem); font-weight: 700; color: var(--blue-dark); display: block; margin-bottom: 0; letter-spacing: -0.01em; }
.hero h1 span {
  font-family: 'Inter', system-ui, sans-serif;
  color: #000;
  font-weight: 700;
  font-size: 1em;
}

.hero-sub-lead {
  display: block;
  font-family: 'Newsreader', Georgia, serif;
  font-size: clamp(1.3rem, 2vw, 1.6rem);
  font-weight: 400;
  line-height: 1.3;
  color: var(--blue);
  margin-bottom: 14px;
}

.hero-sub {
  font-size: 1.08rem;
  color: var(--text);
  max-width: 540px;
  margin-bottom: 16px;
  padding-left: 6px;
}

.hero-actions { display: flex; gap: 12px; flex-wrap: wrap; align-items: center; }
/* Same size, line spacing and width as the paragraph above it (.hero-sub) */
.hero-next { font-size: 1.08rem; color: var(--text); max-width: 500px; margin: 0 0 24px; padding-left: 6px; line-height: 1.78; }
.hero-next + .hero-actions { margin-bottom: 4px; }
/* One line: IRS Enrolled Agent • 29 States Served • Year-Round Support */
.hero-trust-line { margin-top: 16px; padding-top: 12px; padding-left: 6px; border-top: 1px solid var(--border-light); font-size: 0.85rem; font-weight: 500; color: var(--text-mid); white-space: nowrap; line-height: 1.5; }
.hero-trust-line .dot { color: var(--bronze); margin: 0 6px; }
.hero-trust-line .nowrap { white-space: nowrap; }
@media (max-width: 640px) { .hero-trust-line { font-size: 0.78rem; padding-left: 0; white-space: normal; } .hero-trust-line .dot { margin: 0 3px; }
  .hero-trust-line .trust-first { display: block; } .hero-trust-line .dot-first { display: none; } }
.hero-content { min-width: 0; }
/* Log in: lighter than the Get Started button so it doesn't compete with it */
.btn-login { background: var(--white); color: var(--blue-dark); border: 1.5px solid #b9c6dc; }
.btn-login:hover { border-color: var(--blue); background: var(--blue-pale); }
/* Small Log in at the top right, beside the menu */
.nav-login {
  font-size: 0.8rem; font-weight: 600; color: var(--blue-dark); background: var(--blue-pale);
  padding: 6px 12px; border-radius: var(--r-sm); margin-left: 10px; white-space: nowrap;
}
.nav-login:hover { background: var(--border-light); }

.hero-trust {
  display: flex;
  align-items: center;
  gap: 18px;
  margin-top: 12px;
  padding-top: 12px;
  border-top: 1px solid var(--border-light);
  flex-wrap: wrap;
}

.hero-trust-item {
  display: flex;
  align-items: center;
  gap: 7px;
  font-size: 0.82rem;
  font-weight: 500;
  color: var(--text-mid);
}

.hero-trust-check {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--bronze-light);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
/* CSS stroke overrides the ticks' inline green stroke */
.hero-trust-check svg { stroke: var(--bronze); }

.hero-illustration { position: relative; display: flex; justify-content: center; align-items: center; }
.hero-video { width: 100%; max-width: 560px; border-radius: 12px; display: block; object-fit: cover; }

.hero-photo {
  width: 100%;
  max-width: 480px;
  height: auto;
  border-radius: var(--r-lg);
  object-fit: cover;
}

/* ── States section ─────────────────────────────────────────── */
.states-section {
  background: #ffffff;
  border-top: 1px solid rgba(31,62,114,0.09);
  border-bottom: 1px solid rgba(31,62,114,0.09);
  box-shadow: 0 -16px 48px rgba(31,62,114,0.07);
  padding: 28px 0;
}

.states-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 36px;
  flex-wrap: wrap;
}

.states-left h2 { margin-bottom: 10px; padding-left: 6px; }
.states-left p  { max-width: 500px; padding-left: 6px; }
/* The served states as text (screen readers, color-blind visitors); the map is drawn from this list */
.states-left h3.states-list-h { font-family: var(--font); font-size: 0.78rem; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase;
                                color: var(--blue-dark); margin: 14px 0 6px; padding-left: 6px; }
.states-list { display: flex; flex-wrap: wrap; gap: 4px 14px; max-width: 560px; padding-left: 6px; font-size: 0.85rem; color: var(--text-mid); }
.states-left { min-width: 0; }

.states-map-wrap {
  display: none;
  margin-top: 40px;
  padding-top: 40px;
  border-top: 1px solid rgba(31,62,114,0.15);
}
.states-map-wrap.open { display: block; }

/* ── How it works / Progress ────────────────────────────────── */
.process-section { background: var(--white); padding: 36px 0 20px; }

.process-cards {
  display: grid;
  grid-template-columns: 1fr auto 1fr auto 1fr auto 1fr;
  gap: 0;
  align-items: start;
}

.process-card {
  background: var(--white);
  border: 1px solid var(--border-light);
  border-radius: 10px;
  padding: 28px 24px;
  box-shadow: 0 4px 20px rgba(27,58,92,0.16);
}

.process-card-icon {
  margin-bottom: 14px;
}
/* CSS stroke overrides the icons' inline stroke="var(--blue)" */
.process-card-icon svg { stroke: var(--bronze); }
.process-card-icon svg.illus { stroke: none; display: block; }   /* illustrated icons carry their own colors */
/* Home page illustrated icons: 25% smaller than drawn (64px → 48px) */
.process-card-icon svg.illus, .service-icon.illus-icon svg.illus { width: 48px; height: 48px; }

.process-card-title {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--blue-dark);
  margin-bottom: 8px;
  font-family: 'Inter', system-ui, sans-serif;
}

.process-card-desc {
  font-size: 0.88rem;
  color: var(--text-mid);
  line-height: 1.55;
  margin: 0;
}

.process-card-arrow {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 10px;
  margin-top: 40px;
  color: var(--bronze);
  font-size: 1.2rem;
  opacity: 0.75;
}

@media (max-width: 860px) {
  .process-cards {
    grid-template-columns: 1fr;
  }
  .process-card-arrow {
    transform: rotate(90deg);
    margin: 4px auto;
  }
}

.process-section .section-header { text-align: center; margin-bottom: 24px; }
.section-header h2 { margin-bottom: 10px; }
.section-header p  { max-width: 500px; margin: 0 auto; font-size: 1rem; }

.progress-bar-wrap {
  position: relative;
  padding: 0 0 48px;
}

/* Connecting line */
.progress-bar-wrap::before {
  content: '';
  position: absolute;
  top: 28px;
  left: calc(100% / 12);
  right: calc(100% / 12);
  height: 2px;
  background: linear-gradient(90deg, var(--blue) 0%, var(--green) 50%, var(--coral) 100%);
  opacity: 0.35;
}

.progress-steps {
  display: grid;
  grid-template-columns: repeat(8, 1fr);
  gap: 0;
  position: relative;
}

.progress-step {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 0 8px;
  position: relative;
}

.step-circle {
  width: 58px;
  height: 58px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 16px;
  position: relative;
  z-index: 1;
  flex-shrink: 0;
}

.step-circle.blue,
.step-circle.green,
.step-circle.coral {
  background: #ffffff;
  box-shadow: 0 2px 12px rgba(31,62,114,0.14);
}

.step-circle.blue::before,
.step-circle.green::before,
.step-circle.coral::before {
  content: '';
  position: absolute;
  inset: -3px;
  border-radius: 50%;
  background: conic-gradient(#1F3E72 0deg 270deg, rgba(31,62,114,0.14) 270deg 360deg);
  -webkit-mask: radial-gradient(farthest-side, transparent calc(100% - 3px), black calc(100% - 3px));
  mask: radial-gradient(farthest-side, transparent calc(100% - 3px), black calc(100% - 3px));
}

.step-circle svg { stroke: #1F3E72; }

.step-label {
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 6px;
  line-height: 1.3;
}

.step-desc {
  font-size: 0.78rem;
  color: var(--text-light);
  line-height: 1.5;
}

/* ── Services cards ─────────────────────────────────────────── */
.services-section { background: var(--off-white); }

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

.service-card {
  background: var(--white);
  border: 1px solid var(--border-light);
  border-radius: var(--r-lg);
  padding: 32px 28px 36px;
  transition: box-shadow var(--transition), transform var(--transition), border-color var(--transition);
}
.service-card:hover { box-shadow: var(--shadow); transform: translateY(-3px); border-color: var(--blue-light); }

.service-icon {
  width: 48px; height: 48px; border-radius: var(--r);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 20px;
}
.service-icon.blue  { background: var(--blue-light);  color: var(--blue); }
.service-icon.green { background: var(--green-light); color: var(--green); }
.service-icon.coral { background: var(--coral-light); color: var(--coral); }
.service-icon.bronze { background: var(--bronze-light); color: var(--blue); }
/* Illustrated icons: no tinted box behind them */
.service-icon.illus-icon { width: auto; height: auto; background: none; justify-content: flex-start; margin-bottom: 16px; }
.service-row-icon.illus-icon { width: 60px; height: 60px; }
.service-row-icon svg.illus { width: 60px; height: 60px; }

.service-card h3 { margin-bottom: 10px; }
.service-card p  { font-size: 0.9rem; }

.service-link {
  display: inline-flex; align-items: center; gap: 4px;
  margin-top: 18px; font-size: 0.85rem; font-weight: 600;
  color: var(--blue); transition: gap var(--transition);
}
.service-link:hover { gap: 8px; }

/* ── How It Works page ──────────────────────────────────────── */
.hiw-page { padding: 48px 0 72px; background: var(--white); }

.hiw-stages {
  display: flex;
  flex-direction: column;
  gap: 0;
  border: 1px solid var(--border-light);
  border-radius: 12px;
  overflow: hidden;
  margin-bottom: 40px;
}

.hiw-stage {
  display: grid;
  grid-template-columns: 64px 1fr;
  gap: 24px;
  padding: 36px 40px;
  border-bottom: 1px solid var(--border-light);
  align-items: start;
}
.hiw-stage:last-child { border-bottom: none; }
.hiw-stage:nth-child(even) { background: var(--blue-pale); }

.hiw-stage-icon {
  width: 48px;
  height: 48px;
  background: var(--white);
  border: 1px solid var(--border-light);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-top: 4px;
}

.hiw-stage-label {
  display: block;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: var(--blue);
  text-transform: uppercase;
  margin-bottom: 4px;
}

.hiw-stage-body h2 {
  font-size: 1.2rem;
  margin-bottom: 12px;
}

.hiw-stage-body p { margin-bottom: 10px; font-size: 0.95rem; }
.hiw-stage-body p:last-child { margin-bottom: 0; }

.hiw-note {
  background: var(--blue-pale);
  border: 1px solid var(--border-light);
  border-radius: 10px;
  padding: 20px 24px;
  font-size: 0.88rem;
  color: var(--text-mid);
}
.hiw-note p { margin: 0; }

/* ── Pricing page ───────────────────────────────────────────── */
.pricing-page { padding: 48px 0 72px; background: var(--white); }

.pricing-blocks {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
  margin-bottom: 48px;
}

.pricing-block {
  border: 1px solid var(--border-light);
  border-radius: 12px;
  padding: 36px 32px;
}

.pricing-block-accent {
  background: var(--blue-pale);
}

.pricing-block-icon {
  margin-bottom: 16px;
}

.pricing-block h2 {
  font-size: 1.3rem;
  margin-bottom: 8px;
}

.pricing-typical {
  font-size: 1.05rem;
  color: var(--text);
  margin-bottom: 16px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--border-light);
}

.pricing-block p { font-size: 0.95rem; margin-bottom: 12px; }
.pricing-block p:last-child { margin-bottom: 0; }

.pricing-list {
  margin: 0 0 12px 18px;
  font-size: 0.93rem;
  color: var(--text-mid);
  line-height: 1.6;
}
.pricing-list li { margin-bottom: 6px; }

.pricing-note {
  font-size: 0.88rem;
  color: var(--text-mid);
  background: rgba(31,62,114,0.06);
  border-radius: 8px;
  padding: 12px 16px;
  margin-top: 16px;
}

.pricing-transparency {
  border: 1px solid var(--border-light);
  border-radius: 12px;
  padding: 36px 40px;
}

.pricing-transparency h3 {
  font-size: 1.1rem;
  margin-bottom: 20px;
  color: var(--text);
}

.pricing-commitment-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.pricing-commitment-list li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 0.95rem;
  color: var(--text-mid);
  line-height: 1.5;
}

.pricing-commitment-list svg {
  flex-shrink: 0;
  margin-top: 2px;
}

@media (max-width: 860px) {
  .pricing-blocks { grid-template-columns: 1fr; }
  .hiw-stage { grid-template-columns: 1fr; gap: 12px; padding: 28px 24px; }
  .pricing-transparency { padding: 28px 24px; }
}

/* ── About section ──────────────────────────────────────────── */
.about-section { background: var(--white); }

.about-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.about-illustration { display: flex; justify-content: center; align-items: center; }
/* Pencil still life; the image's own edges fade to transparent */
.about-illustration picture { display: block; width: 100%; max-width: 560px; }
.about-still-life { width: 100%; }

.about-content h2 { margin-bottom: 18px; }
.about-content p  { margin-bottom: 16px; }
.about-content p:last-of-type { margin-bottom: 28px; }

.about-creds {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 32px;
}
.about-cred-item {
  display: flex; align-items: center; gap: 10px;
  font-size: 0.9rem; font-weight: 500; color: var(--text);
}
/* Small square bronze markers (all three the same) */
.about-cred-dot { width: 8px; height: 8px; border-radius: 1px; flex-shrink: 0; background: var(--bronze); }

/* ── CTA section ─────────────────────────────────────────────── */
.cta-section {
  background: linear-gradient(135deg, var(--blue) 0%, #6B9BFF 100%);
  text-align: center;
  padding: 96px 0;
}
.cta-section h2 { color: var(--white); margin-bottom: 14px; }
.cta-section p  { color: rgba(255,255,255,0.78); margin-bottom: 40px; max-width: 440px; margin-left: auto; margin-right: auto; }
.btn-white {
  background: var(--white); color: var(--blue); border-color: var(--white);
  font-weight: 700; box-shadow: 0 4px 20px rgba(0,0,0,0.15);
}
.btn-white:hover { background: var(--blue-light); transform: translateY(-2px); }
/* Bronze button (bottom call to action on the home page) */
.btn-bronze { background: linear-gradient(135deg, #D9964F 0%, #B8722F 100%); color: #fff; border: 2px solid #C98340; box-shadow: 0 4px 14px rgba(0,0,0,0.25); }
.btn-bronze:hover { background: linear-gradient(135deg, #E3A562 0%, #C47E3A 100%); border-color: #D9964F; color: #fff; transform: translateY(-2px); }

/* ── Page hero (inner pages) ────────────────────────────────── */
.page-hero {
  background: var(--blue-pale);
  padding: 68px 0 64px;               /* main heading starts where the home page's does */
  border-bottom: 1px solid var(--border-light);
}
.page-hero h1 + .eyebrow { display: table; margin: 0 0 16px; }   /* bronze pill sits under the heading */
@media (max-width: 640px) { .page-hero { padding-top: 56px; } }
.page-hero h1 { margin-bottom: 14px; font-size: clamp(2.2rem, 4.2vw, 3.2rem); }   /* serif reads smaller, so a bit larger than the old 2.4rem */
.page-hero p  { font-size: 1.05rem; max-width: 500px; }

/* Page hero with an illustration on the right (Tax Preparation page) */
.page-hero-split {
  display: flex; align-items: flex-start; justify-content: space-between; gap: 40px;
}
.page-hero-text { flex: 1 1 auto; min-width: 0; }
.page-hero-art {
  flex: 0 0 auto; width: 380px; max-width: 42%; height: auto;
  margin: -24px 0 -20px;   /* let the art overlap the hero padding a little so the band stays short */
}
@media (max-width: 760px) {
  .page-hero-split { flex-direction: column; align-items: flex-start; gap: 20px; }
  .page-hero-art { width: 280px; max-width: 80%; margin: 0 auto; }
}

/* ── Services page ──────────────────────────────────────────── */
.services-page { padding: 48px 0 80px; background: var(--white); }   /* first card sits a little closer to the hero */

.price-banner {
  display: flex; align-items: center; gap: 28px;
  background: var(--blue-light); border: 1px solid rgba(31,62,114,0.18);
  border-radius: var(--r-lg); padding: 24px 32px; margin-bottom: 56px; flex-wrap: wrap;
}
.price-num { font-family: var(--font); font-weight: 800; font-size: 2.2rem; color: var(--blue); white-space: nowrap; letter-spacing: -0.02em; }
.price-text { font-size: 0.92rem; color: var(--text-mid); }

.services-detail { display: flex; flex-direction: column; gap: 16px; }

.service-row {
  display: grid; grid-template-columns: 56px 1fr; gap: 20px;
  padding: 28px; border: 1px solid var(--border-light);
  border-radius: var(--r-lg); background: var(--white); align-items: flex-start;
  box-shadow: 0 4px 20px rgba(27,58,92,0.16);   /* same shading as the home page process cards */
  transition: box-shadow var(--transition), border-color var(--transition);
}
.service-row:hover { box-shadow: 0 8px 28px rgba(27,58,92,0.20); border-color: rgba(31,62,114,0.2); }

.service-row-icon {
  width: 48px; height: 48px; border-radius: var(--r);
  display: flex; align-items: center; justify-content: center;
  background: transparent; color: var(--bronze); flex-shrink: 0;
}
.service-row-icon svg { width: 27px; height: 27px; stroke-width: 1.9; }   /* ~12% larger than the 24px default */
.service-row-body h3, .service-row-body h2 { margin-bottom: 8px; color: var(--blue-dark); }   /* same blue as the home page card titles */
.services-pricing-note svg { color: var(--bronze); }
.service-row-body p  { font-size: 0.92rem; }

.services-pricing-note {
  display: flex;
  align-items: center;
  margin-top: 36px;
  font-size: 0.88rem;
  color: var(--text-light);
  padding-top: 24px;
  border-top: 1px solid var(--border-light);
}

.services-cta {
  background: var(--off-white); border-top: 1px solid var(--border-light);
  padding: 80px 0; text-align: center;
}
.services-cta h2 { margin-bottom: 14px; }
.services-cta p  { margin-bottom: 36px; max-width: 420px; margin-left: auto; margin-right: auto; }

/* ── Tax info page ──────────────────────────────────────────── */
.articles-section { padding: 80px 0; background: var(--white); }
.articles-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }

.article-card {
  border: 1px solid var(--border-light); border-radius: var(--r-lg); overflow: hidden;
  transition: box-shadow var(--transition), transform var(--transition);
}
.article-card:hover { box-shadow: var(--shadow-sm); transform: translateY(-2px); }

.article-card-tag {
  padding: 16px 22px 12px; font-size: 0.72rem; font-weight: 700;
  letter-spacing: 0.1em; text-transform: uppercase; color: var(--blue);
  background: var(--blue-pale); border-bottom: 1px solid var(--border-light);
}

.article-card-body { padding: 20px 22px 24px; }
.article-card-body h3 { margin-bottom: 8px; font-size: 0.97rem; }
.article-card-body p  { font-size: 0.87rem; }

.video-section { background: var(--off-white); border-top: 1px solid var(--border-light); padding: 80px 0; }
.section-header { margin-bottom: 48px; }
.videos-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }

.video-card {
  border: 1px solid var(--border-light); border-radius: var(--r-lg); overflow: hidden;
  background: var(--white); transition: box-shadow var(--transition), transform var(--transition);
}
.video-card:hover { box-shadow: var(--shadow); transform: translateY(-2px); }

.video-thumb {
  aspect-ratio: 16/9; background: var(--blue-light);
  display: flex; align-items: center; justify-content: center;
  position: relative; overflow: hidden;
}
.video-thumb img { width:100%; height:100%; object-fit:cover; position:absolute; inset:0; }

.video-play {
  width: 52px; height: 52px; border-radius: 50%;
  background: var(--white); display: flex; align-items: center;
  justify-content: center; color: var(--blue); position: relative; z-index: 1;
  box-shadow: 0 4px 16px rgba(0,0,0,0.15); transition: transform var(--transition);
}
.video-card:hover .video-play { transform: scale(1.08); }

.video-body { padding: 20px 22px 24px; }
.video-body h4 { margin-bottom: 6px; font-size: 0.97rem; }
.video-body p  { font-size: 0.87rem; }

.taxinfo-cta { background: var(--white); border-top: 1px solid var(--border-light); padding: 80px 0; text-align: center; }
.taxinfo-cta h2 { margin-bottom: 14px; }
.taxinfo-cta p  { margin-bottom: 36px; max-width: 420px; margin-left: auto; margin-right: auto; }

/* ── Contact page ───────────────────────────────────────────── */
.contact-section { background: var(--white); padding: 48px 0 80px; }

.contact-layout { display: grid; grid-template-columns: 300px 1fr; gap: 80px; align-items: flex-start; }

.contact-aside-card {
  background: var(--off-white); border: 1px solid var(--border-light);
  border-radius: var(--r-lg); padding: 28px; margin-bottom: 24px;
}
.contact-aside-label { font-size: 0.72rem; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--text-light); margin-bottom: 8px; }
.contact-aside-value { font-size: 1rem; font-weight: 600; color: var(--text); line-height: 1.5; }

.contact-steps { display: flex; flex-direction: column; gap: 20px; }
.contact-step  { display: flex; gap: 14px; align-items: flex-start; }

.contact-step-num {
  width: 30px; height: 30px; border-radius: 50%; background: var(--blue-light);
  display: flex; align-items: center; justify-content: center;
  font-size: 0.78rem; font-weight: 700; color: var(--blue); flex-shrink: 0; margin-top: 2px;
}

.contact-step h4 { font-size: 0.9rem; margin-bottom: 4px; }
.contact-step p  { font-size: 0.84rem; }

.form-success {
  display: none; padding: 20px 24px; background: var(--green-light);
  border: 1px solid rgba(29,184,133,0.25); border-radius: var(--r-lg);
  color: var(--green-dark); margin-bottom: 24px;
}
.form-success h3, .form-success h2 { margin-bottom: 6px; font-size: 1rem; }
.form-success p  { font-size: 0.9rem; color: var(--green); }

.contact-form { display: flex; flex-direction: column; gap: 18px; }

/* ── Form elements ──────────────────────────────────────────── */
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-group { display: flex; flex-direction: column; gap: 6px; }

.form-group label { font-size: 0.83rem; font-weight: 600; color: var(--text); }
.form-group .optional { font-weight: 400; color: var(--text-light); }

.form-group input,
.form-group select,
.form-group textarea {
  font-family: var(--font); font-size: 0.95rem; color: var(--text);
  background: var(--white); border: 1.5px solid var(--border);
  border-radius: var(--r-sm); padding: 11px 14px; outline: none;
  transition: border-color var(--transition), box-shadow var(--transition);
  width: 100%; appearance: none; -webkit-appearance: none;
}
.form-group input::placeholder,
.form-group textarea::placeholder { color: #C4C9D4; }
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--blue);
  box-shadow: 0 0 0 3px rgba(31,62,114,0.12);
}
.form-group textarea { resize: vertical; min-height: 130px; }
.form-group select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%239BA4BC' stroke-width='2'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 12px center; padding-right: 36px; cursor: pointer;
}

.form-submit-row { display: flex; justify-content: flex-end; align-items: center; gap: 16px; margin-top: 4px; }
.form-note { font-size: 0.8rem; color: var(--text-light); }

.btn-submit {
  padding: 13px 32px; font-size: 0.9rem; font-weight: 600;
  background: var(--blue); color: var(--white); border: none;
  border-radius: var(--r-sm); cursor: pointer; font-family: var(--font);
  transition: background var(--transition), transform var(--transition);
  box-shadow: 0 4px 14px rgba(31,62,114,0.28);
}
.btn-submit:hover { background: var(--blue-dark); transform: translateY(-1px); }

.pw-hint { font-size: 0.78rem; color: var(--text-light); margin-top: 4px; }

/* ── Start Here page ────────────────────────────────────────── */
.start-here-section { background: var(--off-white); padding: 48px 0 88px; }

.intake-form { display: flex; flex-direction: column; gap: 16px; max-width: 940px; margin: 0 auto; }

.intake-card {
  background: var(--white); border: 1px solid var(--border-light);
  border-radius: var(--r-lg); overflow: hidden; box-shadow: var(--shadow-sm);
}

.intake-card-header {
  background: var(--blue); color: var(--white); padding: 15px 26px;
  font-size: 0.92rem; font-weight: 600; display: flex; align-items: center; gap: 12px;
}

.intake-card-header .step-badge {
  width: 24px; height: 24px; border-radius: 50%; background: rgba(255,255,255,0.22);
  display: inline-flex; align-items: center; justify-content: center;
  font-size: 0.74rem; flex-shrink: 0;
}

.intake-card-body { padding: 22px 26px; }

.intake-card-note {
  font-size: 0.84rem; color: var(--text-mid); font-style: italic;
  margin-bottom: 16px; padding: 10px 14px; background: var(--blue-pale);
  border-radius: var(--r-sm); border-left: 3px solid var(--blue);
}

.intake-section-label {
  font-size: 0.72rem; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--text-light); margin: 18px 0 8px; padding-bottom: 6px;
  border-bottom: 1px solid var(--border-light);
}
.intake-section-label:first-child { margin-top: 0; }

.intake-divider { border: none; border-top: 1px solid var(--border-light); margin: 18px 0; }

.intake-submit { display: flex; justify-content: flex-end; align-items: center; gap: 16px; max-width: 940px; margin: 4px auto 0; }
.intake-submit-note { font-size: 0.82rem; color: var(--text-light); }

.check-table { width: 100%; border-collapse: collapse; }
.check-table thead th {
  font-size: 0.72rem; font-weight: 700; color: var(--text-light);
  letter-spacing: 0.08em; text-transform: uppercase; padding: 9px 12px;
  text-align: center; border-bottom: 2px solid var(--border-light);
}
.check-table thead th:first-child { text-align: left; width: 56%; }
.check-table tbody tr:nth-child(even) { background: var(--off-white); }
.check-table tbody td {
  padding: 11px 12px; font-size: 0.9rem; color: var(--text-mid);
  border-bottom: 1px solid var(--border-light); vertical-align: middle; text-align: center;
}
.check-table tbody td:first-child { text-align: left; }
.check-table tbody tr:last-child td { border-bottom: none; }
.check-table input[type="checkbox"] { width: 16px; height: 16px; accent-color: var(--blue); cursor: pointer; }

.radio-group { display: flex; flex-direction: column; gap: 12px; margin-top: 8px; }
.radio-option { display: flex; align-items: flex-start; gap: 10px; cursor: pointer; }
.radio-option input[type="radio"] { width: 16px; height: 16px; margin-top: 3px; accent-color: var(--blue); cursor: pointer; flex-shrink: 0; }
.radio-option-label { font-size: 0.93rem; color: var(--text-mid); }
.radio-conditional { margin-left: 26px; margin-top: 10px; display: none; flex-direction: column; gap: 14px; }
.radio-conditional.visible { display: flex; }

.dependents-wrap { overflow-x: auto; border: 1px solid var(--border-light); border-radius: var(--r-sm); margin-top: 12px; }
.dependents-table { width: 100%; border-collapse: collapse; font-size: 0.79rem; min-width: 1040px; }
.dependents-table th {
  background: var(--blue); color: rgba(255,255,255,0.9); padding: 10px 8px;
  font-weight: 600; font-size: 0.7rem; text-align: center;
  border-right: 1px solid rgba(255,255,255,0.1); line-height: 1.3; vertical-align: bottom;
}
.dependents-table th:first-child { text-align: left; min-width: 140px; }
.dependents-table th:last-child  { border-right: none; min-width: 36px; }
.dependents-table td {
  padding: 7px 6px; border-bottom: 1px solid var(--border-light);
  border-right: 1px solid var(--border-light); vertical-align: middle; text-align: center;
}
.dependents-table td:first-child { text-align: left; }
.dependents-table td:last-child  { border-right: none; }
.dependents-table tr:last-child td { border-bottom: none; }
.dependents-table tr:nth-child(even) td { background: var(--off-white); }
.dependents-table input[type="text"],
.dependents-table input[type="date"],
.dependents-table select {
  font-family: var(--font); font-size: 0.79rem; width: 100%; padding: 5px 6px;
  border: 1px solid var(--border); border-radius: 4px; background: var(--white); color: var(--text); min-width: 0;
}
.dependents-table input:focus, .dependents-table select:focus { outline: none; border-color: var(--blue); }
.dependents-table input[type="checkbox"] { width: 14px; height: 14px; accent-color: var(--blue); cursor: pointer; }

.dep-remove-btn {
  background: none; border: none; color: var(--border); cursor: pointer;
  font-size: 1.1rem; padding: 2px 6px; border-radius: 4px;
  transition: color var(--transition), background var(--transition);
}
.dep-remove-btn:hover { color: var(--coral); background: var(--coral-light); }

.add-dep-btn {
  display: flex; align-items: center; justify-content: center; gap: 8px;
  margin-top: 14px; background: none; border: 1.5px dashed var(--border);
  border-radius: var(--r-sm); padding: 11px 18px; font-family: var(--font);
  font-size: 0.88rem; font-weight: 600; color: var(--text-light); cursor: pointer;
  transition: all var(--transition); width: 100%;
}
.add-dep-btn:hover { border-color: var(--blue); color: var(--blue); background: var(--blue-pale); }

/* ── Footer ─────────────────────────────────────────────────── */
.site-footer {
  background: var(--off-white);
  border-top: 1px solid var(--border);
  padding: 48px 0;
  text-align: center;
}

.footer-logo-img {
  height: 72px;
  max-width: 100%;
  width: auto;
  display: block;
  margin: 0 auto 14px;
}

.footer-tagline { font-size: 0.83rem; color: var(--text-mid); margin-bottom: 4px; }
.footer-creds   { font-size: 0.78rem; color: var(--text-light); margin-bottom: 24px; }

.footer-links {
  display: flex; gap: 28px;
  justify-content: center;
  margin-bottom: 24px;
}
.footer-links a { font-size: 0.84rem; color: var(--text-mid); transition: color var(--transition); }
.footer-links a:hover { color: var(--text); }

.footer-copy { font-size: 0.76rem; color: var(--text-light); }

/* ── Responsive ─────────────────────────────────────────────── */
@media (max-width: 1024px) {
  .hero-layout        { gap: 40px; }
  .services-grid      { grid-template-columns: repeat(2, 1fr); }
  .articles-grid      { grid-template-columns: repeat(2, 1fr); }
  .progress-steps     { grid-template-columns: repeat(4, 1fr); gap: 32px; }
  .progress-bar-wrap::before { display: none; }
}

@media (max-width: 860px) {
  section { padding: 64px 0; }
  .hero-layout        { grid-template-columns: 1fr; }
  .hero-illustration  { display: none; }
  .hero-sculpture     { display: none; }
  .hero-medallion     { display: none; }
  .about-layout       { grid-template-columns: 1fr; }
  .about-illustration { display: none; }
  .contact-layout     { grid-template-columns: 1fr; gap: 48px; }
  .states-inner       { flex-direction: column; }
  .footer-inner       { grid-template-columns: 1fr; }
  .footer-links       { flex-wrap: wrap; gap: 16px; }
}

@media (max-width: 960px) {    /* too narrow for the full menu with the wide logo: use the menu button, as on phones */
  .nav-links  { display: none; }
  .nav-auth   { display: none; }
  .header-inner > nav { margin-left: 0; }
  .nav-login  { margin-left: auto; margin-right: 10px; }
  .nav-toggle { display: flex; margin-left: 0; }
}

@media (max-width: 640px) {
  .container      { padding: 0 20px; }
  .nav-links      { display: none; }
  .nav-auth       { display: none; }
  .nav-login      { margin-left: auto; margin-right: 10px; }
  .nav-toggle     { display: flex; }
  .hero           { padding: 56px 0 40px; }
  .hero-actions   { flex-direction: column; align-items: flex-start; }
  .hero-trust     { flex-direction: column; align-items: flex-start; gap: 12px; }
  .services-grid  { grid-template-columns: 1fr; }
  .articles-grid  { grid-template-columns: 1fr; }
  .videos-grid    { grid-template-columns: 1fr; }
  .progress-steps { grid-template-columns: repeat(2, 1fr); gap: 28px; }
  .form-row       { grid-template-columns: 1fr; }
  .form-submit-row { flex-direction: column; align-items: stretch; }
  .btn-submit     { width: 100%; }
  .intake-card-body { padding: 18px 16px; }
  .intake-submit  { flex-direction: column; align-items: stretch; }
  .intake-submit .btn { width: 100%; text-align: center; }
}

/* ── About page heading (owner's square_penny_about_page_spec.txt, 2026-11-04) ── */
.about-hero { background: var(--blue-pale); border-bottom: 0; }   /* same pale blue and bottom space as the other pages (owner) */
.about-intro-row { position: relative; display: flex; align-items: center; gap: 0; margin: 4px 0 18px;
                   padding-right: calc(clamp(84px, 13vw, 170px) - 6px); }   /* the rule runs right into the penny */
.about-rule { flex: 1 1 auto; height: 2px; background: #B76535; margin-left: 22px; }
/* Owner's "About The Square Penny.png" mock-up (2026-11-05): spaced copper capitals instead of a pill,
   a large navy serif statement and a short copper bar under each heading. */
.about-kicker { flex-shrink: 0; font-family: var(--font); font-size: 0.74rem; font-weight: 700;
                letter-spacing: 0.22em; text-transform: uppercase; color: #9A522A; line-height: 1.2; }   /* was #B76535 (audit H5: contrast) */
/* The statement now opens the bio card, just above the bio text size (owner) */
.bio-text p.bio-signature { font-family: 'Newsreader', Georgia, serif; font-style: italic; font-size: 1.2rem;
                            font-weight: 600; color: var(--blue-dark); margin-top: 18px; }   /* owner's sign-off */
.bio-text p.bio-statement { font-size: 1.02rem; font-weight: 700; color: var(--blue-dark); margin-bottom: 14px; }
.about-bar { display: block; width: clamp(80px, 9vw, 100px); height: 3px; background: #B76535; margin-top: 14px; }
/* "What Sets Us Apart" heading sits on a soft peach card */
.about-apart-head { max-width: 900px; margin: 0 auto 32px; background: #FBF4EE; border-radius: var(--r-lg);
                    padding: 26px 32px 28px; text-align: center; }   /* heading centered (owner) */
.about-apart-head h2 { margin-top: 10px; font-size: clamp(1.5rem, 2.8vw, 2.1rem); }
.about-apart-head .about-bar { width: clamp(90px, 11vw, 120px); margin-left: auto; margin-right: auto; }
.about-kicker-lined { display: flex; align-items: center; justify-content: center; gap: 14px; }
.about-kicker-lined::before, .about-kicker-lined::after { content: ""; width: 60px; height: 2px; background: #B76535; }
@media (max-width: 640px) {
  .about-apart-head { padding: 26px 22px 28px; }
  .about-kicker { font-size: 0.74rem; letter-spacing: 0.18em; }
  .about-kicker-lined { gap: 12px; }
  .about-kicker-lined::before, .about-kicker-lined::after { width: 36px; }
  .about-tagline { padding-right: 84px; }   /* keep the tagline clear of the penny on phones (audit L2) */
}
.about-penny { position: absolute; right: 0; top: 50%; transform: translateY(-50%);
               width: clamp(84px, 13vw, 170px); }
.about-penny img { display: block; width: 100%; height: auto;
                   filter: drop-shadow(0 3px 4px rgba(60,35,15,0.30)) drop-shadow(0 12px 20px rgba(60,35,15,0.22)); }

/* "Check the States We Serve" link on the Tax Preparation pages; the home page section it opens */
.page-hero p.states-check { margin: 14px 0 0; font-size: 0.95rem; font-weight: 600; }
.states-check a { color: var(--blue); text-decoration: underline; text-underline-offset: 3px; }
.states-check a:hover { color: var(--blue-dark); }
#states-we-serve { scroll-margin-top: 90px; }

/* About page closing call to action: a centred pale-blue card with a real button (owner) */
.services-bottom-cta { padding: 0 0 80px; background: var(--white); }
.about-cta-card { background: var(--blue-pale); border: 1px solid var(--border-light); border-radius: var(--r-lg);
                  padding: 44px 32px 48px; text-align: center; max-width: 900px; margin: 0 auto; }
.about-cta-card h2 { font-size: clamp(1.6rem, 2.6vw, 2.1rem); margin-bottom: 10px; }
.about-cta-card p { font-size: 1rem; color: var(--text-mid); max-width: 520px; margin: 0 auto 26px; }
.about-cta-card .btn-lg { padding: 13px 32px; font-size: 0.95rem; }

/* ── About page bio ──────────────────────────────────────────── */
.bio-section { padding: 48px 0 40px; background: var(--white); }
.bio-layout { display: grid; grid-template-columns: minmax(0, 720px); justify-content: center; gap: 48px; align-items: start; }
.bio-layout:has(.bio-art) { grid-template-columns: minmax(0, 1fr) 320px; max-width: 1080px; }   /* drawing beside the text once added */
.bio-text p { font-size: 0.9rem; line-height: 1.75; color: var(--text-mid); margin-bottom: 14px; }   /* same size as the card text on the Tax Preparation page (owner) */
.bio-text .bio-lead { font-size: 1.3rem; color: var(--text); font-weight: 600; }
.bio-text .bio-turn { font-size: 1.15rem; color: var(--blue-dark); font-weight: 700; margin-top: 8px; }
.bio-text .bio-close { font-size: 1.2rem; color: var(--text); font-weight: 700; margin: 32px 0 0; }
.bio-art { width: 100%; max-width: 320px; height: auto; }   /* stays put beside the story (owner 2026-11-04: no following on scroll) */
/* The Square Penny emblem: larger, with a soft shadow so the copper plaque sits on the page */
.bio-layout:has(.bio-emblem) { grid-template-columns: minmax(0, 1fr) 380px; }
.bio-emblem { display: block; max-width: 380px; margin-top: 8px; }
.bio-emblem img { display: block; width: 100%; height: auto; filter: drop-shadow(0 10px 24px rgba(60,35,15,0.28)); }
/* The drawing sits in a pale peach panel (About spec 2026-11-04); no vignette (owner) */
/* Story + portrait on a white card over a white section, like the cards on the Tax Preparation page (owner) */
.bio-section:has(.bio-portrait) { background: var(--white); }
.bio-section .bio-layout:has(.bio-portrait) {
  background: var(--white); border: 1px solid var(--border-light); border-radius: var(--r-lg);
  box-shadow: 0 4px 20px rgba(27,58,92,0.16); padding: 32px 32px 34px;
}
@media (max-width: 640px) { .bio-section .bio-layout:has(.bio-portrait) { padding: 24px 20px 26px; } }
@media (min-width: 861px) {   /* portrait a little smaller on wide screens (was 380px, owner) */
  .bio-layout:has(.bio-portrait) { grid-template-columns: minmax(0, 1fr) 272px; }   /* 320 → 272 (15% smaller, owner) */
  .bio-portrait.bio-emblem { max-width: 272px; }
}
/* peach panel border removed (owner 2026-11-04) */
/* no border, shadow or fade: the white-background drawing sits straight on the white card (owner) */
.bio-portrait img { filter: none; }
.bio-facts { background: var(--off-white); padding: 64px 0; }
.bio-facts-inner { max-width: 720px; margin: 0 auto; }
.bio-facts-inner h2 { font-size: 1.4rem; color: var(--blue-dark); margin-bottom: 14px; }
.bio-facts-inner p { font-size: 1rem; line-height: 1.75; color: var(--text-mid); margin-bottom: 14px; }
@media (max-width: 860px) {
  .bio-layout:has(.bio-art), .bio-layout:has(.bio-emblem) { grid-template-columns: 1fr; }
  .bio-art { position: static; max-width: 240px; margin: 0 auto; order: -1; }
  .bio-emblem { max-width: 260px; }
}

/* ── Security & Privacy page ─────────────────────────────────── */
.privacy-page { padding: 48px 0 80px; background: var(--white); }
.privacy-body { max-width: 760px; }
.privacy-body h2 { font-size: 1.35rem; margin: 36px 0 12px; color: var(--blue-dark); }
.privacy-body h2:first-child { margin-top: 0; }
.privacy-body p, .privacy-body li { font-size: 0.98rem; line-height: 1.7; color: var(--text-mid); }
.privacy-body ul { padding-left: 20px; margin: 0 0 12px; }
.privacy-body li { margin-bottom: 8px; }
.privacy-body strong { color: var(--text); }
.privacy-body .small { font-size: 0.85rem; }
.trust-note { font-size: 0.9rem; color: var(--text-mid); margin-top: 14px; }
.trust-note a { color: var(--blue-dark); font-weight: 600; white-space: nowrap; }
.trust-note.on-dark { color: rgba(255,255,255,0.9); margin-top: 22px; }
.form-error { color: var(--coral-dark); background: var(--coral-light); border-radius: 8px; padding: 10px 12px; font-size: 0.9rem; margin: 10px 0; }
.cf-turnstile { margin: 14px 0 6px; }
.trust-note.on-dark a { color: #fff; text-decoration: underline; }

/* ── Individual tax return service pages ─────────────────────── */
.breadcrumbs { font-size: 0.85rem; color: var(--text-mid); margin-bottom: 18px; }
.breadcrumbs ol { display: flex; flex-wrap: wrap; gap: 6px; list-style: none; padding: 0; margin: 0; }
.breadcrumbs li + li::before { content: '›'; color: var(--bronze); margin-right: 6px; }
.breadcrumbs a { color: var(--blue-dark); }
.breadcrumbs a:hover { text-decoration: underline; }
.breadcrumbs [aria-current] { color: var(--text-mid); }
.svc-sub { font-size: 1.15rem; color: var(--blue-dark); font-weight: 600; margin-bottom: 10px; }
.svc-page { padding: 48px 0 72px; background: var(--white); }
.svc-body { max-width: 820px; }
.svc-body h2 { font-size: 1.45rem; color: var(--blue-dark); margin: 44px 0 14px; }
.svc-body h2:first-child { margin-top: 0; }
.svc-body h3 { font-size: 1.05rem; color: var(--text); margin: 22px 0 6px; }
.svc-body p { font-size: 1rem; line-height: 1.75; color: var(--text-mid); margin-bottom: 14px; }
.svc-body strong { color: var(--text); }
.svc-checks { list-style: none; padding: 0; margin: 0 0 18px; display: grid; gap: 10px; }
.svc-checks li { position: relative; padding-left: 28px; line-height: 1.6; color: var(--text-mid); }
.svc-checks li::before { content: ''; position: absolute; left: 4px; top: 0.45em; width: 11px; height: 6px; border-left: 2px solid var(--bronze); border-bottom: 2px solid var(--bronze); transform: rotate(-45deg); }
.svc-checks li strong { color: var(--text); }
.svc-docs { columns: 2; column-gap: 32px; }
.svc-docs li { break-inside: avoid; }
@media (max-width: 640px) { .svc-docs { columns: 1; } }
.svc-note { background: var(--bronze-light); border-left: 3px solid var(--bronze); border-radius: 8px; padding: 14px 18px; margin: 22px 0; font-size: 0.93rem; color: var(--text-mid); line-height: 1.65; }
.svc-note strong { color: var(--text); }
/* Links inside notes and paragraphs look like links */
.svc-note a, .svc-body p a, .trust-note a { color: var(--blue-dark); font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }
.svc-note a:hover, .svc-body p a:hover, .trust-note a:hover { color: var(--blue); }
.svc-fine { font-size: 0.82rem; color: var(--text-light); margin-top: 26px; }
.svc-cards { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; margin: 18px 0 8px; }
@media (max-width: 720px) { .svc-cards { grid-template-columns: 1fr; } }
.svc-cards .service-card { display: block; padding: 26px 24px 28px; color: inherit; box-shadow: 0 4px 20px rgba(27,58,92,0.10); }
.svc-cards .service-card h3 { color: var(--blue-dark); font-size: 1.1rem; }
.svc-cards .service-card p { margin: 0; }
.svc-cards .service-link { margin-top: 14px; }
.svc-cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.svc-cards .service-icon { margin-bottom: 14px; }
.svc-cards .service-icon svg { color: var(--bronze); }
.svc-hero-icon { flex: 0 0 auto; width: 210px; height: 210px; border-radius: 50%; background: var(--bronze-light); color: var(--bronze); display: flex; align-items: center; justify-content: center; margin-right: 40px; box-shadow: inset 0 0 0 1px #E6D8C6; }
@media (max-width: 760px) { .svc-hero-icon { width: 130px; height: 130px; margin: 0; } .svc-hero-icon svg { width: 60px; height: 60px; } }
/* the circle may hang into the bottom padding, so a short heading (Tax Preparation) leaves the same space below its text as the other pages (owner) */
@media (min-width: 761px) { .page-hero-split .svc-hero-icon { margin-bottom: -40px; } }
.svc-sketch { width: 260px; max-width: 38%; height: auto; flex: 0 0 auto; opacity: 0.95; }
@media (max-width: 760px) { .svc-sketch { width: 200px; max-width: 60%; margin: 0 auto; } }
.svc-row-links { display: flex; flex-wrap: wrap; gap: 4px 18px; margin-top: 4px; }
.svc-row-links .service-link { margin-top: 6px; }
.home-circumstances { text-align: center; margin-top: 34px; font-size: 0.98rem; color: var(--text-mid); }
.home-circumstances a { color: var(--blue); font-weight: 600; }

/* ── Launch banner (under the menu; set by launch.js) ────────── */
.launch-banner {
  background: #34507D; /* softer navy (owner 2026-10-29; was var(--text)) */
  color: #fff;
  border-bottom: 2px solid var(--bronze);
  text-align: center;
  padding: 18px 0;
}
.launch-banner-inner { display: flex; flex-direction: column; gap: 6px; }
.launch-banner p.launch-banner-main { font-size: 1.08rem; line-height: 1.4; font-weight: 500; color: #fff; }
.launch-banner-main strong, .launch-banner-sub strong { color: #F0D9BF; font-weight: 700; white-space: nowrap; }
.launch-banner p.launch-banner-sub { font-size: 0.88rem; color: rgba(255,255,255,0.85); }
/* "Get started now" on its own centered line; the rest of the sentence below, a little smaller */
.launch-banner-main .launch-banner-lead { display: table; margin: 0 auto; text-align: center; }
/* "Get started now" as a bronze pill button, with a little room below it */
.launch-banner a.launch-banner-lead {
  color: var(--blue-dark); background: #F0D9BF; font-weight: 500; font-size: 0.85em;
  text-decoration: none; padding: 4px 16px; border-radius: 999px; margin: 0 auto 14px;
  transition: background var(--transition);
}
.launch-banner a.launch-banner-lead:hover { background: #fff; color: var(--blue-dark); }
.launch-banner-main .launch-banner-rest { display: block; text-align: center; font-size: 0.85em; max-width: 46em; margin: 2px auto 0; color: rgba(255,255,255,0.92); }
.launch-banner-main .launch-banner-rest.launch-banner-gap { margin-top: 10px; }
/* Three short steps under the button, one per line with a little space */
.launch-banner-main .launch-banner-step { display: block; text-align: center; font-size: 0.8em; line-height: 1.35; color: rgba(255,255,255,0.9); margin: 0 auto 6px; max-width: 46em; }
.launch-banner-main .launch-banner-step:last-child { margin-bottom: 0; }
.launch-banner a { color: #fff; font-weight: 600; text-decoration: underline; text-underline-offset: 3px; white-space: nowrap; }
.launch-banner a:hover { color: #F0D9BF; }
/* Narrow layout: the "Get started now" pill on the left, the three lines on the right */
.launch-banner-row { display: flex; align-items: center; justify-content: center; gap: 24px; }
.launch-banner-row a.launch-banner-lead { display: inline-block; margin: 0; font-size: 0.92rem; white-space: nowrap; flex-shrink: 0; }
.launch-banner-row .launch-banner-steps { text-align: left; padding-left: 24px; border-left: 1px solid rgba(240,217,191,0.35); }
.launch-banner-row .launch-banner-step { text-align: left; margin: 0 0 3px; max-width: none; }
.launch-banner:has(.launch-banner-row) { padding: 12px 0; }
/* One sentence with the "Get started now" pill centered below it */
.launch-banner-stack { display: flex; flex-direction: column; align-items: center; gap: 8px; }
.launch-banner p.launch-banner-line { font-size: 0.88rem; line-height: 1.3; color: rgba(255,255,255,0.92); }
.launch-banner-stack a.launch-banner-lead { display: inline-block; margin: 0; font-size: 0.85rem; padding: 3px 16px; }
.launch-banner:has(.launch-banner-stack) { padding: 2px 0 1px; }   /* text optically centered: cap top and baseline equally far from the edges */
@media (max-width: 640px) { .launch-banner .launch-banner-stack p.launch-banner-line { font-size: 0.84rem; } }
@media (max-width: 640px) {
  .launch-banner-row { gap: 14px; justify-content: flex-start; }
  .launch-banner-row a.launch-banner-lead { font-size: 0.8rem; padding: 4px 12px; }
  .launch-banner-row .launch-banner-steps { padding-left: 14px; }
  .launch-banner-row .launch-banner-step { font-size: 0.74rem; }
  .launch-banner { padding: 14px 0; }
  .launch-banner p.launch-banner-main { font-size: 0.98rem; }
  .launch-banner p.launch-banner-sub { font-size: 0.85rem; }
}

/* ── Before the contact date / reminder page ─────────────────── */
.prelaunch-note { background: var(--bronze-light); border: 1px solid #E6D8C6; border-radius: 12px; padding: 24px 26px; }
.prelaunch-note h3, .prelaunch-note h2 { font-size: 1.15rem; margin-bottom: 8px; color: var(--text); }
.prelaunch-note p { color: var(--text-mid); line-height: 1.7; margin-bottom: 10px; }
/* Every card on the site gets the same shading as the home page process cards */
.service-card, .svc-cards .service-card, .pillar-card, .article-card, .video-card,
.contact-aside-card, .intake-card, .pricing-block, .pricing-transparency, .price-banner,
.hiw-stages, .remind-card, .prelaunch-note {
  box-shadow: 0 4px 20px rgba(27,58,92,0.16);
}
.service-card:hover, .article-card:hover, .video-card:hover { box-shadow: 0 8px 28px rgba(27,58,92,0.20); }

/* About page cards had no box of their own */
.pillars-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
.pillar-card { background: var(--white); border: 1px solid var(--border-light); border-radius: 10px; padding: 26px 24px; }
.pillar-icon { color: var(--bronze); margin-bottom: 12px; }
@media (max-width: 640px) { .pillars-grid { grid-template-columns: 1fr; } }

.remind-card { max-width: 560px; margin: 0 auto; background: var(--white); border: 1px solid var(--border); border-radius: 14px; padding: 30px 32px; box-shadow: 0 8px 30px rgba(15,23,42,0.06); }
.remind-card .form-group { margin-bottom: 16px; }
.remind-privacy { font-size: 0.88rem; color: var(--text-mid); line-height: 1.6; margin-top: 14px; }

/* ── One card style on every page (owner 2026-10-29) ──────────────
   Same as the Individual Tax Returns cards (.svc-cards .service-card): white, 20px corners,
   light border, the shared shadow, 26/24/28 padding, a 48px bronze-tinted icon tile and
   1.1rem dark-blue titles. Home page cards are left as they are. */
.service-row, .pricing-block, .pricing-block-accent, .pricing-transparency, .pillar-card,
.contact-aside-card, .remind-card, .prelaunch-note, .hiw-stage {
  background: var(--white);
  border: 1px solid var(--border-light);
  border-radius: var(--r-lg);
  box-shadow: 0 4px 20px rgba(27,58,92,0.16);
  padding: 26px 24px 28px;
}
/* How It Works: each stage is its own card instead of one long striped box */
.hiw-stages { gap: 18px; border: none; border-radius: 0; overflow: visible; box-shadow: none; }
.hiw-stage:nth-child(even) { background: var(--white); }
.hiw-stage:last-child { border-bottom: 1px solid var(--border-light); }
/* Remind page: the note inside the card is part of the card, not a second box */
.remind-card .prelaunch-note { border: none; box-shadow: none; padding: 0; background: none; }
/* Icon tiles */
.pricing-block-icon, .pillar-icon, .hiw-stage-icon {
  width: 48px; height: 48px; border-radius: var(--r); border: none;
  background: var(--bronze-light); color: var(--bronze);
  display: flex; align-items: center; justify-content: center;
  margin: 0 0 14px;
}
.pricing-block-icon svg, .pillar-icon svg, .hiw-stage-icon svg { color: var(--bronze); }
/* Tax Preparation page rows: same 48px tile (was large illustrated copper icons) */
.service-row-icon.line-icon { background: var(--bronze-light); color: var(--bronze); }
.service-row-icon.line-icon svg { width: 26px; height: 26px; stroke-width: 1.6; }
/* Card titles */
.pricing-block h2, .hiw-stage-body h2, .pillar-card h3, .pricing-transparency h3, .prelaunch-note h3, .service-row-body h3, .prelaunch-note h2, .service-row-body h2 {
  font-family: 'Inter', sans-serif; font-size: 1.1rem; font-weight: 600; letter-spacing: 0; color: var(--blue-dark);
}
.pillar-card p, .pricing-block p, .hiw-stage-body p, .prelaunch-note p, .service-row-body p { font-size: 0.9rem; }
