/*
Theme Name: Accounts Filing
Theme URI: https://www.accountsfiling.com/
Author: Accounts Filing
Author URI: https://www.accountsfiling.com/
Description: Custom one-page-style theme for Accounts Filing (accountsfiling.com) — tax, GST, and company registration advisory. Built to match the v2 design system: real brand logo/colors, service detail pages, and legal pages. Replaces the earlier accountsfiling-theme (v1).
Version: 2.0
Requires at least: 6.0
Requires PHP: 7.4
Text Domain: accountsfiling
*/

:root{
    --brand:#A0CF4E; --brand-deep:#486519; --brand-deep2:#344A12; --brand-soft:#EFF3E8; --brand-soft2:#E1E9D2;
    --action:#FF6B47; --action-deep:#E24E29; --action-soft:#FFE9E1;
    --ink:#141C18; --ink-soft:#57655E; --muted:#8A968F;
    --paper:#FFFFFF; --surface-2:#F4F8F6; --surface-3:#EDF4F0;
    --border:#E2E9E5; --border-strong:#CBD8D0;
    --radius:16px; --radius-sm:10px; --radius-pill:999px;
  }
  *{ box-sizing:border-box; }
  html{ scroll-behavior:smooth; }
  @media (prefers-reduced-motion:reduce){ html{ scroll-behavior:auto; } *{ animation-duration:0.01ms !important; transition-duration:0.01ms !important; } }
  body{ margin:0; background:var(--paper); color:var(--ink); font-family:"Plus Jakarta Sans", ui-sans-serif, system-ui, sans-serif; font-size:16px; line-height:1.6; -webkit-font-smoothing:antialiased; }
  h1,h2,h3,h4{ font-family:"Plus Jakarta Sans",sans-serif; font-weight:800; margin:0; text-wrap:balance; letter-spacing:-0.01em; }
  a{ color:inherit; text-decoration:none; }
  img{ max-width:100%; display:block; }
  ::selection{ background:var(--brand-soft2); color:var(--brand-deep); }
  [id]{ scroll-margin-top:90px; }

  .shell{ max-width:1180px; margin:0 auto; padding:0 40px; }
  @media (max-width:640px){ .shell{ padding:0 22px; } }
  section{ padding:104px 0; }
  @media (max-width:900px){ section{ padding:72px 0; } }

  .eyebrow{ display:inline-flex; align-items:center; gap:8px; font-size:12.5px; font-weight:700; letter-spacing:0.02em; color:var(--brand-deep); background:var(--brand-soft); padding:7px 16px; border-radius:var(--radius-pill); margin-bottom:22px; }
  .eyebrow.on-brand{ color:var(--paper); background:rgba(255,255,255,0.16); }
  .lede{ font-size:18.5px; line-height:1.65; color:var(--ink-soft); max-width:600px; }
  .lede.on-brand{ color:rgba(255,255,255,0.88); }

  .btn{ display:inline-flex; align-items:center; gap:10px; font-size:15px; font-weight:700; padding:15px 28px; border-radius:var(--radius-pill); white-space:nowrap; transition:transform .15s ease, box-shadow .15s ease, background .15s ease; border:none; cursor:pointer; }
  .btn-primary{ background:var(--action); color:#fff; box-shadow:0 8px 20px -8px rgba(226,78,41,0.55); }
  .btn-primary:hover{ background:var(--action-deep); transform:translateY(-1px); }
  .btn-ghost{ background:var(--paper); color:var(--brand-deep); border:1.5px solid var(--border-strong); }
  .btn-ghost:hover{ border-color:var(--brand); }
  .btn-ghost.on-brand{ background:rgba(255,255,255,0.12); color:#fff; border-color:rgba(255,255,255,0.4); }
  .btn-ghost.on-brand:hover{ background:rgba(255,255,255,0.2); }
  .link{ display:inline-flex; align-items:center; gap:7px; font-size:14.5px; font-weight:700; color:var(--brand-deep); }
  .link svg{ width:15px; height:15px; transition:transform .2s ease; }
  .link:hover svg{ transform:translateX(3px); }

  /* ---------- ANNOUNCEMENT BAR ---------- */
  .announce{ background:var(--ink); color:#fff; text-align:center; padding:10px 20px; font-size:13px; font-weight:600; }
  .announce a{ text-decoration:underline; text-underline-offset:2px; color:#fff; }

  /* ---------- NAV ---------- */
  header.nav{ position:sticky; top:0; z-index:100; background:var(--paper); border-bottom:1px solid var(--border); }
  .navrow{ display:flex; align-items:center; justify-content:space-between; gap:24px; padding:16px 0; }
  .brand{ display:flex; align-items:center; gap:10px; }
  .brand .mark{ width:34px; height:34px; object-fit:contain; flex:none; display:block; }
  .brand-text{ display:flex; flex-direction:column; line-height:1.2; }
  .brand .name{ font-size:17px; font-weight:800; color:var(--ink); white-space:nowrap; }
  .brand .tagline{ font-size:10px; font-weight:700; letter-spacing:0.035em; text-transform:uppercase; color:var(--brand-deep); white-space:nowrap; }
  @media (max-width:420px){ .brand .tagline{ display:none; } }
  nav.menu{ display:flex; gap:30px; }
  nav.menu a{ font-size:14px; font-weight:600; color:var(--ink-soft); transition:color .2s ease; white-space:nowrap; }
  nav.menu a:hover, nav.menu a.active{ color:var(--brand-deep); }
  .navcta{ display:flex; align-items:center; gap:14px; flex:none; }
  .navcta .btn{ padding:12px 22px; font-size:14px; }
  @media (max-width:980px){ nav.menu{ display:none; } }

  #menu-toggle{ display:none; }
  .burger-label{ display:none; width:34px; height:34px; align-items:center; justify-content:center; cursor:pointer; flex-direction:column; gap:5px; }
  .burger-label span{ display:block; width:20px; height:2px; border-radius:2px; background:var(--ink); }
  @media (max-width:980px){ .burger-label{ display:flex; } }
  .mobile-panel{ position:fixed; inset:0; top:80px; background:#fff; z-index:99; display:flex; flex-direction:column; align-items:flex-start; padding:28px 24px; gap:6px; opacity:0; pointer-events:none; transition:opacity .25s ease; overflow-y:auto; }
  #menu-toggle:checked ~ .mobile-panel{ opacity:1; pointer-events:auto; }
  .mobile-panel a{ font-size:17px; font-weight:700; padding:14px 4px; width:100%; border-bottom:1px solid var(--border); }
  .mobile-panel .btn{ margin-top:18px; width:100%; justify-content:center; }

  /* ---------- HERO ---------- */
  .hero{ padding:88px 0 70px; overflow:hidden; position:relative; background:linear-gradient(180deg, var(--brand-soft) 0%, #fff 72%); }
  .hero-grid{ display:grid; grid-template-columns:1.05fr 0.95fr; gap:56px; align-items:center; }
  @media (max-width:960px){ .hero-grid{ grid-template-columns:1fr; } .hero{ padding:56px 0 48px; } }
  .hero h1{ font-size:clamp(36px,4.6vw,58px); line-height:1.08; }
  .hero h1 .hi{ color:var(--brand-deep); }
  .hero .lede{ margin-top:22px; }
  .hero-actions{ display:flex; align-items:center; gap:20px; margin-top:36px; flex-wrap:wrap; }
  .hero-badges{ display:flex; flex-wrap:wrap; gap:12px; margin-top:40px; }
  .hero-badge{ display:flex; align-items:center; gap:8px; background:#fff; border:1px solid var(--border); padding:10px 16px; border-radius:var(--radius-pill); font-size:13px; font-weight:700; color:var(--ink); box-shadow:0 2px 10px -6px rgba(20,28,24,0.15); }
  .hero-badge svg{ width:15px; height:15px; stroke:var(--brand); flex:none; }

  .hero-visual{ position:relative; }
  .hero-card{ background:#fff; border:1px solid var(--border); border-radius:20px; padding:30px; box-shadow:0 30px 60px -30px rgba(20,28,24,0.28); }
  .hero-card .row{ display:flex; align-items:center; justify-content:space-between; padding:14px 0; border-bottom:1px solid var(--border); }
  .hero-card .row:last-child{ border-bottom:none; }
  .hero-card .row .lbl{ font-size:14.5px; font-weight:600; color:var(--ink-soft); }
  .hero-card .row .stat{ font-size:13px; font-weight:800; padding:5px 12px; border-radius:var(--radius-pill); background:var(--brand-soft); color:var(--brand-deep); }
  .hero-card .row .stat.pending{ background:var(--action-soft); color:var(--action-deep); }
  .hero-card .head{ display:flex; align-items:center; justify-content:space-between; margin-bottom:8px; }
  .hero-card .head .t{ font-size:13px; font-weight:800; letter-spacing:0.02em; text-transform:uppercase; color:var(--muted); }
  .hero-card .head .badge{ font-size:11px; font-weight:800; background:var(--ink); color:#fff; padding:4px 10px; border-radius:var(--radius-pill); }
  .float-chip{ position:absolute; background:#fff; border:1px solid var(--border); border-radius:14px; padding:12px 16px; box-shadow:0 16px 34px -18px rgba(20,28,24,0.3); font-size:13px; font-weight:700; display:flex; align-items:center; gap:8px; }
  .float-chip svg{ width:16px; height:16px; stroke:var(--action); }
  .float-chip.c1{ top:-18px; right:10px; }
  .float-chip.c2{ bottom:-16px; left:-14px; }
  @media (max-width:640px){ .float-chip{ display:none; } }

  /* ---------- SECTION HEADS ---------- */
  .head{ max-width:640px; margin-bottom:56px; }
  .head.center{ margin-left:auto; margin-right:auto; text-align:center; }
  .head h2{ font-size:clamp(28px,3.4vw,42px); }
  .head p{ margin-top:16px; }

  /* ---------- TRUST STRIP ---------- */
  .trust-strip{ background:var(--surface-2); border-top:1px solid var(--border); border-bottom:1px solid var(--border); padding:22px 0; }
  .trust-strip .shell{ display:flex; flex-wrap:wrap; gap:12px 34px; justify-content:center; align-items:center; }
  .trust-strip .item{ display:flex; align-items:center; gap:8px; font-size:13.5px; font-weight:700; color:var(--ink-soft); }
  .trust-strip svg{ width:16px; height:16px; stroke:var(--brand); }

  /* ---------- COMPARISON ---------- */
  .compare-table{ width:100%; border-collapse:separate; border-spacing:0; background:#fff; border:1px solid var(--border); border-radius:20px; overflow:hidden; }
  .compare-table th, .compare-table td{ padding:20px 22px; text-align:left; font-size:14.5px; border-bottom:1px solid var(--border); }
  .compare-table thead th{ background:var(--surface-2); font-size:13px; font-weight:800; text-transform:uppercase; letter-spacing:0.03em; color:var(--ink-soft); }
  .compare-table thead th.win{ background:var(--brand); color:var(--ink); }
  .compare-table tbody td.win{ background:var(--brand-soft); font-weight:700; color:var(--brand-deep); }
  .compare-table tbody tr:last-child td{ border-bottom:none; }
  .compare-table td.row-label{ font-weight:700; color:var(--ink); }
  .compare-scroll{ overflow-x:auto; }
  @media (max-width:760px){ .compare-table{ min-width:640px; } }

  /* ---------- SERVICES ---------- */
  .svc-grid{ display:grid; grid-template-columns:repeat(3,1fr); gap:22px; }
  @media (max-width:900px){ .svc-grid{ grid-template-columns:repeat(2,1fr); } }
  @media (max-width:600px){ .svc-grid{ grid-template-columns:1fr; } }
  .svc-card{ background:#fff; border:1px solid var(--border); border-radius:var(--radius); padding:28px 26px; transition:border-color .2s ease, box-shadow .2s ease, transform .2s ease; }
  .svc-card:hover{ border-color:var(--brand); box-shadow:0 20px 40px -26px rgba(160,207,78,0.45); transform:translateY(-2px); }
  .svc-tag{ display:inline-flex; width:38px; height:38px; border-radius:11px; background:var(--brand-soft); color:var(--brand-deep); align-items:center; justify-content:center; font-weight:800; font-size:13px; margin-bottom:16px; }
  .svc-card h3{ font-size:18px; font-weight:800; margin-bottom:8px; }
  .svc-card p{ font-size:14px; color:var(--ink-soft); margin:0; }
  .svc-card details{ margin-top:14px; }
  .svc-card summary{ list-style:none; cursor:pointer; display:inline-flex; align-items:center; gap:6px; font-size:13px; font-weight:700; color:var(--brand-deep); }
  .svc-card summary::-webkit-details-marker{ display:none; }
  .svc-card summary .chev{ width:13px; height:13px; transition:transform .2s ease; }
  .svc-card details[open] summary .chev{ transform:rotate(180deg); }
  .svc-card .more{ margin-top:10px; font-size:13.5px; color:var(--ink-soft); }
  .svc-cta{ text-align:center; margin-top:44px; font-size:14.5px; color:var(--ink-soft); }

  /* ---------- PRICING EXPLAINER ---------- */
  .pricing-wrap{ background:var(--ink); border-radius:24px; padding:56px; color:#fff; display:grid; grid-template-columns:1fr 1fr; gap:48px; align-items:center; }
  @media (max-width:900px){ .pricing-wrap{ grid-template-columns:1fr; padding:36px 26px; } }
  .pricing-steps{ display:flex; flex-direction:column; gap:22px; }
  .pricing-step{ display:flex; gap:16px; align-items:flex-start; }
  .pricing-step .n{ flex:none; width:34px; height:34px; border-radius:10px; background:rgba(255,255,255,0.12); display:flex; align-items:center; justify-content:center; font-weight:800; font-size:14px; }
  .pricing-step h4{ font-size:15.5px; font-weight:800; margin-bottom:4px; }
  .pricing-step p{ font-size:13.5px; color:rgba(255,255,255,0.72); margin:0; }
  .pricing-note{ margin-top:26px; font-size:12.5px; color:rgba(255,255,255,0.55); border-top:1px solid rgba(255,255,255,0.14); padding-top:16px; }

  /* ---------- PROCESS ---------- */
  .process-track{ display:grid; grid-template-columns:repeat(5,1fr); gap:24px; }
  @media (max-width:900px){ .process-track{ grid-template-columns:1fr; gap:0; } }
  .process-step{ position:relative; }
  @media (min-width:901px){ .process-track::before{ content:""; position:absolute; top:23px; left:0; right:0; height:2px; background:var(--border); z-index:0; } .process-track{ position:relative; } .process-step{ z-index:1; } }
  @media (max-width:900px){ .process-step{ display:grid; grid-template-columns:46px 1fr; gap:16px; padding-bottom:34px; } .process-step::before{ content:""; position:absolute; left:22px; top:46px; bottom:0; width:2px; background:var(--border); } .process-step:last-child::before{ display:none; } }
  .process-step .dot{ width:46px; height:46px; border-radius:14px; background:var(--brand); color:var(--ink); display:flex; align-items:center; justify-content:center; font-weight:800; font-size:15px; margin-bottom:18px; }
  .process-step h3{ font-size:16.5px; font-weight:800; margin-bottom:6px; }
  .process-step p{ font-size:13.5px; color:var(--ink-soft); margin:0; }

  /* ---------- INSIGHTS ---------- */
  .insight-grid{ display:grid; grid-template-columns:repeat(4,1fr); gap:20px; }
  @media (max-width:900px){ .insight-grid{ grid-template-columns:repeat(2,1fr); } }
  @media (max-width:600px){ .insight-grid{ grid-template-columns:1fr; } }
  .insight-card{ background:var(--surface-2); border-radius:var(--radius); padding:24px; display:flex; flex-direction:column; gap:12px; }
  .insight-cat{ display:inline-flex; align-self:flex-start; font-size:11.5px; font-weight:800; text-transform:uppercase; letter-spacing:0.03em; color:var(--brand-deep); background:var(--brand-soft); padding:5px 12px; border-radius:var(--radius-pill); }
  .insight-card h3{ font-size:16px; font-weight:700; }
  .insight-sample{ font-size:12.5px; color:var(--muted); }

  /* ---------- FAQ ---------- */
  .faq-item{ border-bottom:1px solid var(--border); }
  .faq-item:first-child{ border-top:1px solid var(--border); }
  .faq-item summary{ list-style:none; cursor:pointer; padding:24px 4px; display:flex; align-items:center; justify-content:space-between; gap:24px; font-size:16.5px; font-weight:700; }
  .faq-item summary::-webkit-details-marker{ display:none; }
  .faq-item .plus{ flex:none; width:22px; height:22px; border-radius:50%; background:var(--surface-2); position:relative; }
  .faq-item .plus::before, .faq-item .plus::after{ content:""; position:absolute; background:var(--ink); }
  .faq-item .plus::before{ left:6px; right:6px; top:10px; height:2px; }
  .faq-item .plus::after{ top:6px; bottom:6px; left:10px; width:2px; }
  .faq-item[open] .plus::after{ opacity:0; }
  .faq-a{ padding:0 4px 26px; color:var(--ink-soft); font-size:14.5px; max-width:680px; }
  .faq-cta{ text-align:center; margin-top:36px; font-size:14.5px; color:var(--ink-soft); }

  /* ---------- CTA BAND ---------- */
  .cta-band{ background:linear-gradient(135deg, var(--brand-deep) 0%, var(--brand-deep2) 100%); color:#fff; }
  .cta-inner{ text-align:center; max-width:680px; margin:0 auto; }
  .cta-inner h2{ font-size:clamp(28px,3.6vw,42px); color:#fff; }
  .cta-inner .sub{ margin-top:14px; font-size:17px; color:rgba(255,255,255,0.85); }
  .cta-actions{ display:flex; gap:18px; justify-content:center; margin-top:32px; flex-wrap:wrap; }
  .cta-meta{ margin-top:26px; font-size:12.5px; color:rgba(255,255,255,0.75); }

  /* ---------- FOOTER ---------- */
  footer{ background:var(--ink); color:rgba(255,255,255,0.75); padding:64px 0 28px; }
  .foot-grid{ display:grid; grid-template-columns:1.5fr 1fr 1fr 1fr; gap:36px; padding-bottom:44px; border-bottom:1px solid rgba(255,255,255,0.14); }
  @media (max-width:760px){ .foot-grid{ grid-template-columns:1fr 1fr; } }
  .foot-brand{ display:flex; align-items:center; gap:10px; }
  .foot-brand .mark{ width:32px; height:32px; object-fit:contain; display:block; }
  .foot-brand-text{ display:flex; flex-direction:column; line-height:1.25; }
  .foot-brand .name{ font-size:17px; font-weight:800; color:#fff; }
  .foot-brand .tagline{ font-size:10.5px; font-weight:700; letter-spacing:0.035em; text-transform:uppercase; color:var(--brand); }
  .foot-col-first p{ margin-top:16px; font-size:13.5px; line-height:1.7; max-width:280px; }
  .foot-social{ display:flex; gap:12px; margin-top:22px; }
  .foot-social a{ width:34px; height:34px; border-radius:10px; background:rgba(255,255,255,0.08); display:flex; align-items:center; justify-content:center; transition:background .2s ease; }
  .foot-social a:hover{ background:var(--brand-deep); }
  .foot-social svg{ width:15px; height:15px; stroke:#fff; }
  .foot-col h4{ font-size:11px; letter-spacing:0.08em; text-transform:uppercase; color:rgba(255,255,255,0.5); font-weight:800; margin-bottom:18px; }
  .foot-col a, .foot-col span{ display:block; font-size:13.5px; padding:6px 0; color:rgba(255,255,255,0.75); }
  .foot-col a:hover{ color:#fff; }
  .foot-bottom{ padding-top:24px; font-size:12px; color:rgba(255,255,255,0.5); display:flex; justify-content:space-between; flex-wrap:wrap; gap:10px; }

  .floating-wa{ position:fixed; right:24px; bottom:24px; width:56px; height:56px; border-radius:50%; background:var(--brand-deep); display:flex; align-items:center; justify-content:center; z-index:90; box-shadow:0 14px 30px -12px rgba(72,101,25,0.55); transition:transform .2s ease; }
  .floating-wa:hover{ transform:scale(1.06); }
  .floating-wa svg{ width:26px; height:26px; stroke:#fff; }

  .reveal{ opacity:0; transform:translateY(14px); transition:opacity .6s ease, transform .6s ease; }
  .reveal.in{ opacity:1; transform:none; }

  /* ---- Service & legal detail-page components (added for WordPress build) ---- */
  .crumb{ font-size:13px; color:var(--ink-soft); padding:22px 0 0; }
  .crumb a{ color:var(--ink-soft); }
  .crumb a:hover{ color:var(--brand-deep); }
  .crumb .sep{ margin:0 8px; color:var(--border-strong); }
  .crumb .current{ color:var(--ink); font-weight:600; }
  .page-hero{ padding:36px 0 56px; }
  .page-hero h1{ font-size:clamp(28px,3.6vw,44px); line-height:1.15; max-width:760px; }
  .page-hero .lede{ max-width:680px; margin-top:16px; }
  .page-hero .hero-actions{ display:flex; align-items:center; gap:20px; margin-top:32px; flex-wrap:wrap; }
  .page-hero .updated{ font-size:13px; color:var(--ink-soft); margin-top:14px; font-weight:600; }
  .legal-notice{ background:var(--brand-soft); border:1px solid var(--brand-soft2); border-radius:12px; padding:20px 24px; margin:0 0 40px; max-width:760px; }
  .legal-notice p{ margin:0; font-size:14.5px; line-height:1.65; color:var(--ink); }
  .legal-notice strong{ color:var(--brand-deep); }
  .prose{ max-width:760px; }
  .prose h2{ font-size:24px; margin:40px 0 14px; }
  .prose h2:first-child{ margin-top:0; }
  .prose h2 + p, .prose h3 + p{ margin-top:0; }
  .prose h3{ font-size:17.5px; font-weight:800; margin:22px 0 10px; }
  .prose p{ font-size:16px; line-height:1.75; color:var(--ink-soft); margin:0 0 18px; }
  .prose ul{ margin:0 0 18px; padding-left:22px; }
  .prose li{ font-size:16px; line-height:1.75; color:var(--ink-soft); margin:0 0 8px; }
  .prose a{ color:var(--brand-deep); font-weight:700; }
  .checklist{ list-style:none; margin:0 0 20px; padding:0; display:flex; flex-direction:column; gap:12px; }
  .checklist li{ display:flex; align-items:flex-start; gap:12px; font-size:15.5px; color:var(--ink-soft); line-height:1.6; }
  .checklist svg{ width:18px; height:18px; flex:none; margin-top:3px; stroke:var(--brand-deep); }
  .section-tight{ padding:64px 0; }
  .section-tight.alt{ background:var(--surface-2); }
  .mini-cta{ background:var(--surface-2); border-radius:var(--radius); padding:32px 34px; display:flex; align-items:center; justify-content:space-between; gap:24px; flex-wrap:wrap; margin:12px 0 8px; }
  .mini-cta p{ margin:0; font-size:15.5px; font-weight:700; color:var(--ink); }
  @media (max-width:640px){ .mini-cta{ flex-direction:column; align-items:flex-start; } }
  .process-track.count-3{ grid-template-columns:repeat(3,1fr); }
  .process-track.count-4{ grid-template-columns:repeat(4,1fr); }
  @media (max-width:900px){ .process-track.count-3, .process-track.count-4{ grid-template-columns:1fr; } }
