/* KM IT Solutions — site styles
   Identity: white page, green panels, KM Green with a Power Lime
   highlighter, and the logo's green dot used as the recurring "online" marker.
   Type: Bricolage Grotesque for headings, DM Sans for text. Content sits in a 1200px wrap. */
:root {
  --bg: #ffffff;
  --surface: #ffffff;
  --surface-2: #f1f8f2;
  --ink: #10231a;
  --muted: #56645b;
  --line: #dcebdf;
  --accent: #15803d;          /* KM Green, darkened for text contrast */
  --green: #1fa64a;           /* KM Green */
  --lime: #8ee04f;            /* Power Lime */
  --mark: #d2f5c0;            /* highlighter behind key words */
  --forest: #13743a;
  --forest-2: #1a8545;
  --forest-line: rgba(255, 255, 255, .2);
  --forest-ink: #eef6ef;
  --forest-muted: #d6f0dc;
  --head: "Bricolage Grotesque", "DM Sans", system-ui, sans-serif;
  --font: "DM Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
  --wrap: 1200px;
  --gutter: max(20px, env(safe-area-inset-left, 0px));
  --ease: cubic-bezier(.2, .8, .2, 1);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--bg); color: var(--ink); font: 400 17px/1.65 var(--font); -webkit-font-smoothing: antialiased; overflow-x: hidden; }
a { color: inherit; }
img, svg { max-width: 100%; }
h1, h2, h3, h4 { margin: 0; font-family: var(--head); line-height: 1.08; text-wrap: balance; }
h1 { font-size: clamp(2.5rem, 5.6vw, 4.4rem); font-weight: 700; letter-spacing: -0.035em; }
h2 { font-size: clamp(1.9rem, 3.6vw, 2.9rem); font-weight: 700; letter-spacing: -0.03em; }
h3 { font-size: 1.22rem; font-weight: 650; letter-spacing: -0.015em; line-height: 1.2; }
p { margin: 0; }
mark { color: inherit; background: linear-gradient(transparent 58%, var(--mark) 58%, var(--mark) 92%, transparent 92%); padding: 0 .04em; margin: 0 -.04em; }
:focus-visible { outline: 3px solid var(--green); outline-offset: 3px; border-radius: 6px; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--ink); color: var(--bg); padding: 8px 14px; border-radius: 8px; z-index: 50; }
.skip:focus { left: 12px; }

.wrap { max-width: var(--wrap); margin: 0 auto; padding-left: var(--gutter); padding-right: max(20px, env(safe-area-inset-right, 0px)); }
.section { padding-block: clamp(68px, 9vw, 120px); }
.section.tight { padding-top: 0; }
.lede { font-size: 1.12rem; color: var(--muted); max-width: 60ch; }
.head { display: grid; gap: 16px; margin-bottom: 48px; max-width: 780px; justify-items: start; }
.head-row { display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: 20px 40px; margin-bottom: 44px; }
.head-row .head { margin: 0; }

/* The green dot label used above headings */
.eyebrow { display: inline-flex; align-items: center; gap: 9px; padding: 6px 14px 6px 10px; border-radius: 999px; background: var(--surface); border: 1px solid var(--line); font-weight: 600; font-size: 0.82rem; color: var(--ink); }
.eyebrow::before { content: ""; width: 9px; height: 9px; border-radius: 50%; background: var(--green); box-shadow: 0 0 0 4px color-mix(in srgb, var(--green) 20%, transparent); }

/* Logo: ink follows text colour, dot is always KM Green */
.logo { display: block; height: auto; }
.logo .ink { stroke: currentColor; }
.logo .sub { fill: currentColor; opacity: .72; }
.logo .dot { fill: var(--green); }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 52px; padding: 0 26px; border-radius: 16px; font: 600 1rem/1 var(--font); text-decoration: none; border: 1.5px solid transparent; cursor: pointer; transition: transform .2s var(--ease), background .2s ease, box-shadow .2s ease, color .2s ease; }
.btn:hover { transform: translateY(-2px); }
.btn-primary { background: var(--green); color: #fff; box-shadow: 0 6px 0 -1px #157a35; }
.btn-primary:hover { background: #22b350; box-shadow: 0 8px 0 -1px #157a35; }
.btn-primary:active { transform: translateY(2px); box-shadow: 0 2px 0 -1px #157a35; }
.btn-ghost { border-color: var(--ink); background: transparent; color: var(--ink); }
.btn-ghost:hover { background: var(--ink); color: var(--bg); }
.btn-light { background: var(--lime); color: var(--forest); box-shadow: 0 6px 0 -1px #5fa52c; }
.btn svg { width: 18px; height: 18px; transition: transform .2s var(--ease); }
.btn:hover svg { transform: translateX(3px); }

/* Header: a floating rounded bar */
.site-header { position: sticky; top: 0; z-index: 20; padding-top: 12px; }
.site-header .nav { display: flex; align-items: center; justify-content: space-between; gap: 20px; min-height: 68px; width: calc(100% - 32px); max-width: calc(var(--wrap) - 40px); margin-inline: auto; padding: 0 10px 0 20px; background: color-mix(in srgb, var(--surface) 86%, transparent); backdrop-filter: saturate(1.4) blur(14px); border: 1px solid var(--line); border-radius: 20px; box-shadow: 0 10px 30px -22px rgba(16, 35, 26, .4); }
.brand { display: block; text-decoration: none; color: var(--ink); }
.brand .logo { width: 84px; }
.nav-links { display: flex; gap: 2px; list-style: none; margin: 0; padding: 0; }
.nav-links a { display: block; text-decoration: none; font-weight: 500; font-size: 0.97rem; color: var(--muted); padding: 9px 14px; border-radius: 12px; transition: color .15s ease, background .15s ease; }
.nav-links a:hover { color: var(--ink); background: var(--surface-2); }
.nav-links a[aria-current="page"] { color: var(--ink); background: var(--mark); }
.nav-cta { min-height: 46px; padding: 0 20px; font-size: 0.95rem; border-radius: 13px; box-shadow: none; }
.nav-cta:hover { box-shadow: none; }
.menu-btn { display: none; background: none; border: 1px solid var(--line); border-radius: 12px; width: 44px; height: 44px; color: var(--ink); cursor: pointer; }
@media (max-width: 960px) {
  .site-header .nav { position: relative; }
  .nav-links { display: none; position: absolute; left: -1px; right: -1px; top: calc(100% + 8px); flex-direction: column; gap: 0; background: var(--surface); border: 1px solid var(--line); border-radius: 18px; padding: 8px; box-shadow: 0 20px 40px -24px rgba(16, 35, 26, .45); }
  .nav-links.open { display: flex; }
  .nav-links a { padding: 13px 14px; font-size: 1.05rem; }
  .menu-btn { display: inline-grid; place-items: center; }
  .nav-cta { display: none; }
}

/* ---------- Home hero ---------- */
.hero { position: relative; padding-block: clamp(40px, 6vw, 80px) clamp(56px, 8vw, 104px); overflow: hidden; }
.hero::before { content: ""; position: absolute; width: min(780px, 90vw); aspect-ratio: 1; border-radius: 50%; right: max(-260px, -20vw); top: -160px; background: radial-gradient(circle at 40% 40%, color-mix(in srgb, var(--lime) 55%, transparent), color-mix(in srgb, var(--green) 18%, transparent) 55%, transparent 70%); filter: blur(10px); opacity: .7; pointer-events: none; }
.hero-grid { position: relative; display: grid; grid-template-columns: 1.05fr 0.95fr; gap: clamp(32px, 5vw, 64px); align-items: center; }
.hero-copy { display: grid; gap: 26px; min-width: 0; justify-items: start; }
.hero h1 { font-size: clamp(2.4rem, 4.4vw, 3.6rem); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; }
.hero-note { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 18px; font-size: 0.95rem; color: var(--muted); }
.hero-note a { font-weight: 600; color: var(--ink); text-decoration: none; border-bottom: 2px solid var(--mark); }
@media (max-width: 920px) { .hero-grid { grid-template-columns: 1fr; } }

/* Isometric "IT stack": each layer is one part of an office's IT */
.stack-wrap { position: relative; height: 560px; display: grid; place-items: center; perspective: 1800px; }
.stack { position: relative; width: 270px; height: 270px; margin-top: 130px; transform-style: preserve-3d; transform: rotateX(56deg) rotateZ(-40deg); }
.layer { position: absolute; inset: 0; border-radius: 30px; transform: translateZ(calc(var(--i) * 40px)); transition: transform .9s var(--ease); background: var(--c); box-shadow: inset 0 0 0 1.5px rgba(255,255,255,.35), 0 0 0 1px rgba(0,0,0,.06); display: grid; place-items: end start; padding: 0 0 20px 24px; }
.layer span { font: 700 1.25rem/1 var(--head); color: var(--t, #fff); letter-spacing: -0.01em; }
.layer span small { display: block; margin-top: 6px; font: 500 .74rem/1.2 var(--font); opacity: .85; }
.stack.open .layer { transform: translateZ(calc(var(--i) * 60px)); }
.stack-dot { position: absolute; left: 50%; top: 50%; width: 44px; height: 44px; margin: -22px; border-radius: 50%; background: var(--green); transform: translateZ(250px); box-shadow: 0 0 0 10px color-mix(in srgb, var(--green) 25%, transparent); transition: transform .9s var(--ease); }
.stack.open .stack-dot { transform: translateZ(330px); }
@keyframes bob { 50% { translate: 0 -12px; } }
.stack-legend { position: absolute; right: 0; bottom: 6px; display: grid; gap: 4px; font-size: .85rem; color: var(--muted); background: color-mix(in srgb, var(--surface) 85%, transparent); border: 1px solid var(--line); border-radius: 16px; padding: 12px 16px; backdrop-filter: blur(6px); max-width: 240px; }
.stack-legend b { color: var(--ink); font-weight: 600; }
@media (max-width: 920px) { .stack-wrap { height: 480px; } .stack { width: 240px; height: 240px; margin-top: 120px; } }
@media (max-width: 460px) { .stack-wrap { height: 430px; } .stack { width: 200px; height: 200px; margin-top: 110px; } .layer { padding: 0 0 14px 16px; } .layer span { font-size: 1rem; } .layer span small { font-size: .66rem; } .stack.open .layer { transform: translateZ(calc(var(--i) * 62px)); } .stack.open .stack-dot { transform: translateZ(330px); } .stack-legend { left: 0; right: auto; } }

/* Platform chips under the hero */
.platforms { display: flex; flex-wrap: wrap; gap: 8px; }
.platforms span { display: inline-flex; align-items: center; gap: 8px; padding: 7px 13px; border-radius: 12px; background: var(--surface); border: 1px solid var(--line); font-weight: 500; font-size: .88rem; }
.platforms span::before { content: ""; width: 7px; height: 7px; border-radius: 2px; background: var(--sq, var(--green)); }

/* ---------- Service rows (home) ---------- */
.rows { border-top: 1.5px solid var(--ink); }
.row { position: relative; display: grid; grid-template-columns: 70px 1.1fr 1.4fr 48px; gap: 24px; align-items: center; padding: 28px 16px; border-bottom: 1px solid var(--line); text-decoration: none; isolation: isolate; transition: color .3s ease; }
.row::before { content: ""; position: absolute; inset: 4px 0; background: var(--forest); border-radius: 20px; transform: scaleY(.4); opacity: 0; transition: transform .35s var(--ease), opacity .25s ease; z-index: -1; }
.row:hover { color: var(--forest-ink); }
.row:hover::before { transform: none; opacity: 1; }
.row .num { font: 700 1rem/1 var(--head); color: var(--accent); }
.row:hover .num { color: var(--lime); }
.row h3 { font-size: clamp(1.35rem, 2.4vw, 1.8rem); font-weight: 700; letter-spacing: -0.025em; }
.row p { color: var(--muted); font-size: .98rem; }
.row:hover p { color: var(--forest-muted); }
.row .go { width: 48px; height: 48px; border-radius: 50%; border: 1.5px solid currentColor; display: grid; place-items: center; transition: background .25s ease, transform .3s var(--ease); }
.row:hover .go { background: var(--lime); color: var(--forest); border-color: var(--lime); transform: rotate(-45deg); }
.row .go svg { width: 18px; height: 18px; }
.mini { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 10px; }
.mini i { font-style: normal; font-size: .78rem; padding: 4px 10px; border-radius: 999px; border: 1px solid var(--line); color: var(--muted); }
.row:hover .mini i { border-color: var(--forest-line); color: var(--forest-muted); }
@media (max-width: 820px) { .row { grid-template-columns: 1fr 48px; gap: 10px 16px; } .row .num { grid-column: 1; } .row .go { grid-column: 2; grid-row: 1 / span 2; } .row > div { grid-column: 1 / -1; } }

/* ---------- Microsoft ecosystem ---------- */
.forest { position: relative; background: var(--forest); color: var(--forest-ink); overflow: hidden; border-radius: 36px; margin-inline: 12px; }
.forest::before { content: ""; position: absolute; width: 900px; aspect-ratio: 1; border-radius: 50%; left: -380px; bottom: -620px; background: radial-gradient(closest-side, rgba(142, 224, 79, .18), transparent); pointer-events: none; }
.forest > * { position: relative; }
.forest .eyebrow, .band .eyebrow { background: transparent; border-color: var(--forest-line); color: var(--forest-ink); }
.forest .eyebrow::before, .band .eyebrow::before { background: var(--lime); box-shadow: 0 0 0 4px rgba(142, 224, 79, .2); }
.forest .lede, .forest p { color: var(--forest-muted); }
.forest h2, .forest h3 { color: var(--forest-ink); }
.forest mark, .band mark, .cta-band mark { background: linear-gradient(transparent 58%, rgba(142, 224, 79, .38) 58%, rgba(142, 224, 79, .38) 92%, transparent 92%); }
.filters { display: flex; flex-wrap: wrap; gap: 8px; }
.filter { padding: 10px 16px; border-radius: 12px; border: 1px solid var(--line); background: var(--surface); color: var(--muted); font: 500 .92rem/1 var(--font); cursor: pointer; transition: all .2s ease; }
.filter:hover { color: var(--ink); }
.filter[aria-pressed="true"] { background: var(--ink); border-color: var(--ink); color: var(--bg); }
.forest .filter { background: transparent; border-color: var(--forest-line); color: var(--forest-muted); }
.forest .filter:hover { color: var(--forest-ink); }
.forest .filter[aria-pressed="true"] { background: var(--lime); border-color: var(--lime); color: var(--forest); }
.tools { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.tool { display: grid; gap: 12px; align-content: start; padding: 22px; border-radius: 20px; background: var(--forest-2); border: 1px solid var(--forest-line); text-decoration: none; transition: transform .3s var(--ease), border-color .2s ease; animation: pop .45s var(--ease) both; }
.tool:hover { transform: translateY(-4px); border-color: rgba(142, 224, 79, .5); }
.tool[hidden] { display: none; }
@keyframes pop { from { opacity: 0; transform: scale(.96); } }
.tool-top { display: flex; align-items: center; gap: 12px; }
.mono { flex: none; width: 44px; height: 44px; border-radius: 13px; display: grid; place-items: center; font: 800 .95rem/1 var(--head); color: #fff; background: var(--tc, var(--green)); box-shadow: inset 0 -3px 0 rgba(0,0,0,.2); }
.tool h3 { font-size: 1.08rem; }
.tool small { display: block; font-size: .76rem; color: var(--forest-muted); font-weight: 500; margin-top: 3px; }
.tool p { font-size: .93rem; line-height: 1.55; }
.tool ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 6px; }
.tool li { font-size: .74rem; padding: 4px 9px; border-radius: 8px; background: rgba(142, 224, 79, .1); color: #c9f0a8; }
@media (max-width: 1060px) { .tools { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 780px) { .tools { grid-template-columns: repeat(2, 1fr); } .forest { margin-inline: 0; border-radius: 28px; } }
@media (max-width: 520px) { .tools { grid-template-columns: 1fr; } }
.tools-foot { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; margin-top: 36px; padding-top: 28px; border-top: 1px solid var(--forest-line); }

/* ---------- AMC year planner ---------- */
.split { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: clamp(28px, 5vw, 72px); align-items: center; }
@media (max-width: 900px) { .split { grid-template-columns: 1fr; } }
.planner { background: var(--surface); border: 1px solid var(--line); border-radius: 26px; padding: clamp(20px, 3vw, 32px); box-shadow: 0 30px 60px -40px rgba(16, 35, 26, .45); display: grid; gap: 20px; min-width: 0; }
.planner-top { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; flex-wrap: wrap; }
.planner-top h3 { font-size: 1.15rem; }
.planner-top span { font-size: .8rem; color: var(--muted); }
.months { display: grid; grid-template-columns: repeat(12, 1fr); gap: 6px; align-items: stretch; height: 160px; padding-top: 20px; }
.month { display: flex; flex-direction: column; justify-content: flex-end; align-items: center; gap: 6px; height: 100%; }
.month .col { display: block; flex: none; width: 100%; border-radius: 8px; background: var(--surface-2); height: var(--h, 30%); position: relative; transform-origin: bottom; transition: transform .9s var(--ease); transition-delay: var(--md, 0s); }
.planner.reveal:not(.in) .month .col { transform: scaleY(.08); }
.month.visit .col { background: var(--green); }
.month.visit .col::after { content: ""; position: absolute; left: 50%; top: -16px; width: 10px; height: 10px; margin-left: -5px; border-radius: 50%; background: var(--lime); box-shadow: 0 0 0 4px color-mix(in srgb, var(--lime) 35%, transparent); }
.month small { font-size: .7rem; color: var(--muted); font-weight: 500; }
.legend { display: flex; flex-wrap: wrap; gap: 8px 18px; font-size: .84rem; color: var(--muted); }
.legend i { display: inline-block; width: 10px; height: 10px; border-radius: 3px; margin-right: 7px; vertical-align: -1px; }
.planner-rows { display: grid; gap: 8px; }
.planner-rows div { display: flex; justify-content: space-between; gap: 12px; padding: 12px 14px; border-radius: 14px; background: var(--surface-2); font-size: .92rem; }
.planner-rows b { font-weight: 600; color: var(--accent); white-space: nowrap; }

/* Benefit points */
.points { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; }
.points > div { display: grid; gap: 8px; align-content: start; padding: 22px; border-radius: 18px; background: var(--surface); border: 1px solid var(--line); }
.points b { font: 700 1.12rem/1.2 var(--head); letter-spacing: -0.015em; display: flex; align-items: center; gap: 10px; }
.points b::before { content: ""; flex: none; width: 10px; height: 10px; border-radius: 50%; background: var(--green); }
.points p { color: var(--muted); font-size: .97rem; }
.band .points > div { background: var(--forest-2); border-color: var(--forest-line); }
.band .points b::before { background: var(--lime); }
@media (max-width: 560px) { .points { grid-template-columns: 1fr; } }

/* Dark band on inner pages */
.band { position: relative; background: var(--forest); color: var(--forest-ink); overflow: hidden; border-radius: 36px; margin-inline: 12px; }
.band::before { content: ""; position: absolute; width: 800px; aspect-ratio: 1; border-radius: 50%; right: -340px; top: -420px; background: radial-gradient(closest-side, rgba(142, 224, 79, .16), transparent); pointer-events: none; }
.band > * { position: relative; }
.band .lede, .band p { color: var(--forest-muted); }
.band h2, .band h3 { color: var(--forest-ink); }
.band .split { align-items: start; }
@media (max-width: 780px) { .band { margin-inline: 0; border-radius: 28px; } }

/* Reasons */
.reasons { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.reasons > div { display: grid; gap: 10px; align-content: start; padding: 28px; border-radius: 22px; background: var(--surface); border: 1px solid var(--line); transition: transform .3s var(--ease), box-shadow .3s ease; }
.reasons > div:hover { transform: translateY(-4px); box-shadow: 0 24px 50px -34px rgba(16, 35, 26, .5); }
.reasons > div::before { content: ""; width: 40px; height: 40px; border-radius: 13px; background: radial-gradient(circle, var(--green) 0 6px, transparent 7px), var(--mark); margin-bottom: 4px; }
.reasons p { color: var(--muted); font-size: .97rem; }
@media (max-width: 860px) { .reasons { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 540px) { .reasons { grid-template-columns: 1fr; } }

/* Process: a dashed path with numbered stops */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; counter-reset: step; list-style: none; padding: 0; margin: 0; position: relative; }
.steps::before { content: ""; position: absolute; left: 28px; right: 28px; top: 27px; border-top: 2px dashed color-mix(in srgb, var(--green) 50%, var(--line)); }
.steps li { counter-increment: step; position: relative; display: grid; gap: 10px; align-content: start; }
.steps li::before { content: counter(step); width: 56px; height: 56px; border-radius: 50%; display: grid; place-items: center; background: var(--bg); border: 2px solid var(--green); color: var(--accent); font: 800 1.2rem/1 var(--head); margin-bottom: 8px; transition: background .25s ease, color .25s ease; }
.steps li:hover::before { background: var(--green); color: #fff; }
.steps p { color: var(--muted); font-size: .97rem; }
@media (min-width: 901px) { .steps.three { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 900px) { .steps { grid-template-columns: 1fr 1fr; } .steps::before { display: none; } }
@media (max-width: 520px) { .steps { grid-template-columns: 1fr; } }

/* Inner page hero */
.page-hero { position: relative; padding-block: clamp(48px, 7vw, 96px) clamp(48px, 6vw, 80px); overflow: hidden; }
.page-hero::before { content: ""; position: absolute; width: 560px; aspect-ratio: 1; border-radius: 50%; right: -140px; top: -220px; background: radial-gradient(circle at 40% 40%, color-mix(in srgb, var(--lime) 50%, transparent), color-mix(in srgb, var(--green) 14%, transparent) 55%, transparent 70%); opacity: .75; pointer-events: none; }
.page-hero .wrap { position: relative; z-index: 1; display: grid; gap: 18px; justify-items: start; }
.page-hero h1 { max-width: 16ch; }
.crumbs { font-size: .88rem; color: var(--muted); }
.crumbs a { text-decoration: none; font-weight: 500; }
.crumbs a:hover { color: var(--accent); }

/* Service detail blocks */
.detail { display: grid; grid-template-columns: 0.85fr 1.15fr; gap: clamp(24px, 4vw, 56px); padding: clamp(24px, 4vw, 40px); margin-bottom: 16px; border-radius: 26px; background: var(--surface); border: 1px solid var(--line); scroll-margin-top: 110px; transition: box-shadow .3s ease; }
.detail:hover { box-shadow: 0 30px 60px -44px rgba(16, 35, 26, .55); }
.detail-head { display: grid; gap: 14px; align-content: start; justify-items: start; }
.detail-head p { color: var(--muted); }
.service-icon { width: 52px; height: 52px; border-radius: 16px; background: var(--mark); color: var(--forest); display: grid; place-items: center; }
.service-icon svg { width: 24px; height: 24px; }
.checklist { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; align-content: start; }
.checklist li { display: grid; grid-template-columns: 22px 1fr; gap: 10px; align-items: start; padding: 12px 14px; border-radius: 14px; background: var(--surface-2); font-size: .97rem; }
.checklist li::before { content: ""; width: 20px; height: 20px; margin-top: 2px; border-radius: 50%; background: var(--green) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23fff' stroke-width='3.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 12.5l4 4 8-9'/%3E%3C/svg%3E") center / 12px no-repeat; }
@media (max-width: 860px) { .detail { grid-template-columns: 1fr; } }
@media (max-width: 520px) { .checklist { grid-template-columns: 1fr; } }

/* Microsoft page: category nav and tool cards */
.catnav { position: sticky; top: 92px; z-index: 10; display: flex; gap: 6px; overflow-x: auto; padding: 8px; margin-bottom: 48px; background: color-mix(in srgb, var(--surface) 90%, transparent); backdrop-filter: blur(12px); border: 1px solid var(--line); border-radius: 18px; scrollbar-width: none; }
.catnav a { flex: none; padding: 10px 16px; border-radius: 12px; text-decoration: none; font-weight: 500; font-size: .93rem; color: var(--muted); transition: background .2s ease, color .2s ease; }
.catnav a:hover { background: var(--surface-2); color: var(--ink); }
.catnav a.on { background: var(--ink); color: var(--bg); }
.cat { scroll-margin-top: 180px; padding-bottom: 64px; }
.cat-head { display: grid; gap: 10px; margin-bottom: 26px; max-width: 760px; justify-items: start; }
.cat-head h2 { font-size: clamp(1.7rem, 3vw, 2.3rem); }
.cat-head p { color: var(--muted); }
.ms-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
.ms { display: grid; gap: 14px; align-content: start; padding: 28px; border-radius: 24px; background: var(--surface); border: 1px solid var(--line); scroll-margin-top: 180px; transition: transform .3s var(--ease), box-shadow .3s ease, border-color .3s ease; }
.ms:hover { transform: translateY(-3px); box-shadow: 0 30px 60px -44px rgba(16, 35, 26, .55); }
.ms:target { border-color: var(--green); box-shadow: 0 0 0 4px color-mix(in srgb, var(--green) 18%, transparent); }
.ms .tool-top h3 { font-size: 1.3rem; }
.ms .tool-top small { display: block; font-size: .82rem; color: var(--muted); margin-top: 3px; }
.ms > p { color: var(--muted); }
.ms h4 { font: 600 .76rem/1 var(--font); text-transform: uppercase; letter-spacing: .1em; color: var(--accent); margin-top: 4px; }
.ms ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.ms ul li { display: grid; grid-template-columns: 16px 1fr; gap: 8px; font-size: .96rem; }
.ms ul li::before { content: ""; width: 8px; height: 8px; margin-top: 9px; border-radius: 50%; background: var(--green); }
.ms .fit { font-size: .9rem; padding: 12px 14px; border-radius: 14px; background: var(--surface-2); color: var(--muted); }
.ms .fit b { color: var(--ink); font-weight: 600; }
@media (max-width: 820px) { .ms-grid { grid-template-columns: 1fr; } }

/* Licence plan table */
.table-wrap { overflow-x: auto; border-radius: 22px; border: 1px solid var(--line); background: var(--surface); }
.plans { width: 100%; min-width: 680px; border-collapse: collapse; font-size: .95rem; }
.plans th, .plans td { padding: 14px 18px; text-align: left; border-bottom: 1px solid var(--line); vertical-align: middle; }
.plans thead th { font: 700 1.02rem/1.25 var(--head); background: var(--surface-2); }
.plans thead th small { display: block; font: 500 .76rem/1.3 var(--font); color: var(--muted); margin-top: 3px; }
.plans tbody th { font-weight: 500; }
.plans tr:last-child th, .plans tr:last-child td { border-bottom: 0; }
.plans td { text-align: center; }
.yes { display: inline-grid; place-items: center; width: 24px; height: 24px; border-radius: 50%; background: var(--green); color: #fff; font-size: .8rem; font-weight: 700; }
.no { color: var(--muted); opacity: .5; }

/* Quotes */
.quotes { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
blockquote { margin: 0; padding: 32px; background: var(--surface); border: 1px solid var(--line); border-radius: 24px; display: grid; gap: 18px; }
blockquote::before { content: "“"; font: 800 4rem/0.6 var(--head); color: var(--green); height: 24px; }
blockquote p { font: 600 1.15rem/1.45 var(--head); letter-spacing: -0.01em; }
blockquote footer { font-size: .9rem; color: var(--muted); }
@media (max-width: 760px) { .quotes { grid-template-columns: 1fr; } }

/* FAQ */
.faq-grid { display: grid; grid-template-columns: 0.8fr 1.2fr; gap: 48px; align-items: start; }
.faq { display: grid; gap: 10px; }
.faq details { background: var(--surface); border: 1px solid var(--line); border-radius: 18px; padding: 0 22px; transition: border-color .2s ease; }
.faq details[open] { border-color: var(--green); }
.faq summary { cursor: pointer; list-style: none; padding: 20px 44px 20px 0; position: relative; font: 600 1.06rem/1.35 var(--head); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 0; top: 16px; width: 30px; height: 30px; border-radius: 10px; background: var(--surface-2); display: grid; place-items: center; font-size: 1.2rem; font-weight: 500; color: var(--accent); transition: transform .25s var(--ease), background .2s ease; }
.faq details[open] summary::after { transform: rotate(45deg); background: var(--mark); }
.faq details p { padding-bottom: 20px; color: var(--muted); max-width: 62ch; }
@media (max-width: 860px) { .faq-grid { grid-template-columns: 1fr; gap: 24px; } }

/* Cards (about, AMC) */
.cards2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
.card { background: var(--surface); border: 1px solid var(--line); border-radius: 24px; padding: 30px; display: grid; gap: 12px; align-content: start; justify-items: start; transition: transform .3s var(--ease); }
.cards2 .card:hover { transform: translateY(-3px); }
.card p { color: var(--muted); }
@media (max-width: 760px) { .cards2 { grid-template-columns: 1fr; } }
.facts { display: grid; grid-template-columns: max-content 1fr; gap: 0 24px; margin: 0; width: 100%; }
.facts dt, .facts dd { padding: 13px 0; border-top: 1px solid var(--line); }
.facts dt { color: var(--muted); }
.facts dd { margin: 0; font-weight: 600; overflow-wrap: anywhere; }

/* Contact */
.contact { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: clamp(28px, 5vw, 64px); align-items: start; }
.contact-info { display: grid; gap: 12px; min-width: 0; }
.channel { display: grid; gap: 4px; padding: 20px 22px; border: 1px solid var(--line); border-radius: 18px; background: var(--surface); transition: transform .25s var(--ease); }
.channel:hover { transform: translateX(4px); }
.channel small { font-weight: 600; font-size: .78rem; text-transform: uppercase; letter-spacing: .1em; color: var(--accent); }
.channel span, .channel a { font: 600 1.08rem/1.4 var(--head); text-decoration: none; overflow-wrap: anywhere; }
.channel a:hover { color: var(--accent); }
form.lead { background: var(--surface); border: 1px solid var(--line); border-radius: 26px; padding: clamp(24px, 4vw, 40px); display: grid; gap: 18px; min-width: 0; box-shadow: 0 30px 60px -44px rgba(16, 35, 26, .55); }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
@media (max-width: 560px) { .field-row { grid-template-columns: 1fr; } }
label { display: grid; gap: 8px; font-weight: 600; font-size: .93rem; }
input, select, textarea { width: 100%; font: 400 1rem/1.4 var(--font); color: var(--ink); background: var(--bg); border: 1.5px solid var(--line); border-radius: 14px; padding: 13px 15px; transition: border-color .2s ease, box-shadow .2s ease; }
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--green); box-shadow: 0 0 0 4px color-mix(in srgb, var(--green) 18%, transparent); }
textarea { min-height: 120px; resize: vertical; }
form.lead .btn-primary { justify-self: start; }
.form-status { font-weight: 600; color: var(--accent); }
.fine { font-size: .86rem; color: var(--muted); }
@media (max-width: 860px) { .contact { grid-template-columns: 1fr; } }

/* CTA band */
.cta-band { position: relative; overflow: hidden; background: var(--forest); color: var(--forest-ink); border-radius: 32px; padding: clamp(36px, 6vw, 72px); display: grid; grid-template-columns: 1fr auto; gap: 28px; align-items: center; }
.cta-band::before { content: ""; position: absolute; width: 380px; aspect-ratio: 1; border-radius: 50%; right: -110px; top: -190px; background: rgba(255, 255, 255, .12); }
.cta-band > * { position: relative; z-index: 1; }
.cta-band h2 { max-width: 18ch; color: #fff; }
.cta-band p { color: var(--forest-muted); margin-top: 12px; }
.cta-band .btn { background: #fff; color: var(--forest); box-shadow: 0 6px 0 -1px rgba(0,0,0,.3); }
@media (max-width: 720px) { .cta-band { grid-template-columns: 1fr; } .cta-band::before { width: 240px; right: -100px; top: -120px; } }

/* Footer */
.site-footer { padding-block: 64px 40px; margin-top: clamp(64px, 9vw, 112px); background: var(--forest); color: var(--forest-ink); border-radius: 36px 36px 0 0; }
.foot { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr 1.2fr; gap: 32px; }
.foot .logo { width: 120px; color: #fff; }
.foot .logo .dot { fill: var(--lime); }
.foot h4 { margin: 0 0 14px; font: 700 1rem/1.2 var(--head); color: #fff; }
.foot ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 9px; }
.foot a { text-decoration: none; color: var(--forest-muted); transition: color .15s ease; }
.foot a:hover { color: var(--lime); }
.foot p { color: var(--forest-muted); font-size: .95rem; max-width: 34ch; margin-top: 14px; }
.foot li { color: var(--forest-muted); font-size: .95rem; }
.legal { margin-top: 48px; padding-top: 22px; border-top: 1px solid var(--forest-line); font-size: .85rem; color: var(--forest-muted); display: flex; flex-wrap: wrap; gap: 8px 24px; justify-content: space-between; }
@media (max-width: 960px) { .foot { grid-template-columns: 1fr 1fr 1fr; } .foot > div:first-child { grid-column: 1 / -1; } }
@media (max-width: 560px) { .foot { grid-template-columns: 1fr 1fr; } }

/* Floating WhatsApp */
.wa { position: fixed; right: calc(env(safe-area-inset-right, 0px) + 18px); bottom: calc(env(safe-area-inset-bottom, 0px) + 18px); z-index: 30; width: 58px; height: 58px; border-radius: 18px; background: #1fa855; color: #fff; display: grid; place-items: center; box-shadow: 0 12px 30px -10px rgba(0,0,0,.45); transition: transform .25s var(--ease); }
.wa:hover { transform: translateY(-3px) rotate(-6deg); }
.wa svg { width: 28px; height: 28px; }

.placeholder { outline: 1.5px dashed #e9a23b; outline-offset: 6px; border-radius: 10px; }

/* Scroll reveal (added by main.js, so content stays visible without JavaScript) */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity .8s var(--ease), transform .8s var(--ease); transition-delay: var(--d, 0s); }
.reveal.in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; animation: none !important; }
  .reveal { opacity: 1; transform: none; }
}

.more-link { font-weight: 600; color: var(--accent); text-decoration: none; font-size: .95rem; }
.more-link:hover { text-decoration: underline; }
.page-hero .hero-actions { margin-top: 6px; }
@media (max-width: 920px) {
  .stack-wrap { height: auto; gap: 20px; }
  .stack { margin-top: 150px; margin-bottom: 170px; }
  .stack-legend { position: relative; right: auto; bottom: auto; left: auto; max-width: none; justify-self: stretch; }
}
@media (max-width: 460px) { .stack { margin-top: 130px; margin-bottom: 150px; } }
/* Phones: Microsoft tools become a swipeable row instead of a 19-card column */
@media (max-width: 600px) {
  .tools { grid-template-columns: none; grid-auto-flow: column; grid-auto-columns: 80%; overflow-x: auto; scroll-snap-type: x mandatory; margin-inline: calc(-1 * var(--gutter)); padding: 4px var(--gutter) 12px; scroll-padding-inline: var(--gutter); scrollbar-width: none; }
  .tools::-webkit-scrollbar { display: none; }
  .tool { scroll-snap-align: start; }
  .filters { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; margin-inline: calc(-1 * var(--gutter)); padding-inline: var(--gutter); }
  .filter { flex: none; }
}

/* Quiet "works with" line under the hero buttons */
.works-with { font-size: .9rem; color: var(--muted); line-height: 1.7; max-width: 52ch; }
.works-with span { font-weight: 600; color: var(--ink); margin-right: 6px; }
/* Phones: main buttons share one full width */
@media (max-width: 520px) { .hero-actions .btn { width: 100%; } }
/* Keep breathing room between a green band and the green consultation banner after it */
.band + .wrap > .cta-band, .forest + .wrap > .cta-band { margin-top: clamp(48px, 6vw, 80px); }


/* IT stack: closed by default, spreads open on hover (tap on touch screens).
   Each name sits on the front edge of its layer, which stays visible once the stack is open. */
.stack-wrap { cursor: pointer; }
.layer { place-items: end start; padding: 0 0 16px 22px; }
.layer span { font: 700 1.2rem/1 var(--head); color: var(--t, #fff); letter-spacing: -0.01em; white-space: nowrap; opacity: 0; transition: opacity .35s ease; }
.layer span small { display: block; margin-top: 5px; font: 600 .72rem/1.2 var(--font); opacity: .85; }
.stack .layer:last-child span, .stack.open .layer span { opacity: 1; }
.stack.open .layer span { transition-delay: .25s; }
/* Layers spread out from the middle one, so the open stack stays inside the hero */
.stack .layer { transform: translateZ(calc((var(--i) - 2) * 40px)); }
.stack .stack-dot { transform: translateZ(150px); }
.stack.open .layer { transform: translateZ(calc((var(--i) - 2) * 96px)); }
.stack.open .stack-dot { transform: translateZ(262px); }
@media (max-width: 920px) { .stack.open .layer { transform: translateZ(calc((var(--i) - 2) * 84px)); } .stack.open .stack-dot { transform: translateZ(236px); } }
@media (max-width: 460px) { .layer { padding: 0 0 12px 16px; } .layer span { font-size: 1rem; } .layer span small { font-size: .64rem; } .stack.open .layer { transform: translateZ(calc((var(--i) - 2) * 72px)); } .stack.open .stack-dot { transform: translateZ(212px); } }
