/* Homepage finishing layer: specific, white, and editorial without hiding the work. */
:root {
  --violet: #6558d8;
  --violet-deep: #4e43ba;
  --violet-soft: #f2f0ff;
  --soft-ink: #272532;
}

body { background: #fff; }
.site-header { border-bottom-color: rgba(32, 31, 43, .09); }
.site-nav a { font-size: 12px; letter-spacing: .01em; }

.hero { position: relative; isolation: isolate; min-height: 0; padding: clamp(54px, 5vw, 78px) 0 64px; grid-template-columns: minmax(0, 1.48fr) minmax(280px, .52fr); gap: clamp(42px, 6vw, 88px); overflow: hidden; }
.hero::before { content: ""; position: absolute; z-index: -1; width: min(48vw, 650px); aspect-ratio: 1; right: -15vw; bottom: -29vw; border: 1px solid #e8e5ff; border-radius: 50%; background: radial-gradient(circle, rgba(92,192,246,.13) 0%, rgba(171,148,255,.09) 35%, transparent 70%); filter: blur(2px); pointer-events: none; }
.hero::after { content: ""; position: absolute; z-index: -1; right: 3%; bottom: 16%; width: 9px; height: 9px; border-radius: 50%; background: #4cbff2; box-shadow: 26px -58px 0 #bdb7ff, -78px 34px 0 #e4e1ff; opacity: .7; pointer-events: none; }
.hero-copy { position: relative; z-index: 1; }
.hero-title { max-width: 850px; font-size: clamp(48px, 5.4vw, 74px); line-height: 1.025; letter-spacing: -.045em; }
.hero-emphasis { color: var(--violet); }
.hero-intro { max-width: 650px; margin-top: 30px; font-size: clamp(17px, 1.45vw, 20px); line-height: 1.65; }
.hero-actions { margin-top: 36px; }
.hero-capabilities { max-width: 710px; margin: 30px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; list-style: none; }
.hero-capabilities li { padding: 7px 10px; border: 1px solid #e4e2ee; border-radius: 999px; background: rgba(255,255,255,.72); color: #5f5b6c; font-size: 11px; font-weight: 600; }




.hero-studio { position: relative; z-index: 1; min-height: 422px; padding: 18px; overflow: hidden; border-color: #dedaf6; border-radius: 22px; background: linear-gradient(145deg, #fafaff 0%, #f3f1ff 58%, #eefaff 100%); box-shadow: 0 24px 80px rgba(45, 37, 92, .1); }
.hero-studio::before { content: ""; position: absolute; width: 250px; height: 250px; right: -104px; top: -96px; border-radius: 50%; background: rgba(101,88,216,.13); filter: blur(3px); pointer-events: none; }
.studio-window { position: relative; z-index: 1; border: 1px solid rgba(77,68,151,.16); border-radius: 14px; overflow: hidden; background: rgba(255,255,255,.88); box-shadow: 0 18px 38px rgba(73,56,156,.12); }
.studio-window-bar { height: 35px; padding: 0 11px; display: flex; align-items: center; justify-content: space-between; gap: 8px; border-bottom: 1px solid #eceaf5; color: #76718a; font-size: 9px; font-weight: 650; letter-spacing: .04em; text-transform: uppercase; }
.studio-dots { display: flex; gap: 4px; }
.studio-dots i { width: 5px; height: 5px; border-radius: 50%; background: #d6d0ef; }
.studio-dots i:nth-child(2) { background: #9edcf4; }.studio-dots i:nth-child(3) { background: #a99ef1; }
.studio-live { padding: 3px 6px; border-radius: 999px; background: #edfcf6; color: #2b9371; font-size: 8px; }
.studio-window-body { position: relative; min-height: 248px; padding: 16px; overflow: hidden; }
.studio-browser { position: relative; z-index: 2; width: 63%; min-height: 210px; border: 1px solid #e4e1ef; border-radius: 10px; overflow: hidden; background: #fff; box-shadow: 0 10px 22px rgba(61,48,135,.09); }
.studio-browser-nav { height: 20px; padding: 0 8px; display: flex; align-items: center; gap: 4px; border-bottom: 1px solid #f0eef7; }
.studio-browser-nav span { display: block; width: 4px; height: 4px; border-radius: 50%; background: #c6c2d4; }.studio-browser-nav span:nth-child(2) { width: 48%; margin-left: 5px; border-radius: 9px; background: #f0eff7; }
.studio-browser-hero { padding: 18px 14px 10px; }.studio-browser-hero small { display: block; color: var(--violet); font-size: 7px; font-weight: 750; letter-spacing: .08em; }.studio-browser-hero strong { display: block; max-width: 118px; margin-top: 9px; color: #29253e; font-size: 17px; line-height: 1.05; letter-spacing: -.05em; }.studio-browser-hero i { display: block; width: 57px; height: 8px; margin-top: 13px; border-radius: 9px; background: linear-gradient(90deg, var(--violet), #58c7ef); }
.studio-browser-grid { padding: 5px 14px 14px; display: grid; grid-template-columns: repeat(3,1fr); gap: 6px; }.studio-browser-grid span { height: 46px; border-radius: 6px; background: #f2f0fe; }.studio-browser-grid span:nth-child(2) { background: #e5f8ff; }.studio-browser-grid span:nth-child(3) { background: #eeeafe; }
.studio-flow-lines { position: absolute; z-index: 1; right: -15px; top: 28px; width: 65%; height: 80%; overflow: visible; }.studio-flow-lines path { stroke: #b4addf; stroke-width: 1.25; stroke-dasharray: 3 4; }.studio-flow-lines circle { fill: #58c7ef; }
.studio-node { position: absolute; z-index: 3; padding: 7px 8px; border: 1px solid rgba(81,70,163,.18); border-radius: 8px; background: rgba(255,255,255,.94); color: #5d51be; box-shadow: 0 8px 16px rgba(54,45,111,.1); font-size: 8px; font-weight: 750; letter-spacing: .07em; }.node-api { right: 16px; top: 32px; }.node-data { right: 6px; top: 113px; color: #267c9d; }.node-ai { right: 42px; bottom: 21px; color: #8750c3; }
.studio-tools { position: relative; z-index: 1; margin-top: 14px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }.studio-tools > span { min-height: 43px; padding: 8px; display: flex; align-items: center; gap: 6px; border: 1px solid rgba(101,88,216,.12); border-radius: 10px; background: rgba(255,255,255,.66); color: #5c5870; font-size: 9px; font-weight: 700; }.studio-tools svg { width: 16px; height: 16px; flex: 0 0 auto; fill: none; stroke: var(--violet); stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.studio-link { position: relative; z-index: 1; width: fit-content; margin: 15px 2px 0 auto; display: flex; align-items: center; gap: 8px; color: #5147ad; text-decoration: none; font-size: 10px; font-weight: 750; }.studio-link span { color: #44b8e8; font-size: 15px; transition: transform .2s ease; }.studio-link:hover span, .studio-link:focus-visible span { transform: translateY(3px); }

.services { padding: 0 0 76px; }
.services-heading { max-width: 760px; padding-top: 64px; border-top: 1px solid var(--line); }
.services-heading h2 { max-width: 780px; margin: 0; font: 650 clamp(36px, 4.4vw, 58px)/1.08 var(--sans); letter-spacing: -.05em; }
.services-heading > p:last-child { max-width: 550px; margin: 22px 0 0; color: var(--muted); font-size: 16px; }
.services-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; margin-top: 48px; }
.service-card { min-height: 335px; padding: 24px; display: flex; flex-direction: column; border: 1px solid var(--line); border-radius: 16px; background: #fff; transition: transform .24s ease, border-color .24s ease, box-shadow .24s ease; }
.service-card:hover { transform: translateY(-5px); border-color: #cfc9f6; box-shadow: 0 22px 40px rgba(46, 40, 92, .08); }
.service-card:nth-child(2), .service-card:nth-child(4) { background: var(--violet-soft); border-color: #e2defb; }
.service-card-top { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.service-number { color: var(--violet); font-size: 11px; font-weight: 700; letter-spacing: .1em; }
.service-icon { width: 32px; height: 32px; padding: 8px; overflow: visible; border: 1px solid #ddd9f2; border-radius: 10px; color: var(--violet); stroke: currentColor; stroke-width: 1.5; fill: none; stroke-linecap: round; stroke-linejoin: round; background: rgba(255,255,255,.68); }
.service-card h3 { margin: 36px 0 13px; font-size: clamp(20px, 2vw, 27px); line-height: 1.12; letter-spacing: -.04em; }
.service-card p { margin: 0; color: var(--muted); font-size: 14px; line-height: 1.65; }
.service-more { margin-top: auto; padding-top: 18px; border-top: 1px solid rgba(101,88,216,.15); }
.service-more summary { display: flex; justify-content: space-between; align-items: center; color: #504b63; cursor: pointer; font-size: 11px; font-weight: 700; list-style: none; }
.service-more summary::-webkit-details-marker { display: none; }
.service-more summary span { color: var(--violet); font-size: 18px; font-weight: 400; line-height: .8; transition: transform .2s ease; }
.service-more[open] summary span { transform: rotate(45deg); }
.service-more > p { margin-top: 12px; font-size: 12px; line-height: 1.55; }

.work { padding-top: 0; border-top: 0; }
.work .section-heading { padding-top: 64px; border-top: 1px solid var(--line); }
.feature-card { border-radius: 22px; }
.feature-copy { background: #fff; }
.feature-copy h3 { max-width: 430px; }
.portfolio-demo { position: relative; grid-template-columns: 1fr; min-height: 640px; padding: 42px 28px 28px; background: linear-gradient(160deg, #f0eeff 0%, #fafaff 52%, #eeecff 100%); }
.portfolio-demo::before { content: "OlehAI"; position: absolute; right: -5px; top: 22px; color: rgba(101, 88, 216, .075); font-size: clamp(100px, 15vw, 180px); font-weight: 750; letter-spacing: -.09em; }
.portfolio-demo .demo-device { position: relative; z-index: 1; margin: auto; }
.portfolio-demo .demo-frame-wrap { background: #f7f6fb; }
.demo-static-preview { position: absolute; inset: 0; z-index: 1; width: 100%; height: 100%; object-fit: contain; background: #f7f6fb; transition: opacity .28s ease; }
.portfolio-demo.is-loaded .demo-static-preview { opacity: 0; pointer-events: none; }
.portfolio-demo .demo-launch-panel { inset: auto 14px 14px; min-height: 0; padding: 18px 16px 15px; border: 1px solid rgba(255, 255, 255, .7); border-radius: 14px; background: rgba(255, 255, 255, .88); box-shadow: 0 16px 30px rgba(48, 43, 94, .12); backdrop-filter: blur(12px); }
.portfolio-demo .demo-orbit { display: none; }
.portfolio-demo .demo-logo { display: none; }
.portfolio-demo .demo-overline { margin-bottom: 4px !important; font-size: 8px !important; }
.portfolio-demo .demo-launch-panel strong { font-size: 18px; }
.portfolio-demo .demo-launch-panel > p:not(.demo-overline) { display: none; }
.portfolio-demo .demo-launch { margin-top: 13px; }
.portfolio-demo .demo-disclosure { position: relative; z-index: 2; align-self: auto; width: min(100%, 466px); margin: 0 auto; background: rgba(255, 255, 255, .62); }

.approach { padding-top: 76px; }
.process-list li { background: #fff; }
.process-list li { position: relative; grid-template-columns: 34px 1fr auto; }
.process-mark { width: 28px; height: 28px; display: grid; place-items: center; border-radius: 9px; background: #f1effd; color: var(--violet); font-size: 15px; font-weight: 700; line-height: 1; }
.about { padding-bottom: 76px; }
.contact { background: #24222e; color: #fff; }
.contact .eyebrow, .contact-email { color: #cfc8ff; }

@media (max-width: 900px) {
  .hero { grid-template-columns: 1fr; min-height: 0; }
  .hero-aside { max-width: 600px; }
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .service-card { min-height: 290px; }
  .portfolio-demo { min-height: 730px; }
}

@media (max-width: 620px) {
  .site-nav a:nth-child(2) { display: inline; }
  .site-nav a:nth-child(3) { display: none; }
  .hero { padding-top: 70px; }
  .hero-title { font-size: clamp(42px, 12vw, 56px); }
  .hero-intro { font-size: 16px; }
  .hero-studio { min-height: 390px; padding: 14px; }
  .studio-window-body { min-height: 226px; padding: 13px; }
  .studio-browser { min-height: 194px; }
  .studio-browser-hero { padding: 15px 12px 9px; }
  .studio-browser-hero strong { font-size: 16px; }
  .studio-browser-grid span { height: 38px; }
  .studio-node { padding: 6px 7px; font-size: 7px; }
  .node-api { right: 12px; top: 27px; }.node-data { right: 4px; top: 103px; }.node-ai { right: 31px; bottom: 17px; }
  .studio-tools { gap: 6px; }.studio-tools > span { padding: 7px 5px; gap: 4px; font-size: 8px; }.studio-tools svg { width: 14px; height: 14px; }
  .services-heading h2 { font-size: 35px; }
  .services-grid { grid-template-columns: 1fr; margin-top: 32px; }
  .service-card { min-height: 0; }
  .service-card h3 { margin-top: 28px; }
  .service-more { margin-top: 22px; }
  .portfolio-demo { min-height: 660px; padding-inline: 12px; }
  .portfolio-demo .demo-launch-panel { left: 10px; right: 10px; bottom: 10px; }
}
