/*
 * KAPOCS front page – package WEB: the KAPOCS Web section (#kapocs-honlap,
 * template-parts/home/web.php) in one piece: the opener, the studio (one
 * browser window with the real captures, the list of views beside it), the
 * packages and the free audit.
 *
 * The section lives on the Act II tone surface ([data-ksf-tone]) and uses
 * only the --t-* tone tokens, so $ksf['web_tone'] = 'mist' gives a correct
 * light version. The audit card is a light card in both tones.
 *
 * Without JS the window shows the first view and the list reads as text;
 * web.js adds .is-live (the list becomes tabs, texts fold) and .is-touring.
 */

.ksf .ksf-web {
  border-top: 1px solid var(--t-line);
  color: var(--t-copy);
  background: var(--t-bg);
}

/* ------------------------------------------------------------------ */
/* Opener                                                               */
/* ------------------------------------------------------------------ */

.ksf-web__opener {
  max-width: 860px;
  margin-inline: auto;
  text-align: center;
}

.ksf-web__opener .ksf-display,
.ksf-web__opener .ks-lead {
  margin-inline: auto;
}

.ksf-web__opener .ks-lead {
  max-width: 62ch;
}

.ksf-web__aud {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  row-gap: 8px;
  margin: 32px 0 0;
  padding: 0;
  color: var(--t-soft);
  font: 500 14px/1.4 var(--ksf-body);
  letter-spacing: -.005em;
  list-style: none;
}

.ksf-web__aud > li {
  margin: 0;
  padding: 0 16px;
}

.ksf-web__aud > li + li {
  border-left: 1px solid var(--t-line);
}

/* ------------------------------------------------------------------ */
/* The stage: the copy on the left, the two live references on the right
   (the KAPOCS Web page's hero and this section's opener)               */
/* ------------------------------------------------------------------ */

/* The references run off the right edge; the section clips them. */
.ksf .ksf-web--stage {
  overflow: hidden;
}

.ksf .ksf-web__heroactions {
  justify-content: center;
  margin-top: 32px;
}

/* The ghost button on the dark ground. */
.ksf [data-ksf-tone="ink"] .ksf-web__heroactions .ks-btn--ghost {
  border-color: rgba(255, 255, 255, .28);
  color: #fff !important;
  background: rgba(255, 255, 255, .04);
}

.ksf [data-ksf-tone="ink"] .ksf-web__heroactions .ks-btn--ghost:hover {
  border-color: rgba(95, 208, 203, .6);
  background: rgba(95, 208, 203, .1);
}

.kweb-hero {
  display: grid;
  grid-template-columns: minmax(0, 500px) minmax(0, 1fr);
  gap: clamp(32px, 4vw, 64px);
  align-items: center;
}

.kweb-hero .ksf-web__opener {
  max-width: none;
  margin: 0;
  text-align: left;
}

.kweb-hero .ksf-web__opener .ksf-display {
  margin-inline: 0;
  font-size: clamp(36px, 3.8vw, 56px);
  line-height: 1.05;
}

/* The KAPOCS Web page's h1 is the larger one. */
.kweb-hero .ksf-web__opener--hero .ksf-display {
  font-size: clamp(42px, 4.6vw, 68px);
  line-height: 1.03;
}

.kweb-hero .ksf-web__opener .ks-lead {
  margin-inline: 0;
  font-size: 18px;
}

.ksf .kweb-hero .ksf-web__heroactions {
  justify-content: flex-start;
}

/* Beside the references, the audience stays on one line under the buttons. */
@media (min-width: 981px) {
  .kweb-hero .ksf-web__aud {
    flex-wrap: nowrap;
    justify-content: flex-start;
    margin-top: 28px;
    white-space: nowrap;
  }

  .kweb-hero .ksf-web__aud > li {
    padding: 0 12px;
  }

  .kweb-hero .ksf-web__aud > li:first-child {
    padding-left: 0;
  }
}

.kweb-stage {
  position: relative;
  height: clamp(420px, 40vw, 560px);
  margin-right: calc(-1 * clamp(24px, 8vw, 160px));
}

.kweb-stage__win {
  position: absolute;
  border-radius: 14px;
}

.kweb-stage__win img {
  display: block;
  width: 100%;
  height: auto;
}

.kweb-stage__win--main {
  top: 13%;
  left: 0;
  z-index: 2;
  width: 82%;
  box-shadow: 0 50px 90px -40px rgba(0, 0, 0, .75), 0 18px 40px -24px rgba(0, 0, 0, .6);
}

.kweb-stage__win--back {
  top: 0;
  right: 0;
  z-index: 1;
  width: 66%;
  opacity: .9;
  box-shadow: 0 40px 80px -40px rgba(0, 0, 0, .7);
}

.kweb-stage__phone {
  position: absolute;
  bottom: -2%;
  left: 64%;
  z-index: 3;
  width: clamp(130px, 12.5vw, 180px);
  padding: 7px;
  border-radius: 30px;
  background: #0b0f12;
  box-shadow: 0 0 0 1px rgba(255, 255, 255, .14), 0 40px 70px -30px rgba(0, 0, 0, .8);
}

.kweb-stage__glass {
  overflow: hidden;
  aspect-ratio: 390 / 844;
  border-radius: 24px;
  background: #fff;
}

.kweb-stage__glass img {
  display: block;
  width: 100%;
  height: auto;
}

/* Depth: the rig tilts and each layer shifts with the pointer by its own
   depth (--rx, --ry from web.js; 0 without it). */
.kweb-stage {
  --rx: 0;
  --ry: 0;
  perspective: 1400px;
}

.kweb-stage__rig {
  position: absolute;
  inset: 0;
  transform: rotateX(calc(var(--ry) * -5deg)) rotateY(calc(var(--rx) * 7deg));
  transform-style: preserve-3d;
}

.kweb-stage__layer {
  translate: calc(var(--rx) * var(--d, 0) * 1px) calc(var(--ry) * var(--d, 0) * 1px);
}

.kweb-stage__win--back {
  --d: -10;
}

.kweb-stage__win--main {
  --d: 14;
}

.kweb-stage__phone {
  --d: 30;
}

/* The layers glide in one after the other, where the page animates at all:
   at once in the KAPOCS Web page's hero, and on arrival in the front page's
   opener, whose stage the reveal system watches (core.js: .ksf-wait until it
   comes into view, then .ksf-play for a few seconds). */
.ks-motion .kweb-stage:not([data-ksf-reveal]) .kweb-stage__layer,
html.ksf-armed .kweb-stage.ksf-play .kweb-stage__layer {
  animation: kweb-glide 1.2s cubic-bezier(.16, .84, .24, 1) .15s both;
}

.ks-motion .kweb-stage:not([data-ksf-reveal]) .kweb-stage__win--main,
html.ksf-armed .kweb-stage.ksf-play .kweb-stage__win--main {
  animation-delay: .31s;
}

.ks-motion .kweb-stage:not([data-ksf-reveal]) .kweb-stage__phone,
html.ksf-armed .kweb-stage.ksf-play .kweb-stage__phone {
  animation-delay: .47s;
}

html.ksf-armed .kweb-stage.ksf-wait .kweb-stage__layer {
  opacity: 0;
}

@keyframes kweb-glide {
  from {
    opacity: 0;
    transform: translateY(46px) scale(.96);
  }
}

@media (max-width: 980px) {
  .kweb-hero {
    grid-template-columns: minmax(0, 1fr);
    min-height: 0;
  }

  .kweb-hero .ksf-web__opener {
    text-align: center;
  }

  .kweb-hero .ksf-web__opener .ksf-display,
  .kweb-hero .ksf-web__opener .ks-lead {
    margin-inline: auto;
  }

  .ksf .kweb-hero .ksf-web__heroactions {
    justify-content: center;
  }

  .kweb-stage {
    height: 66vw;
    margin: 8px 0 0;
  }

  .kweb-stage__win--main {
    top: 14%;
    width: 84%;
  }

  .kweb-stage__win--back {
    width: 70%;
  }

  .kweb-stage__phone {
    right: 0;
    bottom: 0;
    left: auto;
    width: 28%;
    padding: 5px;
    border-radius: 20px;
  }

  .kweb-stage__glass {
    border-radius: 16px;
  }
}

/* ------------------------------------------------------------------ */
/* The studio: window + list                                            */
/* ------------------------------------------------------------------ */

.ksf-studio {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(300px, 372px);
  gap: clamp(32px, 4vw, 56px);
  align-items: start;
  margin-top: clamp(56px, 6vw, 88px);
}

.ksf-studio__fig {
  position: relative;
  min-width: 0;
  margin: 0;
}

/* A low light behind the window, so it sits in the dark rather than on it. */
.ksf-studio__fig::before {
  content: "";
  position: absolute;
  z-index: 0;
  inset: 8% -6% -10%;
  border-radius: 50%;
  background: radial-gradient(closest-side, rgba(40, 170, 166, .2), rgba(40, 170, 166, 0));
  pointer-events: none;
}

[data-ksf-tone="mist"] .ksf-studio__fig::before {
  background: radial-gradient(closest-side, rgba(23, 142, 139, .12), rgba(23, 142, 139, 0));
}

.ksf-studio__window {
  z-index: 1;
  border-radius: 16px;
}

.ksf-studio__url {
  display: inline-grid;
  min-width: 0;
  overflow: hidden;
}

.ksf-studio__url > b {
  grid-area: 1 / 1;
  overflow: hidden;
  font-weight: 500;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.ksf-studio__url > b.is-in {
  animation: ksf-studio-url-in .45s var(--ksf-ease-out) both;
}

.ksf-studio__url > b.is-out {
  animation: ksf-studio-url-out .3s var(--ksf-ease-in) both;
}

@keyframes ksf-studio-url-in {
  from {
    opacity: 0;
    transform: translateY(70%);
  }
}

@keyframes ksf-studio-url-out {
  to {
    opacity: 0;
    transform: translateY(-70%);
  }
}

/* The screen: 16:10, the size of every viewport capture. */
.ksf-studio__screen {
  position: relative;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: #fff;
}

.ksf-studio__view {
  position: absolute;
  inset: 0;
  overflow: hidden;
}

.ksf-studio__view[hidden] {
  display: none;
}

.ksf-studio__view.is-entering {
  z-index: 2;
  animation: ksf-studio-in .6s var(--ksf-ease-out) both;
}

.ksf-studio__view.is-leaving {
  z-index: 1;
}

@keyframes ksf-studio-in {
  from {
    opacity: 0;
    transform: translateY(14px) scale(.985);
  }
}

.ksf-studio__img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
}

/* Tall captures and phones: real scroll containers, without bars. */
.ksf-studio__scroll,
.ksf-studio__pscroll {
  position: absolute;
  inset: 0;
  overflow-y: auto;
  overscroll-behavior: contain;
  scrollbar-width: none;
}

.ksf-studio__scroll::-webkit-scrollbar,
.ksf-studio__pscroll::-webkit-scrollbar {
  display: none;
}

.ksf-studio__scroll img,
.ksf-studio__pscroll img {
  display: block;
  width: 100%;
  height: auto;
}

.ksf .ksf-studio__scroll:focus-visible {
  outline-offset: -4px;
}

/* Accessibility: three lenses on one page; the third zooms on the focus ring. */
.ksf-studio__lenses {
  position: absolute;
  inset: 0;
}

.ksf-studio__lens {
  position: absolute;
  inset: 0;
  overflow: hidden;
  opacity: 0;
  transition: opacity .6s ease;
}

.ksf-studio__lens.is-on {
  opacity: 1;
}

.ksf-studio__lens[data-zoom] img {
  transform-origin: var(--ksf-lo, 25% 3%);
  transition: transform 1.4s var(--ksf-ease-in-out);
}

.ksf-studio__lens[data-zoom].is-zoomed img {
  transform: scale(var(--ksf-lz, 2));
}

.ksf-studio__lensctl {
  position: absolute;
  z-index: 2;
  bottom: 14px;
  left: 14px;
  display: flex;
  gap: 2px;
  padding: 4px;
  border-radius: 999px;
  background: rgba(13, 43, 56, .84);
  box-shadow: 0 10px 24px -12px rgba(0, 0, 0, .5);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
}

.ksf-studio__lensctl[hidden] {
  display: none;
}

.ksf-studio__lensbtn {
  margin: 0;
  padding: 8px 13px;
  border: 0;
  border-radius: 999px;
  color: #c9d6db;
  background: transparent;
  font: 600 12.5px/1 var(--ksf-body);
  cursor: pointer;
  transition: color .2s ease, background-color .2s ease;
}

.ksf-studio__lensbtn[aria-pressed="true"] {
  color: #0d2b38;
  background: #fff;
}

@media (hover: hover) and (pointer: fine) {
  .ksf-studio__lensbtn[aria-pressed="false"]:hover {
    color: #fff;
  }
}

/* Adatvédelem: the real "Sütimentes" notice over the page it belongs to. */
.ksf-studio__dim {
  filter: blur(2px) saturate(.85);
  transform: scale(1.03);
}

.ksf-studio__view--notice::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(13, 43, 56, .36);
}

.ksf-studio__notice {
  position: absolute;
  z-index: 1;
  top: 50%;
  left: 50%;
  width: min(54%, 430px);
  filter: drop-shadow(0 24px 40px rgba(0, 0, 0, .35));
  transform: translate(-50%, -50%);
}

.ksf-studio__notice img {
  display: block;
  width: 100%;
  height: auto;
}

.ksf-studio__view--notice.is-entering .ksf-studio__notice {
  animation: ksf-studio-notice .8s var(--ksf-ease-out) .15s both;
}

@keyframes ksf-studio-notice {
  from {
    opacity: 0;
    transform: translate(-50%, -38%);
  }
}

/* Mobilon: both sites on two phones. */
.ksf-studio__phones {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 7%;
  background: radial-gradient(120% 90% at 50% 100%, #dff3f1, #f6fafb 62%);
}

.ksf .ksf-studio__phone {
  --ksf-bezel: 7px;
  flex: none;
  height: 86%;
  aspect-ratio: 390 / 844;
  border-radius: 28px;
}

.ksf-studio__phone:last-child {
  transform: translateY(5%);
}

/* Captions under the window. */
.ksf-studio__caps {
  position: relative;
  z-index: 1;
  min-height: 24px;
  margin: 16px 2px 0;
  color: var(--t-soft);
  font-size: 14px;
  line-height: 1.55;
}

.ksf-studio__cap[hidden] {
  display: none;
}

.ksf-studio__cap .ks-link {
  margin-left: 6px;
  font-size: 14px;
  white-space: nowrap;
}

/* The list of views. */
.ksf-studio__nav {
  display: grid;
  align-content: start;
}

.ksf-studio__group {
  margin: 0 0 10px 14px;
  color: var(--t-accent-text);
  font: 600 11.5px/1.3 var(--ksf-body);
  letter-spacing: .14em;
  text-transform: uppercase;
}

.ksf-studio__list + .ksf-studio__group {
  margin-top: 26px;
}

.ksf-studio__list {
  display: grid;
  gap: 2px;
}

.ksf-studio__item {
  position: relative;
  display: grid;
  grid-template-columns: 36px minmax(0, 1fr);
  align-items: center;
  gap: 0 14px;
  padding: 11px 14px;
  border-radius: 14px;
  color: var(--t-copy);
  transition: background-color .3s ease, box-shadow .3s ease;
}

.ksf-studio__ico {
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  border-radius: 10px;
  color: var(--t-accent-text);
  background: var(--t-chip-bg);
  transition: color .3s ease, background-color .3s ease;
}

.ksf-studio__ico svg {
  width: 18px;
  height: 18px;
}

.ksf-studio__title {
  display: block;
  color: var(--t-head);
  font: 600 15.5px/1.3 var(--ksf-body);
  letter-spacing: -.005em;
}

.ksf-studio__sub {
  display: block;
  margin-top: 1px;
  color: var(--t-soft);
  font-size: 13px;
  line-height: 1.35;
}

.ksf-studio__text {
  display: grid;
  grid-template-rows: 1fr;
  grid-column: 2;
  transition: grid-template-rows .45s var(--ksf-ease-out);
}

.ksf-studio__text > span {
  min-height: 0;
  overflow: hidden;
  padding-top: 6px;
  color: var(--t-copy);
  font-size: 14px;
  line-height: 1.55;
}

.ksf-studio__bar {
  position: absolute;
  right: 14px;
  bottom: 5px;
  left: 64px;
  height: 2px;
  overflow: hidden;
  border-radius: 2px;
  background: var(--t-line);
  opacity: 0;
  transition: opacity .3s ease;
}

.ksf-studio__bar i {
  display: block;
  width: 100%;
  height: 100%;
  background: var(--t-accent);
  transform: scaleX(var(--p, 0));
  transform-origin: 0 50%;
}

/* With JS: the list is a set of tabs; only the selected one keeps its text. */
.ksf-studio.is-live .ksf-studio__item {
  cursor: pointer;
}

.ksf-studio.is-live .ksf-studio__item:not(.is-on) .ksf-studio__text {
  grid-template-rows: 0fr;
}

.ksf-studio.is-live .ksf-studio__item.is-on {
  background: var(--t-chip-bg);
  box-shadow: inset 0 0 0 1px var(--t-line);
}

.ksf-studio.is-live .ksf-studio__item.is-on .ksf-studio__ico {
  color: #fff;
  background: var(--t-accent);
}

.ksf-studio.is-touring .ksf-studio__item.is-on .ksf-studio__bar {
  opacity: 1;
}

@media (hover: hover) and (pointer: fine) {
  .ksf-studio.is-live .ksf-studio__item:not(.is-on):hover {
    background: rgba(255, 255, 255, .035);
  }

  [data-ksf-tone="mist"] .ksf-studio.is-live .ksf-studio__item:not(.is-on):hover {
    background: rgba(13, 43, 56, .035);
  }
}

.ksf .ksf-studio__item:focus-visible {
  outline: 3px solid var(--t-focus);
  outline-offset: 0;
}

/* The view's text under the window, for the narrow layout only. */
.ksf-studio__captext-m {
  display: none;
}

/* ------------------------------------------------------------------ */
/* Offer: packages, operation, audit                                    */
/* ------------------------------------------------------------------ */

.ksf-web__offer {
  margin-top: clamp(64px, 6.4vw, 96px);
  padding-top: clamp(48px, 5vw, 72px);
  border-top: 1px solid var(--t-line);
}

.ksf-web__offerhead {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 20px 64px;
  align-items: end;
}

.ksf .ksf-web__offertitle {
  margin: 0;
  color: var(--t-head);
  font: 700 clamp(30px, 3.4vw, 46px)/1.08 var(--ks-display);
  letter-spacing: -.035em;
}

.ksf .ksf-web__offertitle span {
  color: var(--t-accent);
}

.ksf-web__offerlead {
  max-width: 54ch;
  margin: 0;
  color: var(--t-copy);
  font-size: 16.5px;
  line-height: 1.65;
}

.ksf-web__pkgs {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
  margin-top: clamp(36px, 4vw, 52px);
}

.ksf-web__pkg {
  min-width: 0;
  padding: 24px 22px 26px;
  border-radius: 18px;
  background: var(--t-chip-bg);
  box-shadow: inset 0 0 0 1px var(--t-line);
}

.ksf-web__pkg--ops {
  background: linear-gradient(160deg, rgba(40, 170, 166, .18), rgba(40, 170, 166, .04));
}

.ksf .ksf-web__pkgname {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0;
  color: var(--t-head);
  font: 700 20px/1.25 var(--ks-display);
  letter-spacing: -.02em;
}

.ksf-web__pkgname svg {
  width: 20px;
  height: 20px;
  color: var(--t-accent-text);
}

.ksf-web__pkglead {
  margin: 6px 0 0;
  color: var(--t-soft);
  font-size: 14px;
  line-height: 1.55;
}

.ksf-web__pkg--ops .ksf-web__pkglead {
  color: var(--t-copy);
}

.ksf-web__pkg--ops .ksf-web__pkglead + .ksf-web__pkglead {
  margin-top: 12px;
}

.ksf-web__pkgitems {
  display: grid;
  gap: 9px;
  margin: 18px 0 0;
  padding: 0;
  list-style: none;
}

.ksf-web__pkgitems li {
  display: flex;
  gap: 9px;
  margin: 0;
  color: var(--t-copy);
  font-size: 14px;
  line-height: 1.45;
}

.ksf-web__pkgitems svg {
  flex: none;
  width: 16px;
  height: 16px;
  margin-top: 2px;
  color: var(--t-accent-text);
}

/* The audit: a light card in either tone. */
.ksf-web__audit {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 24px 48px;
  align-items: center;
  margin-top: 16px;
  padding: clamp(28px, 3.4vw, 44px);
  border-radius: 22px;
  color: var(--ks-copy);
  background: #fff;
  box-shadow: var(--t-frame-shadow);
}

.ksf .ksf-web__audittitle {
  margin: 0;
  color: var(--ks-ink);
  font: 700 clamp(24px, 2.4vw, 30px)/1.2 var(--ks-display);
  letter-spacing: -.025em;
}

.ksf-web__auditcopy p {
  max-width: 60ch;
  margin: 10px 0 0;
  color: var(--ks-copy);
  font-size: 15.5px;
  line-height: 1.6;
}

.ksf-web__actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-end;
  gap: 12px 16px;
  max-width: 460px;
}

/* The details link sits under the text, the width of its words. */
.ksf [data-ksf-tone] .ksf-web__audit .ksf-web__more {
  margin-top: 14px;
  color: var(--ks-teal-dark) !important;
  font-size: 15px;
}

.ksf [data-ksf-tone] .ksf-web__audit :focus-visible {
  outline-color: rgba(23, 142, 139, .4);
}

/* ------------------------------------------------------------------ */
/* Narrower screens                                                     */
/* ------------------------------------------------------------------ */

@media (max-width: 1080px) {
  /* The list becomes one row of chips above the window; the selected
     view's text shows under the window instead. */
  .ksf-studio {
    grid-template-columns: minmax(0, 1fr);
    gap: 18px;
  }

  .ksf-studio__nav {
    display: flex;
    order: -1;
    gap: 6px;
    margin: 0 -24px;
    padding: 2px 24px 6px;
    scroll-padding-inline: 24px;
    overflow-x: auto;
    scroll-snap-type: x proximity;
    scrollbar-width: none;
  }

  .ksf-studio__nav::-webkit-scrollbar {
    display: none;
  }

  .ksf-studio__group {
    display: none;
  }

  .ksf-studio__list {
    display: contents;
  }

  .ksf-studio__item {
    flex: none;
    grid-template-columns: 28px auto;
    gap: 0 10px;
    padding: 8px 14px 8px 8px;
    border-radius: 999px;
    box-shadow: inset 0 0 0 1px var(--t-line);
    scroll-snap-align: start;
  }

  .ksf-studio__ico {
    width: 28px;
    height: 28px;
    border-radius: 50%;
  }

  .ksf-studio__ico svg {
    width: 15px;
    height: 15px;
  }

  .ksf-studio__title {
    font-size: 14px;
    white-space: nowrap;
  }

  .ksf-studio__sub,
  .ksf-studio__text,
  .ksf-studio__bar {
    display: none;
  }

  .ksf-studio.is-live .ksf-studio__item.is-on {
    box-shadow: inset 0 0 0 1px var(--t-accent);
  }

  .ksf-studio__captext-m {
    display: block;
    margin-bottom: 6px;
    color: var(--t-copy);
    font-size: 15px;
  }

  .ksf-web__offerhead {
    grid-template-columns: minmax(0, 1fr);
  }

  .ksf-web__pkgs {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .ksf-web__audit {
    grid-template-columns: minmax(0, 1fr);
  }

  .ksf-web__actions {
    justify-content: flex-start;
    max-width: none;
  }
}

@media (max-width: 620px) {
  .ksf-web__aud {
    display: grid;
    grid-template-columns: 1fr 1fr;
    max-width: 360px;
    margin-inline: auto;
    row-gap: 0;
  }

  .ksf-web__aud > li {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 48px;
    padding: 8px 12px;
  }

  .ksf-web__aud > li + li {
    border-left: 0;
  }

  .ksf-web__aud > li:nth-child(even) {
    border-left: 1px solid var(--t-line);
  }

  .ksf-web__aud > li:nth-child(n+3) {
    border-top: 1px solid var(--t-line);
  }

  .ksf-studio__nav {
    margin: 0 -14px;
    padding-inline: 14px;
    scroll-padding-inline: 14px;
  }

  .ksf-studio__window {
    border-radius: 12px;
  }

  .ksf .ksf-studio__phone {
    --ksf-bezel: 4px;
    border-radius: 14px;
  }

  .ksf-studio__lensctl {
    bottom: 8px;
    left: 8px;
  }

  .ksf-studio__lensbtn {
    padding: 6px 9px;
    font-size: 11px;
  }

  .ksf-web__pkgs {
    grid-template-columns: minmax(0, 1fr);
  }

  .ksf .ksf-web__actions .ks-btn {
    flex: 1 0 100%;
    justify-content: center;
  }
}

@media (prefers-reduced-motion: reduce) {
  .ksf-studio__view.is-entering,
  .ksf-studio__view--notice.is-entering .ksf-studio__notice,
  .ksf-studio__url > b.is-in,
  .ksf-studio__url > b.is-out {
    animation: none;
  }

  .ksf-studio__lens,
  .ksf-studio__lens[data-zoom] img,
  .ksf-studio__text,
  .ksf-studio__item,
  .ksf-studio__ico {
    transition: none;
  }
}
