/* nikkore.ai — the layout preview (served under /v2/). Loaded after site.css; the current site doesn't load it.
   Same brand: the same logo, colors, dark theme, typefaces and real screens. The layout is different:
   the page opens with the copy on the left and a stack of real screens standing in 3D on the right;
   the steps run across the page above one large screen; cards lift toward you. No brand colors are redefined. */

/* ---- nav, buttons ---- */
.nav { backdrop-filter: blur(14px) saturate(1.2); -webkit-backdrop-filter: blur(14px) saturate(1.2); background: color-mix(in srgb, var(--night) 80%, transparent); }
.btn { border-radius: 12px; transition: border-color .2s, background .2s, transform .15s; }
.btn:active { transform: translateY(1px); }

/* ---- hero: copy left, a 3D stack of real screens right ---- */
.v2-hero { padding: 72px 0 56px; }
.v2-hero-grid { display: grid; grid-template-columns: minmax(0, .92fr) minmax(0, 1.08fr); gap: 48px; align-items: center; }
.v2-copy { position: relative; z-index: 2; display: flex; flex-direction: column; align-items: flex-start; gap: 22px; min-width: 0; }
.v2-hero h1 { font-size: clamp(32px, 3.5vw, 48px); line-height: 1.08; letter-spacing: -0.025em; max-width: 14ch; }
.v2-hero .lede { margin: 0; font-size: clamp(17px, 1.4vw, 19px); max-width: 46ch; }
.v2-hero .hero-ctas { justify-content: flex-start; }
.deck { --px: 0; --py: 0; perspective: 1700px; perspective-origin: 30% 40%; min-width: 0; padding: 40px 0 70px; }
.deck-in { position: relative; aspect-ratio: 1600 / 1150; transform-style: preserve-3d; transform: rotateY(calc(-21deg + var(--px) * 9deg)) rotateX(calc(9deg - var(--py) * 7deg)) rotateZ(1.5deg); transition: transform .5s cubic-bezier(.2,.7,.2,1); }
.deck-card { position: absolute; margin: 0; border-radius: 14px; padding: 1.5px; background: var(--grad); transform-style: preserve-3d; will-change: transform; }
.deck-card img { display: block; width: 100%; height: auto; border-radius: 12.5px; background: var(--night-2); }
.d-main { left: 0; top: 6%; width: 100%; transform: translateZ(0); box-shadow: 0 60px 120px -40px rgba(46, 184, 112,.6), 0 30px 60px -30px rgba(0,0,0,.9); animation: deckA 9s ease-in-out infinite alternate; }
.d-back { left: 16%; top: -9%; width: 82%; transform: translateZ(-170px); opacity: .55; filter: saturate(.9); animation: deckB 11s ease-in-out infinite alternate; }
.d-front { left: 3%; bottom: -15%; width: 70%; transform: translateZ(150px); box-shadow: 0 40px 90px -30px rgba(47, 188, 122,.45), 0 24px 50px -20px rgba(0,0,0,.9); animation: deckC 8s ease-in-out infinite alternate; }
@keyframes deckA { to { transform: translateZ(0) translateY(-8px); } }
@keyframes deckB { to { transform: translateZ(-170px) translateY(12px); } }
@keyframes deckC { to { transform: translateZ(150px) translateY(-14px); } }
@media (prefers-reduced-motion: reduce) { .deck-card { animation: none; } .deck-in { transition: none; } }
@media (max-width: 980px) {
  .v2-hero-grid { grid-template-columns: 1fr; gap: 8px; }
  .deck { padding: 34px 6% 60px 10%; } .deck-in { transform: rotateY(-14deg) rotateX(8deg); }
}
.v2-live { padding-block: 24px 40px; }

/* ---- how it works: the steps run across, one large screen under them ---- */
.hw { grid-template-columns: 1fr; gap: 26px; }
.hw-steps { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; }
.hw-step { grid-template-columns: 1fr; align-content: start; gap: 8px; padding: 20px; border-radius: 16px; }
.hw-step em { order: -1; padding: 0; }
.hw-t span { display: block; }
.hw-shots { max-width: 1060px; margin: 0 auto; width: 100%; }
@media (max-width: 1000px) { .hw-steps { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 620px) { .hw-steps { grid-template-columns: 1fr; } .hw-step em { display: block; } .hw-step:not(.on) .hw-t span { display: none; } }

/* ---- cards lift toward you ---- */
.trust-strip button, .hw-step, .sec-facts > div, .ai-can li { transition: transform .35s cubic-bezier(.2,.7,.2,1), box-shadow .35s, border-color .25s, background .25s; }
.trust-strip button:hover, .hw-step:hover, .sec-facts > div:hover { transform: translateY(-4px); box-shadow: 0 24px 50px -24px rgba(46, 184, 112,.55); }
.trust-strip button { border-radius: 16px; padding: 20px 22px; } .trust-strip b { font-size: 18px; }
.ai-can { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.ai-can li { padding: 18px 20px; border: 1px solid var(--line); border-left: 2px solid #2db364; border-radius: 4px 16px 16px 4px; background: color-mix(in srgb, var(--night-2) 75%, transparent); }
.ai-can li:hover { transform: translateY(-4px); box-shadow: 0 24px 50px -24px rgba(45, 179, 100,.5); }
@media (max-width: 1000px) { .ai-can { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 620px) { .ai-can { grid-template-columns: 1fr; } }
.sec-facts > div { padding: 26px; border-radius: 18px; }

/* ---- screens beside text stand at a slight angle and straighten when you point at them ---- */
.sec-row .ls, .sp-media .ls { perspective: 1600px; }
.sec-row .ls .t-frame, .sp-media .ls .t-frame { transform: rotateY(-9deg) rotateX(3deg); transform-origin: 100% 50%; transition: transform .6s cubic-bezier(.2,.7,.2,1); }
.sec-row .ls:hover .t-frame, .sp-media .ls:hover .t-frame { transform: none; }
@media (max-width: 1000px), (prefers-reduced-motion: reduce) { .sec-row .ls .t-frame, .sp-media .ls .t-frame { transform: none; } }
.t-frame { border-radius: 18px; }
.cta-band { border-radius: 26px; padding: 64px 56px; }
@media (max-width: 760px) { .cta-band { padding: 36px 24px; } }

/* ================= one section, one screen =================
   Smaller heads and tighter bands, and on a laptop or desktop each section is laid out to fit the window:
   the text sits beside its screen, and every screen is sized from the window's height. */
html { scroll-padding-top: 76px; }
.h-band { padding: 56px 0; }
.sp-head { gap: 10px; margin-bottom: 26px; max-width: 720px; }
.sp h2 { font-size: clamp(25px, 2.7vw, 36px); line-height: 1.1; }
.sp-head .lede, .sp-copy .lede { font-size: clamp(15.5px, 1.25vw, 17px); line-height: 1.5; }
.sp-eyebrow { font-size: 13px; }
.v2-hero { padding: 48px 0 28px; }
.v2-live { padding-block: 20px 36px; }
.trust-band { padding-block: 20px 36px; }
.trust-strip button { padding: 14px 18px; } .trust-strip b { font-size: 16px; } .trust-strip span { font-size: 13.5px; }
.trust-panes { margin-top: 16px; }
.cta-band { margin-top: 56px; padding: 44px 48px; } .cta-band h2 { font-size: clamp(24px, 2.6vw, 34px); }
footer { margin-top: 64px; }
.perm-list { gap: 9px; } .perm-list li { font-size: 14.5px; line-height: 1.45; }
.ai-can li { font-size: 14px; padding: 12px 14px; }
.sec-facts > div { padding: 16px 18px; gap: 4px; border-radius: 14px; } .sec-facts b { font-size: 24px; } .sec-facts span { font-size: 13.5px; line-height: 1.4; }
.hw-step { padding: 14px 16px; } .hw-t b { font-size: 16.5px; } .hw-t span { font-size: 14px; }
.sp-copy { gap: 14px; }

@media (min-width: 1000px) and (min-height: 620px) {
  /* a screen never grows taller than the room the window has for it (--room), so its section fits */
  .ls, .ai-stage { --room: 62svh; width: 100%; max-width: calc(var(--room) * 1.5); margin-inline: auto; }
  .v2-live .ls { --room: calc(100svh - 170px); }
  .trust-panes { max-width: none; } .trust-pane .ls { --room: calc(100svh - 300px); }

  /* how it works: heading and steps on the left, the screen on the right */
  #how > .wrap { display: grid; grid-template-columns: minmax(0, .82fr) minmax(0, 1.18fr); column-gap: 44px; align-items: center; }
  #how .sp-head { grid-column: 1; margin: 0 0 18px; text-align: left; justify-items: start; }
  #how .hw { display: contents; }
  #how .hw-steps { grid-column: 1; grid-template-columns: 1fr; gap: 8px; align-self: start; }
  #how .hw-step { grid-template-columns: minmax(0, 1fr) auto; align-items: start; } #how .hw-step em { order: 0; }
  #how .hw-step:not(.on) .hw-t span { display: none; }
  #how .hw-shots { grid-column: 2; grid-row: 1 / span 2; max-width: none; }
  #how .ls { --room: calc(100svh - 230px); }

  /* Nikkore AI: heading, tabs and what it can do on the left, the recording on the right */
  #ai > .wrap { display: grid; grid-template-columns: minmax(0, .82fr) minmax(0, 1.18fr); column-gap: 44px; align-items: start; }
  #ai .sp-head { grid-column: 1; margin: 0 0 16px; text-align: left; justify-items: start; }
  #ai .ai-player { display: contents; }
  #ai .ai-tabs { grid-column: 1; justify-content: flex-start; margin-bottom: 16px; } #ai .ai-tabs button { padding: 8px 14px; font-size: 14px; }
  #ai .ai-stage { grid-column: 2; grid-row: 1 / span 3; align-self: center; --room: calc(100svh - 250px); }
  #ai .ai-can { grid-column: 1; margin: 0; grid-template-columns: 1fr; gap: 6px; }
  #ai .ai-can li { padding: 7px 12px; border-radius: 3px 10px 10px 3px; font-size: 13.5px; line-height: 1.4; }
  #ai .ai-cap { font-size: 14px; margin-top: 10px; }

  /* security: heading and the list on the left; the four facts and the screen on the right */
  #security > .wrap { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); column-gap: 44px; row-gap: 18px; align-items: center; }
  #security .sp-head { grid-column: 1; grid-row: 1; margin: 0; text-align: left; justify-items: start; }
  #security .sec-facts { grid-column: 2; grid-row: 1; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  #security .sec-row { display: contents; }
  #security .sec-list { grid-column: 1; grid-row: 2; align-self: start; }
  #security .ls { grid-column: 2; grid-row: 2; --room: calc(100svh - 440px); }

  #support .ls { --room: calc(100svh - 260px); }
}
/* a short laptop window: tighten once more */
@media (min-width: 1000px) and (max-height: 760px) {
  .h-band { padding: 36px 0; } .sp h2 { font-size: clamp(22px, 2.3vw, 30px); } .sp-head .lede { font-size: 15px; }
  .perm-list li { font-size: 13.5px; } .perm-list { gap: 6px; } #ai .ai-can li { padding: 5px 12px; font-size: 13px; }
  .v2-hero { padding: 28px 0 16px; } .deck { padding: 24px 0 50px; }
}
/* tablets and phones: one column, compact */
@media (max-width: 999px) {
  .h-band { padding: 44px 0; } .sp-head { margin-bottom: 20px; }
  .v2-hero { padding: 36px 0 20px; }
}
@media (max-width: 620px) {
  .h-band { padding: 36px 0; } .v2-hero h1 { font-size: 30px; } .v2-hero .lede { font-size: 16px; }
  .sp h2 { font-size: 24px; } .sec-facts { grid-template-columns: repeat(2, minmax(0, 1fr)); } .sec-facts b { font-size: 20px; }
  .cta-band { padding: 28px 20px; }
}
