/* OfficeCalculator.net /extensions/ section
   Self-contained, dependency-free, responsive and accessible. */
:root {
  color-scheme: light;
  --bg: #f5f8ff;
  --surface: #ffffff;
  --surface-soft: #eef4ff;
  --surface-strong: #e2ebff;
  --text: #122039;
  --muted: #5f6f8c;
  --line: #d7e1f2;
  --brand: #2d63ea;
  --brand-strong: #1f4fd0;
  --brand-soft: #e9f0ff;
  --success: #157347;
  --warning: #9a6200;
  --danger: #bb2d3b;
  --shadow-sm: 0 8px 24px rgba(24, 48, 96, .08);
  --shadow-lg: 0 24px 70px rgba(24, 48, 96, .16);
  --radius-sm: 12px;
  --radius: 20px;
  --radius-lg: 30px;
  --max: 1180px;
}

[data-theme="dark"] {
  color-scheme: dark;
  --bg: #0d1424;
  --surface: #141e32;
  --surface-soft: #192641;
  --surface-strong: #223250;
  --text: #f4f7ff;
  --muted: #aab7d0;
  --line: #2b3b5c;
  --brand: #72a0ff;
  --brand-strong: #9abaff;
  --brand-soft: #1e3158;
  --success: #6dd6a2;
  --warning: #ffd47c;
  --danger: #ff8f9b;
  --shadow-sm: 0 8px 24px rgba(0, 0, 0, .22);
  --shadow-lg: 0 24px 70px rgba(0, 0, 0, .35);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; }
a { color: var(--brand-strong); text-decoration-thickness: .08em; text-underline-offset: .16em; }
a:hover { text-decoration-thickness: .13em; }
button, input, textarea, select { font: inherit; }
button { cursor: pointer; }
:focus-visible { outline: 3px solid var(--brand); outline-offset: 3px; }
.container { width: min(var(--max), calc(100% - 40px)); margin-inline: auto; }
.skip-link { position: fixed; left: 16px; top: -80px; z-index: 1000; background: var(--surface); color: var(--text); padding: 12px 16px; border-radius: 10px; box-shadow: var(--shadow-sm); }
.skip-link:focus { top: 16px; }

.site-header { position: sticky; top: 0; z-index: 50; border-bottom: 1px solid color-mix(in srgb, var(--line), transparent 18%); background: color-mix(in srgb, var(--bg), transparent 6%); backdrop-filter: blur(14px); }
.header-inner { min-height: 76px; display: flex; align-items: center; gap: 22px; }
.brand { display: inline-flex; align-items: center; gap: 12px; color: var(--text); text-decoration: none; font-weight: 800; letter-spacing: -.02em; }
.brand-mark { width: 44px; height: 44px; display: grid; place-items: center; border-radius: 14px; background: linear-gradient(145deg, #356df3, #2456d9); color: white; box-shadow: 0 10px 24px rgba(45, 99, 234, .25); font-weight: 900; }
.brand-copy small { display: block; color: var(--muted); font-size: .74rem; font-weight: 650; letter-spacing: .02em; }
.site-nav { margin-left: auto; display: flex; align-items: center; gap: 4px; }
.site-nav a { padding: 10px 11px; border-radius: 10px; color: var(--muted); text-decoration: none; font-weight: 700; font-size: .94rem; }
.site-nav a:hover, .site-nav a[aria-current="page"] { color: var(--brand-strong); background: var(--brand-soft); }
.header-actions { display: flex; gap: 8px; align-items: center; }
.icon-button { width: 42px; height: 42px; border: 1px solid var(--line); border-radius: 13px; background: var(--surface); color: var(--text); display: grid; place-items: center; box-shadow: var(--shadow-sm); }
.menu-button { display: none; }

.button { display: inline-flex; align-items: center; justify-content: center; gap: 9px; min-height: 48px; padding: 12px 18px; border-radius: 14px; border: 1px solid transparent; text-decoration: none; font-weight: 800; line-height: 1.2; }
.button-primary { background: linear-gradient(145deg, var(--brand), var(--brand-strong)); color: #fff; box-shadow: 0 14px 30px rgba(45, 99, 234, .25); }
.button-primary:hover { transform: translateY(-1px); text-decoration: none; }
.button-secondary { background: var(--surface); border-color: var(--line); color: var(--text); box-shadow: var(--shadow-sm); }
.button-secondary:hover { border-color: var(--brand); color: var(--brand-strong); text-decoration: none; }
.button-small { min-height: 42px; padding: 10px 14px; font-size: .92rem; }

.hero { padding: 80px 0 56px; overflow: hidden; position: relative; }
.hero::before { content: ""; position: absolute; inset: -120px -160px auto auto; width: 540px; height: 540px; border-radius: 50%; background: radial-gradient(circle, rgba(45,99,234,.18), rgba(45,99,234,0) 68%); pointer-events: none; }
.hero-grid { display: grid; grid-template-columns: 1.02fr .98fr; gap: 58px; align-items: center; }
.eyebrow { display: inline-flex; align-items: center; gap: 8px; padding: 7px 11px; border-radius: 999px; background: var(--brand-soft); color: var(--brand-strong); font-size: .84rem; font-weight: 850; text-transform: uppercase; letter-spacing: .07em; }
.hero h1, .page-hero h1 { margin: 18px 0 18px; max-width: 820px; font-size: clamp(2.5rem, 5vw, 4.9rem); line-height: 1.04; letter-spacing: -.055em; }
.hero p { margin: 0; max-width: 660px; color: var(--muted); font-size: clamp(1.08rem, 1.4vw, 1.28rem); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.hero-note { margin-top: 18px; color: var(--muted); font-size: .92rem; }
.hero-visual { position: relative; }
.hero-shot { border-radius: 24px; box-shadow: var(--shadow-lg); border: 1px solid var(--line); display: block; background: var(--surface); }
.floating-badge { position: absolute; right: -14px; bottom: 28px; display: flex; align-items: center; gap: 10px; padding: 13px 16px; border-radius: 16px; background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow-lg); font-weight: 800; }
.status-dot { width: 10px; height: 10px; border-radius: 50%; background: #20ad6b; box-shadow: 0 0 0 5px color-mix(in srgb, #20ad6b, transparent 82%); }

.trust-strip { padding: 10px 0 56px; }
.trust-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.trust-item { border: 1px solid var(--line); background: var(--surface); padding: 18px; border-radius: 16px; box-shadow: var(--shadow-sm); }
.trust-item strong { display: block; font-size: 1.02rem; }
.trust-item span { color: var(--muted); font-size: .9rem; }

.section { padding: 76px 0; }
.section-alt { background: color-mix(in srgb, var(--surface-soft), transparent 30%); border-block: 1px solid var(--line); }
.section-heading { max-width: 760px; margin-bottom: 30px; }
.section-heading.center { text-align: center; margin-inline: auto; }
.section-heading h2 { margin: 8px 0 12px; font-size: clamp(2rem, 3vw, 3.2rem); line-height: 1.12; letter-spacing: -.04em; }
.section-heading p { margin: 0; color: var(--muted); font-size: 1.07rem; }
.card-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 25px; box-shadow: var(--shadow-sm); }
.card-icon { width: 48px; height: 48px; display: grid; place-items: center; border-radius: 14px; background: var(--brand-soft); color: var(--brand-strong); font-size: 1.35rem; font-weight: 900; }
.card h3 { margin: 16px 0 8px; font-size: 1.22rem; letter-spacing: -.02em; }
.card p { margin: 0; color: var(--muted); }
.card a.stretched { display: inline-block; margin-top: 16px; font-weight: 800; text-decoration: none; }
.card a.stretched:hover { text-decoration: underline; }

.feature-split { display: grid; grid-template-columns: 1fr 1fr; gap: 42px; align-items: center; }
.feature-list { display: grid; gap: 14px; margin: 26px 0 0; padding: 0; list-style: none; }
.feature-list li { position: relative; padding-left: 34px; color: var(--muted); }
.feature-list li::before { content: "✓"; position: absolute; left: 0; top: 1px; width: 23px; height: 23px; display: grid; place-items: center; border-radius: 50%; background: var(--brand-soft); color: var(--brand-strong); font-weight: 900; font-size: .8rem; }
.preview-card { padding: 18px; border-radius: var(--radius-lg); background: linear-gradient(145deg, var(--surface), var(--surface-soft)); border: 1px solid var(--line); box-shadow: var(--shadow-lg); }
.preview-card img { border-radius: 18px; display: block; }

.cta-panel { display: grid; grid-template-columns: 1fr auto; gap: 30px; align-items: center; padding: 38px; border-radius: var(--radius-lg); background: linear-gradient(135deg, #1f4fd0, #3975f6); color: white; box-shadow: 0 24px 60px rgba(31, 79, 208, .25); }
.cta-panel h2 { margin: 0 0 8px; font-size: clamp(1.8rem, 3vw, 2.8rem); line-height: 1.12; letter-spacing: -.04em; }
.cta-panel p { margin: 0; color: rgba(255,255,255,.82); }
.cta-panel .button-secondary { background: white; color: #1f4fd0; border-color: white; }

.page-hero { padding: 68px 0 46px; border-bottom: 1px solid var(--line); background: linear-gradient(180deg, color-mix(in srgb, var(--surface-soft), transparent 20%), transparent); }
.page-hero h1 { font-size: clamp(2.4rem, 4vw, 4.1rem); }
.page-hero p { max-width: 800px; color: var(--muted); font-size: 1.14rem; }
.breadcrumbs { display: flex; flex-wrap: wrap; gap: 8px; color: var(--muted); font-size: .9rem; }
.breadcrumbs a { color: inherit; }

.content-layout { display: grid; grid-template-columns: minmax(0, 1fr) 285px; gap: 38px; align-items: start; }
.prose { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: clamp(24px, 4vw, 48px); box-shadow: var(--shadow-sm); }
.prose h2 { margin-top: 2.2em; font-size: 1.65rem; letter-spacing: -.025em; line-height: 1.25; scroll-margin-top: 100px; }
.prose h2:first-child { margin-top: 0; }
.prose h3 { margin-top: 1.8em; line-height: 1.3; }
.prose p, .prose li { color: var(--muted); }
.prose strong { color: var(--text); }
.prose ul, .prose ol { padding-left: 1.25rem; }
.prose code { padding: 2px 6px; border-radius: 6px; background: var(--surface-soft); color: var(--text); }
.prose .notice { margin: 22px 0; padding: 18px 20px; border-radius: 14px; border-left: 4px solid var(--brand); background: var(--brand-soft); }
.prose .notice p { margin: 0; color: var(--text); }
.prose .notice.warning { border-color: #e7a21a; background: color-mix(in srgb, #fff2cf, var(--surface) 35%); }
[data-theme="dark"] .prose .notice.warning { background: #3a2c10; }
.sidebar { position: sticky; top: 98px; display: grid; gap: 16px; }
.sidebar-card { background: var(--surface); border: 1px solid var(--line); border-radius: 18px; padding: 20px; box-shadow: var(--shadow-sm); }
.sidebar-card h2, .sidebar-card h3 { margin: 0 0 12px; font-size: 1.05rem; }
.sidebar-nav { display: grid; gap: 4px; }
.sidebar-nav a { padding: 8px 10px; border-radius: 9px; color: var(--muted); text-decoration: none; font-size: .92rem; }
.sidebar-nav a:hover { background: var(--brand-soft); color: var(--brand-strong); }

.steps { counter-reset: steps; display: grid; gap: 18px; }
.step { counter-increment: steps; position: relative; padding: 24px 24px 24px 76px; border: 1px solid var(--line); border-radius: 18px; background: var(--surface); }
.step::before { content: counter(steps); position: absolute; left: 22px; top: 22px; width: 38px; height: 38px; display: grid; place-items: center; border-radius: 12px; background: var(--brand); color: white; font-weight: 900; }
.step h3 { margin: 0 0 6px; }
.step p { margin: 0; color: var(--muted); }

.faq { display: grid; gap: 12px; }
details { background: var(--surface); border: 1px solid var(--line); border-radius: 16px; padding: 0 18px; box-shadow: var(--shadow-sm); }
summary { list-style: none; cursor: pointer; padding: 18px 34px 18px 0; font-weight: 800; position: relative; }
summary::-webkit-details-marker { display: none; }
summary::after { content: "+"; position: absolute; right: 0; top: 17px; font-size: 1.35rem; color: var(--brand-strong); }
details[open] summary::after { content: "−"; }
details p { margin: 0 0 18px; color: var(--muted); }

.release { display: grid; grid-template-columns: 140px 1fr; gap: 24px; padding: 24px 0; border-bottom: 1px solid var(--line); }
.release:last-child { border-bottom: 0; }
.release-meta strong { display: block; }
.release-meta time { color: var(--muted); font-size: .9rem; }
.release h2 { margin: 0 0 8px; }
.release ul { margin-top: 10px; }
.badge { display: inline-flex; align-items: center; padding: 4px 9px; border-radius: 999px; background: var(--brand-soft); color: var(--brand-strong); font-size: .78rem; font-weight: 850; }

.site-footer { margin-top: 76px; padding: 54px 0 24px; background: var(--surface); border-top: 1px solid var(--line); }
.footer-grid { display: grid; grid-template-columns: 1.4fr repeat(3, 1fr); gap: 34px; }
.footer-intro p { max-width: 430px; color: var(--muted); }
.footer-col h2 { margin: 0 0 12px; font-size: .95rem; text-transform: uppercase; letter-spacing: .06em; }
.footer-links { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.footer-links a { color: var(--muted); text-decoration: none; }
.footer-links a:hover { color: var(--brand-strong); text-decoration: underline; }
.footer-bottom { margin-top: 34px; padding-top: 20px; border-top: 1px solid var(--line); display: flex; justify-content: space-between; gap: 18px; color: var(--muted); font-size: .88rem; }

.sitemap-list { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; }
.sitemap-group { background: var(--surface); border: 1px solid var(--line); border-radius: 18px; padding: 22px; }
.sitemap-group h2 { margin-top: 0; }
.sitemap-group ul { margin-bottom: 0; }

@media (max-width: 980px) {
  .site-nav { display: none; position: absolute; left: 20px; right: 20px; top: 82px; padding: 12px; flex-direction: column; align-items: stretch; border: 1px solid var(--line); border-radius: 18px; background: var(--surface); box-shadow: var(--shadow-lg); }
  .site-nav[data-open="true"] { display: flex; }
  .menu-button { display: grid; }
  .hero-grid, .feature-split { grid-template-columns: 1fr; }
  .hero { padding-top: 56px; }
  .hero-visual { max-width: 760px; }
  .trust-grid { grid-template-columns: repeat(2, 1fr); }
  .card-grid { grid-template-columns: repeat(2, 1fr); }
  .content-layout { grid-template-columns: 1fr; }
  .sidebar { position: static; grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 650px) {
  .container { width: min(100% - 28px, var(--max)); }
  .header-inner { min-height: 68px; gap: 10px; }
  .brand-copy small { display: none; }
  .header-actions .button { display: none; }
  .hero { padding: 42px 0 38px; }
  .hero h1, .page-hero h1 { letter-spacing: -.04em; }
  .floating-badge { position: static; margin-top: 12px; width: fit-content; }
  .trust-grid, .card-grid, .sidebar, .footer-grid, .sitemap-list { grid-template-columns: 1fr; }
  .section { padding: 58px 0; }
  .cta-panel { grid-template-columns: 1fr; padding: 28px; }
  .cta-panel .button { width: 100%; }
  .page-hero { padding: 42px 0 34px; }
  .prose { padding: 23px; }
  .release { grid-template-columns: 1fr; gap: 8px; }
  .footer-bottom { flex-direction: column; }
}

@media (prefers-reduced-motion: no-preference) {
  .button, .card, .icon-button { transition: transform .18s ease, border-color .18s ease, background-color .18s ease; }
  .card:hover { transform: translateY(-3px); border-color: color-mix(in srgb, var(--brand), var(--line) 45%); }
}


/* v32: OfficeCalculator.Net brand integration */
.brand-logo { width: 44px; height: 44px; flex: 0 0 44px; display: block; border-radius: 13px; box-shadow: 0 10px 24px rgba(22, 63, 103, .20); }
.brand-copy { line-height: 1.08; }
.brand-copy strong { display: block; color: var(--text); font-size: .98rem; }
.site-nav a[href="/"] { color: var(--text); }
.store-verified { display:inline-flex; align-items:center; gap:8px; padding:7px 11px; border-radius:999px; color:var(--success); background:color-mix(in srgb, var(--success), transparent 88%); font-size:.84rem; font-weight:800; }
@media (max-width:650px){ .brand-logo{width:40px;height:40px;flex-basis:40px}.brand-copy strong{font-size:.91rem} }
