:root {
    --bg: #08080d; --bg2: #0d0d16; --ink: #f4f4f8; --dim: #9a9ab2; --dim2: #6d6d84;
    --line: rgba(255,255,255,0.09); --glass: rgba(255,255,255,0.035); --glass-hi: rgba(255,255,255,0.06);
    --violet: #a78bfa; --grad: linear-gradient(100deg, #6366f1 0%, #a855f7 48%, #fb7185 100%);
    --sora: "Sora", system-ui, sans-serif; --body: "Manrope", system-ui, sans-serif;
  }
  * { box-sizing: border-box; }
  body { margin: 0; background: var(--bg); color: var(--ink); font-family: var(--body); line-height: 1.6; -webkit-font-smoothing: antialiased; overflow-x: hidden; }
  .wrap { width: 100%; max-width: 1180px; margin-inline: auto; padding-inline: clamp(1.25rem, 4vw, 2.5rem); }
  a { color: inherit; text-decoration: none; }
  h1, h2, h3 { font-family: var(--sora); font-weight: 800; line-height: 1.05; letter-spacing: -0.02em; margin: 0; text-wrap: balance; }
  .grad-text { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
  .eyebrow { font-family: var(--body); font-weight: 600; font-size: 0.72rem; letter-spacing: 0.22em; text-transform: uppercase; color: var(--violet); margin: 0 0 1rem; }
  section { padding-block: clamp(4rem, 9vw, 7rem); position: relative; }
  .lede { color: var(--dim); font-size: 1.06rem; max-width: 52ch; }
  .glow { position: absolute; border-radius: 50%; filter: blur(90px); opacity: 0.5; pointer-events: none; z-index: 0; }

  .btn { font-family: var(--body); font-weight: 600; font-size: 0.92rem; display: inline-flex; align-items: center; gap: 0.5rem; padding: 0.85rem 1.4rem; border-radius: 0.75rem; border: 1px solid transparent; cursor: pointer; transition: transform .15s ease, box-shadow .15s ease; }
  .btn-grad { background: var(--grad); color: #fff; box-shadow: 0 8px 30px -8px rgba(168,85,247,0.6); }
  .btn-grad:hover { transform: translateY(-2px); box-shadow: 0 12px 36px -8px rgba(168,85,247,0.75); }
  .btn-ghost { border-color: var(--line); color: var(--ink); background: var(--glass); }
  .btn-ghost:hover { border-color: var(--violet); }
  :focus-visible { outline: 2px solid var(--violet); outline-offset: 3px; }

  header.nav { position: sticky; top: 0; z-index: 50; backdrop-filter: blur(14px); background: rgba(8,8,13,0.6); border-bottom: 1px solid var(--line); }
  .nav-inner { display: flex; align-items: center; justify-content: space-between; height: 68px; gap: 1rem; }
  .logo { display: flex; align-items: center; gap: 0.6rem; font-family: var(--sora); font-weight: 800; font-size: 1.15rem; }
  .logo svg { width: 26px; height: 26px; display: block; }
  .nav-links { display: flex; gap: 2rem; }
  .nav-links a { color: var(--dim); font-size: 0.92rem; font-weight: 500; transition: color .15s; }
  .nav-links a:hover { color: var(--ink); }
  .nav-right { display: flex; align-items: center; gap: 0.9rem; }
  .lang { display: inline-flex; border: 1px solid var(--line); border-radius: 999px; padding: 3px; background: var(--glass); }
  .lang-btn { font-family: var(--body); font-weight: 700; font-size: 0.74rem; letter-spacing: 0.04em; color: var(--dim); background: transparent; border: 0; padding: 0.32rem 0.7rem; border-radius: 999px; cursor: pointer; transition: color .15s, background .15s; }
  .lang-btn.active { color: #fff; background: var(--grad); }
  @media (max-width: 860px) { .nav-links { display: none; } .nav-right .btn-grad { display: none; } }

  .hero { padding-top: clamp(3rem, 6vw, 5rem); }
  .hero-grid { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: clamp(2rem, 5vw, 4rem); align-items: center; position: relative; z-index: 1; }
  .chip { display: inline-flex; align-items: center; gap: 0.5rem; font-size: 0.74rem; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; color: var(--dim); border: 1px solid var(--line); background: var(--glass); border-radius: 999px; padding: 0.4rem 0.85rem; margin-bottom: 1.6rem; }
  .chip .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--grad); }
  .hero h1 { font-size: clamp(2.6rem, 6.5vw, 4.6rem); }
  .hero .lede { margin: 1.4rem 0 2.2rem; font-size: 1.12rem; }
  .hero-cta { display: flex; flex-wrap: wrap; gap: 0.9rem; }

  .device-stage { position: relative; display: flex; justify-content: center; }
  .phone { position: relative; z-index: 2; background: #1b1b24; border: 1px solid rgba(255,255,255,0.12); border-radius: 2.4rem; padding: 0.5rem; box-shadow: 0 40px 90px -30px rgba(0,0,0,0.8); max-width: 270px; }
  .phone img { display: block; width: 100%; border-radius: 2rem; }
  .phone.small { max-width: 150px; position: absolute; right: -8%; bottom: -6%; z-index: 3; border-radius: 1.6rem; }
  .phone.small img { border-radius: 1.25rem; }

  /* rotating circular seal */
  .seal { position: absolute; left: 50%; transform: translateX(-212px); bottom: 7%; width: 132px; height: 132px; z-index: 4; display: grid; place-items: center; }
  .seal::before { content: ""; position: absolute; inset: 5px; border-radius: 50%; border: 1px solid var(--line); background: rgba(8,8,13,0.55); backdrop-filter: blur(6px); z-index: 0; }
  .seal svg { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 1; animation: sealspin 22s linear infinite; }
  .seal-text { font-family: var(--body); font-size: 8.8px; font-weight: 700; letter-spacing: 0.2em; fill: rgba(244,244,248,0.72); }
  .seal-center { position: relative; z-index: 2; font-family: var(--sora); font-weight: 800; font-size: 1.15rem; background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
  @keyframes sealspin { to { transform: rotate(360deg); } }
  @media (max-width: 680px) { .seal { display: none; } }
  @media (prefers-reduced-motion: reduce) { .seal svg { animation: none; } }

  .strip { display: flex; flex-wrap: wrap; gap: 0.6rem 0.75rem; margin-top: 3rem; position: relative; z-index: 1; }
  .strip span { font-size: 0.82rem; color: var(--dim2); border: 1px solid var(--line); border-radius: 999px; padding: 0.35rem 0.8rem; }

  .head { max-width: 640px; margin-bottom: clamp(2.5rem, 5vw, 3.5rem); }
  .head h2 { font-size: clamp(1.9rem, 4.5vw, 3rem); }
  .head .lede { margin-top: 0.9rem; }

  .cards3 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.1rem; }
  .svc { background: var(--glass); border: 1px solid var(--line); border-radius: 1.1rem; padding: 1.6rem 1.4rem; transition: border-color .2s, transform .2s; }
  .svc:hover { border-color: rgba(167,139,250,0.5); transform: translateY(-3px); }
  .svc .ico { width: 42px; height: 42px; border-radius: 0.7rem; display: grid; place-items: center; background: var(--glass-hi); border: 1px solid var(--line); margin-bottom: 1rem; }
  .svc .ico svg { width: 20px; height: 20px; stroke: var(--violet); fill: none; stroke-width: 1.8; }
  .svc h3 { font-size: 1.05rem; margin-bottom: 0.4rem; }
  .svc p { color: var(--dim); font-size: 0.92rem; margin: 0; }
  @media (max-width: 900px) { .cards3 { grid-template-columns: repeat(2, 1fr); } }
  @media (max-width: 520px) { .cards3 { grid-template-columns: 1fr; } }

  .mosaic { position: relative; display: grid; gap: 0.9rem; grid-template-columns: repeat(3, 1fr); grid-template-rows: repeat(3, 1fr); grid-template-areas: "big big tr" "big big mr" "bl br br"; aspect-ratio: 9 / 5; }
  .tile { position: relative; overflow: hidden; border-radius: 1.2rem; padding: 1.2rem 1.25rem; background: linear-gradient(155deg, var(--c1), var(--c2)); border: 1px solid rgba(255,255,255,0.09); display: flex; flex-direction: column; justify-content: flex-end; transform-origin: top left; will-change: transform, opacity; }
  .tile.queued { pointer-events: none; }
  .tile::after { content: ""; position: absolute; inset: 0; background: radial-gradient(120% 90% at 80% 0%, rgba(255,255,255,0.14), transparent 60%); pointer-events: none; }
  .tile-ico { position: absolute; top: 1.05rem; left: 1.15rem; width: 26px; height: 26px; stroke: rgba(255,255,255,0.9); fill: none; stroke-width: 1.7; z-index: 1; }
  .tile-label { position: relative; z-index: 1; display: flex; flex-direction: column; gap: 0.22rem; transition: opacity .3s ease; }
  .tile-tag { font-size: 0.64rem; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: rgba(255,255,255,0.72); }
  .tile-name { font-family: var(--sora); font-weight: 800; font-size: 1.05rem; color: #fff; letter-spacing: -0.01em; }
  .tile-desc { font-size: 0.86rem; line-height: 1.45; color: rgba(255,255,255,0.85); margin-top: 0.2rem; display: none; }
  .tile-go { font-size: 0.8rem; font-weight: 600; color: #fff; margin-top: 0.7rem; display: none; }
  /* A product shot, shown ONLY in the big slot. Not a background: behind the
     label a screenshot turns to mud and takes the text with it. It sits to the
     right, tilted and bleeding off the corner, so it reads as a thing being
     held up rather than wallpaper. */
  .tile-shot { display: none; }
  /* ONE phone shot, upright, sized by HEIGHT so it can never end up leaning or
     stretched whatever the tile does. It sits to the right of the label and
     stops short of it: the text is never on top of the picture. */
  .tile.big .tile-shot {
    display: block; position: absolute; z-index: 0;
    right: 6%; bottom: -4%; height: 96%; width: auto;
    border-radius: 14px; border: 1px solid rgba(255,255,255,0.14);
    box-shadow: 0 20px 44px -16px rgba(0,0,0,0.7);
  }
  .tile.big .tile-label { max-width: 62%; }
  @media (max-width: 680px) { .tile.big .tile-shot { right: 4%; height: 92%; } }
  .tile.big .tile-desc { max-width: 26ch; }
  .tile.big { padding: 1.7rem 1.8rem; }
  .tile.big .tile-name { font-size: clamp(1.6rem, 3vw, 2.2rem); }
  .tile.big .tile-desc { display: block; max-width: 34ch; }
  .tile.big .tile-go { display: inline-block; }
  .tile.big .tile-ico { width: 34px; height: 34px; }
  .mosaic.animating .tile-label { opacity: 0; }
  .tile[data-slot="big"] { grid-area: big; } .tile[data-slot="tr"] { grid-area: tr; }
  .tile[data-slot="mr"] { grid-area: mr; } .tile[data-slot="bl"] { grid-area: bl; } .tile[data-slot="br"] { grid-area: br; }
  .mosaic-hint { margin-top: 1.1rem; font-size: 0.82rem; color: var(--dim2); }
  @media (max-width: 680px) { .mosaic { aspect-ratio: auto; grid-template-columns: 1fr 1fr; grid-template-rows: 190px 130px 130px; grid-template-areas: "big big" "tr mr" "bl br"; } }

  .steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.1rem; }
  .step { border-top: 1px solid var(--line); padding-top: 1.2rem; }
  .step .n { font-family: var(--sora); font-weight: 800; font-size: 0.9rem; background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
  .step h3 { font-size: 1.1rem; margin: 0.5rem 0 0.4rem; }
  .step p { color: var(--dim); font-size: 0.9rem; margin: 0; }
  @media (max-width: 720px) { .steps { grid-template-columns: 1fr 1fr; } }

  .contact-card { position: relative; overflow: hidden; border: 1px solid var(--line); border-radius: 1.6rem; background: var(--bg2); padding: clamp(1.75rem, 4vw, 3rem); display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 4vw, 3.5rem); }
  .contact-card h2 { font-size: clamp(1.8rem, 4vw, 2.6rem); }
  .contact-card .lede { margin-top: 1rem; }
  .reasons { margin-top: 2rem; display: grid; gap: 1.1rem; }
  .reason { display: flex; gap: 0.85rem; align-items: flex-start; }
  .reason .ico { width: 34px; height: 34px; border-radius: 0.6rem; background: var(--glass-hi); border: 1px solid var(--line); display: grid; place-items: center; flex: none; }
  .reason .ico svg { width: 17px; height: 17px; stroke: var(--violet); fill: none; stroke-width: 1.8; }
  .reason b { display: block; font-size: 0.95rem; }
  .reason span { color: var(--dim); font-size: 0.85rem; }
  /* rows: name+email / selects / message (fills) / send (pinned to the bottom) */
  form { display: grid; gap: 0.8rem; grid-template-rows: auto auto 1fr auto; }
  .row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 0.8rem; }
  input, select, textarea { width: 100%; font-family: var(--body); font-size: 0.92rem; color: var(--ink); background: var(--glass); border: 1px solid var(--line); border-radius: 0.7rem; padding: 0.8rem 0.9rem; }
  input::placeholder, textarea::placeholder { color: var(--dim2); }
  select { color: var(--dim); }
  textarea { min-height: 130px; height: 100%; resize: vertical; }
  input:focus, select:focus, textarea:focus { outline: none; border-color: var(--violet); }
  form .btn-grad { justify-content: center; align-self: end; }
  @media (max-width: 820px) { .contact-card { grid-template-columns: 1fr; } }

  footer { border-top: 1px solid var(--line); padding-block: 3rem; }
  .foot { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 1.5rem; align-items: center; }
  .foot .logo { font-size: 1.05rem; }
  .foot-links { display: flex; gap: 1.5rem; color: var(--dim); font-size: 0.9rem; }
  .foot-links a:hover { color: var(--ink); }
  .foot-copy { color: var(--dim2); font-size: 0.82rem; width: 100%; }

  @media (max-width: 780px) { .hero-grid { grid-template-columns: 1fr; } .device-stage { order: -1; } }
  @media (prefers-reduced-motion: reduce) { .tile { transition: none !important; } }

/* contact form status line */
.form-note { margin: 0.1rem 0 0; min-height: 1.2em; font-size: 0.82rem; color: var(--dim2); }
.form-note.error { color: #fda4af; }
