/* =====================================================================
   Xberra Tagger - Excel / PDF / Word to XBRL conversion pages
   Shared stylesheet (prefix: xc-). Loaded from each page's meta block.
   Tokens follow the site brand: navy #001442, red #C01010,
   border #C9D9F4, divider #DBE6F8, text #3E4A63 / #262b35.
   Mobile-first; breakpoints: 640px, 900px.
   ===================================================================== */

.xc-page { --xc-navy:#001442; --xc-red:#C01010; --xc-red-tint:#FDECEC; --xc-ink:#262b35; --xc-body:#3E4A63; --xc-muted:#6B7280; --xc-line:#C9D9F4; --xc-line-soft:#DBE6F8; --xc-head-bg:#F2F6FF; --xc-shadow:0 1px 2px rgba(10,40,110,.06),0 14px 30px -16px rgba(10,40,110,.20); }

/* ---------- section rhythm ---------- */
.xc-section { padding: 56px 0 !important; }
.xc-section.xc-alt { background: #f6f7f9 !important; }
.xc-section.xc-tight { padding-top: 0 !important; }
.xc-head { max-width: 760px; margin: 0 0 32px; }
.xc-head.xc-center { margin-left: auto; margin-right: auto; text-align: center; }
.xc-eyebrow { font-family:'JetBrains Mono',monospace; font-size:14px; letter-spacing:.08em; text-transform:uppercase; color:var(--xc-red); font-weight:700; margin:0 0 10px; display:flex; align-items:center; gap:8px; }
.xc-head.xc-center .xc-eyebrow { justify-content:center; }
.xc-h2 { font-family:'Source Serif 4',serif; font-weight:600; font-size:32px; line-height:1.2; color:var(--xc-ink); margin:0 0 14px; }
.xc-lead { font-size:16.5px; line-height:1.7; color:var(--xc-body); margin:0 0 14px; }
.xc-p { font-size:15.5px; line-height:1.7; color:var(--xc-body); margin:0 0 14px; }
.xc-p:last-child { margin-bottom:0; }

/* ---------- hero ---------- */
.xc-hero { position:relative; overflow:hidden; padding:56px 0 52px !important; border-top:1px solid var(--xc-line); }
.xc-hero-img { position:absolute; inset:0; width:100%; height:100%; object-fit:cover; display:block; max-width:100%; }
.xc-hero-overlay { position:absolute; inset:0; background:linear-gradient(100deg,rgba(255,255,255,.96) 48%,rgba(255,255,255,.62)); }
.xc-hero-inner { position:relative; max-width:780px; }
.xc-h1 { font-family:'Source Serif 4',serif; font-weight:600; font-size:44px; line-height:1.14; color:var(--xc-ink); margin:0 0 14px; }
.xc-hero-sub { font-family:'Source Serif 4',serif; font-weight:600; font-size:21px; line-height:1.4; color:var(--xc-navy); margin:0 0 16px; }
.xc-hero-price { display:inline-flex; align-items:center; gap:10px; flex-wrap:wrap; margin:6px 0 24px; padding:10px 16px; background:#fff; border:1px solid var(--xc-line); border-left:4px solid var(--xc-red); border-radius:10px; font-size:15.5px; font-weight:600; color:var(--xc-ink); }
.xc-hero-price strong { color:var(--xc-red); }
.xc-cta-row { display:flex; flex-wrap:wrap; gap:12px; }
.xc-btn { display:inline-block; text-align:center; font-weight:700; font-size:15px; line-height:1.3; padding:14px 24px; border-radius:2px; text-decoration:none !important; transition:transform .15s ease, box-shadow .15s ease; }
.xc-btn:hover { transform:translateY(-1px); }
.xc-btn-red { background:var(--xc-red); color:#fff !important; box-shadow:0 1px 0 rgba(255,255,255,.28) inset,0 10px 22px -10px rgba(168,11,11,.62); }
.xc-btn-red:hover, .xc-btn-red:focus { background:var(--xc-red); color:#fff !important; }
.xc-btn-line { background:#fff; color:var(--xc-navy) !important; border:1px solid var(--xc-navy); }
.xc-btn-line:hover, .xc-btn-line:focus { background:var(--xc-navy); color:#fff !important; }

/* ---------- fact strip ---------- */
.xc-facts { background:var(--xc-navy); padding:0 !important; margin:0; }
.xc-facts-grid { display:grid; grid-template-columns:repeat(4,1fr); }
.xc-fact { padding:28px 18px; text-align:center; border-right:1px solid rgba(255,255,255,.14); }
.xc-fact:last-child { border-right:0; }
.xc-fact-top { font-family:'Source Serif 4',serif; font-size:30px; font-weight:700; color:#fff; line-height:1.15; }
.xc-fact-top.xc-accent { color:#FFD5CF; }
.xc-fact-sub { font-family:'JetBrains Mono',monospace; font-size:13px; letter-spacing:.06em; text-transform:uppercase; color:#F2F6FF; margin-top:8px; }

/* ---------- two column intro ---------- */
.xc-split { display:grid; grid-template-columns:1.25fr 1fr; gap:36px; align-items:start; }
.xc-card { background:#fff; border:1px solid var(--xc-line); border-radius:16px; box-shadow:var(--xc-shadow); padding:26px; }
.xc-card-title { font-family:'JetBrains Mono',monospace; font-size:14px; letter-spacing:.06em; text-transform:uppercase; color:var(--xc-red); font-weight:700; margin:0 0 12px; }
.xc-note { margin-top:18px; padding:14px 18px; border-left:3px solid var(--xc-red); border-radius:0 10px 10px 0; background:var(--xc-red-tint); color:var(--xc-ink); font-weight:500; line-height:1.55; font-size:15px; }

/* ---------- service cards ---------- */
.xc-grid, .xc-bgrid { display:grid; gap:18px; grid-template-columns:repeat(6,minmax(0,1fr)); }
.xc-grid > *, .xc-bgrid > * { grid-column:span 2; min-width:0; }
.xc-n4 > * { grid-column:span 3; }
.xc-n5 > :nth-child(-n+2) { grid-column:span 3; }
.xc-n7 > :nth-child(-n+4) { grid-column:span 3; }
.xc-svc { position:relative; background:#fff; border:1px solid var(--xc-line); border-radius:16px; box-shadow:var(--xc-shadow); padding:26px 24px 24px; }
.xc-svc-num { display:grid; place-items:center; width:38px; height:38px; border-radius:50%; background:var(--xc-red-tint); color:var(--xc-red); font-family:'JetBrains Mono',monospace; font-weight:700; font-size:15px; margin-bottom:14px; }
.xc-svc h3 { font-family:'Source Serif 4',serif; font-weight:600; font-size:19px; line-height:1.3; color:var(--xc-ink); margin:0 0 10px; }
.xc-svc p { font-size:15px; line-height:1.65; color:var(--xc-body); margin:0 0 10px; }
.xc-svc p:last-child { margin-bottom:0; }

/* ---------- process steps ---------- */
.xc-steps { list-style:none; margin:0; padding:0; background:#fff; border:1px solid var(--xc-line); border-radius:16px; box-shadow:var(--xc-shadow); overflow:hidden; }
.xc-step { display:flex; gap:18px; align-items:flex-start; padding:20px 26px; border-bottom:1px solid var(--xc-line-soft); }
.xc-step:last-child { border-bottom:0; }
.xc-step-n { flex:0 0 36px; width:36px; height:36px; border-radius:50%; display:grid; place-items:center; background:var(--xc-red-tint); color:var(--xc-red); font-weight:700; font-size:16px; line-height:1; }
.xc-step h3 { font-family:'Source Serif 4',serif; font-size:17.5px; font-weight:600; line-height:1.35; color:var(--xc-ink); margin:4px 0 6px; }
.xc-step p { font-size:15px; line-height:1.65; color:var(--xc-body); margin:0; }

/* ---------- benefit cards ---------- */
.xc-benefit { background:#fff; border:1px solid var(--xc-line); border-radius:14px; padding:22px 22px 20px; border-top:3px solid var(--xc-red); box-shadow:var(--xc-shadow); }
.xc-benefit h3 { font-family:'Source Serif 4',serif; font-size:17.5px; font-weight:600; line-height:1.35; color:var(--xc-ink); margin:0 0 8px; }
.xc-benefit p { font-size:15px; line-height:1.65; color:var(--xc-body); margin:0; }

/* ---------- audience + pricing lists ---------- */
.xc-list { list-style:none; margin:0; padding:0; background:#fff; border:1px solid var(--xc-line); border-radius:16px; box-shadow:var(--xc-shadow); overflow:hidden; display:grid; grid-template-columns:1fr; }
.xc-list li { position:relative; padding:18px 24px 18px 66px; border-bottom:1px solid var(--xc-line-soft); color:var(--xc-body); font-size:15px; line-height:1.6; }
.xc-list li::before { content:""; position:absolute; left:24px; top:19px; width:26px; height:26px; border-radius:50%; background:var(--xc-red-tint) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23C01010' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E") center/15px 15px no-repeat; }
.xc-list li strong { display:block; color:var(--xc-ink); font-size:16px; font-weight:700; }
.xc-list li:last-child { border-bottom:0; }
.xc-list.xc-plain li { padding:15px 22px 15px 62px; }
.xc-list.xc-plain li::before { top:15px; }

.xc-price { background:var(--xc-navy); border-radius:16px; padding:34px; color:#fff; border-left:4px solid var(--xc-red); }
.xc-price .xc-card-title { color:#FFD5CF; }
.xc-price-big { font-family:'Source Serif 4',serif; font-size:44px; font-weight:700; line-height:1.1; margin:0 0 6px; color:#fff; }
.xc-price-big small { font-size:18px; font-weight:500; color:#F2F6FF; }
.xc-price p { color:#F2F6FF; font-size:15.5px; line-height:1.65; margin:0 0 18px; }

/* ---------- FAQ ---------- */
.xc-faq { max-width:860px; margin:0 auto; display:flex; flex-direction:column; }
.xc-faq details { border-bottom:1px solid var(--xc-line); padding:18px 0; }
.xc-faq summary { cursor:pointer; list-style:none; display:flex; justify-content:space-between; align-items:flex-start; gap:16px; font-family:'Source Serif 4',serif; font-size:17px; font-weight:600; line-height:1.45; color:var(--xc-ink); }
.xc-faq summary::-webkit-details-marker { display:none; }
.xc-faq summary::after { content:"＋"; color:var(--xc-red); flex:0 0 auto; font-family:'Roboto',sans-serif; }
.xc-faq details[open] summary::after { content:"－"; }
.xc-faq details p { font-size:15px; line-height:1.7; color:var(--xc-body); margin:12px 0 0; }

/* ---------- related links ---------- */
.xc-related { background:#fff; border:1px solid var(--xc-line); border-radius:16px; box-shadow:var(--xc-shadow); padding:28px 30px; }
.xc-related-grid { display:grid; grid-template-columns:repeat(auto-fit,minmax(min(100%,210px),1fr)); gap:12px; }
.xc-related-grid a { display:block; padding:13px 16px; border:1px solid var(--xc-line-soft); border-radius:10px; font-size:14.5px; font-weight:600; color:var(--xc-ink) !important; background:var(--xc-head-bg); text-decoration:none !important; }
.xc-related-grid a:hover { border-color:var(--xc-red); color:var(--xc-red) !important; }

/* ---------- closing CTA ---------- */
.xc-cta { background:var(--xc-navy); border-radius:0; padding:46px 44px; display:flex; justify-content:space-between; align-items:center; flex-wrap:wrap; gap:26px; }
.xc-cta-copy { max-width:640px; }
.xc-cta h2 { font-family:'Source Serif 4',serif; font-weight:600; font-size:28px; line-height:1.25; color:#fff; margin:0 0 12px; }
.xc-cta p { font-size:15.5px; line-height:1.65; color:#F2F6FF; margin:0 0 10px; }
.xc-cta p:last-child { margin-bottom:0; }

/* ---------- tablet ---------- */
@media (max-width: 900px) {
  .xc-grid, .xc-bgrid { grid-template-columns:repeat(2,minmax(0,1fr)); }
  .xc-grid > *, .xc-bgrid > *, .xc-n4 > *, .xc-n5 > :nth-child(-n+2), .xc-n7 > :nth-child(-n+4) { grid-column:auto; }
  .xc-grid > :last-child:nth-child(odd), .xc-bgrid > :last-child:nth-child(odd) { grid-column:1 / -1; }
  .xc-split { grid-template-columns:1fr; gap:22px; }
  .xc-facts-grid { grid-template-columns:repeat(2,1fr); }
  .xc-fact:nth-child(2) { border-right:0; }
  .xc-fact:nth-child(-n+2) { border-bottom:1px solid rgba(255,255,255,.14); }
  .xc-h1 { font-size:36px; }
  .xc-h2 { font-size:28px; }
}
@media (min-width: 720px) {
  .xc-list.xc-two { grid-template-columns:repeat(2,1fr); }
  .xc-list.xc-two li:nth-child(odd) { border-right:1px solid var(--xc-line-soft); }
  .xc-list.xc-two li:nth-last-child(2):nth-child(odd) { border-bottom:0; }
}

/* ---------- phone ---------- */
@media (max-width: 640px) {
  .xc-grid, .xc-bgrid { grid-template-columns:1fr; }
  .xc-grid > :last-child:nth-child(odd), .xc-bgrid > :last-child:nth-child(odd) { grid-column:auto; }
  .xc-section { padding:40px 0 !important; }
  .xc-hero { padding:36px 0 36px !important; }
  .xc-hero-overlay { background:linear-gradient(180deg,rgba(255,255,255,.97),rgba(255,255,255,.90)); }
  .xc-h1 { font-size:30px; }
  .xc-hero-sub { font-size:18px; }
  .xc-h2 { font-size:25px; }
  .xc-lead { font-size:16px; }
  .xc-btn { width:100%; }
  .xc-cta-row { flex-direction:column; }
  .xc-hero-price { font-size:14.5px; }
  .xc-card, .xc-svc { padding:20px 18px; }
  .xc-step { padding:16px 18px; gap:14px; }
  .xc-list li { padding:16px 18px 16px 58px; }
  .xc-list li::before { left:18px; }
  .xc-price { padding:26px 22px; }
  .xc-price-big { font-size:36px; }
  .xc-related { padding:22px 18px; }
  .xc-cta { padding:32px 22px; }
  .xc-cta h2 { font-size:23px; }
  .xc-faq summary { font-size:16px; }
  .xc-fact-top { font-size:24px; }
  .xc-fact-sub { font-size:11.5px; }
  .xc-fact { padding:22px 10px; }
}
