:root {
  --ink: #0a2540;
  --ink-2: #1f3a56;
  --muted: #506883;
  --muted-2: #6f86a1;
  --line: #dce6ee;
  --paper: #ffffff;
  --mist: #f5f8fb;
  --violet: #635bff;
  --violet-dark: #4f46e5;
  --cyan: #09b8e9;
  --lime: #32d583;
  --shadow-sm: 0 12px 32px rgba(32, 55, 84, 0.08);
  --shadow-lg: 0 32px 80px rgba(22, 52, 84, 0.18);
  --radius-lg: 28px;
  --font: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; color: var(--ink); background: var(--paper); font-family: var(--font); font-size: 16px; line-height: 1.55; overflow-x: hidden; }
button, input, select, textarea { font: inherit; }
a { color: inherit; }
img { max-width: 100%; display: block; }

.shell { width: min(1160px, calc(100% - 40px)); margin-inline: 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(-160%); padding: 10px 14px; color: white; background: var(--ink); border-radius: 8px; text-decoration: none; transition: transform 160ms ease; }
.skip-link:focus { transform: translateY(0); }

.site-header { position: absolute; z-index: 10; top: 0; width: 100%; padding: 20px 0; }
.header-inner { min-height: 48px; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand { display: inline-flex; align-items: center; gap: 9px; font-size: 1.04rem; font-weight: 760; letter-spacing: -0.045em; text-decoration: none; }
.brand-logo { width: 57px; height: 30px; object-fit: cover; object-position: center; }
.main-nav { display: flex; align-items: center; gap: 26px; font-size: 0.9rem; font-weight: 620; }
.main-nav > a:not(.button) { color: var(--ink-2); text-decoration: none; transition: color 160ms ease; }
.main-nav > a:not(.button):hover { color: var(--violet); }
.menu-toggle { display: none; width: 44px; height: 44px; padding: 0; border: 0; color: var(--ink); background: transparent; cursor: pointer; }
.menu-toggle span:not(.sr-only) { display: block; width: 23px; height: 2px; margin: 5px auto; background: currentColor; border-radius: 2px; transition: transform 180ms ease; }

.button { display: inline-flex; align-items: center; justify-content: center; gap: 9px; min-height: 48px; padding: 12px 20px; border: 1px solid var(--violet); border-radius: 999px; color: #fff; background: var(--violet); box-shadow: 0 8px 20px rgba(99, 91, 255, 0.23); font-size: 0.92rem; font-weight: 700; text-decoration: none; cursor: pointer; transition: background 180ms ease, border-color 180ms ease, transform 180ms ease, box-shadow 180ms ease; }
.button:hover { background: var(--violet-dark); border-color: var(--violet-dark); box-shadow: 0 12px 26px rgba(79, 70, 229, 0.28); transform: translateY(-2px); }
.button:focus-visible, .main-nav a:focus-visible, .text-link:focus-visible, .inline-link:focus-visible, .contact-email:focus-visible, .footer-links a:focus-visible { outline: 3px solid rgba(99, 91, 255, 0.32); outline-offset: 4px; }
.button-small { min-height: 40px; padding: 8px 15px; font-size: 0.84rem; }

.hero { position: relative; min-height: 740px; padding: 170px 0 98px; isolation: isolate; overflow: hidden; background: linear-gradient(140deg, #fff 2%, #f8faff 54%, #f3f7ff 100%); }
.hero::after { content: ""; position: absolute; z-index: -1; top: 0; left: 50%; width: 1px; height: 100%; background: linear-gradient(transparent 4%, rgba(91, 110, 147, 0.08) 22%, transparent 92%); }
.hero-grid { display: grid; grid-template-columns: 0.93fr 1.07fr; align-items: center; gap: 52px; }
.hero-copy { position: relative; z-index: 2; padding-bottom: 32px; }
.eyebrow, .section-kicker { margin: 0 0 18px; color: var(--violet-dark); font-size: 0.76rem; font-weight: 790; letter-spacing: 0.09em; text-transform: uppercase; }
.eyebrow { display: inline-flex; align-items: center; gap: 9px; }
.eyebrow-pip { width: 8px; height: 8px; border-radius: 50%; background: var(--lime); box-shadow: 0 0 0 4px rgba(50, 213, 131, 0.14); }
h1, h2, h3, p { margin-top: 0; }
h1 { max-width: 580px; margin-bottom: 23px; font-size: clamp(3.2rem, 5.8vw, 5.6rem); line-height: 0.98; letter-spacing: -0.073em; font-weight: 760; }
h1 span { color: var(--violet); }
.hero-text { max-width: 515px; margin-bottom: 30px; color: var(--muted); font-size: 1.12rem; line-height: 1.66; }
.hero-actions { display: flex; align-items: center; flex-wrap: wrap; gap: 22px; }
.text-link, .inline-link { display: inline-flex; align-items: center; gap: 8px; color: var(--ink); font-size: 0.93rem; font-weight: 720; text-decoration: none; }
.text-link:hover, .inline-link:hover { color: var(--violet); }
.text-link span, .inline-link span, .contact-email span { transition: transform 160ms ease; }
.text-link:hover span, .inline-link:hover span, .contact-email:hover span { transform: translateY(2px); }
.hero-note { display: flex; align-items: center; gap: 9px; margin-top: 39px; color: var(--muted); font-size: 0.85rem; font-weight: 600; }
.availability-dot { width: 8px; height: 8px; border-radius: 50%; background: #1bb96a; box-shadow: 0 0 0 4px rgba(27, 185, 106, 0.13); }
.hero-orb { position: absolute; z-index: -1; border-radius: 50%; filter: blur(4px); opacity: 0.74; }
.hero-orb-violet { top: 75px; right: -120px; width: 440px; height: 440px; background: radial-gradient(circle, rgba(172, 138, 255, 0.36), rgba(172, 138, 255, 0) 70%); }
.hero-orb-cyan { bottom: -230px; left: 22%; width: 420px; height: 420px; background: radial-gradient(circle, rgba(104, 220, 250, 0.26), rgba(104, 220, 250, 0) 70%); }

.hero-art { position: relative; width: min(100%, 584px); justify-self: end; padding: 22px 0 34px; }
.art-glow { position: absolute; top: 12%; left: 8%; width: 76%; aspect-ratio: 1; border-radius: 42% 58% 64% 36% / 49% 35% 65% 51%; background: linear-gradient(135deg, rgba(108, 91, 255, 0.22), rgba(41, 199, 242, 0.16)); filter: blur(22px); transform: rotate(-10deg); }
.browser-card { position: relative; overflow: hidden; border: 7px solid rgba(255, 255, 255, 0.88); border-radius: 19px; background: white; box-shadow: var(--shadow-lg); transform: perspective(1300px) rotateY(-7deg) rotateX(3deg) rotateZ(-1deg); transform-origin: 50% 50%; }
.browser-topbar { display: flex; align-items: center; gap: 5px; height: 32px; padding: 0 11px; border-bottom: 1px solid #e7edf5; background: rgba(250, 251, 255, 0.97); }
.browser-topbar span { width: 7px; height: 7px; border-radius: 50%; background: #cbd6e1; }
.browser-topbar span:first-child { background: #ff8d81; }
.browser-topbar span:nth-child(2) { background: #f9c45c; }
.browser-topbar span:nth-child(3) { background: #80d995; }
.browser-canvas { position: relative; min-height: 380px; overflow: hidden; padding: 28px; color: white; background: #1c2251; }
.browser-canvas::after { content: ""; position: absolute; inset: 0; background: linear-gradient(105deg, rgba(16, 20, 63, 0.87) 0%, rgba(25, 25, 80, 0.66) 47%, rgba(25, 25, 80, 0.1) 78%); }
.browser-canvas img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center; opacity: 0.82; }
.browser-label, .browser-lines, .browser-copy { position: relative; z-index: 1; }
.browser-label { display: grid; place-items: center; width: 31px; height: 31px; margin-bottom: 34px; border-radius: 9px; background: #9a7dff; font-family: Georgia, serif; font-weight: 700; }
.browser-lines { display: flex; gap: 5px; margin-bottom: 18px; }
.browser-lines span { width: 34px; height: 5px; border-radius: 99px; background: #68dcfa; }
.browser-lines span:nth-child(2) { width: 19px; background: #a58cff; }
.browser-lines span:nth-child(3) { width: 12px; background: #fff; }
.browser-copy { max-width: 320px; font-size: clamp(1.85rem, 3vw, 2.65rem); line-height: 1.04; letter-spacing: -0.056em; font-weight: 690; }
.float-card { position: absolute; z-index: 2; display: flex; align-items: center; gap: 10px; padding: 11px 15px 11px 11px; border: 1px solid rgba(255, 255, 255, 0.92); border-radius: 12px; color: var(--ink); background: rgba(255, 255, 255, 0.91); box-shadow: var(--shadow-sm); backdrop-filter: blur(10px); }
.float-card strong, .float-card small { display: block; }
.float-card strong { font-size: 0.78rem; line-height: 1.3; }
.float-card small { color: var(--muted); font-size: 0.69rem; }
.float-card-top { top: 9%; right: -31px; }
.float-card-bottom { bottom: 2px; left: -38px; }
.card-icon { display: grid; place-items: center; width: 33px; height: 33px; border-radius: 9px; }
.card-icon svg { width: 19px; height: 19px; }
.card-icon-violet { color: #5d51ed; background: #eeecff; }
.card-icon-cyan { color: #0089b8; background: #dff8ff; }

.proof-strip { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: #fcfdff; }
.proof-items { display: flex; justify-content: center; align-items: center; gap: clamp(16px, 4vw, 54px); min-height: 78px; color: var(--muted); font-size: 0.86rem; font-weight: 700; }
.proof-items p { margin: 0; }
.proof-items > span { width: 4px; height: 4px; border-radius: 50%; background: var(--violet); }

.section { padding: 128px 0; }
.section-tint { background: var(--mist); }
.intro { padding-block: 142px; }
.intro-grid { display: grid; grid-template-columns: 0.55fr 1.45fr; gap: 8%; }
.intro-content { max-width: 720px; }
h2 { margin-bottom: 25px; font-size: clamp(2.35rem, 4.3vw, 4.3rem); line-height: 1.035; letter-spacing: -0.065em; font-weight: 750; }
.intro-content p, .showcase-copy > p, .contact-copy > p { max-width: 655px; margin-bottom: 28px; color: var(--muted); font-size: 1.08rem; line-height: 1.7; }
.inline-link { padding-bottom: 5px; border-bottom: 1px solid currentColor; }
.section-heading { display: grid; grid-template-columns: 0.55fr 1.45fr; gap: 8%; align-items: start; margin-bottom: 55px; }
.section-heading h2 { margin: 0; }
.service-list { border-top: 1px solid #cedbe7; }
.service-row { display: grid; grid-template-columns: 72px 60px 1fr 24px; align-items: center; gap: 18px; min-height: 145px; padding: 25px 8px 25px 0; border-bottom: 1px solid #cedbe7; transition: padding 180ms ease; }
.service-row:hover { padding-left: 12px; padding-right: 0; }
.service-number { align-self: start; padding-top: 8px; color: var(--muted-2); font-size: 0.8rem; font-weight: 750; }
.service-icon { display: grid; place-items: center; width: 45px; height: 45px; border-radius: 13px; color: var(--violet); background: #ebeaff; }
.service-icon svg { width: 24px; height: 24px; }
.service-row h3 { margin: 0 0 4px; font-size: 1.3rem; letter-spacing: -0.035em; }
.service-row p { max-width: 490px; margin: 0; color: var(--muted); font-size: 0.96rem; }
.service-arrow { justify-self: end; color: var(--violet); font-size: 1.35rem; transition: transform 180ms ease; }
.service-row:hover .service-arrow { transform: translate(3px, -3px); }

.showcase-grid { display: grid; grid-template-columns: 1fr 0.9fr; align-items: center; gap: clamp(44px, 8vw, 110px); }
.showcase-art { position: relative; }
.showcase-image-wrap { overflow: hidden; border-radius: var(--radius-lg); background: #edf1f7; box-shadow: var(--shadow-sm); }
.showcase-image-wrap img { width: 100%; aspect-ratio: 1.14; object-fit: cover; }
.showcase-chip { position: absolute; right: -20px; bottom: 28px; display: flex; align-items: center; gap: 9px; padding: 12px 15px; border: 1px solid white; border-radius: 999px; color: var(--ink); background: rgba(255, 255, 255, 0.93); box-shadow: var(--shadow-sm); font-size: 0.79rem; font-weight: 750; }
.showcase-chip > span { width: 8px; height: 8px; border-radius: 50%; background: var(--lime); }
.check-list { display: grid; gap: 13px; padding: 0; margin: 35px 0 0; list-style: none; color: var(--ink-2); font-size: 0.94rem; font-weight: 620; }
.check-list li { display: flex; align-items: center; gap: 10px; }
.check-list span { display: grid; place-items: center; width: 20px; height: 20px; border-radius: 50%; color: #087b45; background: #dcf9ea; font-size: 0.75rem; }

.section-ink { color: #fff; background: var(--ink); }
.section-kicker-light { color: #a59fff; }
.process-heading { display: flex; justify-content: space-between; gap: 40px; margin-bottom: 70px; }
.process-heading h2 { margin: 0; }
.process-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; padding: 0; margin: 0; list-style: none; counter-reset: process; }
.process-grid li { min-height: 250px; padding: 25px 25px 29px; border: 1px solid rgba(202, 218, 239, 0.18); border-radius: 17px; background: rgba(255, 255, 255, 0.045); transition: border-color 180ms ease, background 180ms ease, transform 180ms ease; }
.process-grid li:hover { border-color: rgba(157, 147, 255, 0.72); background: rgba(103, 91, 255, 0.12); transform: translateY(-4px); }
.process-grid span { display: block; margin-bottom: 52px; color: #a8a7ff; font-size: 0.82rem; font-weight: 780; }
.process-grid h3 { margin-bottom: 8px; font-size: 1.28rem; letter-spacing: -0.035em; }
.process-grid p { margin: 0; color: #bdcad8; font-size: 0.91rem; line-height: 1.58; }

.contact { position: relative; overflow: hidden; background: #f8faff; }
.contact-gradient { position: absolute; inset: auto -10% -270px auto; width: 720px; height: 630px; border-radius: 50%; background: radial-gradient(circle, rgba(116, 105, 255, 0.17), rgba(116, 105, 255, 0) 68%); }
.contact-grid { position: relative; display: grid; grid-template-columns: 0.86fr 1.14fr; align-items: start; gap: 80px; }
.contact-copy { padding-top: 23px; }
.contact-email { display: inline-flex; align-items: center; gap: 8px; padding-bottom: 4px; border-bottom: 1px solid var(--ink); color: var(--ink); font-weight: 720; text-decoration: none; }
.project-form { padding: 33px; border: 1px solid rgba(211, 222, 233, 0.84); border-radius: 18px; background: #fff; box-shadow: var(--shadow-sm); }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-field { margin-bottom: 18px; }
.form-field label { display: block; margin-bottom: 7px; color: var(--ink-2); font-size: 0.82rem; font-weight: 720; }
.form-field label span { color: var(--muted-2); font-weight: 540; }
.form-field input, .form-field select, .form-field textarea { width: 100%; min-height: 47px; padding: 11px 12px; border: 1px solid #ccd8e4; border-radius: 8px; color: var(--ink); outline: none; background: #fff; font-size: 0.94rem; transition: border-color 160ms ease, box-shadow 160ms ease; }
.form-field textarea { min-height: 118px; resize: vertical; }
.form-field input:focus, .form-field select:focus, .form-field textarea:focus { border-color: var(--violet); box-shadow: 0 0 0 4px rgba(99, 91, 255, 0.13); }
.form-field textarea::placeholder { color: #91a2b4; }
.form-submit { width: 100%; margin-top: 4px; }
.form-note, .form-status { margin: 13px 0 0; font-size: 0.76rem; line-height: 1.55; }
.form-note { color: var(--muted-2); }
.form-note a { color: var(--ink-2); }
.form-status { min-height: 0; color: #087b45; font-weight: 650; }
.form-status.is-error { color: #b42318; }
.hidden-field { position: absolute; left: -10000px; overflow: hidden; width: 1px; height: 1px; }

.site-footer { background: var(--ink); color: white; }
.footer-main { display: grid; grid-template-columns: 1fr 1fr auto; align-items: center; gap: 30px; min-height: 135px; border-bottom: 1px solid rgba(209, 223, 239, 0.16); }
.footer-brand .brand-logo { filter: invert(1); }
.footer-main p { margin: 0; color: #b7c7d7; font-size: 0.88rem; }
.footer-links { display: flex; align-items: center; gap: 20px; }
.footer-links a { color: #b7c7d7; font-size: 0.82rem; text-decoration: none; }
.footer-links a:hover { color: white; }
.footer-bottom { display: flex; justify-content: space-between; gap: 20px; padding-block: 18px; color: #849ab0; font-size: 0.74rem; }

.legal-page { min-height: 100vh; background: var(--mist); }
.legal-header { padding: 22px 0; background: white; border-bottom: 1px solid var(--line); }
.legal-header .shell { display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.legal-header a:not(.brand) { color: var(--muted); font-size: 0.86rem; font-weight: 650; text-decoration: none; }
.legal-header a:not(.brand):hover { color: var(--violet); }
.legal-content { width: min(820px, calc(100% - 40px)); margin: 0 auto; padding: 85px 0 105px; }
.legal-content h1 { margin-bottom: 20px; font-size: clamp(2.8rem, 6vw, 4.8rem); }
.legal-content h2 { margin: 58px 0 13px; font-size: 1.38rem; letter-spacing: -0.035em; }
.legal-content h3 { margin: 27px 0 8px; font-size: 1.02rem; letter-spacing: -0.02em; }
.legal-content p, .legal-content li { color: var(--muted); }
.legal-content ul { padding-left: 20px; }
.legal-content a { color: var(--violet-dark); }
.legal-card, .legal-notice { padding: 21px 23px; border-radius: 13px; }
.legal-card { margin: 16px 0 20px; border: 1px solid var(--line); background: white; box-shadow: 0 8px 24px rgba(32, 55, 84, 0.04); }
.legal-card p:last-child { margin-bottom: 0; }
.legal-card p { color: var(--ink-2); }
.legal-notice { margin: 28px 0; border: 1px solid #f1d377; color: #765d0b; background: #fff8dd; font-size: 0.89rem; }
.legal-notice strong { color: #5d4703; }
.back-link { display: inline-flex; align-items: center; gap: 8px; margin-top: 38px; color: var(--ink); border-bottom: 1px solid currentColor; font-size: 0.9rem; font-weight: 710; text-decoration: none; }

.reveal { opacity: 0; transform: translateY(18px); transition: opacity 520ms ease, transform 520ms cubic-bezier(.2, .7, .2, 1); }
.reveal.is-visible { opacity: 1; transform: translateY(0); }

@media (max-width: 900px) {
  .hero { min-height: unset; padding-top: 148px; }
  .hero-grid, .showcase-grid, .contact-grid { grid-template-columns: 1fr; }
  .hero-art { width: min(84vw, 590px); justify-self: center; margin-top: 5px; }
  .intro-grid, .section-heading { grid-template-columns: 1fr; gap: 5px; }
  .process-heading { display: block; }
  .process-heading h2 { margin-top: 20px; }
  .contact-copy { padding-top: 0; }
  .project-form { max-width: 670px; width: 100%; }
  .contact-grid { gap: 40px; }
}

@media (max-width: 700px) {
  .shell { width: min(100% - 32px, 1160px); }
  .site-header { padding: 14px 0; }
  .main-nav { position: absolute; top: 62px; right: 16px; left: 16px; display: grid; gap: 1px; padding: 9px; border: 1px solid #d9e2ee; border-radius: 14px; background: rgba(255, 255, 255, 0.98); box-shadow: var(--shadow-sm); opacity: 0; pointer-events: none; transform: translateY(-8px); transition: opacity 160ms ease, transform 160ms ease; }
  .main-nav.is-open { opacity: 1; pointer-events: auto; transform: translateY(0); }
  .main-nav > a:not(.button) { min-height: 44px; display: flex; align-items: center; padding-inline: 10px; }
  .main-nav .button { margin-top: 6px; }
  .menu-toggle { display: block; }
  .menu-toggle.is-open span:not(.sr-only):first-of-type { transform: translateY(3.5px) rotate(45deg); }
  .menu-toggle.is-open span:not(.sr-only):last-of-type { transform: translateY(-3.5px) rotate(-45deg); }
  .hero { padding: 123px 0 67px; }
  h1 { font-size: clamp(3.15rem, 14vw, 4.7rem); }
  h2 { font-size: clamp(2.35rem, 11vw, 3.5rem); }
  .hero-text { font-size: 1rem; }
  .hero-art { width: 100%; padding-top: 10px; }
  .browser-card { border-width: 5px; transform: none; }
  .browser-canvas { min-height: 310px; padding: 23px; }
  .float-card-top { top: 3%; right: -4px; }
  .float-card-bottom { bottom: -17px; left: -3px; }
  .proof-items { gap: 11px; min-height: 65px; font-size: 0.7rem; text-align: center; }
  .proof-items > span { width: 3px; height: 3px; }
  .section, .intro { padding-block: 84px; }
  .section-heading { margin-bottom: 36px; }
  .service-row { grid-template-columns: 40px 45px 1fr; gap: 12px; min-height: 126px; }
  .service-arrow { display: none; }
  .service-row h3 { font-size: 1.1rem; }
  .service-row p { font-size: 0.86rem; }
  .showcase-grid { gap: 56px; }
  .showcase-chip { right: 8px; bottom: -19px; }
  .process-heading { margin-bottom: 40px; }
  .process-grid { grid-template-columns: 1fr; gap: 12px; }
  .process-grid li { min-height: auto; padding: 22px; }
  .process-grid span { margin-bottom: 31px; }
  .form-row { grid-template-columns: 1fr; gap: 0; }
  .project-form { padding: 22px 18px; }
  .footer-main { grid-template-columns: 1fr; align-content: center; gap: 14px; padding-block: 26px; }
  .footer-bottom { flex-direction: column; gap: 4px; }
  .legal-content { width: min(100% - 32px, 820px); padding-block: 58px 75px; }
}

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