@import url('https://fonts.googleapis.com/css2?family=DM+Mono:wght@300;400;500&family=Manrope:wght@400;500;600;700&display=swap');

:root {
  --ink: #111110;
  --muted: #676762;
  --paper: #f6f5f0;
  --white: #ffffff;
  --line: #d9d8d1;
  --blue: #4f5fff;
  --blue-dark: #3443ed;
  --red: #e96750;
  --green: #21a36c;
  --radius: 22px;
  --container: 1180px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--paper); color: var(--ink); font-family: "Manrope", sans-serif; font-size: 16px; line-height: 1.6; -webkit-font-smoothing: antialiased; }
a { color: inherit; text-decoration: none; }
button { font: inherit; }
.container { width: min(calc(100% - 48px), var(--container)); margin: 0 auto; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
.skip-link { position: fixed; z-index: 100; top: 12px; left: 12px; transform: translateY(-150%); background: var(--ink); color: white; padding: 10px 16px; border-radius: 8px; }
.skip-link:focus { transform: translateY(0); }

.site-header { position: sticky; top: 0; z-index: 50; background: color-mix(in srgb, var(--paper) 90%, transparent); border-bottom: 1px solid transparent; backdrop-filter: blur(14px); transition: border-color .25s; }
.site-header.scrolled { border-color: var(--line); }
.nav-wrap { min-height: 78px; display: flex; align-items: center; justify-content: space-between; }
.brand { display: inline-flex; align-items: center; gap: 11px; font-weight: 700; letter-spacing: -.03em; }
.brand-mark { width: 30px; height: 30px; border-radius: 50%; object-fit: cover; box-shadow: 0 0 0 1px rgba(17,17,16,.08); }
.nav-menu { display: flex; align-items: center; gap: 22px; font-size: 14px; font-weight: 600; }
.nav-menu > a:not(.nav-cta) { color: #454542; }
.nav-menu > a:not(.nav-cta):hover { color: var(--blue); }
.nav-cta { padding: 10px 18px; background: var(--ink); color: white; border-radius: 999px; }
.language-switch { display: inline-flex; align-items: center; gap: 5px; color: #9a9a94; font: 10px "DM Mono", monospace; }
.language-button { padding: 4px 2px; border: 0; background: transparent; color: #777771; cursor: pointer; font: inherit; }
.language-button:hover, .language-button.active { color: var(--blue-dark); }
.menu-toggle { display: none; border: 0; background: transparent; padding: 8px; }

.hero { min-height: calc(100vh - 78px); display: flex; align-items: center; padding: 76px 0 96px; overflow: hidden; }
.hero-grid { display: grid; grid-template-columns: 1.05fr .95fr; align-items: center; gap: clamp(48px, 8vw, 110px); }
.eyebrow, .section-number { margin: 0 0 26px; font-family: "DM Mono", monospace; font-size: 12px; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.eyebrow { display: flex; align-items: center; gap: 10px; }
.eyebrow > span:first-child { width: 7px; height: 7px; flex: 0 0 auto; background: var(--blue); border-radius: 50%; box-shadow: 0 0 0 5px rgba(79,95,255,.11); }
h1, h2, h3, p { margin-top: 0; }
h1 { margin-bottom: 28px; font-size: clamp(48px, 6.4vw, 86px); line-height: .99; letter-spacing: -.07em; font-weight: 600; }
h1 em { color: var(--blue); font-style: normal; }
.hero-lead { max-width: 620px; margin-bottom: 34px; color: #4e4e49; font-size: clamp(18px, 2vw, 21px); line-height: 1.65; }
.hero-actions { display: flex; align-items: center; gap: 26px; flex-wrap: wrap; }
.button { display: inline-flex; align-items: center; justify-content: center; gap: 20px; padding: 15px 21px; border-radius: 12px; font-weight: 650; transition: transform .2s, background .2s; }
.button:hover { transform: translateY(-2px); }
.button-primary { background: var(--ink); color: white; }
.button-primary:hover { background: var(--blue-dark); }
.button-secondary { border: 1px solid #b9b8b1; background: rgba(255,255,255,.48); color: var(--ink); }
.button-secondary:hover { border-color: var(--ink); background: white; }
.text-link { font-size: 14px; font-weight: 650; border-bottom: 1px solid var(--ink); }
.microcopy { margin: 26px 0 0; max-width: 470px; color: #575752; font-size: 14px; line-height: 1.55; }

.process-visual { position: relative; background: var(--ink); color: white; border-radius: 30px; padding: 26px; box-shadow: 0 30px 80px rgba(17,17,16,.17); transform: rotate(1.5deg); }
.process-visual::before { content: ""; position: absolute; inset: -10px 20px 18px -10px; z-index: -1; border: 1px solid #bcbab0; border-radius: 30px; transform: rotate(-3deg); }
.visual-topline, .visual-footer { display: flex; justify-content: space-between; gap: 18px; font: 11px "DM Mono", monospace; color: #b4b4ae; text-transform: uppercase; letter-spacing: .08em; }
.status { color: #83e8b6; }
.status::before { content: ""; display: inline-block; width: 6px; height: 6px; margin-right: 7px; border-radius: 50%; background: #56db9a; }
.flow { padding: 34px 0; }
.flow-node { display: flex; align-items: center; gap: 15px; padding: 16px; border: 1px solid #3a3a38; border-radius: 14px; background: #1b1b1a; }
.node-icon { width: 36px; height: 36px; flex: 0 0 auto; display: grid; place-items: center; border-radius: 9px; background: #272725; color: #a8afff; font: 11px "DM Mono", monospace; }
.flow-node small { display: block; color: #a6a69f; font: 10px "DM Mono", monospace; text-transform: uppercase; letter-spacing: .08em; }
.flow-node strong { font-size: 14px; font-weight: 600; }
.connector { position: relative; height: 54px; margin-left: 33px; display: flex; align-items: center; }
.connector::before { content: ""; position: absolute; left: 0; top: 0; bottom: 0; border-left: 1px dashed #4e4e4a; }
.connector i { width: 7px; height: 7px; margin-left: -3px; background: var(--blue); border-radius: 50%; animation: travel 2.4s ease-in-out infinite; }
.connector span { margin-left: 18px; color: #9b9b95; font: 9px "DM Mono", monospace; text-transform: uppercase; }
.visual-footer { padding-top: 20px; border-top: 1px solid #353533; }
@keyframes travel { 0%, 100% { transform: translateY(-18px); } 50% { transform: translateY(18px); } }

.section { padding: 130px 0; border-top: 1px solid var(--line); }
.section-heading { max-width: 800px; margin-bottom: 64px; }
.section-heading h2 { margin-bottom: 24px; font-size: clamp(38px, 5vw, 62px); line-height: 1.08; letter-spacing: -.055em; font-weight: 600; }
.section-heading > p:last-child { max-width: 620px; color: var(--muted); font-size: 18px; }
.service-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.service-card { min-height: 250px; display: flex; flex-direction: column; gap: 22px; padding: 25px; border: 1px solid var(--line); border-radius: var(--radius); background: rgba(255,255,255,.52); }
.service-card-head { display: flex; align-items: center; justify-content: space-between; }
.service-icon { width: 32px; height: 32px; display: grid; place-items: center; border: 1px solid #cfcec7; border-radius: 9px; color: #4e4e49; font: 15px "DM Mono", monospace; }
.card-index { color: var(--blue); font: 11px "DM Mono", monospace; }
.service-card h3 { margin: 0 0 8px; font-size: 20px; line-height: 1.25; letter-spacing: -.03em; }
.service-card p { margin-bottom: 0; color: var(--muted); font-size: 14px; line-height: 1.6; }
.mini-flow { margin-top: auto; display: flex; align-items: center; gap: 7px; padding-top: 18px; border-top: 1px solid var(--line); color: #494944; font: 10px "DM Mono", monospace; line-height: 1.35; }
.mini-flow span { flex: 1 1 auto; }
.mini-flow i { color: var(--blue); font-style: normal; }
.service-card-wide { grid-column: span 2; position: relative; overflow: hidden; background: var(--blue); border-color: var(--blue); color: white; }
.service-card-wide:hover { background: var(--blue); border-color: var(--blue); color: white; }
.service-card-wide .card-index, .service-card-wide p { color: #dfe1ff; }
.service-card-wide .service-icon { border-color: rgba(255,255,255,.42); color: white; }
.wide-card-copy { max-width: 520px; }
.tool-flow { margin-top: auto; display: grid; grid-template-columns: 1fr auto 1.2fr auto 1fr; align-items: center; gap: 12px; }
.tool-flow > span { min-height: 62px; display: flex; flex-direction: column; justify-content: center; padding: 10px 12px; border: 1px solid rgba(255,255,255,.32); border-radius: 12px; background: rgba(255,255,255,.08); font-size: 12px; font-weight: 600; }
.tool-flow > span small { display: block; margin-bottom: 2px; color: #cbd0ff; font: 9px "DM Mono", monospace; text-transform: uppercase; letter-spacing: .06em; }
.tool-flow > i { color: white; font-style: normal; }
.tool-flow .tool-flow-core { background: white; color: var(--blue-dark); border-color: white; }
.tool-flow .tool-flow-core small { color: #6874df; }
.tool-flow b { font: inherit; }

.process { background: var(--ink); color: white; }
.process-layout { display: grid; grid-template-columns: .8fr 1.2fr; gap: 100px; align-items: start; }
.sticky-heading { position: sticky; top: 120px; margin-bottom: 0; }
.process .section-number, .process .section-heading > p:last-child { color: #999994; }
.steps { margin: 0; padding: 0; list-style: none; }
.steps li { display: grid; grid-template-columns: 54px 1fr; gap: 28px; padding: 42px 0; border-top: 1px solid #393937; }
.steps li:last-child { border-bottom: 1px solid #393937; }
.steps > li > span { color: #9a9a94; font: 12px "DM Mono", monospace; }
.steps h3 { margin-bottom: 12px; font-size: 25px; letter-spacing: -.035em; }
.steps p { margin: 0; max-width: 520px; color: #a8a8a2; }

.about { background: white; }
.about-layout { display: grid; grid-template-columns: .72fr 1.28fr; gap: clamp(60px, 10vw, 130px); align-items: start; }
.about-heading { position: sticky; top: 120px; }
.about-heading h2 { margin-bottom: 24px; font-size: clamp(44px, 5.4vw, 68px); line-height: 1; letter-spacing: -.06em; font-weight: 600; }
.about-signature { width: fit-content; margin: 0; padding: 9px 13px; border-radius: 999px; background: #edeefe; color: var(--blue-dark); font: 11px "DM Mono", monospace; letter-spacing: .02em; }
.about-copy { position: relative; padding: 6px 0 4px 38px; border-left: 2px solid var(--blue); }
.about-copy p { margin-bottom: 24px; color: #4f4f4a; font-size: 18px; line-height: 1.75; }
.about-copy p:first-child { color: var(--ink); font-size: 24px; line-height: 1.45; font-weight: 600; letter-spacing: -.025em; }
.about-copy p:last-child { margin-bottom: 0; }

.section-heading-row { max-width: none; display: grid; grid-template-columns: 1.3fr .7fr; gap: 100px; align-items: end; }
.section-heading-row > p { margin-bottom: 24px; }
.case-header { display: flex; align-items: center; gap: 22px; margin-bottom: 16px; padding: 18px 22px; border: 1px solid var(--line); border-radius: 16px; background: white; }
.case-type { flex: 0 0 auto; padding: 7px 10px; border-radius: 999px; background: #edeefe; color: var(--blue-dark); font: 10px "DM Mono", monospace; text-transform: uppercase; letter-spacing: .06em; }
.case-header strong { font-size: 17px; }
.case-header p { margin: 2px 0 0; color: #60605a; font-size: 14px; }
.case-flow-grid { display: grid; grid-template-columns: 1fr 74px 1fr; align-items: center; }
.case-lane { padding: 32px; border-radius: 24px; }
.case-before { background: #eceae3; border: 1px solid #d3d0c5; }
.case-after { background: #171716; border: 1px solid #171716; color: white; box-shadow: 0 20px 60px rgba(17,17,16,.13); }
.case-lane-heading { display: flex; align-items: center; gap: 14px; margin-bottom: 26px; }
.lane-dot { width: 11px; height: 11px; flex: 0 0 auto; border-radius: 50%; background: var(--red); box-shadow: 0 0 0 6px rgba(233,103,80,.11); }
.case-after .lane-dot { background: #62dea2; box-shadow: 0 0 0 6px rgba(98,222,162,.11); }
.case-lane-heading small { display: block; margin-bottom: 2px; color: #6d6d67; font: 10px "DM Mono", monospace; text-transform: uppercase; letter-spacing: .08em; }
.case-after .case-lane-heading small { color: #aaa9a3; }
.case-lane-heading h3 { margin: 0; font-size: 24px; letter-spacing: -.035em; }
.case-lane ol { margin: 0; padding: 0; list-style: none; }
.case-lane li { position: relative; display: grid; grid-template-columns: 34px 1fr; gap: 14px; min-height: 78px; padding-bottom: 16px; }
.case-lane li:last-child { min-height: auto; padding-bottom: 0; }
.case-lane li:not(:last-child)::before { content: ""; position: absolute; left: 16px; top: 34px; bottom: 0; border-left: 1px dashed #bbb8ae; }
.case-after li:not(:last-child)::before { border-color: #494946; }
.step-number { position: relative; z-index: 1; width: 34px; height: 34px; display: grid; place-items: center; border: 1px solid #c9c6bb; border-radius: 10px; background: var(--paper); color: #6a6963; font: 10px "DM Mono", monospace; }
.case-after .step-number { border-color: #444441; background: #242423; color: #b7b7b0; }
.case-lane li strong { display: block; margin: 3px 0 3px; font-size: 15px; line-height: 1.35; }
.case-lane li small { display: block; color: #686862; font-size: 12px; line-height: 1.45; }
.case-after li small { color: #a6a69f; }
.flow-shift { display: flex; flex-direction: column; align-items: center; gap: 6px; color: #767670; font: 8px "DM Mono", monospace; text-transform: uppercase; letter-spacing: .06em; text-align: center; }
.flow-shift i { color: var(--blue); font: 24px/1 "Manrope", sans-serif; }
.example-footer { display: flex; align-items: center; justify-content: space-between; gap: 24px; margin-top: 22px; }
.example-note { margin: 0; color: #60605a; font-size: 13px; }
.demo-link-button { flex: 0 0 auto; border: 1px solid var(--ink); background: transparent; color: var(--ink); }
.demo-link-button:hover { background: var(--ink); color: white; }

.faq-layout { display: grid; grid-template-columns: .72fr 1.28fr; gap: 100px; align-items: start; }
.faq-list { border-top: 1px solid var(--ink); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { display: flex; justify-content: space-between; align-items: center; gap: 24px; padding: 26px 0; cursor: pointer; list-style: none; font-size: 18px; font-weight: 600; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary .faq-question { color: var(--ink); font: inherit; }
.faq summary .faq-icon { color: var(--blue); font: 24px/1 "DM Mono", monospace; transition: transform .25s; }
.faq details[open] summary .faq-icon { transform: rotate(45deg); }
.faq details p { max-width: 630px; padding: 0 42px 25px 0; color: var(--muted); }

.tailored-demo { background: #eeede7; }
.tailored-card { padding: clamp(34px, 5vw, 62px); border: 1px solid #d4d2ca; border-radius: 28px; background: rgba(255,255,255,.72); }
.tailored-grid { display: grid; grid-template-columns: .82fr 1.18fr; gap: clamp(42px, 8vw, 100px); align-items: center; }
.tailored-grid h2 { margin-bottom: 0; font-size: clamp(34px, 4vw, 52px); line-height: 1.08; letter-spacing: -.05em; }
.tailored-copy > p { margin-bottom: 13px; color: #555550; font-size: 17px; }
.tailored-note { color: #74746e !important; font-size: 13px !important; }
.tailored-button { margin-top: 10px; background: var(--ink); color: white; text-align: center; }
.tailored-button:hover { background: var(--blue-dark); }

.final-cta { padding: 130px 0; background: var(--blue); color: white; text-align: center; }
.cta-inner { max-width: 900px; }
.eyebrow-light { justify-content: center; color: #d8dbff; }
.eyebrow-light > span:first-child { background: white; box-shadow: 0 0 0 5px rgba(255,255,255,.15); }
.final-cta h2 { margin-bottom: 22px; font-size: clamp(46px, 6.5vw, 80px); line-height: 1.03; letter-spacing: -.065em; }
.final-cta p:not(.eyebrow) { margin-bottom: 35px; color: #e0e2ff; font-size: 20px; }
.button-light { background: white; color: var(--ink); }
.email-link { display: block; width: fit-content; margin: 28px auto 0; border-bottom: 1px solid rgba(255,255,255,.5); color: white; font: 13px "DM Mono", monospace; }
.instagram-link { display: block; width: fit-content; margin: 12px auto 0; color: #d8dbff; font: 13px "DM Mono", monospace; opacity: .85; }
.instagram-link:hover { opacity: 1; }
.footer { padding: 50px 0; background: var(--ink); color: white; }
.footer-inner { display: flex; justify-content: space-between; gap: 40px; }
.footer-brand .brand-mark { box-shadow: 0 0 0 1px rgba(255,255,255,.18); }
.footer p { margin: 12px 0 0; color: #aaa9a3; font-size: 13px; }
.footer .footer-owner { margin-top: 5px; color: #d2d2cd; }
.footer-right { display: flex; flex-direction: column; align-items: flex-end; gap: 4px; text-align: right; font-size: 14px; }
.footer-right a { color: white; }
.footer-instagram { color: #aaa9a3; font-size: 13px; }
.footer-instagram:hover { color: white; }

.reveal { opacity: 0; transform: translateY(18px); transition: opacity .7s ease, transform .7s ease; }
.reveal.visible { opacity: 1; transform: translateY(0); }
:focus-visible { outline: 3px solid #8791ff; outline-offset: 4px; }

@media (max-width: 900px) {
  .container { width: min(calc(100% - 34px), var(--container)); }
  .nav-menu { gap: 13px; }
  .nav-cta { padding: 9px 14px; font-size: 13px; }
  .hero { min-height: auto; padding-top: 64px; }
  .hero-grid, .process-layout, .about-layout, .faq-layout { grid-template-columns: 1fr; gap: 58px; }
  .process-visual { max-width: 590px; width: 100%; margin: 0 auto; }
  .service-grid { grid-template-columns: repeat(2, 1fr); }
  .service-card-wide { grid-column: span 2; }
  .sticky-heading { position: static; }
  .about-heading { position: static; }
  .section-heading-row { grid-template-columns: 1fr; gap: 10px; }
  .section-heading-row > p { max-width: 560px; }
  .tailored-grid { grid-template-columns: 1fr; }
}

@media (max-width: 680px) {
  .nav-wrap { min-height: 68px; }
  .menu-toggle { position: relative; z-index: 2; display: grid; gap: 6px; }
  .menu-toggle > span:not(.sr-only) { display: block; width: 24px; border-top: 2px solid var(--ink); transition: transform .2s; }
  .menu-toggle[aria-expanded="true"] > span:nth-child(2) { transform: translateY(4px) rotate(45deg); }
  .menu-toggle[aria-expanded="true"] > span:nth-child(3) { transform: translateY(-4px) rotate(-45deg); }
  .nav-menu { display: none; position: absolute; inset: 68px 0 auto; padding: 24px 17px 28px; flex-direction: column; align-items: stretch; gap: 18px; background: var(--paper); border-bottom: 1px solid var(--line); }
  .nav-menu.open { display: flex; }
  .language-switch { justify-content: center; padding: 4px 0; }
  .nav-cta { text-align: center; }
  .hero { padding: 52px 0 76px; }
  h1 { font-size: clamp(43px, 13vw, 64px); }
  .hero-lead { font-size: 17px; }
  .hero-actions { align-items: flex-start; flex-direction: column; }
  .process-visual { padding: 20px; border-radius: 22px; transform: none; }
  .visual-footer span:nth-child(2) { display: none; }
  .section { padding: 88px 0; }
  .section-heading { margin-bottom: 44px; }
  .section-heading h2 { font-size: 38px; }
  .service-grid { grid-template-columns: 1fr; }
  .service-card, .service-card-wide { grid-column: auto; min-height: 0; }
  .mini-flow { margin-top: 8px; }
  .tool-flow { grid-template-columns: 1fr; gap: 7px; }
  .tool-flow > i { transform: rotate(90deg); text-align: center; line-height: 1; }
  .process-layout, .faq-layout { gap: 38px; }
  .about-layout { gap: 34px; }
  .about-copy { padding-left: 24px; }
  .about-copy p { font-size: 16px; }
  .about-copy p:first-child { font-size: 21px; }
  .steps li { grid-template-columns: 38px 1fr; gap: 14px; }
  .case-header { align-items: flex-start; flex-direction: column; gap: 12px; }
  .case-flow-grid { grid-template-columns: 1fr; }
  .case-lane { padding: 25px 22px; }
  .flow-shift { min-height: 76px; justify-content: center; }
  .flow-shift i { transform: rotate(90deg); }
  .example-footer { align-items: flex-start; flex-direction: column; }
  .final-cta { padding: 90px 0; }
  .footer-inner { flex-direction: column; }
  .footer-right { align-items: flex-start; text-align: left; }
}

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