:root {
  --ink: #0a1220;
  --ink-soft: #121d2e;
  --ink-raised: #192638;
  --paper: #f4f1ea;
  --paper-bright: #fffdf8;
  --paper-muted: #e8e3d8;
  --gold-deep: #bd934b;
  --gold: #dfbb73;
  --gold-light: #f2d18a;
  --text: #132033;
  --muted: #626b7a;
  --line: rgba(10, 18, 32, 0.16);
  --line-dark: rgba(255, 255, 255, 0.17);
  --danger: #ffb0a7;
  --success: #b8e7d1;
  --radius-small: 0.35rem;
  --radius: 1rem;
  --shell: min(1240px, calc(100vw - 48px));
  --font-sans: Inter, "Avenir Next", Avenir, "Helvetica Neue", Arial, sans-serif;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; background: var(--ink); }
body { margin: 0; color: var(--text); background: var(--paper); font-family: var(--font-sans); font-size: 1rem; line-height: 1.6; -webkit-font-smoothing: antialiased; }
body.menu-open { overflow: hidden; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
button, input, textarea, select { font: inherit; }
button { color: inherit; }
::selection { color: var(--ink); background: var(--gold-light); }

.shell { width: var(--shell); margin-inline: auto; }
.section { padding: clamp(5.5rem, 9vw, 9rem) 0; }
.section-dark { color: var(--paper-bright); background: var(--ink); }

.skip-link { position: fixed; z-index: 1000; top: 1rem; left: 1rem; padding: 0.75rem 1rem; color: var(--ink); background: var(--gold-light); transform: translateY(-180%); transition: transform 150ms ease; }
.skip-link:focus { transform: translateY(0); }

:focus-visible { outline: 3px solid var(--gold-light); outline-offset: 4px; }

.site-header { position: absolute; z-index: 50; top: 0; left: 0; width: 100%; color: var(--paper-bright); background: linear-gradient(180deg, rgba(7, 14, 25, 0.9), rgba(7, 14, 25, 0)); }
.header-inner { min-height: 6.6rem; display: flex; align-items: center; justify-content: space-between; gap: 2rem; }
.brand { position: relative; z-index: 2; display: inline-flex; flex: 0 0 auto; align-items: center; }
.brand img { width: clamp(9.8rem, 14vw, 12rem); height: auto; }
.site-nav { display: flex; align-items: center; gap: clamp(1rem, 2.2vw, 2rem); }
.site-nav > a:not(.button) { position: relative; color: rgba(255, 255, 255, 0.82); text-decoration: none; font-size: 0.86rem; font-weight: 650; letter-spacing: 0.01em; }
.site-nav > a:not(.button)::after { content: ""; position: absolute; right: 0; bottom: -0.45rem; left: 0; height: 1px; background: var(--gold-light); transform: scaleX(0); transform-origin: right; transition: transform 250ms var(--ease); }
.site-nav > a:not(.button):hover::after, .site-nav > a[aria-current="page"]::after { transform: scaleX(1); transform-origin: left; }
.language-current { color: rgba(255,255,255,0.72); font-size: 0.78rem; font-weight: 760; letter-spacing: 0.08em; }
.menu-toggle { display: none; border: 0; background: none; }

.button { display: inline-flex; min-height: 3.5rem; align-items: center; justify-content: center; gap: 0.75rem; padding: 0.85rem 1.35rem; border: 1px solid var(--gold-light); border-radius: var(--radius-small); color: var(--ink); background: linear-gradient(100deg, var(--gold-deep), var(--gold-light) 52%, var(--gold)); text-decoration: none; font-size: 0.88rem; font-weight: 760; letter-spacing: 0.015em; box-shadow: 0 0 0 rgba(242, 209, 138, 0); cursor: pointer; transition: transform 220ms var(--ease), box-shadow 220ms ease, filter 220ms ease; }
.button:hover { transform: translateY(-2px); box-shadow: 0 12px 30px rgba(189, 147, 75, 0.2); filter: brightness(1.05); }
.button:disabled { cursor: wait; opacity: 0.65; transform: none; box-shadow: none; }
.button-small { min-height: 2.8rem; padding: 0.55rem 1rem; }
.button-wide { width: 100%; }
.text-link { display: inline-flex; align-items: center; gap: 0.65rem; padding: 0.5rem 0; color: var(--ink); text-decoration: none; font-size: 0.92rem; font-weight: 730; border-bottom: 1px solid rgba(10, 18, 32, 0.35); transition: gap 200ms ease, border-color 200ms ease; }
.text-link:hover { gap: 0.9rem; border-color: var(--gold-deep); }
.text-link.light { color: var(--paper-bright); border-color: rgba(255, 255, 255, 0.35); }
.button-row { display: flex; flex-wrap: wrap; align-items: center; gap: 1.3rem 1.75rem; }

.eyebrow { display: flex; align-items: center; gap: 0.7rem; margin: 0 0 1.4rem; color: var(--gold-light); text-transform: uppercase; font-size: 0.72rem; font-weight: 780; letter-spacing: 0.16em; }
.eyebrow span { width: 2.25rem; height: 1px; background: currentColor; }
.eyebrow.dark { color: #8d682c; }
.overline { margin: 0 0 0.8rem; color: var(--gold-light); text-transform: uppercase; font-size: 0.72rem; font-weight: 760; letter-spacing: 0.14em; }

.hero { position: relative; min-height: 760px; overflow: hidden; color: var(--paper-bright); background: var(--ink); }
.hero::before { content: ""; position: absolute; inset: 0; pointer-events: none; background: radial-gradient(circle at 74% 37%, rgba(223, 187, 115, 0.15), transparent 28%), linear-gradient(90deg, rgba(255,255,255,0.035) 1px, transparent 1px); background-size: auto, 80px 100%; opacity: 0.48; }
.hero-grid { position: relative; min-height: 760px; display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(480px, 1.1fr); align-items: center; gap: clamp(3rem, 6vw, 7rem); padding-top: 7.2rem; padding-bottom: 4.5rem; }
.hero-copy { position: relative; z-index: 2; }
.hero h1, .solution-hero h1 { max-width: 820px; margin: 0 0 1.5rem; font-size: clamp(3rem, 6.2vw, 6rem); font-weight: 610; line-height: 0.98; letter-spacing: -0.055em; text-wrap: balance; }
.hero-lead { max-width: 670px; margin: 0 0 2rem; color: rgba(255,255,255,0.73); font-size: clamp(1.08rem, 1.6vw, 1.35rem); line-height: 1.55; }
.brand-context { max-width: 590px; margin: 2.5rem 0 0; padding-top: 1.25rem; color: rgba(255,255,255,0.54); border-top: 1px solid var(--line-dark); font-size: 0.82rem; }
.brand-context strong { color: rgba(255,255,255,0.78); }
.hero-visual { position: relative; min-height: 590px; }
.hero-photo-wrap { position: absolute; inset: 1.5rem 0 1.5rem 7%; overflow: hidden; border-radius: 52% 0 0 0 / 36% 0 0 0; }
.hero-photo-wrap::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(10,18,32,0.66), transparent 38%), linear-gradient(0deg, rgba(10,18,32,0.7), transparent 45%); }
.hero-photo { width: 100%; height: 100%; object-fit: cover; object-position: 36% center; filter: saturate(0.82) contrast(1.05); }
.app-device { position: absolute; right: -7%; bottom: -2%; width: min(60%, 360px); padding: 0.4rem; overflow: hidden; border: 1px solid rgba(242,209,138,0.48); border-radius: 1rem; background: #05080e; box-shadow: -30px 34px 70px rgba(0,0,0,0.45); transform: rotate(2deg); }
.app-device img { width: 100%; aspect-ratio: 1.27; object-fit: cover; }
.hero-proof { position: absolute; left: 0; bottom: 8%; display: grid; grid-template-columns: auto 1fr; gap: 1rem; align-items: start; width: min(58%, 290px); padding: 1.2rem; color: var(--ink); background: var(--gold-light); box-shadow: 0 24px 45px rgba(0,0,0,0.22); }
.hero-proof span { font-size: 0.68rem; font-weight: 800; }
.hero-proof p { margin: 0; font-size: 0.84rem; font-weight: 720; line-height: 1.5; }

.section-heading { max-width: 740px; }
.section-heading h2 { margin: 0 0 1.5rem; font-size: clamp(2.4rem, 4.8vw, 4.7rem); font-weight: 600; line-height: 1.04; letter-spacing: -0.045em; text-wrap: balance; }
.section-heading > p:not(.eyebrow), .section-heading-wide > p { max-width: 650px; margin: 0; color: var(--muted); font-size: 1.1rem; }
.section-dark .section-heading > p:not(.eyebrow), .section-dark .section-heading-wide > p { color: rgba(255,255,255,0.62); }
.section-heading-wide { max-width: none; display: grid; grid-template-columns: minmax(0, 1.45fr) minmax(280px, 0.55fr); gap: clamp(3rem, 9vw, 9rem); align-items: end; }
.section-heading-wide h2 { margin-bottom: 0; }

.audience { background: var(--paper-bright); }
.sector-list { margin-top: 4.5rem; border-top: 1px solid var(--line); }
.sector { display: grid; grid-template-columns: 50px 1fr auto; gap: 1.5rem; align-items: center; min-height: 7.2rem; padding: 1.1rem 1.25rem; border-bottom: 1px solid var(--line); text-decoration: none; transition: color 240ms ease, background 240ms ease, padding 240ms var(--ease); }
.sector:hover, .sector.active:hover { padding-left: 1.75rem; color: var(--paper-bright); background: var(--ink-soft); }
.sector.active { background: rgba(223,187,115,0.13); }
.sector-number { color: var(--gold-deep); font-size: 0.72rem; font-weight: 780; }
.sector strong { display: block; font-size: clamp(1.35rem, 2.2vw, 2rem); font-weight: 620; letter-spacing: -0.025em; }
.sector small { display: block; margin-top: 0.25rem; color: var(--muted); font-size: 0.85rem; }
.sector:hover small { color: rgba(255,255,255,0.58); }
.sector-arrow { font-size: 1.55rem; }

.solutions { position: relative; overflow: hidden; }
.solutions::after { content: "M"; position: absolute; top: 4%; right: -2%; color: rgba(255,255,255,0.025); font-size: min(46vw, 650px); font-weight: 800; line-height: 1; pointer-events: none; }
.solutions-stage { position: relative; z-index: 1; margin-top: 4.5rem; display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(330px, 0.75fr); gap: clamp(2rem, 5vw, 5rem); }
.solution-feature { display: grid; grid-template-columns: 0.92fr 1.08fr; min-height: 560px; background: var(--paper-bright); color: var(--text); }
.solution-photo { position: relative; min-height: 410px; overflow: hidden; }
.solution-photo::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 55%, rgba(10,18,32,0.7)); }
.solution-photo img { width: 100%; height: 100%; object-fit: cover; object-position: 24% center; }
.image-label { position: absolute; z-index: 1; right: 1rem; bottom: 1rem; left: 1rem; color: #fff; text-transform: uppercase; font-size: 0.7rem; font-weight: 760; letter-spacing: 0.16em; }
.solution-feature-copy { align-self: center; padding: clamp(2rem, 4vw, 4.5rem); }
.solution-feature h3 { margin: 0 0 1.2rem; font-size: clamp(2rem, 3.2vw, 3.4rem); font-weight: 610; line-height: 1.03; letter-spacing: -0.045em; }
.solution-feature-copy > p:not(.overline) { margin: 0 0 1.8rem; color: var(--muted); }
.solution-index { display: flex; flex-direction: column; justify-content: center; border-top: 1px solid var(--line-dark); }
.solution-index > button { display: grid; grid-template-columns: 34px 1fr; width: 100%; gap: 0.8rem; padding: 1.2rem 0; border: 0; border-bottom: 1px solid var(--line-dark); color: inherit; background: transparent; text-align: left; cursor: pointer; transition: color 180ms ease, background 180ms ease, padding 180ms ease, box-shadow 180ms ease; }
.solution-index > button:hover { background: rgba(255,255,255,0.035); }
.solution-index > button[aria-selected="true"] { padding-inline: 1rem; color: var(--paper-bright); background: rgba(223,187,115,0.09); box-shadow: inset 3px 0 0 var(--gold-light); }
.solution-index > button:focus-visible { outline: 2px solid var(--gold-light); outline-offset: -2px; }
.solution-index span { grid-row: span 2; color: var(--gold-light); font-size: 0.68rem; font-weight: 760; }
.solution-index strong { font-size: 1.04rem; }
.solution-index small { color: rgba(255,255,255,0.53); font-size: 0.82rem; }
.solution-index > button[aria-selected="true"] small { color: rgba(255,255,255,0.74); }

.outcomes { background: var(--paper); }
.outcomes-grid { display: grid; grid-template-columns: minmax(0, 0.7fr) minmax(0, 1.3fr); gap: clamp(4rem, 10vw, 10rem); }
.outcome-list { border-top: 1px solid var(--line); }
.outcome-list article { display: grid; grid-template-columns: 56px 1fr; gap: 1.2rem; padding: 2.3rem 0; border-bottom: 1px solid var(--line); }
.outcome-list article > span { color: var(--gold-deep); font-size: 0.72rem; font-weight: 780; }
.outcome-list h3 { margin: 0 0 0.5rem; font-size: clamp(1.25rem, 2vw, 1.7rem); font-weight: 650; letter-spacing: -0.025em; }
.outcome-list p { margin: 0; color: var(--muted); }

.proof { color: var(--ink); background: var(--gold-light); }
.proof-card { display: grid; grid-template-columns: 0.32fr 1fr; gap: 3rem 7rem; }
.proof-kicker img { width: 4.3rem; margin-bottom: 2rem; }
.proof-kicker p { max-width: 190px; margin: 0; text-transform: uppercase; font-size: 0.7rem; font-weight: 780; line-height: 1.5; letter-spacing: 0.14em; }
.proof blockquote { margin: 0; }
.proof blockquote > p { margin: 0 0 2.3rem; font-size: clamp(2rem, 4.1vw, 4.1rem); font-weight: 530; line-height: 1.14; letter-spacing: -0.038em; text-wrap: balance; }
.proof blockquote footer { display: flex; flex-wrap: wrap; gap: 0.35rem 1rem; align-items: center; }
.proof blockquote footer span { color: rgba(10,18,32,0.68); }
.historical-note { grid-column: 2; max-width: 780px; margin: 0; padding-top: 1.5rem; border-top: 1px solid rgba(10,18,32,0.3); font-size: 0.78rem; }
.reference-names { grid-column: 2; display: flex; flex-wrap: wrap; gap: 0.75rem; }
.reference-names span { padding: 0.55rem 0.85rem; border: 1px solid rgba(10,18,32,0.3); font-size: 0.74rem; font-weight: 730; }
.proof .text-link { grid-column: 2; justify-self: start; }

.approach { color: var(--ink); background: var(--gold-light); }
.approach .section-heading-wide > p { color: rgba(10,18,32,0.68); }
.process { margin: 4.5rem 0 0; padding: 0; list-style: none; display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--line); border-left: 1px solid var(--line); background: var(--paper-bright); box-shadow: 0 28px 70px rgba(47, 34, 12, 0.12); }
.process li { min-height: 330px; display: flex; flex-direction: column; justify-content: space-between; padding: 1.6rem; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.process li > span { color: var(--gold-deep); font-size: 0.72rem; font-weight: 780; }
.process h3 { margin: 0 0 0.9rem; font-size: 1.35rem; line-height: 1.2; }
.process p { margin: 0; color: var(--muted); font-size: 0.9rem; }

.contact { position: relative; overflow: hidden; }
.contact::before { content: ""; position: absolute; inset: 0; background: radial-gradient(circle at 12% 52%, rgba(223,187,115,0.12), transparent 30%); pointer-events: none; }
.contact-grid { position: relative; display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(390px, 0.7fr); gap: clamp(4rem, 11vw, 11rem); }
.contact-copy h2 { margin: 0 0 1.5rem; font-size: clamp(2.7rem, 5.7vw, 5.5rem); font-weight: 590; line-height: 0.98; letter-spacing: -0.052em; }
.contact-copy > p:not(.eyebrow) { max-width: 590px; margin: 0 0 2rem; color: rgba(255,255,255,0.63); font-size: 1.08rem; }
.direct-contact { display: flex; flex-wrap: wrap; gap: 0.5rem 1.5rem; margin-top: 2.4rem; }
.direct-contact a { color: rgba(255,255,255,0.68); text-underline-offset: 0.25rem; }
.contact-form { padding: clamp(1.8rem, 3.5vw, 3.25rem); color: var(--text); background: var(--paper-bright); }
.form-honeypot { position: absolute !important; left: -10000px !important; width: 1px !important; height: 1px !important; overflow: hidden !important; }
.form-heading { margin-bottom: 2rem; }
.form-heading h3 { margin: 0 0 0.3rem; font-size: 1.75rem; }
.form-heading p { margin: 0; color: var(--muted); font-size: 0.82rem; }
.contact-form label { display: block; margin-bottom: 1.2rem; font-size: 0.75rem; font-weight: 740; }
.contact-form input, .contact-form textarea, .contact-form select { width: 100%; margin-top: 0.45rem; padding: 0.8rem 0.2rem; border: 0; border-bottom: 1px solid rgba(10,18,32,0.35); border-radius: 0; color: var(--text); background: transparent; outline: 0; resize: vertical; }
.contact-form select { appearance: none; cursor: pointer; background-image: linear-gradient(45deg, transparent 50%, var(--gold-deep) 50%), linear-gradient(135deg, var(--gold-deep) 50%, transparent 50%); background-position: calc(100% - 14px) 50%, calc(100% - 8px) 50%; background-size: 6px 6px, 6px 6px; background-repeat: no-repeat; }
.contact-form input:focus, .contact-form textarea:focus, .contact-form select:focus { border-bottom-color: var(--gold-deep); box-shadow: 0 2px 0 var(--gold-deep); }
.form-privacy { margin: 0 0 1.2rem; color: var(--muted); font-size: 0.7rem; line-height: 1.5; }
.form-privacy a { color: inherit; text-decoration: underline; text-decoration-color: var(--gold-deep); text-underline-offset: 0.18em; }
.form-status { margin: 1rem 0 0; padding: 0.85rem; font-size: 0.78rem; line-height: 1.45; }
.form-status.is-error { color: #671b13; background: #ffe0dc; }
.form-status.is-info { color: #174b3b; background: #dff4ea; }

.site-footer { padding: 5rem 0 1.5rem; color: rgba(255,255,255,0.67); background: #050a12; }
.footer-grid { display: grid; grid-template-columns: 1.5fr 1.5fr 1fr; gap: clamp(2rem, 6vw, 6rem); }
.footer-brand img { width: 10.5rem; margin-bottom: 1.5rem; }
.footer-brand p { max-width: 270px; margin: 0; color: rgba(255,255,255,0.48); }
.footer-grid h2 { margin: 0 0 1.2rem; color: var(--paper-bright); text-transform: uppercase; font-size: 0.68rem; letter-spacing: 0.14em; }
.footer-menu-columns { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.5rem 2.5rem; }
.footer-grid a { display: block; width: fit-content; margin: 0.5rem 0; color: rgba(255,255,255,0.67); text-decoration-color: transparent; text-underline-offset: 0.25rem; }
.footer-grid a:hover { color: var(--gold-light); text-decoration-color: currentColor; }
.footer-grid p { font-size: 0.83rem; }
.footer-bottom { display: flex; justify-content: space-between; gap: 2rem; margin-top: 4.5rem; padding-top: 1.25rem; border-top: 1px solid rgba(255,255,255,0.12); font-size: 0.72rem; }
.footer-bottom p { margin: 0; }
.footer-bottom a { color: inherit; text-underline-offset: 0.2rem; }

/* V2 sales narrative */
.hero-v2 .hero-proof { width: min(66%, 340px); }
.hero-v2 .hero-proof strong { display: inline-block; margin-bottom: 0.1rem; font-size: 1.1rem; line-height: 1.1; }

.client-proof { color: var(--ink); background: var(--gold-light); }
.client-proof-grid { display: grid; grid-template-columns: minmax(0, 0.72fr) minmax(460px, 1.28fr); gap: clamp(3rem, 8vw, 8rem); align-items: start; }
.client-proof-intro h2 { margin: 0 0 1.5rem; font-size: clamp(2.5rem, 4.8vw, 4.8rem); font-weight: 580; line-height: 1.03; letter-spacing: -0.045em; text-wrap: balance; }
.client-proof-intro > p:not(.eyebrow) { max-width: 560px; margin: 0 0 2rem; color: rgba(10,18,32,0.68); font-size: 1.08rem; }
.case-feature { padding: clamp(2rem, 4vw, 4rem); background: var(--paper-bright); box-shadow: 0 28px 70px rgba(47, 34, 12, 0.12); }
.case-feature-topline { display: flex; justify-content: space-between; gap: 1rem; margin-bottom: 3.5rem; padding-bottom: 1rem; border-bottom: 1px solid var(--line); text-transform: uppercase; font-size: 0.68rem; font-weight: 760; letter-spacing: 0.13em; }
.case-feature-topline span { color: var(--muted); }
.case-feature blockquote { margin: 0; }
.case-feature blockquote p { margin: 0 0 1.4rem; font-size: clamp(1.25rem, 2.1vw, 2rem); font-weight: 560; line-height: 1.27; letter-spacing: -0.025em; text-wrap: balance; }
.case-feature blockquote p:last-child { margin-bottom: 0; }
.case-feature blockquote strong { font-weight: 800; }
.case-outcomes { display: flex; flex-wrap: wrap; gap: 0.55rem; }
.case-outcomes span { padding: 0.55rem 0.75rem; border: 1px solid var(--line); color: var(--muted); font-size: 0.72rem; font-weight: 690; }
.case-feature .historical-note { margin-top: 2rem; color: var(--muted); }
.proof-metrics { display: grid; grid-template-columns: repeat(3, 1fr); margin-top: clamp(4rem, 8vw, 7rem); border-top: 1px solid rgba(10,18,32,0.3); border-left: 1px solid rgba(10,18,32,0.3); }
.proof-metrics article { min-height: 190px; display: flex; flex-direction: column; justify-content: space-between; padding: 1.5rem; border-right: 1px solid rgba(10,18,32,0.3); border-bottom: 1px solid rgba(10,18,32,0.3); }
.proof-metrics strong { font-size: clamp(2.7rem, 5vw, 5rem); font-weight: 570; line-height: 1; letter-spacing: -0.05em; }
.proof-metrics span { max-width: 220px; color: rgba(10,18,32,0.67); font-size: 0.83rem; font-weight: 680; line-height: 1.45; }
.section-cta { position: relative; z-index: 1; display: flex; justify-content: space-between; gap: 2rem; align-items: center; margin-top: 3.5rem; padding-top: 1.5rem; border-top: 1px solid var(--line-dark); }
.section-cta p { margin: 0; color: rgba(255,255,255,0.62); }

.erp-section { background: var(--paper-bright); }
.erp-grid { display: grid; grid-template-columns: minmax(0, 0.85fr) minmax(440px, 0.8fr); gap: clamp(4rem, 10vw, 10rem); align-items: center; }
.erp-copy h2 { margin: 0 0 1.5rem; font-size: clamp(2.5rem, 4.8vw, 4.8rem); font-weight: 590; line-height: 1.03; letter-spacing: -0.047em; text-wrap: balance; }
.erp-copy > p:not(.eyebrow):not(.compatibility-note) { margin: 0 0 2rem; color: var(--muted); font-size: 1.08rem; }
.erp-tags { display: flex; flex-wrap: wrap; gap: 0.65rem; margin: 2rem 0; }
.erp-tags span { padding: 0.65rem 0.85rem; border: 1px solid var(--line); background: var(--paper); font-size: 0.75rem; font-weight: 750; }
.erp-copy .compatibility-note { color: var(--muted); }
.erp-copy .text-link { margin-top: 1rem; }
.erp-visual { min-height: 560px; }
.erp-visual .system-node:not(.primary) { width: 118px; height: 118px; padding: 0.75rem; text-align: center; line-height: 1.25; }
.erp-visual .system-connectors { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; }
.erp-visual .system-connectors line { stroke: var(--gold-deep); stroke-width: 1; vector-effect: non-scaling-stroke; }
.erp-visual .node-one { top: 12%; left: 50%; transform: translate(-50%,-50%); }
.erp-visual .node-two { top: 30%; left: 85%; transform: translate(-50%,-50%); }
.erp-visual .node-three { top: 78%; left: 80%; transform: translate(-50%,-50%); }
.erp-visual .node-four { top: 88%; left: 50%; transform: translate(-50%,-50%); }
.erp-visual .node-five { top: 78%; left: 20%; transform: translate(-50%,-50%); }
.erp-visual .node-six { top: 30%; left: 15%; transform: translate(-50%,-50%); }

.provider { position: relative; overflow: hidden; color: var(--paper-bright); background: var(--ink-soft); }
.provider::before { content: ""; position: absolute; inset: 0; pointer-events: none; background: radial-gradient(circle at 18% 48%, rgba(223,187,115,0.15), transparent 32%), linear-gradient(90deg, rgba(255,255,255,0.025) 1px, transparent 1px); background-size: auto, 72px 100%; }
.provider-grid { position: relative; display: grid; grid-template-columns: minmax(0, 0.82fr) minmax(440px, 0.78fr); gap: clamp(4rem, 11vw, 11rem); align-items: center; }
.provider-copy h2 { margin: 0 0 1.5rem; font-size: clamp(2.7rem, 5vw, 5.1rem); font-weight: 580; line-height: 1; letter-spacing: -0.05em; text-wrap: balance; }
.provider-copy > p:not(.eyebrow) { max-width: 640px; margin: 0 0 2rem; color: rgba(255,255,255,0.65); font-size: 1.08rem; }
.provider-benefits { border-top: 1px solid var(--line-dark); }
.provider-benefits article { display: grid; grid-template-columns: 48px 1fr; gap: 1rem; padding: 2rem 0; border-bottom: 1px solid var(--line-dark); }
.provider-benefits article > span { color: var(--gold-light); font-size: 0.7rem; font-weight: 780; }
.provider-benefits h3 { margin: 0 0 0.45rem; font-size: 1.35rem; }
.provider-benefits p { margin: 0; color: rgba(255,255,255,0.55); font-size: 0.9rem; }

.audience-paths { display: grid; grid-template-columns: 1fr 1fr; gap: 0.75rem; margin: 2.2rem 0 0; }
.audience-paths article { padding: 1rem; border: 1px solid var(--line-dark); }
.audience-paths strong, .audience-paths span { display: block; }
.audience-paths strong { margin-bottom: 0.35rem; color: var(--gold-light); font-size: 0.78rem; }
.audience-paths span { color: rgba(255,255,255,0.53); font-size: 0.76rem; line-height: 1.45; }

.solution-hero { min-height: 760px; overflow: hidden; color: var(--paper-bright); background: var(--ink); }
.solution-hero-grid { min-height: 760px; display: grid; grid-template-columns: minmax(0, 0.86fr) minmax(460px, 1.14fr); align-items: center; gap: clamp(3rem, 7vw, 7rem); padding-top: 8rem; padding-bottom: 5rem; }
.solution-hero h1 { font-size: clamp(3rem, 5.5vw, 5.45rem); }
.breadcrumb { display: flex; gap: 0.65rem; margin-bottom: 2.5rem; color: rgba(255,255,255,0.55); font-size: 0.72rem; }
.breadcrumb a { color: rgba(255,255,255,0.65); }
.solution-hero-media { position: relative; min-height: 570px; }
.solution-hero-photo { position: absolute; top: 0; right: -5vw; width: 86%; height: 82%; object-fit: cover; object-position: 26% center; }
.solution-hero-media::after { content: ""; position: absolute; top: 0; right: -5vw; width: 86%; height: 82%; background: linear-gradient(90deg, rgba(10,18,32,0.35), transparent 40%), linear-gradient(0deg, rgba(10,18,32,0.55), transparent 50%); }
.solution-hero-screen { position: absolute; z-index: 1; right: 2%; bottom: 0; width: 68%; padding: 0.45rem; border: 1px solid rgba(242,209,138,0.55); border-radius: 0.9rem; background: #04070d; box-shadow: -20px 30px 70px rgba(0,0,0,0.5); }

.solution-intro { background: var(--paper-bright); }
.solution-intro-grid { display: grid; grid-template-columns: 0.9fr 0.8fr; gap: clamp(4rem, 10vw, 10rem); align-items: start; }
.solution-intro-copy > p { margin: 0 0 2rem; color: var(--muted); font-size: 1.08rem; }
.check-list { margin: 0; padding: 0; list-style: none; border-top: 1px solid var(--line); }
.check-list li { position: relative; padding: 1rem 0 1rem 1.7rem; border-bottom: 1px solid var(--line); }
.check-list li::before { content: "↳"; position: absolute; left: 0; color: var(--gold-deep); font-weight: 800; }
.role-strip { padding: 1.5rem 0; color: var(--paper-bright); background: var(--gold-deep); }
.role-strip-inner { display: flex; align-items: center; justify-content: space-between; gap: 2rem; }
.role-strip p { margin: 0; color: var(--ink); font-weight: 780; }
.role-strip-inner div { display: flex; flex-wrap: wrap; gap: 0.6rem; justify-content: flex-end; }
.role-strip span { padding: 0.4rem 0.65rem; border: 1px solid rgba(10,18,32,0.35); color: var(--ink); font-size: 0.72rem; }

.app-accordion { margin-top: 4.5rem; border-top: 1px solid var(--line-dark); }
.app-accordion details { border-bottom: 1px solid var(--line-dark); }
.app-accordion summary { display: grid; grid-template-columns: 60px 1fr 32px; gap: 1rem; align-items: center; min-height: 6.8rem; cursor: pointer; list-style: none; }
.app-accordion summary::-webkit-details-marker { display: none; }
.app-number { color: var(--gold-light); font-size: 0.7rem; font-weight: 760; }
.app-accordion summary strong { display: block; font-size: clamp(1.4rem, 2.4vw, 2.25rem); font-weight: 590; letter-spacing: -0.03em; }
.app-accordion summary small { display: block; margin-top: 0.25rem; color: rgba(255,255,255,0.5); }
.app-accordion summary i { position: relative; width: 1.3rem; height: 1.3rem; }
.app-accordion summary i::before, .app-accordion summary i::after { content: ""; position: absolute; top: 50%; left: 0; width: 100%; height: 1px; background: var(--gold-light); transition: transform 200ms ease; }
.app-accordion summary i::after { transform: rotate(90deg); }
.app-accordion details[open] summary i::after { transform: rotate(0); }
.app-detail { display: grid; grid-template-columns: 1fr minmax(280px, 0.65fr); gap: clamp(2rem, 7vw, 7rem); padding: 0.5rem 0 3rem 60px; }
.app-detail > div { max-width: 680px; }
.app-detail p { color: rgba(255,255,255,0.67); font-size: 1.05rem; }
.app-detail ul { margin: 1.5rem 0 0; padding-left: 1.1rem; color: rgba(255,255,255,0.58); }
.app-detail img { width: 100%; max-height: 360px; object-fit: cover; object-position: 28% center; }
.service-app-visual { height: 360px; overflow: hidden; background: #101a24; }
.service-app-visual img { width: 100%; height: 100%; max-height: none; object-position: 18% 16%; transform: scale(2.15); transform-origin: 18% 16%; }

.system-view { background: var(--paper); }
.system-grid { display: grid; grid-template-columns: minmax(440px, 0.9fr) minmax(0, 0.8fr); gap: clamp(4rem, 10vw, 10rem); align-items: center; }
.system-visual { position: relative; min-height: 480px; }
.system-node { position: absolute; z-index: 1; display: grid; width: 130px; height: 130px; place-items: center; border: 1px solid var(--gold-deep); border-radius: 50%; color: var(--ink); background: var(--paper-bright); font-size: 0.8rem; font-weight: 780; }
.system-node.primary { top: 50%; left: 50%; width: 170px; height: 170px; color: var(--paper-bright); background: var(--ink); transform: translate(-50%,-50%); font-size: 1.4rem; }
.node-one { top: 4%; left: 3%; }.node-two { top: 6%; right: 2%; }.node-three { right: 14%; bottom: 0; }.node-four { left: 14%; bottom: 0; }
.system-line { position: absolute; top: 50%; left: 50%; width: 38%; height: 1px; background: var(--gold-deep); transform-origin: left; }
.line-one { transform: rotate(-140deg); }.line-two { transform: rotate(-40deg); }.line-three { transform: rotate(48deg); }.line-four { transform: rotate(138deg); }
.compatibility-note { margin-top: 1.5rem !important; padding-left: 1rem; border-left: 2px solid var(--gold-deep); font-size: 0.8rem !important; }
.legal-hero { padding: clamp(9rem, 15vw, 13rem) 0 clamp(4.5rem, 8vw, 7rem); color: var(--paper-bright); background: radial-gradient(circle at 78% 28%, rgba(220,177,75,0.18), transparent 28%), var(--navy); }
.legal-hero h1 { max-width: 820px; margin: 0 0 1.5rem; font-size: clamp(3.5rem, 8vw, 7.5rem); font-weight: 540; line-height: 0.98; letter-spacing: -0.055em; }
.legal-hero .legal-lead { max-width: 760px; margin: 0; color: rgba(255,255,255,0.72); font-size: clamp(1.05rem, 1.8vw, 1.3rem); line-height: 1.65; }
.legal-layout { display: grid; grid-template-columns: minmax(210px, 0.35fr) minmax(0, 1fr); gap: clamp(3rem, 8vw, 8rem); align-items: start; }
.legal-summary { position: sticky; top: 7rem; padding-top: 0.4rem; }
.legal-summary p { margin: 0 0 1.2rem; color: var(--muted); line-height: 1.65; }
.legal-summary strong { display: block; margin-bottom: 0.2rem; color: var(--ink); }
.legal-summary a { color: var(--ink); text-decoration-color: var(--gold-deep); text-underline-offset: 0.2em; }
.legal-article { max-width: 840px; }
.legal-article section + section { margin-top: 3.5rem; padding-top: 3.5rem; border-top: 1px solid var(--line); }
.legal-article h2 { margin: 0 0 1.25rem; font-size: clamp(1.8rem, 3vw, 2.8rem); font-weight: 620; line-height: 1.12; letter-spacing: -0.035em; }
.legal-article h3 { margin: 2rem 0 0.7rem; font-size: 1.08rem; }
.legal-article p, .legal-article li { color: var(--muted); font-size: 1rem; line-height: 1.75; }
.legal-article p { margin: 0 0 1.1rem; }
.legal-article ul { margin: 0; padding-left: 1.25rem; }
.legal-article li + li { margin-top: 0.55rem; }
.legal-article a { color: var(--ink); text-decoration-color: var(--gold-deep); text-underline-offset: 0.2em; }

.privacy-page { background: #fff; }
.privacy-page .site-header { background: linear-gradient(180deg, rgba(7, 14, 25, 0.96), rgba(7, 14, 25, 0.88)), var(--ink); }
.privacy-page .legal-hero { color: var(--ink); background: #fff; border-bottom: 1px solid var(--line); }
.privacy-page .legal-hero .eyebrow { color: #8d682c; }
.privacy-page .legal-hero .legal-lead { color: var(--muted); }
.privacy-page main > .section { background: #fff; }
.compact-contact { grid-template-columns: 1fr 0.55fr; align-items: end; }
.contact-action p { margin: 0 0 1.5rem; color: rgba(255,255,255,0.63); }
.contact-action .text-link { margin-left: 1.2rem; }

.reveal { opacity: 0; transform: translateY(22px); transition: opacity 700ms var(--ease), transform 700ms var(--ease); }
.reveal-late { transition-delay: 100ms; }
.reveal.is-visible { opacity: 1; transform: translateY(0); }

@media (max-width: 1080px) {
  .site-nav { gap: 1rem; }
  .site-nav > a:not(.button) { font-size: 0.78rem; }
  .hero-grid, .solution-hero-grid { grid-template-columns: 1fr 0.9fr; gap: 3rem; }
  .solutions-stage { grid-template-columns: 1fr; }
  .solution-index { display: grid; grid-template-columns: 1fr 1fr; }
  .process { grid-template-columns: 1fr 1fr; }
  .process li { min-height: 280px; }
  .client-proof-grid { grid-template-columns: minmax(0, 0.82fr) minmax(410px, 1.18fr); gap: 3.5rem; }
}

@media (max-width: 860px) {
  :root { --shell: min(100% - 36px, 720px); }
  .header-inner { min-height: 5.5rem; }
  .menu-toggle { position: relative; z-index: 2; display: flex; align-items: center; gap: 0.75rem; padding: 0.65rem; color: #fff; cursor: pointer; }
  .menu-toggle-label { font-size: 0.72rem; font-weight: 760; text-transform: uppercase; letter-spacing: 0.12em; }
  .menu-toggle-lines { width: 1.5rem; display: grid; gap: 0.35rem; }
  .menu-toggle-lines i { display: block; height: 1px; background: currentColor; transition: transform 200ms ease; }
  .menu-toggle[aria-expanded="true"] .menu-toggle-lines i:first-child { transform: translateY(3.5px) rotate(45deg); }
  .menu-toggle[aria-expanded="true"] .menu-toggle-lines i:last-child { transform: translateY(-3.5px) rotate(-45deg); }
  .site-nav { position: fixed; inset: 0; display: flex; flex-direction: column; align-items: flex-start; justify-content: center; gap: 1.2rem; padding: 6rem max(2rem, calc((100vw - 720px)/2)); visibility: hidden; opacity: 0; background: #050a12; transform: translateY(-1rem); transition: opacity 220ms ease, transform 220ms ease, visibility 220ms; }
  .site-nav.is-open { visibility: visible; opacity: 1; transform: translateY(0); }
  body.menu-open main, body.menu-open .site-footer { visibility: hidden; }
  .site-nav > a:not(.button) { font-size: 1.45rem; }
  .site-nav .language-current { font-size: 1rem; }
  .site-nav .button { margin-top: 1rem; }
  .hero, .hero-grid, .solution-hero, .solution-hero-grid { min-height: auto; }
  .hero-grid, .solution-hero-grid { grid-template-columns: 1fr; padding-top: 9rem; padding-bottom: 4rem; }
  .hero h1, .solution-hero h1 { max-width: 700px; }
  .hero-visual { min-height: 520px; }
  .section-heading-wide { grid-template-columns: 1fr; gap: 1.5rem; }
  .solution-feature { grid-template-columns: 1fr; }
  .outcomes-grid, .solution-intro-grid, .system-grid { grid-template-columns: 1fr; gap: 3.5rem; }
  .client-proof-grid, .erp-grid, .provider-grid { grid-template-columns: 1fr; gap: 3.5rem; }
  .legal-layout { grid-template-columns: 1fr; gap: 3rem; }
  .legal-summary { position: static; padding-bottom: 2rem; border-bottom: 1px solid var(--line); }
  .case-feature, .erp-visual { max-width: 680px; }
  .provider-copy { max-width: 680px; }
  .proof-card { grid-template-columns: 1fr; gap: 2.5rem; }
  .historical-note, .reference-names, .proof .text-link { grid-column: 1; }
  .proof-kicker { display: flex; gap: 1.5rem; align-items: center; }
  .proof-kicker img { margin: 0; }
  .contact-grid, .compact-contact { grid-template-columns: 1fr; gap: 3.5rem; }
  .footer-grid { grid-template-columns: 1.25fr 1.5fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
  .system-visual { order: 2; max-width: 600px; width: 100%; margin-inline: auto; }
}

@media (max-width: 600px) {
  :root { --shell: calc(100% - 28px); }
  .section { padding: 4.5rem 0; }
  .hero h1, .solution-hero h1 { font-size: clamp(2.7rem, 14vw, 4.5rem); }
  .hero-lead { font-size: 1rem; }
  .hero-visual { min-height: 430px; }
  .hero-photo-wrap { inset: 0 0 2rem 0; }
  .app-device { right: -6%; bottom: 0; width: 61%; }
  .hero-proof { bottom: 4%; width: 57%; padding: 0.9rem; }
  .hero-proof p { font-size: 0.69rem; }
  .hero-v2 .hero-proof { width: 72%; }
  .hero-v2 .hero-proof strong { font-size: 0.9rem; }
  .section-heading h2 { font-size: clamp(2.3rem, 11vw, 3.5rem); }
  .client-proof-intro h2, .erp-copy h2, .provider-copy h2 { font-size: clamp(2.35rem, 11vw, 3.55rem); }
  .case-feature { padding: 1.5rem; }
  .case-feature-topline { align-items: flex-start; flex-direction: column; }
  .case-feature blockquote { font-size: 1.4rem; }
  .proof-metrics { grid-template-columns: 1fr; }
  .proof-metrics article + article { border-top: 1px solid rgba(10,18,32,0.16); border-left: 0; }
  .section-cta { align-items: flex-start; flex-direction: column; }
  .audience-paths { grid-template-columns: 1fr; }
  .sector { grid-template-columns: 36px 1fr auto; gap: 0.8rem; padding-inline: 0.5rem; }
  .sector small { max-width: 230px; }
  .solution-index { grid-template-columns: 1fr; }
  .solution-feature { min-height: auto; }
  .solution-photo { min-height: 360px; }
  .process { grid-template-columns: 1fr; }
  .process li { min-height: 250px; }
  .proof blockquote > p { font-size: 1.8rem; }
  .contact-form { padding: 1.35rem; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-grid > div:last-child { grid-column: 1 / -1; }
  .footer-menu { grid-column: 1 / -1; }
  .footer-bottom { flex-direction: column; gap: 0.4rem; }
  .solution-hero-media { min-height: 430px; }
  .solution-hero-photo { right: -14px; width: 98%; height: 78%; }
  .solution-hero-media::after { right: -14px; width: 98%; height: 78%; }
  .solution-hero-screen { right: -2%; width: 78%; }
  .role-strip-inner { align-items: flex-start; flex-direction: column; }
  .role-strip-inner div { justify-content: flex-start; }
  .app-accordion summary { grid-template-columns: 40px 1fr 24px; min-height: 6rem; }
  .app-accordion summary small { font-size: 0.75rem; }
  .app-detail { grid-template-columns: 1fr; padding-left: 0; }
  .app-detail img { max-height: 320px; }
  .service-app-visual { height: 320px; }
  .system-visual { min-height: 350px; transform: scale(0.78); transform-origin: center; }
  .erp-visual { min-height: 500px; }
  .erp-visual .system-node:not(.primary) { width: 100px; height: 100px; font-size: 0.72rem; }
  .contact-action .text-link { margin: 1.2rem 0 0; }
}

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