/* My Accounting Hub Inc. — site styles
   Layout idea: navy bands alternate with white and mist sections; gold is used only for rules, icons and primary actions. */
:root {
  color-scheme: light;
  --navy: #0b1e3b;
  --navy-deep: #071428;
  --navy-soft: #16305a;
  --gold: #c2a05e;
  --gold-light: #dcc391;
  --gold-deep: #8c6b2a;
  --ink: #1a2740;
  --muted: #4a566c;
  --line: #e1e6ef;
  --mist: #f5f7fb;
  --white: #ffffff;
  --error: #a4262c;
  --font-display: "Cormorant Garamond", "Iowan Old Style", Georgia, "Times New Roman", serif;
  --font-body: "Mulish", "Segoe UI", Helvetica, Arial, sans-serif;
  --wrap: 1160px;
  --radius: 6px;
  --shadow: 0 10px 30px rgba(11, 30, 59, 0.08);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 96px; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--white);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.65;
}
[hidden] { display: none !important; }
img, svg { max-width: 100%; }
h1, h2, h3 { font-family: var(--font-display); font-weight: 600; line-height: 1.12; margin: 0; text-wrap: balance; color: var(--navy); }
h1 { font-size: clamp(2.5rem, 5.6vw, 4.25rem); letter-spacing: -0.01em; }
h2 { font-size: clamp(2rem, 3.6vw, 2.9rem); }
h3 { font-size: 1.5rem; }
p { margin: 0; }
a { color: var(--navy-soft); }
ul { margin: 0; padding: 0; list-style: none; }
:focus-visible { outline: 3px solid var(--gold); outline-offset: 3px; border-radius: 3px; }

.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 24px; }
.section { padding: clamp(64px, 9vw, 112px) 0; }
.section--mist { background: var(--mist); }
.section--navy { background: var(--navy); color: #d7deea; }
.section--navy h2, .section--navy h3 { color: var(--white); }
.stack { display: flex; flex-direction: column; gap: 20px; }
.section-head { display: flex; flex-direction: column; gap: 16px; max-width: 720px; margin-bottom: 48px; }
.section-head p { color: var(--muted); font-size: 1.125rem; }
.section--navy .section-head p { color: #c3cddd; }
.eyebrow {
  font-size: 0.84rem; font-weight: 700; letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--gold-deep); display: flex; align-items: center; gap: 12px;
}
.eyebrow::before { content: ""; width: 36px; height: 1px; background: var(--gold); }
.section--navy .eyebrow, .hero .eyebrow, .page-head .eyebrow { color: var(--gold-light); }
.skip { position: absolute; left: -9999px; top: 0; background: var(--navy); color: var(--white); padding: 12px 18px; z-index: 100; }
.skip:focus { left: 12px; top: 12px; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  font-family: var(--font-body); font-size: 0.86rem; font-weight: 800; letter-spacing: 0.13em; text-transform: uppercase;
  text-decoration: none; text-align: center; padding: 17px 28px; min-height: 54px; border-radius: var(--radius);
  border: 1px solid transparent; cursor: pointer; transition: background-color .2s, color .2s, border-color .2s, transform .2s;
}
.btn:hover { transform: translateY(-1px); }
.btn--gold { background: var(--gold); color: var(--navy-deep); border-color: #a98845; box-shadow: 0 8px 20px rgba(140, 107, 42, 0.28); }
.btn--gold:hover { background: var(--gold-light); }
.btn--navy { background: var(--navy); color: var(--white); }
.btn--navy:hover { background: var(--navy-soft); }
.btn--ghost { border-color: rgba(255, 255, 255, 0.45); color: var(--white); }
.btn--ghost:hover { border-color: var(--gold-light); color: var(--gold-light); }
.btn--outline { border-color: var(--navy); color: var(--navy); background: transparent; }
.btn--outline:hover { background: var(--navy); color: var(--white); }
.btn--block { width: 100%; }
.btn-row { display: flex; flex-wrap: wrap; gap: 14px; }

/* Header */
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(255, 255, 255, 0.97); border-bottom: 1px solid var(--line); }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 24px; min-height: 80px; }
.logo { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; color: var(--navy); }
.logo svg { width: 44px; height: 44px; flex: none; }
.logo-text { display: flex; flex-direction: column; line-height: 1; }
.logo-text strong { font-family: var(--font-display); font-size: 1.5rem; font-weight: 700; letter-spacing: 0.04em; }
.logo-text span { font-size: 0.72rem; font-weight: 700; letter-spacing: 0.3em; text-transform: uppercase; color: var(--gold-deep); margin-top: 5px; }
.nav { display: flex; align-items: center; gap: 34px; }
.nav ul { display: flex; gap: 30px; }
.nav ul a {
  font-size: 0.84rem; font-weight: 700; letter-spacing: 0.15em; text-transform: uppercase; text-decoration: none;
  color: var(--navy); padding: 8px 0; border-bottom: 2px solid transparent;
}
.nav ul a:hover, .nav ul a[aria-current="page"] { border-bottom-color: var(--gold); }
.nav-toggle { display: none; background: none; border: 1px solid var(--line); border-radius: var(--radius); padding: 10px; cursor: pointer; color: var(--navy); }
.nav-toggle svg { display: block; width: 24px; height: 24px; }

/* Hero */
.hero { background: var(--navy); color: #d7deea; position: relative; overflow: hidden; }
.hero::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background:
    radial-gradient(900px 480px at 85% -10%, rgba(194, 160, 94, 0.16), transparent 60%),
    linear-gradient(180deg, var(--navy) 0%, var(--navy-deep) 100%);
}
.hero .wrap { position: relative; display: grid; grid-template-columns: 1.15fr 0.85fr; gap: 64px; align-items: center; padding-top: clamp(64px, 9vw, 112px); padding-bottom: clamp(64px, 9vw, 112px); }
.hero h1 { color: var(--white); }
.hero h1 span { display: block; }
.hero h1 em { font-style: italic; color: var(--gold-light); }
.hero-copy { display: flex; flex-direction: column; gap: 26px; }
.hero-copy > p { font-size: 1.2rem; max-width: 34em; color: #cdd6e4; }
.hero-contact { font-size: 1.02rem; color: #aebad0; }
.hero-contact a { color: var(--white); font-weight: 700; text-decoration: none; border-bottom: 1px solid var(--gold); }
.ledger {
  background: var(--white); color: var(--ink); border-radius: 8px; padding: 30px 30px 26px;
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.35); border-top: 4px solid var(--gold);
}
.ledger-title { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; padding-bottom: 16px; border-bottom: 1px solid var(--line); }
.ledger-title strong { font-family: var(--font-display); font-size: 1.45rem; color: var(--navy); }
.ledger-title span { font-size: 0.78rem; font-weight: 700; letter-spacing: 0.18em; text-transform: uppercase; color: var(--gold-deep); }
.ledger li { display: flex; align-items: center; gap: 14px; padding: 14px 0; border-bottom: 1px dashed var(--line); font-size: 0.98rem; font-weight: 600; }
.ledger li:last-child { border-bottom: 0; padding-bottom: 0; }
.tick { flex: none; width: 24px; height: 24px; border-radius: 50%; background: var(--navy); color: var(--gold-light); display: grid; place-items: center; }
.tick svg { width: 13px; height: 13px; }

/* Cleanup feature */
.cleanup { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.cleanup-copy { display: flex; flex-direction: column; gap: 22px; align-items: flex-start; }
.cleanup-copy p { color: var(--muted); font-size: 1.125rem; }
.cleanup-list { background: var(--mist); border: 1px solid var(--line); border-left: 4px solid var(--gold); border-radius: 8px; padding: 34px; }
.cleanup-list h3 { margin-bottom: 18px; }
.checks { display: grid; gap: 13px; }
.checks li { display: flex; gap: 13px; align-items: flex-start; font-weight: 600; }
.checks svg { flex: none; width: 20px; height: 20px; margin-top: 4px; color: var(--gold-deep); }
.badge { display: inline-block; background: var(--navy); color: var(--gold-light); font-size: 0.8rem; font-weight: 800; letter-spacing: 0.16em; text-transform: uppercase; padding: 9px 15px; border-radius: 3px; }

/* Cards */
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
.card { background: var(--white); border: 1px solid var(--line); border-radius: 8px; padding: 32px; display: flex; flex-direction: column; gap: 14px; transition: box-shadow .25s, border-color .25s, transform .25s; }
.card:hover { box-shadow: var(--shadow); border-color: var(--gold); }
.card p { color: var(--muted); font-size: 1rem; }
.icon { width: 52px; height: 52px; border-radius: 50%; background: var(--mist); border: 1px solid var(--line); display: grid; place-items: center; color: var(--gold-deep); }
.icon svg { width: 24px; height: 24px; }
.also { margin-top: 36px; padding: 24px 28px; border: 1px solid var(--line); border-radius: 8px; background: var(--white); display: flex; flex-wrap: wrap; gap: 16px 28px; align-items: center; justify-content: space-between; }
.also p { max-width: 46em; color: var(--muted); }
.also strong { color: var(--navy); }
.text-link { font-weight: 800; font-size: 0.82rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--navy); text-decoration: none; border-bottom: 2px solid var(--gold); padding-bottom: 3px; white-space: nowrap; }

/* Why */
.why-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; border-top: 1px solid rgba(255, 255, 255, 0.14); border-left: 1px solid rgba(255, 255, 255, 0.14); }
.why-grid li { padding: 32px; border-right: 1px solid rgba(255, 255, 255, 0.14); border-bottom: 1px solid rgba(255, 255, 255, 0.14); display: flex; flex-direction: column; gap: 10px; }
.why-grid svg { width: 28px; height: 28px; color: var(--gold); margin-bottom: 6px; }
.why-grid p { color: #d0d8e5; font-size: 1.02rem; }

/* Pricing */
.price-card { position: relative; }
.price-card h3 { font-family: var(--font-body); font-size: 0.9rem; font-weight: 800; letter-spacing: 0.16em; text-transform: uppercase; color: var(--gold-deep); line-height: 1.5; }
.price { font-family: var(--font-display); color: var(--navy); line-height: 1; font-variant-numeric: lining-nums tabular-nums; display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px; }
.price small { font-family: var(--font-body); font-size: 0.82rem; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted); flex-basis: 100%; margin-bottom: 4px; }
.price b { font-size: 3.2rem; font-weight: 600; }
.price span { font-family: var(--font-body); font-size: 1rem; color: var(--muted); font-weight: 600; }
.price--quote b { font-size: 2.4rem; }
.price-card .for { color: var(--ink); font-weight: 600; min-height: 3.3em; }
.price-card .label { font-size: 0.82rem; font-weight: 800; letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted); padding-top: 14px; border-top: 1px solid var(--line); }
.price-card .checks { gap: 10px; font-size: 1.02rem; }
.price-card .checks li { font-weight: 500; }
.price-card .note { font-size: 0.96rem; color: var(--muted); }
.price-card .btn { margin-top: auto; }
.price-card .spacer { flex: 1; }
.price-feature { margin-top: 24px; background: var(--navy); color: #d7deea; border-radius: 8px; padding: 40px; display: grid; grid-template-columns: 1.1fr 1fr; gap: 40px; align-items: center; border-top: 4px solid var(--gold); }
.price-feature h3 { color: var(--white); font-size: 2rem; }
.price-feature .stack { align-items: flex-start; }
.price-feature .price b, .price-feature .price { color: var(--gold-light); }
.price-feature .checks svg { color: var(--gold); }
.price-feature .label { font-size: 0.82rem; font-weight: 800; letter-spacing: 0.14em; text-transform: uppercase; color: var(--gold-light); margin-bottom: 14px; }
.disclosure { margin-top: 36px; padding: 26px 30px; background: var(--white); border: 1px solid var(--line); border-radius: 8px; font-size: 1rem; color: var(--muted); display: grid; gap: 12px; }
.disclosure strong { color: var(--navy); }
.unsure { margin-top: 36px; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 20px; }
.unsure p { font-family: var(--font-display); font-size: 1.6rem; color: var(--navy); font-weight: 600; max-width: 26em; }

/* CTA band */
.cta-band { background: var(--navy-deep); color: #cdd6e4; padding: 72px 0; border-top: 1px solid rgba(194, 160, 94, 0.4); }
.cta-band .wrap { display: flex; flex-wrap: wrap; gap: 28px; align-items: center; justify-content: space-between; }
.cta-band h2 { color: var(--white); max-width: 16em; }
.cta-band p { margin-top: 12px; max-width: 34em; }

/* Services page */
.page-head { background: var(--navy); color: #cdd6e4; padding: clamp(56px, 8vw, 96px) 0; position: relative; }
.page-head .wrap { display: flex; flex-direction: column; gap: 20px; }
.page-head h1 { color: var(--white); font-size: clamp(2.3rem, 4.6vw, 3.5rem); max-width: 16em; }
.page-head p { font-size: 1.15rem; max-width: 38em; }
.service-list { display: grid; grid-template-columns: repeat(2, 1fr); gap: 0 56px; }
.service-item { padding: 30px 0; border-top: 1px solid var(--line); display: grid; grid-template-columns: 52px 1fr; gap: 20px; }
.service-item h3 { margin-bottom: 8px; font-size: 1.45rem; }
.service-item p { color: var(--muted); font-size: 1rem; }
.service-item .fine { font-size: 0.96rem; margin-top: 8px; font-style: italic; }

.contact { display: grid; grid-template-columns: 0.8fr 1.2fr; gap: 56px; align-items: start; }
.contact-info { display: flex; flex-direction: column; gap: 24px; }
.contact-info > p { color: var(--muted); font-size: 1.1rem; }
.contact-lines { display: grid; gap: 16px; }
.contact-lines li { display: flex; gap: 16px; align-items: center; }
.contact-lines .lbl { display: block; font-size: 0.8rem; font-weight: 800; letter-spacing: 0.16em; text-transform: uppercase; color: var(--muted); }
.contact-lines a, .contact-lines .val { font-size: 1.12rem; font-weight: 700; color: var(--navy); text-decoration: none; overflow-wrap: anywhere; }
.contact-lines a:hover { text-decoration: underline; text-decoration-color: var(--gold); }
.form-card { background: var(--white); border: 1px solid var(--line); border-top: 4px solid var(--gold); border-radius: 8px; padding: clamp(24px, 4vw, 44px); box-shadow: var(--shadow); }
.form-card h3 { font-size: 1.8rem; margin-bottom: 6px; }
.form-card .lead { color: var(--muted); margin-bottom: 26px; font-size: 0.98rem; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.field { display: flex; flex-direction: column; gap: 7px; }
.field--full { grid-column: 1 / -1; }
.field label { font-size: 0.96rem; font-weight: 700; color: var(--navy); }
.field .opt { font-weight: 500; color: var(--muted); }
.field .req { color: var(--error); }
.field input, .field select, .field textarea {
  font: inherit; font-size: 1rem; color: var(--ink); background: var(--white);
  border: 1px solid #b9c2d2; border-radius: var(--radius); padding: 13px 14px; width: 100%; min-height: 50px;
}
.field textarea { min-height: 130px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: 3px solid rgba(194, 160, 94, 0.55); outline-offset: 1px; border-color: var(--navy); }
.field [aria-invalid="true"] { border-color: var(--error); }
.field .err { color: var(--error); font-size: 0.92rem; font-weight: 600; min-height: 0; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-status { margin-top: 18px; padding: 16px 18px; border-radius: var(--radius); font-weight: 600; font-size: 0.97rem; }
.form-status[hidden] { display: none; }
.form-status--error { background: #fdf1f1; border: 1px solid #e6b8ba; color: #7d1d22; }
.form-status--info { background: #fbf6ea; border: 1px solid var(--gold-light); color: #5c4718; }
.form-success { text-align: left; display: flex; flex-direction: column; gap: 16px; padding: 12px 0; }
.form-success .tick { width: 52px; height: 52px; }
.form-success .tick svg { width: 24px; height: 24px; }
.form-success p { font-family: var(--font-display); font-size: 1.7rem; color: var(--navy); font-weight: 600; line-height: 1.25; }
.form-foot { font-size: 0.92rem; color: var(--muted); margin-top: 14px; }

/* Footer */
.site-footer { background: var(--navy-deep); color: #aebad0; padding: 64px 0 28px; font-size: 0.95rem; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 48px; padding-bottom: 40px; border-bottom: 1px solid rgba(255, 255, 255, 0.12); }
.site-footer .logo { color: var(--white); }
.site-footer .logo-text span { color: var(--gold-light); }
.site-footer h2 { font-family: var(--font-body); font-size: 0.84rem; font-weight: 800; letter-spacing: 0.16em; text-transform: uppercase; color: var(--gold-light); margin-bottom: 16px; }
.site-footer li { margin-bottom: 10px; }
.site-footer a { color: #dbe2ee; text-decoration: none; }
.site-footer a:hover { color: var(--gold-light); text-decoration: underline; }
.footer-about { margin-top: 18px; max-width: 30em; }
.footer-legal { padding-top: 24px; display: flex; flex-wrap: wrap; gap: 8px 24px; justify-content: space-between; font-size: 0.92rem; }

/* Refinements: pricing key, package type tags, illustration */
.price-key { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; margin-bottom: 28px; }
.price-key div { background: var(--white); border: 1px solid var(--line); border-left: 4px solid var(--gold); border-radius: 8px; padding: 22px 26px; }
.price-key strong { display: block; color: var(--navy); font-size: 1.05rem; margin-bottom: 4px; }
.price-key p { color: var(--muted); font-size: 1rem; }
.tier { align-self: flex-start; font-size: 0.78rem; font-weight: 800; letter-spacing: 0.1em; text-transform: uppercase; padding: 6px 11px; border-radius: 3px; background: var(--mist); color: var(--navy); border: 1px solid var(--line); }
.tier--special { background: #fbf6ea; border-color: var(--gold-light); color: #5c4718; }
.why-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 48px; margin-bottom: 48px; }
.why-head .section-head { margin-bottom: 0; }
.why-art { flex: none; width: 330px; height: auto; }
@media (max-width: 1020px) { .why-art { width: 260px; } }
@media (max-width: 720px) { .price-key { grid-template-columns: 1fr; } .why-head { flex-direction: column; align-items: flex-start; gap: 28px; } .why-art { width: 100%; max-width: 330px; } }

/* Motion */
@keyframes rise { from { transform: translateY(18px); } to { transform: none; } }
.hero-copy, .ledger { animation: rise .8s cubic-bezier(.2, .7, .2, 1) both; }
.js .reveal { transform: translateY(16px); transition: transform .7s cubic-bezier(.2, .7, .2, 1); }
.js .reveal.in { transform: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .js .reveal { transform: none; }
}

/* Responsive */
@media (max-width: 1020px) {
  .hero .wrap { grid-template-columns: 1fr; gap: 48px; }
  .ledger { max-width: 520px; }
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
  .why-grid { grid-template-columns: repeat(2, 1fr); }
  .cleanup, .contact, .price-feature { grid-template-columns: 1fr; gap: 36px; }
  .price-card .for { min-height: 0; }
  .nav-toggle { display: block; }
  .nav {
    display: none; position: absolute; left: 0; right: 0; top: 100%; background: var(--white);
    border-bottom: 1px solid var(--line); box-shadow: var(--shadow); padding: 16px 24px 24px; flex-direction: column; align-items: stretch; gap: 16px;
  }
  .nav.open { display: flex; }
  .nav ul { flex-direction: column; gap: 0; }
  .nav ul a { display: block; padding: 15px 0; border-bottom: 1px solid var(--line); }
}
@media (max-width: 720px) {
  .grid-3, .grid-2, .why-grid, .service-list, .form-grid, .footer-grid { grid-template-columns: 1fr; }
  .footer-grid { gap: 32px; }
  .card, .cleanup-list, .why-grid li { padding: 26px; }
  .price-feature { padding: 28px; }
  .btn-row .btn, .cleanup-copy .btn, .unsure .btn, .cta-band .btn { width: 100%; }
  .logo-text strong { font-size: 1.22rem; }
  .logo-text span { letter-spacing: 0.22em; }
  .logo svg { width: 38px; height: 38px; }
  .service-item { grid-template-columns: 1fr; gap: 14px; }
}
