/* ePOS Soft — Privacy Policy
   Page-specific refinements layered on top of legal.css.
   Keep these rules isolated so /terms remains visually stable. */

.mk-privacy-page{
  background:#fff;
}

.mk-privacy-page .mk-legal{
  position:relative;
  padding-top:58px;
  background:
    radial-gradient(circle at 82% 2%,rgba(37,99,235,.08),transparent 24rem),
    linear-gradient(180deg,#F8FBFF 0,#FFFFFF 15rem,#FFFFFF 100%);
}

.mk-privacy-page .mk-terms__hero{
  max-width:1020px;
  padding-bottom:38px;
}

.mk-privacy-page .mk-terms__hero h1{
  max-width:760px;
}

.mk-privacy-page .mk-terms__hero>p{
  max-width:860px;
}

.mk-privacy-page .mk-terms__notice{
  position:relative;
  max-width:920px;
  padding:18px 20px 18px 22px;
  border:1px solid rgba(37,99,235,.18);
  border-left:4px solid var(--mk-blue);
  background:linear-gradient(135deg,rgba(37,99,235,.055),rgba(56,189,248,.035));
  box-shadow:0 8px 26px rgba(15,23,42,.035);
}

.mk-privacy-page .mk-terms__layout{
  grid-template-columns:minmax(220px,260px) minmax(0,1fr);
  gap:48px;
}

.mk-privacy-page .mk-terms__sidebar{
  top:98px;
}

.mk-privacy-page .mk-terms__toc{
  border-color:#DCE5F1;
  box-shadow:0 14px 38px rgba(15,23,42,.055);
}

.mk-privacy-page .mk-terms__toc nav{
  gap:3px;
}

.mk-privacy-page .mk-terms__toc a{
  position:relative;
  padding:8px 9px 8px 11px;
  line-height:1.42;
  transition:background .16s ease,color .16s ease,transform .16s ease;
}

.mk-privacy-page .mk-terms__toc a:hover{
  transform:translateX(2px);
}

.mk-privacy-page .mk-terms__document{
  max-width:900px;
}

.mk-privacy-page .mk-terms__provider-note{
  position:relative;
  overflow:hidden;
  margin-bottom:26px;
  padding:16px 18px 16px 20px;
  border-color:#DCE5F1;
  background:#fff;
  box-shadow:0 10px 30px rgba(15,23,42,.045);
}

.mk-privacy-page .mk-terms__provider-note:before{
  content:"";
  position:absolute;
  inset:0 auto 0 0;
  width:4px;
  background:linear-gradient(180deg,var(--mk-blue),var(--mk-sky));
}

.mk-privacy-page .mk-terms__section{
  position:relative;
  margin:0 0 12px;
  padding:26px 26px 28px;
  border:1px solid #E6ECF3;
  border-radius:18px;
  background:#fff;
  box-shadow:0 8px 28px rgba(15,23,42,.032);
  scroll-margin-top:96px;
}

.mk-privacy-page .mk-terms__section:first-of-type{
  padding-top:26px;
  border-top:1px solid #E6ECF3;
}

.mk-privacy-page .mk-terms__section h2{
  display:flex;
  align-items:flex-start;
  gap:10px;
  margin-bottom:15px;
  font-size:clamp(20px,2vw,24px);
}

.mk-privacy-page .mk-terms__section h2:before{
  content:"";
  width:4px;
  height:1.15em;
  flex:0 0 4px;
  margin-top:.08em;
  border-radius:999px;
  background:var(--mk-blue);
}

.mk-privacy-page .mk-terms__content{
  max-width:78ch;
  color:#475569;
  font-size:14.5px;
  line-height:1.82;
}

.mk-privacy-page .mk-terms__content p{
  margin-bottom:14px;
}

.mk-privacy-page .mk-terms__content ul{
  gap:9px;
  margin:14px 0 16px;
  padding:0;
  list-style:none;
}

.mk-privacy-page .mk-terms__content li{
  position:relative;
  padding-left:20px;
}

.mk-privacy-page .mk-terms__content li:before{
  content:"";
  position:absolute;
  left:2px;
  top:.72em;
  width:6px;
  height:6px;
  border-radius:50%;
  background:var(--mk-blue);
  box-shadow:0 0 0 4px rgba(37,99,235,.08);
}

.mk-privacy-page .mk-terms__content code{
  white-space:nowrap;
  border-color:#DCE5F1;
  background:#F6F9FC;
}

/* Privacy role/responsibility table. */
.mk-privacy-page .mk-terms__table-wrap{
  margin:18px 0 20px;
  overflow:hidden;
  border-color:#DCE5F1;
  border-radius:16px;
  box-shadow:0 8px 24px rgba(15,23,42,.035);
}

.mk-privacy-page .mk-terms__table{
  min-width:0;
  table-layout:fixed;
  font-size:12.75px;
}

.mk-privacy-page .mk-terms__table th{
  padding:12px 14px;
  background:#F5F8FC;
  color:#334155;
  font-size:10.5px;
  letter-spacing:.055em;
}

.mk-privacy-page .mk-terms__table th:first-child,
.mk-privacy-page .mk-terms__table td:first-child{
  width:46%;
}

.mk-privacy-page .mk-terms__table th:nth-child(2),
.mk-privacy-page .mk-terms__table td:nth-child(2),
.mk-privacy-page .mk-terms__table th:nth-child(3),
.mk-privacy-page .mk-terms__table td:nth-child(3){
  width:27%;
}

.mk-privacy-page .mk-terms__table td{
  padding:14px;
  border-color:#EDF2F7;
  overflow-wrap:anywhere;
}

.mk-privacy-page .mk-terms__table tbody tr:nth-child(even) td{
  background:#FBFCFE;
}

.mk-privacy-page .mk-terms__table td:first-child{
  color:#1E293B;
  font-weight:700;
}

.mk-privacy-page .mk-terms__end{
  margin-top:24px;
  padding:22px 4px 4px;
}

@media(max-width:1080px){
  .mk-privacy-page .mk-terms__layout{
    grid-template-columns:220px minmax(0,1fr);
    gap:30px;
  }

  .mk-privacy-page .mk-terms__section{
    padding:24px 22px 26px;
  }
}

@media(max-width:980px){
  .mk-privacy-page .mk-terms__layout{
    grid-template-columns:1fr;
    gap:24px;
  }

  .mk-privacy-page .mk-terms__sidebar{
    position:static;
  }

  .mk-privacy-page .mk-terms__toc{
    padding:13px;
  }

  .mk-privacy-page .mk-terms__toc nav{
    display:flex;
    gap:7px;
    overflow-x:auto;
    padding:1px 0 5px;
    scrollbar-width:thin;
  }

  .mk-privacy-page .mk-terms__toc a{
    flex:0 0 auto;
    max-width:250px;
    border:1px solid #E2E8F0;
    background:#fff;
    white-space:nowrap;
  }

  .mk-privacy-page .mk-terms__toc a:hover{
    transform:none;
  }

  .mk-privacy-page .mk-terms__document{
    max-width:none;
  }
}

@media(max-width:760px){
  .mk-privacy-page .mk-legal{
    padding-top:38px;
  }

  .mk-privacy-page .mk-terms__hero{
    padding-bottom:26px;
  }

  .mk-privacy-page .mk-terms__hero h1{
    font-size:clamp(34px,10vw,46px);
  }

  .mk-privacy-page .mk-terms__notice{
    padding:14px 15px;
    border-left-width:3px;
    box-shadow:none;
  }

  .mk-privacy-page .mk-terms__provider-note{
    display:grid;
    gap:4px;
    padding:14px 15px 14px 18px;
    border-radius:13px;
    box-shadow:none;
  }

  .mk-privacy-page .mk-terms__section,
  .mk-privacy-page .mk-terms__section:first-of-type{
    margin-bottom:10px;
    padding:21px 17px 22px;
    border-radius:15px;
    box-shadow:none;
    scroll-margin-top:76px;
  }

  .mk-privacy-page .mk-terms__section h2{
    gap:8px;
    margin-bottom:13px;
    font-size:19px;
    line-height:1.28;
  }

  .mk-privacy-page .mk-terms__content{
    max-width:none;
    font-size:13.5px;
    line-height:1.76;
  }

  /* Turn the 3-column legal table into readable stacked cards. */
  .mk-privacy-page .mk-terms__table-wrap{
    overflow:visible;
    border:0;
    border-radius:0;
    background:transparent;
    box-shadow:none;
  }

  .mk-privacy-page .mk-terms__table,
  .mk-privacy-page .mk-terms__table tbody,
  .mk-privacy-page .mk-terms__table tr,
  .mk-privacy-page .mk-terms__table td{
    display:block;
    width:100%!important;
  }

  .mk-privacy-page .mk-terms__table{
    min-width:0;
  }

  .mk-privacy-page .mk-terms__table thead{
    position:absolute;
    width:1px;
    height:1px;
    padding:0;
    margin:-1px;
    overflow:hidden;
    clip:rect(0,0,0,0);
    white-space:nowrap;
    border:0;
  }

  .mk-privacy-page .mk-terms__table tbody{
    display:grid;
    gap:10px;
  }

  .mk-privacy-page .mk-terms__table tr{
    overflow:hidden;
    border:1px solid #E2E8F0;
    border-radius:13px;
    background:#fff;
  }

  .mk-privacy-page .mk-terms__table td,
  .mk-privacy-page .mk-terms__table tbody tr:nth-child(even) td{
    padding:11px 13px;
    border:0;
    border-bottom:1px solid #EEF2F7;
    background:#fff;
  }

  .mk-privacy-page .mk-terms__table td:last-child{
    border-bottom:0;
  }

  .mk-privacy-page .mk-terms__table td:before{
    content:attr(data-label);
    display:block;
    margin-bottom:3px;
    color:#64748B;
    font-size:9.5px;
    font-weight:800;
    letter-spacing:.055em;
    line-height:1.35;
    text-transform:uppercase;
  }

  .mk-privacy-page .mk-terms__table td:first-child{
    background:#F8FAFC;
  }
}

@media(max-width:430px){
  .mk-privacy-page .mk-terms__toc a{
    max-width:220px;
  }

  .mk-privacy-page .mk-terms__section,
  .mk-privacy-page .mk-terms__section:first-of-type{
    padding:19px 15px 20px;
  }

  .mk-privacy-page .mk-terms__content code{
    white-space:normal;
    overflow-wrap:anywhere;
  }
}
