@font-face { font-family: "Plus Jakarta Sans"; font-style: normal; font-weight: 400; font-display: swap; src: url("/assets/fonts/plus-jakarta-sans-400.woff2") format("woff2"); }
@font-face { font-family: "Plus Jakarta Sans"; font-style: normal; font-weight: 500; font-display: swap; src: url("/assets/fonts/plus-jakarta-sans-500.woff2") format("woff2"); }
@font-face { font-family: "Plus Jakarta Sans"; font-style: normal; font-weight: 600; font-display: swap; src: url("/assets/fonts/plus-jakarta-sans-600.woff2") format("woff2"); }
@font-face { font-family: "Plus Jakarta Sans"; font-style: normal; font-weight: 700; font-display: swap; src: url("/assets/fonts/plus-jakarta-sans-700.woff2") format("woff2"); }

  :root {
    --bg: #0A0910;
    --bg-2: #0F0D16;
    --panel: #14111D;
    --ink: #F4F2FA;
    --muted: #A7A1B8;
    --dim: #7D758C;
    --line: rgba(255,255,255,.085);
    --violet: #A574F6;
    --violet-hover: #BC96FF;
    --violet-ink: #12091F;
    --lilac: #B48CFF;
    --accent-line: rgba(168,120,255,.28);
    --font: "Plus Jakarta Sans", "Segoe UI", Roboto, Arial, sans-serif;
    --max: 1220px;
  }

  *, *::before, *::after { box-sizing: border-box; }
  html { scroll-behavior: smooth; scroll-padding-top: 96px; }
  body {
    margin: 0;
    background: var(--bg);
    color: var(--ink);
    font-family: var(--font);
    font-size: 16px;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
  }
  img, svg { display: block; }
  a { color: inherit; text-decoration: none; }
  ::selection { background: #7C3AED; color: #fff; }
  :focus-visible { outline: 2px solid #CDA9FF; outline-offset: 5px; border-radius: 4px; }
  .skip { position: fixed; top: -80px; left: 20px; z-index: 100; background: #fff; color: #000; padding: 14px 18px; border-radius: 6px; }
  .skip:focus { top: 16px; }

  .wrap { width: min(var(--max), calc(100% - 96px)); margin: 0 auto; }

  h1, h2, h3 { margin: 0; font-weight: 600; }
  h1 { font-size: clamp(2.9rem, 5.4vw, 4.8rem); line-height: 1.03; letter-spacing: -0.045em; }
  h1 em { font-style: normal; background: linear-gradient(100deg, #D4B8FF, #9A5CFF 60%, #7A3AF2); -webkit-background-clip: text; background-clip: text; color: transparent; }
  h2 { font-size: clamp(2rem, 3.4vw, 3rem); line-height: 1.1; letter-spacing: -0.035em; }
  h2 .soft { color: #857C95; }
  h3 { font-size: 1.08rem; letter-spacing: -0.01em; line-height: 1.3; }
  p { margin: 0; }

  .eyebrow { display: flex; align-items: center; gap: 10px; font-size: .72rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--lilac); }
  .eyebrow::before { content: ""; width: 20px; height: 2px; background: currentColor; }

  /* Buttons */
  .btn {
    display: inline-flex; align-items: center; justify-content: center; gap: 18px;
    min-height: 52px; padding: 15px 22px;
    font: 600 .9rem/1 var(--font);
    border-radius: 7px; border: 1px solid transparent;
    transition: background-color .2s, border-color .2s, transform .2s;
    white-space: nowrap;
  }
  .btn:hover { transform: translateY(-2px); }
  .btn-primary { background: var(--violet); color: var(--violet-ink); box-shadow: 0 8px 30px -10px rgba(140,70,247,.7); }
  .btn-primary:hover { background: var(--violet-hover); }
  .btn-ghost { border-color: rgba(255,255,255,.18); background: rgba(255,255,255,.02); color: var(--ink); }
  .btn-ghost:hover { background: rgba(255,255,255,.07); }
  .btn .arr { opacity: .8; }

  /* Brand lockup */
  .brand { display: inline-flex; align-items: center; gap: 12px; }
  .brand-mark { height: 38px; width: auto; }
  .brand-word { height: 16px; width: auto; }

  /* Header */
  .site-header { position: sticky; top: 0; z-index: 30; background: rgba(10,9,16,.8); backdrop-filter: blur(14px) saturate(150%); -webkit-backdrop-filter: blur(14px) saturate(150%); border-bottom: 1px solid var(--line); }
  .nav { height: 88px; display: flex; align-items: center; justify-content: space-between; gap: 28px; }
  .nav-links { display: flex; align-items: center; gap: 34px; font-size: .88rem; color: #C9C3D4; }
  .nav-links a:not(.nav-cta):hover { color: #D2B4FF; }
  .nav-cta { color: #fff; border: 1px solid rgba(255,255,255,.22); border-radius: 7px; padding: 12px 18px; transition: background-color .2s, border-color .2s; }
  .nav-cta:hover { background: rgba(165,116,246,.14); border-color: var(--accent-line); }
  .menu-btn { display: none; background: transparent; color: #fff; border: 1px solid var(--line); border-radius: 7px; padding: 10px 14px; font: 500 .9rem var(--font); cursor: pointer; }

  /* Hero */
  .hero { position: relative; overflow: hidden; isolation: isolate; }
  .hero::before { content: ""; position: absolute; z-index: -1; right: -15%; top: -20%; width: 950px; height: 950px; background: radial-gradient(closest-side, rgba(129,67,246,.3), transparent 70%); }
  .hero::after {
    content: ""; position: absolute; inset: 0; z-index: -2;
    background-image: linear-gradient(rgba(255,255,255,.028) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.028) 1px, transparent 1px);
    background-size: 56px 56px;
    mask-image: radial-gradient(ellipse 75% 70% at 72% 45%, #000 25%, transparent 75%);
    -webkit-mask-image: radial-gradient(ellipse 75% 70% at 72% 45%, #000 25%, transparent 75%);
  }
  .hero-grid { min-height: 700px; display: grid; grid-template-columns: 1.08fr 1fr; gap: 32px; align-items: center; padding: 64px 0 72px; }
  .hero h1 { margin: 26px 0 26px; }
  .intro { font-size: 1.1rem; line-height: 1.75; color: var(--muted); max-width: 30rem; }
  .buttons { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 34px; }
  .hero-note { margin-top: 28px; display: flex; align-items: center; gap: 10px; font-size: .82rem; color: var(--dim); }
  .hero-note::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--lilac); box-shadow: 0 0 10px var(--lilac); }

  /* Hero visual */
  .visual { position: relative; width: 100%; max-width: 560px; margin-left: auto; }
  .visual-label { position: absolute; left: 0; top: 0; font-family: ui-monospace, Menlo, monospace; font-size: .62rem; letter-spacing: .12em; color: #64566F; }
  .orbit-stage { position: relative; }
  .orbit-stage > svg { width: 100%; height: auto; overflow: visible; }
  .ring-label { font: 600 12px var(--font); letter-spacing: .1em; fill: #CBBFE6; }
  .core-mark { position: absolute; left: 50%; top: 50%; width: 21%; transform: translate(-48.9%, -42.4%); pointer-events: none; filter: drop-shadow(0 12px 22px rgba(109,32,236,.45)); }
  .tag {
    position: absolute; z-index: 2; display: flex; align-items: center; gap: 12px;
    padding: 12px 16px; border-radius: 9px;
    background: rgba(21,16,30,.9); border: 1px solid rgba(165,117,237,.2);
    box-shadow: 0 16px 34px -12px rgba(0,0,0,.6);
    font-size: .8rem; font-weight: 500; color: #E2DAEF;
    backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  }
  .tag svg { width: 18px; height: 18px; color: var(--lilac); flex: none; }
  .tag small { display: block; margin-top: 3px; font-size: .62rem; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: #8A7F99; }
  .tag.t1 { top: 9%; right: -2%; }
  .tag.t2 { bottom: 20%; left: -6%; }
  .tag.t3 { bottom: 3%; right: 4%; }

  /* Capabilities strip */
  .capabilities { border-block: 1px solid var(--line); background: rgba(255,255,255,.012); }
  .cap-row { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 26px 0; font-size: .74rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: #BDB5C9; }
  .cap-row b { font-weight: 500; color: #786F86; line-height: 1.6; }
  .cap-row span { display: flex; align-items: center; gap: 10px; }
  .cap-row span::before { content: "+"; color: #9366D0; font-size: 1.15rem; font-weight: 400; }

  /* Sections */
  .section { padding: 112px 0; }
  .section-head { display: flex; justify-content: space-between; align-items: end; gap: 60px; margin: 22px 0 48px; }
  .section-head p { max-width: 22rem; color: var(--muted); font-size: .95rem; line-height: 1.8; }

  /* Services */
  .services { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); border: 1px solid var(--line); border-radius: 12px; overflow: hidden; }
  .service { padding: 34px 30px; min-height: 260px; background: linear-gradient(130deg, rgba(255,255,255,.025), transparent); border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); transition: background-color .25s; }
  .service { grid-column: span 2; }
  .service:nth-child(n+4) { grid-column: span 3; border-bottom: 0; }
  .service:nth-child(3), .service:nth-child(5) { border-right: 0; }
  .service:hover { background-color: rgba(161,106,255,.05); }
  .service-top { display: flex; align-items: center; justify-content: space-between; margin-bottom: 30px; }
  .service-top svg { width: 26px; height: 26px; color: #B285FA; }
  .num { font-family: ui-monospace, Menlo, monospace; font-size: .66rem; letter-spacing: .08em; color: #6B6378; }
  .service h3 { font-weight: 600; margin-bottom: 12px; }
  .service p { color: var(--muted); font-size: .9rem; line-height: 1.8; }

  /* Approach */
  .approach { background: var(--bg-2); border-block: 1px solid var(--line); }
  .approach-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 88px; align-items: center; }
  .statement { position: relative; overflow: hidden; isolation: isolate; border: 1px solid var(--accent-line); border-radius: 12px; padding: 46px 40px; background: radial-gradient(ellipse at 50% 0, rgba(98,35,170,.22), transparent 70%); }
  .statement-mark { position: absolute; z-index: -1; right: -40px; bottom: -50px; width: 300px; opacity: .07; }
  .mini-label { font-family: ui-monospace, Menlo, monospace; font-size: .66rem; letter-spacing: .1em; color: #8E7AA4; }
  .statement h3 { font-size: clamp(1.8rem, 2.8vw, 2.4rem); font-weight: 500; line-height: 1.2; letter-spacing: -0.035em; margin: 48px 0 36px; }
  .statement h3 span { color: #B88FF0; }
  .statement-foot { display: flex; justify-content: space-between; gap: 16px; border-top: 1px solid var(--line); padding-top: 22px; font-size: .68rem; font-weight: 600; letter-spacing: .1em; color: #A19AA9; }
  .approach-copy h2 { margin: 22px 0 10px; }
  .benefit { display: flex; gap: 18px; margin-top: 28px; }
  .benefit-icon { flex: none; width: 34px; height: 34px; border-radius: 9px; display: grid; place-items: center; background: rgba(165,116,246,.12); color: var(--lilac); }
  .benefit-icon svg { width: 17px; height: 17px; }
  .benefit h3 { margin-bottom: 6px; font-size: 1rem; }
  .benefit p { color: var(--muted); font-size: .9rem; line-height: 1.8; }

  /* Process */
  .steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 32px; }
  .step { border-top: 1px solid rgba(164,112,233,.4); padding-top: 22px; }
  .step-index { display: flex; justify-content: space-between; font-family: ui-monospace, Menlo, monospace; font-size: .74rem; color: #A477E6; }
  .step-index span { color: #514A5E; }
  .step h3 { font-size: 1.2rem; margin: 26px 0 12px; }
  .step p { color: var(--muted); font-size: .92rem; line-height: 1.8; }

  /* Contact */
  .contact { padding: 0 0 104px; }
  .contact-box { position: relative; overflow: hidden; isolation: isolate; display: flex; align-items: center; justify-content: space-between; gap: 48px; padding: 64px; border: 1px solid rgba(184,126,243,.3); border-radius: 12px; background: radial-gradient(ellipse at 100% 0, rgba(119,53,188,.35), transparent 65%), var(--panel); }
  .contact-box h2 { margin: 20px 0 16px; }
  .contact-box p { color: #B2A6C0; line-height: 1.8; max-width: 31rem; }
  .contact-action { flex: none; display: grid; justify-items: center; gap: 14px; }
  .contact-action small { font-size: .74rem; color: #8C7D9C; }
  .contact-action small a:hover { color: #D2B4FF; }

  /* Footer */
  .site-footer { border-top: 1px solid var(--line); padding: 40px 0 28px; }
  .footer-top { display: flex; justify-content: space-between; align-items: center; gap: 24px; }
  .footer-top .brand-mark { height: 32px; }
  .footer-top .brand-word { height: 13px; }
  .footer-tag { font-size: .68rem; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: #93879F; }
  .footer-links { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 32px; margin-top: 36px; padding-top: 28px; border-top: 1px solid var(--line); }
  .footer-links h3 { font-size: .8rem; font-weight: 600; color: #D6CBE1; margin-bottom: 14px; }
  .footer-links a { display: block; width: fit-content; color: #9B8EAA; font-size: .82rem; line-height: 2.2; }
  .footer-links a:hover { color: #D2B4FF; }
  .footer-bottom { display: flex; justify-content: space-between; gap: 16px; margin-top: 32px; padding-top: 22px; border-top: 1px solid var(--line); font-size: .74rem; color: #6E657A; }
  .footer-bottom a:hover { color: #D2B4FF; }

  /* Motion */
  @media (prefers-reduced-motion: no-preference) {
    .rings > * { animation: ring-in 1.1s cubic-bezier(.2,.7,.2,1) both; transform-box: view-box; transform-origin: 270px 270px; }
    .rings > :nth-child(1) { animation-delay: .22s; }
    .rings > :nth-child(2) { animation-delay: .14s; }
    .rings > :nth-child(3) { animation-delay: .06s; }
    .core-mark { animation: core-in 1.1s cubic-bezier(.2,.7,.2,1) .3s both; }
    .orbit { transform-box: view-box; transform-origin: 270px 270px; animation: orbit 16s linear infinite; }
    .orbit-outer { animation-duration: 34s; }
    .core-glow { transform-box: view-box; transform-origin: 270px 270px; animation: breathe 4s ease-in-out infinite; }
    .tag { animation: rise .8s cubic-bezier(.2,.7,.2,1) both; }
    .tag.t1 { animation-delay: .6s; } .tag.t2 { animation-delay: .75s; } .tag.t3 { animation-delay: .9s; }
    .js-motion .reveal { opacity: 0; transform: translateY(18px); transition: opacity .7s ease, transform .7s ease; }
    .js-motion .reveal.visible { opacity: 1; transform: none; }
    @keyframes rise { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
    @keyframes ring-in { from { opacity: 0; transform: scale(.8); } to { opacity: 1; transform: scale(1); } }
    @keyframes core-in { from { opacity: 0; transform: translate(-48.9%, -42.4%) scale(.8); } to { opacity: 1; transform: translate(-48.9%, -42.4%) scale(1); } }
    @keyframes orbit { to { transform: rotate(360deg); } }
    @keyframes breathe { 0%, 100% { opacity: .45; transform: scale(1); } 50% { opacity: .85; transform: scale(1.07); } }
  }

  /* Responsive */
  @media (max-width: 1100px) {
    .wrap { width: calc(100% - 64px); }
    .nav-links { gap: 24px; }
    .approach-grid { gap: 48px; }
    .contact-box { padding: 44px; }
    .cap-row { font-size: .66rem; }
    .tag.t2 { left: 0; }
  }
  @media (max-width: 900px) {
    .hero-grid { grid-template-columns: 1fr; min-height: 0; padding: 48px 0 56px; gap: 24px; }
    .visual { margin: 0 auto; max-width: 500px; }
    .approach-grid { grid-template-columns: 1fr; }
    .service { grid-column: span 2; border-right: 1px solid var(--line); border-bottom: 0; }
    .service:nth-child(-n+2) { grid-column: span 3; border-bottom: 1px solid var(--line); }
    .service:nth-child(n+4) { grid-column: span 2; }
    .service:nth-child(3) { border-right: 1px solid var(--line); }
    .service:nth-child(2), .service:nth-child(5) { border-right: 0; }
  }
  @media (max-width: 760px) {
    .wrap { width: calc(100% - 40px); }
    .nav { height: 76px; }
    .menu-btn { display: block; }
    .nav-links { display: none; position: absolute; top: 76px; left: 0; right: 0; padding: 24px 20px; background: #110F19; border-bottom: 1px solid var(--line); flex-direction: column; align-items: stretch; gap: 22px; font-size: 1rem; }
    .nav-links.open { display: flex; }
    .nav-cta { text-align: center; }
    .section { padding: 76px 0; }
    .section-head { display: block; margin-bottom: 32px; }
    .section-head p { margin-top: 20px; }
    .cap-row { flex-wrap: wrap; justify-content: flex-start; gap: 16px 26px; }
    .cap-row b { width: 100%; }
    .cap-row b br { display: none; }
    .steps { grid-template-columns: 1fr; }
    .contact { padding-bottom: 72px; }
    .contact-box { display: block; padding: 34px 24px; }
    .contact-action { justify-items: start; margin-top: 28px; }
    .footer-top { flex-direction: column; align-items: flex-start; gap: 16px; }
    .footer-links { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  }
  @media (max-width: 560px) {
    .tags-mobile { display: grid; gap: 10px; margin-top: 8px; }
    .tag { position: static; }
    .visual-label { display: none; }
    .services { grid-template-columns: 1fr; }
    .service { min-height: 0; border-right: 0 !important; border-bottom: 1px solid var(--line) !important; }
    .service:last-child { border-bottom: 0 !important; }
    .service, .service:nth-child(n) { grid-column: auto; }
    .buttons .btn { width: 100%; }
    .brand-mark { height: 32px; }
    .brand-word { height: 13px; }
    .footer-links { grid-template-columns: 1fr; }
    .footer-bottom { flex-direction: column; gap: 8px; }
  }

  .icon-sprite { position: absolute; width: 0; height: 0; overflow: hidden; }

  /* 404 page */
  .not-found { min-height: calc(100vh - 89px); display: flex; align-items: center; padding: 80px 0; }
  .not-found h1 { margin: 24px 0; font-size: clamp(2.4rem, 5vw, 4rem); }
