/* ==========================================================================
   Accounting — product / interface-led design. Muted teal, warm white and
   charcoal. Browser-window product hero with floating UI cards, feature
   panels paired with mini interfaces, pipeline workflow, file-grid types.
   Scoped under .lp-accounting.
   ========================================================================== */

.lp-accounting {
  --ac-teal: #2f7d79;
  --ac-teal-d: #245f5c;
  --ac-tint: #e6f2f0;
  --ac-tint-2: #f1f8f6;
  --ac-warm: #fbfaf6;
  --ac-ink: #22292b;
  --ac-soft: #59666a;
  --ac-line: #e2e6e0;
  background: var(--ac-warm);
  color: var(--ac-ink);
}

.lp-accounting section { padding: clamp(52px, 7vw, 92px) 0; }
.lp-accounting h1, .lp-accounting h2, .lp-accounting h3 { color: var(--ac-ink); letter-spacing: -0.02em; }
.lp-accounting h2 { font-size: clamp(27px, 3.3vw, 38px); line-height: 1.15; font-weight: 800; }
.lp-accounting h3 { font-size: 17px; font-weight: 700; line-height: 1.3; }
.lp-accounting p { color: var(--ac-soft); }
.lp-accounting .lp-ic { width: 18px; height: 18px; flex-shrink: 0; }

.ac-pill { display: inline-flex; align-items: center; font-size: 12.5px; font-weight: 700; letter-spacing: 0.04em; text-transform: uppercase; color: var(--ac-teal-d); background: var(--ac-tint); padding: 7px 14px; border-radius: 999px; margin-bottom: 18px; }
.ac-center { text-align: center; max-width: 720px; margin: 0 auto 48px; }
.ac-center p { margin-top: 14px; font-size: 17px; line-height: 1.65; }
.is-ok { color: #2a7a55; }
.is-miss { color: #a8642a; }

/* Hero */
.lp-accounting .ac-hero { padding-top: clamp(36px, 5vw, 64px); background: linear-gradient(180deg, var(--ac-tint-2), var(--ac-warm)); overflow: hidden; }
.ac-hero-grid { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: clamp(28px, 4vw, 64px); align-items: center; }
.lp-accounting .breadcrumbs { color: #8a9695; margin-bottom: 20px; }
.lp-accounting .breadcrumbs a { color: #8a9695; }
.ac-hero h1 { font-size: clamp(32px, 4.2vw, 50px); line-height: 1.08; font-weight: 800; }
.ac-lead { margin-top: 20px; font-size: 18px; line-height: 1.65; max-width: 520px; }
.ac-ticks { margin-top: 24px; display: grid; grid-template-columns: 1fr 1fr; gap: 10px 18px; max-width: 520px; }
.ac-ticks li { display: flex; align-items: center; gap: 10px; font-size: 14.5px; font-weight: 600; color: var(--ac-ink); }
.ac-ticks .lp-ic { width: 22px; height: 22px; padding: 4px; border-radius: 50%; background: var(--ac-teal); color: #fff; stroke-width: 3; }
.ac-cta-row { margin-top: 30px; display: flex; flex-wrap: wrap; gap: 12px; }
.ac-note { margin-top: 18px; font-size: 14px; color: #7d8a89; }

/* Product stage */
.ac-stage { position: relative; padding: 0 0 44px 34px; }
.ac-window { background: #fff; border: 1px solid var(--ac-line); border-radius: 16px; box-shadow: 0 30px 70px rgba(34, 41, 43, 0.14); overflow: hidden; }
.ac-window-bar, .ac-mini-bar { display: flex; align-items: center; gap: 6px; padding: 12px 16px; background: #f4f6f2; border-bottom: 1px solid var(--ac-line); }
.ac-window-bar i, .ac-mini-bar i, .ac-inbox-bar i { width: 10px; height: 10px; border-radius: 50%; background: #d3d9d3; }
.ac-window-bar span { margin-left: 12px; flex: 1; display: flex; align-items: center; gap: 8px; background: #fff; border: 1px solid var(--ac-line); border-radius: 999px; padding: 5px 12px; font-size: 12px; color: #8a9695; }
.ac-window-bar span .lp-ic { width: 13px; height: 13px; }
.ac-window-body { display: grid; grid-template-columns: 150px 1fr; min-height: 350px; }
.ac-window aside { background: var(--ac-tint-2); border-right: 1px solid var(--ac-line); padding: 18px 12px; display: flex; flex-direction: column; gap: 4px; }
.ac-window aside b { font-size: 13.5px; padding: 0 8px 14px; color: var(--ac-teal-d); }
.ac-window aside span { display: flex; align-items: center; gap: 8px; font-size: 12.5px; font-weight: 600; color: var(--ac-soft); padding: 8px; border-radius: 8px; }
.ac-window aside span .lp-ic { width: 15px; height: 15px; }
.ac-window aside .is-on { background: var(--ac-teal); color: #fff; }
.ac-main { padding: 18px 20px; }
.ac-main-head { display: flex; justify-content: space-between; align-items: center; margin: 0 0 12px; font-size: 13.5px; }
.ac-main-head em { font-style: normal; font-size: 11px; font-weight: 700; color: var(--ac-teal-d); background: var(--ac-tint); padding: 3px 10px; border-radius: 999px; }
.ac-folders { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; margin-bottom: 20px; }
.ac-folders div { border: 1px solid var(--ac-line); border-radius: 10px; padding: 12px 10px; display: flex; flex-direction: column; gap: 3px; }
.ac-folders .lp-ic { color: var(--ac-teal); width: 18px; height: 18px; margin-bottom: 4px; }
.ac-folders strong { font-size: 11.5px; line-height: 1.25; }
.ac-folders small { font-size: 10.5px; color: #8a9695; }
.ac-rows li { display: grid; grid-template-columns: auto 1fr auto auto; gap: 10px; align-items: center; padding: 10px 0; border-top: 1px solid var(--ac-line); font-size: 12px; }
.ac-rows strong { font-weight: 600; overflow-wrap: anywhere; }
.ac-rows small { color: #8a9695; font-size: 11px; }
.ac-rows b { font-size: 10.5px; padding: 3px 9px; border-radius: 999px; font-weight: 700; }
.ac-rows b.is-ok { background: #e2f1e9; color: #2a7a55; }
.ac-rows b.is-review { background: #f8ecd6; color: #94651c; }
.ac-rows b.is-shared { background: var(--ac-tint); color: var(--ac-teal-d); }
.ac-file { width: 26px; height: 26px; border-radius: 7px; display: grid; place-items: center; font-size: 8.5px; font-weight: 800; color: #fff; background: #b95c5c; }
.ac-file.is-xls { background: #4f9a72; }
.ac-float { position: absolute; background: #fff; border: 1px solid var(--ac-line); border-radius: 14px; box-shadow: 0 18px 40px rgba(34, 41, 43, 0.16); padding: 14px 16px; }
.ac-float-a { left: 0; bottom: 0; display: flex; flex-direction: column; gap: 6px; font-size: 12.5px; font-weight: 600; min-width: 170px; }
.ac-float-a strong { font-size: 12px; text-transform: uppercase; letter-spacing: 0.06em; color: var(--ac-soft); margin-bottom: 2px; }
.ac-float-a span { display: flex; align-items: center; gap: 8px; }
.ac-float-a .lp-ic { width: 15px; height: 15px; }
.ac-float-b { right: -6px; top: 58px; display: flex; align-items: center; gap: 10px; }
.ac-float-b .lp-ic { color: var(--ac-teal); width: 22px; height: 22px; }
.ac-float-b strong { display: block; font-size: 12.5px; }
.ac-float-b small { font-size: 11px; color: #8a9695; }

/* Overview */
.ac-overview-grid { display: grid; grid-template-columns: 1.15fr 0.85fr; gap: clamp(28px, 5vw, 72px); align-items: start; }
.ac-overview p { margin-top: 16px; font-size: 16.5px; line-height: 1.75; }
.ac-overview h2 + p { margin-top: 22px; }
.ac-journey { background: #fff; border: 1px solid var(--ac-line); border-radius: 18px; padding: 28px; box-shadow: 0 14px 34px rgba(34, 41, 43, 0.06); position: sticky; top: 104px; }
.ac-journey-title { margin: 0 0 18px !important; font-size: 14.5px !important; font-weight: 700; color: var(--ac-ink) !important; }
.ac-journey ol { position: relative; display: flex; flex-direction: column; gap: 22px; }
.ac-journey ol::before { content: ""; position: absolute; left: 19px; top: 20px; bottom: 20px; width: 2px; background: var(--ac-tint); }
.ac-journey li { position: relative; display: flex; align-items: center; gap: 14px; font-size: 15px; font-weight: 600; color: var(--ac-ink); }
.ac-journey li .lp-ic { width: 40px; height: 40px; padding: 10px; border-radius: 12px; background: var(--ac-tint); color: var(--ac-teal-d); position: relative; z-index: 1; }

/* Issues inbox */
.lp-accounting .ac-issues { background: var(--ac-tint-2); border-block: 1px solid var(--ac-line); }
.ac-issues-grid { display: grid; grid-template-columns: 0.75fr 1.25fr; gap: clamp(28px, 5vw, 72px); align-items: start; }
.ac-issues header p { margin-top: 16px; font-size: 17px; line-height: 1.65; }
.ac-inbox { background: #fff; border: 1px solid var(--ac-line); border-radius: 16px; box-shadow: 0 20px 48px rgba(34, 41, 43, 0.08); overflow: hidden; }
.ac-inbox-bar { display: flex; gap: 6px; padding: 12px 16px; background: #f4f6f2; border-bottom: 1px solid var(--ac-line); }
.ac-inbox article { display: flex; gap: 16px; padding: 20px 22px; border-bottom: 1px solid var(--ac-line); }
.ac-inbox article:last-child { border-bottom: 0; }
.ac-inbox-ic { width: 38px; height: 38px; border-radius: 50%; background: #f8ecdd; color: #a8642a; display: grid; place-items: center; flex-shrink: 0; }
.ac-inbox p { margin-top: 4px; font-size: 15px; line-height: 1.6; }

/* Feature panels */
.ac-feature { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px, 6vw, 88px); align-items: center; padding: 30px 0; }
.ac-feature + .ac-feature { border-top: 1px solid var(--ac-line); }
.ac-feature.is-flip .ac-feature-text { order: 2; }
.ac-feature-text h3 { font-size: clamp(22px, 2.4vw, 28px); font-weight: 800; }
.ac-feature-text p { margin-top: 14px; font-size: 17px; line-height: 1.7; max-width: 460px; }
.ac-mini { background: #fff; border: 1px solid var(--ac-line); border-radius: 14px; box-shadow: 0 20px 44px rgba(34, 41, 43, 0.1); overflow: hidden; max-width: 460px; width: 100%; justify-self: center; padding-bottom: 8px; }
.ac-tree { padding: 12px 18px; font-size: 14px; font-weight: 600; }
.ac-tree li { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; padding: 9px 0; }
.ac-tree small { margin-left: auto; color: #8a9695; font-weight: 500; }
.ac-tree .lp-ic { color: var(--ac-teal); }
.ac-tree ul { flex-basis: 100%; margin-left: 28px; border-left: 2px solid var(--ac-tint); padding-left: 14px; }
.ac-tree ul li { padding: 6px 0; font-weight: 500; color: var(--ac-soft); }
.ac-tree ul .lp-ic { width: 15px; height: 15px; color: #9aa7a5; }
.ac-search { margin: 16px 18px 0; display: flex; align-items: center; gap: 10px; border: 1.5px solid var(--ac-teal); border-radius: 10px; padding: 10px 14px; font-size: 13.5px; color: #8a9695; }
.ac-chips { display: flex; gap: 8px; padding: 12px 18px 4px; }
.ac-chips span { font-size: 11.5px; font-weight: 700; background: var(--ac-tint); color: var(--ac-teal-d); padding: 5px 12px; border-radius: 999px; }
.ac-rows.is-compact { padding: 4px 18px 6px; }
.ac-rows.is-compact li { grid-template-columns: auto 1fr; }
.ac-check { padding: 12px 18px; display: flex; flex-direction: column; }
.ac-check li { display: flex; align-items: center; gap: 12px; padding: 12px 0; border-bottom: 1px solid var(--ac-line); font-size: 14.5px; font-weight: 600; }
.ac-check li:last-child { border: 0; }
.ac-check .lp-ic { width: 24px; height: 24px; padding: 5px; border-radius: 50%; background: var(--ac-tint); }
.ac-check .is-miss .lp-ic { background: #f8ecdd; }
.ac-team { padding: 12px 18px; }
.ac-team li { display: flex; align-items: center; gap: 12px; padding: 12px 0; border-bottom: 1px solid var(--ac-line); font-size: 14.5px; font-weight: 600; }
.ac-team li:last-child { border: 0; }
.ac-team small { margin-left: auto; font-size: 12px; color: var(--ac-teal-d); background: var(--ac-tint); padding: 3px 10px; border-radius: 999px; font-weight: 700; }
.ac-av { width: 34px; height: 34px; border-radius: 50%; background: var(--ac-teal); color: #fff; display: grid; place-items: center; font-size: 13px; font-weight: 800; }
.ac-av.is-b { background: #4f9a72; }
.ac-av.is-c { background: #7d8f8c; }

/* Capabilities */
.lp-accounting .ac-caps { background: #fff; border-block: 1px solid var(--ac-line); }
.ac-caps-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.ac-caps-grid article { border: 1px solid var(--ac-line); border-radius: 14px; padding: 24px; background: var(--ac-warm); border-top: 3px solid var(--ac-teal); }
.ac-cap-ic { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 10px; background: var(--ac-tint); color: var(--ac-teal-d); margin-bottom: 16px; }
.ac-caps-grid p { margin-top: 8px; font-size: 15px; line-height: 1.65; }

/* Pipeline */
.ac-pipe { display: grid; grid-template-columns: repeat(4, 1fr); gap: 34px; counter-reset: p; }
.ac-pipe li { background: #fff; border: 1px solid var(--ac-line); border-radius: 16px; padding: 24px 22px; position: relative; box-shadow: 0 14px 30px rgba(34, 41, 43, 0.06); }
.ac-pipe li:not(:last-child)::after { content: ""; position: absolute; top: 50%; right: -34px; width: 34px; height: 2px; background: repeating-linear-gradient(90deg, var(--ac-teal) 0 6px, transparent 6px 10px); }
.ac-pipe-n { position: absolute; top: 16px; right: 18px; font-size: 11px; font-weight: 800; letter-spacing: 0.08em; text-transform: uppercase; color: var(--ac-teal); }
.ac-pipe-ic { display: grid; place-items: center; width: 46px; height: 46px; border-radius: 12px; background: var(--ac-teal); color: #fff; margin-bottom: 18px; }
.ac-pipe p { margin-top: 8px; font-size: 14.5px; line-height: 1.65; }

/* File grid */
.lp-accounting .ac-types { background: var(--ac-tint-2); border-block: 1px solid var(--ac-line); }
.ac-files { display: grid; grid-template-columns: repeat(6, 1fr); gap: 20px; }
.ac-files li { display: flex; flex-direction: column; align-items: center; gap: 12px; text-align: center; font-size: 14px; font-weight: 700; color: var(--ac-ink); }
.ac-sheet { position: relative; width: 84px; height: 104px; background: #fff; border: 1px solid var(--ac-line); border-radius: 8px 22px 8px 8px; display: grid; place-items: center; color: var(--ac-teal); box-shadow: 0 10px 22px rgba(34, 41, 43, 0.08); }
.ac-sheet::before { content: ""; position: absolute; top: 0; right: 0; width: 22px; height: 22px; background: var(--ac-tint); border-radius: 0 0 0 10px; }
.ac-sheet .lp-ic { width: 30px; height: 30px; }

/* Payoff */
.ac-payoff-grid { display: grid; grid-template-columns: 0.8fr 1.2fr; gap: clamp(28px, 5vw, 72px); align-items: start; }
.ac-payoff header p { margin: 16px 0 26px; font-size: 17px; }
.ac-payoff ul { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; background: var(--ac-tint); border-radius: 22px; padding: 22px; }
.ac-payoff li { display: flex; gap: 12px; background: #fff; border-radius: 14px; padding: 18px; }
.ac-payoff li > span { flex-shrink: 0; width: 26px; height: 26px; border-radius: 50%; background: var(--ac-teal); color: #fff; display: grid; place-items: center; }
.ac-payoff li .lp-ic { width: 14px; height: 14px; stroke-width: 3; }
.ac-payoff li h3 { font-size: 15.5px; }
.ac-payoff li p { margin-top: 5px; font-size: 14px; line-height: 1.55; }

/* Others */
.lp-accounting .ac-others { background: #fff; border-top: 1px solid var(--ac-line); }
.ac-others-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; max-width: 900px; margin: 0 auto; }
.ac-others-grid a { display: flex; flex-direction: column; align-items: flex-start; gap: 10px; padding: 28px; border: 1px solid var(--ac-line); border-radius: 16px; background: var(--ac-warm); transition: transform .2s, box-shadow .2s, border-color .2s; }
.ac-others-grid a:hover { transform: translateY(-3px); border-color: var(--ac-teal); box-shadow: 0 16px 34px rgba(34, 41, 43, 0.08); }
.ac-others-grid h3 { font-size: 20px; }
.ac-others-grid p { font-size: 15px; line-height: 1.65; }
.ac-others-grid em { font-style: normal; font-weight: 700; font-size: 14.5px; color: var(--ac-teal-d); display: inline-flex; gap: 8px; align-items: center; margin-top: auto; }
.ac-others-grid .ac-pill { margin-bottom: 4px; }

/* FAQ */
.ac-faq-list { max-width: 820px; margin: 0 auto; display: flex; flex-direction: column; gap: 12px; }
.ac-faq-list details { background: #fff; border: 1px solid var(--ac-line); border-radius: 14px; overflow: hidden; }
.ac-faq-list summary { cursor: pointer; list-style: none; padding: 20px 56px 20px 22px; font-weight: 700; font-size: 16px; position: relative; color: var(--ac-ink); }
.ac-faq-list summary::-webkit-details-marker { display: none; }
.ac-faq-list summary::after { content: ""; position: absolute; right: 22px; top: 50%; width: 9px; height: 9px; border-right: 2px solid var(--ac-teal); border-bottom: 2px solid var(--ac-teal); transform: translateY(-70%) rotate(45deg); transition: transform .2s; }
.ac-faq-list details[open] { border-color: var(--ac-teal); }
.ac-faq-list details[open] summary::after { transform: translateY(-30%) rotate(-135deg); }
.ac-faq-list details p { padding: 0 22px 22px; font-size: 15.5px; line-height: 1.7; }
.ac-faq-list summary:focus-visible { outline: 2px solid var(--ac-teal); outline-offset: -2px; }
.ac-more { margin: 28px auto 0; }
.ac-more a { display: inline-flex; gap: 8px; align-items: center; font-weight: 700; color: var(--ac-teal-d); }

/* CTA */
.lp-accounting .ac-cta { padding-top: 0; }
.ac-cta-card { display: grid; grid-template-columns: 1.3fr auto; gap: 32px; align-items: center; background: var(--ac-tint); border: 1px solid #cfe4e0; border-radius: 24px; padding: clamp(28px, 5vw, 56px); }
.ac-cta-card p { margin-top: 14px; font-size: 17px; line-height: 1.65; }
.ac-cta-card p a { color: var(--ac-teal-d); font-weight: 700; border-bottom: 1px solid currentColor; }
.ac-cta-actions { display: flex; flex-direction: column; gap: 12px; }

@media (max-width: 1080px) {
  .ac-hero-grid, .ac-overview-grid, .ac-issues-grid, .ac-payoff-grid { grid-template-columns: 1fr; }
  .ac-journey { position: static; }
  .ac-stage { max-width: 640px; margin: 0 auto; width: 100%; }
  .ac-pipe { grid-template-columns: 1fr 1fr; }
  .ac-pipe li:nth-child(2)::after { display: none; }
  .ac-caps-grid { grid-template-columns: 1fr 1fr; }
  .ac-files { grid-template-columns: repeat(3, 1fr); row-gap: 30px; }
  .ac-cta-card { grid-template-columns: 1fr; }
  .ac-cta-actions { flex-direction: row; flex-wrap: wrap; }
}
@media (max-width: 720px) {
  .ac-feature { grid-template-columns: 1fr; gap: 24px; }
  .ac-feature.is-flip .ac-feature-text { order: 0; }
  .ac-ticks { grid-template-columns: 1fr; }
  .ac-window-body { grid-template-columns: 1fr; }
  .ac-window aside { display: none; }
  .ac-folders { grid-template-columns: 1fr 1fr; }
  .ac-rows li { grid-template-columns: auto 1fr; }
  .ac-rows li small, .ac-rows li b { grid-column: 2; justify-self: start; }
  .ac-stage { padding: 0 0 56px 0; }
  .ac-float-b { display: none; }
  .ac-pipe, .ac-caps-grid, .ac-others-grid, .ac-payoff ul { grid-template-columns: 1fr; }
  .ac-pipe li::after { display: none; }
  .ac-files { grid-template-columns: repeat(2, 1fr); }
}

/* list + footer resets */
.lp-accounting ol { list-style: none; margin: 0; padding: 0; }
.site-footer { margin-top: 0; }
