:root {
  --ink: #101827;
  --navy: #08111f;
  --navy-soft: #0e1c30;
  --orange: #ff7410;
  --orange-deep: #dd5700;
  --paper: #f7f8fa;
  --muted: #5d6674;
  --line: #dce1e7;
  --font-display: ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --font-body: ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: #fff;
  font-family: var(--font-body);
  line-height: 1.55;
}
a { color: inherit; text-decoration: none; }
.container { width: min(1120px, calc(100% - 48px)); margin: 0 auto; }
.skip-link { position: absolute; left: -999px; top: 0; z-index: 99; background: #fff; padding: .7rem 1rem; }
.skip-link:focus { left: 1rem; top: 1rem; }

.site-header {
  position: sticky; z-index: 10; top: 0; display: grid; grid-template-columns: 1fr auto 1fr; align-items: center;
  min-height: 72px; padding: 0 3rem; background: rgba(255,255,255,.96); border-bottom: 1px solid rgba(16,24,39,.06); backdrop-filter: blur(12px);
}
.brand { font: 800 1.3rem/1 var(--font-display); letter-spacing: -.06em; color: #182131; }
.brand span { font-weight: 700; color: var(--orange); }
.site-header nav { display: flex; align-items: center; gap: 2rem; font-size: .93rem; }
.site-header nav a { position: relative; color: #303845; }
.site-header nav a:hover::after { transform: scaleX(1); }
.site-header nav a::after { content: ""; position: absolute; inset: auto 0 -.45rem; height: 2px; background: var(--orange); transform: scaleX(0); transition: transform .2s; }
.site-header > .button { justify-self: end; }

.button { display: inline-flex; align-items: center; justify-content: center; gap: .55rem; min-height: 52px; padding: .82rem 1.25rem; border: 0; border-radius: .8rem; background: var(--orange); color: white; font-family: inherit; font-weight: 700; font-size: .92rem; cursor: pointer; box-shadow: 0 10px 24px rgba(214,79,0,.22); transition: transform .2s, background .2s, box-shadow .2s; }
.button:hover { transform: translateY(-2px); background: var(--orange-deep); box-shadow: 0 14px 28px rgba(214,79,0,.28); }
.button-small { min-height: 42px; padding: .56rem 1.05rem; font-size: .82rem; }
.button svg { width: 18px; height: 18px; fill: currentColor; }
.button-ghost { background: rgba(255,255,255,.12); box-shadow: none; border: 1px solid rgba(255,255,255,.4); backdrop-filter: blur(8px); }
.button-ghost:hover { background: rgba(255,255,255,.2); box-shadow: none; }

.hero { position: relative; isolation: isolate; min-height: 710px; display: flex; align-items: center; color: white; background: #08111f; }
.hero-shade { position: absolute; z-index: -1; inset: 0; background: linear-gradient(90deg, rgba(4,10,18,.91) 0%, rgba(4,10,18,.77) 40%, rgba(4,10,18,.36) 73%, rgba(4,10,18,.46) 100%); }
.hero-content { padding: 5rem 0; max-width: 1120px; }
.eyebrow { margin: 0 0 1rem; color: #ff9b56; font-size: .78rem; font-weight: 700; letter-spacing: .13em; text-transform: uppercase; }
.eyebrow-dark { color: #ca5000; }
h1, h2, h3 { font-family: var(--font-display); letter-spacing: -.055em; line-height: 1.09; }
h1 { max-width: 720px; margin: 0; font-size: clamp(3rem, 6vw, 5.6rem); font-weight: 800; }
.hero-copy { max-width: 610px; margin: 1.55rem 0 0; color: #e7eaf0; font-size: clamp(1.04rem, 1.8vw, 1.24rem); }
.hero-actions { display: flex; flex-wrap: wrap; gap: .85rem; margin-top: 2.1rem; }
.hero-note { margin: 1.25rem 0 0; color: rgba(255,255,255,.76); font-size: .9rem; }

.section { padding: 7rem 0; }
.section-heading { max-width: 820px; }
.section-heading h2 { margin: 0; font-size: clamp(2.15rem, 4.2vw, 3.6rem); }
.section-heading-light { color: white; }
.problem-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 1rem; margin-top: 3rem; }
.problem-card { min-height: 232px; padding: 1.7rem; border: 1px solid var(--line); border-radius: 1rem; background: #fff; }
.problem-card span { color: var(--orange); font: 800 1.1rem var(--font-display); }
.problem-card h3 { margin: 2.55rem 0 .7rem; font-size: 1.38rem; }
.problem-card p { margin: 0; color: var(--muted); }

.system { background: var(--navy); }
.system-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 1rem; margin-top: 3.5rem; }
.system-card { padding: 1.7rem; background: linear-gradient(160deg, rgba(255,255,255,.09), rgba(255,255,255,.025)); border: 1px solid rgba(255,255,255,.13); border-radius: 1rem; color: white; }
.number { display: grid; place-items: center; width: 2.3rem; height: 2.3rem; border-radius: .65rem; background: var(--orange); font: 800 1rem var(--font-display); }
.system-card h3 { margin: 2.1rem 0 .7rem; font-size: 1.45rem; }
.system-card p { margin: 0; color: #c4cbd5; }
.system-footnote { max-width: 720px; margin: 2rem 0 0; color: #c4cbd5; }

.process { background: var(--paper); }
.process-wrap { display: grid; grid-template-columns: .85fr 1.15fr; gap: 5rem; }
.steps { display: grid; gap: .3rem; margin: 0; padding: 0; list-style: none; }
.steps li { display: grid; grid-template-columns: 3.3rem 1fr; gap: 1rem; padding: 1.25rem 0; border-bottom: 1px solid var(--line); }.steps li:first-child { border-top: 1px solid var(--line); }
.steps span { color: var(--orange); font: 800 1rem var(--font-display); }.steps h3 { margin: 0; font-size: 1.25rem; }.steps p { margin: .45rem 0 0; color: var(--muted); }

.contact { padding: 6rem 0; color: white; background: linear-gradient(112deg, #0d2037, #07111d); }
.contact-inner { display: grid; grid-template-columns: minmax(0, .82fr) minmax(430px, 1.18fr); align-items: start; gap: clamp(3rem, 7vw, 6rem); }
.contact-copy { padding-top: 1.2rem; }
.contact h2 { max-width: 620px; margin: 0; font-size: clamp(2.2rem, 4.5vw, 3.7rem); }
.contact-copy > p:not(.eyebrow) { max-width: 570px; margin: 1.2rem 0 0; color: #c6d0dc; }
.contact-details { display: grid; gap: .8rem; margin-top: 2.2rem; }
.contact-details > div { display: grid; gap: .08rem; }
.contact-details span { color: #8f9cac; font-size: .75rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
.contact-details a { width: fit-content; color: white; font-weight: 700; }
.contact-details a:hover { color: #ff9b56; }
.inquiry-form {
  width: 100%;
  padding: clamp(1.5rem, 3vw, 2.25rem);
  border: 1px solid rgba(255,255,255,.2);
  border-radius: 1.35rem;
  background: rgba(255,255,255,.98);
  color: var(--ink);
  box-shadow: 0 28px 70px rgba(0,0,0,.28);
}
.form-heading { margin-bottom: 1.45rem; }
.form-heading > span { display: block; color: #111b2b; font: 800 1.45rem var(--font-display); letter-spacing: -.035em; }
.form-heading > p { margin: .25rem 0 0; color: var(--muted); font-size: .9rem; }
.form-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem; }
.form-field { display: flex; min-width: 0; flex-direction: column; gap: .45rem; }
.form-field-wide { grid-column: 1 / -1; }
.form-field label { display: block; margin: 0; color: #2b3543; font-size: .82rem; font-weight: 750; line-height: 1.25; }
.form-field label b { color: var(--orange-deep); }
.form-field input,
.form-field select,
.form-field textarea {
  display: block;
  width: 100%;
  min-width: 0;
  margin: 0;
  padding: .82rem .9rem;
  border: 1px solid #cfd6df;
  border-radius: .72rem;
  outline: none;
  background: #f8fafc;
  color: #111827;
  font: inherit;
  font-size: .94rem;
  line-height: 1.35;
  box-shadow: inset 0 1px 2px rgba(15,23,42,.03);
  transition: border-color .18s ease, box-shadow .18s ease, background .18s ease, transform .18s ease;
  -webkit-appearance: none;
  appearance: none;
}
.form-field input,
.form-field select { height: 50px; }
.form-field select {
  cursor: pointer;
  padding-right: 2.6rem;
  background-image:
    linear-gradient(45deg, transparent 50%, #667085 50%),
    linear-gradient(135deg, #667085 50%, transparent 50%);
  background-position:
    calc(100% - 18px) 21px,
    calc(100% - 13px) 21px;
  background-size: 5px 5px, 5px 5px;
  background-repeat: no-repeat;
}
.form-field textarea { min-height: 145px; resize: vertical; }
.form-field textarea::placeholder,
.form-field input::placeholder { color: #98a2b3; opacity: 1; }
.form-field input:hover,
.form-field select:hover,
.form-field textarea:hover { border-color: #aeb8c5; background: #fff; }
.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus {
  border-color: var(--orange);
  background: #fff;
  box-shadow: 0 0 0 4px rgba(255,116,16,.14), 0 8px 20px rgba(8,17,31,.05);
}
.form-field input:invalid:not(:placeholder-shown),
.form-field textarea:invalid:not(:placeholder-shown) { box-shadow: none; }
.form-privacy { margin: 1.05rem 0 0; color: #667085; font-size: .77rem; line-height: 1.55; }
.form-privacy a { color: var(--orange-deep); font-weight: 750; text-decoration: underline; text-underline-offset: .15em; }
.form-actions { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .8rem; margin-top: 1.25rem; }
.form-actions .button { width: 100%; min-height: 50px; }
.button-secondary { background: var(--navy-soft); box-shadow: 0 10px 24px rgba(8,17,31,.15); }
.button-secondary:hover { background: #172a43; box-shadow: 0 14px 28px rgba(8,17,31,.22); }
.form-status { min-height: 1.3em; margin: .7rem 0 0; color: #536071; font-size: .78rem; }

.site-footer { padding: 2.2rem 0; background: #fff; }.footer-grid { display: grid; grid-template-columns: 1.3fr 1fr 1fr auto; align-items: start; gap: 2rem; font-size: .91rem; }.footer-grid a:not(.brand), .footer-grid p { display: block; margin: .25rem 0; color: #4d5765; }.footer-grid a:not(.brand):hover { color: var(--orange-deep); }.brand-footer { align-self: center; }.footer-label { margin: 0 0 .6rem !important; color: #172132 !important; font-weight: 700; }.footer-legal { display: flex; flex-direction: column; align-items: flex-end; }
.legal-page { max-width: 800px; padding: 5.5rem 0 7rem; }.legal-page h1 { color: var(--navy); font-size: clamp(2.8rem, 5vw, 4.4rem); }.legal-page h2 { margin-top: 2.7rem; font-size: 1.45rem; }.legal-page p { max-width: 680px; }.legal-page a:not(.button) { color: var(--orange-deep); text-decoration: underline; text-underline-offset: .18em; }.legal-note { margin-top: 3rem; padding: 1rem 1.15rem; border-left: 4px solid var(--orange); background: #fff4ec; color: #5c351b; }

@media (max-width: 820px) {
  .site-header { grid-template-columns: 1fr auto; min-height: 64px; padding: 0 1.25rem; }.site-header nav { display: none; }.site-header > .button { font-size: .75rem; }
  .hero { min-height: 680px; background-position: 64% center; }.hero-shade { background: linear-gradient(90deg, rgba(4,10,18,.91), rgba(4,10,18,.65)); }
  .problem-grid, .system-grid { grid-template-columns: 1fr; }.problem-card { min-height: initial; }.problem-card h3 { margin-top: 1.5rem; }
  .optional, .process-wrap, .contact-inner { grid-template-columns: 1fr; gap: 2.5rem; }.optional-visual { order: 2; }.contact-copy { padding-top: 0; }.footer-grid { grid-template-columns: 1fr 1fr; }.footer-legal { align-items: flex-start; }
}
@media (max-width: 510px) {
  .container { width: min(100% - 32px, 1120px); }.site-header > .button { min-height: 38px; padding: .45rem .7rem; }.brand { font-size: 1.16rem; }.section { padding: 4.5rem 0; }.hero-content { padding: 4.5rem 0; }.hero { min-height: 710px; }.hero-actions { align-items: stretch; flex-direction: column; }.hero-actions .button { width: 100%; }.contact { padding: 4rem 0; }.form-grid, .form-actions { grid-template-columns: 1fr; }.form-field-wide { grid-column: auto; }.footer-grid { grid-template-columns: 1fr; gap: 1.1rem; }.optional-visual { aspect-ratio: .98; }.mini-main { grid-template-columns: 1.08fr .92fr; }.mini-hero { padding: .85rem .7rem; }.mini-hero h3 { font-size: 1.06rem; }.mini-form { margin-right: .45rem; padding: .55rem; }.mini-proof { padding-inline: .4rem; }
}
/* MK Works: existing palette and components, extended for the new positioning. */
.website-option { background: #fff5ed; border-top: 1px solid #f0e3d8; }
.site-header nav { flex-wrap: wrap; }
html { scroll-padding-top: 125px; }
body { overflow-wrap: break-word; }
:focus-visible { outline: 3px solid #c24d00; outline-offset: 5px; }
.button { color: #08111f; }
.button-secondary, .button-ghost { color: #fff; }
.hero { min-height: 690px; background: radial-gradient(ellipse at 88% 30%, #182c43 0, transparent 58%), var(--navy); }
.hero-layout { display: grid; grid-template-columns: 1.2fr 1fr; gap: 4rem; align-items: center; padding-block: 6rem; }
.hero h1 { font-size: clamp(2.8rem, 4.5vw, 4.3rem); letter-spacing: -.055em; line-height: 1.06; }
.hero h1 span { color: #ff9850; }
.hero-copy { font-size: 1.08rem; line-height: 1.75; }
.hero-note { font-size: .82rem; }
.hero-actions { gap: 1.4rem; align-items: center; }
.text-link { display: inline-flex; align-items: center; gap: .65rem; font-size: .92rem; font-weight: 700; padding-block: .75rem; text-decoration: underline; text-underline-offset: 5px; }
.text-link:hover { color: #df630a; }
.workflow-preview { background: #101e30; border: 1px solid #324154; padding: 1.5rem; border-radius: 1.3rem; box-shadow: 0 28px 70px #0004; transform: rotate(1deg); }
.workflow-top { display: flex; align-items: center; gap: .5rem; font-size: .75rem; color: #d5deea; margin-bottom: 1.6rem; }
.workflow-top > span:last-child { font-size: .58rem; letter-spacing: .1em; margin-left: auto; color: #b4c1d2; }
.status-dot { width: 7px; height: 7px; background: #ff9850; border-radius: 50%; }
.workflow-message { display: flex; align-items: center; gap: .9rem; padding: 1rem; border-radius: .7rem; background: #1e3046; border: 1px solid #39485b; }
.workflow-icon { font-size: 1.5rem; color: #ff9850; }
.workflow-preview strong, .workflow-preview small { display: block; }
.workflow-preview strong { font-size: .86rem; line-height: 1.5; }
.workflow-preview small { font-size: .72rem; color: #bac8d8; line-height: 1.65; }
.workflow-message strong { margin-top: .3rem; }
.workflow-list { list-style: none; padding: 0 0 0 .65rem; margin: 1.5rem 0; }
.workflow-list li { position: relative; display: flex; gap: .85rem; align-items: center; padding: .7rem 0; }
.workflow-list li:not(:last-child)::after { content: ''; position: absolute; top: calc(50% + 15px); bottom: -16px; left: 14px; border-left: 1px solid #425064; }
.workflow-list li > span { display: grid; place-items: center; flex-shrink: 0; width: 30px; height: 30px; border: 1px solid #516174; border-radius: 50%; color: #ffac72; font-size: .63rem; }
.workflow-result { display: flex; gap: .75rem; align-items: center; background: #2b2a2a; border: 1px solid #785138; border-radius: .7rem; padding: 1rem; }
.workflow-result > span { color: #ff9850; font-size: 1.5rem; }
.workflow-caption { color: #b0bed0; font-size: .65rem; margin: 1rem 0 0; text-align: center; }
.section-heading > p:not(.eyebrow) { color: var(--muted); max-width: 650px; font-size: 1.05rem; margin-top: 1.4rem; }
.section-heading-light > p:not(.eyebrow) { color: #c4cbd5; }
.section-heading h2 { font-size: clamp(2rem, 3.7vw, 3.15rem); }
.problem-card { background: #fbfcfd; }
.problem-card > span { font-size: .77rem; letter-spacing: .04em; color: #b44700; }
.system-card h3 { font-size: 1.35rem; }
.number { color: #08111f; font-size: .8rem; }
.solution-note { padding: 1.7rem; align-self: center; color: #fff; }
.solution-note > span { color: #ff9850; font-size: 2rem; }
.solution-note h3 { font-size: 1.45rem; }
.solution-note p { color: #c4cbd5; }
.solution-note .text-link { color: #ffac72; }
.examples { margin-top: 3rem; display: grid; gap: 2rem; }
.example { border-top: 1px solid var(--line); padding-top: 1.5rem; }
.example h3 { font-size: 1.3rem; margin: 0 0 1.25rem; }
.example h3 span { margin-right: .8rem; color: #ba4900; font-size: .82rem; letter-spacing: 0; }
.comparison { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.comparison > div { padding: 1.3rem 1.5rem; border-radius: .75rem; background: var(--paper); }
.comparison .after { background: #fff3e9; border-left: 3px solid var(--orange); }
.comparison-label { font-weight: 700; font-size: .72rem; letter-spacing: .09em; text-transform: uppercase; color: #596170; }
.after .comparison-label { color: #9f3f00; }
.comparison p { margin: .6rem 0 0; line-height: 1.8; }
.steps li:not(:last-child) > span::after { content: '↓'; display: block; margin-top: 1rem; color: #a3acb7; }
.integration { display: grid; grid-template-columns: .85fr 1.15fr; gap: 5rem; }
.integration-copy p { color: var(--muted); margin-top: 0; }
.integration-copy .lead { font-size: 1.35rem; line-height: 1.5; color: var(--ink); font-weight: 600; }
.integration-copy ul { list-style: none; padding: 0; margin-block: 1.5rem; }
.integration-copy li { padding-block: .4rem; }
.integration-copy li::before { content: '✓'; color: #ad4400; margin-right: .7rem; }
.faq { background: var(--paper); }
.faq-list details { border-bottom: 1px solid #cbd3de; }
.faq-list details:first-child { border-top: 1px solid #cbd3de; }
.faq-list summary { padding: 1.35rem 1.8rem 1.35rem 0; cursor: pointer; font-weight: 650; position: relative; list-style: none; }
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after { content: '+'; color: #a74100; position: absolute; right: 0; font-size: 1.3rem; top: 1.1rem; }
.faq-list details[open] summary::after { content: '−'; }
.faq-list details p { margin: 0 0 1.35rem; color: var(--muted); }
.form-field label span { color: #657080; font-weight: 400; }
.form-field textarea::placeholder { color: #687587; }
.form-actions { grid-template-columns: 1fr; }
.form-actions .button-secondary { order: -1; }
.legal-page h1 { overflow-wrap: anywhere; }
@media (min-width: 821px) and (max-width: 1080px) { .site-header { padding-inline: 1.5rem; } .site-header nav { gap: 1.3rem; } .hero-layout { gap: 2rem; } }
@media (max-width: 820px) {
  .site-header { grid-template-columns: 1fr auto; padding-block: .7rem; gap: .8rem; }
  .site-header nav { display: flex; grid-column: 1 / -1; grid-row: 2; justify-content: center; gap: .35rem 1rem; font-size: .8rem; }
  .site-header nav a { padding-block: .35rem; }
  .site-header > .button { grid-column: 2; grid-row: 1; }
  .hero-layout { grid-template-columns: 1fr; padding-block: 4rem; gap: 3rem; }
  .hero h1 { max-width: 650px; font-size: clamp(2.8rem, 8vw, 4.6rem); }
  .workflow-preview { transform: none; width: 100%; max-width: 580px; }
  .integration { grid-template-columns: 1fr; gap: 2rem; }
  .system-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 510px) {
  .site-header nav { column-gap: .75rem; font-size: .72rem; }
  .comparison, .system-grid { grid-template-columns: 1fr; }
  .hero-actions { align-items: stretch; gap: .5rem; }
  .hero-actions .text-link { justify-content: center; }
  .workflow-preview { padding: 1.1rem; }
  .workflow-top { font-size: .68rem; }
  .workflow-top > span:last-child { font-size: .5rem; }
  .hero { min-height: 0; }
  .hero-note { font-size: .75rem; }
  .contact h2 { font-size: 2.4rem; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { animation: none !important; transition: none !important; } }

