:root {
  --bg: #341D46;
  --panel: #472854;
  --peach: #FFAD86;
  --text: #F8EBFF;
  --muted: #D2BFD9;
  --line: rgba(248, 235, 255, .20);
  --heading: Outfit, Arial, sans-serif;
  --body: Manrope, Arial, sans-serif;
  --max: 1180px;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--bg); color: var(--text); font: 400 15px/1.65 var(--body); }
a { color: inherit; text-decoration: none; }
button, input, textarea { font: inherit; }
button { cursor: pointer; }
::selection { background: var(--peach); color: var(--bg); }
:focus-visible { outline: 2px solid var(--peach); outline-offset: 4px; }
.container { width: min(calc(100% - 72px), var(--max)); margin-inline: auto; }
.skip-link { position: absolute; z-index: 100; top: -80px; left: 12px; padding: 10px 14px; background: var(--peach); color: var(--bg); }
.skip-link:focus { top: 12px; }
.site-header { border-bottom: 1px solid var(--line); }
.header-inner { min-height: 82px; display: flex; align-items: center; gap: 32px; }
.wordmark { font: 600 28px/1 var(--heading); letter-spacing: -1.4px; white-space: nowrap; }
.wordmark span { color: var(--peach); }
.main-nav { display: flex; align-items: center; gap: 10px; margin-left: auto; font-size: 13px; font-weight: 700; }
.main-nav a { display: inline-flex; align-items: center; min-height: 44px; padding: 0 12px; }
.main-nav a, .header-action { transition: color .2s; }
.main-nav a:hover, .header-action:hover { color: var(--peach); }
.header-action { display: inline-flex; align-items: center; justify-content: space-between; min-height: 44px; padding: 9px 15px; border: 1px solid var(--line); font-size: 12px; font-weight: 700; white-space: nowrap; }
.header-action span { margin-left: 13px; color: var(--peach); }
.eyebrow { display: flex; align-items: center; gap: 12px; margin: 0 0 24px; color: var(--peach); font-size: 12px; line-height: 1.3; font-weight: 700; letter-spacing: .15em; text-transform: uppercase; }
.eyebrow-line { flex: none; width: 24px; height: 1px; background: var(--peach); }
h1, h2, h3, p { margin-top: 0; }
h1, h2, h3 { font-family: var(--heading); font-weight: 500; }
h1 em, h2 em { color: var(--peach); font-style: normal; }
.hero { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, .8fr); align-items: center; gap: clamp(32px, 4vw, 64px); min-height: 620px; padding-block: 78px 96px; }
.hero-content, .hero-aside { min-width: 0; }
h1 { margin-bottom: 27px; font-size: clamp(52px, 5.2vw, 80px); line-height: 1.04; letter-spacing: -.052em; text-wrap: balance; overflow-wrap: normal; }
.hero-description { max-width: 590px; margin-bottom: 33px; color: var(--muted); font-size: 17px; line-height: 1.75; }
.button { display: inline-flex; align-items: center; justify-content: space-between; gap: 30px; min-height: 48px; padding: 12px 20px; border: 1px solid var(--peach); font-size: 13px; font-weight: 800; line-height: 1.3; transition: background .2s, transform .2s; }
.button:hover { transform: translateY(-2px); background: #FFD0B7; }
.button-primary { color: var(--bg); background: var(--peach); }
.button span { font-size: 18px; font-weight: 400; }
.button:disabled { opacity: .6; cursor: wait; transform: none; }
.hero-aside { align-self: center; padding: 24px 26px 20px; border: 1px solid var(--line); background: var(--panel); }
.diagram-heading { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.diagram-label, .diagram-code { color: var(--muted); font-size: 12px; font-weight: 800; letter-spacing: .10em; line-height: 1.4; }
.diagram-code { color: var(--peach); white-space: nowrap; }
.diagram-flow { position: relative; margin: 25px 0 22px; padding: 0; list-style: none; }
.diagram-flow::before, .diagram-flow::after { content: ""; position: absolute; top: 27px; bottom: 33px; left: 18px; width: 1px; background: var(--line); }
.diagram-flow::after { background: var(--peach); transform-origin: top; animation: trace-path 1.25s ease-out .2s both; }
.diagram-node { position: relative; display: flex; align-items: center; gap: 17px; min-height: 79px; padding: 9px 0; }
.diagram-node + .diagram-node { border-top: 1px solid rgba(248, 235, 255, .10); }
.diagram-marker { position: relative; z-index: 1; display: grid; place-items: center; flex: none; width: 37px; height: 37px; border: 1px solid var(--line); background: var(--panel); color: var(--text); font-size: 12px; font-weight: 700; line-height: 1; transition: transform .2s, border-color .2s; }
.diagram-node:hover .diagram-marker { transform: scale(1.08); border-color: var(--peach); }
.diagram-node strong, .diagram-node small { display: block; }
.diagram-node strong { font: 500 20px/1.2 var(--heading); }
.diagram-node small { margin-top: 4px; color: var(--muted); font-size: 12px; line-height: 1.4; }
.diagram-node.active .diagram-marker { border-color: var(--peach); background: var(--peach); color: var(--bg); }
.diagram-node.active strong { color: var(--peach); }
.diagram-foot { padding-top: 15px; border-top: 1px solid var(--line); color: var(--muted); font-size: 12px; line-height: 1.5; }
.status-dot { display: inline-block; width: 7px; height: 7px; margin-right: 7px; border-radius: 50%; background: var(--peach); }
@keyframes trace-path { from { transform: scaleY(0); } to { transform: scaleY(1); } }
.section-pad { padding-block: 96px; }
.expertise { border-top: 1px solid var(--line); background: #3A214C; }
.section-heading { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); align-items: end; column-gap: 50px; margin-bottom: 36px; }
.section-heading .eyebrow { grid-column: 1 / -1; }
h2 { margin-bottom: 0; font-size: clamp(42px, 4.5vw, 64px); line-height: 1.08; letter-spacing: -.045em; }
.section-heading > p:last-child { max-width: 370px; margin: 0 0 5px auto; color: var(--muted); font-size: 15px; }
.service-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
.service-card { display: flex; flex-direction: column; min-width: 0; padding: 30px 32px; background: var(--panel); }
.service-top { margin-bottom: 28px; }
.service-number { color: var(--peach); font-size: 12px; font-weight: 800; letter-spacing: .11em; }
.service-card h3 { margin-bottom: 14px; font-size: 32px; line-height: 1.18; letter-spacing: -.03em; }
.service-card > p { max-width: 470px; margin-bottom: 24px; color: var(--muted); font-size: 14px; line-height: 1.75; }
.service-deliverables { margin-top: auto; padding-top: 17px; border-top: 1px solid var(--line); }
.service-deliverables p { margin-bottom: 9px; color: var(--peach); font-size: 12px; font-weight: 700; letter-spacing: .04em; }
.service-deliverables ul { margin: 0; padding-left: 20px; color: var(--text); font-size: 13px; line-height: 1.65; }
.service-deliverables li + li { margin-top: 3px; }
.service-deliverables li::marker { color: var(--peach); }
.service-tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 22px; }
.service-tags span { display: inline-flex; align-items: center; min-height: 30px; padding: 4px 10px; border: 1px solid var(--line); color: var(--text); font-size: 12px; line-height: 1.3; }
.approach-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 12%; }
.approach-intro > p:last-child { max-width: 355px; margin-top: 25px; color: var(--muted); }
.steps { margin: 0; padding: 0; list-style: none; }
.steps li { display: grid; grid-template-columns: 52px minmax(0, 1fr); gap: 14px; padding: 23px 0; border-top: 1px solid var(--line); }
.steps li:last-child { border-bottom: 1px solid var(--line); }
.step-number { color: var(--peach); font: 600 13px var(--heading); }
.steps h3 { margin-bottom: 6px; font-size: 21px; line-height: 1.25; }
.steps p { max-width: 380px; margin: 0; color: var(--muted); font-size: 13px; line-height: 1.65; }
.contact { border-top: 1px solid var(--line); background: #3A214C; }
.contact-grid { display: grid; grid-template-columns: minmax(0, .86fr) minmax(0, 1.14fr); gap: 10%; align-items: center; }
.contact-intro > p:not(.eyebrow) { max-width: 340px; margin-top: 24px; color: var(--muted); }
.contact-card { min-width: 0; padding: clamp(28px, 4vw, 50px); border: 1px solid var(--line); background: var(--panel); }
.contact-card-label { margin-bottom: 24px; color: var(--peach); font-size: 12px; font-weight: 800; letter-spacing: .11em; }
.contact-card h3 { margin-bottom: 12px; font-size: clamp(28px, 3vw, 38px); line-height: 1.15; }
.contact-card > p:not(.contact-card-label) { max-width: 400px; color: var(--muted); font-size: 14px; line-height: 1.7; }
.reveal-email { margin-top: 12px; }
.reveal-email[hidden] { display: none; }
.email-result { min-height: 28px; margin: 20px 0 0; }
.email-result:empty { display: none; }
.email-result a { color: var(--peach); text-decoration: underline; text-underline-offset: 4px; overflow-wrap: anywhere; }
.email-fallback { margin: 16px 0 0; }
.site-footer { border-top: 1px solid var(--line); }
.footer-inner { display: flex; align-items: center; gap: 30px; min-height: 114px; }
.footer-inner .wordmark { font-size: 24px; }
.footer-inner > span, .footer-email { color: var(--muted); font-size: 12px; }
.footer-email { text-decoration: underline; text-underline-offset: 3px; }
.footer-email:hover { color: var(--peach); }
.footer-inner > span:last-child { margin-left: auto; }
@media (max-width: 900px) {
  .header-action { display: none; }
  .hero { grid-template-columns: minmax(0, 1fr); gap: 34px; min-height: auto; padding-block: 78px 86px; }
  .hero-aside { width: min(100%, 540px); }
  h1 { max-width: 720px; font-size: clamp(52px, 8vw, 72px); }
  .approach-grid, .contact-grid { gap: 7%; }
}
@media (max-width: 700px) {
  .container { width: min(calc(100% - 40px), var(--max)); }
  .header-inner { min-height: 72px; gap: 12px; }
  .wordmark { font-size: 23px; }
  .main-nav { gap: 0; font-size: 12px; }
  .main-nav a { padding-inline: 9px; }
  .hero { gap: 24px; padding-block: 65px 72px; }
  h1 { font-size: clamp(44px, 10vw, 68px); }
  .hero-description { font-size: 15px; }
  .section-pad { padding-block: 72px; }
  .section-heading, .service-grid, .approach-grid, .contact-grid { grid-template-columns: minmax(0, 1fr); }
  .section-heading > p:last-child { margin: 18px 0 0; }
  .approach-intro, .contact-intro { margin-bottom: 36px; }
  .footer-inner { flex-wrap: wrap; gap: 8px 24px; min-height: auto; padding-block: 26px; }
  .footer-inner .wordmark { width: 100%; }
  .footer-inner > span:last-child { margin-left: 0; }
}
@media (max-width: 480px) {
  .hero { padding-top: 54px; }
  .hero-aside { padding: 18px; }
  .diagram-label, .diagram-code { font-size: 11px; }
  .diagram-node { min-height: 74px; }
  .diagram-node strong { font-size: 18px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; }
}