/* layout: full-bleed alternating dark/light bands, Libre Franklin for confident
   headlines paired with Public Sans body copy, services as a stacked editorial
   list, real logo green (#025430) as the one accent, real hero photography */
:root {
  --bg: #FFFFFF;
  --bg-alt: #FFFFFF;
  --ink: #14180F;
  --ink-on-light: #14180F;
  --muted: #5B6357;
  --muted-on-light: #5B6357;
  --accent: #025430;
  --accent-on-dark: #1C8A57;
  --line: #DEDCCF;
  --line-on-light: #DEDCCF;
  --font-display: 'Libre Franklin', Helvetica, Arial, sans-serif;
  --font-body: 'Public Sans', Helvetica, Arial, sans-serif;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 84px; }
body { margin: 0; background: var(--bg); color: var(--ink); font-family: var(--font-body); -webkit-font-smoothing: antialiased; }

@font-face { font-family: 'Libre Franklin'; font-weight: 100 900; font-display: swap; src: url('/assets/fonts/librefranklin.woff2') format('woff2'); }
@font-face { font-family: 'Public Sans'; font-weight: 100 900; font-display: swap; src: url('/assets/fonts/publicsans.woff2') format('woff2'); }

.wrap { max-width: 1160px; margin: 0 auto; padding: 0 32px; }

h1, h2, h3, h4 { font-family: var(--font-display); font-weight: 800; letter-spacing: -0.015em; line-height: 1.06; margin: 0; text-wrap: balance; }
p { margin: 0; }
a { color: inherit; }
img { max-width: 100%; display: block; }
button { font: inherit; }

/* ── nav ── */
.nav { position: sticky; top: 0; z-index: 60; background: rgba(255,255,255,0.88); backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); }
.nav-inner { display: flex; align-items: center; justify-content: space-between; padding: 18px 32px; }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; color: var(--ink); }
.brand img { width: 35px; height: auto; }
.brand span { font-family: var(--font-display); font-weight: 800; font-size: 1.25rem; letter-spacing: 0.01em; }
.nav-links { display: flex; align-items: center; gap: 34px; }
.nav-links a { color: var(--muted); text-decoration: none; font-family: var(--font-body); font-weight: 500; font-size: 1rem; transition: color .15s ease; }
.nav-links a:hover { color: var(--ink); }
.nav-dropdown { position: relative; }
.nav-dropdown-btn { display: flex; align-items: center; gap: 5px; background: none; border: none; cursor: pointer; padding: 0; color: var(--muted); font-family: var(--font-body); font-weight: 500; font-size: 1rem; transition: color .15s ease; }
.nav-dropdown-btn svg { width: 13px; height: 13px; transition: transform .15s ease; }
.nav-dropdown:hover .nav-dropdown-btn, .nav-dropdown:focus-within .nav-dropdown-btn { color: var(--ink); }
.nav-dropdown:hover .nav-dropdown-btn svg, .nav-dropdown:focus-within .nav-dropdown-btn svg { transform: rotate(180deg); }
.nav-dropdown-panel { position: absolute; top: calc(100% + 16px); left: 50%; transform: translateX(-50%); min-width: 180px; background: #FFFFFF; border: 1px solid var(--line); border-radius: 10px; padding: 8px; box-shadow: 0 20px 50px -20px rgba(20,24,15,0.25); opacity: 0; visibility: hidden; transition: opacity .15s ease; }
.nav-dropdown-panel::before { content: ""; position: absolute; left: 0; right: 0; top: -16px; height: 16px; }
.nav-dropdown:hover .nav-dropdown-panel, .nav-dropdown:focus-within .nav-dropdown-panel { opacity: 1; visibility: visible; }
.nav-dropdown-panel a { display: block; padding: 10px 12px; border-radius: 6px; color: var(--ink); text-decoration: none; font-size: 0.86rem; font-weight: 500; white-space: nowrap; }
.nav-dropdown-panel a:hover { background: rgba(28,138,87,0.12); color: var(--ink); }
.nav-cta { display: flex; align-items: center; gap: 18px; }
.btn { display: inline-flex; align-items: center; gap: 8px; font-family: var(--font-body); font-weight: 600; font-size: 0.86rem; padding: 11px 22px; border-radius: 4px; text-decoration: none; border: none; cursor: pointer; transition: opacity .15s ease, transform .15s ease; }
.btn:hover { opacity: 0.88; }
.btn-accent { background: var(--accent-on-dark); color: #06210F; }
.btn-outline { border: 1px solid var(--line); color: var(--ink); }
.icon-btn { display: none; align-items: center; justify-content: center; width: 38px; height: 38px; border-radius: 6px; border: 1px solid var(--line); background: transparent; color: var(--ink); cursor: pointer; }
.icon-btn svg { width: 22px; height: 22px; }
.icon-btn .ic-close { display: none; }
.icon-btn[aria-expanded="true"] .ic-open { display: none; }
.icon-btn[aria-expanded="true"] .ic-close { display: block; }
@media (max-width: 920px) { .nav-links { display: none; } .icon-btn { display: inline-flex; } }
#mobile-menu { display: none; position: absolute; top: 100%; left: 16px; right: 16px; margin-top: 8px; max-height: calc(100svh - 100px); overflow-y: auto; border: 1px solid var(--line); border-radius: 10px; background: #FFFFFF; color: var(--ink); box-shadow: 0 20px 50px -20px rgba(20,24,15,0.25); padding: 10px; }
#mobile-menu.is-open { display: block; }
#mobile-menu a { display: block; padding: 13px 14px; border-radius: 6px; text-decoration: none; color: var(--ink); font-weight: 600; font-family: var(--font-body); font-size: 0.95rem; }
#mobile-menu a:hover { background: rgba(28,138,87,0.1); }
#mobile-menu .mm-group-label { padding: 13px 14px 2px; font-family: var(--font-body); font-weight: 600; font-size: 0.72rem; letter-spacing: 0.06em; text-transform: uppercase; color: var(--muted); }
#mobile-menu a.mm-sub { padding-top: 6px; padding-bottom: 6px; font-size: 0.9rem; }

/* ── hero ── */
.hero { padding: 130px 0 90px; min-height: 100vh; min-height: 100svh; display: flex; align-items: center; position: relative; overflow: hidden; }
@media (max-width: 700px) { .hero { padding: 110px 0 70px; } }
.hero-bg { position: absolute; inset: 0; background-image: var(--hero-img, url('/assets/img/hero-photo.webp')); background-size: cover; background-position: var(--hero-pos, 45% center); z-index: 0; }
.hero-bg::after { content: ""; position: absolute; inset: 0; background: var(--hero-overlay, linear-gradient(100deg, rgba(255,255,255,0.94) 0%, rgba(255,255,255,0.82) 36%, rgba(255,255,255,0.18) 66%, rgba(255,255,255,0) 100%)); }
@media (max-width: 700px) { .hero-bg::after { background: linear-gradient(180deg, rgba(255,255,255,0.4) 0%, rgba(255,255,255,0.86) 36%, rgba(255,255,255,0.82) 72%, rgba(255,255,255,0.1) 94%); } }
@media (max-width: 700px) { .hero-bg { background-image: var(--hero-img-m, var(--hero-img, url('/assets/img/hero-photo-mobile.webp'))); background-position: var(--hero-pos-m, 78% center); } }
@media (min-width: 1921px) { .hero-bg { background-image: var(--hero-img-xl, var(--hero-img, url('/assets/img/hero-photo-xl.webp'))); } }
.hero > .wrap { position: relative; z-index: 1; width: 100%; }
.hero-tag { font-size: clamp(2.4rem, 5.4vw, 4.4rem); max-width: 16ch; color: var(--ink); }
.hero-tag em { font-style: normal; color: var(--accent); }
.hero-sub { font-family: var(--font-body); font-weight: 400; font-size: 1.1rem; color: #3E463A; max-width: 46ch; margin: 30px 0 40px; line-height: 1.55; }
.hero-cta { display: flex; gap: 16px; margin-bottom: 64px; flex-wrap: wrap; }
.hero-cta .btn-outline { border-color: rgba(20,24,15,0.55); color: var(--ink); background: rgba(255,255,255,0.55); }
.hero-stats { display: grid; grid-template-columns: repeat(4, auto); gap: 44px; border-top: 1px solid rgba(242,244,239,0.14); padding-top: 26px; }
.hero-stats .stat-num { font-family: var(--font-display); font-weight: 800; font-size: 1.5rem; letter-spacing: -0.01em; color: #fff; }
.hero-stats .stat-lbl { font-family: var(--font-body); font-weight: 500; font-size: 0.72rem; color: rgba(255,255,255,0.65); margin-top: 5px; }
@media (max-width: 700px) { .hero-stats { grid-template-columns: repeat(2, auto); row-gap: 24px; } }

/* ── light band ── */
.band-light { background: var(--bg-alt); color: var(--ink-on-light); }

/* ── about ── */
.about { padding: 100px 0; }
.about-grid { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 64px; align-items: start; }
.about-grid-solo { grid-template-columns: 1fr; max-width: 760px; }
.about-grid-solo .about-copy p { max-width: 64ch; }
.about h2 { font-size: clamp(1.9rem, 3.4vw, 2.7rem); max-width: 14ch; }
.about-copy { margin-top: 28px; }
.about-copy p { font-size: 1rem; line-height: 1.65; color: var(--muted-on-light); margin-bottom: 16px; max-width: 54ch; }
.about-stats { display: flex; flex-direction: column; gap: 24px; border-left: 1px solid var(--line-on-light); padding-left: 28px; }
.about-stats .n { font-family: var(--font-display); font-weight: 800; font-size: 2.3rem; letter-spacing: -0.02em; color: var(--accent); }
.about-stats .l { font-family: var(--font-body); font-weight: 500; font-size: 0.78rem; color: var(--muted-on-light); margin-top: 4px; }
.about-media img { width: 100%; height: auto; border-radius: 12px; box-shadow: 0 24px 60px -24px rgba(20,24,15,0.35); display: block; }
.about-grid-media { align-items: center; }
.about-grid-media .about-media { aspect-ratio: 4 / 3; }
.about-grid-media .about-media img { height: 100%; object-fit: cover; }
@media (max-width: 800px) { .about-grid { grid-template-columns: 1fr; } .about-stats { border-left: none; padding-left: 0; border-top: 1px solid var(--line-on-light); padding-top: 24px; flex-direction: row; flex-wrap: wrap; } .about-media { order: -1; } }

/* ── services (stacked editorial list) ── */
.services { padding: 100px 0 80px; }
.services-head { display: flex; justify-content: space-between; align-items: flex-end; margin-bottom: 48px; gap: 30px; flex-wrap: wrap; }
.services-head h2 { font-size: clamp(1.9rem, 3.4vw, 2.7rem); max-width: 12ch; }
.services-note { font-family: var(--font-body); font-size: 0.86rem; color: var(--muted); max-width: 32ch; text-align: right; }
@media (max-width: 700px) { .services-note { text-align: left; } }
.svc-row { display: grid; grid-template-columns: 52px 1fr 300px; align-items: center; gap: 26px; padding: 26px 0; border-top: 1px solid var(--line); transition: background .15s ease; text-decoration: none; color: inherit; }
.svc-row:last-child { border-bottom: 1px solid var(--line); }
.svc-row:hover { background: rgba(28,138,87,0.05); }
.svc-num { font-family: var(--font-body); font-weight: 600; color: var(--accent-on-dark); font-size: 0.88rem; }
.svc-name { font-family: var(--font-display); font-weight: 700; font-size: 1.35rem; letter-spacing: -0.01em; }
.svc-desc { font-family: var(--font-body); font-weight: 400; font-size: 0.9rem; color: var(--muted); line-height: 1.5; }
.svc-arrow { justify-self: end; color: var(--muted); font-size: 1.1rem; opacity: 0; transition: opacity .15s ease, transform .15s ease; }
.svc-row:hover .svc-arrow { opacity: 1; transform: translateX(3px); }
@media (max-width: 820px) { .svc-row { grid-template-columns: 40px 1fr; } .svc-desc { grid-column: 2; } }

/* ── services (card grid) ── */
.svc-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.svc-card { display: flex; flex-direction: column; text-decoration: none; color: inherit; border: 1px solid var(--line); border-radius: 14px; overflow: hidden; background: var(--bg-alt); transition: border-color .2s ease, transform .2s ease; }
.svc-card:hover { border-color: var(--accent-on-dark); transform: translateY(-4px); }
.svc-card-media { aspect-ratio: 4 / 3; overflow: hidden; background: var(--line); }
.svc-card-media img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .5s ease; }
.svc-card:hover .svc-card-media img { transform: scale(1.06); }
.svc-card-body { padding: 24px 24px 28px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.svc-card-name { font-family: var(--font-display); font-weight: 700; font-size: 1.18rem; letter-spacing: -0.01em; line-height: 1.25; }
.svc-card-desc { font-family: var(--font-body); font-weight: 400; font-size: 0.87rem; color: var(--muted); line-height: 1.5; flex: 1; }
.svc-card-arrow { display: flex; align-items: center; gap: 6px; font-family: var(--font-body); font-weight: 600; font-size: 0.82rem; color: var(--ink); margin-top: 6px; }
.svc-card-arrow svg { width: 14px; height: 14px; transition: transform .15s ease; }
.svc-card:hover .svc-card-arrow { color: var(--accent-on-dark); }
.svc-card:hover .svc-card-arrow svg { transform: translateX(3px); }
@media (max-width: 1100px) { .svc-grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 820px) { .svc-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .svc-grid { grid-template-columns: 1fr; } }

/* ── reviews ── */
.reviews { padding: 100px 0; background: var(--bg); }
.reviews-top { display: flex; justify-content: space-between; align-items: flex-end; margin-bottom: 50px; gap: 30px; flex-wrap: wrap; }
.reviews-top h2 { font-size: clamp(1.9rem, 3.4vw, 2.7rem); max-width: 12ch; color: var(--ink); }
.rating-box { text-align: right; }
.rating-box .n { font-family: var(--font-display); font-weight: 800; font-size: 2.2rem; color: var(--accent-on-dark); }
.rating-box .l { font-family: var(--font-body); font-weight: 500; font-size: 0.76rem; color: var(--muted); margin-top: 4px; }
@media (max-width: 700px) { .rating-box { text-align: left; } }
.quote-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 56px 72px; align-items: start; }
@media (max-width: 900px) { .quote-grid { grid-template-columns: 1fr; gap: 36px; } }
.quote-big { font-family: var(--font-display); font-weight: 700; font-size: 1.4rem; letter-spacing: -0.01em; line-height: 1.3; }
.quote-small p { font-family: var(--font-body); font-weight: 400; font-size: 1rem; color: var(--muted); line-height: 1.5; }
.quote-author { font-family: var(--font-body); font-weight: 500; font-size: 0.76rem; color: var(--muted); margin-top: 20px; }
.quote-author b { color: var(--ink); font-weight: 700; }

/* ── partners ── */
.partners { padding: 64px 0; border-top: 1px solid var(--line-on-light); }
.partners-label { font-family: var(--font-body); font-weight: 600; font-size: 0.76rem; letter-spacing: 0.04em; text-transform: uppercase; color: var(--muted-on-light); margin-bottom: 28px; }
.partners-row { display: flex; flex-wrap: wrap; justify-content: center; gap: 40px; align-items: center; }
.partners-row svg, .partners-row img { height: calc(var(--h, 30) * 1px); width: auto; }
@media (max-width: 700px) { .partners-row { gap: 22px 26px; } .partners-row svg, .partners-row img { height: max(14px, calc(var(--h, 30) * 0.65px)); } }

/* ── process ── */
.process { padding: 100px 0; }
.process-head { margin-bottom: 50px; }
.process-head h2 { font-size: clamp(1.9rem, 3.4vw, 2.7rem); max-width: 14ch; }
.process-list { display: grid; grid-template-columns: repeat(3, 1fr); gap: 40px; }
@media (max-width: 800px) { .process-list { grid-template-columns: 1fr; } }
.process-step { border-top: 2px solid var(--accent-on-dark); padding-top: 18px; }
.process-num { font-family: var(--font-body); font-weight: 600; font-size: 0.78rem; color: var(--muted); margin-bottom: 12px; }
.process-step h3 { font-size: 1.15rem; margin-bottom: 10px; }
.process-step p { font-family: var(--font-body); font-size: 0.9rem; color: var(--muted); line-height: 1.55; }

/* ── faq ── */
.faq { padding: 100px 0; }
.faq-head { margin-bottom: 44px; }
.faq-head h2 { font-size: clamp(1.9rem, 3.4vw, 2.7rem); color: var(--ink-on-light); }
.faq-list { max-width: 760px; }
.faq-list details { border-top: 1px solid var(--line-on-light); padding: 22px 0; }
.faq-list details:last-child { border-bottom: 1px solid var(--line-on-light); }
.faq-list summary { font-family: var(--font-display); font-weight: 700; font-size: 1.02rem; cursor: pointer; list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 20px; }
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after { content: "+"; font-size: 1.3rem; color: var(--accent); flex-shrink: 0; transition: transform .2s ease; }
.faq-list details[open] summary::after { transform: rotate(45deg); }
.faq-body { font-family: var(--font-body); font-size: 0.92rem; color: var(--muted-on-light); line-height: 1.6; margin-top: 14px; max-width: 60ch; }

/* ── cta band ── */
.cta-band { background: var(--bg); padding: 90px 0; text-align: center; border-top: 1px solid var(--line); }
.cta-band h2 { color: var(--ink); font-size: clamp(1.9rem, 3.6vw, 2.8rem); max-width: 18ch; margin: 0 auto; }
.cta-band h2 + .btn { margin-top: 36px; }
.cta-band p { color: var(--muted); max-width: 50ch; margin: 20px auto 34px; font-size: 1.02rem; line-height: 1.5; }

/* ── footer ── */
footer { background: var(--bg); padding: 80px 0 36px; overflow: hidden; }
.foot-top { display: flex; justify-content: space-between; gap: 40px; padding-bottom: 60px; border-bottom: 1px solid var(--line); flex-wrap: wrap; }
.foot-col { max-width: 280px; }
.foot-col .foot-title { font-family: var(--font-body); font-weight: 600; font-size: 0.72rem; color: var(--muted); margin-bottom: 16px; letter-spacing: 0.06em; text-transform: uppercase; }
.foot-col a, .foot-col span { display: block; font-family: var(--font-body); font-size: 0.94rem; color: var(--ink); text-decoration: none; margin-bottom: 10px; }
.foot-col a:hover { color: var(--accent-on-dark); }
.foot-social { display: flex; gap: 10px; margin-top: 16px; }
.foot-social a { display: flex; align-items: center; justify-content: center; width: 34px; height: 34px; border-radius: 50%; border: 1px solid var(--line); color: var(--muted); transition: border-color .15s ease, color .15s ease; }
.foot-social a:hover { border-color: var(--ink); color: var(--ink); }
.foot-social svg { width: 15px; height: 15px; }
.foot-word { font-family: var(--font-display); font-weight: 800; font-size: clamp(3.4rem, 12vw, 9rem); letter-spacing: -0.03em; color: var(--ink); line-height: 0.85; margin: 54px -3px -16px; opacity: 0.97; white-space: nowrap; }
.foot-bottom { display: flex; justify-content: space-between; font-family: var(--font-body); font-size: 0.78rem; color: var(--muted); padding-top: 24px; flex-wrap: wrap; gap: 10px; }

/* ── dialog ── */
dialog { border: none; border-radius: 12px; padding: 0; max-width: 460px; width: calc(100% - 40px); background: #FFFFFF; color: var(--ink); }
dialog::backdrop { background: rgba(0,0,0,0.6); }
.dlg-inner { padding: 30px; }
.dlg-head { display: flex; justify-content: space-between; align-items: flex-start; margin-bottom: 6px; }
.dlg-head h2 { font-size: 1.2rem; }
.dlg-close { background: none; border: none; color: var(--muted); cursor: pointer; font-size: 1.4rem; line-height: 1; }
.dlg-head + p { color: var(--muted); font-size: 0.9rem; margin-bottom: 18px; }
.form-row { margin-bottom: 14px; }
.form-row label { display: block; font-size: 0.8rem; font-weight: 600; margin-bottom: 6px; color: var(--muted); }
.form-row input, .form-row textarea { width: 100%; padding: 11px 13px; border-radius: 6px; border: 1px solid var(--line); background: rgba(20,24,15,0.03); color: var(--ink); font-family: var(--font-body); font-size: 0.92rem; }
.form-row textarea { resize: vertical; min-height: 80px; }

/* ── reveal ── */
.reveal { opacity: 0; transform: translateY(16px); transition: opacity .6s ease, transform .6s ease; }
.reveal.is-visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; transform: none; transition: none; } }

/* divider between every pair of sections (all share one background) */
main > section + section:not(.cont), footer { border-top: 1px solid var(--line); }

/* terms & conditions */
.foot-bottom a { color: var(--muted); text-decoration: none; }
.foot-bottom a:hover { color: var(--ink); }


/* contact page */
.form-2col { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
@media (max-width: 520px) { .form-2col { grid-template-columns: 1fr; gap: 0; } }
.company-legal { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px 40px; margin-top: 64px; padding-top: 32px; border-top: 1px solid var(--line); }
.company-legal .l { display: block; font-family: var(--font-body); font-size: 0.78rem; text-transform: uppercase; letter-spacing: 0.06em; color: var(--muted-on-light); margin-bottom: 6px; }
.company-legal b { font-family: var(--font-display); font-weight: 700; font-size: 1.05rem; color: var(--ink); }
@media (max-width: 700px) { .company-legal { grid-template-columns: 1fr; } }

/* inline column overrides must still stack on phones */
@media (max-width: 800px) {
  .about-grid[style*="grid-template-columns"], .process-list[style*="grid-template-columns"] { grid-template-columns: 1fr !important; }
  .about-grid { gap: 36px; }
}

/* sacs-210 page */
.sx-h { font-size: clamp(1.9rem, 3.4vw, 2.7rem); max-width: 20ch; margin-bottom: 18px; color: var(--ink); }
.sx-lead { font-family: var(--font-body); font-size: 1rem; line-height: 1.7; color: var(--muted-on-light); max-width: 66ch; margin-bottom: 8px; }
.sx-foot, .sx-note { font-family: var(--font-body); font-size: 0.95rem; line-height: 1.7; color: var(--muted-on-light); max-width: 66ch; margin-top: 28px; }
.sx-note { padding-top: 20px; border-top: 1px solid var(--line); }
.sx-small { font-family: var(--font-body); font-size: 0.82rem; line-height: 1.6; color: var(--muted-on-light); margin-top: 28px; max-width: 70ch; }
.sx-stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 40px; }
.sx-stats .n, .sx-fn .n { font-family: var(--font-display); font-weight: 800; font-size: 2.6rem; letter-spacing: -0.02em; color: var(--accent); line-height: 1; }
.sx-stats .l { font-family: var(--font-body); font-weight: 500; font-size: 0.78rem; letter-spacing: 0.04em; color: var(--muted-on-light); margin-top: 8px; }
.sx-functions { display: grid; grid-template-columns: repeat(6, 1fr); gap: 28px; margin-top: 40px; }
.sx-fn { border-top: 2px solid var(--line); padding-top: 18px; }
.sx-fn.is-total { border-top-color: var(--accent); }
.sx-fn .t { font-family: var(--font-display); font-weight: 700; font-size: 1.05rem; margin: 12px 0 6px; color: var(--ink); }
.sx-fn .d { font-family: var(--font-body); font-size: 0.86rem; line-height: 1.5; color: var(--muted-on-light); }
.sx-list { margin: 22px 0 0; padding-left: 20px; color: var(--muted-on-light); font-size: 0.98rem; line-height: 1.75; }
.sx-list li { margin-bottom: 10px; }
.sx-classes { margin-top: 4px; }
.sx-class { border-top: 1px solid var(--line); padding: 18px 0; }
.sx-class:last-child { border-bottom: 1px solid var(--line); }
.sx-class h3 { font-size: 1.05rem; margin-bottom: 6px; color: var(--ink); }
.sx-class p { font-family: var(--font-body); font-size: 0.9rem; line-height: 1.55; color: var(--muted-on-light); }
.sx-req .process-num { letter-spacing: 0.04em; }
.sx-req .process-step p, .sx-inc .process-step p { color: var(--muted-on-light); }
.plans { display: grid; grid-template-columns: repeat(3, 1fr); gap: 48px; margin-top: 40px; }
.plan { border-top: 2px solid var(--line); padding-top: 18px; display: flex; flex-direction: column; }
.plan.is-rec { border-top-color: var(--accent); }
.plan-tag { font-family: var(--font-body); font-weight: 600; font-size: 0.72rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--accent); min-height: 1.2em; margin-bottom: 8px; }
.plan h3 { font-size: 1.5rem; color: var(--ink); margin-bottom: 14px; }
.plan-from { font-family: var(--font-body); font-size: 0.8rem; color: var(--muted-on-light); }
.plan-price { font-family: var(--font-display); font-weight: 800; font-size: 2.6rem; letter-spacing: -0.02em; color: var(--accent); line-height: 1.1; }
.plan-price span { font-size: 1rem; font-weight: 700; color: var(--muted-on-light); letter-spacing: 0; }
.plan-time { font-family: var(--font-body); font-weight: 600; font-size: 0.86rem; color: var(--ink); margin: 10px 0 18px; }
.plan ul { margin: 0 0 26px; padding-left: 18px; color: var(--muted-on-light); font-size: 0.92rem; line-height: 1.7; flex: 1; }
.plan .btn { align-self: flex-start; }
@media (max-width: 1000px) { .sx-functions { grid-template-columns: repeat(3, 1fr); } .sx-inc { grid-template-columns: 1fr 1fr !important; } .sx-stats { grid-template-columns: repeat(2, 1fr); gap: 28px; } }
@media (max-width: 800px) { .plans { grid-template-columns: 1fr; gap: 40px; } }
@media (max-width: 560px) { .sx-functions { grid-template-columns: repeat(2, 1fr); gap: 22px; } .sx-inc { grid-template-columns: 1fr !important; } }

.col-h { max-width: none; font-family: var(--font-display); font-weight: 700; font-size: 1.15rem; letter-spacing: -0.01em; color: var(--ink); margin-bottom: 18px; }

/* service pages: let the intro use the page width */
.about-copy-wide { max-width: 100ch; }
.about-copy-wide p { max-width: none; }

/* customers marquee */
.customers { padding: 80px 0 90px; overflow: hidden; }
.customers-h { font-size: clamp(1.6rem, 2.8vw, 2.2rem); margin-bottom: 44px; color: var(--ink); }
.marquee { overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.marquee-track { display: flex; align-items: center; gap: 88px; width: max-content; margin: 0; padding: 0 44px; list-style: none; animation: marquee-scroll 48s linear infinite; will-change: transform; }
@media (hover: hover) { .marquee:hover .marquee-track { animation-play-state: paused; } }
.marquee-track li { flex: 0 0 auto; display: flex; align-items: center; }
.marquee-track img { height: 52px; width: auto; display: block; }
@keyframes marquee-scroll { from { transform: translate3d(0, 0, 0); } to { transform: translate3d(-25%, 0, 0); } }
@media (max-width: 700px) { .customers { padding: 60px 0 70px; } .marquee-track { gap: 56px; } .marquee-track img { height: 40px; } }
@media (prefers-reduced-motion: reduce) {
  .marquee { -webkit-mask-image: none; mask-image: none; overflow-x: auto; -webkit-overflow-scrolling: touch; scrollbar-width: none; }
  .marquee::-webkit-scrollbar { display: none; }
  .marquee-track { animation: none; will-change: auto; }
  .marquee-track li:nth-child(n+13) { display: none; }
}

/* resources page */
.res-groups { margin-top: 56px; }
.res-group { display: grid; grid-template-columns: 0.8fr 1.6fr; gap: 56px; padding: 40px 0; border-top: 1px solid var(--line); }
.res-side h2 { font-size: 1.5rem; margin-bottom: 8px; color: var(--ink); }
.res-side p { font-family: var(--font-body); font-size: 0.92rem; line-height: 1.55; color: var(--muted-on-light); max-width: 30ch; }
.res-row { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding: 18px 0; border-top: 1px solid var(--line); text-decoration: none; color: inherit; transition: padding-left .2s ease; }
.res-row:first-child { border-top: none; padding-top: 0; }
.res-row:hover { padding-left: 8px; }
.res-name { font-family: var(--font-display); font-weight: 700; font-size: 1.1rem; color: var(--ink); }
.res-desc { font-family: var(--font-body); font-size: 0.9rem; line-height: 1.5; color: var(--muted-on-light); margin-top: 4px; }
.res-arrow { flex-shrink: 0; width: 20px; height: 20px; color: var(--accent); }
.res-arrow svg { width: 100%; height: 100%; display: block; }
@media (max-width: 800px) { .res-group { grid-template-columns: 1fr; gap: 22px; padding: 32px 0; } }

/* terms and conditions */
.legal-date { font-family: var(--font-body); font-size: 0.9rem; color: var(--muted-on-light); margin-top: 16px; }
.legal-layout { display: grid; grid-template-columns: 280px minmax(0, 1fr); gap: 56px; margin-top: 56px; align-items: start; }
.legal-toc { position: sticky; top: 100px; }
.legal-toc-title { font-family: var(--font-body); font-weight: 600; font-size: 0.78rem; letter-spacing: 0.06em; text-transform: uppercase; color: var(--muted-on-light); margin-bottom: 14px; }
.legal-toc ol { list-style: none; margin: 0; padding: 0; border-left: 1px solid var(--line); }
.legal-toc li a { display: block; white-space: nowrap; padding: 8px 0 8px 16px; margin-left: -1px; border-left: 2px solid transparent; font-family: var(--font-body); font-size: 0.92rem; line-height: 1.4; color: var(--muted-on-light); text-decoration: none; transition: color .15s ease, border-color .15s ease; }
.legal-toc li a:hover { color: var(--ink); border-left-color: var(--accent); }
.legal { max-width: 70ch; counter-reset: sec; }
.legal-sec { counter-increment: sec; padding-top: 8px; margin-bottom: 52px; scroll-margin-top: 100px; }
.legal-sec h2 { max-width: none; font-size: 1.45rem; letter-spacing: -0.01em; margin-bottom: 20px; color: var(--ink); }
.legal-sec h2::before { content: counter(sec) ". "; color: var(--accent); }
.legal-sec p, .legal-sec li, .legal-sec dd { font-family: var(--font-body); font-size: 1rem; line-height: 1.8; color: var(--muted-on-light); }
.legal-sec p { margin-bottom: 18px; }
.legal-sec ul, .legal-sec ol { margin: 0 0 18px; padding-left: 22px; }
.legal-sec li { margin-bottom: 8px; padding-left: 4px; }
.legal-sec ol.alpha { list-style: lower-alpha; }
.legal-sec dl { margin: 0; }
.legal-sec dl > div { display: grid; grid-template-columns: 170px minmax(0, 1fr); gap: 20px; padding: 14px 0; border-top: 1px solid var(--line); }
.legal-sec dl > div:last-child { border-bottom: 1px solid var(--line); }
.legal-sec dt { font-family: var(--font-display); font-weight: 700; font-size: 0.98rem; color: var(--ink); }
.legal-sec dd { margin: 0; }
.legal a { color: var(--accent); }
@media (max-width: 900px) {
  .legal-layout { grid-template-columns: 1fr; gap: 36px; margin-top: 40px; }
  .legal-toc { position: static; }
  .legal-toc ol { display: flex; flex-wrap: wrap; gap: 8px; border-left: none; }
  .legal-toc li a { white-space: normal; padding: 7px 14px; margin: 0; border: 1px solid var(--line); border-radius: 999px; font-size: 0.85rem; }
  .legal-sec dl > div { grid-template-columns: 1fr; gap: 4px; }
}

/* hero: since line */
.hero-since { display: flex; align-items: center; gap: 14px; margin-top: 44px; font-family: var(--font-display); font-weight: 700; font-size: 1rem; letter-spacing: 0.01em; color: var(--ink); }

/* about page documents */
.docs { padding: 80px 0; }
.docs .res-group { border-top: none; padding: 0; }

/* phone polish */
@media (max-width: 700px) {
  .hero-since { margin-top: 26px; }
  .marquee-track { gap: 44px; }
  .foot-top { gap: 28px; padding-bottom: 40px; }
  .foot-col a { padding: 7px 0; margin-bottom: 0; }
  .foot-col span { padding: 4px 0; margin-bottom: 0; }
  .foot-bottom a { padding: 6px 0; }
  .plan-tag { font-size: 0.75rem; }
}

/* case studies */
.cs-home { padding: 90px 0; }
.cs-home-grid { display: grid; grid-template-columns: 0.8fr 1.6fr; gap: 56px; align-items: start; }
.cs-home-grid h2 { font-size: clamp(1.9rem, 3.4vw, 2.7rem); color: var(--ink); max-width: 10ch; }
.cs-home-item { display: block; text-decoration: none; color: inherit; padding: 4px 0 8px; }
.cs-home-title { font-family: var(--font-display); font-weight: 800; font-size: clamp(1.4rem, 2.4vw, 1.9rem); letter-spacing: -0.01em; line-height: 1.2; color: var(--ink); max-width: 24ch; }
.cs-home-item p { font-family: var(--font-body); font-size: 1rem; line-height: 1.7; color: var(--muted-on-light); max-width: 56ch; margin: 16px 0 18px; }
.cs-home-link { font-family: var(--font-body); font-weight: 600; color: var(--accent); text-decoration: underline; }
.cs-home-item:hover .cs-home-title { color: var(--accent); }
.cs-kind { font-family: var(--font-body); font-weight: 600; font-size: 0.85rem; letter-spacing: 0.04em; color: var(--accent); margin-bottom: 14px; }
.cs-facts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; margin-top: 44px; max-width: 900px; }
.cs-facts > div { border-top: 2px solid var(--line); padding-top: 16px; }
.cs-facts .l { font-family: var(--font-body); font-size: 0.78rem; letter-spacing: 0.04em; text-transform: uppercase; color: var(--muted-on-light); margin-bottom: 6px; }
.cs-facts .v { font-family: var(--font-display); font-weight: 700; font-size: 1.1rem; line-height: 1.35; color: var(--ink); }
.cs-body { padding: 20px 0 10px; }
.cs-sec { display: grid; grid-template-columns: 0.8fr 1.6fr; gap: 56px; padding: 44px 0; }
.cs-sec h2 { font-size: 1.5rem; color: var(--ink); max-width: none; }
.cs-sec p { font-family: var(--font-body); font-size: 1.02rem; line-height: 1.8; color: var(--muted-on-light); max-width: 64ch; margin-bottom: 18px; }
.cs-result { padding: 30px 0 40px; }
.cs-result .cs-sec { padding-top: 40px; }
.cs-result p.cs-result-text { font-family: var(--font-display); font-weight: 700; font-size: clamp(1.4rem, 2.6vw, 2rem); line-height: 1.3; letter-spacing: -0.01em; color: var(--ink); max-width: 28ch; margin-bottom: 24px; }
@media (max-width: 900px) {
  .cs-home { padding: 60px 0; }
  .cs-home-grid, .cs-sec { grid-template-columns: 1fr; gap: 20px; }
  .cs-facts { grid-template-columns: 1fr; gap: 20px; }
  .cs-sec { padding: 32px 0; }
}

/* home numbers strip */
.numbers { padding: 70px 0; }
@media (max-width: 700px) { .numbers { padding: 48px 0; } }

/* case studies index */
.cs-home-all { display: inline-block; margin-top: 28px; font-family: var(--font-body); font-weight: 600; color: var(--ink); text-decoration: none; border-bottom: 2px solid var(--accent); padding-bottom: 2px; }
.cs-home-all:hover { color: var(--accent); }
.cs-back { display: inline-block; margin-bottom: 26px; font-family: var(--font-body); font-size: 0.92rem; color: var(--muted-on-light); text-decoration: none; }
.cs-back:hover { color: var(--accent); }
.cs-list { margin-top: 56px; border-bottom: 1px solid var(--line); }
.cs-row { display: grid; grid-template-columns: 1.4fr 1fr; gap: 56px; padding: 40px 0; border-top: 1px solid var(--line); text-decoration: none; color: inherit; align-items: start; }
.cs-row-title { font-family: var(--font-display); font-weight: 800; font-size: clamp(1.5rem, 2.6vw, 2.1rem); letter-spacing: -0.01em; line-height: 1.2; color: var(--ink); max-width: 22ch; }
.cs-row:hover .cs-row-title { color: var(--accent); }
.cs-row-main p { font-family: var(--font-body); font-size: 1rem; line-height: 1.7; color: var(--muted-on-light); max-width: 58ch; margin: 14px 0 18px; }
.cs-row-facts { display: grid; gap: 18px; }
.cs-row-facts > div { border-top: 2px solid var(--line); padding-top: 12px; }
.cs-row-facts .l { font-family: var(--font-body); font-size: 0.78rem; letter-spacing: 0.04em; text-transform: uppercase; color: var(--muted-on-light); margin-bottom: 4px; }
.cs-row-facts .v { font-family: var(--font-display); font-weight: 700; font-size: 1rem; line-height: 1.35; color: var(--ink); }
@media (max-width: 900px) { .cs-row { grid-template-columns: 1fr; gap: 24px; padding: 32px 0; } .cs-list { margin-top: 40px; } }

/* hero carousel */
.hero-carousel { display: block; padding: 0; min-height: 0; }
.hero-slides { display: grid; }
.hero-slide { grid-area: 1 / 1; position: relative; display: flex; align-items: center; padding: 130px 0 100px; min-height: calc(100vh - 68px); min-height: calc(100svh - 68px); overflow: hidden; opacity: 0; visibility: hidden; transition: opacity .9s ease, visibility 0s linear .9s; }
@media (max-width: 920px) { .hero-slide { min-height: calc(100vh - 76px); min-height: calc(100svh - 76px); } }
.hero-slide.is-active { opacity: 1; visibility: visible; transition: opacity .9s ease, visibility 0s; }
.hero-slide > .wrap { position: relative; z-index: 1; width: 100%; }
.hero-slide.is-pending .hero-bg { background-image: none !important; }
.hero-controls { position: absolute; left: 0; right: 0; bottom: 28px; z-index: 3; }
.hero-controls-inner { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.hero-controls-left { display: flex; align-items: center; gap: 14px; background: rgba(255,255,255,0.82); padding: 5px 16px 5px 5px; border-radius: 999px; box-shadow: 0 2px 14px rgba(20,24,15,0.12); }
.hero-pause, .hero-arrow { width: 38px; height: 38px; border-radius: 50%; border: 1px solid rgba(20,24,15,0.35); background: rgba(255,255,255,0.88); color: var(--ink); display: inline-flex; align-items: center; justify-content: center; cursor: pointer; padding: 0; transition: background .15s ease, border-color .15s ease; }
.hero-pause:hover, .hero-arrow:hover { background: #fff; border-color: var(--ink); }
.hero-pause svg, .hero-arrow svg { width: 16px; height: 16px; }
.hero-pause .ic-play { display: none; }
.hero-carousel.is-paused .hero-pause .ic-pause { display: none; }
.hero-carousel.is-paused .hero-pause .ic-play { display: block; }
.hero-arrows { display: flex; gap: 10px; }
.hero-dots { display: flex; align-items: center; gap: 10px; }
.hero-dot { position: relative; width: 10px; height: 10px; padding: 0; border: 0; border-radius: 999px; background: rgba(20,24,15,0.35); cursor: pointer; overflow: hidden; transition: width .3s ease, background .2s ease; }
.hero-dot:hover { background: rgba(20,24,15,0.55); }
.hero-dot[aria-current="true"] { width: 38px; background: rgba(20,24,15,0.25); }
.hero-dot[aria-current="true"]::after { content: ""; position: absolute; inset: 0; background: var(--accent); transform-origin: left center; transform: scaleX(0); animation: heroProgress var(--hero-dur, 7s) linear forwards; }
.hero-carousel.is-paused .hero-dot[aria-current="true"]::after { animation-play-state: paused; }
@keyframes heroProgress { to { transform: scaleX(1); } }
.hero-pause:focus-visible, .hero-arrow:focus-visible, .hero-dot:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }
@media (max-width: 700px) {
  .hero-slide { padding: 120px 0 96px; }
  .hero-arrows { display: none; }
  .hero-controls { bottom: 20px; }
}
@media (prefers-reduced-motion: reduce) {
  .hero-slide, .hero-slide.is-active { transition: none; }
  .hero-dot[aria-current="true"]::after { animation: none; transform: scaleX(1); }
  .hero-pause { display: none; }
}

/* hero: arrows only */
.hero-controls-inner { justify-content: flex-end; }
@media (max-width: 700px) { .hero-controls { display: none; } }

/* document previews */
.docs-head h2 { font-size: clamp(1.6rem, 2.8vw, 2.2rem); color: var(--ink); max-width: none; }
.docs-head p { font-family: var(--font-body); font-size: 1rem; line-height: 1.6; color: var(--muted-on-light); margin-top: 10px; max-width: 60ch; }
.docs-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 40px; margin-top: 40px; align-items: start; }
.doc { display: flex; flex-direction: column; }
.doc-preview { display: flex; align-items: center; justify-content: center; height: 420px; padding: 24px; background: #F3F5F0; border-radius: 12px; overflow: hidden; }
.doc-preview img { max-width: 100%; max-height: 100%; width: auto; height: auto; display: block; box-shadow: 0 10px 30px -12px rgba(20,24,15,0.35); transition: transform .3s ease; }
.doc-preview:hover img { transform: scale(1.02); }
.doc-name { font-family: var(--font-display); font-weight: 700; font-size: 1.1rem; color: var(--ink); margin-top: 18px; }
.doc-desc { font-family: var(--font-body); font-size: 0.9rem; line-height: 1.5; color: var(--muted-on-light); margin: 4px 0 16px; }
.doc-btn { align-self: flex-start; display: inline-flex; align-items: center; gap: 10px; }
.doc-ic { width: 16px; height: 16px; display: inline-flex; }
.doc-ic svg { width: 100%; height: 100%; }
@media (max-width: 900px) { .docs-grid { grid-template-columns: 1fr; gap: 36px; } .doc-preview { height: 380px; } }

/* data sheet block */
.ds { display: flex; align-items: center; gap: 32px; }
.ds-preview { flex-shrink: 0; width: 170px; padding: 14px; background: #F3F5F0; border-radius: 10px; display: block; }
.ds-preview img { width: 100%; height: auto; display: block; box-shadow: 0 8px 22px -10px rgba(20,24,15,0.35); }
.ds-text p { font-family: var(--font-body); font-size: 0.96rem; line-height: 1.7; color: var(--muted-on-light); max-width: 52ch; margin-bottom: 16px; }
.ds-size { font-family: var(--font-body); font-size: 0.8rem; color: var(--muted-on-light); margin-top: 10px; }
@media (max-width: 600px) { .ds { flex-direction: column; align-items: flex-start; gap: 20px; } .ds-preview { width: 150px; } }

/* hero: centred dots */
.hero-controls-inner { justify-content: center; }
.hero-controls { bottom: 30px; }
.hero-dots { display: flex; align-items: center; gap: 12px; }
.hero-dot { width: 11px; height: 11px; padding: 0; border: 2px solid #fff; border-radius: 999px; background: rgba(20,24,15,0.4); box-shadow: 0 0 0 1px rgba(20,24,15,0.15); cursor: pointer; transition: width .3s ease, background .2s ease; }
.hero-dot:hover { background: rgba(20,24,15,0.7); }
.hero-dot[aria-current="true"] { width: 30px; background: var(--accent); }
.hero-dot[aria-current="true"]::after { display: none; }
@media (max-width: 700px) { .hero-controls { display: block; bottom: 22px; } }

/* hero dots: quieter */
.hero-dots { gap: 10px; }
.hero-dot { position: relative; width: 8px; height: 8px; border: 0; box-shadow: none; background: rgba(20,24,15,0.22); }
.hero-dot::before { content: ""; position: absolute; inset: -10px -5px; }
.hero-dot:hover { background: rgba(20,24,15,0.45); }
.hero-dot[aria-current="true"] { width: 20px; background: rgba(2,84,48,0.7); }
.hero-controls { bottom: 24px; }
@media (max-width: 700px) { .hero-controls { bottom: 18px; } }

/* ai readiness */
.ai-ready { padding: 90px 0; }
.ai-lead { font-family: var(--font-body); font-size: 1.08rem; line-height: 1.75; color: var(--muted-on-light); max-width: 60ch; margin-bottom: 36px; }
.ai-list { display: grid; }
.ai-item { display: block; text-decoration: none; color: inherit; padding: 26px 0; border-top: 1px solid var(--line-on-light); }
.ai-item p { font-family: var(--font-body); font-size: 1rem; line-height: 1.7; color: var(--muted-on-light); max-width: 56ch; margin: 10px 0 0; }
.ai-item:hover .cs-home-title { color: var(--accent); }
@media (max-width: 900px) { .ai-ready { padding: 60px 0; } .ai-item { padding: 22px 0; } }
